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