f37c8e3f6fc387c6898523ce03585473372d46aa
[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   -moz-padding-end: 2px;
1149 }
1150
1151 #urlbar:-moz-lwtheme,
1152 .searchbar-textbox:-moz-lwtheme {
1153   /* background-color: rgba(255,255,255,.8);
1154   @navbarTextboxCustomBorder@
1155   color: black; */
1156 }
1157
1158 html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1159 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
1160   color: #E7ADE7;
1161 }
1162
1163 #urlbar:-moz-lwtheme[focused="true"],
1164 .searchbar-textbox:-moz-lwtheme[focused="true"] {
1165 /*  background-color: white; */
1166 }
1167
1168 #urlbar-container {
1169   -moz-box-orient: horizontal;
1170   -moz-box-align: stretch;
1171 }
1172
1173 .urlbar-textbox-container {
1174   -moz-box-align: stretch;
1175 }
1176
1177 #urlbar-icons {
1178   -moz-box-align: center;
1179 }
1180
1181 .urlbar-icon {
1182   padding: 3px 3px;
1183 }
1184
1185 .searchbar-engine-button,
1186 .search-go-container {
1187   padding: 2px 2px;
1188 }
1189
1190 .urlbar-icon:-moz-system-metric(touch-enabled) {
1191   -moz-margin-end: 1px !important;
1192   padding: 0 3px !important;
1193 }
1194
1195 .urlbar-icon:hover {
1196 }
1197
1198 .urlbar-icon[open="true"],
1199 .urlbar-icon:hover:active {
1200 }
1201
1202 #urlbar-search-splitter {
1203   min-width: 6px;
1204   -moz-margin-start: -3px;
1205   border: none;
1206   background: transparent;
1207 }
1208
1209 #urlbar-search-splitter + #urlbar-container > #urlbar ,
1210 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1211   -moz-margin-start: 0;
1212 }
1213
1214 #urlbar-display {
1215   -moz-border-end: 1px solid #9C9CFF;
1216   -moz-margin-end: 3px;
1217   margin-top: 0;
1218   margin-bottom: 0;
1219   color: #8050B0;
1220 }
1221
1222 /* identity box */
1223
1224 #identity-box {
1225   background-color: #000000;
1226   color: #FF9F00;
1227   border-radius: 2px;
1228 }
1229
1230 #identity-box:hover {
1231   background-color: #9C9CFF;
1232   color: #000000;
1233 }
1234
1235 #identity-box[open="true"],
1236 #identity-box:hover:active {
1237   background-color: #FF9F00;
1238   color: #000000;
1239 }
1240
1241 #identity-box.verifiedDomain {
1242   background-color: #FFCF00;
1243   color: #000000;
1244 }
1245
1246 #identity-box.verifiedIdentity {
1247   background-color: #008484;
1248   color: #000000;
1249 }
1250
1251 #identity-box:-moz-focusring {
1252   outline: 1px dotted #008484;
1253   outline-offset: -1px;
1254 }
1255
1256 #identity-box.verifiedDomain:-moz-focusring,
1257 #identity-box.verifiedIdentity:-moz-focusring {
1258   outline-color: #000000;
1259 }
1260
1261 #identity-icon-labels {
1262   -moz-margin-start: 1px;
1263   -moz-margin-end: 3px;
1264 }
1265
1266 /* Location bar dropmarker */
1267
1268 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1269   background-color: transparent;
1270 }
1271
1272 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1273   border: none;
1274   border-radius: 0px;
1275 }
1276
1277 .urlbar-history-dropmarker:hover {
1278 }
1279
1280 .urlbar-history-dropmarker:hover:active,
1281 .urlbar-history-dropmarker[open="true"] {
1282 }
1283
1284 /* page proxy icon */
1285
1286 #page-proxy-favicon,
1287 #urlbar-throbber {
1288   width: 16px;
1289   height: 16px;
1290 }
1291
1292 #page-proxy-stack {
1293   width: 24px;
1294   height: 18px;
1295   padding: 1px 4px;
1296 }
1297
1298 #page-proxy-favicon:not([src]) {
1299   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1300 }
1301
1302 #page-proxy-favicon[pageproxystate="invalid"] {
1303   opacity: 0.5;
1304 }
1305
1306 #urlbar-throbber {
1307   list-style-image: url("chrome://global/skin/icons/loading.gif");
1308 }
1309
1310 /* autocomplete */
1311
1312 #treecolAutoCompleteImage {
1313   max-width: 36px;
1314 }
1315
1316 .ac-result-type-bookmark,
1317 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1318   list-style-image: url("chrome://browser/skin/places/bookmark.png");
1319   -moz-image-region: rect(0px 16px 16px 0px);
1320   width: 16px;
1321   height: 16px;
1322 }
1323
1324 .ac-result-type-keyword,
1325 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1326   list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1327   -moz-image-region: rect(0px 32px 16px 16px);
1328   width: 16px;
1329   height: 16px;
1330 }
1331
1332 .ac-result-type-tag,
1333 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1334   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
1335   width: 16px;
1336   height: 16px;
1337 }
1338
1339 .ac-comment {
1340   font-size: 1.15em;
1341 }
1342
1343 .ac-extra > .ac-comment {
1344   font-size: inherit;
1345 }
1346
1347 .ac-url-text,
1348 .ac-action-text {
1349   color: #9C9CFF;
1350 }
1351
1352 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1353   list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1354 }
1355
1356 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1357   color: #8050B0;
1358 }
1359
1360 .ac-comment[selected="true"],
1361 .ac-url-text[selected="true"],
1362 .ac-action-text[selected="true"] {
1363   color: inherit !important;
1364 }
1365
1366 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1367 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1368 {
1369   color: #8050B0;
1370   font-size: smaller;
1371 }
1372
1373 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1374   border-top: 1px solid #9C9CFF;
1375 }
1376
1377 /* combined go/reload/stop button in location bar */
1378
1379 #go-button,
1380 #urlbar > toolbarbutton {
1381   list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1382   /* margin: -2px; */
1383   -moz-margin-start: 0;
1384   padding: 0 2px;
1385   background-origin: border-box;
1386   border: none;
1387   -moz-border-start: 1px solid #9C9CFF;
1388 }
1389
1390 #go-button {
1391   padding: 0 3px;
1392 }
1393
1394 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1395   border-top-left-radius: 0px;
1396   border-bottom-left-radius: 0px;
1397 }
1398
1399 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1400   border-top-right-radius: 0px;
1401   border-bottom-right-radius: 0px;
1402 }
1403
1404 #urlbar > toolbarbutton:not([disabled]):active:hover,
1405 #urlbar-reload-button:not(:hover) {
1406   -moz-border-start-style: none;
1407   -moz-padding-start: 4px;
1408 }
1409
1410 #urlbar > toolbarbutton:not([disabled]):active:hover {
1411 }
1412
1413 #urlbar-go-button {
1414   -moz-image-region: rect(0, 42px, 14px, 28px);
1415 }
1416
1417 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1418 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1419   -moz-transform: scaleX(-1);
1420 }
1421
1422 #urlbar-go-button:hover,
1423 #go-button:hover {
1424   -moz-image-region: rect(14px, 42px, 28px, 28px);
1425 }
1426
1427 #urlbar-reload-button {
1428   -moz-image-region: rect(0px, 14px, 14px, 0px);
1429 }
1430
1431 #urlbar-reload-button[disabled] {
1432   -moz-image-region: rect(28px, 14px, 42px, 0px);
1433 }
1434
1435 #urlbar-reload-button:not([disabled]):hover {
1436   -moz-image-region: rect(14px, 14px, 28px, 0px);
1437 }
1438
1439 #urlbar-stop-button {
1440   -moz-image-region: rect(0px, 28px, 14px, 14px);
1441 }
1442
1443 #urlbar-stop-button:hover {
1444   -moz-image-region: rect(14px, 28px, 28px, 14px);
1445 }
1446
1447 /* popup blocker button */
1448
1449 #page-report-button {
1450   list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1451   -moz-image-region: rect(0, 16px, 16px, 0);
1452 }
1453
1454 #page-report-button:hover ,
1455 #page-report-button:hover:active,
1456 #page-report-button[open="true"] {
1457   -moz-image-region: rect(0, 32px, 16px, 16px);
1458 }
1459
1460 /* star button */
1461
1462 #star-button {
1463   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1464   -moz-image-region: rect(16px 16px 32px 0px);
1465 }
1466
1467 #star-button:hover {
1468   -moz-image-region: rect(16px 32px 32px 16px);
1469 }
1470
1471 #star-button:hover:active {
1472   -moz-image-region: rect(16px 48px 32px 32px);
1473 }
1474
1475 #star-button[starred="true"] {
1476   -moz-image-region: rect(0px 16px 16px 0px);
1477 }
1478
1479 #star-button[starred="true"]:hover {
1480   -moz-image-region: rect(0px 32px 16px 16px);
1481 }
1482
1483 #star-button[starred="true"]:hover:active {
1484   -moz-image-region: rect(0px 48px 16px 32px);
1485 }
1486
1487 /* bookmarking panel */
1488 #editBookmarkPanelStarIcon {
1489   list-style-image: url("chrome://browser/skin/places/starred48.png");
1490   width: 48px;
1491   height: 48px;
1492 }
1493
1494 #editBookmarkPanelStarIcon[unstarred] {
1495   list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1496 }
1497
1498 #editBookmarkPanelTitle {
1499   font-size: 130%;
1500 }
1501
1502 #editBookmarkPanelHeader,
1503 #editBookmarkPanelContent {
1504   margin-bottom: .5em;
1505 }
1506
1507 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1508 #editBMPanel_folderTree {
1509   min-width: 27em;
1510 }
1511
1512 .panel-promo-box {
1513   margin: 5px -6px -6px -6px;
1514   padding: 5px;
1515   background-color: #000000;
1516   color: #FF9F00;
1517   border-bottom-left-radius: 5px;
1518   border-bottom-right-radius: 5px;
1519   border-top: 1px solid #9C9CFF;
1520 }
1521
1522 .panel-promo-icon {
1523   list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1524   -moz-margin-end: 10px;
1525   vertical-align: middle;
1526 }
1527
1528 .panel-promo-closebutton {
1529   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1530   -moz-margin-end: -3px;
1531   margin-top: -3px;
1532 }
1533
1534 .panel-promo-closebutton:hover {
1535   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1536 }
1537
1538 .panel-promo-closebutton:hover:active {
1539   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1540 }
1541
1542 .panel-promo-closebutton > .toolbarbutton-text {
1543   padding: 0;
1544   margin: 0;
1545 }
1546
1547 /* ::::: content area ::::: */
1548
1549 #sidebar {
1550   background-color: Window;
1551 }
1552
1553 #sidebar-title {
1554   -moz-padding-start: 0px;
1555 }
1556
1557 /* ::::: throbber ::::: */
1558
1559 #navigator-throbber {
1560   width: 16px;
1561   min-height: 16px;
1562   margin: 0 3px;
1563 }
1564
1565 #navigator-throbber[busy="true"] {
1566   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
1567 }
1568
1569 #navigator-throbber,
1570 #wrapper-navigator-throbber > #navigator-throbber {
1571   list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
1572 }
1573
1574 /* Tabstrip */
1575
1576 #TabsToolbar {
1577   min-height: 0;
1578   padding: 0;
1579   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1580 }
1581
1582 #TabsToolbar .toolbar-holder {
1583   background-color: #000000; /* correct effect of being an actual toolbar */
1584 }
1585
1586 #main-window[disablechrome] #TabsToolbar,
1587 #TabsToolbar[tabsontop="false"] {
1588   border-bottom: 1px solid #FF9F00;
1589 }
1590
1591 .tabbrowser-tab,
1592 .tabs-newtab-button {
1593   margin-top: 0px;
1594 }
1595
1596 .tabbrowser-tab:hover,
1597 .tabs-newtab-button:hover {
1598 }
1599
1600 .tabbrowser-tab[selected="true"] {
1601 }
1602
1603 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1604 }
1605
1606 .tabbrowser-tab:-moz-lwtheme {
1607 }
1608
1609 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1610 }
1611
1612 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1613 .tabs-newtab-button:-moz-lwtheme-brighttext {
1614 }
1615
1616 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1617 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1618 }
1619
1620 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1621 .tabs-newtab-button:-moz-lwtheme-darktext {
1622 }
1623
1624 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1625 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1626 }
1627
1628 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1629   background-color: #E7ADE7;
1630 }
1631 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1632   background-color: #0000FF;
1633   color: #000000;
1634 }
1635
1636 .tab-throbber,
1637 .tab-icon-image {
1638   width: 16px;
1639   height: 16px;
1640   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1641   -moz-image-region: auto;
1642   -moz-margin-end: 3px;
1643 }
1644
1645 .tab-throbber {
1646   list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
1647 }
1648
1649 .tab-throbber[progress] {
1650   list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
1651 }
1652
1653 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
1654   min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
1655 }
1656
1657 .tab-throbber[pinned],
1658 .tab-icon-image[pinned] {
1659   -moz-margin-start: 2px;
1660   -moz-margin-end: 2px;
1661 }
1662
1663 /* tabbrowser-tab focus ring */
1664 .tabbrowser-tab:focus > .tab-stack {
1665   outline: 1px dotted;
1666 }
1667
1668 /* Tab drag and drop */
1669 .tab-drag-panel {
1670   border: 0 !important;
1671 }
1672
1673 .tab-drag-label {
1674   margin: 0 !important;
1675   padding: 5px;
1676   border: 1px solid #8050B0;
1677 }
1678
1679 .tab-drag-panel:not([target]) > .tab-drag-label {
1680   display: none;
1681 }
1682
1683 .tab-drag-preview {
1684   border: 1px solid #9C9CFF;
1685 }
1686
1687 .tab-drop-indicator {
1688   list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1689   margin-bottom: -11px;
1690 }
1691
1692 /* Tab close button */
1693 .tab-close-button {
1694   border: none;
1695   padding: 0px;
1696   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1697 }
1698
1699 .tab-close-button:-moz-system-metric(touch-enabled) {
1700   -moz-transform: scale(1.2);
1701 }
1702
1703 .tab-close-button:hover,
1704 .tab-close-button:hover[selected="true"] {
1705   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1706 }
1707
1708 .tab-close-button:hover:active,
1709 .tab-close-button:hover:active[selected="true"] {
1710   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1711 }
1712
1713 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1714
1715 @media all and (-moz-touch-enabled) {
1716   .tabbrowser-arrowscrollbox > .scrollbutton-up,
1717   .tabbrowser-arrowscrollbox > .scrollbutton-down,
1718   #TabsToolbar .toolbarbutton-1 {
1719     min-width: 8.1mozmm;
1720   }
1721
1722   .tabs-newtab-button {
1723     min-width: 10mozmm;
1724   }
1725
1726   .tab-content {
1727     min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1728   }
1729 }
1730
1731 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1732 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1733   margin: 0;
1734   padding-top: 0;
1735   padding-bottom: 0;
1736 }
1737
1738 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1739   background-color: #008484;
1740 }
1741
1742 .tabs-newtab-button > .toolbarbutton-icon {
1743   margin-top: -1px;
1744   margin-bottom: -1px;
1745 }
1746
1747 .tabs-newtab-button,
1748 #TabsToolbar > #new-tab-button,
1749 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1750   list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
1751   -moz-image-region: rect(0, 16px, 18px, 0);
1752 }
1753
1754 .tabs-newtab-button {
1755   width: 28px;
1756 }
1757
1758 #TabsToolbar > #new-tab-button {
1759   width: 26px;
1760 }
1761
1762 .tabs-newtab-button:hover,
1763 #TabsToolbar > #new-tab-button:hover {
1764   -moz-image-region: rect(0, 32px, 18px, 16px);
1765 }
1766
1767 #alltabs-button {
1768   list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1769   -moz-image-region: rect(0, 14px, 16px, 0);
1770 }
1771
1772 #alltabs-button:hover,
1773 #alltabs-button:hover:active {
1774   -moz-image-region: rect(0, 28px, 16px, 14px);
1775 }
1776
1777 #alltabs-button[type="menu"] {
1778   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1779   -moz-image-region: auto;
1780 }
1781
1782 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1783   display: none;
1784 }
1785
1786 #alltabs-button[type="menu"]:hover,
1787 #alltabs-button[type="menu"]:hover:active,
1788 #alltabs-button[type="menu"][open="true"] {
1789   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1790   -moz-image-region: auto;
1791 }
1792
1793 /* All tabs menupopup */
1794 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1795   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1796   -moz-image-region: auto;
1797 }
1798
1799 .alltabs-item[selected="true"] {
1800   font-weight: bold;
1801 }
1802
1803 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1804   list-style-image: url("chrome://global/skin/icons/loading.gif");
1805 }
1806
1807 .alltabs-item[tabIsVisible] {
1808   background-color: #402800;
1809 }
1810
1811 /* Tabstrip close button */
1812 .tabs-closebutton {
1813   -moz-box-flex: 1;
1814   margin: 0px;
1815   padding: 2px;
1816   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1817 }
1818
1819 .tabs-closebutton > .toolbarbutton-icon {
1820 }
1821
1822 .tabs-closebutton > .toolbarbutton-text {
1823   display: none;
1824 }
1825
1826 .tabs-closebutton:hover,
1827 .tabs-closebutton:hover:active {
1828   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1829 }
1830
1831 toolbarbutton.chevron {
1832   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1833 }
1834
1835 toolbarbutton.chevron:hover {
1836   list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1837 }
1838
1839 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1840 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1841   -moz-transform: scaleX(-1);
1842 }
1843
1844 toolbarbutton.chevron > .toolbarbutton-text,
1845 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1846   display: none;
1847 }
1848
1849 toolbarbutton.chevron > .toolbarbutton-icon {
1850   margin: 0;
1851 }
1852
1853 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1854   display: -moz-box; /* display chevron icon in text mode */
1855 }
1856
1857 #sidebar-throbber[loading="true"] {
1858   list-style-image: url("chrome://global/skin/icons/loading.gif");
1859   -moz-margin-end: 4px;
1860 }
1861
1862 /* Bookmarks toolbar */
1863 #PlacesToolbarDropIndicator {
1864   list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
1865 }
1866
1867 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1868   background-color: #008484 !important;
1869   color: #FFCF00 !important;
1870 }
1871
1872 /* rules for menupopup drop indicators */
1873 .menupopup-drop-indicator-bar {
1874   position: relative;
1875   /* these two margins must together compensate the indicator's height */
1876   margin-top: -1px;
1877   margin-bottom: -1px;
1878 }
1879
1880 .menupopup-drop-indicator {
1881   list-style-image: none;
1882   height: 2px;
1883   -moz-margin-end: -4em;
1884   background-color: #008484;
1885 }
1886
1887 /* ::::: Identity Indicator Styling ::::: */
1888
1889 /* Popup Icons */
1890 #identity-popup-icon {
1891   height: 64px;
1892   width: 64px;
1893   padding: 0;
1894   list-style-image: url("chrome://browser/skin/identity.png");
1895   -moz-image-region: rect(0px, 64px, 64px, 0px);
1896 }
1897
1898 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1899   -moz-image-region: rect(64px, 64px, 128px, 0px);
1900 }
1901
1902 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1903   -moz-image-region: rect(128px, 64px, 192px, 0px);
1904 }
1905
1906 /* Popup Body Text */
1907 .identity-popup-description {
1908   white-space: pre-wrap;
1909   -moz-padding-start: 15px;
1910   margin: 2px 0 4px;
1911 }
1912
1913 .identity-popup-label {
1914   white-space: pre-wrap;
1915   -moz-padding-start: 15px;
1916   margin: 0;
1917 }
1918
1919 #identity-popup-content-host ,
1920 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1921   font-size: 1.2em;
1922 }
1923
1924 #identity-popup-content-host {
1925   margin-top: 3px;
1926   margin-bottom: 5px;
1927   font-weight: bold;
1928   max-width: 300px;
1929 }
1930
1931 #identity-popup-content-owner {
1932   margin-top: 4px;
1933   margin-bottom: 0 !important;
1934   font-weight: bold;
1935   max-width: 300px;
1936 }
1937
1938 .verifiedDomain > #identity-popup-content-owner {
1939   font-weight: normal;
1940 }
1941
1942 #identity-popup-content-verifier {
1943   margin: 4px 0 2px;
1944 }
1945
1946 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1947 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1948   margin-top: 10px;
1949   -moz-margin-start: -24px;
1950 }
1951
1952 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1953 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1954   list-style-image: url("chrome://browser/skin/Secure24.png");
1955 }
1956
1957 #identity-popup-more-info-button {
1958   margin-top: 6px;
1959   margin-bottom: 0;
1960   -moz-margin-end: 0;
1961 }
1962
1963 .popup-notification-icon {
1964   width: 64px;
1965   height: 64px;
1966   -moz-margin-end: 10px;
1967 }
1968
1969 .popup-notification-icon[popupid="geolocation"] {
1970   list-style-image: url("chrome://browser/skin/Geolocation-64.png");
1971 }
1972
1973 .popup-notification-icon[popupid="xpinstall-disabled"],
1974 .popup-notification-icon[popupid="addon-progress"],
1975 .popup-notification-icon[popupid="addon-install-cancelled"],
1976 .popup-notification-icon[popupid="addon-install-blocked"],
1977 .popup-notification-icon[popupid="addon-install-failed"],
1978 .popup-notification-icon[popupid="addon-install-complete"] {
1979   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1980   width: 32px;
1981   height: 32px;
1982 }
1983
1984 .addon-progress-description {
1985   width: 350px;
1986   max-width: 350px;
1987 }
1988
1989 .popup-progress-label,
1990 .popup-progress-meter {
1991   -moz-margin-start: 0;
1992   -moz-margin-end: 0;
1993 }
1994
1995 .popup-progress-cancel {
1996   -moz-appearance: none;
1997   background: transparent;
1998   border: none;
1999   padding: 0;
2000   margin: 0;
2001   min-height: 0;
2002   min-width: 0;
2003   list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2004   -moz-image-region: rect(0px, 32px, 16px, 16px);
2005 }
2006
2007 .popup-progress-cancel:hover {
2008   -moz-image-region: rect(16px, 32px, 32px, 16px);
2009 }
2010
2011 .popup-progress-cancel:active {
2012   -moz-image-region: rect(32px, 32px, 48px, 16px);
2013 }
2014
2015 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2016 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2017   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2018 }
2019
2020 .popup-notification-icon[popupid="password-save"],
2021 .popup-notification-icon[popupid="password-change"] {
2022   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2023 }
2024
2025 /* Notification icon box */
2026 #notification-popup-box {
2027   position: relative;
2028   background-color: #000000;
2029   background-clip: padding-box;
2030   padding-left: 3px;
2031   border-radius: 3px 0 0 3px;
2032   -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2033   -moz-margin-end: -8px;
2034 }
2035
2036 #notification-popup-box:not([hidden]) + #identity-box {
2037   -moz-padding-start: 10px;
2038 }
2039
2040 #notification-popup-box:-moz-locale-dir(rtl),
2041 .notification-anchor-icon:-moz-locale-dir(rtl) {
2042   -moz-transform: scaleX(-1);
2043 }
2044
2045 .notification-anchor-icon {
2046   width: 16px;
2047   height: 16px;
2048 }
2049
2050 .notification-anchor-icon:-moz-focusring {
2051   outline: 1px dotted #008484;
2052 /*  outline-offset: -3px; */
2053 }
2054
2055 #default-notification-icon {
2056   list-style-image: url("chrome://global/skin/icons/information-16.png");
2057 }
2058
2059 #geo-notification-icon {
2060   list-style-image: url("chrome://browser/skin/Geolocation-16.png");
2061 }
2062
2063 #addons-notification-icon {
2064   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
2065 }
2066
2067 #indexedDB-notification-icon {
2068   list-style-image: url("chrome://global/skin/icons/question-16.png");
2069 }
2070
2071 #password-notification-icon {
2072   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
2073 }
2074
2075 #identity-popup-container {
2076   min-width: 280px;
2077 }
2078
2079 #download-monitor {
2080   list-style-image: url("chrome://browser/skin/Toolbar.png");
2081   -moz-image-region: rect(0, 108px, 18px, 90px);
2082 }
2083
2084 /* Bookmarks roots menu-items */
2085 #appmenu_subscribeToPage:not([disabled]),
2086 #appmenu_subscribeToPageMenu,
2087 #subscribeToPageMenuitem:not([disabled]),
2088 #subscribeToPageMenupopup,
2089 #BMB_subscribeToPageMenuitem:not([disabled]),
2090 #BMB_subscribeToPageMenupopup {
2091   list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
2092 }
2093
2094 #bookmarksToolbarFolderMenu,
2095 #appmenu_bookmarksToolbar,
2096 #BMB_bookmarksToolbar {
2097   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
2098   -moz-image-region: auto;
2099 }
2100
2101 #appmenu_unsortedBookmarks,
2102 #BMB_unsortedBookmarks {
2103   list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
2104   -moz-image-region: auto;
2105 }
2106
2107 /* ::::: Keyboard UI Panel ::::: */
2108
2109 .KUI-panel {
2110   color: #FF9F00;
2111   border-style: none;
2112   border-radius: 20px;
2113 }
2114
2115 .KUI-panel[level="top"] {
2116   /*background-color: rgba(27%,27%,27%,.65);*/
2117 }
2118
2119 .KUI-panel-closebutton {
2120   list-style-image: url("KUI-close.png");
2121   width: 24px;
2122   height: 24px;
2123 }
2124
2125 .KUI-panel-closebutton:not(:hover) {
2126 }
2127
2128 .KUI-panel-closebutton > .toolbarbutton-icon {
2129 }
2130
2131 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
2132
2133 /* Ctrl-Tab */
2134
2135 #ctrlTab-panel {
2136   padding: 20px 10px 10px;
2137   font-weight: bold;
2138 }
2139
2140 .ctrlTab-favicon[src] {
2141   background-color: #000000;
2142   width: 20px;
2143   height: 20px;
2144   padding: 2px;
2145 }
2146
2147 .ctrlTab-preview-inner > .tabPreview-canvas {
2148 }
2149
2150 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2151   margin-bottom: 2px;
2152 }
2153
2154 .ctrlTab-preview-inner {
2155   padding-bottom: 10px;
2156 }
2157
2158 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2159   padding: 10px;
2160   background-color: #000000;
2161   border-radius: .5em;
2162 }
2163
2164 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2165   color: white;
2166   background-color: #000000;
2167   text-shadow: none;
2168   padding: 8px;
2169   border: 2px solid #9C9CFF;
2170   border-radius: .5em;
2171 }
2172
2173 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2174   margin: -10px -10px 0;
2175 }
2176
2177 #ctrlTab-showAll {
2178   margin-top: .5em;
2179 }
2180
2181 /* All Tabs */
2182
2183 #allTabs-panel {
2184   padding-bottom: 10px;
2185 }
2186
2187 #allTabs-meta {
2188   margin: 10px;
2189 }
2190
2191 #allTabs-filter {
2192   -moz-margin-start: 24px;
2193   -moz-margin-end: 0;
2194 }
2195
2196 #allTabs-tab-close-button > .toolbarbutton-icon {
2197   margin: 0;
2198 }
2199
2200 .allTabs-favicon[src] {
2201   width: 22px;
2202   height: 22px;
2203   padding-top: 1px;
2204   padding-bottom: 5px;
2205   -moz-padding-start: 1px;
2206   -moz-padding-end: 5px;
2207   margin-top: -2px;
2208   -moz-margin-start: -2px;
2209   border-bottom-right-radius: 4px;
2210 }
2211
2212 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
2213   border-bottom-right-radius: 0;
2214   border-bottom-left-radius: 4px;
2215 }
2216
2217 .allTabs-preview-inner > .tabPreview-canvas {
2218   background-color: #E7ADE7;
2219 }
2220
2221 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
2222 }
2223
2224 .allTabs-preview:focus > * > .allTabs-preview-inner {
2225   outline: 1px dotted #008484;
2226 }
2227
2228 /* Inspector / Highlighter */
2229
2230 #highlighter-panel {
2231   -moz-window-shadow: none;
2232   background: #000000;
2233   border: none;
2234 }
2235
2236 listitem.style-selector {
2237   background-color: #9C9CFF;
2238   color: #000000;
2239 }
2240
2241 listitem.style-section {
2242   background-color: #E7ADE7;
2243   color: #000000;
2244   font-weight: bold;
2245 }
2246
2247 panel[dimmed="true"] {
2248   opacity: 0.5;
2249 }
2250
2251 /* Add-on bar */
2252
2253 #addon-bar {
2254   min-height: 20px;
2255   border-top: 3px solid #000000;
2256   border-bottom-width: 0;
2257 }
2258
2259 #addon-bar .toolbar-holder {
2260   background-color: #8050B0;
2261   color: #FFCF00;
2262 }
2263
2264 #addon-bar .toolbar-holder {
2265   background-color: #8050B0;
2266   color: #FFCF00;
2267 }
2268
2269 #addon-bar .toolbar-startcap,
2270 #addon-bar .toolbar-endcap{
2271   background-color: #6000CF;
2272 }
2273
2274 #status-bar {
2275   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
2276   margin-top: .3em;
2277   border-width: 0;
2278 }
2279
2280 /* Remove all borders from statusbarpanel children of
2281    the statusbar.
2282 #status-bar > statusbarpanel {
2283   border-width: 0;
2284 } */
2285
2286 #addonbar-closebutton {
2287   border: none;
2288   padding: 3px 5px;
2289   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2290 }
2291
2292 #addonbar-closebutton:hover,
2293 #addonbar-closebutton:hover:active {
2294   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2295 }
2296
2297 /* Status panel */
2298
2299 .statuspanel-label {
2300   margin: 0;
2301   padding: 2px 4px;
2302   background: #404000;
2303   border: 1px none #9C9CFF;
2304   border-top-style: solid;
2305   color: #FF9F00;
2306   text-shadow: none;
2307 }
2308
2309 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2310 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2311   border-right-style: solid;
2312   border-top-right-radius: .3em;
2313   margin-right: 1em;
2314 }
2315
2316 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2317 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2318   border-left-style: solid;
2319   border-top-left-radius: .3em;
2320   margin-left: 1em;
2321 }
2322
2323 /* HACK to abolish devily color on main content */
2324
2325 #content {
2326   background-color: transparent !important;
2327 }
2328
2329 /* Highlighter */
2330
2331 .highlighter-veil {
2332   background-color: rgba(0, 0, 0, 0.5);
2333 }
2334
2335 #highlighter-close-button {
2336   list-style-image: url("chrome://browser/skin/KUI-close.png");
2337   top: 12px;
2338   right: 12px;
2339   cursor: pointer;
2340 }
2341
2342 #highlighter-close-button:-moz-locale-dir(rtl)  {
2343   right: auto;
2344   left: 12px;
2345 }
2346
2347 highlighter-veil-transparentbox {
2348   box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
2349   outline: 1px dashed rgba(255,255,255,0.5);
2350   outline-offset: -1px;
2351 }
2352
2353 #highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox {
2354   box-shadow: 0 0 0 1px black;
2355   outline-color: white;
2356 }
2357
2358 /*
2359  * need a "bumpy" background image for this!
2360  */
2361 #inspector-horizontal-splitter {
2362   background: none !important;
2363   -moz-appearance: none;
2364   cursor: n-resize;
2365 }