update LCARStrek for browser winstripe changes in Firefox 21 cycle
[themes.git] / LCARStrek / browser / browser.css
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 @import url("chrome://global/skin/");
6
7 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
8 @namespace html url("http://www.w3.org/1999/xhtml");
9
10 toolbar {
11   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
12 }
13
14 toolbar[type="menubar"][autohide="true"] {
15   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
16 }
17
18 menubar {
19   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
20 }
21
22 #menubar-items {
23   -moz-box-orient: vertical; /* for flex hack */
24 }
25
26 #main-menubar {
27   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
28 }
29
30 /* ::::: primary toolbar ::::: */
31
32 .toolbar-primary > .toolbar-box > .toolbar-holder {
33   background-color: #A09090;
34 }
35
36 .toolbar-primary > .toolbar-box > .toolbar-startcap,
37 .toolbar-primary > .toolbar-box > .toolbar-endcap {
38   background-color: #9C9CFF;
39 }
40
41
42 #navigator-toolbox {
43 }
44
45 #navigator-toolbox::after {
46   content: "";
47   display: -moz-box;
48   -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
49   height: 1px;
50 }
51 #navigator-toolbox[tabsontop=false]::after,
52 #main-window[disablechrome] #navigator-toolbox::after {
53   visibility: collapse;
54 }
55
56 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
57 }
58
59 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
60   /* like menubar */
61   background-color: #6000CF;
62   color: #FF9F00;
63 }
64 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
65   background-color: #8050B0;
66   color: #FF9F00;
67 }
68
69 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
70   visibility: hidden;
71 }
72 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
73   -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
74   visibility: visible;
75 }
76
77 #nav-bar[tabsontop="true"],
78 #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
79 #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
80   /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
81 }
82
83 #personal-bookmarks {
84 /*  min-height: 24px; */
85 }
86
87 #print-preview-toolbar:not(:-moz-lwtheme) {
88   /* -moz-appearance: toolbox; */
89 }
90
91 /* ::::: app menu button ::::: */
92
93 #appmenu-button {
94   background-color: #FF9F00;
95   background-clip: padding-box;
96   border-radius: 0;
97   border: none;
98   border-right: 3px solid #000000;
99   color: #000000;
100   font-weight: bold;
101   padding: 1px 1.5em;
102   margin: 0;
103 }
104
105 #appmenu-button:-moz-locale-dir(rtl) {
106   border-left: 3px solid #000000;
107   border-right: none;
108 }
109
110 #main-window[privatebrowsingmode=temporary] #appmenu-button {
111   background-color: #6000CF;
112   color: #FFCF00;
113 }
114
115 #appmenu-button:hover:not(:active):not([open]) {
116 }
117
118 #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
119 }
120
121 #appmenu-button:hover,
122 #appmenu-button:hover:active,
123 #appmenu-button[open] {
124   background-color: #FFCF00;
125   color: #000000;
126 }
127
128 #appmenu-button > .button-box > .button-menu-dropmarker {
129   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
130   width: auto;
131   height: auto;
132   padding: 0;
133   margin: 0;
134   border: none;
135   background-color: transparent;
136   -moz-margin-start: .5em;
137 }
138
139 #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
140   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
141 }
142
143 #appmenuPrimaryPane > menuitem,
144 #appmenuSecondaryPane > menuitem,
145 #appmenuPrimaryPane > menu {
146   padding: 2px;
147 }
148
149 .splitmenu-menuitem {
150   -moz-padding-start: 2px;
151   padding-top: 2px;
152   padding-bottom: 2px;
153   -moz-margin-end: 1px;
154 }
155
156 .splitmenu-menu {
157   padding-top: 2px;
158   padding-bottom: 2px;
159   -moz-box-pack: end;
160 }
161
162 .appmenu-edit-button {
163 }
164
165 .appmenu-edit-button[disabled="true"] {
166 }
167
168 #appmenuPrimaryPane {
169   -moz-border-end: 1px solid #9C9CFF;
170 }
171 /*
172   #appmenu-popup {
173   }
174   #appmenuPrimaryPane {
175   }
176   #appmenuSecondaryPane {
177   }
178   #appmenuSecondaryPane:-moz-locale-dir(rtl) {
179   }
180
181   #appmenuSecondaryPane menupopup {
182   }
183
184   .appmenu-menuseparator {
185   }
186
187   .appmenu-edit-button:not([disabled]):hover {
188   }
189 */
190 #appmenuSecondaryPane-spacer {
191   min-height: 1em;
192 }
193
194 #appmenu-editmenu {
195   -moz-box-pack: end;
196 }
197
198 #appmenu_print,
199 #appmenu_print_popup,
200 .appmenu-edit-button,
201 #appmenu-editmenu-cut,
202 #appmenu-editmenu-copy,
203 #appmenu-editmenu-paste,
204 #appmenu-quit {
205   list-style-image: url("appmenu-icons.png");
206 }
207
208 #appmenu-cut,
209 #appmenu-editmenu-cut {
210   -moz-image-region: rect(0 16px 16px 0);
211 }
212
213 #appmenu-cut:hover:not([disabled="true"]),
214 #appmenu-editmenu-cut:hover:not([disabled="true"]) {
215   -moz-image-region: rect(16px 16px 32px 0);
216 }
217
218 #appmenu-cut[disabled="true"],
219 #appmenu-editmenu-cut[disabled="true"] {
220   -moz-image-region: rect(32px 16px 48px 0);
221 }
222
223 #appmenu-copy,
224 #appmenu-editmenu-copy {
225   -moz-image-region: rect(0 32px 16px 16px);
226 }
227
228 #appmenu-copy:hover:not([disabled="true"]),
229 #appmenu-editmenu-copy:hover:not([disabled="true"]) {
230   -moz-image-region: rect(16px 32px 32px 16px);
231 }
232
233 #appmenu-copy[disabled="true"],
234 #appmenu-editmenu-copy[disabled="true"] {
235   -moz-image-region: rect(32px 32px 48px 16px);
236 }
237
238 #appmenu-paste,
239 #appmenu-editmenu-paste {
240   -moz-image-region: rect(0 48px 16px 32px);
241 }
242
243 #appmenu-paste:hover:not([disabled="true"]),
244 #appmenu-editmenu-paste:hover:not([disabled="true"]) {
245   -moz-image-region: rect(16px 48px 32px 32px);
246 }
247
248 #appmenu-paste[disabled="true"],
249 #appmenu-editmenu-paste[disabled="true"] {
250   -moz-image-region: rect(32px 48px 48px 32px);
251 }
252
253 #appmenu_print,
254 #appmenu_print_popup {
255   -moz-image-region: rect(0 64px 16px 48px);
256 }
257
258 #appmenu_print:hover:not([disabled="true"]),
259 #appmenu_print[open="true"],
260 #appmenu_print_popup:hover:not([disabled="true"]) {
261   -moz-image-region: rect(16px 64px 32px 48px);
262 }
263
264 #appmenu-print[disabled="true"],
265 #appmenu_print_popup[disabled="true"] {
266   -moz-image-region: rect(32px 64px 48px 48px);
267 }
268
269 #appmenu-quit {
270   -moz-image-region: rect(0 80px 16px 64px);
271 }
272
273 #appmenu-quit:hover {
274   -moz-image-region: rect(16px 80px 32px 64px);
275 }
276
277 #appmenu-edit-label {
278   -moz-appearance: none;
279   background: transparent;
280   font-style: italic;
281 }
282
283 #appmenu_bookmarks {
284   list-style-image: url("chrome://browser/skin/places/bookmark.png");
285   -moz-image-region: rect(0px 48px 16px 32px);
286 }
287
288 #appmenu_privateBrowsing,
289 #appmenu_newPrivateWindow {
290   list-style-image: url("chrome://browser/skin/Privacy-16.png");
291 }
292
293 #appmenu_addons {
294   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
295 }
296
297 #BMB_bookmarkThisPage,
298 #appmenu_bookmarkThisPage {
299   list-style-image: url("chrome://browser/skin/places/bookmark.png");
300   -moz-image-region: rect(0 16px 16px 0);
301 }
302
303 /* ::::: titlebar ::::: */
304
305 #titlebar {
306   /* like menubar */
307   background-color: #6000CF;
308   color: #FF9F00;
309 }
310 #titlebar:-moz-window-inactive {
311   background-color: #8050B0;
312   color: #FF9F00;
313 }
314
315 #main-window[sizemode="normal"] > #titlebar {
316   margin-top: -3px;
317   margin-bottom: 3px;
318 }
319
320 #main-window[sizemode="maximized"] > #titlebar {
321   margin-top: 4px;
322 }
323
324 #titlebar-buttonbox {
325   margin-top: 5px;
326   -moz-margin-end: 3px;
327 }
328
329 #main-window[sizemode="maximized"] #titlebar-buttonbox {
330 }
331
332 .titlebar-placeholder[type="appmenu-button"] {
333   margin-left: 4px;
334 }
335
336 .titlebar-placeholder[type="caption-buttons"] {
337   margin-left: 10px;
338 }
339
340 /* titlebar command buttons */
341
342 #titlebar-min {
343   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
344 }
345
346 #titlebar-min:hover {
347   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
348 }
349
350 #titlebar-max {
351   list-style-image: url("chrome://browser/skin/win-maximize.gif");
352 }
353
354 #titlebar-max:hover {
355   list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
356 }
357
358 #main-window[sizemode="maximized"] #titlebar-max {
359   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
360 }
361
362 #main-window[sizemode="maximized"] #titlebar-max:hover {
363   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
364 }
365
366 #titlebar-close {
367   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
368 }
369
370 #titlebar-close:hover {
371   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
372 }
373
374 /* ::::: bookmark buttons ::::: */
375
376 /*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */
377 .bookmark-item > .toolbarbutton-icon {
378   width: 16px;
379   height: 16px;
380 }
381
382 /* Prevent [mode="icons"] from hiding the label */
383 .bookmark-item > .toolbarbutton-text {
384   display: -moz-box !important;
385 }
386
387 .bookmark-item > .toolbarbutton-menu-dropmarker {
388   display: none;
389 }
390
391 #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
392   background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
393 }
394
395 .bookmarks-toolbar-customize {
396   max-width: 15em !important;
397   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
398 }
399
400 /* ::::: bookmark menus ::::: */
401
402 menu.bookmark-item,
403 menuitem.bookmark-item {
404   min-width: 0;
405   max-width: 32em;
406 }
407
408 .bookmark-item > .menu-iconic-left {
409   margin-top: 0;
410   margin-bottom: 0;
411 }
412
413 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
414   -moz-padding-start: 0px;
415 }
416
417 /* ::::: bookmark items ::::: */
418
419 .bookmark-item  {
420   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
421   -moz-image-region: auto;
422 }
423
424 .bookmark-item[container] {
425   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
426   -moz-image-region: auto;
427 }
428
429 .bookmark-item[container][open] {
430   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
431   -moz-image-region: auto;
432 }
433
434 .bookmark-item[container][livemark] {
435   list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
436   -moz-image-region: auto;
437 }
438
439 .bookmark-item[container][livemark] .bookmark-item {
440   list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
441   -moz-image-region: rect(0px, 16px, 16px, 0px);
442 }
443
444 .bookmark-item[container][livemark] .bookmark-item[visited] {
445   -moz-image-region: rect(0px, 32px, 16px, 16px);
446 }
447
448 .bookmark-item[container][query] {
449   list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
450   -moz-image-region: auto;
451 }
452
453 .bookmark-item[query][tagContainer] {
454   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
455   -moz-image-region: auto;
456 }
457
458 .bookmark-item[query][dayContainer] {
459   list-style-image: url("chrome://communicator/skin/history/calendar.png");
460   -moz-image-region: auto;
461 }
462
463 .bookmark-item[query][hostContainer] {
464   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
465   -moz-image-region: auto;
466 }
467
468 .bookmark-item[query][hostContainer][open] {
469   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
470   -moz-image-region: auto;
471 }
472
473 .bookmark-item[cutting] > .toolbarbutton-icon,
474 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
475   opacity: 0.5;
476 }
477
478 .bookmark-item[cutting] > .toolbarbutton-text,
479 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
480   opacity: 0.7;
481 }
482
483 /* ::::: primary toolbar buttons ::::: */
484
485 .toolbarbutton-1 {
486   list-style-image: url("chrome://browser/skin/FxToolbar.png");
487 }
488
489 .toolbarbutton-1:not([type="menu-button"]) {
490   -moz-box-orient: vertical;
491 }
492
493 .toolbarbutton-1,
494 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
495   min-width: 36px;
496   min-height: 36px;
497 }
498
499 .toolbarbutton-1:not([type="menu-button"]) {
500   -moz-box-orient: vertical;
501 }
502
503 .toolbarbutton-1,
504 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
505 .toolbarbutton-1[disabled="true"]:hover:active,
506 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
507   padding: 1px 2px;
508 }
509
510 .toolbarbutton-1:hover:active,
511 .toolbarbutton-1[open="true"],
512 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
513   padding-top: 2px;
514   padding-bottom: 0px;
515   -moz-padding-start: 3px;
516   -moz-padding-end: 1px;
517 }
518
519 /* ::::: small primary toolbar buttons ::::: */
520
521 #nav-bar {
522   /* force iconsize="small" on this toolbar */
523   counter-reset: smallicons;
524 }
525
526 toolbar[mode="text"] .toolbarbutton-1,
527 toolbar[mode="icons"] .toolbarbutton-1,
528 toolbar[iconsize="small"] .toolbarbutton-1,
529 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
530 toolbar[mode="text"] .toolbarbutton-menubutton-button,
531 toolbar[mode="icons"] .toolbarbutton-menubutton-button,
532 toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
533 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
534   min-width: 0px;
535   min-height: 0px;
536 }
537
538 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
539   padding-top: 4px;
540   padding-bottom: 8px;
541   -moz-padding-start: 1px;
542   -moz-padding-end: 1px;
543 }
544
545 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
546 toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
547 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
548   padding-top: 0px;
549   padding-bottom: 13px;
550   -moz-padding-start: 1px;
551   -moz-padding-end: 1px;
552 }
553
554 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
555 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
556   padding-top: 5px;
557   padding-bottom: 7px;
558   -moz-padding-start: 0px;
559   -moz-padding-end: 2px;
560 }
561
562 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
563 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
564 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
565 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
566 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
567 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
568   padding-top: 1px;
569   padding-bottom: 12px;
570   -moz-padding-start: 0px;
571   -moz-padding-end: 2px;
572 }
573
574 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
575   padding-top: 4px !important;
576   padding-bottom: 8px !important;
577   -moz-padding-start: 1px !important;
578   -moz-padding-end: 1px !important;
579 }
580
581 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
582 toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
583   padding-top: 0px !important;
584   padding-bottom: 13px !important;
585   -moz-padding-start: 1px !important;
586   -moz-padding-end: 1px !important;
587 }
588
589 toolbar[mode="icons"] .toolbarbutton-text,
590 toolbar[mode="text"] .toolbarbutton-icon {
591   display: none;
592 }
593
594 toolbar[mode="text"] .toolbarbutton-text {
595   padding: 4px 0;
596 }
597
598 toolbar[mode="text"] .toolbarbutton-1,
599 toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
600   -moz-box-orient: horizontal;
601 }
602
603 toolbar[mode="full"] .toolbarbutton-1,
604 toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
605   min-width: 30px;
606 }
607
608 #navigator-toolbox[iconsize=small] > #nav-bar {
609 }
610
611 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
612 }
613
614
615 /* unified back/forward button */
616
617 #back-button {
618   -moz-image-region: rect(0, 18px, 18px, 0);
619   -moz-margin-end: 0;
620 }
621
622 #back-button:not([disabled="true"]):hover {
623   -moz-image-region: rect(18px, 18px, 36px, 0);
624 }
625
626 #back-button[disabled="true"] {
627   -moz-image-region: rect(36px, 18px, 54px, 0);
628 }
629
630 #forward-button {
631   -moz-image-region: rect(0, 36px, 18px, 18px);
632   border-left: none;
633   -moz-margin-start: 0;
634 }
635
636 #forward-button:not([disabled="true"]):hover {
637   -moz-image-region: rect(18px, 36px, 36px, 18px);
638 }
639
640 #forward-button[disabled="true"] {
641   -moz-image-region: rect(36px, 36px, 54px, 18px);
642 }
643
644 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
645 #forward-button:-moz-locale-dir(rtl),
646 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
647   transform: scaleX(-1);
648 }
649
650 #nav-bar #back-button {
651   -moz-margin-end: 0 !important;
652 }
653
654 #nav-bar #forward-button {
655   border-left-style: none;
656   -moz-margin-start: 0 !important;
657 }
658
659 #nav-bar #back-button:-moz-locale-dir(ltr) {
660   border-top-right-radius: 0;
661   border-bottom-right-radius: 0;
662 }
663
664 #nav-bar #back-button:-moz-locale-dir(rtl),
665 #nav-bar #forward-button {
666   border-top-left-radius: 0;
667   border-bottom-left-radius: 0;
668 }
669
670 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
671     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
672     #unified-back-forward-button > #back-button {
673   border-radius: 10000px;
674   width: 30px;
675   height: 30px;
676   position: relative;
677   z-index: 1;
678   margin-top: -2px;
679   margin-bottom: -2px;
680   border: none;
681   -moz-image-region: rect(54px, 20px, 74px, 0);
682 }
683
684 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
685     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
686     #unified-back-forward-button > #back-button:not([disabled="true"]):hover,
687 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
688     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
689     #unified-back-forward-button > #back-button[open="true"] {
690   -moz-image-region: rect(54px, 40px, 74px, 20px);
691 }
692
693 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
694     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
695     #unified-back-forward-button > #back-button[disabled="true"] {
696   -moz-image-region: rect(54px, 60px, 74px, 40px);
697 }
698
699 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
700     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
701     #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
702 }
703
704 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
705     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
706     #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active,
707 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
708     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
709     #unified-back-forward-button > #back-button[open="true"] {
710 }
711
712 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
713 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
714 /*  padding-top: 3px;
715   padding-bottom: 5px; */
716 }
717
718 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
719 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
720 /*  padding-top: 5px; */
721 }
722
723 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
724     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
725     #unified-back-forward-button > #forward-button {
726   /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
727   /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */
728   -moz-margin-start: -6px !important;
729   padding-left: 7px;
730   padding-right: 3px;
731   margin-top: 2px;
732   margin-bottom: 2px;
733 }
734
735 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
736     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
737     #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) {
738   border-top-right-radius: 11px;
739   border-bottom-right-radius: 11px;
740 }
741
742 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
743     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
744     #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) {
745   border-top-left-radius: 11px;
746   border-bottom-left-radius: 11px;
747 }
748
749 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
750 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
751   list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
752 }
753
754 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
755 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
756   list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
757 }
758
759 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
760 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
761   list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
762 }
763
764 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
765 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
766   list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
767 }
768
769 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
770     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
771     #unified-back-forward-button > #forward-button {
772 /*  border-top-right-radius: 0;
773   border-bottom-right-radius: 0;
774   -moz-margin-end: 0; */
775 }
776
777 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
778     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
779     #unified-back-forward-button:not([switchingtabs]) > #forward-button {
780   transition: opacity 150ms ease-out;
781 }
782
783 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
784     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
785     #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
786   opacity: 0;
787 }
788
789 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
790     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
791     #unified-back-forward-button:hover > #forward-button[disabled] {
792   background-color: transparent;
793 }
794
795 #stop-button {
796   -moz-image-region: rect(0, 54px, 18px, 36px);
797 }
798
799 #stop-button:not([disabled="true"]):hover {
800   -moz-image-region: rect(18px, 54px, 36px, 36px);
801 }
802
803 #stop-button[disabled="true"] {
804   -moz-image-region: rect(36px, 54px, 54px, 36px);
805 }
806
807 #reload-button {
808   -moz-image-region: rect(0, 72px, 18px, 54px);
809 }
810
811 #reload-button:not([disabled="true"]):hover {
812   -moz-image-region: rect(18px, 72px, 36px, 54px);
813 }
814
815 #reload-button[disabled="true"] {
816   -moz-image-region: rect(36px, 72px, 54px, 54px);
817 }
818
819 #home-button.bookmark-item {
820   list-style-image: url("chrome://browser/skin/FxToolbar.png");
821 }
822 #home-button {
823   -moz-image-region: rect(0, 90px, 18px, 72px);
824 }
825
826 #home-button:not([disabled="true"]):hover {
827   -moz-image-region: rect(18px, 90px, 36px, 72px);
828 }
829
830 #home-button[disabled="true"] {
831   -moz-image-region: rect(36px, 90px, 54px, 72px);
832 }
833
834 #downloads-button {
835   -moz-image-region: rect(0, 108px, 18px, 90px);
836 }
837
838 #downloads-button:not([disabled="true"]):hover {
839   -moz-image-region: rect(18px, 108px, 36px, 90px);
840 }
841
842 #downloads-button[disabled="true"] {
843   -moz-image-region: rect(36px, 108px, 54px, 90px);
844 }
845
846 #downloads-button > .toolbarbutton-icon {
847   margin: 0;
848 }
849
850 #history-button {
851   -moz-image-region: rect(0, 126px, 18px, 108px);
852 }
853
854 #history-button:not([disabled="true"]):hover {
855   -moz-image-region: rect(18px, 126px, 36px, 108px);
856 }
857
858 #history-button[disabled="true"] {
859   -moz-image-region: rect(36px, 126px, 54px, 108px);
860 }
861
862 #bookmarks-button,
863 #bookmarks-menu-button {
864   list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
865   -moz-image-region: rect(0, 144px, 18px, 126px);
866 }
867
868 #bookmarks-menu-button.bookmark-item {
869   /* list-style-image: url("chrome://browser/skin/FxToolbar.png"); */
870 }
871
872 #bookmarks-menu-button.toolbarbutton-1 {
873   -moz-box-orient: horizontal;
874 }
875
876 #bookmarks-button:not([disabled="true"]):hover,
877 #bookmarks-menu-button[open="true"],
878 #bookmarks-menu-button:not([disabled="true"]):hover {
879   -moz-image-region: rect(18px, 144px, 36px, 126px);
880 }
881
882 #bookmarks-button[disabled="true"],
883 #bookmarks-menu-button[disabled="true"] {
884   -moz-image-region: rect(36px, 144px, 54px, 126px);
885 }
886
887 #print-button {
888   -moz-image-region: rect(0, 162px, 18px, 144px);
889 }
890
891 #print-button:not([disabled="true"]):hover {
892   -moz-image-region: rect(18px, 162px, 36px, 144px);
893 }
894
895 #print-button[disabled="true"] {
896   -moz-image-region: rect(36px, 162px, 54px, 144px);
897 }
898
899 #new-tab-button {
900   -moz-image-region: rect(0, 180px, 18px, 162px);
901 }
902
903 #new-tab-button:not([disabled="true"]):hover {
904   -moz-image-region: rect(18px, 180px, 36px, 162px);
905 }
906
907 #new-tab-button[disabled="true"] {
908   -moz-image-region: rect(36px, 180px, 54px, 162px);
909 }
910
911 #new-window-button {
912   -moz-image-region: rect(0, 198px, 18px, 180px);
913 }
914
915 #new-window-button:not([disabled="true"]):hover {
916   -moz-image-region: rect(18px, 198px, 36px, 180px);
917 }
918
919 #new-window-button[disabled="true"] {
920   -moz-image-region: rect(36px, 198px, 54px, 180px);
921 }
922
923 #cut-button {
924   -moz-image-region: rect(0, 216px, 18px, 198px);
925 }
926
927 #cut-button:not([disabled="true"]):hover {
928   -moz-image-region: rect(18px, 216px, 36px, 198px);
929 }
930
931 #cut-button[disabled="true"] {
932   -moz-image-region: rect(36px, 216px, 54px, 198px);
933 }
934
935 #copy-button {
936   -moz-image-region: rect(0, 234px, 18px, 216px);
937 }
938
939 #copy-button:not([disabled="true"]):hover {
940   -moz-image-region: rect(18px, 234px, 36px, 216px);
941 }
942
943 #copy-button[disabled="true"] {
944   -moz-image-region: rect(36px, 234px, 54px, 216px);
945 }
946
947 #paste-button {
948   -moz-image-region: rect(0, 252px, 18px, 234px);
949 }
950
951 #paste-button:not([disabled="true"]):hover {
952   -moz-image-region: rect(18px, 252px, 36px, 234px);
953 }
954
955 #paste-button[disabled="true"] {
956   -moz-image-region: rect(36px, 252px, 54px, 234px);
957 }
958
959 #fullscreen-button {
960   -moz-image-region: rect(0, 270px, 18px, 252px);
961 }
962
963 #fullscreen-button:not([disabled="true"]):hover {
964   -moz-image-region: rect(18px, 270px, 36px, 252px);
965 }
966
967 #fullscreen-button[disabled="true"] {
968   -moz-image-region: rect(36px, 270px, 54px, 252px);
969 }
970
971 #zoom-out-button {
972   -moz-image-region: rect(0, 288px, 18px, 270px);
973   -moz-margin-end: 0;
974 }
975
976 #zoom-in-button {
977   -moz-image-region: rect(0, 306px, 18px, 288px);
978 }
979
980 #zoom-out-button:not([disabled="true"]):hover {
981   -moz-image-region: rect(18px, 288px, 36px, 270px);
982 }
983
984 #zoom-out-button[disabled="true"] {
985   -moz-image-region: rect(36px, 288px, 54px, 270px);
986 }
987
988 #zoom-in-button:not([disabled="true"]):hover {
989   -moz-image-region: rect(18px, 306px, 36px, 288px);
990 }
991
992 #zoom-in-button[disabled="true"] {
993   -moz-image-region: rect(36px, 306px, 54px, 288px);
994 }
995
996 #sync-button:not([status]) {
997   list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
998   -moz-image-region: rect(0, 324px, 18px, 306px);
999 }
1000
1001 #sync-button[status="active"] {
1002   list-style-image: url("chrome://browser/skin/sync-throbber.png");
1003   -moz-image-region: rect(0, 18px, 18px, 0);
1004 }
1005
1006 #sync-button[disabled="true"] {
1007   -moz-image-region: rect(36px, 324px, 54px, 306px);
1008 }
1009
1010 #feed-button {
1011   -moz-image-region: rect(0, 342px, 18px, 324px);
1012 }
1013
1014 #feed-button[disabled="true"] {
1015   -moz-image-region: rect(36px, 342px, 54px, 324px);
1016 }
1017
1018 #webrtc-status-button {
1019   -moz-image-region: rect(0, 360px, 18px, 342px);
1020 }
1021
1022 #webrtc-status-button:not([disabled="true"]):hover,
1023 #webrtc-status-button[open="true"] {
1024   -moz-image-region: rect(18px, 360px, 36px, 342px);
1025 }
1026
1027 #webrtc-status-button[disabled="true"] {
1028   -moz-image-region: rect(36px, 360px, 54px, 342px);
1029 }
1030
1031 /* tabview button & menu item */
1032
1033 #tabview-button,
1034 #menu_tabview {
1035   list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1036 }
1037
1038 #tabview-button {
1039   -moz-image-region: rect(0, 90px, 18px, 72px);
1040 }
1041
1042 #tabview-button[groups="0"] {
1043   -moz-image-region: rect(0, 18px, 18px, 0);
1044 }
1045
1046 #tabview-button[groups="1"] {
1047   -moz-image-region: rect(0, 36px, 18px, 18px);
1048 }
1049
1050 #tabview-button[groups="2"] {
1051   -moz-image-region: rect(0, 54px, 18px, 36px);
1052 }
1053
1054 #tabview-button[groups="3"] {
1055   -moz-image-region: rect(0, 72px, 18px, 54px);
1056 }
1057
1058 #menu_tabview {
1059   -moz-image-region: rect(1px, 89px, 17px, 73px);
1060 }
1061
1062 #menu_tabview[groups="0"] {
1063   -moz-image-region: rect(1px, 17px, 17px, 1px);
1064 }
1065
1066 #menu_tabview[groups="1"] {
1067   -moz-image-region: rect(1px, 35px, 17px, 19px);
1068 }
1069
1070 #menu_tabview[groups="2"] {
1071   -moz-image-region: rect(1px, 53px, 17px, 37px);
1072 }
1073
1074 #menu_tabview[groups="3"] {
1075   -moz-image-region: rect(1px, 71px, 17px, 55px);
1076 }
1077
1078 /* ::::: fullscreen window controls ::::: */
1079
1080 #window-controls {
1081   -moz-margin-start: 4px;
1082 }
1083
1084 #minimize-button,
1085 #restore-button,
1086 #close-button {
1087 /*  padding: 0; */
1088 }
1089
1090 #minimize-button {
1091   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1092 }
1093
1094 #minimize-button:hover {
1095   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1096 }
1097
1098 #restore-button {
1099   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1100 }
1101
1102 #restore-button:hover {
1103   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1104 }
1105
1106 #close-button {
1107   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1108 }
1109
1110 #close-button:hover {
1111   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1112 }
1113
1114 /* ::::: Location Bar ::::: */
1115
1116 #urlbar,
1117 .searchbar-textbox {
1118   border-radius: 5px;
1119   margin: 0;
1120   -moz-margin-start: 3px;
1121 }
1122
1123 #urlbar {
1124   width: 7em;
1125   /* make color as light as possible to deal with dark non-domain parts */
1126   color: #FFBFFF;
1127 }
1128
1129 #urlbar:-moz-lwtheme,
1130 .searchbar-textbox:-moz-lwtheme {
1131   /* background-color: rgba(255,255,255,.8);
1132   @navbarTextboxCustomBorder@
1133   color: black; */
1134 }
1135
1136 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1137     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1138     #unified-back-forward-button + #urlbar-container {
1139   padding-left: 22px;
1140   -moz-margin-start: -22px;
1141   position: relative;
1142   pointer-events: none;
1143 }
1144
1145 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1146     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1147     #unified-back-forward-button + #urlbar-container > #urlbar {
1148 /*  -moz-border-start: none;
1149   margin-left: 0; */
1150   pointer-events: all;
1151 }
1152
1153 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1154     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1155     #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar {
1156   transition: margin-left 150ms ease-out;
1157 }
1158
1159 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1160     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1161     #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
1162 /*  border-top-left-radius: 0;
1163   border-bottom-left-radius: 0; */
1164 }
1165
1166 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1167     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1168     #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
1169 /*  border-top-right-radius: 0;
1170   border-bottom-right-radius: 0; */
1171 }
1172
1173 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1174     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1175     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar {
1176   margin-left: -22px;
1177 }
1178
1179 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1180     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1181     #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
1182   /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1183   transition-delay: 100s;
1184 }
1185
1186 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1187     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1188     #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
1189   /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1190   margin-left: -22.01px;
1191 }
1192
1193 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1194     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1195     #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl),
1196 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1197     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1198     #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
1199   /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1200   transform: scaleX(-1);
1201 }
1202
1203 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1204 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1205   color: #E7ADE7;
1206 }
1207
1208 #urlbar:-moz-lwtheme[focused="true"],
1209 .searchbar-textbox:-moz-lwtheme[focused="true"] {
1210 /*  background-color: white; */
1211 }
1212
1213 #urlbar-container {
1214   -moz-box-orient: horizontal;
1215   -moz-box-align: stretch;
1216 }
1217
1218 .urlbar-textbox-container {
1219   -moz-box-align: stretch;
1220 }
1221
1222 .urlbar-input-box {
1223   -moz-margin-start: 0;
1224   min-width: 4em;
1225 }
1226
1227 #urlbar-icons {
1228   -moz-box-align: center;
1229 }
1230
1231 .urlbar-icon {
1232   padding: 0 2px;
1233 }
1234
1235 .searchbar-engine-button,
1236 .search-go-container {
1237   padding: 2px;
1238 }
1239
1240 .search-go-container > .search-go-button {
1241   padding: 0;
1242 }
1243
1244 .urlbar-icon:hover {
1245 }
1246
1247 .urlbar-icon[open="true"],
1248 .urlbar-icon:hover:active {
1249 }
1250
1251 #urlbar-search-splitter {
1252   min-width: 6px;
1253   -moz-margin-start: -3px;
1254   border: none;
1255   background: transparent;
1256 }
1257
1258 #urlbar-search-splitter + #urlbar-container > #urlbar,
1259 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1260   -moz-margin-start: 0;
1261 }
1262
1263 #urlbar-display {
1264   -moz-border-end: 1px solid #9C9CFF;
1265   -moz-margin-end: 3px;
1266   margin-top: 0;
1267   margin-bottom: 0;
1268   -moz-margin-start: 0;
1269   color: #8050B0;
1270 }
1271
1272 /* identity box */
1273
1274 #identity-box {
1275   border-radius: 2px;
1276   font-size: .9em;
1277 }
1278
1279 #notification-popup-box:not([hidden]) + #identity-box {
1280   -moz-padding-start: 10px !important;
1281   border-radius: 0;
1282 }
1283
1284 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1285     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1286     #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box {
1287 /*   border-radius: 0; */
1288   -moz-padding-start: 2px;
1289   -moz-padding-end: 2px;
1290   -moz-margin-end: 1px;
1291 }
1292
1293 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1294     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1295     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1296   padding-left: 2px;
1297   transition: padding-left;
1298 }
1299
1300 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1301     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1302     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1303   padding-right: 2px;
1304   transition: padding-right;
1305 }
1306
1307 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1308     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1309     #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
1310   /* forward button hiding is delayed when hovered */
1311   transition-delay: 100s;
1312 }
1313
1314 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1315     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1316     #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1317   /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1318   padding-left: 2.01px;
1319 }
1320
1321 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1322     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
1323     #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1324   /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1325   padding-right: 2.01px;
1326 }
1327
1328 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1329   color: #008484;
1330   -moz-border-end: 1px solid #008484;
1331   -moz-margin-end: 3px;
1332 }
1333
1334 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1335   border-top-right-radius: 0;
1336   border-bottom-right-radius: 0;
1337 }
1338
1339 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1340   border-top-left-radius: 0;
1341   border-bottom-left-radius: 0;
1342 }
1343
1344 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1345   background-color: #000000;
1346 }
1347
1348 #identity-box:-moz-focusring {
1349   outline: 1px dotted #008484;
1350   outline-offset: -1px;
1351 }
1352
1353 #identity-box.verifiedDomain:-moz-focusring,
1354 #identity-box.verifiedIdentity:-moz-focusring {
1355   outline-color: #000000;
1356 }
1357
1358 #identity-icon-labels {
1359   -moz-margin-start: 1px;
1360   -moz-margin-end: 3px;
1361 }
1362
1363 /* Location bar dropmarker */
1364
1365 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1366   background-color: transparent;
1367 }
1368
1369 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1370   border: none;
1371   border-radius: 0px;
1372 }
1373
1374 .urlbar-history-dropmarker:hover {
1375 }
1376
1377 .urlbar-history-dropmarker:hover:active,
1378 .urlbar-history-dropmarker[open="true"] {
1379 }
1380
1381 /* page proxy icon */
1382
1383 #page-proxy-favicon {
1384   width: 16px;
1385   height: 16px;
1386   list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1387   -moz-image-region: rect(0, 16px, 16px, 0);
1388 }
1389
1390 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
1391   list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1392 }
1393
1394 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1395   list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1396 }
1397
1398 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1399   list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1400 }
1401
1402 #identity-box:hover > #page-proxy-favicon {
1403   -moz-image-region: rect(0, 32px, 16px, 16px);
1404 }
1405
1406 #identity-box:hover:active > #page-proxy-favicon,
1407 #identity-box[open=true] > #page-proxy-favicon {
1408   -moz-image-region: rect(0, 48px, 16px, 32px);
1409 }
1410
1411 #identity-box:hover {
1412   background-color: #FFCF00;
1413 }
1414
1415 #identity-box:hover:active,
1416 #identity-box[open=true] {
1417   background-color: #FF9F00;
1418 }
1419
1420 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
1421 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
1422 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
1423   background-color: #008484;
1424   color: #000000;
1425 }
1426
1427 #page-proxy-favicon[pageproxystate="invalid"] {
1428   opacity: 0.3;
1429 }
1430
1431 /* autocomplete */
1432
1433 #treecolAutoCompleteImage {
1434   max-width: 36px;
1435 }
1436
1437 .ac-result-type-bookmark,
1438 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1439   list-style-image: url("chrome://browser/skin/places/bookmark.png");
1440   -moz-image-region: rect(0px 16px 16px 0px);
1441   width: 16px;
1442   height: 16px;
1443 }
1444
1445 .ac-result-type-keyword,
1446 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1447   list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1448   -moz-image-region: rect(0px 32px 16px 16px);
1449   width: 16px;
1450   height: 16px;
1451 }
1452
1453 .ac-result-type-tag,
1454 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1455   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
1456   width: 16px;
1457   height: 16px;
1458 }
1459
1460 .ac-comment {
1461   font-size: 1.15em;
1462 }
1463
1464 .ac-extra > .ac-comment {
1465   font-size: inherit;
1466 }
1467
1468 .ac-url-text,
1469 .ac-action-text {
1470   color: #9C9CFF;
1471 }
1472
1473 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1474   list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1475   -moz-image-region: rect(0, 16px, 16px, 0);
1476   padding: 0 3px;
1477 }
1478
1479 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
1480   -moz-image-region: rect(16px, 16px, 32px, 0);
1481 }
1482
1483 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1484   color: #8050B0;
1485 }
1486
1487 .ac-comment[selected="true"],
1488 .ac-url-text[selected="true"],
1489 .ac-action-text[selected="true"] {
1490   color: inherit !important;
1491 }
1492
1493 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1494 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1495 {
1496   color: #8050B0;
1497   font-size: smaller;
1498 }
1499
1500 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1501   border-top: 1px solid #9C9CFF;
1502 }
1503
1504 /* combined go/reload/stop button in location bar */
1505
1506 #go-button,
1507 #urlbar > toolbarbutton {
1508   list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1509   /* margin: -2px; */
1510   -moz-margin-start: 0;
1511   padding: 0 2px;
1512   background-origin: border-box;
1513   border: none;
1514   -moz-border-start: 1px solid #9C9CFF;
1515 }
1516
1517 #go-button {
1518   padding: 0 3px;
1519 }
1520
1521 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1522   border-top-left-radius: 0px;
1523   border-bottom-left-radius: 0px;
1524 }
1525
1526 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1527   border-top-right-radius: 0px;
1528   border-bottom-right-radius: 0px;
1529 }
1530
1531 #urlbar > toolbarbutton:not([disabled]):active:hover,
1532 #urlbar-reload-button:not(:hover) {
1533   -moz-border-start-style: none;
1534   -moz-padding-start: 3px;
1535 }
1536
1537 #urlbar > toolbarbutton:not([disabled]):active:hover {
1538 }
1539
1540 #urlbar-go-button {
1541   -moz-image-region: rect(0, 42px, 14px, 28px);
1542 }
1543
1544 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1545 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1546   transform: scaleX(-1);
1547 }
1548
1549 #urlbar-go-button:hover,
1550 #go-button:hover {
1551   -moz-image-region: rect(14px, 42px, 28px, 28px);
1552 }
1553
1554 #urlbar-reload-button {
1555   -moz-image-region: rect(0px, 14px, 14px, 0px);
1556 }
1557
1558 #urlbar-reload-button[disabled] {
1559   -moz-image-region: rect(28px, 14px, 42px, 0px);
1560 }
1561
1562 #urlbar-reload-button:not([disabled]):hover {
1563   -moz-image-region: rect(14px, 14px, 28px, 0px);
1564 }
1565
1566 #urlbar-stop-button {
1567   -moz-image-region: rect(0px, 28px, 14px, 14px);
1568 }
1569
1570 #urlbar-stop-button:hover {
1571   -moz-image-region: rect(14px, 28px, 28px, 14px);
1572 }
1573
1574 /* popup blocker button */
1575
1576 #page-report-button {
1577   list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1578   -moz-image-region: rect(0, 16px, 16px, 0);
1579 }
1580
1581 #page-report-button:hover ,
1582 #page-report-button:hover:active,
1583 #page-report-button[open="true"] {
1584   -moz-image-region: rect(0, 32px, 16px, 16px);
1585 }
1586
1587 /* social recommending panel */
1588
1589 #share-button {
1590   -moz-image-region: rect(0, 16px, 16px, 0);
1591 }
1592
1593 #socialUserPortrait {
1594   width: 48px;
1595   height: 48px;
1596 }
1597
1598 #socialUserDisplayName,
1599 #socialUserPortrait {
1600   cursor: pointer;
1601 }
1602
1603 #socialUserDisplayName {
1604   border: none;
1605   background-color: transparent;
1606   margin-top: 0;
1607   padding-top: 0;
1608   font-size: 130%;
1609   font-weight: bold;
1610 }
1611
1612 #socialUserDisplayName > .button-box {
1613   -moz-padding-start: 0;
1614   padding-top: 0;
1615   border-top-width: 0;
1616 }
1617
1618 #socialUserDisplayName:hover {
1619   color: #9C9CFF;
1620   text-decoration: underline;
1621 }
1622
1623 #unsharePopupText {
1624   height: 48px;
1625 }
1626
1627 #unsharePopupBottomButtons {
1628   margin-top: 1em;
1629 }
1630
1631 /* star button */
1632
1633 #star-button {
1634   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1635   -moz-image-region: rect(16px 16px 32px 0px);
1636 }
1637
1638 #star-button:hover {
1639   -moz-image-region: rect(16px 32px 32px 16px);
1640 }
1641
1642 #star-button:hover:active {
1643   -moz-image-region: rect(16px 48px 32px 32px);
1644 }
1645
1646 #star-button[starred="true"] {
1647   -moz-image-region: rect(0px 16px 16px 0px);
1648 }
1649
1650 #star-button[starred="true"]:hover {
1651   -moz-image-region: rect(0px 32px 16px 16px);
1652 }
1653
1654 #star-button[starred="true"]:hover:active {
1655   -moz-image-region: rect(0px 48px 16px 32px);
1656 }
1657
1658 /* bookmarking panel */
1659 #editBookmarkPanelStarIcon {
1660   list-style-image: url("chrome://browser/skin/places/starred48.png");
1661   width: 48px;
1662   height: 48px;
1663 }
1664
1665 #editBookmarkPanelStarIcon[unstarred] {
1666   list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1667 }
1668
1669 #editBookmarkPanelTitle {
1670   font-size: 130%;
1671 }
1672
1673 #editBookmarkPanelHeader,
1674 #editBookmarkPanelContent {
1675   margin-bottom: .5em;
1676 }
1677
1678 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1679 #editBMPanel_folderTree {
1680   min-width: 27em;
1681 }
1682
1683 .panel-promo-box {
1684   margin: 5px -6px -6px;
1685   padding: 5px;
1686   border-top: 1px solid #9C9CFF;
1687   border-bottom-left-radius: 5px;
1688   border-bottom-right-radius: 5px;
1689 }
1690
1691 .panel-promo-icon {
1692   list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1693   -moz-margin-end: 10px;
1694   vertical-align: middle;
1695 }
1696
1697 .panel-promo-closebutton {
1698   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1699   -moz-margin-end: -3px;
1700   margin-top: -3px;
1701 }
1702
1703 .panel-promo-closebutton:hover {
1704   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1705 }
1706
1707 .panel-promo-closebutton:hover:active {
1708   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1709 }
1710
1711 .panel-promo-closebutton > .toolbarbutton-text {
1712   padding: 0;
1713   margin: 0;
1714 }
1715
1716 /* ::::: content area ::::: */
1717
1718 #sidebar {
1719   background-color: Window;
1720 }
1721
1722 #sidebar-title {
1723   -moz-padding-start: 0px;
1724 }
1725
1726 /* ::::: throbber ::::: */
1727
1728 #navigator-throbber {
1729   width: 16px;
1730   min-height: 16px;
1731   margin: 0 3px;
1732 }
1733
1734 #navigator-throbber[busy="true"] {
1735   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
1736 }
1737
1738 #navigator-throbber,
1739 #wrapper-navigator-throbber > #navigator-throbber {
1740   list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png");
1741 }
1742
1743 /* Tabstrip */
1744
1745 #TabsToolbar {
1746   min-height: 0;
1747   padding: 0;
1748   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1749 }
1750
1751 #TabsToolbar .toolbar-holder {
1752   background-color: #000000; /* correct effect of being an actual toolbar */
1753 }
1754
1755 #main-window[disablechrome] #TabsToolbar,
1756 #TabsToolbar[tabsontop="false"] {
1757   border-bottom: 1px solid #008484;
1758 }
1759
1760 .tabbrowser-tab,
1761 .tabs-newtab-button {
1762   margin-top: 0px;
1763 }
1764
1765 .tabbrowser-tab{
1766   padding: 1px 4px 2px;
1767 }
1768
1769 .tabbrowser-tab:first-of-type {
1770   -moz-margin-start: 2px;
1771 }
1772
1773 .tabs-newtab-button {
1774   border-radius: 8px 8px 0px 0px;
1775   -moz-margin-start: 0;
1776 }
1777
1778 .tabs-newtab-button:not(:hover) {
1779   background-color: #C09070;
1780 }
1781
1782 .tabbrowser-tab:hover,
1783 .tabs-newtab-button:hover {
1784 }
1785
1786 .tabbrowser-tab[selected="true"] {
1787 }
1788
1789 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1790 }
1791
1792 .tabbrowser-tab:-moz-lwtheme {
1793 }
1794
1795 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1796 }
1797
1798 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1799 .tabs-newtab-button:-moz-lwtheme-brighttext {
1800 }
1801
1802 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1803 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1804 }
1805
1806 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1807 .tabs-newtab-button:-moz-lwtheme-darktext {
1808 }
1809
1810 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1811 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1812 }
1813
1814 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1815   background-color: #E7ADE7;
1816 }
1817 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1818   background-color: #3333FF;
1819   color: #000000;
1820 }
1821
1822 .tab-throbber,
1823 .tab-icon-image {
1824   width: 16px;
1825   height: 16px;
1826   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1827   -moz-image-region: auto;
1828   -moz-margin-end: 3px;
1829 }
1830
1831 .tab-throbber {
1832   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
1833 }
1834
1835 .tab-throbber[progress] {
1836   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
1837 }
1838
1839 .tab-throbber[pinned],
1840 .tab-icon-image[pinned] {
1841   -moz-margin-start: 2px;
1842   -moz-margin-end: 2px;
1843 }
1844
1845 /* tabbrowser-tab focus ring */
1846 .tabbrowser-tab:focus > .tab-stack {
1847   outline: 1px dotted;
1848 }
1849
1850 /* Tab DnD indicator */
1851 .tab-drop-indicator {
1852   list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1853   margin-bottom: -11px;
1854 }
1855
1856 /* Tab close button */
1857 .tab-close-button {
1858   border: none;
1859   padding: 0px;
1860   margin-top: 1px;
1861   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1862 }
1863
1864 .tab-close-button:hover,
1865 .tab-close-button:hover[selected="true"] {
1866   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1867 }
1868
1869 .tab-close-button:hover:active,
1870 .tab-close-button:hover:active[selected="true"] {
1871   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1872 }
1873
1874 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1875
1876 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1877 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1878   margin: 0;
1879   padding-top: 0;
1880   padding-bottom: 0;
1881 }
1882
1883 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1884   background-color: #008484;
1885 }
1886
1887 .tabs-newtab-button > .toolbarbutton-icon {
1888   margin-top: -1px;
1889   margin-bottom: -1px;
1890 }
1891
1892 .tabs-newtab-button,
1893 #TabsToolbar > #new-tab-button,
1894 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1895   list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
1896   -moz-image-region: rect(0, 16px, 18px, 0);
1897 }
1898
1899 .tabs-newtab-button {
1900   width: 28px;
1901 }
1902
1903 #TabsToolbar > #new-tab-button {
1904   width: 26px;
1905 }
1906
1907 .tabs-newtab-button,
1908 .tabs-newtab-button:hover,
1909 #TabsToolbar > #new-tab-button:hover {
1910   -moz-image-region: rect(0, 32px, 18px, 16px);
1911 }
1912
1913 #alltabs-button {
1914   list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1915   -moz-image-region: rect(0, 14px, 16px, 0);
1916 }
1917
1918 #alltabs-button:hover,
1919 #alltabs-button:hover:active {
1920   -moz-image-region: rect(0, 28px, 16px, 14px);
1921 }
1922
1923 #alltabs-button[type="menu"] {
1924   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1925   -moz-image-region: auto;
1926 }
1927
1928 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1929   display: none;
1930 }
1931
1932 #alltabs-button[type="menu"]:hover,
1933 #alltabs-button[type="menu"]:hover:active,
1934 #alltabs-button[type="menu"][open="true"] {
1935   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1936   -moz-image-region: auto;
1937 }
1938
1939 /* All tabs menupopup */
1940 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1941   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1942   -moz-image-region: auto;
1943 }
1944
1945 .alltabs-item[selected="true"] {
1946   font-weight: bold;
1947 }
1948
1949 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1950   list-style-image: url("chrome://global/skin/icons/loading.gif");
1951 }
1952
1953 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
1954   background-color: #402800;
1955 }
1956
1957 /* Tabstrip close button */
1958 .tabs-closebutton {
1959   -moz-box-flex: 1;
1960   margin: 0px;
1961   padding: 2px;
1962   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1963 }
1964
1965 .tabs-closebutton > .toolbarbutton-icon {
1966 }
1967
1968 .tabs-closebutton > .toolbarbutton-text {
1969   display: none;
1970 }
1971
1972 .tabs-closebutton:hover,
1973 .tabs-closebutton:hover:active {
1974   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1975 }
1976
1977 toolbarbutton.chevron {
1978   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1979 }
1980
1981 toolbarbutton.chevron:hover {
1982   list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1983 }
1984
1985 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1986 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1987   transform: scaleX(-1);
1988 }
1989
1990 toolbarbutton.chevron > .toolbarbutton-text,
1991 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1992   display: none;
1993 }
1994
1995 toolbarbutton.chevron > .toolbarbutton-icon {
1996   margin: 0;
1997 }
1998
1999 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2000   display: -moz-box; /* display chevron icon in text mode */
2001 }
2002
2003 #sidebar-throbber[loading="true"] {
2004   list-style-image: url("chrome://global/skin/icons/loading.gif");
2005   -moz-margin-end: 4px;
2006 }
2007
2008 /* Bookmarks toolbar */
2009 #PlacesToolbarDropIndicator {
2010   list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2011 }
2012
2013 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2014   background-color: #008484 !important;
2015   color: #FFCF00 !important;
2016 }
2017
2018 /* rules for menupopup drop indicators */
2019 .menupopup-drop-indicator-bar {
2020   position: relative;
2021   /* these two margins must together compensate the indicator's height */
2022   margin-top: -1px;
2023   margin-bottom: -1px;
2024 }
2025
2026 .menupopup-drop-indicator {
2027   list-style-image: none;
2028   height: 2px;
2029   -moz-margin-end: -4em;
2030   background-color: #008484;
2031 }
2032
2033 /* ::::: Identity Indicator Styling ::::: */
2034
2035 /* Popup Icons */
2036 #identity-popup-icon {
2037   height: 64px;
2038   width: 64px;
2039   padding: 0;
2040   list-style-image: url("chrome://browser/skin/identity.png");
2041   -moz-image-region: rect(0px, 64px, 64px, 0px);
2042 }
2043
2044 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2045   -moz-image-region: rect(64px, 64px, 128px, 0px);
2046 }
2047
2048 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2049   -moz-image-region: rect(128px, 64px, 192px, 0px);
2050 }
2051
2052 /* Popup Body Text */
2053 .identity-popup-description {
2054   white-space: pre-wrap;
2055   -moz-padding-start: 15px;
2056   margin: 2px 0 4px;
2057 }
2058
2059 .identity-popup-label {
2060   white-space: pre-wrap;
2061   -moz-padding-start: 15px;
2062   margin: 0;
2063 }
2064
2065 #identity-popup-content-host,
2066 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2067   font-size: 1.2em;
2068 }
2069
2070 #identity-popup-content-host {
2071   margin-top: 3px;
2072   margin-bottom: 5px;
2073   font-weight: bold;
2074   max-width: 300px;
2075 }
2076
2077 #identity-popup-content-owner {
2078   margin-top: 4px;
2079   margin-bottom: 0 !important;
2080   font-weight: bold;
2081   max-width: 300px;
2082 }
2083
2084 .verifiedDomain > #identity-popup-content-owner {
2085   font-weight: normal;
2086 }
2087
2088 #identity-popup-content-verifier {
2089   margin: 4px 0 2px;
2090 }
2091
2092 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2093 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2094   margin-top: 10px;
2095   -moz-margin-start: -24px;
2096 }
2097
2098 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2099 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2100   list-style-image: url("chrome://browser/skin/Secure24.png");
2101 }
2102
2103 #identity-popup-more-info-button {
2104   margin-top: 6px;
2105   margin-bottom: 0;
2106   -moz-margin-end: 0;
2107 }
2108
2109 .popup-notification-icon {
2110   width: 64px;
2111   height: 64px;
2112   -moz-margin-end: 10px;
2113 }
2114
2115 .popup-notification-icon[popupid="geolocation"] {
2116   list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2117 }
2118
2119 .popup-notification-icon[popupid="xpinstall-disabled"],
2120 .popup-notification-icon[popupid="addon-progress"],
2121 .popup-notification-icon[popupid="addon-install-cancelled"],
2122 .popup-notification-icon[popupid="addon-install-blocked"],
2123 .popup-notification-icon[popupid="addon-install-failed"],
2124 .popup-notification-icon[popupid="addon-install-complete"] {
2125   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2126   width: 32px;
2127   height: 32px;
2128 }
2129
2130 .popup-notification-icon[popupid="click-to-play-plugins"] {
2131   list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
2132 }
2133
2134 .addon-progress-description {
2135   width: 350px;
2136   max-width: 350px;
2137 }
2138
2139 .popup-progress-label,
2140 .popup-progress-meter {
2141   -moz-margin-start: 0;
2142   -moz-margin-end: 0;
2143 }
2144
2145 .popup-progress-cancel {
2146   -moz-appearance: none;
2147   background: transparent;
2148   border: none;
2149   padding: 0;
2150   margin: 0;
2151   min-height: 0;
2152   min-width: 0;
2153   list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2154   -moz-image-region: rect(0px, 32px, 16px, 16px);
2155 }
2156
2157 .popup-progress-cancel:hover {
2158   -moz-image-region: rect(16px, 32px, 32px, 16px);
2159 }
2160
2161 .popup-progress-cancel:active {
2162   -moz-image-region: rect(32px, 32px, 48px, 16px);
2163 }
2164
2165 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2166 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2167   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2168 }
2169
2170 .popup-notification-icon[popupid="password-save"],
2171 .popup-notification-icon[popupid="password-change"] {
2172   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2173 }
2174
2175 .popup-notification-icon[popupid="webapps-install"] {
2176   list-style-image: url("chrome://browser/skin/webapps-64.png");
2177 }
2178
2179 .popup-notification-icon[popupid="mixed-content-blocked"] {
2180   list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2181 }
2182
2183 .popup-notification-icon[popupid="webRTC-sharingDevices"],
2184 .popup-notification-icon[popupid="webRTC-shareDevices"] {
2185   list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2186 }
2187
2188 /* Notification icon box */
2189 #notification-popup-box {
2190   position: relative;
2191   background-color: #000000;
2192   background-clip: padding-box;
2193   padding-left: 3px;
2194   padding-right: 8px;
2195   border-radius: 3px 0 0 3px;
2196   -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2197   -moz-margin-end: -8px;
2198   border-right-width: 8px;
2199 }
2200
2201 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2202     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2203     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
2204 /*  padding-left: 5px; */
2205 }
2206
2207 #notification-popup-box:-moz-locale-dir(rtl),
2208 .notification-anchor-icon:-moz-locale-dir(rtl) {
2209   transform: scaleX(-1);
2210 }
2211
2212 .notification-anchor-icon {
2213   width: 16px;
2214   height: 16px;
2215   margin: 0 2px;
2216 }
2217
2218 .notification-anchor-icon:-moz-focusring {
2219   outline: 1px dotted #008484;
2220 /*  outline-offset: -3px; */
2221 }
2222
2223 #default-notification-icon {
2224   list-style-image: url("chrome://global/skin/icons/information-16.png");
2225 }
2226
2227 #identity-notification-icon {
2228   list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2229 }
2230
2231 #geo-notification-icon {
2232   list-style-image: url("chrome://browser/skin/Geolocation-16.png");
2233 }
2234
2235 #addons-notification-icon {
2236   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
2237 }
2238
2239 #indexedDB-notification-icon {
2240   list-style-image: url("chrome://global/skin/icons/question-16.png");
2241 }
2242
2243 #password-notification-icon {
2244   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
2245 }
2246
2247 #webapps-notification-icon {
2248   list-style-image: url("chrome://browser/skin/webapps-16.png");
2249 }
2250
2251 #plugins-notification-icon {
2252   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
2253 }
2254
2255 #blocked-plugins-notification-icon {
2256   list-style-image: url("chrome://mozapps/skin/plugins/notifyPluginBlocked.png");
2257 }
2258
2259 #notification-popup-box[hidden] {
2260   /* Override display:none to make the pluginBlockedNotification animation work
2261      when showing the notification repeatedly. */
2262   display: -moz-box;
2263   visibility: collapse;
2264 }
2265
2266 #blocked-plugins-notification-icon[showing] {
2267   animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
2268 }
2269
2270 @keyframes pluginBlockedNotification {
2271   from {
2272     opacity: 0;
2273   }
2274   to {
2275     opacity: 1;
2276   }
2277 }
2278
2279 #mixed-content-blocked-notification-icon {
2280   list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
2281 }
2282
2283 #webRTC-shareDevices-notification-icon {
2284   list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
2285 }
2286
2287 #webRTC-sharingDevices-notification-icon {
2288   list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
2289 }
2290
2291 #identity-popup-container {
2292   min-width: 280px;
2293 }
2294
2295 #download-monitor {
2296   list-style-image: url("chrome://browser/skin/FxToolbar.png");
2297   -moz-image-region: rect(0, 108px, 18px, 90px);
2298 }
2299
2300 /* Bookmarks roots menu-items */
2301 #appmenu_subscribeToPage:not([disabled]),
2302 #appmenu_subscribeToPageMenu,
2303 #subscribeToPageMenuitem:not([disabled]),
2304 #subscribeToPageMenupopup,
2305 #BMB_subscribeToPageMenuitem:not([disabled]),
2306 #BMB_subscribeToPageMenupopup {
2307   list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
2308 }
2309
2310 #bookmarksToolbarFolderMenu,
2311 #appmenu_bookmarksToolbar,
2312 #BMB_bookmarksToolbar {
2313   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
2314   -moz-image-region: auto;
2315 }
2316
2317 #appmenu_unsortedBookmarks,
2318 #BMB_unsortedBookmarks {
2319   list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
2320   -moz-image-region: auto;
2321 }
2322
2323 /* ::::: Keyboard UI Panel ::::: */
2324
2325 .KUI-panel {
2326   color: #FF9F00;
2327   border-style: none;
2328   border-radius: 20px;
2329 }
2330
2331 .KUI-panel[level="top"] {
2332   /*background-color: rgba(27%,27%,27%,.65);*/
2333 }
2334
2335 .KUI-panel-closebutton {
2336   list-style-image: url("KUI-close.png");
2337   width: 24px;
2338   height: 24px;
2339 }
2340
2341 .KUI-panel-closebutton:not(:hover) {
2342 }
2343
2344 .KUI-panel-closebutton > .toolbarbutton-icon {
2345 }
2346
2347 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
2348
2349 /* Ctrl-Tab */
2350
2351 #ctrlTab-panel {
2352   padding: 20px 10px 10px;
2353   font-weight: bold;
2354 }
2355
2356 .ctrlTab-favicon[src] {
2357   background-color: #000000;
2358   width: 20px;
2359   height: 20px;
2360   padding: 2px;
2361 }
2362
2363 .ctrlTab-preview-inner > .tabPreview-canvas {
2364 }
2365
2366 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2367   margin-bottom: 2px;
2368 }
2369
2370 .ctrlTab-preview-inner {
2371   padding-bottom: 10px;
2372 }
2373
2374 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2375   padding: 10px;
2376   background-color: #000000;
2377   border-radius: .5em;
2378 }
2379
2380 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2381   color: white;
2382   background-color: #000000;
2383   text-shadow: none;
2384   padding: 8px;
2385   border: 2px solid #9C9CFF;
2386   border-radius: .5em;
2387 }
2388
2389 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2390   margin: -10px -10px 0;
2391 }
2392
2393 #ctrlTab-showAll {
2394   margin-top: .5em;
2395 }
2396
2397 /* All Tabs */
2398
2399 #allTabs-panel {
2400   padding-bottom: 10px;
2401 }
2402
2403 #allTabs-meta {
2404   margin: 10px;
2405 }
2406
2407 #allTabs-filter {
2408   -moz-margin-start: 24px;
2409   -moz-margin-end: 0;
2410 }
2411
2412 #allTabs-tab-close-button > .toolbarbutton-icon {
2413   margin: 0;
2414 }
2415
2416 .allTabs-favicon[src] {
2417   width: 22px;
2418   height: 22px;
2419   padding-top: 1px;
2420   padding-bottom: 5px;
2421   -moz-padding-start: 1px;
2422   -moz-padding-end: 5px;
2423   margin-top: -2px;
2424   -moz-margin-start: -2px;
2425   border-bottom-right-radius: 4px;
2426 }
2427
2428 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
2429   border-bottom-right-radius: 0;
2430   border-bottom-left-radius: 4px;
2431 }
2432
2433 .allTabs-preview-inner > .tabPreview-canvas {
2434   background-color: #E7ADE7;
2435 }
2436
2437 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
2438 }
2439
2440 .allTabs-preview:focus > * > .allTabs-preview-inner {
2441   outline: 1px dotted #008484;
2442 }
2443
2444 /* Add-on bar */
2445
2446 #addon-bar {
2447   min-height: 20px;
2448   border-top: 3px solid #000000;
2449   border-bottom-width: 0;
2450 }
2451
2452 #addon-bar .toolbar-holder {
2453   background-color: #8050B0;
2454   color: #FFCF00;
2455 }
2456
2457 #addon-bar .toolbar-holder {
2458   background-color: #8050B0;
2459   color: #FFCF00;
2460 }
2461
2462 #addon-bar .toolbar-startcap,
2463 #addon-bar .toolbar-endcap{
2464   background-color: #6000CF;
2465 }
2466
2467 #status-bar {
2468   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
2469   margin-top: .3em;
2470   border-width: 0;
2471 }
2472
2473 #addon-bar[customizing] > #status-bar {
2474   opacity: .5;
2475 /*  background-image: -moz-repeating-linear-gradient(-45deg,
2476                                                    rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
2477                                                    rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
2478 }
2479
2480 /* Remove all borders from statusbarpanel children of
2481    the statusbar.
2482 #status-bar > statusbarpanel {
2483   border-width: 0;
2484 } */
2485
2486 #addonbar-closebutton {
2487   border: none;
2488   padding: 3px 5px;
2489   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2490 }
2491
2492 #addonbar-closebutton:hover,
2493 #addonbar-closebutton:hover:active {
2494   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2495 }
2496
2497 /* Status panel */
2498
2499 .statuspanel-label {
2500   margin: 0;
2501   padding: 2px 4px;
2502   background: #404000;
2503   border: 1px none #9C9CFF;
2504   border-top-style: solid;
2505   color: #FF9F00;
2506   text-shadow: none;
2507 }
2508
2509 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2510 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2511   border-right-style: solid;
2512   border-top-right-radius: .3em;
2513   margin-right: 1em;
2514 }
2515
2516 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2517 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2518   border-left-style: solid;
2519   border-top-left-radius: .3em;
2520   margin-left: 1em;
2521 }
2522
2523 /* HACK to abolish devily color on main content */
2524
2525 #content {
2526   background-color: transparent !important;
2527 }
2528
2529 /* Highlighter */
2530
2531 .highlighter-outline {
2532   box-shadow: 0 0 0 1px black;
2533   outline: 1px dashed white;
2534 }
2535
2536 .highlighter-outline[locked]  {
2537   box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
2538   outline-color: rgba(255,255,255,0.7);
2539 }
2540
2541 /* Developer toolbar */
2542
2543 #developer-toolbar {
2544   border-top: 3px solid #000000;
2545   border-bottom: none;
2546 }
2547
2548 #developer-toolbar .toolbar-holder {
2549   background-color: #8050B0;
2550   color: #FFCF00;
2551 }
2552
2553 #developer-toolbar .toolbar-holder {
2554   background-color: #8050B0;
2555   color: #FFCF00;
2556 }
2557
2558 #developer-toolbar .toolbar-startcap,
2559 #developer-toolbar .toolbar-endcap{
2560   background-color: #6000CF;
2561 }
2562
2563 /* Highlighter - Node Infobar */
2564
2565 .highlighter-nodeinfobar {
2566   color: #FF9F00;
2567   border: 1px solid rgba(156, 156, 255, .5);
2568   border-radius: 3px;
2569   background-color: #000000;
2570   background-clip: padding-box;
2571 }
2572
2573 /* Highlighter - Node Infobar - text */
2574
2575 .highlighter-nodeinfobar-text {
2576   /* 100% - size of the buttons and margins */
2577   max-width: calc(100% - 2 * (26px + 6px));
2578   padding-bottom: 1px;
2579 }
2580
2581 html|*.highlighter-nodeinfobar-tagname {
2582   color: #FFCF00;
2583 }
2584
2585 html|*.highlighter-nodeinfobar-id {
2586   color: #9C9CFF;
2587 }
2588
2589 html|*.highlighter-nodeinfobar-pseudo-classes {
2590   color: #FF9F00;
2591 }
2592
2593 /* Highlighter - Node Infobar - buttons */
2594
2595 .highlighter-nodeinfobar-button {
2596   padding: 0;
2597   width: 26px;
2598   min-height: 26px;
2599 }
2600
2601 .highlighter-nodeinfobar-inspectbutton {
2602   list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
2603   -moz-image-region: rect(0px 16px 16px 0px);
2604   -moz-margin-start: 0px;
2605   -moz-margin-end: 2px;
2606 }
2607
2608 .highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
2609 }
2610
2611 .highlighter-nodeinfobar-inspectbutton:hover,
2612 .highlighter-nodeinfobar-inspectbutton:hover:active/*,
2613 .highlighter-nodeinfobar-container:not([locked]) >  .highlighter-nodeinfobar >  .highlighter-nodeinfobar-inspectbutton*/ {
2614   -moz-image-region: rect(0px 32px 16px 16px);
2615 }
2616
2617 .highlighter-nodeinfobar-menu {
2618 }
2619
2620 .highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
2621 }
2622
2623 .highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
2624   -moz-box-align: center;
2625   -moz-margin-start: -1px;
2626 }
2627
2628 /* Highlighter - Node Infobar - box & arrow */
2629
2630 .highlighter-nodeinfobar-arrow {
2631   width: 14px;
2632   height: 14px;
2633   -moz-margin-start: calc(50% - 7px);
2634   transform: rotate(-45deg);
2635   border: 1px solid transparent;
2636   background-clip: padding-box;
2637   background-repeat: no-repeat;
2638 }
2639
2640 .highlighter-nodeinfobar-arrow-top {
2641   margin-bottom: -8px;
2642   margin-top: 8px;
2643   border-right-color: rgba(0, 132, 132, .5);
2644   border-top-color: rgba(0, 132, 132, .5);
2645   background-image: linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
2646 }
2647
2648 .highlighter-nodeinfobar-arrow-bottom {
2649   margin-top: -8px;
2650   margin-bottom: 8px;
2651   border-left-color: rgba(0, 132, 132, .5);
2652   border-bottom-color: rgba(0, 132, 132, .5);
2653   background-image: linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
2654 }
2655
2656 .highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar,
2657 .highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar {
2658   box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
2659 }
2660
2661 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
2662   margin: 7px 0;
2663 }
2664
2665 #full-screen-warning-message {
2666   background-color: #000000;
2667   color: #FF9F00;
2668   border-radius: 8px;
2669   margin-top: 30px;
2670   padding: 30px 50px;
2671   box-shadow: 0 0 2px #9C9CFF;
2672 }
2673
2674 #full-screen-warning-container[obscure-browser] {
2675   background-color: rgba(0,0,0,0.3);
2676 }
2677
2678 .full-screen-description {
2679   font-size: 150%;
2680 }
2681
2682 #full-screen-domain-text {
2683   font-size: 300%;
2684 }
2685
2686 .full-screen-approval-button,
2687 #full-screen-remember-decision {
2688   font-size: 120%;
2689 }
2690
2691 html|*#gcli-tooltip-frame,
2692 html|*#gcli-output-frame {
2693   padding: 0;
2694   border-width: 0;
2695   background-color: transparent;
2696 }
2697
2698 #gcli-output,
2699 #gcli-tooltip {
2700   border-width: 0;
2701   background-color: transparent;
2702   margin-bottom: -2px;
2703 }
2704
2705 .gclitoolbar-input-node,
2706 .gclitoolbar-complete-node,
2707 .gclitoolbar-prompt {
2708   margin: 1px 3px;
2709   -moz-box-align: center;
2710   padding-top: 0;
2711   padding-bottom: 0;
2712   padding-right: 4px;
2713   background-color: transparent;
2714   border-radius: 3px;
2715   text-shadow: none;
2716 }
2717
2718 .gclitoolbar-input-node {
2719   padding-left: 20px;
2720 }
2721
2722 .gclitoolbar-input-node:not([focused="true"]) {
2723   border-color: transparent;
2724 }
2725
2726 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
2727   background-color: #008484;
2728   color: #000000;
2729   text-shadow: none;
2730 }
2731
2732 .gclitoolbar-complete-node {
2733   padding-left: 21px;
2734   background-color: transparent;
2735   color: transparent;
2736 }
2737
2738 .gclitoolbar-prompt {
2739   padding-left: 4px;
2740   padding-bottom: 2px;
2741   font-size: 150%;
2742   font-weight: bold;
2743   color: #E7ADE7;
2744   background-color: #000000;
2745 }
2746
2747 .gclitoolbar-prompt-label,
2748 .gcli-in-incomplete,
2749 .gcli-in-error,
2750 .gcli-in-ontab,
2751 .gcli-in-todo,
2752 .gcli-in-closebrace,
2753 .gcli-in-param,
2754 .gcli-in-valid {
2755   margin: 0;
2756   padding: 0;
2757 }
2758
2759 .gcli-in-incomplete {
2760   border-bottom: 2px dotted #8050B0;
2761 }
2762
2763 .gcli-in-error {
2764   border-bottom: 2px dotted #FF0000;
2765 }
2766
2767 .gcli-in-ontab {
2768   color: #9C9CFF;
2769 }
2770
2771 .gcli-in-todo {
2772   color: #795900;
2773 }
2774
2775 .gcli-in-closebrace {
2776   color: #8050B0;
2777 }
2778
2779 /* Responsive Mode */
2780
2781 .browserContainer[responsivemode] {
2782   background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
2783   padding: 0 20px 20px 20px;
2784 }
2785
2786 .browserStack[responsivemode] {
2787   box-shadow: 0 0 7px #9C9CFF;
2788 }
2789
2790 .devtools-responsiveui-toolbar {
2791   background: transparent;
2792   margin: 10px 0;
2793   padding: 0;
2794   box-shadow: none;
2795   border-bottom-width: 0;
2796 }
2797
2798 .devtools-responsiveui-toolbar > menulist,
2799 .devtools-responsiveui-toolbar > toolbarbutton {
2800   min-width: 22px;
2801   border-radius: 0;
2802 }
2803
2804 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
2805 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
2806   margin-left: 0;
2807 }
2808
2809 .devtools-responsiveui-resizebar {
2810   width: 7px;
2811   height: 24px;
2812   cursor: ew-resize;
2813   transform: translate(12px, -12px);
2814   background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
2815 }
2816
2817 .devtools-responsiveui-resizehandle {
2818   width: 16px;
2819   height: 16px;
2820   cursor: se-resize;
2821   transform: translate(12px, 12px);
2822   background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
2823 }
2824
2825 /* Web Console */
2826
2827 .web-console-frame {
2828   /* border-bottom: 3px solid #000000; */
2829 }
2830
2831 .web-console-frame[animated] {
2832   transition: height 100ms;
2833 }
2834
2835 /* Developer Toolbar */
2836
2837 #developer-toolbar-toolbox-button {
2838   min-width: 18px;
2839 }
2840
2841 #developer-toolbar-toolbox-button > .toolbarbutton-text {
2842   display: none;
2843 }
2844
2845 #developer-toolbar-toolbox-button > .toolbarbutton-icon {
2846   -moz-margin-end: 0;
2847 }
2848
2849 .developer-toolbar-button {
2850   min-width: 78px;
2851   min-height: 21px;
2852   margin: 0 1px;
2853   list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
2854 }
2855
2856 .developer-toolbar-button[open=true],
2857 .developer-toolbar-button:active:hover,
2858 .developer-toolbar-button[checked=true] {
2859 }
2860
2861 .developer-toolbar-button[checked=true] {
2862 }
2863
2864 #developer-toolbar-toolbox-button {
2865   -moz-image-region: rect(64px, 16px, 80px, 0);
2866 }
2867
2868 /* Error counter */
2869
2870 #developer-toolbar-toolbox-button[error-count]:before {
2871   color: #000000;
2872   min-width: 16px;
2873   text-shadow: none;
2874   background-color: #FF0000;
2875   border-radius: 1px;
2876   -moz-margin-end: 5px;
2877 }
2878
2879 /* Social toolbar item */
2880
2881 #social-provider-button {
2882   -moz-image-region: rect(0, 16px, 16px, 0);
2883 }
2884
2885 #social-provider-button > .toolbarbutton-menu-dropmarker {
2886   display: none;
2887 }
2888
2889 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1,
2890 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .social-notification-container > .toolbarbutton-1 {
2891   padding-left: 0;
2892   padding-right: 0;
2893 }
2894
2895 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item {
2896   margin-left: 5px;
2897   margin-right: 5px;
2898 }
2899
2900 .social-notification-container {
2901   /* position:relative on .toolbarbutton-1 does not get position:absolute
2902      to work as expected on .toolbarbutton-1 generated content. Placing a
2903      simple container outside of .toolbarbutton-1 and setting position:relative
2904      on the simple container however will work. */
2905   position: relative;
2906 }
2907
2908 .social-notification-container > .toolbarbutton-1[badge]:not([badge=""])::after {
2909   /* The |content| property is set in the content stylesheet. */
2910   font-size: 9px;
2911   font-weight: bold;
2912   padding: 0 1px;
2913   color: #FF9F00;
2914   background-color: #000000;
2915   border: 1px solid #9C9CFF;
2916   border-radius: 2px;
2917   position: absolute;
2918   top: 2px;
2919   right: 2px;
2920 }
2921
2922 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > *|* > .social-notification-container > .toolbarbutton-1[badge]:not([badge=""])::after {
2923   top: 7px;
2924 }
2925
2926 .social-notification-container > .toolbarbutton-1[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
2927   left: 2px;
2928   right: auto;
2929 }
2930
2931 #social-notification-icon-mentions {
2932   background-color: #000000;
2933   border-radius: 3px;
2934   -moz-margin-start: 2px;
2935 }
2936
2937 #social-notification-icon-mentions:hover {
2938   background-color: #FFCF00;
2939 }
2940
2941 #social-notification-icon-mentions[open="true"] {
2942   background-color: #FF9F00;
2943 }
2944
2945 #social-sidebar-splitter {
2946   border: 0;
2947 }
2948
2949 /* social toolbar provider menu */
2950 .social-statusarea-popup {
2951   margin-top: 0;
2952   margin-left: -12px;
2953   margin-right: -12px;
2954 }
2955
2956 .social-statusarea-user {
2957   border-bottom: 1px solid #9C9CFF;
2958   background-color: #000000;
2959   color: #FF9F00;
2960   position: relative;
2961   cursor: pointer;
2962 }
2963
2964 .social-statusarea-user-portrait {
2965   width: 32px;
2966   height: 32px;
2967   border-radius: 2px;
2968   margin: 10px;
2969 }
2970
2971 .social-statusarea-loggedInStatus {
2972   background: transparent;
2973   border: none;
2974   color: #3333FF;
2975   min-width: 0;
2976   margin: 0 6px;
2977   list-style-image: none;
2978 }
2979
2980 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
2981   text-decoration: underline;
2982 }
2983
2984 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
2985   padding: 0;
2986 }
2987
2988 .social-panel-frame {
2989   border-radius: inherit;
2990 }
2991
2992 .chat-status-icon {
2993   max-height: 16px;
2994   max-width: 16px;
2995   padding: 0;
2996 }
2997
2998 .chat-toolbarbutton {
2999   -moz-appearance: none;
3000   border: none;
3001   padding: 0;
3002   margin: 0;
3003   background: none;
3004 }
3005
3006 .chat-toolbarbutton > .toolbarbutton-text {
3007   display: none;
3008 }
3009
3010 .chat-close-button {
3011   list-style-image: url('chrome://browser/skin/social/chat-close.png');
3012   -moz-image-region: rect(0, 14px, 14px, 0);
3013 }
3014
3015 .chat-close-button:hover,
3016 .chat-close-button:hover:active {
3017   -moz-image-region: rect(14px, 14px, 28px, 0);
3018 }
3019
3020 .chat-title {
3021   font-weight: bold;
3022   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
3023   text-shadow: none;
3024   cursor: inherit;
3025 }
3026
3027 .chat-titlebar {
3028   background-color: #9C9CFF;
3029   color: #000000;
3030   height: 20px;
3031   min-height: 16px;
3032   width: 100%;
3033   margin: 0;
3034   padding: 2px;
3035   -moz-padding-start: 6px;
3036   border: none;
3037   border-bottom: 1px solid #008484;
3038   cursor: pointer;
3039 }
3040
3041 .chat-titlebar[minimized="true"] {
3042   border-bottom: none;
3043 }
3044
3045 .chat-titlebar[selected] {
3046   background-color: #008484;
3047 }
3048
3049 .chat-titlebar[activity] {
3050   background-color: #E7ADE7;
3051 }
3052
3053 .chat-frame {
3054   padding: 0;
3055   margin: 0;
3056   overflow: hidden;
3057 }
3058
3059 .chatbar-button {
3060   /* XXX get a real image for this */
3061   list-style-image: url("chrome://browser/skin/social/social.png");
3062   background-color: #000000;
3063   border: none;
3064   margin: 0;
3065   padding: 2px;
3066   height: 21px;
3067   width: 21px;
3068   border-top: 1px solid #008484;
3069   -moz-border-end: 1px solid #008484;
3070 }
3071
3072 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
3073   width: auto;
3074   height: auto;
3075   max-height: 16px;
3076   max-width: 16px;
3077 }
3078
3079 .chatbar-button > .toolbarbutton-icon {
3080   opacity: .6;
3081   -moz-margin-end: 0;
3082 }
3083 .chatbar-button:hover > .toolbarbutton-icon,
3084 .chatbar-button[open="true"] > .toolbarbutton-icon {
3085   opacity: 1;
3086 }
3087
3088 .chatbar-button[open="true"] {
3089 }
3090
3091 .chatbar-button > .toolbarbutton-text,
3092 .chatbar-button > .toolbarbutton-menu-dropmarker {
3093   display: none;
3094 }
3095
3096 .chatbar-button[activity]:not([open="true"]) {
3097   background-color: #E7ADE7;
3098 }
3099
3100 .chatbar-button > menupopup > menuitem[activity] {
3101   font-weight: bold;
3102 }
3103
3104 .chatbar-innerbox {
3105   background: transparent;
3106   margin: -285px 0 0;
3107   overflow: hidden;
3108 }
3109
3110 chatbar {
3111   -moz-margin-end: 20px;
3112 }
3113
3114 chatbar > chatbox {
3115   height: 285px;
3116   width: 260px;
3117   -moz-margin-start: 4px;
3118   background-color: #000000;
3119   border: 1px solid #9C9CFF;
3120   border-bottom: none;
3121   border-top-left-radius: 2.5px;
3122   border-top-right-radius: 2.5px;
3123 }
3124
3125 chatbox[minimized="true"] {
3126   width: 160px;
3127   height: 20px;
3128 }
3129
3130 .click-to-play-plugins-notification-content {
3131   margin: -10px;
3132   border-radius: 4px;
3133 }
3134
3135 .click-to-play-plugins-notification-icon-box {
3136   background: #000000;
3137   -moz-border-end: 1px solid #FF9F00;
3138   padding-top: 16px;
3139   -moz-padding-end: 16px;
3140   -moz-padding-start: 24px;
3141   -moz-margin-start: 4px;
3142   margin-top: 4px;
3143   margin-bottom: 4px;
3144 }
3145
3146 .click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) {
3147   border-bottom-left-radius: 4px;
3148   border-top-left-radius: 4px;
3149 }
3150
3151 .click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) {
3152   border-bottom-right-radius: 4px;
3153   border-top-right-radius: 4px;
3154 }
3155
3156 .click-to-play-plugins-notification-separator {
3157   /*-moz-border-start: 1px solid #9C9CFF;
3158   border-top: 1px solid #9C9CFF;*/
3159 }
3160
3161 .click-to-play-plugins-notification-description-box {
3162   /*border-bottom: 1px solid #9C9CFF;
3163   -moz-border-start: 1px solid #9C9CFF;*/
3164   padding-top: 12px;
3165   -moz-padding-end: 11px;
3166   padding-bottom: 9px;
3167   -moz-padding-start: 10px;
3168 }
3169
3170 .click-to-play-plugins-notification-center-box {
3171   border-top: 1px solid #FF9F00;
3172   border-bottom: 1px solid #FF9F00;
3173   /*-moz-border-start: 1px solid #9C9CFF;*/
3174   background-color: #000000;
3175   -moz-margin-end: 4px;
3176 }
3177
3178 .click-to-play-plugins-notification-button-container {
3179   /*border-top: 1px solid #9C9CFF;
3180   -moz-border-start: 1px solid #9C9CFF;*/
3181   margin: 0px;
3182   padding: 16px;
3183 }
3184
3185 .center-item-box {
3186   padding: 12px 16px 0px 16px;
3187 }
3188
3189 .center-item-box[padbottom="true"] {
3190   padding-bottom: 12px;
3191 }
3192
3193 .center-item-icon {
3194   background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
3195   background-repeat: no-repeat;
3196   height: 16px;
3197   width: 16px;
3198   margin-bottom: 4px;
3199 }
3200
3201 .center-item-box[warn="true"] {
3202   background-color: #FFCF00;
3203   color: #000000;
3204   padding: 8px 16px 6px 16px;
3205 }
3206
3207 .center-item-box[padbottom="true"][warn="true"] {
3208   padding-bottom: 4px;
3209 }
3210
3211 .center-item-box[showseparator="true"] {
3212   border-top: 1px solid #9C9CFF;
3213 }
3214
3215 .center-item-box[warn="false"] > .center-item-warning {
3216   display: none;
3217 }
3218
3219 .center-item-warning > .text-link {
3220   color: #6868AA;
3221 }
3222
3223 .center-item-warning > .text-link[href=""] {
3224   display: none;
3225 }
3226
3227 .center-item-warning-icon {
3228   background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
3229   background-repeat: no-repeat;
3230   width: 16px;
3231   height: 15px;
3232   margin-bottom: 4px;
3233 }
3234
3235 .center-item-warning-description {
3236   color: #828282;
3237 }
3238
3239 .center-item-button {
3240   min-width: 0;
3241 }
3242
3243 #main-window[privatebrowsingmode=temporary] #toolbar-menubar {
3244   background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
3245   background-position: top right;
3246   background-repeat: no-repeat;
3247 }
3248
3249 #main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
3250   background-position: top left;
3251 }
3252
3253 #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon {
3254   list-style-image: url("chrome://browser/skin/privatebrowsing-light.png");
3255   width: 20px;
3256   height: 16px;
3257 }