sync with EarlyBlue development and prepare 1.8 release
[themes.git] / LCARStrek / navigator / navigator.css
... / ...
CommitLineData
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is "Classic" theme of mozilla.org code.
15 *
16 * The Initial Developer of the Original Code is
17 * the Mozilla Organization.
18 * Portions created by the Initial Developer are Copyright (C) 1998-2001
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38/** Contains style definitions for the navigator application
39 **/
40
41@import url("chrome://navigator/content/navigator.css");
42@import url("chrome://communicator/skin/");
43@import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
44
45@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
47/********** resource bundle binding **********/
48
49/* ::::: primary toolbar buttons ::::: */
50
51#back-button {
52 list-style-image: url("chrome://navigator/skin/icons/back.gif");
53}
54
55#back-button:hover,
56#back-button:hover:active,
57#back-button[open="true"] {
58 list-style-image: url("chrome://navigator/skin/icons/back-hover.gif");
59}
60
61#back-button[disabled="true"] {
62 list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
63}
64
65#forward-button {
66 list-style-image: url("chrome://navigator/skin/icons/forward.gif");
67}
68
69#forward-button:hover,
70#forward-button:hover:active,
71#forward-button[open="true"] {
72 list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif");
73}
74
75#forward-button[disabled="true"] {
76 list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important;
77}
78
79#reload-button {
80 list-style-image: url("chrome://navigator/skin/icons/reload.gif");
81}
82
83#reload-button:hover,
84#reload-button:hover:active {
85 list-style-image: url("chrome://navigator/skin/icons/reload-hover.gif");
86}
87
88#reload-button[disabled="true"] {
89 list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
90}
91
92#stop-button {
93 list-style-image: url("chrome://global/skin/icons/stop.gif");
94}
95
96#stop-button:hover,
97#stop-button:hover:active {
98 list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
99}
100
101#stop-button[disabled="true"] {
102 list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
103}
104
105#print-button {
106 list-style-image: url("chrome://global/skin/icons/print.gif");
107}
108
109#print-button:hover,
110#print-button:hover:active,
111#print-button[open="true"] {
112 list-style-image: url("chrome://global/skin/icons/print-hover.gif");
113}
114
115#print-button[disabled="true"] {
116 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
117}
118
119#clear-button {
120 list-style-image: url("chrome://global/skin/icons/close-button.gif");
121}
122
123#clear-button:hover {
124 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
125}
126
127/* Hides text below the above buttons */
128/*
129.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
130.toolbarbutton-1 > .toolbarbutton-text {
131 display: none;
132}
133*/
134
135#fullscreen-exit-button {
136 list-style-image: none;
137}
138
139#fullscreen-exit-button > .toolbarbutton-text {
140/* display: normal; */
141}
142
143/* ::::: small primary toolbar buttons ::::: */
144
145.toolbarbutton-text[toolbarmode="small"] {
146 display: none;
147}
148
149.toolbarbutton-icon[toolbarmode="small"] {
150 display: inline;
151}
152
153#nav-bar[buttonstyle="text"] > #nav-bar-inner,
154#nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
155#nav-bar[toolbarmode="small"] > #nav-bar-inner {
156 margin: 2px 0px 2px 6px;
157}
158
159toolbar[toolbarmode="small"] > toolbargrippy {
160/* display: none; */
161}
162
163/* ::::: fullscreen window controls ::::: */
164
165#window-controls {
166 -moz-box-align: center;
167 padding: 0 3px 0 1px;
168 border-left: 3px solid #000000;
169}
170
171#window-controls > toolbarbutton {
172 padding: 2px 0px 2px 2px;
173}
174
175#minimize-button {
176 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
177}
178
179#minimize-button:hover {
180 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
181}
182
183#restore-button {
184 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
185}
186
187#restore-button:hover {
188 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
189}
190
191#close-button {
192 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
193}
194
195#close-button:hover {
196 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
197}
198
199/* ::::: nav-bar-inner ::::: */
200
201#nav-bar-inner {
202 padding-left: 0px;
203 min-width: 0px;
204 margin: 6px 4px 7px 4px;
205}
206
207#urlbar {
208 -moz-border-top-colors: transparent #9C9CFF;
209 -moz-border-right-colors: transparent #9C9CFF;
210 -moz-border-bottom-colors: transparent #9C9CFF;
211 -moz-border-left-colors: transparent #9C9CFF;
212 background-color: #000000;
213 margin: 0px 7px 0px 0px;
214}
215
216/* ::::: page proxy icon ::::: */
217
218#page-proxy-deck,
219#page-proxy-favicon,
220#page-proxy-button {
221 width: 16px;
222 height: 16px;
223}
224
225#page-proxy-deck {
226 cursor: -moz-grab;
227 margin: 1px 1px 1px 2px;
228}
229
230#page-proxy-button {
231 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
232 padding-top: 2px;
233 padding-bottom: 2px;
234}
235
236#page-proxy-favicon {
237 list-style-image: none;
238}
239
240/* ::::: autocomplete ::::: */
241
242.autocomplete-treebody::-moz-tree-cell-text(value) {
243 padding-left: 13px;
244}
245
246.autocomplete-treebody::-moz-tree-cell-text(comment) {
247 color: #E7ADE7;
248/* font-style: italic; */
249}
250
251.autocomplete-search-box {
252 border-top: 1px solid #FF9F00;
253 background-color: #9C9CFF;
254 color: #000000;
255}
256
257.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
258 border-top: 1px solid #9C9CFF;
259}
260
261.autocomplete-search-engine {
262 padding: 2px;
263}
264
265.autocomplete-search-engine[menuactive="true"] {
266 background-color: #008484;
267 color: #FFCF00;
268}
269
270.autocomplete-search-engine-img {
271 margin-right: 4px;
272}
273
274/* ::::: go and searchbuttons ::::: */
275
276#search-button,
277#go-button {
278 margin: 1px 3px 1px 0px;
279/* min-height: 25px; */
280 font-weight: bold;
281 background-color: #000000;
282}
283
284#search-button:hover,
285#go-button:hover {
286 background-color: #FFCF00;
287}
288
289#search-button {
290/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
291 font-weight: bold;
292}
293
294/* ::::: security button ::::: */
295
296#security-button {
297 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
298 margin-left: 2px;
299}
300
301/* |high| and |low| styles could be different, to better reflect the secure level... */
302#security-button[level="high"],
303#security-button[level="low"] {
304 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
305}
306
307#security-button[level="broken"] {
308 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
309}
310
311#privacy-button {
312 list-style-image: url("chrome://communicator/skin/permissions/taskbar-cookie.gif");
313}
314
315#popupIcon {
316 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
317}
318
319#popupImage {
320 list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
321 margin: 6px 0px;
322}
323
324/* ::::: personal toolbar ::::: */
325
326#bookmarks-button {
327 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
328}
329
330#bookmarks-button[open="true"] {
331 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
332}
333
334#home-button {
335 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
336}
337
338toolbarbutton.chevron {
339 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
340 margin-right: 2px;
341}
342
343toolbarbutton.chevron:hover,
344toolbarbutton.chevron[open="true"] {
345 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
346}
347
348toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
349 display: none;
350}