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