update both themes for all (suite default only, actually) changes up to 2011-01-04
[themes.git] / LCARStrek / navigator / navigator.css
CommitLineData
351107c9 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
3d6dd546 38/** Contains style definitions for the navigator application
351107c9 39 **/
40
b1eaa419 41@import url("chrome://navigator/content/navigator.css");
42@import url("chrome://communicator/skin/");
b1eaa419 43@import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
351107c9 44
45@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
47/********** resource bundle binding **********/
48
b1eaa419 49/* ::::: primary toolbar buttons ::::: */
351107c9 50
b1eaa419 51#back-button {
e10e7add
RK
52 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
53 -moz-image-region: rect(42px 25px 63px 0px);
b1eaa419 54}
351107c9 55
c710949d
RK
56#back-button[disabled="true"] {
57 -moz-image-region: rect(42px 50px 63px 25px);
b1eaa419 58}
59
c710949d
RK
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);
b1eaa419 64}
65
66#forward-button {
e10e7add
RK
67 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
68 -moz-image-region: rect(63px 25px 84px 0px);
b1eaa419 69}
351107c9 70
c710949d
RK
71#forward-button[disabled="true"] {
72 -moz-image-region: rect(63px 50px 84px 25px);
b1eaa419 73}
351107c9 74
c710949d
RK
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);
b1eaa419 79}
80
81#reload-button {
c710949d
RK
82 list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png");
83 -moz-image-region: rect(0px 25px 21px 0px);
b1eaa419 84}
351107c9 85
c710949d
RK
86#reload-button[disabled="true"] {
87 -moz-image-region: rect(0px 50px 21px 25px);
b1eaa419 88}
89
c710949d
RK
90#reload-button:not([disabled="true"]):hover,
91#reload-button:not([disabled="true"]):hover:active {
92 -moz-image-region: rect(0px 75px 21px 50px);
b1eaa419 93}
94
95#stop-button {
e10e7add
RK
96 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
97 -moz-image-region: rect(21px 25px 42px 0px);
b1eaa419 98}
351107c9 99
c710949d
RK
100#stop-button[disabled="true"] {
101 -moz-image-region: rect(21px 50px 42px 25px);
3d6dd546 102}
351107c9 103
c710949d
RK
104#stop-button:not([disabled="true"]):hover,
105#stop-button:not([disabled="true"]):hover:active {
106 -moz-image-region: rect(21px 75px 42px 50px);
3d6dd546 107}
b1eaa419 108
109#print-button {
e10e7add
RK
110 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
111 -moz-image-region: rect(0px 25px 21px 0px);
b1eaa419 112}
351107c9 113
c710949d
RK
114#print-button[disabled="true"] {
115 -moz-image-region: rect(0px 50px 21px 25px);
b1eaa419 116}
117
c710949d
RK
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);
b1eaa419 122}
351107c9 123
0ef1663c
RK
124#home-button {
125 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
126 -moz-image-region: rect(84px 25px 105px 0px);
127}
128
129#home-button[disabled="true"] {
130 -moz-image-region: rect(84px 50px 105px 25px);
131}
132
133#home-button:not([disabled="true"]):hover,
134#home-button:not([disabled="true"]):hover:active {
135 -moz-image-region: rect(84px 75px 105px 50px);
136}
137
b1e5c9b1 138#clear-button {
139 list-style-image: url("chrome://global/skin/icons/close-button.gif");
140}
141
61290d60 142#clear-button:hover {
143 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
144}
145
80916bc4 146/* ::::: small primary toolbar buttons ::::: */
147
0ef1663c
RK
148toolbar[iconsize="small"] > #back-button {
149 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
150 -moz-image-region: rect(32px 16px 48px 0);
151}
152
153toolbar[iconsize="small"] > #back-button[disabled="true"] {
154 -moz-image-region: rect(32px 32px 48px 16px) !important;
155}
156
157toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover,
158toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active {
159 -moz-image-region: rect(32px 48px 48px 32px);
160}
161
162toolbar[iconsize="small"] > #forward-button {
163 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
164 -moz-image-region: rect(48px 16px 64px 0);
165}
166
167toolbar[iconsize="small"] > #forward-button[disabled="true"] {
168 -moz-image-region: rect(48px 32px 64px 16px) !important;
169}
170
171toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover,
172toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active {
173 -moz-image-region: rect(48px 48px 64px 32px);
174}
175
176toolbar[iconsize="small"] > #reload-button {
177 list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png");
178 -moz-image-region: rect(0 16px 16px 0);
179}
180
181toolbar[iconsize="small"] > #reload-button[disabled="true"] {
182 -moz-image-region: rect(0 32px 16px 16px) !important;
183}
184
185toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover,
186toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active {
187 -moz-image-region: rect(0 48px 16px 32px);
188}
189
190toolbar[iconsize="small"] > #stop-button {
191 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
192 -moz-image-region: rect(16px 16px 32px 0);
193}
194
195toolbar[iconsize="small"] > #stop-button[disabled="true"] {
196 -moz-image-region: rect(16px 32px 32px 16px) !important;
197}
198
199toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover,
200toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active {
201 -moz-image-region: rect(16px 48px 32px 32px);
202}
203
204toolbar[iconsize="small"] > #print-button {
205 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
206 -moz-image-region: rect(0 16px 16px 0);
207}
208
209toolbar[iconsize="small"] > #print-button[disabled="true"] {
210 -moz-image-region: rect(0 32px 16px 16px) !important;
211}
212
213toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
214toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
215 -moz-image-region: rect(0 48px 16px 32px);
216}
217
218toolbar[iconsize="small"] > #home-button {
219 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
220 -moz-image-region: rect(64px 16px 80px 0);
221}
222
223toolbar[iconsize="small"] > #home-button[disabled="true"] {
224 -moz-image-region: rect(64px 32px 80px 16px) !important;
225}
226
227toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover,
228toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active {
229 -moz-image-region: rect(64px 48px 80px 32px);
230}
231
80916bc4 232/* ::::: fullscreen window controls ::::: */
233
234#window-controls {
235 -moz-box-align: center;
862a6f44 236 padding: 0 1px;
e20d243c 237 border-left: 3px solid #000000;
862a6f44 238 -moz-margin-start: 2px;
e20d243c 239}
240
241#window-controls > toolbarbutton {
862a6f44
RK
242 padding: 3px;
243 -moz-padding-start: 2px;
244 -moz-padding-end: 1px;
80916bc4 245}
246
7a7b11b3
RK
247toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
248 display: -moz-box;
249}
250
80916bc4 251#minimize-button {
252 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
253}
254
e20d243c 255#minimize-button:hover {
256 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
257}
258
80916bc4 259#restore-button {
260 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
261}
262
e20d243c 263#restore-button:hover {
264 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
265}
266
80916bc4 267#close-button {
268 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
269}
270
e20d243c 271#close-button:hover {
272 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
273}
274
b1eaa419 275/* ::::: nav-bar-inner ::::: */
276
d1476608 277.nav-bar-class {
c710949d
RK
278 -moz-padding-start: 1px;
279 -moz-padding-end: 1px;
b1eaa419 280 min-width: 0px;
c710949d 281 -moz-box-align: center;
b1eaa419 282}
283
284#urlbar {
569543b3 285 border-radius: 5px;
c710949d
RK
286 margin: 0;
287 -moz-margin-start: 3px;
2c8f3260
RK
288}
289
290#urlbar > .autocomplete-textbox-container {
569543b3 291 border-radius: 3px 0 0 3px;
2c8f3260 292 padding: 2px;
b1eaa419 293}
294
d84b9613 295#urlbar[level="high"] > .autocomplete-textbox-container,
296#urlbar[level="low"] > .autocomplete-textbox-container {
297 background-color: #FFCF00;
298 color: #000000;
299}
300
e8fc8e8e
RK
301#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar,
302#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons {
303 display: none;
304}
305
fb2b5761
RK
306/* ::::: notification popups ::::: */
307
fb2b5761
RK
308.popup-notification-icon {
309 width: 64px;
310 height: 64px;
311 -moz-margin-end: 10px;
312}
313
314.popup-notification-icon[popupid="geolocation"] {
315 list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png");
316}
317
a3b6328b
RK
318.popup-notification-icon[popupid="addon-install-disabled"],
319.popup-notification-icon[popupid="addon-install-blocked"],
320.popup-notification-icon[popupid="addon-install-failed"],
321.popup-notification-icon[popupid="addon-install-complete"] {
322 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
323 width: 32px;
324 height: 32px;
325}
326
fb2b5761
RK
327.popup-notification-icon[popupid="password-save"] {
328 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
329}
330
331/* Notification icon box */
332#notification-popup-box {
333 -moz-margin-end: 3px;
334}
335
336.notification-anchor-icon:-moz-focusring {
337 outline: 1px dotted;
338}
339
340#geo-notification-icon {
341 list-style-image: url("chrome://communicator/skin/icons/geolocation-16.png");
342 width: 16px;
343 height: 16px;
344}
345
a3b6328b
RK
346#addons-notification-icon {
347 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
348 width: 16px;
349 height: 16px;
350}
351
fb2b5761
RK
352#password-notification-icon {
353 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
354 width: 16px;
355 height: 16px;
356}
357
b1eaa419 358/* ::::: page proxy icon ::::: */
3d6dd546 359
b1eaa419 360#page-proxy-deck,
361#page-proxy-favicon,
362#page-proxy-button {
363 width: 16px;
364 height: 16px;
365}
351107c9 366
367#page-proxy-deck {
d2f0d128 368 cursor: -moz-grab;
2c8f3260 369 margin: 0;
3d6dd546 370}
351107c9 371
b1eaa419 372#page-proxy-button {
3d6dd546 373 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
3d6dd546 374}
375
b1eaa419 376#page-proxy-favicon {
377 list-style-image: none;
3d6dd546 378}
351107c9 379
b1eaa419 380/* ::::: autocomplete ::::: */
381
01fc5c11 382.autocomplete-treebody::-moz-tree-cell-text(value) {
e8fc8e8e 383 -moz-padding-start: 13px;
b1eaa419 384}
385
01fc5c11 386.autocomplete-treebody::-moz-tree-cell-text(comment) {
b1eaa419 387 color: #E7ADE7;
388/* font-style: italic; */
351107c9 389}
390
b1eaa419 391.autocomplete-search-box {
392 border-top: 1px solid #FF9F00;
393 background-color: #9C9CFF;
394 color: #000000;
3d6dd546 395}
351107c9 396
b1eaa419 397.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
398 border-top: 1px solid #9C9CFF;
351107c9 399}
351107c9 400
b1eaa419 401.autocomplete-search-engine {
402 padding: 2px;
3d6dd546 403}
351107c9 404
b1eaa419 405.autocomplete-search-engine[menuactive="true"] {
406 background-color: #008484;
407 color: #FFCF00;
3d6dd546 408}
351107c9 409
b1eaa419 410.autocomplete-search-engine-img {
8caa872d 411 -moz-margin-end: 4px;
b1eaa419 412}
413
f8bb6584
RK
414.autocomplete-history-dropmarker:hover {
415 background-color: #FFCF00;
416}
417
418.autocomplete-history-dropmarker:hover:active,
419.autocomplete-history-dropmarker[open="true"] {
420 background-color: #FF9F00;
421}
422
b1eaa419 423/* ::::: go and searchbuttons ::::: */
424
3d6dd546 425#search-button,
351107c9 426#go-button {
c710949d 427 margin: 0;
6d73bd65 428 padding: 2px 0;
c710949d 429 -moz-margin-start: 2px;
b1eaa419 430 background-color: #000000;
351107c9 431}
432
3d6dd546 433#search-button:hover,
351107c9 434#go-button:hover {
b1eaa419 435 background-color: #FFCF00;
351107c9 436}
437
2c8f3260
RK
438/* care that those buttons base on the same min height of 16px that the urlbar
439 autocomplete box gets through site icon and urlbar icons at the right */
d1476608 440#search-button > .button-box,
2c8f3260
RK
441#go-button > .button-box {
442 min-height: 16px;
443}
444
b1eaa419 445#search-button {
446/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
b1eaa419 447}
351107c9 448
7a7b11b3
RK
449/*
450toolbar[mode="text"] #search-button > .button-box > .button-icon,
451toolbar[mode="icons"] #search-button > .button-box > .button-text {
452 display: none;
453}
454*/
455
31e46317
RK
456/* ::::: throbber ::::: */
457
458#throbber-box {
459 -moz-margin-start: 2px;
460}
461
dc8e1207 462/* ::::: security button ::::: */
351107c9 463
aeb317b8
RK
464#security-button {
465 list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif");
466}
467
81012713 468#security-button > .statusbarpanel-contentbox > .statusbarpanel-text {
aeb317b8 469 margin: 0px;
b1eaa419 470}
351107c9 471
57d23eae 472/* |high| and |low| styles could be different, to better reflect the secure level... */
ff5bd775
RK
473#security-button[level="high"] > .statusbarpanel-contentbox,
474#security-button[level="low"] > .statusbarpanel-contentbox {
aeb317b8
RK
475 list-style-image: url("chrome://communicator/skin/icons/lock-secure-hover.png");
476 background-color: #FFCF00;
dc8e1207 477}
478
ff5bd775 479#security-button[level="broken"] > .statusbarpanel-contentbox {
aeb317b8
RK
480 list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif");
481 background-color: #FF0000;
482}
483
ff5bd775 484#security-button[label][level="high"] > .statusbarpanel-contentbox {
aeb317b8
RK
485 list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif");
486 background-color: #008484;
487 color: #FFCF00;
b1eaa419 488}
351107c9 489
d9954aaf
RK
490#ev-button {
491 list-style-image: url("chrome://communicator/skin/icons/identity.png");
492}
493
a3b3d4d6 494#popupIcon {
495 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
496}
497
fb2b5761
RK
498#invalid-form-popup {
499 border: 1px solid #FFCF00;
500 border : 1px outset #FFFFCC;
501 padding: 2px 3px 0px 3px;
502 max-width: 40em;
503 background-color: #9C9CFF;
504 color: #000000;
505 font-weight: bold;
506}
507
dc8e1207 508/* ::::: personal toolbar ::::: */
351107c9 509
dc8e1207 510#bookmarks-button {
511 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
b1eaa419 512}
351107c9 513
dc8e1207 514#bookmarks-button[open="true"] {
515 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
b1eaa419 516}
351107c9 517
c710949d 518toolbarbutton.chevron {
e10e7add 519 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
ac1cdf20 520}
521
c710949d
RK
522toolbarbutton.chevron:hover,
523toolbarbutton.chevron[open="true"] {
e10e7add 524 list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important;
ac1cdf20 525}
526
7a7b11b3 527toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
ac1cdf20 528 display: none;
529}
e10e7add 530
7a7b11b3
RK
531toolbarbutton.chevron > .toolbarbutton-text {
532 display: none; /* hide chevron label which has a width even if blank */
533}
534
535toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
536 display: -moz-box; /* display chevron icon in text mode */
537}
538
539/* Prevent [mode="icons"|"text"] from hiding the label and icon */
540#bookmarks-ptf .bookmark-item > .toolbarbutton-text,
541#bookmarks-ptf .bookmark-item > .toolbarbutton-icon {
542 display: -moz-box !important;
543}
544
e8fc8e8e 545#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon,
0ef1663c
RK
546#PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon {
547 /* width: 16px;
548 height: 16px; */
549}
550
551#PersonalToolbar > #home-button {
552 cursor: pointer;
553}
554
555#PersonalToolbar > #home-button[disabled="true"] {
556 cursor: default !important;
557}
558
e8fc8e8e
RK
559/*
560 In customize mode we hide the normal bookmark items and show a placeholder
561 for the drag/drop UI.
562*/
563.bookmarks-toolbar-customize {
d3d79c39 564 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
e8fc8e8e
RK
565 display: none;
566 max-width: 15em !important;
567}
568
d3d79c39
RK
569#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
570 width: 16px;
571 height: 16px;
572 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
e8fc8e8e
RK
573}
574
1b3c8528
RK
575/* ::::: star button ::::: */
576
577#star-button {
578 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
579 -moz-image-region: rect(16px 16px 32px 0px);
580}
581
582#star-button:hover {
583 -moz-image-region: rect(16px 32px 32px 16px);
584}
585
586#star-button:hover:active {
587 -moz-image-region: rect(16px 48px 32px 32px);
588}
589
590#star-button[starred="true"] {
591 -moz-image-region: rect(0px 16px 16px 0px);
592}
593
594#star-button[starred="true"]:hover {
595 -moz-image-region: rect(0px 32px 16px 16px);
596}
597
598#star-button[starred="true"]:hover:active {
599 -moz-image-region: rect(0px 48px 16px 32px);
600}
601
a3b6328b
RK
602#editBookmarkPanelStarIcon {
603 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
604 -moz-image-region: rect(0px 16px 16px 0px);
605}
606
e10e7add
RK
607/* ::::: feeds ::::: */
608
609#feedsMenu {
610 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important;
611 -moz-image-region: rect(0px 16px 16px 0px);
612}
613
614#feedsMenu[disabled="true"] {
615 -moz-image-region: rect(32px 16px 48px 0px);
616}
617
618#feedsButton {
619 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
620 -moz-image-region: rect(0px 32px 16px 16px);
621}
622
623#feedsButton:hover {
624 -moz-image-region: rect(16px 32px 32px 16px);
625}
626
627#feedsButton:hover:active {
628 -moz-image-region: rect(48px 32px 64px 16px);
629}