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