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