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