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