01ae429bd565f7e981e2f3a6df95e6645a6c0a3e
[themes.git] / LCARStrek / browser / browser.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 mozilla.org code.
15  *
16  * The Initial Developer of the Original Code is
17  * Netscape Communications Corporation.
18  * Portions created by the Initial Developer are Copyright (C) 1998-1999
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  *   Joe Hewitt (hewitt@netscape.com)
23  *   Jason Kersey (kerz@netscape.com)
24  *   Pierre Chanial (chanial@noos.fr)
25  *   Dean Tessman (dean_tessman@hotmail.com)
26  *   Blake Ross (blake@cs.stanford.edu)
27  *   Pamela Greene (pamg.bugs@gmail.com)
28  *   Dão Gottwald (dao@mozilla.com)
29  *   Jim Mathies (jmathies@mozilla.com)
30  *   Drew Willcoxon (adw@mozilla.com)
31  *
32  * Alternatively, the contents of this file may be used under the terms of
33  * either the GNU General Public License Version 2 or later (the "GPL"), or
34  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
35  * in which case the provisions of the GPL or the LGPL are applicable instead
36  * of those above. If you wish to allow use of your version of this file only
37  * under the terms of either the GPL or the LGPL, and not to allow others to
38  * use your version of this file under the terms of the MPL, indicate your
39  * decision by deleting the provisions above and replace them with the notice
40  * and other provisions required by the GPL or the LGPL. If you do not delete
41  * the provisions above, a recipient may use your version of this file under
42  * the terms of any one of the MPL, the GPL or the LGPL.
43  *
44  * ***** END LICENSE BLOCK ***** */
45
46 @import url("chrome://global/skin/");
47
48 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
49 @namespace html url("http://www.w3.org/1999/xhtml");
50
51 toolbar {
52   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
53 }
54
55 toolbar[type="menubar"][autohide="true"] {
56   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
57 }
58
59 menubar {
60   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
61 }
62
63 #menubar-items {
64   -moz-box-orient: vertical; /* for flex hack */
65 }
66
67 #main-menubar {
68   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
69 }
70
71 /* ::::: primary toolbar ::::: */
72
73 .toolbar-primary > .toolbar-box > .toolbar-holder {
74   background-color: #FF9F00;
75 }
76
77 .toolbar-primary > .toolbar-box > .toolbar-startcap,
78 .toolbar-primary > .toolbar-box > .toolbar-endcap {
79   background-color: #9C9CFF;
80 }
81
82
83 #navigator-toolbox {
84 }
85
86 #navigator-toolbox::after {
87   content: "";
88   display: -moz-box;
89   -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
90   height: 1px;
91 }
92 #navigator-toolbox[tabsontop=false]::after,
93 #main-window[disablechrome] #navigator-toolbox::after {
94   visibility: collapse;
95 }
96
97 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
98 }
99
100 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
101   /* like menubar */
102   background-color: #6000CF;
103   color: #FF9F00;
104 }
105 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
106   background-color: #8050B0;
107   color: #FF9F00;
108 }
109
110 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
111   visibility: hidden;
112 }
113 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
114   -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
115   visibility: visible;
116 }
117
118 #navigator-toolbox[tabsontop="true"] > #nav-bar,
119 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar,
120 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar {
121   /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
122 }
123
124 #personal-bookmarks {
125   min-height: 24px;
126 }
127
128 #print-preview-toolbar:not(:-moz-lwtheme) {
129   /* -moz-appearance: toolbox; */
130 }
131
132 /* ::::: app menu button ::::: */
133
134 #appmenu-button {
135   background-color: #FF9F00;
136   background-clip: padding-box;
137   border-radius: 0;
138   border: none;
139   border-left: 3px solid #000000;
140   border-right: 3px solid #000000;
141   color: #000000;
142   font-weight: bold;
143   padding: 0 1.5em .05em;
144   margin: 0 0 2px;
145 }
146
147 #main-window[privatebrowsingmode=temporary] #appmenu-button {
148   background-color: #6000CF;
149   color: #FFCF00;
150 }
151
152 #appmenu-button:hover:not(:active):not([open]) {
153 }
154
155 #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
156 }
157
158 #appmenu-button:hover,
159 #appmenu-button:hover:active,
160 #appmenu-button[open] {
161   background-color: #FFCF00;
162   color: #000000;
163 }
164
165 #appmenu-button > .button-box > .button-menu-dropmarker {
166   list-style-image: url("appmenu-dropmarker.png");
167   width: auto;
168   height: auto;
169   padding: 0;
170   margin: 0;
171   -moz-margin-start: .5em;
172 }
173
174 .splitmenu-menuitem {
175   -moz-margin-end: 1px;
176 }
177
178 .splitmenu-menu {
179   -moz-box-pack: end;
180 }
181
182 .appmenu-edit-button {
183 }
184
185 .appmenu-edit-button[disabled="true"] {
186 }
187
188 #appmenuPrimaryPane {
189   -moz-border-end: 1px solid #9C9CFF;
190 }
191 /*
192   #appmenu-popup {
193   }
194   #appmenuPrimaryPane {
195   }
196   #appmenuSecondaryPane {
197   }
198   #appmenuSecondaryPane:-moz-locale-dir(rtl) {
199   }
200
201   #appmenuSecondaryPane menupopup {
202   }
203
204   .appmenu-menuseparator {
205   }
206
207   .appmenu-edit-button:not([disabled]):hover {
208   }
209 */
210 #appmenuSecondaryPane-spacer {
211   min-height: 1em;
212 }
213
214 #appmenu-editmenu {
215   -moz-box-pack: end;
216 }
217
218 #appmenu_print,
219 #appmenu_print_popup,
220 .appmenu-edit-button,
221 #appmenu-editmenu-cut,
222 #appmenu-editmenu-copy,
223 #appmenu-editmenu-paste,
224 #appmenu-quit {
225   list-style-image: url("appmenu-icons.png");
226 }
227
228 #appmenu-cut,
229 #appmenu-editmenu-cut {
230   -moz-image-region: rect(0 16px 16px 0);
231 }
232
233 #appmenu-copy,
234 #appmenu-editmenu-copy {
235   -moz-image-region: rect(0 32px 16px 16px);
236 }
237
238 #appmenu-paste,
239 #appmenu-editmenu-paste {
240   -moz-image-region: rect(0 48px 16px 32px);
241 }
242
243 #appmenu_print,
244 #appmenu_print_popup {
245   -moz-image-region: rect(0 64px 16px 48px);
246 }
247
248 #appmenu-quit {
249   -moz-image-region: rect(0 80px 16px 64px);
250 }
251
252 #appmenu-edit-label {
253   -moz-appearance: none;
254   background: transparent;
255   font-style: italic;
256 }
257
258 #appmenu_bookmarks {
259   list-style-image: url("chrome://browser/skin/places/bookmark.png");
260   -moz-image-region: rect(0px 48px 16px 32px);
261 }
262
263 #appmenu_privateBrowsing {
264   list-style-image: url("chrome://browser/skin/Privacy-16.png");
265 }
266
267 #appmenu_addons {
268   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
269 }
270
271 #BMB_bookmarkThisPage,
272 #appmenu_bookmarkThisPage {
273   list-style-image: url("chrome://browser/skin/places/bookmark.png");
274   -moz-image-region: rect(0 16px 16px 0);
275 }
276
277 /* ::::: titlebar ::::: */
278
279 #main-window[sizemode="normal"] > #titlebar {
280 }
281
282 #main-window[sizemode="maximized"] > #titlebar {
283 }
284
285 #titlebar-buttonbox {
286 }
287
288 #main-window[sizemode="maximized"] #titlebar-buttonbox {
289 }
290
291 .titlebar-placeholder[type="appmenu-button"] {
292   margin-left: 4px;
293 }
294
295 .titlebar-placeholder[type="caption-buttons"] {
296   margin-left: 10px;
297 }
298
299 /* titlebar command buttons */
300
301 #titlebar-min {
302 }
303
304 #titlebar-max {
305 }
306
307 #main-window[sizemode="maximized"] #titlebar-max {
308 }
309
310 #titlebar-close {
311 }
312
313 /* ::::: bookmark buttons ::::: */
314
315 toolbarbutton.bookmark-item {
316   margin: 0;
317   padding: 2px 3px;
318 }
319
320 toolbarbutton.bookmark-item:hover:active:not([disabled="true"]),
321 toolbarbutton.bookmark-item[open="true"] {
322   padding-top: 3px;
323   padding-bottom: 1px;
324   -moz-padding-start: 4px;
325   -moz-padding-end: 2px;
326 }
327
328 .bookmark-item > .toolbarbutton-icon {
329   width: 16px;
330   height: 16px;
331 }
332
333 /* Prevent [mode="icons"] from hiding the label */
334 .bookmark-item > .toolbarbutton-text {
335   display: -moz-box !important;
336 }
337
338 .bookmark-item > .toolbarbutton-menu-dropmarker {
339   display: none;
340 }
341
342 #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
343   width: 16px;
344   height: 16px;
345   background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat;
346 }
347
348 .bookmarks-toolbar-customize {
349   max-width: 15em !important;
350   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
351 }
352
353 /* ::::: bookmark menus ::::: */
354
355 menu.bookmark-item,
356 menuitem.bookmark-item {
357   min-width: 0;
358   max-width: 32em;
359 }
360
361 .bookmark-item > .menu-iconic-left {
362   margin-top: 0;
363   margin-bottom: 0;
364 }
365
366 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
367   -moz-padding-start: 0px;
368 }
369
370 /* ::::: bookmark items ::::: */
371
372 .bookmark-item  {
373   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
374 }
375
376 .bookmark-item[container] {
377   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
378 }
379
380 .bookmark-item[container][open] {
381   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
382 }
383
384 .bookmark-item[container][livemark] { 
385   list-style-image: url("chrome://browser/skin/livemark-folder.png");
386   -moz-image-region: auto;
387 }
388
389 .bookmark-item[container][livemark] .bookmark-item {
390   list-style-image: url("chrome://browser/skin/livemark-item.png");
391   -moz-image-region: auto;
392 }
393
394 .bookmark-item[container][query] {
395   list-style-image: url("chrome://browser/skin/places/query.png");
396   -moz-image-region: auto;
397 }
398
399 .bookmark-item[query][tagContainer] {
400   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
401   -moz-image-region: auto;
402 }
403
404 .bookmark-item[query][dayContainer] {
405   list-style-image: url("chrome://browser/skin/places/calendar.png");
406   -moz-image-region: auto;
407 }
408
409 .bookmark-item[query][hostContainer] {
410   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
411 }
412
413 .bookmark-item[query][hostContainer][open] {
414   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
415 }
416
417 /* ::::: primary toolbar buttons ::::: */
418
419 .toolbarbutton-1 {
420   list-style-image: url("chrome://browser/skin/Toolbar.png");
421 }
422
423 .toolbarbutton-1:not([type="menu-button"]) {
424   -moz-box-orient: vertical;
425 }
426
427 .toolbarbutton-1,
428 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
429   min-width: 36px;
430   min-height: 36px;
431 }
432
433 .toolbarbutton-1:not([type="menu-button"]) {
434   -moz-box-orient: vertical;
435 }
436
437 .toolbarbutton-1,
438 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
439 .toolbarbutton-1[disabled="true"]:hover:active,
440 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
441   padding: 1px 2px;
442 }
443
444 .toolbarbutton-1:hover:active,
445 .toolbarbutton-1[open="true"],
446 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
447   padding-top: 2px;
448   padding-bottom: 0px;
449   -moz-padding-start: 3px;
450   -moz-padding-end: 1px;
451 }
452
453 /* ::::: small primary toolbar buttons ::::: */
454
455 #nav-bar {
456   /* force iconsize="small" on this toolbar */
457   counter-reset: smallicons;
458 }
459
460 toolbar[mode="text"] .toolbarbutton-1,
461 toolbar[mode="icons"] .toolbarbutton-1,
462 toolbar[iconsize="small"] .toolbarbutton-1,
463 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
464 toolbar[mode="text"] .toolbarbutton-menubutton-button,
465 toolbar[mode="icons"] .toolbarbutton-menubutton-button,
466 toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
467 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
468   min-width: 0px;
469   min-height: 0px;
470 }
471
472 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
473   padding-top: 4px;
474   padding-bottom: 8px;
475   -moz-padding-start: 1px;
476   -moz-padding-end: 1px;
477 }
478
479 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
480 toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
481 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
482   padding-top: 0px;
483   padding-bottom: 13px;
484   -moz-padding-start: 1px;
485   -moz-padding-end: 1px;
486 }
487
488 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
489 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
490   padding-top: 5px;
491   padding-bottom: 7px;
492   -moz-padding-start: 0px;
493   -moz-padding-end: 2px;
494 }
495
496 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
497 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
498 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
499 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
500 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
501 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
502   padding-top: 1px;
503   padding-bottom: 12px;
504   -moz-padding-start: 0px;
505   -moz-padding-end: 2px;
506 }
507
508 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
509   padding-top: 4px !important;
510   padding-bottom: 8px !important;
511   -moz-padding-start: 1px !important;
512   -moz-padding-end: 1px !important;
513 }
514
515 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
516 toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
517   padding-top: 0px !important;
518   padding-bottom: 13px !important;
519   -moz-padding-start: 1px !important;
520   -moz-padding-end: 1px !important;
521 }
522
523 toolbar[mode="icons"] .toolbarbutton-text,
524 toolbar[mode="text"] .toolbarbutton-icon {
525   display: none;
526 }
527
528 toolbar[mode="text"] .toolbarbutton-text {
529   padding: 4px 0;
530 }
531
532 toolbar[mode="text"] .toolbarbutton-1,
533 toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
534   -moz-box-orient: horizontal;
535 }
536
537 toolbar[mode="full"] .toolbarbutton-1,
538 toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
539   min-width: 30px;
540 }
541
542 #navigator-toolbox[iconsize=small] > #nav-bar {
543 }
544
545 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
546 }
547
548
549 /* unified back/forward button */
550
551 #back-button {
552   -moz-image-region: rect(0, 18px, 18px, 0);
553   -moz-margin-end: 0;
554 }
555
556 #forward-button {
557   -moz-image-region: rect(0, 36px, 18px, 18px);
558   border-left: none;
559   -moz-margin-start: 0;
560 }
561
562 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
563   -moz-image-region: rect(18px, 20px, 38px, 0);
564 }
565
566 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
567 #forward-button:-moz-locale-dir(rtl),
568 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
569   -moz-transform: scaleX(-1);
570 }
571
572 #nav-bar #back-button {
573   -moz-margin-end: 0 !important;
574 }
575
576 #nav-bar #forward-button {
577   border-left-style: none;
578   -moz-margin-start: 0 !important;
579 }
580
581 #nav-bar #back-button:-moz-locale-dir(ltr) {
582   border-top-right-radius: 0;
583   border-bottom-right-radius: 0;
584 }
585
586 #nav-bar #back-button:-moz-locale-dir(rtl),
587 #nav-bar #forward-button {
588   border-top-left-radius: 0;
589   border-bottom-left-radius: 0;
590 }
591
592 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
593   border-radius: 10000px;
594   width: 30px;
595   height: 30px;
596   position: relative;
597   z-index: 1;
598   margin-top: -2px;
599   margin-bottom: -2px;
600   border: none;
601   -moz-image-region: rect(18px, 20px, 38px, 0);
602 }
603
604 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
605 }
606
607 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active,
608 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
609 }
610
611 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
612 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
613 /*  padding-top: 3px;
614   padding-bottom: 5px; */
615 }
616
617 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
618 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
619 /*  padding-top: 5px; */
620 }
621
622 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button {
623   /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
624   mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
625   -moz-margin-start: -6px !important;
626   padding-left: 7px;
627   padding-right: 3px;
628 }
629
630 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover {
631   /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
632   mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
633 }
634
635 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
636 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
637   list-style-image: url("chrome://browser/skin/menu-back.png") !important;
638 }
639
640 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
641 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
642   list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
643 }
644
645 /* stop button */
646
647 #stop-button {
648   -moz-image-region: rect(0, 54px, 18px, 36px);
649 }
650
651 /* reload button */
652
653 #reload-button {
654   -moz-image-region: rect(0, 72px, 18px, 54px);
655 }
656
657 /* home button */
658
659 #home-button.bookmark-item {
660   list-style-image: url("chrome://browser/skin/Toolbar.png");
661 }
662 #home-button {
663   -moz-image-region: rect(0, 90px, 18px, 72px);
664 }
665
666 /* tabview button */
667
668 #tabview-button,
669 #menu_tabview {
670   list-style-image: url("chrome://browser/skin/tabview/tabview.png");
671 }
672
673 #tabview-button {
674   -moz-image-region: rect(0, 90px, 18px, 72px);
675 }
676
677 #tabview-button[groups="0"] {
678   -moz-image-region: rect(0, 18px, 18px, 0);
679 }
680
681 #tabview-button[groups="1"] {
682   -moz-image-region: rect(0, 36px, 18px, 18px);
683 }
684
685 #tabview-button[groups="2"] {
686   -moz-image-region: rect(0, 54px, 18px, 36px);
687 }
688
689 #tabview-button[groups="3"] {
690   -moz-image-region: rect(0, 72px, 18px, 54px);
691 }
692
693 #menu_tabview {
694   -moz-image-region: rect(1px, 89px, 17px, 73px);
695 }
696
697 #menu_tabview[groups="0"] {
698   -moz-image-region: rect(1px, 17px, 17px, 1px);
699 }
700
701 #menu_tabview[groups="1"] {
702   -moz-image-region: rect(1px, 35px, 17px, 19px);
703 }
704
705 #menu_tabview[groups="2"] {
706   -moz-image-region: rect(1px, 53px, 17px, 37px);
707 }
708
709 #menu_tabview[groups="3"] {
710   -moz-image-region: rect(1px, 71px, 17px, 55px);
711 }
712
713 /* download manager button */
714
715 #downloads-button {
716   -moz-image-region: rect(0, 108px, 18px, 90px);
717 }
718
719 /* history sidebar button */
720
721 #history-button {
722   -moz-image-region: rect(0, 126px, 18px, 108px);
723 }
724
725 /* bookmark sidebar & menu buttons */
726
727 #bookmarks-button,
728 #bookmarks-menu-button {
729   -moz-image-region: rect(0, 144px, 18px, 126px);
730 }
731
732 #bookmarks-menu-button.bookmark-item {
733   list-style-image: url("chrome://browser/skin/Toolbar.png");
734 }
735
736 #bookmarks-menu-button.toolbarbutton-1 {
737   -moz-box-orient: horizontal;
738 }
739
740 /* print button */
741
742 #print-button {
743   -moz-image-region: rect(0, 162px, 18px, 144px);
744 }
745
746 /* toolbar new tab button */
747
748 #new-tab-button {
749   -moz-image-region: rect(0, 180px, 18px, 162px);
750 }
751
752 /* new window button */
753
754 #new-window-button {
755   -moz-image-region: rect(0, 198px, 18px, 180px);
756 }
757
758 /* cut button */
759
760 #cut-button {
761   -moz-image-region: rect(0, 216px, 18px, 198px);
762 }
763
764 /* copy button */
765
766 #copy-button {
767   -moz-image-region: rect(0, 234px, 18px, 216px);
768 }
769
770 /* paste button */
771
772 #paste-button {
773   -moz-image-region: rect(0, 252px, 18px, 234px);
774 }
775
776 /* fullscreen button */
777
778 #fullscreen-button {
779   -moz-image-region: rect(0, 270px, 18px, 252px);
780 }
781
782 /* zoom controls */
783
784 #zoom-out-button {
785   -moz-image-region: rect(0, 288px, 18px, 270px);
786   -moz-margin-end: 0;
787 }
788
789 #zoom-in-button {
790   -moz-image-region: rect(0, 306px, 18px, 288px);
791 }
792
793 #nav-bar #zoom-out-button {
794   -moz-margin-end: 0;
795 }
796
797 #nav-bar #zoom-in-button {
798   -moz-border-start: none;
799   -moz-margin-start: 0;
800 }
801
802 #nav-bar #zoom-out-button:-moz-locale-dir(ltr),
803 #nav-bar #zoom-in-button:-moz-locale-dir(rtl) {
804   border-top-right-radius: 0;
805   border-bottom-right-radius: 0;
806 }
807
808 #nav-bar #zoom-out-button:-moz-locale-dir(rtl),
809 #nav-bar #zoom-in-button:-moz-locale-dir(ltr) {
810   border-top-left-radius: 0;
811   border-bottom-left-radius: 0;
812 }
813
814 /* sync button */
815
816 #sync-button {
817   -moz-image-region: rect(0, 324px, 18px, 306px);
818 }
819
820 #sync-button[status="active"] {
821   list-style-image: url("chrome://browser/skin/sync-throbber.png");
822   -moz-image-region: rect(0, 18px, 18px, 0);
823 }
824
825 /* feed button */
826
827 #feed-button {
828   -moz-image-region: rect(0, 342px, 18px, 324px);
829 }
830
831 /* ::::: fullscreen window controls ::::: */
832
833 #TabsToolbar > #window-controls {
834   -moz-margin-start: 4px;
835 }
836
837 #minimize-button,
838 #restore-button,
839 #close-button {
840 /*  padding: 0; */
841 }
842
843 #minimize-button {
844   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
845 }
846
847 #minimize-button:hover {
848   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
849 }
850
851 #restore-button {
852   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
853 }
854
855 #restore-button:hover {
856   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
857 }
858
859 #close-button {
860   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
861 }
862
863 #close-button:hover {
864   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
865 }
866
867 /* ::::: Location Bar ::::: */
868
869 #urlbar {
870   width: 7em;
871   min-width: 7em;
872 }
873
874 #urlbar,
875 .searchbar-textbox {
876   border-radius: 5px;
877   margin: 0;
878   -moz-margin-start: 3px;
879 }
880
881 #urlbar:-moz-lwtheme,
882 .searchbar-textbox:-moz-lwtheme {
883   /* background-color: rgba(255,255,255,.8);
884   @navbarTextboxCustomBorder@
885   color: black; */
886 }
887
888 html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
889 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
890   color: #E7ADE7;
891 }
892
893 #urlbar:-moz-lwtheme[focused="true"],
894 .searchbar-textbox:-moz-lwtheme[focused="true"] {
895 /*  background-color: white; */
896 }
897
898 #urlbar-container {
899   -moz-box-orient: horizontal;
900   -moz-box-align: stretch;
901 }
902
903 .urlbar-textbox-container {
904   -moz-box-align: stretch;
905 }
906
907 #urlbar-icons {
908   height: 18px;
909   -moz-box-align: center;
910 }
911
912 .urlbar-icon {
913   padding: 0 2px !important;
914 }
915
916 .urlbar-icon:-moz-system-metric(touch-enabled) {
917   -moz-margin-end: 1px !important;
918   padding: 0 3px !important;
919 }
920
921 #urlbar-search-splitter {
922   min-width: 6px;
923   -moz-margin-start: -3px;
924   border: none;
925   background: transparent;
926 }
927
928 #urlbar-search-splitter + #urlbar-container > #urlbar ,
929 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
930   -moz-margin-start: 0;
931 }
932
933 #urlbar-display {
934   margin-top: -2px;
935   margin-bottom: -2px;
936   -moz-border-end: 1px solid #9C9CFF;
937   -moz-margin-end: 3px;
938 }
939
940 #urlbar-display {
941   margin-top: 0;
942   margin-bottom: 0;
943   color: #8050B0;
944 }
945
946 /* identity box */
947
948 #identity-box {
949   background-color: #000000;
950   color: #FF9F00;
951   border-radius: 2px;
952 }
953
954 #identity-box:hover {
955   background-color: #9C9CFF;
956   color: #000000;
957 }
958
959 #identity-box[open="true"],
960 #identity-box:hover:active {
961   background-color: #FF9F00;
962   color: #000000;
963 }
964
965 #identity-box.verifiedDomain {
966   background-color: #FFCF00;
967   color: #000000;
968 }
969
970 #identity-box.verifiedIdentity {
971   background-color: #008484;
972   color: #000000;
973 }
974
975 #identity-box:-moz-focusring {
976   outline: 1px dotted #008484;
977   outline-offset: -3px;
978 }
979
980 #identity-box.verifiedDomain:-moz-focusring,
981 #identity-box.verifiedIdentity:-moz-focusring {
982   outline-color: #000000;
983 }
984
985 #identity-icon-labels {
986   -moz-margin-start: 1px;
987   -moz-margin-end: 3px;
988   -moz-transform: translate(0, -1px);
989 }
990
991 /* Location bar dropmarker */
992
993 .urlbar-history-dropmarker {
994   -moz-appearance: none;
995   padding: 0 1px;
996   background-color: transparent;
997   border: none;
998   width: auto;
999   list-style-image: url("mainwindow-dropdown-arrow.png");
1000   -moz-image-region: rect(0, 13px, 11px, 0);
1001 }
1002
1003 .urlbar-history-dropmarker:-moz-system-metric(touch-enabled) {
1004   min-width: 6.4mozmm;
1005 }
1006
1007 .urlbar-history-dropmarker:hover:active,
1008 .urlbar-history-dropmarker[open="true"] {
1009   -moz-image-region: rect(0, 26px, 11px, 13px);
1010 }
1011
1012 /* page proxy icon */
1013
1014 #page-proxy-favicon,
1015 #urlbar-throbber {
1016   width: 16px;
1017   height: 16px;
1018 }
1019
1020 #page-proxy-stack {
1021   width: 24px;
1022   height: 18px;
1023   padding: 1px 4px;
1024   background: url("urlbar-favicon-glow.png") center center no-repeat;
1025 }
1026
1027 #page-proxy-favicon:not([src]) {
1028   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1029 }
1030
1031 #page-proxy-favicon[pageproxystate="invalid"] {
1032   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1033 }
1034
1035 #urlbar-throbber {
1036   list-style-image: url("chrome://global/skin/icons/loading.gif");
1037 }
1038
1039 /* autocomplete */
1040
1041 #treecolAutoCompleteImage {
1042   max-width: 36px;
1043 }
1044
1045 .ac-result-type-bookmark,
1046 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1047   list-style-image: url("chrome://browser/skin/places/editBookmark.png");
1048   -moz-image-region: rect(0px 16px 16px 0px);
1049   width: 16px; 
1050   height: 16px;
1051 }
1052
1053 .ac-result-type-keyword,
1054 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1055   list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1056   -moz-image-region: rect(0px 32px 16px 16px);
1057   width: 16px;
1058   height: 16px;
1059 }
1060
1061 .ac-result-type-tag,
1062 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1063   list-style-image: url("chrome://browser/skin/places/tag.png");
1064   width: 16px; 
1065   height: 16px;
1066 }
1067
1068 .ac-comment {
1069   font-size: 1.15em;
1070 }
1071
1072 .ac-extra > .ac-comment {
1073   font-size: inherit;
1074 }
1075
1076 .ac-url-text,
1077 .ac-action-text {
1078   color: #9C9CFF;
1079 }
1080
1081 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1082   list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1083 }
1084
1085 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1086   color: #8050B0;
1087 }
1088
1089 .ac-comment[selected="true"],
1090 .ac-url-text[selected="true"],
1091 .ac-action-text[selected="true"] {
1092   color: inherit !important;
1093 }
1094
1095 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), 
1096 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) 
1097 {
1098   color: #8050B0;
1099   font-size: smaller;
1100 }
1101
1102 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1103   border-top: 1px solid #9C9CFF;
1104 }
1105
1106 /* go button */
1107
1108 #go-button {
1109   list-style-image: url("chrome://browser/skin/Go-arrow.png");
1110   -moz-image-region: rect(0px, 16px, 16px, 0px);
1111 }
1112
1113 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1114   -moz-transform: scaleX(-1);
1115 }
1116
1117 #go-button:hover {
1118   -moz-image-region: rect(16px, 16px, 32px, 0px);
1119 }
1120
1121 /* combined go/reload/stop button in location bar */
1122
1123 #urlbar > toolbarbutton {
1124   list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1125   margin: -2px;
1126   -moz-margin-start: 0;
1127   padding: 0 3px;
1128   background-origin: border-box;
1129   border: none;
1130   -moz-border-start: 1px solid #9C9CFF;
1131 }
1132
1133 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1134   border-top-right-radius: 2px;
1135   border-bottom-right-radius: 2px;
1136 }
1137
1138 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1139   border-top-left-radius: 2px;
1140   border-bottom-left-radius: 2px;
1141 }
1142
1143 #urlbar > toolbarbutton:not([disabled]):active:hover {
1144   -moz-padding-start: 4px;
1145   -moz-border-start: none;
1146 }
1147
1148 #urlbar-go-button {
1149   -moz-image-region: rect(0px, 56px, 14px, 42px);
1150 }
1151
1152 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1153   -moz-transform: scaleX(-1);
1154 }
1155
1156 #urlbar-go-button:hover {
1157 }
1158
1159 #urlbar-reload-button {
1160   -moz-image-region: rect(0px, 14px, 14px, 0px);
1161 }
1162
1163 #urlbar-reload-button:not([disabled]):hover {
1164   -moz-image-region: rect(0px, 28px, 14px, 14px);
1165 }
1166
1167 #urlbar-stop-button {
1168   -moz-image-region: rect(0px, 42px, 14px, 28px);
1169 }
1170
1171 #urlbar-stop-button:hover {
1172 }
1173
1174 /* popup blocker button */
1175
1176 #page-report-button {
1177   list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1178   -moz-image-region: rect(0, 16px, 16px, 0);
1179 }
1180
1181 #page-report-button:hover {
1182   -moz-image-region: rect(0, 32px, 16px, 16px);
1183 }
1184
1185 #page-report-button:hover:active,
1186 #page-report-button[open="true"] {
1187   -moz-image-region: rect(0, 48px, 16px, 32px);
1188 }
1189
1190 /* star button */
1191
1192 #star-button {
1193   list-style-image: url("chrome://browser/skin/places/bookmark.png");
1194   -moz-image-region: rect(0px 16px 16px 0px);
1195 }
1196
1197 #star-button:hover {
1198   -moz-image-region: rect(0px 32px 16px 16px);
1199 }
1200
1201 #star-button:hover:active {
1202   -moz-image-region: rect(0px 48px 16px 32px);
1203 }
1204
1205 #star-button[starred="true"] {
1206   list-style-image: url("chrome://browser/skin/places/editBookmark.png");
1207 }
1208
1209 /* bookmarking panel */
1210 #editBookmarkPanelStarIcon {
1211   list-style-image: url("chrome://browser/skin/places/starred48.png");
1212   width: 48px;
1213   height: 48px;
1214 }
1215
1216 #editBookmarkPanelStarIcon[unstarred] {
1217   list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1218 }
1219
1220 #editBookmarkPanelTitle {
1221   font-size: 130%;
1222 }
1223
1224 #editBookmarkPanelHeader,
1225 #editBookmarkPanelContent {
1226   margin-bottom: .5em;
1227 }
1228
1229 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1230 #editBMPanel_folderTree {
1231   min-width: 27em;
1232 }
1233
1234 /* ::::: content area ::::: */
1235
1236 #sidebar {
1237   background-color: Window;
1238 }
1239
1240 #sidebar-title {
1241   -moz-padding-start: 0px;
1242 }
1243
1244 /* ::::: throbber ::::: */
1245
1246 #navigator-throbber {
1247   width: 16px;
1248   min-height: 16px;
1249   margin: 0 3px;
1250 }
1251
1252 #navigator-throbber[busy="true"] {
1253   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
1254 }
1255
1256 #navigator-throbber,
1257 #wrapper-navigator-throbber > #navigator-throbber {
1258   list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
1259 }
1260
1261 /* Tabstrip */
1262
1263 #TabsToolbar {
1264   min-height: 0;
1265   padding: 0;
1266   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1267 }
1268
1269 #TabsToolbar .toolbar-holder {
1270   background-color: #000000; /* correct effect of being an actal toolbar */
1271 }
1272
1273 #main-window[disablechrome] #TabsToolbar,
1274 #TabsToolbar[tabsontop="false"] {
1275   border-bottom: 1px solid #FF9F00;
1276 }
1277
1278 .tabbrowser-tab,
1279 .tabs-newtab-button {
1280   margin-top: 0px;
1281 }
1282
1283 .tabbrowser-tab:hover,
1284 .tabs-newtab-button:hover {
1285 }
1286
1287 .tabbrowser-tab[selected="true"] {
1288 }
1289
1290 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1291 }
1292
1293 .tabbrowser-tab:-moz-lwtheme {
1294 }
1295
1296 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1297 }
1298
1299 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1300 .tabs-newtab-button:-moz-lwtheme-brighttext {
1301 }
1302
1303 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1304 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1305 }
1306
1307 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1308 .tabs-newtab-button:-moz-lwtheme-darktext {
1309 }
1310
1311 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1312 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1313 }
1314
1315 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1316   background-color: #E7ADE7;
1317 }
1318 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1319   background-color: #0000FF;
1320   color: #000000;
1321 }
1322
1323 .tab-throbber,
1324 .tab-icon-image {
1325   width: 16px;
1326   height: 16px;
1327   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1328   -moz-image-region: rect(0px, 16px, 16px, 0px);
1329   -moz-margin-end: 3px;
1330 }
1331
1332 .tab-throbber {
1333   list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
1334 }
1335
1336 .tab-throbber[progress] {
1337   list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
1338 }
1339
1340 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
1341   min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
1342 }
1343
1344 .tab-throbber[pinned],
1345 .tab-icon-image[pinned] {
1346   -moz-margin-start: 2px;
1347   -moz-margin-end: 2px;
1348 }
1349
1350 /* tabbrowser-tab focus ring */
1351 .tabbrowser-tab:focus > .tab-stack {
1352   outline: 1px dotted;
1353 }
1354
1355 /* Tab DnD indicator */
1356 .tab-drop-indicator {
1357   list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1358   margin-bottom: -11px;
1359 }
1360
1361 /* Tab close button */
1362 .tab-close-button {
1363   border: none;
1364   padding: 0px;
1365   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1366 }
1367
1368 .tab-close-button:-moz-system-metric(touch-enabled) {
1369   -moz-transform: scale(1.2);
1370 }
1371
1372 .tab-close-button:hover,
1373 .tab-close-button:hover[selected="true"] {
1374   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1375 }
1376
1377 .tab-close-button:hover:active,
1378 .tab-close-button:hover:active[selected="true"] {
1379   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1380 }
1381
1382 .tab-close-button:focus {
1383   outline: none !important;
1384 }
1385
1386 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1387
1388 @media all and (-moz-touch-enabled) {
1389   .tabbrowser-arrowscrollbox > .scrollbutton-up,
1390   .tabbrowser-arrowscrollbox > .scrollbutton-down,
1391   #TabsToolbar .toolbarbutton-1 {
1392     min-width: 8.1mozmm;
1393   }
1394
1395   .tabs-newtab-button {
1396     min-width: 10mozmm;
1397   }
1398
1399   .tab-content {
1400     min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1401   }
1402 }
1403
1404 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1405 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1406   list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
1407   -moz-image-region: rect(0, 15px, 17px, 0);
1408   margin: 0;
1409   padding-top: 0;
1410   padding-bottom: 0;
1411 }
1412
1413 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
1414 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
1415   opacity: .4;
1416 }
1417
1418 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active,
1419 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active {
1420   -moz-image-region: rect(0, 30px, 17px, 15px);
1421 }
1422
1423 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
1424 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
1425   -moz-transform: scaleX(-1);
1426 }
1427
1428 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1429 }
1430
1431 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1432   background-color: #008484;
1433 }
1434
1435 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
1436 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
1437   -moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 / 0 2px 0 0;
1438 }
1439
1440 .tabs-newtab-button > .toolbarbutton-icon {
1441   margin-top: -1px;
1442   margin-bottom: -1px;
1443 }
1444
1445 .tabs-newtab-button,
1446 #TabsToolbar > #new-tab-button,
1447 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1448   list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
1449   -moz-image-region: rect(0, 16px, 18px, 0);
1450 }
1451
1452 .tabs-newtab-button {
1453   width: 31px;
1454 }
1455
1456 .tabs-newtab-button:hover:active,
1457 #TabsToolbar > #new-tab-button:hover:active {
1458   -moz-image-region: rect(0, 32px, 18px, 16px);
1459 }
1460
1461 #alltabs-button {
1462   list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1463   -moz-image-region: rect(0, 14px, 16px, 0);
1464 }
1465
1466 #alltabs-button:hover:active {
1467   -moz-image-region: rect(0, 28px, 16px, 14px);
1468 }
1469
1470 #alltabs-button[type="menu"] {
1471   list-style-image: url("chrome://browser/skin/mainwindow-dropdown-arrow.png");
1472   -moz-image-region: rect(0, 13px, 11px, 0);
1473 }
1474
1475 #alltabs-button[type="menu"] > .toolbarbutton-icon {
1476   margin: 3px 0;
1477 }
1478
1479 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1480   display: none;
1481 }
1482
1483 #alltabs-button[type="menu"]:hover:active,
1484 #alltabs-button[type="menu"][open="true"] {
1485   -moz-image-region: rect(0, 26px, 11px, 13px);
1486 }
1487
1488 /* All tabs menupopup */
1489 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1490   list-style-image: url("chrome://global/skin/icons/folder-item.png");
1491   -moz-image-region: rect(0px, 16px, 16px, 0px);
1492 }
1493
1494 .alltabs-item[selected="true"] {
1495   font-weight: bold;
1496 }
1497
1498 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1499   list-style-image: url("chrome://global/skin/icons/loading.gif");
1500 }
1501
1502 /* Tabstrip close button */
1503 .tabs-closebutton {
1504   -moz-box-flex: 1;
1505   margin: 0px;
1506   padding: 2px;
1507   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1508 }
1509
1510 .tabs-closebutton > .toolbarbutton-icon {
1511 }
1512
1513 .tabs-closebutton:hover,
1514 .tabs-closebutton:hover:active {
1515   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1516 }
1517
1518 toolbarbutton.chevron {
1519   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1520 }
1521
1522 toolbarbutton.chevron:hover {
1523   list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1524 }
1525
1526 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1527 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1528   -moz-transform: scaleX(-1);
1529 }
1530
1531 toolbarbutton.chevron > .toolbarbutton-text,
1532 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1533   display: none;
1534 }
1535
1536 toolbarbutton.chevron > .toolbarbutton-icon {
1537   margin: 0;
1538 }
1539
1540 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1541   display: -moz-box; /* display chevron icon in text mode */
1542 }
1543
1544 #sidebar-throbber[loading="true"] {
1545   list-style-image: url("chrome://global/skin/icons/loading.gif");
1546   -moz-margin-end: 4px;
1547 }
1548
1549 /* Bookmarks toolbar */
1550 #PlacesToolbarDropIndicator {
1551   list-style-image: url("chrome://browser/skin/places/toolbarDropMarker.png");
1552 }
1553
1554 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1555   background-color: #008484 !important;
1556   color: #FFCF00 !important;
1557 }
1558
1559 /* rules for menupopup drop indicators */
1560 .menupopup-drop-indicator-bar {
1561   position: relative;
1562   /* these two margins must together compensate the indicator's height */
1563   margin-top: -1px;
1564   margin-bottom: -1px;
1565 }
1566
1567 .menupopup-drop-indicator {
1568   list-style-image: none;
1569   height: 2px;
1570   -moz-margin-end: -4em;
1571   background-color: #008484;
1572 }
1573
1574 /* ::::: Identity Indicator Styling ::::: */
1575
1576 /* Popup Icons */
1577 #identity-popup-icon {
1578   height: 64px;
1579   width: 64px;
1580   padding: 0;
1581   list-style-image: url("chrome://browser/skin/identity.png");
1582   -moz-image-region: rect(0px, 64px, 64px, 0px);
1583 }
1584
1585 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1586   -moz-image-region: rect(64px, 64px, 128px, 0px);
1587 }
1588
1589 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1590   -moz-image-region: rect(128px, 64px, 192px, 0px);
1591 }
1592
1593 /* Popup Body Text */
1594 .identity-popup-description {
1595   white-space: pre-wrap;
1596   -moz-padding-start: 15px;
1597   margin: 2px 0 4px;
1598 }
1599
1600 .identity-popup-label {
1601   white-space: pre-wrap;
1602   -moz-padding-start: 15px;
1603   margin: 0;
1604 }
1605
1606 #identity-popup-content-host ,
1607 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1608   font-size: 1.2em;
1609 }
1610
1611 #identity-popup-content-host {
1612   margin-top: 3px;
1613   margin-bottom: 5px;
1614   font-weight: bold;
1615   max-width: 300px;
1616 }
1617
1618 #identity-popup-content-owner {
1619   margin-top: 4px;
1620   margin-bottom: 0 !important;
1621   font-weight: bold;
1622   max-width: 300px;
1623 }
1624
1625 .verifiedDomain > #identity-popup-content-owner {
1626   font-weight: normal;
1627 }
1628
1629 #identity-popup-content-verifier {
1630   margin: 4px 0 2px;
1631 }
1632
1633 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1634 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1635   margin-top: 10px;
1636   -moz-margin-start: -24px;
1637 }
1638
1639 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1640 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1641   list-style-image: url("chrome://browser/skin/Secure24.png");
1642 }
1643
1644 #identity-popup-more-info-button {
1645   margin-top: 6px;
1646   margin-bottom: 0;
1647   -moz-margin-end: 0;
1648 }
1649
1650 .popup-notification-icon {
1651   width: 64px;
1652   height: 64px;
1653   -moz-margin-end: 10px;
1654 }
1655
1656 .popup-notification-icon[popupid="geolocation"] {
1657   list-style-image: url("chrome://browser/skin/Geolocation-64.png");
1658 }
1659
1660 .popup-notification-icon[popupid="xpinstall-disabled"],
1661 .popup-notification-icon[popupid="addon-progress"],
1662 .popup-notification-icon[popupid="addon-install-cancelled"],
1663 .popup-notification-icon[popupid="addon-install-blocked"],
1664 .popup-notification-icon[popupid="addon-install-failed"],
1665 .popup-notification-icon[popupid="addon-install-complete"] {
1666   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1667   width: 32px;
1668   height: 32px;
1669 }
1670
1671 .addon-progress-description {
1672   width: 350px;
1673   max-width: 350px;
1674 }
1675
1676 .popup-progress-label,
1677 .popup-progress-meter {
1678   -moz-margin-start: 0;
1679   -moz-margin-end: 0;
1680 }
1681
1682 .popup-progress-cancel {
1683   -moz-appearance: none;
1684   background: transparent;
1685   border: none;
1686   padding: 0;
1687   margin: 0;
1688   min-height: 0;
1689   min-width: 0;
1690   list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
1691   -moz-image-region: rect(0px, 32px, 16px, 16px);
1692 }
1693
1694 .popup-progress-cancel:hover {
1695   -moz-image-region: rect(16px, 32px, 32px, 16px);
1696 }
1697
1698 .popup-progress-cancel:active {
1699   -moz-image-region: rect(32px, 32px, 48px, 16px);
1700 }
1701
1702 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
1703 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
1704   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
1705 }
1706
1707 .popup-notification-icon[popupid="password-save"],
1708 .popup-notification-icon[popupid="password-change"] {
1709   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
1710 }
1711
1712 /* Notification icon box */
1713 #notification-popup-box {
1714   margin: 0 3px;
1715 }
1716
1717 .notification-anchor-icon {
1718   width: 16px;
1719   height: 16px;
1720 }
1721
1722 .notification-anchor-icon:-moz-focusring {
1723   outline: 1px dotted -moz-DialogText;
1724   outline-offset: -3px;
1725 }
1726
1727 #default-notification-icon {
1728   list-style-image: url("chrome://global/skin/icons/information-16.png");
1729 }
1730
1731 #geo-notification-icon {
1732   list-style-image: url("chrome://browser/skin/Geolocation-16.png");
1733 }
1734
1735 #addons-notification-icon {
1736   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
1737 }
1738
1739 #indexedDB-notification-icon {
1740   list-style-image: url("chrome://global/skin/icons/question-16.png");
1741 }
1742
1743 #password-notification-icon {
1744   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
1745 }
1746
1747 #identity-popup-container {
1748   min-width: 280px;
1749 }
1750
1751 #download-monitor {
1752   list-style-image: url("chrome://browser/skin/Toolbar.png");
1753   -moz-image-region: rect(0, 108px, 18px, 90px);
1754 }
1755
1756 /* Bookmarks roots menu-items */
1757 #appmenu_subscribeToPage:not([disabled]),
1758 #appmenu_subscribeToPageMenu,
1759 #subscribeToPageMenuitem:not([disabled]),
1760 #subscribeToPageMenupopup,
1761 #BMB_subscribeToPageMenuitem:not([disabled]),
1762 #BMB_subscribeToPageMenupopup {
1763   list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
1764 }
1765
1766 #bookmarksToolbarFolderMenu,
1767 #appmenu_bookmarksToolbar,
1768 #BMB_bookmarksToolbar {
1769   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
1770   -moz-image-region: auto;
1771 }
1772
1773 #appmenu_unsortedBookmarks,
1774 #BMB_unsortedBookmarks {
1775   list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
1776   -moz-image-region: auto;
1777 }
1778
1779 /* ::::: Keyboard UI Panel ::::: */
1780
1781 .KUI-panel {
1782   color: #FF9F00;
1783   border-style: none;
1784   border-radius: 20px;
1785 }
1786
1787 .KUI-panel[level="top"] {
1788   /*background-color: rgba(27%,27%,27%,.65);*/
1789 }
1790
1791 .KUI-panel-closebutton {
1792   list-style-image: url("KUI-close.png");
1793   width: 24px;
1794   height: 24px;
1795 }
1796
1797 .KUI-panel-closebutton:not(:hover) {
1798 }
1799
1800 .KUI-panel-closebutton > .toolbarbutton-icon {
1801 }
1802
1803 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
1804
1805 /* Ctrl-Tab */
1806
1807 #ctrlTab-panel {
1808   padding: 20px 10px 10px;
1809   font-weight: bold;
1810 }
1811
1812 .ctrlTab-favicon[src] {
1813   background-color: #000000;
1814   width: 20px;
1815   height: 20px;
1816   padding: 2px;
1817 }
1818
1819 .ctrlTab-preview-inner > .tabPreview-canvas {
1820 }
1821
1822 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
1823   margin-bottom: 2px;
1824 }
1825
1826 .ctrlTab-preview-inner {
1827   padding-bottom: 10px;
1828 }
1829
1830 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
1831   padding: 10px;
1832   background-color: #000000;
1833   border-radius: .5em;
1834 }
1835
1836 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
1837   color: white;
1838   background-color: #000000;
1839   text-shadow: none;
1840   padding: 8px;
1841   border: 2px solid #9C9CFF;
1842   border-radius: .5em;
1843 }
1844
1845 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
1846   margin: -10px -10px 0;
1847 }
1848
1849 #ctrlTab-showAll {
1850   margin-top: .5em;
1851 }
1852
1853 /* All Tabs */
1854
1855 #allTabs-panel {
1856   padding-bottom: 10px;
1857 }
1858
1859 #allTabs-meta {
1860   margin: 10px;
1861 }
1862
1863 #allTabs-filter {
1864   -moz-margin-start: 24px;
1865   -moz-margin-end: 0;
1866 }
1867
1868 #allTabs-tab-close-button > .toolbarbutton-icon {
1869   margin: 0;
1870 }
1871
1872 .allTabs-favicon[src] {
1873   width: 22px;
1874   height: 22px;
1875   padding-top: 1px;
1876   padding-bottom: 5px;
1877   -moz-padding-start: 1px;
1878   -moz-padding-end: 5px;
1879   margin-top: -2px;
1880   -moz-margin-start: -2px;
1881   border-bottom-right-radius: 4px;
1882 }
1883
1884 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
1885   border-bottom-right-radius: 0;
1886   border-bottom-left-radius: 4px;
1887 }
1888
1889 .allTabs-preview-inner > .tabPreview-canvas {
1890   background-color: #E7ADE7;
1891 }
1892
1893 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
1894 }
1895
1896 .allTabs-preview:focus > * > .allTabs-preview-inner {
1897   outline: 1px dotted #008484;
1898 }
1899
1900 /* Inspector / Highlighter */
1901
1902 #highlighter-panel {
1903   -moz-window-shadow: none;
1904   background: #000000;
1905   border: none;
1906 }
1907
1908 listitem.style-selector {
1909   background-color: #9C9CFF;
1910   color: #000000;
1911 }
1912
1913 listitem.style-section {
1914   background-color: #E7ADE7;
1915   color: #000000;
1916   font-weight: bold;
1917 }
1918
1919 panel[dimmed="true"] {
1920   opacity: 0.5;
1921 }
1922
1923 /* Add-on bar */
1924
1925 #addon-bar {
1926   min-height: 20px;
1927   border-top: 3px solid #000000;
1928 }
1929
1930 #addon-bar:not(:-moz-lwtheme) {
1931   -moz-appearance: statusbar;
1932 }
1933
1934 #addon-bar .toolbar-holder {
1935   background-color: #8050B0;
1936   color: #FFCF00;
1937 }
1938
1939 #addon-bar .toolbar-holder {
1940   background-color: #8050B0;
1941   color: #FFCF00;
1942 }
1943
1944 #addon-bar .toolbar-startcap,
1945 #addon-bar .toolbar-endcap{
1946   background-color: #6000CF;
1947 }
1948
1949 #status-bar {
1950   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
1951   margin-top: .3em;
1952   border-width: 0;
1953 }
1954
1955 /* Remove all borders from statusbarpanel children of
1956    the statusbar.
1957 #status-bar > statusbarpanel {
1958   border-width: 0;
1959 } */
1960
1961 #addonbar-closebutton {
1962   border: none;
1963   padding: 3px 5px;
1964   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1965 }
1966
1967 #addonbar-closebutton:hover,
1968 #addonbar-closebutton:hover:active {
1969   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1970 }
1971
1972 /* Status panel */
1973
1974 .statuspanel-label {
1975   margin: 0;
1976   padding: 2px 4px;
1977   background: -moz-linear-gradient(white, #ddd);
1978   border: 1px none #9C9CFF;
1979   border-top-style: solid;
1980   color: #FF9F00;
1981   text-shadow: none;
1982 }
1983
1984 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
1985 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
1986   border-right-style: solid;
1987   border-top-right-radius: .3em;
1988   margin-right: 1em;
1989 }
1990
1991 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
1992 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
1993   border-left-style: solid;
1994   border-top-left-radius: .3em;
1995   margin-left: 1em;
1996 }