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