19f6841e7db2f053504dd554312d77992e0d5c92
[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.chromeUI,
1345 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1346   -moz-margin-end: 3px;
1347 }
1348
1349 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
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.chromeUI:-moz-locale-dir(rtl),
1356 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1357   border-top-left-radius: 0;
1358   border-bottom-left-radius: 0;
1359 }
1360
1361 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1362   background-color: #000000;
1363 }
1364
1365 #identity-box:-moz-focusring {
1366   outline: 1px dotted #008484;
1367   outline-offset: -1px;
1368 }
1369
1370 #identity-box.verifiedDomain:-moz-focusring,
1371 #identity-box.verifiedIdentity:-moz-focusring {
1372   outline-color: #000000;
1373 }
1374
1375 #identity-icon-labels {
1376   -moz-margin-start: 1px;
1377   -moz-margin-end: 3px;
1378 }
1379
1380 /* Location bar dropmarker */
1381
1382 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1383   background-color: transparent;
1384 }
1385
1386 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1387   border: none;
1388   border-radius: 0px;
1389 }
1390
1391 .urlbar-history-dropmarker:hover {
1392 }
1393
1394 .urlbar-history-dropmarker:hover:active,
1395 .urlbar-history-dropmarker[open="true"] {
1396 }
1397
1398 /* page proxy icon */
1399
1400 /* === BEGIN identity-block.inc.css === */
1401
1402 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1403   /* Default theme does different color per channel, we can't as they do it build-time. */
1404   color: #9C9CFF;
1405   -moz-border-end: 1px solid #9C9CFF;
1406 }
1407
1408 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1409   color: #008484;
1410   -moz-border-end: 1px solid #008484;
1411 }
1412
1413 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1414 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1415   background-position: right;
1416   background-size: 1px;
1417   background-repeat: no-repeat;
1418 }
1419
1420 /* page proxy icon */
1421
1422 #page-proxy-favicon {
1423   width: 16px;
1424   height: 16px;
1425   list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1426 }
1427
1428 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1429   list-style-image: url("chrome://branding/content/identity-icons-brand.png");
1430 }
1431
1432 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
1433   list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1434 }
1435
1436 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1437   list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1438 }
1439
1440 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1441   list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1442 }
1443
1444 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1445   list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1446 }
1447
1448 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1449   list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1450 }
1451
1452 #page-proxy-favicon[pageproxystate="invalid"] {
1453   opacity: 0.3;
1454 }
1455
1456 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1457   list-style-image: url("chrome://branding/content/icon64.png");
1458 }
1459
1460 #identity-popup-brandName {
1461   font-weight: bold;
1462   font-size: 1.25em;
1463   margin-top: .5em;
1464   margin-bottom: .5em;
1465 }
1466
1467 #identity-popup-content-box {
1468   max-width: 50ch;
1469 }
1470
1471 /* === END identity-block.inc.css === */
1472
1473 #page-proxy-favicon {
1474   -moz-image-region: rect(0, 16px, 16px, 0);
1475 }
1476
1477 #identity-box:hover > #page-proxy-favicon {
1478   -moz-image-region: rect(0, 32px, 16px, 16px);
1479 }
1480
1481 #identity-box:hover:active > #page-proxy-favicon,
1482 #identity-box[open=true] > #page-proxy-favicon {
1483   -moz-image-region: rect(0, 48px, 16px, 32px);
1484 }
1485
1486 #identity-box:hover {
1487   background-color: #FFCF00;
1488   color: #000000;
1489 }
1490
1491 #identity-box:hover:active,
1492 #identity-box[open=true] {
1493   background-color: #FF9F00;
1494   color: #000000;
1495 }
1496
1497 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
1498 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
1499 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
1500   background-color: #9C9CFF;
1501   color: #000000;
1502 }
1503
1504 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
1505 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
1506 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
1507   background-color: #008484;
1508   color: #000000;
1509 }
1510
1511 /* autocomplete */
1512
1513 #treecolAutoCompleteImage {
1514   max-width: 36px;
1515 }
1516
1517 .ac-result-type-bookmark,
1518 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1519   list-style-image: url("chrome://browser/skin/places/bookmark.png");
1520   -moz-image-region: rect(0px 16px 16px 0px);
1521   width: 16px;
1522   height: 16px;
1523 }
1524
1525 .ac-result-type-keyword,
1526 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1527   list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1528   -moz-image-region: rect(0px 32px 16px 16px);
1529   width: 16px;
1530   height: 16px;
1531 }
1532
1533 .ac-result-type-tag,
1534 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1535   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
1536   width: 16px;
1537   height: 16px;
1538 }
1539
1540 .ac-comment {
1541   font-size: 1.15em;
1542 }
1543
1544 .ac-extra > .ac-comment {
1545   font-size: inherit;
1546 }
1547
1548 .ac-url-text,
1549 .ac-action-text {
1550   color: #9C9CFF;
1551 }
1552
1553 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1554   list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1555   -moz-image-region: rect(0, 16px, 16px, 0);
1556   padding: 0 3px;
1557 }
1558
1559 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
1560   -moz-image-region: rect(16px, 16px, 32px, 0);
1561 }
1562
1563 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1564   color: #8050B0;
1565 }
1566
1567 .ac-comment[selected="true"],
1568 .ac-url-text[selected="true"],
1569 .ac-action-text[selected="true"] {
1570   color: inherit !important;
1571 }
1572
1573 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1574 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1575 {
1576   color: #8050B0;
1577   font-size: smaller;
1578 }
1579
1580 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1581   border-top: 1px solid #9C9CFF;
1582 }
1583
1584 /* combined go/reload/stop button in location bar */
1585
1586 #go-button,
1587 #urlbar > toolbarbutton {
1588   list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1589   /* margin: -2px; */
1590   -moz-margin-start: 0;
1591   padding: 0 2px;
1592   background-origin: border-box;
1593   border: none;
1594   -moz-border-start: 1px solid #9C9CFF;
1595 }
1596
1597 #go-button {
1598   padding: 0 3px;
1599 }
1600
1601 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1602   border-top-left-radius: 0px;
1603   border-bottom-left-radius: 0px;
1604 }
1605
1606 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1607   border-top-right-radius: 0px;
1608   border-bottom-right-radius: 0px;
1609 }
1610
1611 #urlbar > toolbarbutton:not([disabled]):active:hover,
1612 #urlbar-reload-button:not(:hover) {
1613   -moz-border-start-style: none;
1614   -moz-padding-start: 3px;
1615 }
1616
1617 #urlbar > toolbarbutton:not([disabled]):active:hover {
1618 }
1619
1620 #urlbar-go-button {
1621   -moz-image-region: rect(0, 42px, 14px, 28px);
1622 }
1623
1624 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1625 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1626   transform: scaleX(-1);
1627 }
1628
1629 #urlbar-go-button:hover,
1630 #go-button:hover {
1631   -moz-image-region: rect(14px, 42px, 28px, 28px);
1632 }
1633
1634 #urlbar-reload-button {
1635   -moz-image-region: rect(0px, 14px, 14px, 0px);
1636 }
1637
1638 #urlbar-reload-button[disabled] {
1639   -moz-image-region: rect(28px, 14px, 42px, 0px);
1640 }
1641
1642 #urlbar-reload-button:not([disabled]):hover {
1643   -moz-image-region: rect(14px, 14px, 28px, 0px);
1644 }
1645
1646 #urlbar-stop-button {
1647   -moz-image-region: rect(0px, 28px, 14px, 14px);
1648 }
1649
1650 #urlbar-stop-button:hover {
1651   -moz-image-region: rect(14px, 28px, 28px, 14px);
1652 }
1653
1654 /* popup blocker button */
1655
1656 #page-report-button {
1657   list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1658   -moz-image-region: rect(0, 16px, 16px, 0);
1659 }
1660
1661 #page-report-button:hover ,
1662 #page-report-button:hover:active,
1663 #page-report-button[open="true"] {
1664   -moz-image-region: rect(0, 32px, 16px, 16px);
1665 }
1666
1667 /* social share panel */
1668
1669 #social-share-panel > iframe {
1670 /*  background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
1671   width: 300px;
1672   height: 150px;
1673 }
1674
1675 #social-share-button {
1676   list-style-image: url("chrome://browser/skin/social/share-button.png");
1677   -moz-image-region: rect(0, 16px, 16px, 0);
1678 }
1679
1680 .social-share-toolbar {
1681   border-right: 1px solid #9C9CFF;
1682 /*  background-color: #000000; */
1683 }
1684
1685 #social-share-provider-buttons {
1686   padding: 6px;
1687 }
1688
1689 #social-share-provider-buttons > .share-provider-button {
1690   -moz-appearance: none;
1691   padding: 5px;
1692   margin: 1px;
1693   border: none;
1694   background: none;
1695   border-radius: 2px;
1696 }
1697
1698 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
1699 #social-share-provider-buttons > .share-provider-button:hover,
1700 #social-share-provider-buttons > .share-provider-button:active {
1701   padding: 4px;
1702 }
1703
1704 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
1705 }
1706
1707 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
1708   display: none;
1709 }
1710 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
1711   width: 16px;
1712   min-height: 16px;
1713   max-height: 16px;
1714 }
1715
1716 /* fixup corners for share panel */
1717 .social-panel > .social-panel-frame {
1718   border-radius: inherit;
1719 }
1720
1721 #social-share-panel {
1722   max-height: 600px;
1723   min-height: 100px;
1724   max-width: 800px;
1725   min-width: 300px;
1726 }
1727
1728 .social-share-frame {
1729 /*  background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
1730   width: 330px;
1731   height: 150px;
1732   /* we resize our panels dynamically, make it look nice */
1733   transition: height 100ms ease-out, width 100ms ease-out;
1734 }
1735
1736 .social-share-frame:-moz-locale-dir(ltr) {
1737   border-top-left-radius: 0;
1738   border-bottom-left-radius: 0;
1739   border-top-right-radius: inherit;
1740   border-bottom-right-radius: inherit;
1741 }
1742
1743 .social-share-frame:-moz-locale-dir(rtl) {
1744   border-top-left-radius: inherit;
1745   border-bottom-left-radius: inherit;
1746   border-top-right-radius: 0;
1747   border-bottom-right-radius: 0;
1748 }
1749
1750 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
1751   border-top-left-radius: inherit;
1752   border-bottom-left-radius: inherit;
1753 }
1754
1755 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
1756   border-top-right-radius: inherit;
1757   border-bottom-right-radius: inherit;
1758 }
1759
1760 #social-share-provider-buttons:-moz-locale-dir(ltr) {
1761   border-top-left-radius: inherit;
1762   border-bottom-left-radius: inherit;
1763 }
1764
1765 #social-share-provider-buttons:-moz-locale-dir(rtl) {
1766   border-top-right-radius: inherit;
1767   border-bottom-right-radius: inherit;
1768 }
1769
1770 /* social recommending panel */
1771
1772 #social-mark-button {
1773   -moz-image-region: rect(0, 16px, 16px, 0);
1774 }
1775
1776 /* star button */
1777
1778 #star-button {
1779   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1780   -moz-image-region: rect(16px 16px 32px 0px);
1781 }
1782
1783 #star-button:hover {
1784   -moz-image-region: rect(16px 32px 32px 16px);
1785 }
1786
1787 #star-button:hover:active {
1788   -moz-image-region: rect(16px 48px 32px 32px);
1789 }
1790
1791 #star-button[starred="true"] {
1792   -moz-image-region: rect(0px 16px 16px 0px);
1793 }
1794
1795 #star-button[starred="true"]:hover {
1796   -moz-image-region: rect(0px 32px 16px 16px);
1797 }
1798
1799 #star-button[starred="true"]:hover:active {
1800   -moz-image-region: rect(0px 48px 16px 32px);
1801 }
1802
1803 /* bookmarking panel */
1804 #editBookmarkPanelStarIcon {
1805   list-style-image: url("chrome://browser/skin/places/starred48.png");
1806   width: 48px;
1807   height: 48px;
1808 }
1809
1810 #editBookmarkPanelStarIcon[unstarred] {
1811   list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1812 }
1813
1814 #editBookmarkPanelTitle {
1815   font-size: 130%;
1816 }
1817
1818 #editBookmarkPanelHeader,
1819 #editBookmarkPanelContent {
1820   margin-bottom: .5em;
1821 }
1822
1823 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1824 #editBMPanel_folderTree {
1825   min-width: 27em;
1826 }
1827
1828 .panel-promo-box {
1829   margin: 5px -6px -6px;
1830   padding: 5px;
1831   border-top: 1px solid #9C9CFF;
1832   border-bottom-left-radius: 5px;
1833   border-bottom-right-radius: 5px;
1834 }
1835
1836 .panel-promo-icon {
1837   list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1838   -moz-margin-end: 10px;
1839   vertical-align: middle;
1840 }
1841
1842 .panel-promo-closebutton {
1843   list-style-image: url("chrome://global/skin/icons/close-button.gif");
1844   -moz-margin-end: -3px;
1845   margin-top: -3px;
1846 }
1847
1848 .panel-promo-closebutton:hover {
1849   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1850 }
1851
1852 .panel-promo-closebutton:hover:active {
1853   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1854 }
1855
1856 .panel-promo-closebutton > .toolbarbutton-text {
1857   padding: 0;
1858   margin: 0;
1859 }
1860
1861 /* ::::: content area ::::: */
1862
1863 #sidebar {
1864   background-color: Window;
1865 }
1866
1867 #sidebar-title {
1868   -moz-padding-start: 0px;
1869 }
1870
1871 .browserContainer > findbar {
1872 /*
1873   background-color: -moz-dialog;
1874   color: -moz-DialogText;
1875 */
1876 }
1877
1878 /* ::::: throbber ::::: */
1879
1880 #navigator-throbber {
1881   width: 16px;
1882   min-height: 16px;
1883   margin: 0 3px;
1884 }
1885
1886 #navigator-throbber[busy="true"] {
1887   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
1888 }
1889
1890 #navigator-throbber,
1891 #wrapper-navigator-throbber > #navigator-throbber {
1892   list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png");
1893 }
1894
1895 /* Tabstrip */
1896
1897 #TabsToolbar {
1898   min-height: 0;
1899   padding: 0;
1900   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1901 }
1902
1903 #TabsToolbar .toolbar-holder {
1904   background-color: #000000; /* correct effect of being an actual toolbar */
1905 }
1906
1907 #main-window[disablechrome] #TabsToolbar,
1908 #TabsToolbar[tabsontop="false"] {
1909   border-bottom: 1px solid #008484;
1910 }
1911
1912 .tabbrowser-tab,
1913 .tabs-newtab-button {
1914   margin-top: 0px;
1915 }
1916
1917 .tabbrowser-tab{
1918   padding: 1px 4px 2px;
1919 }
1920
1921 .tabbrowser-tab:first-of-type {
1922   -moz-margin-start: 2px;
1923 }
1924
1925 .tabs-newtab-button {
1926   border-radius: 8px 8px 0px 0px;
1927   -moz-margin-start: 0;
1928 }
1929
1930 .tabs-newtab-button:not(:hover) {
1931   background-color: #C09070;
1932 }
1933
1934 .tabbrowser-tab[remote] {
1935   text-decoration: underline;
1936 }
1937
1938 .tabbrowser-tab:hover,
1939 .tabs-newtab-button:hover {
1940 }
1941
1942 .tabbrowser-tab[selected="true"] {
1943 }
1944
1945 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1946 }
1947
1948 .tabbrowser-tab:-moz-lwtheme {
1949 }
1950
1951 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1952 }
1953
1954 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1955 .tabs-newtab-button:-moz-lwtheme-brighttext {
1956 }
1957
1958 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1959 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1960 }
1961
1962 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1963 .tabs-newtab-button:-moz-lwtheme-darktext {
1964 }
1965
1966 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1967 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1968 }
1969
1970 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1971   background-color: #E7ADE7;
1972 }
1973 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1974   background-color: #3333FF;
1975   color: #000000;
1976 }
1977
1978 .tab-throbber,
1979 .tab-icon-image {
1980   width: 16px;
1981   height: 16px;
1982   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1983   -moz-image-region: auto;
1984   -moz-margin-end: 3px;
1985 }
1986
1987 .tab-throbber {
1988   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
1989 }
1990
1991 .tab-throbber[progress] {
1992   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
1993 }
1994
1995 .tab-throbber[pinned],
1996 .tab-icon-image[pinned] {
1997   -moz-margin-start: 2px;
1998   -moz-margin-end: 2px;
1999 }
2000
2001 /* tabbrowser-tab focus ring */
2002 .tabbrowser-tab:focus > .tab-stack {
2003   outline: 1px dotted;
2004 }
2005
2006 /* Tab DnD indicator */
2007 .tab-drop-indicator {
2008   list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2009   margin-bottom: -11px;
2010 }
2011
2012 /* Tab close button */
2013 .tab-close-button {
2014   border: none;
2015   padding: 0px;
2016   margin-top: 1px;
2017   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2018 }
2019
2020 .tab-close-button:hover,
2021 .tab-close-button:hover[selected="true"] {
2022   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2023 }
2024
2025 .tab-close-button:hover:active,
2026 .tab-close-button:hover:active[selected="true"] {
2027   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2028 }
2029
2030 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2031
2032 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2033 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2034   margin: 0;
2035   padding-top: 0;
2036   padding-bottom: 0;
2037 }
2038
2039 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2040   background-color: #008484;
2041 }
2042
2043 .tabs-newtab-button > .toolbarbutton-icon {
2044   margin-top: -1px;
2045   margin-bottom: -1px;
2046 }
2047
2048 .tabs-newtab-button,
2049 #TabsToolbar > #new-tab-button,
2050 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
2051   list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2052   -moz-image-region: rect(0, 16px, 18px, 0);
2053 }
2054
2055 .tabs-newtab-button {
2056   width: 28px;
2057 }
2058
2059 #TabsToolbar > #new-tab-button {
2060   width: 26px;
2061 }
2062
2063 .tabs-newtab-button,
2064 .tabs-newtab-button:hover,
2065 #TabsToolbar > #new-tab-button:hover {
2066   -moz-image-region: rect(0, 32px, 18px, 16px);
2067 }
2068
2069 #alltabs-button {
2070   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2071 }
2072
2073 #alltabs-button > .toolbarbutton-menu-dropmarker {
2074   display: none;
2075 }
2076
2077 #alltabs-button:hover,
2078 #alltabs-button:hover:active,
2079 #alltabs-button[open="true"] {
2080   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2081 }
2082
2083 /* All tabs menupopup */
2084 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2085   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2086   -moz-image-region: auto;
2087 }
2088
2089 .alltabs-item[selected="true"] {
2090   font-weight: bold;
2091 }
2092
2093 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2094   list-style-image: url("chrome://global/skin/icons/loading.gif");
2095 }
2096
2097 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2098   background-color: #402800;
2099 }
2100
2101 /* Tabstrip close button */
2102 .tabs-closebutton {
2103   -moz-box-flex: 1;
2104   margin: 0px;
2105   padding: 2px;
2106   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2107 }
2108
2109 .tabs-closebutton > .toolbarbutton-icon {
2110 }
2111
2112 .tabs-closebutton > .toolbarbutton-text {
2113   display: none;
2114 }
2115
2116 .tabs-closebutton:hover,
2117 .tabs-closebutton:hover:active {
2118   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2119 }
2120
2121 toolbarbutton.chevron {
2122   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2123 }
2124
2125 toolbarbutton.chevron:hover {
2126   list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2127 }
2128
2129 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2130 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2131   transform: scaleX(-1);
2132 }
2133
2134 toolbarbutton.chevron > .toolbarbutton-text,
2135 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2136   display: none;
2137 }
2138
2139 toolbarbutton.chevron > .toolbarbutton-icon {
2140   margin: 0;
2141 }
2142
2143 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2144   display: -moz-box; /* display chevron icon in text mode */
2145 }
2146
2147 #sidebar-throbber[loading="true"] {
2148   list-style-image: url("chrome://global/skin/icons/loading.gif");
2149   -moz-margin-end: 4px;
2150 }
2151
2152 /* Bookmarks toolbar */
2153 #PlacesToolbarDropIndicator {
2154   list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2155 }
2156
2157 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2158   background-color: #008484 !important;
2159   color: #FFCF00 !important;
2160 }
2161
2162 /* rules for menupopup drop indicators */
2163 .menupopup-drop-indicator-bar {
2164   position: relative;
2165   /* these two margins must together compensate the indicator's height */
2166   margin-top: -1px;
2167   margin-bottom: -1px;
2168 }
2169
2170 .menupopup-drop-indicator {
2171   list-style-image: none;
2172   height: 2px;
2173   -moz-margin-end: -4em;
2174   background-color: #008484;
2175 }
2176
2177 /* ::::: Identity Indicator Styling ::::: */
2178
2179 /* Popup Icons */
2180 #identity-popup-icon {
2181   height: 64px;
2182   width: 64px;
2183   padding: 0;
2184   list-style-image: url("chrome://browser/skin/identity.png");
2185   -moz-image-region: rect(0px, 64px, 64px, 0px);
2186 }
2187
2188 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2189   -moz-image-region: rect(64px, 64px, 128px, 0px);
2190 }
2191
2192 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2193   -moz-image-region: rect(128px, 64px, 192px, 0px);
2194 }
2195
2196 /* Popup Body Text */
2197 .identity-popup-description {
2198   white-space: pre-wrap;
2199   -moz-padding-start: 15px;
2200   margin: 2px 0 4px;
2201 }
2202
2203 .identity-popup-label {
2204   white-space: pre-wrap;
2205   -moz-padding-start: 15px;
2206   margin: 0;
2207 }
2208
2209 #identity-popup-content-host,
2210 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2211   font-size: 1.2em;
2212 }
2213
2214 #identity-popup-content-host {
2215   margin-top: 3px;
2216   margin-bottom: 5px;
2217   font-weight: bold;
2218   max-width: 300px;
2219 }
2220
2221 #identity-popup-content-owner {
2222   margin-top: 4px;
2223   margin-bottom: 0 !important;
2224   font-weight: bold;
2225   max-width: 300px;
2226 }
2227
2228 .verifiedDomain > #identity-popup-content-owner {
2229   font-weight: normal;
2230 }
2231
2232 #identity-popup-content-verifier {
2233   margin: 4px 0 2px;
2234 }
2235
2236 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2237 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2238   margin-top: 10px;
2239   -moz-margin-start: -24px;
2240 }
2241
2242 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2243 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2244   list-style-image: url("chrome://browser/skin/Secure24.png");
2245 }
2246
2247 #identity-popup-more-info-button {
2248   margin-top: 6px;
2249   margin-bottom: 0;
2250   -moz-margin-end: 0;
2251 }
2252
2253 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2254   padding: 0;
2255 }
2256
2257 #identity-popup-container {
2258   min-width: 280px;
2259   padding: 10px;
2260 }
2261
2262 #identity-popup-button-container {
2263 /*  background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2264   padding: 10px;
2265   margin-top: 5px;
2266 }
2267
2268 .popup-notification-icon {
2269   width: 64px;
2270   height: 64px;
2271   -moz-margin-end: 10px;
2272 }
2273
2274 .popup-notification-icon[popupid="geolocation"] {
2275   list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2276 }
2277
2278 .popup-notification-icon[popupid="xpinstall-disabled"],
2279 .popup-notification-icon[popupid="addon-progress"],
2280 .popup-notification-icon[popupid="addon-install-cancelled"],
2281 .popup-notification-icon[popupid="addon-install-blocked"],
2282 .popup-notification-icon[popupid="addon-install-failed"],
2283 .popup-notification-icon[popupid="addon-install-complete"] {
2284   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2285   width: 32px;
2286   height: 32px;
2287 }
2288
2289 .popup-notification-icon[popupid="click-to-play-plugins"] {
2290   list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
2291 }
2292
2293 .popup-notification-icon[popupid="plugins-not-found"] {
2294   list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2295 }
2296
2297 .popup-notification-icon[popupid="web-notifications"] {
2298   list-style-image: url("chrome://browser/skin/notification-64.png");
2299 }
2300
2301 .addon-progress-description {
2302   width: 350px;
2303   max-width: 350px;
2304 }
2305
2306 .popup-progress-label,
2307 .popup-progress-meter {
2308   -moz-margin-start: 0;
2309   -moz-margin-end: 0;
2310 }
2311
2312 .popup-progress-cancel {
2313   -moz-appearance: none;
2314   background: transparent;
2315   border: none;
2316   padding: 0;
2317   margin: 0;
2318   min-height: 0;
2319   min-width: 0;
2320   list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2321   -moz-image-region: rect(0px, 32px, 16px, 16px);
2322 }
2323
2324 .popup-progress-cancel:hover {
2325   -moz-image-region: rect(16px, 32px, 32px, 16px);
2326 }
2327
2328 .popup-progress-cancel:active {
2329   -moz-image-region: rect(32px, 32px, 48px, 16px);
2330 }
2331
2332 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2333 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
2334 .popup-notification-icon[popupid*="offline-app-requested"],
2335 .popup-notification-icon[popupid="offline-app-usage"] {
2336   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2337 }
2338
2339 .popup-notification-icon[popupid="password-save"],
2340 .popup-notification-icon[popupid="password-change"] {
2341   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2342 }
2343
2344 .popup-notification-icon[popupid="webapps-install"] {
2345   list-style-image: url("chrome://global/skin/icons/webapps-64.png");
2346 }
2347
2348 .popup-notification-icon[popupid="mixed-content-blocked"] {
2349   list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2350 }
2351
2352 .popup-notification-icon[popupid="webRTC-sharingDevices"],
2353 .popup-notification-icon[popupid="webRTC-shareDevices"] {
2354   list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2355 }
2356
2357 .popup-notification-icon[popupid="pointerLock"] {
2358   list-style-image: url("chrome://browser/skin/pointerLock-64.png");
2359 }
2360
2361 /* Notification icon box */
2362 #notification-popup-box {
2363   position: relative;
2364   background-color: #000000;
2365   background-clip: padding-box;
2366   padding-left: 3px;
2367   padding-right: 8px;
2368   border-radius: 3px 0 0 3px;
2369   border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2370   -moz-margin-end: -8px;
2371   border-right-width: 8px;
2372 }
2373
2374 window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2375     :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
2376     #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
2377 /*  padding-left: 5px; */
2378 }
2379
2380 #notification-popup-box:-moz-locale-dir(rtl),
2381 .notification-anchor-icon:-moz-locale-dir(rtl) {
2382   transform: scaleX(-1);
2383 }
2384
2385 .notification-anchor-icon {
2386   width: 16px;
2387   height: 16px;
2388   margin: 0 2px;
2389 }
2390
2391 .notification-anchor-icon:-moz-focusring {
2392   outline: 1px dotted #008484;
2393 /*  outline-offset: -3px; */
2394 }
2395
2396 .default-notification-icon,
2397 #default-notification-icon {
2398   list-style-image: url("chrome://global/skin/icons/information-16.png");
2399 }
2400
2401 .identity-notification-icon,
2402 #identity-notification-icon {
2403   list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2404 }
2405
2406 .geo-notification-icon,
2407 #geo-notification-icon {
2408   list-style-image: url("chrome://browser/skin/Geolocation-16.png");
2409 }
2410
2411 #addons-notification-icon {
2412   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
2413 }
2414
2415 .indexedDB-notification-icon,
2416 #indexedDB-notification-icon {
2417   list-style-image: url("chrome://global/skin/icons/question-16.png");
2418 }
2419
2420 #password-notification-icon {
2421   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
2422 }
2423
2424 #webapps-notification-icon {
2425   list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
2426 }
2427
2428 #plugins-notification-icon {
2429   list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
2430 }
2431
2432 #alert-plugins-notification-icon {
2433   list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
2434 }
2435
2436 #blocked-plugins-notification-icon {
2437   list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
2438 }
2439
2440 #plugins-notification-icon,
2441 #alert-plugins-notification-icon,
2442 #blocked-plugins-notification-icon {
2443 /*  -moz-image-region: rect(0, 16px, 16px, 0);*/
2444 }
2445
2446 #plugins-notification-icon:hover,
2447 #alert-plugins-notification-icon:hover,
2448 #blocked-plugins-notification-icon:hover {
2449 /*  -moz-image-region: rect(0, 32px, 16px, 16px);*/
2450 }
2451
2452 #plugin-install-notification-icon {
2453   list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
2454 }
2455
2456 #notification-popup-box[hidden] {
2457   /* Override display:none to make the pluginBlockedNotification animation work
2458      when showing the notification repeatedly. */
2459   display: -moz-box;
2460   visibility: collapse;
2461 }
2462
2463 #blocked-plugins-notification-icon[showing] {
2464   animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
2465 }
2466
2467 @keyframes pluginBlockedNotification {
2468   from {
2469     opacity: 0;
2470   }
2471   to {
2472     opacity: 1;
2473   }
2474 }
2475
2476 .mixed-content-blocked-notification-icon,
2477 #mixed-content-blocked-notification-icon {
2478   list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
2479 }
2480
2481 .webRTC-shareDevices-notification-icon,
2482 #webRTC-shareDevices-notification-icon {
2483   list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
2484 }
2485
2486 .webRTC-sharingDevices-notification-icon,
2487 #webRTC-sharingDevices-notification-icon {
2488   list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
2489 }
2490
2491 .web-notifications-notification-icon,
2492 #web-notifications-notification-icon {
2493   list-style-image: url("chrome://browser/skin/notification-16.png");
2494 }
2495
2496 #pointerLock-notification-icon {
2497   list-style-image: url("chrome://browser/skin/pointerLock-16.png");
2498 }
2499 #pointerLock-cancel {
2500   margin: 0px;
2501 }
2502
2503 #download-monitor {
2504   list-style-image: url("chrome://browser/skin/FxToolbar.png");
2505   -moz-image-region: rect(0, 108px, 18px, 90px);
2506 }
2507
2508 /* Bookmarks roots menu-items */
2509 #appmenu_subscribeToPage:not([disabled]),
2510 #appmenu_subscribeToPageMenu,
2511 #subscribeToPageMenuitem:not([disabled]),
2512 #subscribeToPageMenupopup,
2513 #BMB_subscribeToPageMenuitem:not([disabled]),
2514 #BMB_subscribeToPageMenupopup {
2515   list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
2516 }
2517
2518 #bookmarksToolbarFolderMenu,
2519 #appmenu_bookmarksToolbar,
2520 #BMB_bookmarksToolbar {
2521   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
2522   -moz-image-region: auto;
2523 }
2524
2525 #appmenu_unsortedBookmarks,
2526 #BMB_unsortedBookmarks {
2527   list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
2528   -moz-image-region: auto;
2529 }
2530
2531 /* ::::: Keyboard UI Panel ::::: */
2532
2533 .KUI-panel {
2534   color: #FF9F00;
2535   border-style: none;
2536   border-radius: 20px;
2537 }
2538
2539 .KUI-panel[level="top"] {
2540   /*background-color: rgba(27%,27%,27%,.65);*/
2541 }
2542
2543 /* Ctrl-Tab */
2544
2545 #ctrlTab-panel {
2546   padding: 20px 10px 10px;
2547   font-weight: bold;
2548 }
2549
2550 .ctrlTab-favicon[src] {
2551   background-color: #000000;
2552   width: 20px;
2553   height: 20px;
2554   padding: 2px;
2555 }
2556
2557 .ctrlTab-preview-inner > .tabPreview-canvas {
2558 }
2559
2560 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2561   margin-bottom: 2px;
2562 }
2563
2564 .ctrlTab-preview-inner {
2565   padding-bottom: 10px;
2566 }
2567
2568 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2569   padding: 10px;
2570   background-color: #000000;
2571   border-radius: .5em;
2572 }
2573
2574 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2575   color: white;
2576   background-color: #000000;
2577   text-shadow: none;
2578   padding: 8px;
2579   border: 2px solid #9C9CFF;
2580   border-radius: .5em;
2581 }
2582
2583 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2584   margin: -10px -10px 0;
2585 }
2586
2587 #ctrlTab-showAll {
2588   margin-top: .5em;
2589 }
2590
2591 /* Add-on bar */
2592
2593 #addon-bar {
2594   min-height: 20px;
2595   border-top: 3px solid #000000;
2596   border-bottom-width: 0;
2597 }
2598
2599 #addon-bar .toolbar-holder {
2600   background-color: #8050B0;
2601   color: #FFCF00;
2602 }
2603
2604 #addon-bar .toolbar-holder {
2605   background-color: #8050B0;
2606   color: #FFCF00;
2607 }
2608
2609 #addon-bar .toolbar-startcap,
2610 #addon-bar .toolbar-endcap{
2611   background-color: #6000CF;
2612 }
2613
2614 #status-bar {
2615   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
2616   margin-top: .3em;
2617   border-width: 0;
2618 }
2619
2620 #addon-bar[customizing] > #status-bar {
2621   opacity: .5;
2622 /*  background-image: -moz-repeating-linear-gradient(-45deg,
2623                                                    rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
2624                                                    rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
2625 }
2626
2627 /* Remove all borders from statusbarpanel children of
2628    the statusbar.
2629 #status-bar > statusbarpanel {
2630   border-width: 0;
2631 } */
2632
2633 #addonbar-closebutton {
2634   border: none;
2635   padding: 3px 5px;
2636   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2637 }
2638
2639 #addonbar-closebutton:hover,
2640 #addonbar-closebutton:hover:active {
2641   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2642 }
2643
2644 /* Status panel */
2645
2646 .statuspanel-label {
2647   margin: 0;
2648   padding: 2px 4px;
2649   background: #404000;
2650   border: 1px none #9C9CFF;
2651   border-top-style: solid;
2652   color: #FF9F00;
2653   text-shadow: none;
2654 }
2655
2656 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2657 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2658   border-right-style: solid;
2659   border-top-right-radius: .3em;
2660   margin-right: 1em;
2661 }
2662
2663 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2664 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2665   border-left-style: solid;
2666   border-top-left-radius: .3em;
2667   margin-left: 1em;
2668 }
2669
2670 /* HACK to abolish devily color on main content */
2671
2672 #content {
2673   background-color: transparent !important;
2674 }
2675
2676 /* Highlighter */
2677
2678 .highlighter-outline {
2679   box-shadow: 0 0 0 1px black;
2680   outline: 1px dashed white;
2681 }
2682
2683 .highlighter-outline[locked]  {
2684   box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
2685   outline-color: rgba(255,255,255,0.7);
2686 }
2687
2688 /* Highlighter - Node Infobar */
2689
2690 .highlighter-nodeinfobar {
2691   color: #FF9F00;
2692   border: 1px solid rgba(156, 156, 255, .5);
2693   border-radius: 3px;
2694   background-color: #000000;
2695   background-clip: padding-box;
2696 }
2697
2698 /* Highlighter - Node Infobar - text */
2699
2700 .highlighter-nodeinfobar-text {
2701   /* 100% - size of the buttons and margins */
2702   max-width: calc(100% - 2 * (26px + 6px));
2703   padding-bottom: 1px;
2704 }
2705
2706 html|*.highlighter-nodeinfobar-tagname {
2707   color: #FFCF00;
2708 }
2709
2710 html|*.highlighter-nodeinfobar-id {
2711   color: #9C9CFF;
2712 }
2713
2714 html|*.highlighter-nodeinfobar-pseudo-classes {
2715   color: #FF9F00;
2716 }
2717
2718 /* Highlighter - Node Infobar - buttons */
2719
2720 .highlighter-nodeinfobar-button {
2721   padding: 0;
2722   width: 26px;
2723   min-height: 26px;
2724 }
2725
2726 .highlighter-nodeinfobar-inspectbutton {
2727   list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
2728   -moz-image-region: rect(0px 16px 16px 0px);
2729   -moz-margin-start: 0px;
2730   -moz-margin-end: 2px;
2731 }
2732
2733 .highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
2734 }
2735
2736 .highlighter-nodeinfobar-inspectbutton:hover,
2737 .highlighter-nodeinfobar-inspectbutton:hover:active/*,
2738 .highlighter-nodeinfobar-container:not([locked]) >  .highlighter-nodeinfobar >  .highlighter-nodeinfobar-inspectbutton*/ {
2739   -moz-image-region: rect(0px 32px 16px 16px);
2740 }
2741
2742 .highlighter-nodeinfobar-menu {
2743 }
2744
2745 .highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
2746 }
2747
2748 .highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
2749   -moz-box-align: center;
2750   -moz-margin-start: -1px;
2751 }
2752
2753 /* Highlighter - Node Infobar - box & arrow */
2754
2755 .highlighter-nodeinfobar-arrow {
2756   width: 14px;
2757   height: 14px;
2758   -moz-margin-start: calc(50% - 7px);
2759   transform: rotate(-45deg);
2760   border: 1px solid transparent;
2761   background-clip: padding-box;
2762   background-repeat: no-repeat;
2763 }
2764
2765 .highlighter-nodeinfobar-arrow-top {
2766   margin-bottom: -8px;
2767   margin-top: 8px;
2768   border-right-color: rgba(0, 132, 132, .5);
2769   border-top-color: rgba(0, 132, 132, .5);
2770   background-image: linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
2771 }
2772
2773 .highlighter-nodeinfobar-arrow-bottom {
2774   margin-top: -8px;
2775   margin-bottom: 8px;
2776   border-left-color: rgba(0, 132, 132, .5);
2777   border-bottom-color: rgba(0, 132, 132, .5);
2778   background-image: linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
2779 }
2780
2781 .highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar,
2782 .highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar {
2783   box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
2784 }
2785
2786 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
2787   margin: 7px 0;
2788 }
2789
2790 #full-screen-warning-message {
2791   background-color: #000000;
2792   color: #FF9F00;
2793   border-radius: 8px;
2794   margin-top: 30px;
2795   padding: 30px 50px;
2796   box-shadow: 0 0 2px #9C9CFF;
2797 }
2798
2799 #full-screen-warning-container[obscure-browser] {
2800   background-color: rgba(0,0,0,0.3);
2801 }
2802
2803 .full-screen-description {
2804   font-size: 150%;
2805 }
2806
2807 #full-screen-domain-text {
2808   font-size: 300%;
2809 }
2810
2811 .full-screen-approval-button,
2812 #full-screen-remember-decision {
2813   font-size: 120%;
2814 }
2815
2816 /* === BEGIN commandline.inc.css === */
2817
2818 /* Developer toolbar */
2819
2820 #developer-toolbar {
2821   border-top: 3px solid #000000;
2822   border-bottom: none;
2823 }
2824
2825 #developer-toolbar .toolbar-holder {
2826   background-color: #8050B0;
2827   color: #FFCF00;
2828 }
2829
2830 #developer-toolbar .toolbar-holder {
2831   background-color: #8050B0;
2832   color: #FFCF00;
2833 }
2834
2835 #developer-toolbar .toolbar-startcap,
2836 #developer-toolbar .toolbar-endcap{
2837   background-color: #6000CF;
2838 }
2839
2840 #developer-toolbar {
2841 /*  padding: 0;
2842   min-height: 32px; */
2843 }
2844
2845 .developer-toolbar-button {
2846 /*  margin: 0;
2847   padding: 0 10px;
2848   width: 32px; */
2849 }
2850
2851 .developer-toolbar-button > image {
2852 /*  margin: auto 10px; */
2853 }
2854
2855 #developer-toolbar-toolbox-button > label {
2856   display: none;
2857 }
2858
2859 #developer-toolbar-toolbox-button {
2860   list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
2861   -moz-image-region: rect(0px, 16px, 16px, 0px);
2862 }
2863
2864 #developer-toolbar-toolbox-button > label {
2865   display: none;
2866 }
2867
2868 #developer-toolbar-toolbox-button:hover,
2869 #developer-toolbar-toolbox-button:hover:active,
2870 #developer-toolbar-toolbox-button[checked=true] {
2871   -moz-image-region: rect(0px, 32px, 16px, 16px);
2872 }
2873
2874 /* GCLI */
2875
2876 html|*#gcli-tooltip-frame,
2877 html|*#gcli-output-frame {
2878   padding: 0;
2879   border-width: 0;
2880   background-color: transparent;
2881 }
2882
2883 #gcli-output,
2884 #gcli-tooltip {
2885   border-width: 0;
2886   background-color: transparent;
2887 }
2888
2889 .gclitoolbar-input-node,
2890 .gclitoolbar-complete-node {
2891   margin: 1px 3px;
2892   -moz-box-align: center;
2893   padding-top: 0;
2894   padding-bottom: 0;
2895   padding-right: 8px;
2896   background-color: transparent;
2897 }
2898
2899 .gclitoolbar-input-node {
2900   padding-left: 20px;
2901 /*  line-height: 32px;
2902   outline-style: none; */
2903   background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
2904 }
2905
2906 .gclitoolbar-input-node[focused="true"] {
2907   background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
2908 }
2909
2910 .gclitoolbar-input-node:not([focused="true"]) {
2911   border-color: transparent;
2912 }
2913
2914 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
2915   background-color: #008484;
2916   color: #000000;
2917   text-shadow: none;
2918 }
2919
2920 .gclitoolbar-complete-node {
2921   padding-left: 21px;
2922   background-color: transparent;
2923   color: transparent;
2924   z-index: 100;
2925   pointer-events: none;
2926 }
2927
2928 .gcli-in-incomplete,
2929 .gcli-in-error,
2930 .gcli-in-ontab,
2931 .gcli-in-todo,
2932 .gcli-in-closebrace,
2933 .gcli-in-param,
2934 .gcli-in-valid {
2935   margin: 0;
2936   padding: 0;
2937 }
2938
2939 .gcli-in-incomplete {
2940   border-bottom: 2px dotted #8050B0;
2941 }
2942
2943 .gcli-in-error {
2944   border-bottom: 2px dotted #FF0000;
2945 }
2946
2947 .gcli-in-ontab {
2948   color: #9C9CFF;
2949 }
2950
2951 .gcli-in-todo {
2952   color: #795900;
2953 }
2954
2955 .gcli-in-closebrace {
2956   color: #8050B0;
2957 }
2958
2959 /* === END commandline.inc.css === */
2960
2961 /* === BEGIN responsivedesign.inc.css === */
2962
2963 /* Responsive Mode */
2964
2965 .browserContainer[responsivemode] {
2966   background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
2967   padding: 0 20px 20px 20px;
2968 }
2969
2970 .browserStack[responsivemode] {
2971   box-shadow: 0 0 7px #9C9CFF;
2972 }
2973
2974 .devtools-responsiveui-toolbar {
2975   background: transparent;
2976   margin: 10px 0;
2977   padding: 0;
2978   box-shadow: none;
2979   border-bottom-width: 0;
2980 }
2981
2982 .devtools-responsiveui-toolbar > menulist,
2983 .devtools-responsiveui-toolbar > toolbarbutton {
2984   min-width: 22px;
2985 /*  border-radius: 0; */
2986 }
2987
2988 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
2989 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
2990   margin-left: 3px;
2991 }
2992
2993 .devtools-responsiveui-close {
2994   list-style-image: url("chrome://browser/skin/devtools/close.png");
2995   -moz-image-region: rect(0px,16px,16px,0px);
2996 }
2997
2998 .devtools-responsiveui-close:hover {
2999   -moz-image-region: rect(0px,32px,16px,16px);
3000 }
3001
3002 .devtools-responsiveui-rotate {
3003   list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3004   -moz-image-region: rect(0px,16px,16px,0px);
3005 }
3006
3007 .devtools-responsiveui-rotate:hover {
3008   -moz-image-region: rect(0px,32px,16px,16px);
3009 }
3010
3011 .devtools-responsiveui-touch {
3012   list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3013   -moz-image-region: rect(0px,16px,16px,0px);
3014 }
3015
3016 .devtools-responsiveui-touch:hover,
3017 .devtools-responsiveui-touch[checked],
3018 .devtools-responsiveui-touch[checked]:hover {
3019   -moz-image-region: rect(0px,32px,16px,16px);
3020 }
3021
3022 .devtools-responsiveui-screenshot {
3023   list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3024   -moz-image-region: rect(0px,16px,16px,0px);
3025 }
3026
3027 .devtools-responsiveui-screenshot:hover {
3028   -moz-image-region: rect(0px,32px,16px,16px);
3029 }
3030
3031 .devtools-responsiveui-resizebarV {
3032   width: 7px;
3033   height: 24px;
3034   cursor: ew-resize;
3035   transform: translate(12px, -12px);
3036   background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3037 }
3038
3039 .devtools-responsiveui-resizebarH {
3040   width: 24px;
3041   height: 7px;
3042   cursor: ns-resize;
3043   transform: translate(-12px, 12px);
3044   background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3045 }
3046
3047 .devtools-responsiveui-resizehandle {
3048   width: 16px;
3049   height: 16px;
3050   cursor: se-resize;
3051   transform: translate(12px, 12px);
3052   background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
3053 }
3054
3055 /* === END responsivedesign.inc.css === */
3056
3057 /* Error counter */
3058
3059 #developer-toolbar-toolbox-button[error-count]:before {
3060   color: #000000;
3061   min-width: 16px;
3062   text-shadow: none;
3063   background-color: #FF0000;
3064   border-radius: 1px;
3065   -moz-margin-end: 5px;
3066 }
3067
3068 /* Social toolbar item */
3069
3070 #social-provider-button {
3071   -moz-image-region: rect(0, 16px, 16px, 0);
3072   list-style-image: url("chrome://browser/skin/social/services-16.png");
3073 }
3074
3075 #social-provider-button > .toolbarbutton-menu-dropmarker {
3076   display: none;
3077 }
3078
3079 .toolbarbutton-badge-container {
3080   margin: 0;
3081   padding: 0;
3082   position: relative;
3083 }
3084
3085 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
3086   padding: 2px 2px;
3087 }
3088
3089 .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
3090   position: absolute;
3091   top: 2px;
3092   right: 2px;
3093 }
3094
3095 .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
3096   -moz-margin-end: 0;
3097 }
3098
3099 .toolbarbutton-badge[badge=""] {
3100   display: none;
3101 }
3102 .toolbarbutton-badge[badge]:not([badge=""])::after {
3103   /* The |content| property is set in the content stylesheet. */
3104   font-size: 9px;
3105   font-weight: bold;
3106   padding: 0 1px;
3107   color: #FF9F00;
3108   background-color: #000000;
3109   border: 1px solid #9C9CFF;
3110   border-radius: 2px;
3111   position: absolute;
3112   top: 0;
3113   right: 0;
3114 }
3115
3116 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
3117   top: 1px;
3118   right: 1px;
3119 }
3120
3121 .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3122   left: 0;
3123   right: auto;
3124 }
3125
3126 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3127   left: 1px;
3128   right: auto;
3129 }
3130
3131 #social-notification-icon-mentions {
3132   background-color: #000000;
3133   border-radius: 3px;
3134   -moz-margin-start: 2px;
3135 }
3136
3137 #social-notification-icon-mentions:hover {
3138   background-color: #FFCF00;
3139 }
3140
3141 #social-notification-icon-mentions[open="true"] {
3142   background-color: #FF9F00;
3143 }
3144
3145 #social-sidebar-splitter {
3146   border: 0;
3147 }
3148
3149 .popup-notification-icon[popupid="servicesInstall"] {
3150   list-style-image: url("chrome://browser/skin/social/services-64.png");
3151 }
3152 #servicesInstall-notification-icon {
3153   list-style-image: url("chrome://browser/skin/social/services-16.png");
3154 }
3155 #social-undoactivation-button,
3156 #servicesInstall-learnmore-link {
3157   -moz-margin-start: 0; /* override default label margin to match description margin */
3158 }
3159
3160 #socialActivatedNotification .popup-notification-button-container {
3161   margin-left: 6px;
3162 }
3163
3164 .social-activation-icon {
3165   width: auto;
3166   height: auto;
3167   max-height: 64px;
3168   max-width: 64px;
3169 }
3170
3171 #social-activation-message {
3172   max-width: 250px;
3173 }
3174
3175 #social-activation-message > label {
3176   margin: 0;
3177 }
3178
3179 /* social toolbar provider menu */
3180 .social-statusarea-popup {
3181   margin-top: 0;
3182   margin-left: -12px;
3183   margin-right: -12px;
3184 }
3185
3186 .social-statusarea-user {
3187   border-bottom: 1px solid #9C9CFF;
3188   background-color: #000000;
3189   color: #FF9F00;
3190   position: relative;
3191   cursor: pointer;
3192 }
3193
3194 .social-statusarea-user-portrait {
3195   width: 32px;
3196   height: 32px;
3197   border-radius: 2px;
3198   margin: 10px;
3199 }
3200
3201 .social-statusarea-loggedInStatus {
3202   background: transparent;
3203   border: none;
3204   color: #3333FF;
3205   min-width: 0;
3206   margin: 0 6px;
3207   list-style-image: none;
3208 }
3209
3210 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
3211   text-decoration: underline;
3212 }
3213
3214 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3215   padding: 0;
3216 }
3217
3218 .social-panel-frame {
3219   border-radius: inherit;
3220 }
3221
3222 /* === BEGIN chat.inc.css === */
3223
3224 .chat-status-icon {
3225   max-height: 16px;
3226   max-width: 16px;
3227   padding: 0;
3228 }
3229
3230 .chat-toolbarbutton {
3231   -moz-appearance: none;
3232   border: none;
3233   padding: 0;
3234   margin: 0;
3235   background: none;
3236   width: 16px;
3237 }
3238
3239 .chat-toolbarbutton > .toolbarbutton-text {
3240   display: none;
3241 }
3242
3243 .chat-toolbarbutton > .toolbarbutton-icon {
3244   width: inherit;
3245 }
3246
3247 .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
3248   width: inherit;
3249   margin-top: -2px;
3250 }
3251
3252 .chat-close-button {
3253   list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3254   -moz-image-region: rect(0, 16px, 16px, 0);
3255 }
3256
3257 .chat-close-button:hover,
3258 .chat-close-button:hover:active {
3259   -moz-image-region: rect(0, 32px, 16px, 16px);
3260 }
3261
3262 .chat-minimize-button {
3263   list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3264   -moz-image-region: rect(16px, 16px, 32px, 0);
3265 }
3266
3267 .chat-minimize-button:hover:active,
3268 .chat-minimize-button:hover {
3269   -moz-image-region: rect(16px, 32px, 32px, 16px);
3270 }
3271
3272 .chat-swap-button {
3273   list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3274   -moz-image-region: rect(48px, 16px, 64px, 0);
3275 }
3276
3277 .chat-swap-button:hover:active,
3278 .chat-swap-button:hover {
3279   -moz-image-region: rect(48px, 32px, 64px, 16px);
3280 }
3281
3282 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
3283   list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3284   -moz-image-region: rect(32px, 16px, 48px, 0);
3285 }
3286
3287 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
3288 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
3289   -moz-image-region: rect(32px, 32px, 48px, 16px);
3290 }
3291
3292 .chat-title {
3293   font-weight: bold;
3294   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
3295   text-shadow: none;
3296   cursor: inherit;
3297 }
3298
3299 .chat-titlebar {
3300   background-color: #9C9CFF;
3301   color: #000000;
3302   height: 20px;
3303   min-height: 16px;
3304   width: 100%;
3305   margin: 0;
3306   padding: 2px;
3307   -moz-padding-start: 6px;
3308   border: none;
3309   border-bottom: 1px solid #008484;
3310   cursor: pointer;
3311 }
3312
3313 .chat-titlebar > .notification-anchor-icon {
3314   margin-left: 2px;
3315   margin-right: 2px;
3316 }
3317
3318 .chat-titlebar[minimized="true"] {
3319   border-bottom: none;
3320 }
3321
3322 .chat-titlebar[selected] {
3323   background-color: #008484;
3324 }
3325
3326 .chat-titlebar[activity] {
3327   background-color: #E7ADE7;
3328 }
3329
3330 .chat-frame {
3331   padding: 0;
3332   margin: 0;
3333   overflow: hidden;
3334 }
3335
3336 .chatbar-button {
3337   list-style-image: url("chrome://browser/skin/social/services-16.png");
3338   background-color: #000000;
3339   border: none;
3340   margin: 0;
3341   padding: 2px;
3342   height: 21px;
3343   width: 21px;
3344   border-top: 1px solid #008484;
3345   -moz-border-end: 1px solid #008484;
3346 }
3347
3348 @media (min-resolution: 2dppx) {
3349   .chatbar-button {
3350     list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
3351   }
3352 }
3353
3354 .chatbar-button > .toolbarbutton-icon {
3355   width: 16px;
3356 }
3357
3358 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
3359   width: auto;
3360   height: auto;
3361   max-height: 16px;
3362   max-width: 16px;
3363 }
3364
3365 .chatbar-button > .toolbarbutton-icon {
3366   opacity: .6;
3367   -moz-margin-end: 0;
3368 }
3369 .chatbar-button:hover > .toolbarbutton-icon,
3370 .chatbar-button[open="true"] > .toolbarbutton-icon {
3371   opacity: 1;
3372 }
3373
3374 .chatbar-button:hover,
3375 .chatbar-button[open="true"] {
3376 }
3377
3378 .chatbar-button > .toolbarbutton-text,
3379 .chatbar-button > .toolbarbutton-menu-dropmarker {
3380   display: none;
3381 }
3382
3383 .chatbar-button[activity]:not([open="true"]) {
3384   background-color: #E7ADE7;
3385 }
3386
3387 .chatbar-button > menupopup > menuitem[activity] {
3388   font-weight: bold;
3389 }
3390
3391 .chatbar-innerbox {
3392   background: transparent;
3393   margin: -285px 0 0;
3394   overflow: hidden;
3395 }
3396
3397 chatbar {
3398   -moz-margin-end: 20px;
3399 }
3400
3401 chatbar > chatbox {
3402   height: 285px;
3403   width: 260px;
3404   -moz-margin-start: 4px;
3405   background-color: #000000;
3406   border: 1px solid #9C9CFF;
3407   border-bottom: none;
3408   border-top-left-radius: 2.5px;
3409   border-top-right-radius: 2.5px;
3410 }
3411
3412 chatbox[minimized="true"] {
3413   width: 160px;
3414   height: 20px;
3415 }
3416
3417 window > chatbox {
3418   -moz-margin-start: 0px;
3419   margin: 0px;
3420   border: none;
3421   padding: 0px;
3422 }
3423
3424 /* === END chat.inc.css === */
3425
3426 /* === BEGIN plugin-doorhanger.inc.css === */
3427
3428 /**
3429  * Plugin Doorhanger Styles
3430  */
3431
3432 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
3433   padding: 6px 1px 2px;
3434 }
3435
3436 .click-to-play-plugins-notification-content {
3437   width: 28em;
3438 }
3439
3440 .click-to-play-plugins-notification-center-box {
3441 }
3442
3443 .plugin-popupnotification-centeritem:nth-child(odd) {
3444 /*  background-color: rgba(0,0,0,0.1);*/
3445 }
3446
3447 .center-item-label {
3448   margin-bottom: 0;
3449   text-overflow: ellipsis;
3450 }
3451
3452 .center-item-warning-icon {
3453   background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
3454   background-repeat: no-repeat;
3455   width: 16px;
3456   height: 15px;
3457   -moz-margin-start: 6px;
3458 }
3459
3460 .click-to-play-plugins-notification-button-container {
3461 }
3462
3463 .click-to-play-popup-button {
3464   width: 50%;
3465 }
3466
3467 .click-to-play-plugins-notification-description-box {
3468   margin-left: 5px;
3469   margin-right: 5px;
3470   margin-top: 0;
3471   padding-bottom: 3px;
3472 }
3473
3474 .click-to-play-plugins-outer-description {
3475   margin-top: 1px;
3476 }
3477
3478 .click-to-play-plugins-notification-link,
3479 .center-item-link {
3480   margin: 0;
3481 }
3482
3483 /* === END plugin-doorhanger.inc.css === */
3484
3485 #main-window[privatebrowsingmode=temporary] #toolbar-menubar {
3486   background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
3487   background-position: top right;
3488   background-repeat: no-repeat;
3489 }
3490
3491 #main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
3492   background-position: top left;
3493 }
3494
3495 #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon {
3496   list-style-image: url("chrome://browser/skin/privatebrowsing-light.png");
3497   width: 20px;
3498   height: 16px;
3499 }