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