fix full-window display as well
[themes.git] / LCARStrek / navigator / navigator.css
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://communicator/skin/icons/communicatoricons.png");
53   -moz-image-region: rect(42px 25px 63px 0px);
54 }
55
56 #back-button[disabled="true"] {
57   -moz-image-region: rect(42px 50px 63px 25px);
58 }
59
60 #back-button:not([disabled="true"]):hover,
61 #back-button:not([disabled="true"]):hover:active,
62 #back-button[open="true"] {
63   -moz-image-region: rect(42px 75px 63px 50px);
64 }
65
66 #forward-button {
67   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
68   -moz-image-region: rect(63px 25px 84px 0px);
69 }
70
71 #forward-button[disabled="true"] {
72   -moz-image-region: rect(63px 50px 84px 25px);
73 }
74
75 #forward-button:not([disabled="true"]):hover,
76 #forward-button:not([disabled="true"]):hover:active,
77 #forward-button[open="true"] {
78   -moz-image-region: rect(63px 75px 84px 50px);
79 }
80
81 #reload-button {
82   list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png");
83   -moz-image-region: rect(0px 25px 21px 0px);
84 }
85
86 #reload-button[disabled="true"] {
87   -moz-image-region: rect(0px 50px 21px 25px);
88 }
89
90 #reload-button:not([disabled="true"]):hover,
91 #reload-button:not([disabled="true"]):hover:active {
92   -moz-image-region: rect(0px 75px 21px 50px);
93 }
94
95 #stop-button {
96   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
97   -moz-image-region: rect(21px 25px 42px 0px);
98 }
99
100 #stop-button[disabled="true"] {
101   -moz-image-region: rect(21px 50px 42px 25px);
102 }
103
104 #stop-button:not([disabled="true"]):hover,
105 #stop-button:not([disabled="true"]):hover:active {
106   -moz-image-region: rect(21px 75px 42px 50px);
107 }
108
109 #print-button {
110   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
111   -moz-image-region: rect(0px 25px 21px 0px);
112 }
113
114 #print-button[disabled="true"] {
115   -moz-image-region: rect(0px 50px 21px 25px);
116 }
117
118 #print-button:not([disabled="true"]):hover,
119 #print-button:not([disabled="true"]):hover:active,
120 #print-button[open="true"] {
121   -moz-image-region: rect(0px 75px 21px 50px);
122 }
123
124 #clear-button {
125   list-style-image: url("chrome://global/skin/icons/close-button.gif");
126 }
127
128 #clear-button:hover {
129   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
130 }
131
132 /* ::::: small primary toolbar buttons ::::: */
133
134 #nav-bar[inFullscreen="true"] .toolbar-grippy {
135   /* display: none; */
136 }
137
138 /* ::::: fullscreen window controls ::::: */
139
140 #window-controls {
141   -moz-box-align: center;
142   padding: 0 1px;
143   border-left: 3px solid #000000;
144   -moz-margin-start: 2px;
145 }
146
147 #window-controls > toolbarbutton {
148   padding: 3px;
149   -moz-padding-start: 2px;
150   -moz-padding-end: 1px;
151 }
152
153 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
154   display: -moz-box;
155 }
156
157 #minimize-button {
158   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
159 }
160
161 #minimize-button:hover {
162   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
163 }
164
165 #restore-button {
166   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
167 }
168
169 #restore-button:hover {
170   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
171 }
172
173 #close-button {
174   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
175 }
176
177 #close-button:hover {
178   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
179 }
180
181 /* ::::: nav-bar-inner ::::: */
182
183 #nav-bar-inner {
184   -moz-padding-start: 1px;
185   -moz-padding-end: 1px;
186   min-width: 0px;
187   /*margin: 0px 4px; */
188   -moz-box-align: center;
189 }
190
191 #urlbar {
192   -moz-border-radius: 5px;
193   /*outline: none;
194   border: 1px solid #9C9CFF;
195   background-color: #000000; */
196   margin: 0;
197   -moz-margin-start: 3px;
198   padding: 1px 0;
199 }
200
201 #urlbar[level="high"] > .autocomplete-textbox-container,
202 #urlbar[level="low"] > .autocomplete-textbox-container {
203   background-color: #FFCF00;
204   color: #000000;
205 }
206
207 /* ::::: page proxy icon ::::: */
208
209 #page-proxy-deck,
210 #page-proxy-favicon,
211 #page-proxy-button {
212   width: 16px;
213   height: 16px;
214 }
215
216 #page-proxy-deck {
217   cursor: -moz-grab;
218   margin: 1px 1px 1px 2px;
219 }
220
221 #page-proxy-button {
222   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
223   padding-top: 2px;
224   padding-bottom: 2px;
225 }
226
227 #page-proxy-favicon {
228   list-style-image: none;
229 }
230
231 /* ::::: autocomplete ::::: */
232
233 .autocomplete-treebody::-moz-tree-cell-text(value) {
234   padding-left: 13px;
235 }
236
237 .autocomplete-treebody::-moz-tree-cell-text(comment) {
238   color: #E7ADE7;
239 /*  font-style: italic; */
240 }
241
242 .autocomplete-search-box {
243   border-top: 1px solid #FF9F00;
244   background-color: #9C9CFF;
245   color: #000000;
246 }
247
248 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
249   border-top: 1px solid #9C9CFF;
250 }
251
252 .autocomplete-search-engine {
253   padding: 2px;
254 }
255
256 .autocomplete-search-engine[menuactive="true"] {
257   background-color: #008484;
258   color: #FFCF00;
259 }
260
261 .autocomplete-search-engine-img {
262   margin-right: 4px;
263 }
264
265 .autocomplete-history-dropmarker:hover {
266   background-color: #FFCF00;
267 }
268
269 .autocomplete-history-dropmarker:hover:active,
270 .autocomplete-history-dropmarker[open="true"] {
271   background-color: #FF9F00;
272 }
273
274 /* ::::: go and searchbuttons ::::: */
275
276 #search-button,
277 #go-button {
278   margin: 0;
279   padding: 1px 0;
280   -moz-margin-start: 2px;
281   font-weight: bold;
282   background-color: #000000;
283 }
284
285 #search-button:hover,
286 #go-button:hover {
287   background-color: #FFCF00;
288 }
289
290 #search-button {
291 /*  list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
292   font-weight: bold;
293 }
294
295 /*
296 toolbar[mode="text"] #search-button > .button-box > .button-icon,
297 toolbar[mode="icons"] #search-button > .button-box > .button-text {
298   display: none;
299 }
300 */
301
302 /* ::::: throbber ::::: */
303
304 #throbber-box {
305   -moz-margin-start: 2px;
306 }
307
308 /* ::::: security button ::::: */
309
310 #security-button {
311   list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
312   -moz-margin-start: 2px;
313 }
314
315 /* |high| and |low| styles could be different, to better reflect the secure level... */
316 #security-button[level="high"],
317 #security-button[level="low"] {
318   list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
319 }
320
321 #security-button[level="broken"] {
322   list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
323 }
324
325 #popupIcon {
326   list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
327 }
328
329 /* ::::: personal toolbar ::::: */
330
331 #bookmarks-button {
332   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
333 }
334
335 #bookmarks-button[open="true"] {
336   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
337 }
338
339 #home-button {
340   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
341   -moz-image-region: rect(84px 25px 105px 0px);
342 }
343
344 #home-button[disabled="true"] {
345   -moz-image-region: rect(84px 50px 105px 25px);
346 }
347
348 #home-button:not([disabled="true"]):hover,
349 #home-button:not([disabled="true"]):hover:active {
350   -moz-image-region: rect(84px 75px 105px 50px);
351 }
352
353 toolbarbutton.chevron {
354   list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
355 }
356
357 toolbarbutton.chevron:hover,
358 toolbarbutton.chevron[open="true"] {
359   list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important;
360 }
361
362 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
363   display: none;
364 }
365
366 toolbarbutton.chevron > .toolbarbutton-text {
367   display: none; /* hide chevron label which has a width even if blank */
368 }
369
370 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
371   display: -moz-box; /* display chevron icon in text mode */
372 }
373
374 /* Prevent [mode="icons"|"text"] from hiding the label and icon */
375 #bookmarks-ptf .bookmark-item > .toolbarbutton-text,
376 #bookmarks-ptf .bookmark-item > .toolbarbutton-icon {
377   display: -moz-box !important;
378 }
379
380 /* ::::: feeds ::::: */
381
382 #feedsMenu {
383   list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important;
384   -moz-image-region: rect(0px 16px 16px 0px);
385 }
386
387 #feedsMenu[disabled="true"] {
388   -moz-image-region: rect(32px 16px 48px 0px);
389 }
390
391 #feedsButton {
392   list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
393   -moz-image-region: rect(0px 32px 16px 16px);
394 }
395
396 #feedsButton:hover {
397   -moz-image-region: rect(16px 32px 32px 16px);
398 }
399
400 #feedsButton:hover:active {
401   -moz-image-region: rect(48px 32px 64px 16px);
402 }
403
404 #urlbar-icons {
405   -moz-margin-end: 2px;
406 }
407
408 toolbar[iconsize="small"] > #back-button {
409   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
410   -moz-image-region: rect(32px 16px 48px 0);
411 }
412
413 toolbar[iconsize="small"] > #back-button[disabled="true"] {
414   -moz-image-region: rect(32px 32px 48px 16px) !important;
415 }
416
417 toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover,
418 toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active {
419   -moz-image-region: rect(32px 48px 48px 32px);
420 }
421
422 toolbar[iconsize="small"] > #forward-button {
423   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
424   -moz-image-region: rect(48px 16px 64px 0);
425 }
426
427 toolbar[iconsize="small"] > #forward-button[disabled="true"] {
428   -moz-image-region: rect(48px 32px 64px 16px) !important;
429 }
430
431 toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover,
432 toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active {
433   -moz-image-region: rect(48px 48px 64px 32px);
434 }
435
436 toolbar[iconsize="small"] > #reload-button {
437   list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png");
438   -moz-image-region: rect(0 16px 16px 0);
439 }
440
441 toolbar[iconsize="small"] > #reload-button[disabled="true"] {
442   -moz-image-region: rect(0 32px 16px 16px) !important;
443 }
444
445 toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover,
446 toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active {
447   -moz-image-region: rect(0 48px 16px 32px);
448 }
449
450 toolbar[iconsize="small"] > #stop-button {
451   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
452   -moz-image-region: rect(16px 16px 32px 0);
453 }
454
455 toolbar[iconsize="small"] > #stop-button[disabled="true"] {
456   -moz-image-region: rect(16px 32px 32px 16px) !important;
457 }
458
459 toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover,
460 toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active {
461   -moz-image-region: rect(16px 48px 32px 32px);
462 }
463
464 toolbar[iconsize="small"] > #print-button {
465   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
466   -moz-image-region: rect(0 16px 16px 0);
467 }
468
469 toolbar[iconsize="small"] > #print-button[disabled="true"] {
470   -moz-image-region: rect(0 32px 16px 16px) !important;
471 }
472
473 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
474 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
475   -moz-image-region: rect(0 48px 16px 32px);
476 }
477
478 toolbar[iconsize="small"] > #home-button {
479   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
480   -moz-image-region: rect(64px 16px 80px 0);
481 }
482
483 toolbar[iconsize="small"] > #home-button[disabled="true"] {
484   -moz-image-region: rect(64px 32px 80px 16px) !important;
485 }
486
487 toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover,
488 toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active {
489   -moz-image-region: rect(64px 48px 80px 32px);
490 }
491
492 /* ::::: home button on the personal toolbar ::::: */
493
494 #PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon {
495   /* width: 16px;
496   height: 16px; */
497 }
498
499 #PersonalToolbar > #home-button {
500   cursor: pointer;
501 }
502
503 #PersonalToolbar > #home-button[disabled="true"] {
504   cursor: default !important;
505 }