second and final part of syncing LCARStrek with Firefox 37 windows theme changes
[themes.git] / LCARStrek / browser / browser.css
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 @import url("chrome://global/skin/");
6 @import url("downloads/indicator.css");
7
8 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9 @namespace html url("http://www.w3.org/1999/xhtml");
10 @namespace svg url("http://www.w3.org/2000/svg");
11
12 toolbar {
13   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
14 }
15
16 toolbar[customizable="true"] {
17   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18 }
19
20 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
21   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
22   toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23     -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
24   }
25 }
26
27 toolbar[type="menubar"][autohide="true"] {
28   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
29 }
30
31 #toolbar-menubar[autohide="true"] {
32   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
33 }
34
35 menubar {
36   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
37 }
38
39 :root {
40   --verified-identity-box-backgroundcolor: #000000;
41 }
42
43 #menubar-items {
44   -moz-box-orient: vertical; /* for flex hack */
45 }
46
47 #main-menubar {
48   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
49 }
50
51 /* ::::: primary toolbar ::::: */
52
53 .toolbar-primary > .toolbar-box > .toolbar-holder {
54   background-color: #A09090;
55 }
56
57 .toolbar-primary > .toolbar-box > .toolbar-startcap,
58 .toolbar-primary > .toolbar-box > .toolbar-endcap {
59   background-color: #9C9CFF;
60 }
61
62 /* Hides the titlebar-placeholder underneath the window caption buttons when we
63    are not autohiding the menubar. */
64 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
65   display: none;
66 }
67
68 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
69    toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
70    of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
71 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
72 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
73 /*  margin-top: 3px;*/
74 }
75
76 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
77 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
78 /*  margin-top: 15px;*/
79 }
80
81 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
82   /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
83   #toolbar-menubar:not([autohide="true"]) {
84     -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
85   }
86 }
87
88 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
89   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
90   #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
91     padding-left: 60px;
92   }
93 }
94
95 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
96   /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
97   display: none;
98 }
99
100 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
101 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
102 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
103 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
104   outline-color: #A09090;
105 }
106
107 #navigator-toolbox {
108 }
109
110 #navigator-toolbox::after {
111   content: "";
112   display: -moz-box;
113   -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
114   height: 1px;
115 }
116
117 #navigator-toolbox > toolbar {
118 }
119
120 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
121 }
122
123 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
124   overflow: -moz-hidden-unscrollable;
125   max-height: 4em;
126   transition: min-height 170ms ease-out, max-height 170ms ease-out;
127 }
128
129 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
130   min-height: 0.1px;
131   max-height: 0;
132   transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
133 }
134
135 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
136   /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
137   /* Indent also due to non-applicable aero rule in original Windows theme. */
138   #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
139   #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
140     /* like menubar */
141     background-color: #6000CF;
142     color: #FF9F00;
143   }
144
145   #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
146   #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
147     background-color: #8050B0;
148     color: #FF9F00;
149   }
150
151   #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
152     /*color: inherit;*/
153   }
154
155   #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
156     visibility: hidden;
157   }
158
159   #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
160     -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
161     visibility: visible;
162   }
163 }
164
165 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
166   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
167   #titlebar-buttonbox > .titlebar-button {
168     display: none;
169   }
170 }
171
172 #nav-bar {
173   /* Position the toolbar above the bottom of background tabs */
174   position: relative;
175   z-index: 1;
176 }
177
178 #personal-bookmarks {
179 /*  min-height: 24px; */
180 }
181
182 #print-preview-toolbar:not(:-moz-lwtheme) {
183   /* -moz-appearance: toolbox; */
184 }
185
186 #browser-bottombox:not(:-moz-lwtheme) {
187 }
188
189 /* ::::: titlebar ::::: */
190
191 #titlebar {
192   /* like menubar */
193   background-color: #6000CF;
194   color: #FF9F00;
195 }
196 #titlebar:-moz-window-inactive {
197   background-color: #8050B0;
198   color: #FF9F00;
199 }
200
201 #main-window[sizemode="normal"] > #titlebar {
202   margin-top: -3px;
203   margin-bottom: 3px;
204 }
205
206 #main-window[sizemode="maximized"] > #titlebar {
207   margin-top: 4px;
208 }
209
210 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
211   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
212   #main-window[sizemode="normal"] > #titlebar,
213   #main-window[sizemode="maximized"] > #titlebar {
214     margin-top: 19px;
215     /* There is a margin-bottom set to -23 by code. */
216   }
217 }
218
219 /* The button box must appear on top of the navigator-toolbox in order for
220  * click and hover mouse events to work properly for the button in the restored
221  * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
222  * can swallow those events. It will also place the buttons above the fog on
223  * themes with Aero Glass.
224  */
225 #titlebar-buttonbox,
226 #main-window[sizemode="maximized"] #titlebar-buttonbox {
227   -moz-appearance: none;
228   margin-top: 6px;
229   margin-top: 4px;
230   -moz-margin-end: 3px;
231   z-index: 1;
232 }
233
234 .titlebar-placeholder[type="appmenu-button"] {
235   margin-left: 4px;
236 }
237
238 .titlebar-placeholder[type="caption-buttons"] {
239   margin-left: 10px;
240 }
241
242 /* titlebar command buttons */
243
244 #titlebar-min {
245   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
246 }
247
248 #titlebar-min:hover {
249   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
250 }
251
252 #titlebar-max {
253   list-style-image: url("chrome://browser/skin/win-maximize.gif");
254 }
255
256 #titlebar-max:hover {
257   list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
258 }
259
260 #main-window[sizemode="maximized"] #titlebar-max {
261   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
262 }
263
264 #main-window[sizemode="maximized"] #titlebar-max:hover {
265   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
266 }
267
268 #titlebar-close {
269   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
270 }
271
272 #titlebar-close:hover {
273   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
274 }
275
276 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
277   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
278   #titlebar-fullscreen-button {
279     -moz-appearance: none;
280     list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
281     -moz-image-region: rect(0px, 16px, 16px, 0px);
282   }
283
284   #titlebar-fullscreen-button:hover {
285     -moz-image-region: rect(0px, 32px, 16px, 16px);
286   }
287
288   @media (min-resolution: 2dppx) {
289     #titlebar-fullscreen-button {
290       list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
291       -moz-image-region: rect(0px, 32px, 32px, 0px);
292     }
293
294     #titlebar-fullscreen-button:hover {
295       -moz-image-region: rect(0px, 64px, 32px, 32px);
296     }
297   }
298 }
299
300
301 /* ::::: bookmark buttons ::::: */
302
303 toolbarbutton.bookmark-item:not(.subviewbutton),
304 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
305 /*  margin: 0;
306   padding: 2px 3px;*/
307 }
308
309 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
310 toolbarbutton.bookmark-item[open="true"] {
311 /*  padding-top: 3px;
312   padding-bottom: 1px;
313   -moz-padding-start: 4px;
314   -moz-padding-end: 2px;*/
315 }
316
317 .bookmark-item > .toolbarbutton-icon,
318 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
319   width: 16px;
320   height: 16px;
321   -moz-margin-start: 1px;
322   -moz-margin-end: 2px;
323 }
324
325 /* Force the display of the label for bookmarks */
326 .bookmark-item > .toolbarbutton-text,
327 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
328   display: -moz-box !important;
329 }
330
331 .bookmark-item > .toolbarbutton-menu-dropmarker {
332   display: none;
333 }
334
335 #bookmarks-toolbar-placeholder {
336   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
337 }
338
339 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
340 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
341   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
342 }
343
344 /* ----- BOOKMARK STAR ANIMATION ----- */
345
346 @keyframes animation-bookmarkAdded {
347   from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
348   60%  { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
349   80%  { opacity: 1; }
350   to   { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
351 }
352
353 @keyframes animation-bookmarkPulse {
354   from { transform: scale(1); }
355   50%  { transform: scale(1.3); }
356   to   { transform: scale(1); }
357 }
358
359 #bookmarked-notification-container {
360   min-height: 1px;
361   min-width: 1px;
362   height: 1px;
363   margin-bottom: -1px;
364   z-index: 5;
365   position: relative;
366 }
367
368 #bookmarked-notification {
369   background-size: 16px;
370   background-position: center;
371   background-repeat: no-repeat;
372   width: 16px;
373   height: 16px;
374   opacity: 0;
375 }
376
377 #bookmarked-notification-dropmarker-anchor {
378   z-index: -1;
379   position: relative;
380 }
381
382 #bookmarked-notification-dropmarker-icon {
383   width: 18px;
384   height: 18px;
385   visibility: hidden;
386 }
387
388 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
389   background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
390   animation: animation-bookmarkAdded 800ms;
391   animation-timing-function: ease, ease, ease;
392 }
393
394 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
395   list-style-image: none !important;
396 }
397
398 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
399   visibility: visible;
400   animation: animation-bookmarkPulse 300ms;
401   animation-delay: 600ms;
402   animation-timing-function: ease-out;
403 }
404
405 /* ::::: bookmark menus ::::: */
406
407 menu.bookmark-item,
408 menuitem.bookmark-item {
409   min-width: 0;
410   max-width: 32em;
411 }
412
413 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
414   margin-top: 0;
415   margin-bottom: 0;
416 }
417
418 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
419   -moz-padding-start: 0px;
420 }
421
422 /* ::::: bookmark items ::::: */
423
424 .bookmark-item  {
425   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
426   -moz-image-region: auto;
427 }
428
429 .bookmark-item[container] {
430   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
431   -moz-image-region: auto;
432 }
433
434 .bookmark-item[container][open] {
435   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
436   -moz-image-region: auto;
437 }
438
439 .bookmark-item[container][livemark] {
440   list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
441   -moz-image-region: auto;
442 }
443
444 .bookmark-item[container][livemark] .bookmark-item {
445   list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
446   -moz-image-region: rect(0px, 16px, 16px, 0px);
447 }
448
449 .bookmark-item[container][livemark] .bookmark-item[visited] {
450   -moz-image-region: rect(0px, 32px, 16px, 16px);
451 }
452
453 .bookmark-item[container][query] {
454   list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
455   -moz-image-region: auto;
456 }
457
458 .bookmark-item[query][tagContainer] {
459   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
460   -moz-image-region: auto;
461 }
462
463 .bookmark-item[query][dayContainer] {
464   list-style-image: url("chrome://communicator/skin/history/calendar.png");
465   -moz-image-region: auto;
466 }
467
468 .bookmark-item[query][hostContainer] {
469   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
470   -moz-image-region: auto;
471 }
472
473 .bookmark-item[query][hostContainer][open] {
474   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
475   -moz-image-region: auto;
476 }
477
478 .bookmark-item[cutting] > .toolbarbutton-icon,
479 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
480   opacity: 0.5;
481 }
482
483 .bookmark-item[cutting] > .toolbarbutton-text,
484 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
485   opacity: 0.7;
486 }
487
488 /* ::::: primary toolbar buttons ::::: */
489
490 /* === BEGIN toolbarbuttons.inc.css === */
491
492 /* Whole section of this included file: */
493 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
494           #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
495           #social-share-button, #open-file-button, #find-button, #developer-button,
496           #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
497           #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
498           #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
499           #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button),
500
501 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
502   list-style-image: url("chrome://browser/skin/ToolbarFx.png");
503 }
504
505 #back-button {
506   -moz-image-region: rect(0, 36px, 18px, 18px);
507 }
508
509 #back-button:hover:not([disabled="true"]) {
510   -moz-image-region: rect(18px, 36px, 36px, 18px);
511 }
512
513 #back-button[disabled="true"] {
514   -moz-image-region: rect(36px, 36px, 54px, 18px);
515 }
516
517 #forward-button {
518   -moz-image-region: rect(0, 72px, 18px, 54px);
519 }
520
521 #forward-button:hover:not([disabled="true"]) {
522   -moz-image-region: rect(18px, 72px, 36px, 54px);
523 }
524
525 #forward-button[disabled="true"] {
526   -moz-image-region: rect(36px, 72px, 54px, 54px);
527 }
528
529 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
530 #forward-button:-moz-locale-dir(rtl) {
531   transform: scaleX(-1);
532 }
533
534 #home-button[cui-areatype="toolbar"] {
535   -moz-image-region: rect(0, 126px, 18px, 108px);
536 }
537
538 #home-button[cui-areatype="toolbar"]:hover {
539   -moz-image-region: rect(18px, 126px, 36px, 108px);
540 }
541
542 #bookmarks-menu-button[cui-areatype="toolbar"] {
543   -moz-image-region: rect(0, 144px, 18px, 126px);
544 }
545
546 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
547 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
548   -moz-image-region: rect(18px, 144px, 36px, 126px);
549 }
550
551 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
552 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
553   -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
554   background-color: transparent !important;
555 }
556
557 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
558   -moz-image-region: rect(0, 162px, 18px, 144px);
559 }
560
561 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
562 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
563 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
564   /* When starred and clicked (for edit/delete dialog),
565    * then only the menubutton-button itself is open, but not the whole menubutton. */
566   -moz-image-region: rect(18px, 162px, 36px, 144px);
567 }
568
569 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
570   -moz-image-region: rect(0, 630px, 18px, 612px);
571 }
572
573 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
574   padding: 1px;
575   -moz-box-align: center;
576 }
577
578 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
579 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
580   -moz-image-region: rect(18px, 630px, 36px, 612px);
581 }
582
583 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
584 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
585   padding-top: 2px;
586   padding-bottom: 0px;
587   -moz-padding-start: 2px;
588   -moz-padding-end: 0px;
589 }
590
591 #history-panelmenu[cui-areatype="toolbar"] {
592   -moz-image-region: rect(0, 180px, 18px, 162px);
593 }
594
595 #history-panelmenu[cui-areatype="toolbar"]:hover,
596 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
597   -moz-image-region: rect(18px, 180px, 36px, 162px);
598 }
599
600 #downloads-button[cui-areatype="toolbar"] {
601   -moz-image-region: rect(0, 198px, 18px, 180px);
602 }
603
604 #downloads-button[cui-areatype="toolbar"]:hover,
605 #downloads-button[cui-areatype="toolbar"][open="true"] {
606   -moz-image-region: rect(18px, 198px, 36px, 180px);
607 }
608
609 #add-ons-button[cui-areatype="toolbar"] {
610   -moz-image-region: rect(0, 216px, 18px, 198px);
611 }
612
613 #add-ons-button[cui-areatype="toolbar"]:hover {
614   -moz-image-region: rect(18px, 216px, 36px, 198px);
615 }
616
617 #open-file-button[cui-areatype="toolbar"] {
618   -moz-image-region: rect(0, 234px, 18px, 216px);
619 }
620
621 #open-file-button[cui-areatype="toolbar"]:hover {
622   -moz-image-region: rect(18px, 234px, 36px, 216px);
623 }
624
625 #save-page-button[cui-areatype="toolbar"] {
626   -moz-image-region: rect(0, 252px, 18px, 234px);
627 }
628
629 #save-page-button[cui-areatype="toolbar"]:hover {
630   -moz-image-region: rect(18px, 252px, 36px, 234px);
631 }
632
633 #sync-button[cui-areatype="toolbar"] {
634   -moz-image-region: rect(0, 270px, 18px, 252px);
635 }
636
637 #sync-button[cui-areatype="toolbar"]:hover {
638   -moz-image-region: rect(18px, 270px, 36px, 252px);
639 }
640
641 #sync-button[cui-areatype="toolbar"][status="active"],
642 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
643   list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
644   -moz-image-region: rect(0, 18px, 18px, 0px);
645 }
646
647 /*
648 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
649 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
650   list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
651 }
652 */
653
654 #feed-button[cui-areatype="toolbar"] {
655   -moz-image-region: rect(0, 288px, 18px, 270px);
656 }
657
658 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
659   -moz-image-region: rect(18px, 288px, 36px, 270px);
660 }
661
662 #feed-button[cui-areatype="toolbar"][disabled="true"] {
663   -moz-image-region: rect(36px, 288px, 54px, 270px);
664 }
665
666 #social-share-button[cui-areatype="toolbar"] {
667   -moz-image-region: rect(0px, 306px, 18px, 288px);
668 }
669
670 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
671 #social-share-button[cui-areatype="toolbar"][open="true"] {
672   -moz-image-region: rect(18px, 306px, 36px, 288px);
673 }
674
675 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
676   -moz-image-region: rect(36px, 306px, 54px, 288px);
677 }
678
679 #characterencoding-button[cui-areatype="toolbar"] {
680   -moz-image-region: rect(0, 324px, 18px, 306px);
681 }
682
683 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
684 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
685   -moz-image-region: rect(18px, 324px, 36px, 306px);
686 }
687
688 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
689   -moz-image-region: rect(36px, 324px, 54px, 306px);
690 }
691
692 #new-window-button[cui-areatype="toolbar"] {
693   -moz-image-region: rect(0, 342px, 18px, 324px);
694 }
695
696 #new-window-button[cui-areatype="toolbar"]:hover {
697   -moz-image-region: rect(18px, 342px, 36px, 324px);
698 }
699
700 #e10s-button[cui-areatype="toolbar"] {
701   -moz-image-region: rect(0, 342px, 18px, 324px);
702 }
703
704 #e10s-button[cui-areatype="toolbar"]:hover {
705   -moz-image-region: rect(18px, 342px, 36px, 324px);
706 }
707
708 #e10s-button > .toolbarbutton-icon {
709   transform: scaleY(-1);
710 }
711
712 #new-tab-button[cui-areatype="toolbar"] {
713   -moz-image-region: rect(0, 360px, 18px, 342px);
714 }
715
716 #new-tab-button[cui-areatype="toolbar"]:hover {
717   -moz-image-region: rect(18px, 360px, 36px, 342px);
718 }
719
720 #privatebrowsing-button[cui-areatype="toolbar"] {
721   -moz-image-region: rect(0, 378px, 18px, 360px);
722 }
723
724 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
725   -moz-image-region: rect(18px, 378px, 36px, 360px);
726 }
727
728 #find-button[cui-areatype="toolbar"] {
729   -moz-image-region: rect(0, 396px, 18px, 378px);
730 }
731
732 #find-button[cui-areatype="toolbar"]:hover {
733   -moz-image-region: rect(18px, 396px, 36px, 378px);
734 }
735
736 #print-button[cui-areatype="toolbar"] {
737   -moz-image-region: rect(0, 414px, 18px, 396px);
738 }
739
740 #print-button[cui-areatype="toolbar"]:hover {
741   -moz-image-region: rect(18px, 414px, 36px, 396px);
742 }
743
744 #fullscreen-button[cui-areatype="toolbar"] {
745   -moz-image-region: rect(0, 432px, 18px, 414px);
746 }
747
748 #fullscreen-button[cui-areatype="toolbar"]:hover {
749   -moz-image-region: rect(18px, 432px, 36px, 414px);
750 }
751
752 #developer-button[cui-areatype="toolbar"] {
753   -moz-image-region: rect(0, 450px, 18px, 432px);
754 }
755
756 #developer-button[cui-areatype="toolbar"]:hover,
757 #developer-button[cui-areatype="toolbar"][open="true"] {
758   -moz-image-region: rect(18px, 450px, 36px, 432px);
759 }
760
761 #preferences-button[cui-areatype="toolbar"] {
762   -moz-image-region: rect(0, 468px, 18px, 450px);
763 }
764
765 #preferences-button[cui-areatype="toolbar"]:hover {
766   -moz-image-region: rect(18px, 468px, 36px, 450px);
767 }
768
769 #PanelUI-menu-button {
770   -moz-image-region: rect(0, 486px, 18px, 468px);
771 }
772
773 #PanelUI-menu-button:hover,
774 #PanelUI-menu-button[open="true"] {
775   -moz-image-region: rect(18px, 486px, 36px, 468px);
776 }
777
778 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
779   -moz-image-region: rect(0, 504px, 18px, 486px);
780 }
781
782 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
783   -moz-image-region: rect(18px, 504px, 36px, 486px);
784 }
785
786 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
787   -moz-image-region: rect(36px, 504px, 54px, 486px);
788 }
789
790 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
791   -moz-image-region: rect(0, 522px, 18px, 504px);
792 }
793
794 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
795   -moz-image-region: rect(18px, 522px, 36px, 504px);
796 }
797
798 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
799   -moz-image-region: rect(36px, 522px, 54px, 504px);
800 }
801
802 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
803   -moz-image-region: rect(0, 540px, 18px, 522px);
804 }
805
806 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
807   -moz-image-region: rect(18px, 540px, 36px, 522px);
808 }
809
810 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
811   -moz-image-region: rect(36px, 540px, 54px, 522px);
812 }
813
814 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
815   -moz-image-region: rect(0, 558px, 18px, 540px);
816 }
817
818 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
819   -moz-image-region: rect(18px, 558px, 36px, 540px);
820 }
821
822 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
823   -moz-image-region: rect(36px, 558px, 54px, 540px);
824 }
825
826 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
827   -moz-image-region: rect(0, 576px, 18px, 558px);
828 }
829
830 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
831   -moz-image-region: rect(18px, 576px, 36px, 558px);
832 }
833
834 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
835   -moz-image-region: rect(36px, 576px, 54px, 558px);
836 }
837
838 #nav-bar-overflow-button {
839   -moz-image-region: rect(0, 612px, 18px, 594px);
840 }
841
842 #nav-bar-overflow-button:hover,
843 #nav-bar-overflow-button[open="true"] {
844   -moz-image-region: rect(18px, 612px, 36px, 594px);
845 }
846
847 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
848   transform: scaleX(-1);
849 }
850
851 #tabview-button {
852   -moz-image-region: rect(0, 648px, 18px, 630px);
853 }
854
855 #tabview-button:hover {
856   -moz-image-region: rect(18px, 648px, 36px, 630px);
857 }
858
859 #email-link-button[cui-areatype="toolbar"] {
860   -moz-image-region: rect(0, 666px, 18px, 648px);
861 }
862
863 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
864   -moz-image-region: rect(18px, 666px, 36px, 648px);
865 }
866
867 #email-button[cui-areatype="toolbar"][disabled="true"] {
868   -moz-image-region: rect(36px, 666px, 54px, 648px);
869 }
870
871 #sidebar-button[cui-areatype="toolbar"] {
872   -moz-image-region: rect(0, 684px, 18px, 666px);
873 }
874
875 #sidebar-button[cui-areatype="toolbar"]:hover {
876   -moz-image-region: rect(18px, 684px, 36px, 666px);
877 }
878
879 #panic-button[cui-areatype="toolbar"] {
880   -moz-image-region: rect(0, 702px, 18px, 684px);
881 }
882
883 #panic-button[cui-areatype="toolbar"]:hover,
884 #panic-button[cui-areatype="toolbar"][open] {
885   -moz-image-region: rect(18px, 702px, 36px, 684px);
886 }
887
888 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
889   transform: scaleX(-1);
890 }
891
892 #web-apps-button[cui-areatype="toolbar"] {
893   -moz-image-region: rect(0, 720px, 18px, 702px);
894 }
895
896 #web-apps-button[cui-areatype="toolbar"]:hover {
897   -moz-image-region: rect(18px, 720px, 36px, 702px);
898 }
899
900 #loop-button-throttled > .toolbarbutton-badge-container,
901 #loop-button > .toolbarbutton-badge-container {
902   list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
903   -moz-image-region: rect(0, 18px, 18px, 0);
904 }
905
906 #loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
907 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
908   -moz-image-region: rect(0, 90px, 18px, 72px);
909 }
910
911 #loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container,
912 #loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container,
913 #loop-button[state="disabled"] > .toolbarbutton-badge-container,
914 #loop-button[disabled="true"] > .toolbarbutton-badge-container {
915   -moz-image-region: rect(0, 36px, 18px, 18px);
916 }
917
918 #loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
919 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
920   -moz-image-region: rect(0, 126px, 18px, 108px);
921 }
922
923 #loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
924 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
925   -moz-image-region: rect(0, 54px, 18px, 36px);
926 }
927
928 #loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
929 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
930   -moz-image-region: rect(0, 72px, 18px, 54px);
931 }
932
933 #loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
934 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
935   -moz-image-region: rect(0, 108px, 18px, 90px);
936 }
937
938 #webide-button[cui-areatype="toolbar"] {
939   -moz-image-region: rect(0, 738px, 18px, 720px);
940 }
941
942 #webide-button[cui-areatype="toolbar"]:hover {
943   -moz-image-region: rect(18px, 738px, 36px, 720px);
944 }
945
946 /* === END toolbarbuttons.inc.css === */
947
948 /* === BEGIN menupanel.inc.css === */
949
950 /* Menu panel and palette styles */
951
952 :root {
953    /* avoid aero overrides with changed filenames */
954   --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
955   --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
956 }
957
958 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
959 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
960           #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
961           #social-share-button, #open-file-button, #find-button, #developer-button,
962           #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
963           #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
964           #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
965           #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[cui-areatype="menu-panel"],
966 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
967           #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
968           #social-share-button, #open-file-button, #find-button, #developer-button,
969           #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
970           #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
971           #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
972           #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) {
973   list-style-image: var(--menupanel-list-style-image);
974 }
975
976 #home-button[cui-areatype="menu-panel"],
977 toolbarpaletteitem[place="palette"] > #home-button {
978   -moz-image-region: rect(0px, 128px, 32px, 96px);
979 }
980
981 #home-button[cui-areatype="menu-panel"]:hover,
982 toolbarpaletteitem[place="palette"] > #home-button:hover {
983   -moz-image-region: rect(32px, 128px, 64px, 96px);
984 }
985
986 #bookmarks-menu-button[cui-areatype="menu-panel"],
987 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
988   -moz-image-region: rect(0px, 192px, 32px, 160px);
989 }
990
991 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
992 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
993   -moz-image-region: rect(32px, 192px, 64px, 160px);
994 }
995
996 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
997   -moz-image-region: rect(32px, 192px, 64px, 160px);
998 }
999
1000 #history-panelmenu[cui-areatype="menu-panel"],
1001 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1002   -moz-image-region: rect(0px, 224px, 32px, 192px);
1003 }
1004
1005 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1006 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1007   -moz-image-region: rect(32px, 224px, 64px, 192px);
1008 }
1009
1010 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1011   -moz-image-region: rect(32px, 224px, 64px, 192px);
1012 }
1013
1014 #downloads-button[cui-areatype="menu-panel"],
1015 toolbarpaletteitem[place="palette"] > #downloads-button {
1016   -moz-image-region: rect(0px, 256px, 32px, 224px);
1017 }
1018
1019 #downloads-button[cui-areatype="menu-panel"]:hover,
1020 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1021   -moz-image-region: rect(32px, 256px, 64px, 224px);
1022 }
1023
1024 #add-ons-button[cui-areatype="menu-panel"],
1025 toolbarpaletteitem[place="palette"] > #add-ons-button {
1026   -moz-image-region: rect(0px, 288px, 32px, 256px);
1027 }
1028
1029 #add-ons-button[cui-areatype="menu-panel"]:hover,
1030 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1031   -moz-image-region: rect(32px, 288px, 64px, 256px);
1032 }
1033
1034 #open-file-button[cui-areatype="menu-panel"],
1035 toolbarpaletteitem[place="palette"] > #open-file-button {
1036   -moz-image-region: rect(0px, 320px, 32px, 288px);
1037 }
1038
1039 #open-file-button[cui-areatype="menu-panel"]:hover,
1040 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1041   -moz-image-region: rect(32px, 320px, 64px, 288px);
1042 }
1043
1044 #save-page-button[cui-areatype="menu-panel"],
1045 toolbarpaletteitem[place="palette"] > #save-page-button {
1046   -moz-image-region: rect(0px, 352px, 32px, 320px);
1047 }
1048
1049 #save-page-button[cui-areatype="menu-panel"]:hover,
1050 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1051   -moz-image-region: rect(32px, 352px, 64px, 320px);
1052 }
1053
1054 #sync-button[cui-areatype="menu-panel"],
1055 toolbarpaletteitem[place="palette"] > #sync-button {
1056   -moz-image-region: rect(0px, 384px, 32px, 352px);
1057 }
1058
1059 #sync-button[cui-areatype="menu-panel"]:hover,
1060 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1061   -moz-image-region: rect(32px, 384px, 64px, 352px);
1062 }
1063
1064 #sync-button[cui-areatype="menu-panel"][status="active"] {
1065   list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1066   -moz-image-region: rect(0px, 32px, 32px, 0px);
1067 }
1068
1069 #feed-button[cui-areatype="menu-panel"],
1070 toolbarpaletteitem[place="palette"] > #feed-button {
1071   -moz-image-region: rect(0px, 416px, 32px, 384px);
1072 }
1073
1074 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1075 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1076   -moz-image-region: rect(32px, 416px, 64px, 384px);
1077 }
1078
1079 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1080 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1081   -moz-image-region: rect(64px, 416px, 96px, 384px);
1082 }
1083
1084 #social-share-button[cui-areatype="menu-panel"],
1085 toolbarpaletteitem[place="palette"] > #social-share-button {
1086   -moz-image-region: rect(0px, 448px, 32px, 416px);
1087 }
1088
1089 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1090 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1091   -moz-image-region: rect(32px, 448px, 64px, 416px);
1092 }
1093
1094 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1095 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1096   -moz-image-region: rect(64px, 448px, 96px, 416px);
1097 }
1098
1099 #characterencoding-button[cui-areatype="menu-panel"],
1100 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1101   -moz-image-region: rect(0px, 480px, 32px, 448px);
1102 }
1103
1104 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1105 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1106   -moz-image-region: rect(32px, 480px, 64px, 448px);
1107 }
1108
1109 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1110 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1111   -moz-image-region: rect(64px, 480px, 96px, 448px);
1112 }
1113
1114 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1115   -moz-image-region: rect(32px, 480px, 64px, 448px);
1116 }
1117
1118 #new-window-button[cui-areatype="menu-panel"],
1119 toolbarpaletteitem[place="palette"] > #new-window-button {
1120   -moz-image-region: rect(0px, 512px, 32px, 480px);
1121 }
1122
1123 #new-window-button[cui-areatype="menu-panel"]:hover,
1124 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1125   -moz-image-region: rect(32px, 512px, 64px, 480px);
1126 }
1127
1128 #e10s-button[cui-areatype="menu-panel"],
1129 toolbarpaletteitem[place="palette"] > #e10s-button {
1130   -moz-image-region: rect(0px, 512px, 32px, 480px);
1131 }
1132
1133 #e10s-button[cui-areatype="menu-panel"]:hover,
1134 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1135   -moz-image-region: rect(32px, 512px, 64px, 480px);
1136 }
1137
1138 #new-tab-button[cui-areatype="menu-panel"],
1139 toolbarpaletteitem[place="palette"] > #new-tab-button {
1140   -moz-image-region: rect(0px, 544px, 32px, 512px);
1141 }
1142
1143 #new-tab-button[cui-areatype="menu-panel"]:hover,
1144 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1145   -moz-image-region: rect(32px, 544px, 64px, 512px);
1146 }
1147
1148 #privatebrowsing-button[cui-areatype="menu-panel"],
1149 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1150   -moz-image-region: rect(0px, 576px, 32px, 544px);
1151 }
1152
1153 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1154 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1155   -moz-image-region: rect(32px, 576px, 64px, 544px);
1156 }
1157
1158 #tabview-button[cui-areatype="menu-panel"],
1159 toolbarpaletteitem[place="palette"] > #tabview-button {
1160   -moz-image-region: rect(0px, 608px, 32px, 576px);
1161 }
1162
1163 #tabview-button[cui-areatype="menu-panel"]:hover,
1164 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1165   -moz-image-region: rect(32px, 608px, 64px, 576px);
1166 }
1167
1168 #find-button[cui-areatype="menu-panel"],
1169 toolbarpaletteitem[place="palette"] > #find-button {
1170   -moz-image-region: rect(0px, 640px, 32px, 608px);
1171 }
1172
1173 #find-button[cui-areatype="menu-panel"]:hover,
1174 toolbarpaletteitem[place="palette"] > #find-button:hover {
1175   -moz-image-region: rect(32px, 640px, 64px, 608px);
1176 }
1177
1178 #print-button[cui-areatype="menu-panel"],
1179 toolbarpaletteitem[place="palette"] > #print-button {
1180   -moz-image-region: rect(0px, 672px, 32px, 640px);
1181 }
1182
1183 #print-button[cui-areatype="menu-panel"]:hover,
1184 toolbarpaletteitem[place="palette"] > #print-button:hover {
1185   -moz-image-region: rect(32px, 672px, 64px, 640px);
1186 }
1187
1188 #fullscreen-button[cui-areatype="menu-panel"],
1189 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1190   -moz-image-region: rect(0px, 704px, 32px, 672px);
1191 }
1192
1193 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1194 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1195   -moz-image-region: rect(32px, 704px, 64px, 672px);
1196 }
1197
1198 #developer-button[cui-areatype="menu-panel"],
1199 toolbarpaletteitem[place="palette"] > #developer-button {
1200   -moz-image-region: rect(0px, 736px, 32px, 704px);
1201 }
1202
1203 #developer-button[cui-areatype="menu-panel"]:hover,
1204 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1205   -moz-image-region: rect(32px, 736px, 64px, 704px);
1206 }
1207
1208 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1209   -moz-image-region: rect(32px, 736px, 64px, 704px);
1210 }
1211
1212 #preferences-button[cui-areatype="menu-panel"],
1213 toolbarpaletteitem[place="palette"] > #preferences-button {
1214   -moz-image-region: rect(0px, 768px, 32px, 736px);
1215 }
1216
1217 #preferences-button[cui-areatype="menu-panel"]:hover,
1218 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1219   -moz-image-region: rect(32px, 768px, 64px, 736px);
1220 }
1221
1222 #email-link-button[cui-areatype="menu-panel"],
1223 toolbarpaletteitem[place="palette"] > #email-link-button {
1224   -moz-image-region: rect(0, 800px, 32px, 768px);
1225 }
1226
1227 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1228 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1229   -moz-image-region: rect(32px, 800px, 64px, 768px);
1230 }
1231
1232 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1233 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1234   -moz-image-region: rect(64px, 800px, 96px, 768px);
1235 }
1236
1237 #sidebar-button[cui-areatype="menu-panel"],
1238 toolbarpaletteitem[place="palette"] > #sidebar-button {
1239   -moz-image-region: rect(0, 864px, 32px, 832px);
1240 }
1241
1242 #sidebar-button[cui-areatype="menu-panel"]:hover,
1243 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1244 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1245   -moz-image-region: rect(32px, 864px, 64px, 832px);
1246 }
1247
1248 #panic-button[cui-areatype="menu-panel"],
1249 toolbarpaletteitem[place="palette"] > #panic-button {
1250   -moz-image-region: rect(0, 896px, 32px, 864px);
1251 }
1252
1253 #panic-button[cui-areatype="menu-panel"]:hover,
1254 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1255 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1256   -moz-image-region: rect(32px, 896px, 64px, 864px);
1257 }
1258
1259 #web-apps-button[cui-areatype="menu-panel"],
1260 toolbarpaletteitem[place="palette"] > #web-apps-button {
1261   -moz-image-region: rect(0, 928px, 32px, 896px);
1262 }
1263
1264 #web-apps-button[cui-areatype="menu-panel"]:hover,
1265 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1266   -moz-image-region: rect(32px, 928px, 64px, 896px);
1267 }
1268
1269 #webide-button[cui-areatype="menu-panel"],
1270 toolbarpaletteitem[place="palette"] > #webide-button {
1271   -moz-image-region: rect(0px, 960px, 32px, 928px);
1272 }
1273
1274 #webide-button[cui-areatype="menu-panel"]:hover,
1275 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1276   -moz-image-region: rect(32px, 960px, 64px, 928px);
1277 }
1278
1279 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1280   -moz-image-region: rect(0, 832px, 32px, 800px);
1281 }
1282
1283 #loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1284 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1285 #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1286 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1287   list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1288   -moz-image-region: rect(0, 32px, 32px, 0);
1289 }
1290
1291 /* Make sure that the state icons are not shown in the customization palette. */
1292 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1293 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1294   -moz-image-region: rect(0, 32px, 32px, 0) !important;
1295 }
1296
1297 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1298 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1299   -moz-image-region: rect(0, 160px, 32px, 128px);
1300 }
1301
1302 #loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1303 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container,
1304 #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1305 #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1306   -moz-image-region: rect(0, 64px, 32px, 32px);
1307 }
1308
1309 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1310 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1311   -moz-image-region: rect(0, 224px, 32px, 192px);
1312 }
1313
1314 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
1315 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1316   -moz-image-region: rect(0, 96px, 32px, 64px);
1317 }
1318
1319 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
1320 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1321   -moz-image-region: rect(0, 128px, 32px, 96px);
1322 }
1323
1324 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
1325 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1326   -moz-image-region: rect(0, 192px, 32px, 160px);
1327 }
1328
1329 /* Wide panel control icons */
1330
1331 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1332 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1333 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1334 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1335   list-style-image: var(--menupanel-small-list-style-image);
1336 }
1337
1338 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1339 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1340   -moz-image-region: rect(0px, 32px, 16px, 16px);
1341 }
1342
1343 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1344 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1345   -moz-image-region: rect(16px, 32px, 32px, 16px);
1346 }
1347
1348 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1349 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1350   -moz-image-region: rect(32px, 32px, 48px, 16px);
1351 }
1352
1353 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1354 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1355   -moz-image-region: rect(0px, 48px, 16px, 32px);
1356 }
1357
1358 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1359 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1360   -moz-image-region: rect(16px, 48px, 32px, 32px);
1361 }
1362
1363 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1364 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1365   -moz-image-region: rect(32px, 48px, 48px, 32px);
1366 }
1367
1368 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1369 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1370   -moz-image-region: rect(0px, 64px, 16px, 48px);
1371 }
1372
1373 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1374 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1375   -moz-image-region: rect(16px, 64px, 32px, 48px);
1376 }
1377
1378 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1379 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1380   -moz-image-region: rect(32px, 64px, 48px, 48px);
1381 }
1382
1383 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1384 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1385   -moz-image-region: rect(0px, 80px, 16px, 64px);
1386 }
1387
1388 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1389 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1390   -moz-image-region: rect(16px, 80px, 32px, 64px);
1391 }
1392
1393 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1394 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1395   -moz-image-region: rect(32px, 80px, 48px, 64px);
1396 }
1397
1398 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1399 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1400   -moz-image-region: rect(0px, 96px, 16px, 80px);
1401 }
1402
1403 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1404 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1405   -moz-image-region: rect(16px, 96px, 32px, 80px);
1406 }
1407
1408 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1409 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1410   -moz-image-region: rect(32px, 96px, 48px, 80px);
1411 }
1412
1413 #add-share-provider {
1414   list-style-image: var(--menupanel-small-list-style-image);
1415   -moz-image-region: rect(0px, 96px, 16px, 80px);
1416 }
1417
1418 /* === END menupanel.inc.css === */
1419
1420 .toolbarbutton-1:not([type="menu-button"]) {
1421   -moz-box-orient: vertical;
1422 }
1423
1424 .toolbarbutton-1,
1425 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1426 /*  min-width: 36px;
1427   min-height: 36px;*/
1428 }
1429
1430 .toolbarbutton-1,
1431 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1432 .toolbarbutton-1[disabled="true"]:hover:active,
1433 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1434   padding: 1px 2px;
1435 }
1436
1437 .toolbarbutton-1:hover:active,
1438 .toolbarbutton-1[open="true"],
1439 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1440   padding-top: 2px;
1441   padding-bottom: 0px;
1442   -moz-padding-start: 3px;
1443   -moz-padding-end: 1px;
1444 }
1445
1446 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1447 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1448 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1449 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1450 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1451 }
1452
1453 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1454 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1455 }
1456
1457 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1458 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1459 }
1460
1461 .toolbarbutton-1 > .toolbarbutton-icon,
1462 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1463 }
1464
1465 .findbar-button,
1466 #nav-bar .toolbarbutton-1,
1467 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1468 }
1469
1470 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1471 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1472 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1473 }
1474
1475 #nav-bar #PanelUI-menu-button {
1476 /*  -moz-padding-start: 7px;
1477   -moz-padding-end: 5px;*/
1478 }
1479
1480 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1481 /*  padding-left: 5px;
1482   padding-right: 5px;*/
1483 }
1484
1485 #nav-bar .toolbarbutton-1 > menupopup {
1486 /*  margin-top: -3px;*/
1487 }
1488
1489 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1490   margin-top: -4px;
1491 }
1492
1493 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1494 /*  -moz-padding-end: 0;*/
1495 }
1496
1497 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1498 /*  -moz-padding-start: 0;
1499   -moz-box-align: center;*/
1500 }
1501
1502 .findbar-button > .toolbarbutton-text,
1503 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1504 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1505 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1506 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1507 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1508 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1509 /*  padding: 2px 6px;
1510   border: 1px solid;
1511   border-color: transparent;
1512   transition-property: background-color, border-color;
1513   transition-duration: 150ms;*/
1514 }
1515 /*
1516 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1517 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1518 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1519   padding: 3px 7px;
1520 }
1521 */
1522
1523 /* Help SDK icons fit: */
1524 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1525   width: 16px;
1526 }
1527
1528 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1529   /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1530   width: 32px;
1531 }
1532
1533 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1534 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1535 /*  -moz-padding-end: 17px;*/
1536 }
1537
1538 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1539 }
1540
1541 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1542 }
1543
1544 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1545 }
1546
1547 #nav-bar .toolbaritem-combined-buttons {
1548 /*  margin-left: 2px;
1549   margin-right: 2px;*/
1550 }
1551
1552 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1553 /*  padding-left: 0;
1554   padding-right: 0;*/
1555 }
1556
1557 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1558 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before {
1559 /*
1560   content: "";
1561   display: -moz-box;
1562   width: 1px;
1563   height: 16px;
1564   -moz-margin-end: -1px;
1565 */
1566 }
1567
1568 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1569 }
1570
1571 .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1572 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1573 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1574 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1575 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1576 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1577 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1578 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1579 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1580 }
1581
1582 .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1583 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1584 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1585 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1586 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1587 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1588 }
1589
1590 #TabsToolbar .toolbarbutton-1,
1591 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1592 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1593 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1594 }
1595
1596 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1597 #TabsToolbar .toolbarbutton-1[open],
1598 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1599 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1600 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1601 }
1602
1603 /* unified back/forward button */
1604
1605 #forward-button {
1606   -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1607 }
1608
1609 #forward-button > menupopup {
1610   margin-top: 1px !important;
1611 }
1612
1613 #forward-button > .toolbarbutton-icon {
1614   background-clip: padding-box !important;
1615   /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1616   /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1617 }
1618
1619 #forward-button {
1620   -moz-margin-start: -4px !important;
1621   padding-left: 4px;
1622   padding-right: 2px;
1623   margin-top: 3px;
1624   margin-bottom: 3px;
1625   border-radius: 0 10000px 10000px 0;
1626 }
1627
1628 #forward-button:-moz-locale-dir(rtl) {
1629   border-radius: 10000px 0 0 10000px;
1630 }
1631
1632 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1633   transition: margin-left 150ms ease-out;
1634 }
1635
1636 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1637   margin-left: -27px !important;
1638 }
1639
1640 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1641   /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1642   transition-delay: 100s;
1643 }
1644
1645 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1646   /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1647   margin-left: -27.01px !important;
1648 }
1649
1650 #back-button {
1651 /*  padding-top: 3px !important;
1652   padding-bottom: 3px !important;
1653   -moz-padding-start: 5px !important;
1654   -moz-padding-end: 0 !important;*/
1655   position: relative;
1656   z-index: 1;
1657   border-radius: 10000px;
1658   width: 30px;
1659   height: 30px;
1660   margin-top: -2px;
1661   margin-bottom: -2px;
1662 }
1663
1664 #back-button:-moz-locale-dir(rtl) {
1665 }
1666
1667 #back-button > menupopup {
1668   margin-top: -1px !important;
1669 }
1670
1671 #back-button > .toolbarbutton-icon {
1672   border-radius: 10000px !important;
1673   background-clip: padding-box !important;
1674 /*  background-color: hsla(210,25%,98%,.08) !important;
1675   padding: 6px !important;
1676   border-style: none !important;
1677   box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1678               0 0 0 1px hsla(210,4%,10%,.25);*/
1679   transition-property: background-color, box-shadow !important;
1680   transition-duration: 250ms !important;
1681 }
1682
1683 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1684 /*  background-color: hsla(210,4%,10%,.08) !important;*/
1685 }
1686
1687 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1688 #back-button[open="true"] > .toolbarbutton-icon {
1689 /*  background-color: hsla(210,4%,10%,.12) !important;
1690   box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1691               0 0 0 1px hsla(210,4%,10%,.25),
1692               0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1693 }
1694
1695 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1696   transform: scaleX(-1);
1697 }
1698 /*
1699 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1700 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1701   list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1702 }
1703
1704 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1705 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1706   list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1707 }
1708
1709 #home-button.bookmark-item {
1710   list-style-image: url("chrome://browser/skin/Toolbar.png");
1711 }
1712
1713 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1714 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1715 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1716 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1717 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1718 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1719 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1720   position: relative;
1721   z-index: 1;
1722   list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1723 }
1724
1725 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1726 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1727   list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1728 }
1729 */
1730
1731 #downloads-button > .toolbarbutton-icon {
1732   margin: 0;
1733 }
1734
1735 /* tabview menu item */
1736
1737 #menu_tabview {
1738   list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1739   -moz-image-region: rect(1px, 89px, 17px, 73px);
1740 }
1741
1742 #menu_tabview[groups="0"] {
1743   -moz-image-region: rect(1px, 17px, 17px, 1px);
1744 }
1745
1746 #menu_tabview[groups="1"] {
1747   -moz-image-region: rect(1px, 35px, 17px, 19px);
1748 }
1749
1750 #menu_tabview[groups="2"] {
1751   -moz-image-region: rect(1px, 53px, 17px, 37px);
1752 }
1753
1754 #menu_tabview[groups="3"] {
1755   -moz-image-region: rect(1px, 71px, 17px, 55px);
1756 }
1757
1758 /* undo close tab menu item */
1759 #alltabs_undoCloseTab {
1760   list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1761 }
1762
1763 @media (min-resolution: 1.25dppx) {
1764   #alltabs_undoCloseTab {
1765     list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1766   }
1767   #alltabs_undoCloseTab > .toolbarbutton-icon {
1768     width: 16px;
1769   }
1770 }
1771
1772 /* zoom control text (reset) button special case: */
1773
1774 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1775   /* To make this line up with the icons, it needs the same height (18px) +
1776    * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1777    * increase in text sizes would break things...
1778    */
1779   min-height: 20px;
1780 }
1781
1782 /* ::::: fullscreen window controls ::::: */
1783
1784 #window-controls {
1785   -moz-margin-start: 4px;
1786 }
1787
1788 #minimize-button,
1789 #restore-button,
1790 #close-button {
1791 /*  list-style-image: url("chrome://global/skin/icons/windowControls.png");
1792   padding: 0; */
1793 }
1794
1795 #minimize-button {
1796   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1797 }
1798
1799 #minimize-button:hover {
1800   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1801 }
1802
1803 #restore-button {
1804   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1805 }
1806
1807 #restore-button:hover {
1808   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1809 }
1810
1811 #close-button {
1812   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1813 }
1814
1815 #close-button:hover {
1816   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1817 }
1818
1819 /* ::::: Location Bar ::::: */
1820
1821 #urlbar,
1822 .searchbar-textbox {
1823   border-radius: 5px;
1824   margin: 2px 0;
1825   -moz-margin-start: 3px;
1826 }
1827
1828 #urlbar {
1829   /* make color as light as possible to deal with dark non-domain parts */
1830   color: #FFBFFF;
1831 }
1832
1833 #urlbar:-moz-lwtheme,
1834 .searchbar-textbox:-moz-lwtheme {
1835   /* background-color: rgba(255,255,255,.8);
1836   @navbarTextboxCustomBorder@
1837   color: black; */
1838 }
1839
1840 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1841 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1842 /*  background-color: rgba(255,255,255,.9);*/
1843 }
1844
1845 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1846 .searchbar-textbox:-moz-lwtheme[focused] {
1847 /*  background-color: white;*/
1848 }
1849
1850 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1851 /*  -moz-border-start: none;
1852   margin-left: 0;*/
1853 }
1854
1855 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1856 /*  border-top-left-radius: 0;
1857   border-bottom-left-radius: 0; */
1858 }
1859
1860 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1861 /*  border-top-right-radius: 0;
1862   border-bottom-right-radius: 0; */
1863 }
1864
1865 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1866 /*  clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1867 /*  -moz-margin-start: -5px; */
1868 }
1869
1870 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1871 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1872   /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1873   transform: scaleX(-1);
1874 }
1875
1876 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1877   -moz-box-direction: reverse;
1878 }
1879
1880 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1881 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1882   color: #E7ADE7;
1883 }
1884
1885 #urlbar-container {
1886   -moz-box-orient: horizontal;
1887   -moz-box-align: stretch;
1888 }
1889
1890 .urlbar-textbox-container {
1891   -moz-box-align: stretch;
1892 }
1893
1894 .urlbar-input-box {
1895   -moz-margin-start: 0;
1896 }
1897
1898 #urlbar-icons {
1899   -moz-box-align: center;
1900 }
1901
1902 .urlbar-icon {
1903   padding: 0 2px;
1904 }
1905
1906 .searchbar-engine-button,
1907 .search-go-container {
1908   padding: 2px;
1909 }
1910
1911 .search-go-container > .search-go-button {
1912   padding: 0;
1913 }
1914
1915 .urlbar-icon:hover {
1916 }
1917
1918 .urlbar-icon[open="true"],
1919 .urlbar-icon:hover:active {
1920 }
1921
1922 #urlbar-search-splitter {
1923   min-width: 6px;
1924   -moz-margin-start: -3px;
1925   border: none;
1926   background: transparent;
1927 }
1928
1929 #urlbar-search-splitter + #urlbar-container > #urlbar,
1930 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1931   -moz-margin-start: 0;
1932 }
1933
1934 #urlbar-display-box {
1935 }
1936
1937 .urlbar-display {
1938   -moz-border-end: 1px solid #9C9CFF;
1939   -moz-margin-end: 3px;
1940   margin-top: 0;
1941   margin-bottom: 0;
1942   -moz-margin-start: 0;
1943   color: #8050B0;
1944 }
1945
1946 #search-container {
1947   min-width: calc(54px + 11ch);
1948 }
1949
1950 /* identity box */
1951
1952 #identity-box {
1953   border-radius: 2px;
1954   font-size: .9em;
1955 }
1956
1957 #identity-box:-moz-locale-dir(ltr) {
1958 /*  border-top-left-radius: 1.5px;
1959   border-bottom-left-radius: 1.5px;*/
1960 }
1961
1962 #identity-box:-moz-locale-dir(rtl) {
1963 /*  border-top-right-radius: 1.5px;
1964   border-bottom-right-radius: 1.5px;*/
1965 }
1966
1967 #notification-popup-box:not([hidden]) + #identity-box {
1968   -moz-padding-start: 10px !important;
1969   border-radius: 0;
1970 }
1971
1972 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1973 /*   border-radius: 0; */
1974   -moz-padding-start: 2px;
1975   -moz-padding-end: 2px;
1976   -moz-margin-end: 1px;
1977 }
1978
1979 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1980   transition: padding-left, padding-right;
1981 }
1982
1983 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1984     #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1985   padding-left: 2px;
1986 }
1987
1988 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1989     #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1990   padding-right: 2px;
1991 }
1992
1993 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1994     #notification-popup-box[hidden] + #identity-box {
1995   /* forward button hiding is delayed when hovered */
1996   transition-delay: 100s;
1997 }
1998
1999 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2000     #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2001   /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2002   padding-left: 2.01px;
2003 }
2004
2005 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2006     #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2007   /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2008   padding-right: 2.01px;
2009 }
2010
2011 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2012 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2013   -moz-margin-end: 3px;
2014 }
2015
2016 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
2017 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
2018   border-top-right-radius: 0;
2019   border-bottom-right-radius: 0;
2020 }
2021
2022 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
2023 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
2024   border-top-left-radius: 0;
2025   border-bottom-left-radius: 0;
2026 }
2027
2028 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2029   var(--verified-identity-box-backgroundcolor);
2030 }
2031
2032 #identity-box:-moz-focusring {
2033   outline: 1px dotted #008484;
2034   outline-offset: -1px;
2035 }
2036
2037 #identity-box.verifiedDomain:-moz-focusring,
2038 #identity-box.verifiedIdentity:-moz-focusring {
2039   outline-color: #000000;
2040 }
2041
2042 #identity-icon-labels {
2043   -moz-margin-start: 1px;
2044   -moz-margin-end: 3px;
2045 }
2046
2047 /* Location bar dropmarker */
2048
2049 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2050   background-color: transparent;
2051 }
2052
2053 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2054 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
2055   border: none;
2056   border-radius: 0px;
2057 }
2058
2059 .urlbar-history-dropmarker:hover {
2060 }
2061
2062 .urlbar-history-dropmarker:hover:active,
2063 .urlbar-history-dropmarker[open="true"] {
2064 }
2065
2066 /* page proxy icon */
2067
2068 /* === BEGIN identity-block.inc.css === */
2069
2070 :root {
2071   --identity-box-verified-color: #008484;
2072   /* Default theme does different color per channel, we can't as they do it build-time. */
2073   --identity-box-chrome-color: #9C9CFF;
2074 }
2075
2076 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2077   color: var(--identity-box-chrome-color);
2078   -moz-border-end: 1px solid var(--identity-box-chrome-color);
2079 }
2080
2081 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2082   color: var(--identity-box-verified-color);
2083   -moz-border-end: 1px solid var(--identity-box-verified-color);
2084 }
2085
2086 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2087 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2088   background-position: right;
2089   background-size: 1px;
2090   background-repeat: no-repeat;
2091 }
2092
2093 /* page proxy icon */
2094
2095 #page-proxy-favicon {
2096   width: 16px;
2097   height: 16px;
2098   list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2099   margin: 2px;
2100 }
2101
2102 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2103   list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2104 }
2105
2106 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2107   list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2108 }
2109
2110 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2111   list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2112 }
2113
2114 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2115   list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2116 }
2117
2118 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2119   list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2120 }
2121
2122 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2123   list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2124 }
2125
2126 #page-proxy-favicon[pageproxystate="invalid"] {
2127   opacity: 0.3;
2128 }
2129
2130 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2131   list-style-image: url("chrome://branding/content/icon64.png");
2132 }
2133
2134 #identity-popup-brandName {
2135   font-weight: bold;
2136   font-size: 1.25em;
2137   margin-top: .5em;
2138   margin-bottom: .5em;
2139 }
2140
2141 #identity-popup-content-box {
2142   max-width: 50ch;
2143 }
2144
2145 /* === END identity-block.inc.css === */
2146
2147 #page-proxy-favicon {
2148   -moz-image-region: rect(0, 16px, 16px, 0);
2149 }
2150
2151 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2152 /*  -moz-margin-end: 1px;*/
2153 }
2154
2155 #identity-box:hover > #page-proxy-favicon {
2156   -moz-image-region: rect(0, 32px, 16px, 16px);
2157 }
2158
2159 #identity-box:hover:active > #page-proxy-favicon,
2160 #identity-box[open=true] > #page-proxy-favicon {
2161   -moz-image-region: rect(0, 48px, 16px, 32px);
2162 }
2163
2164 #identity-box:hover {
2165   background-color: #FFCF00;
2166   color: #000000;
2167 }
2168
2169 #identity-box:hover:active,
2170 #identity-box[open=true] {
2171   background-color: #FF9F00;
2172   color: #000000;
2173 }
2174
2175 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2176 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2177 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2178   background-color: #9C9CFF;
2179   color: #000000;
2180 }
2181
2182 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2183 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2184 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2185   background-color: #008484;
2186   color: #000000;
2187 }
2188
2189 /* autocomplete */
2190
2191 #treecolAutoCompleteImage {
2192   max-width: 36px;
2193 }
2194
2195 .ac-result-type-bookmark,
2196 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2197   list-style-image: url("chrome://browser/skin/places/bookmark.png");
2198   -moz-image-region: rect(0px 16px 16px 0px);
2199   width: 16px;
2200   height: 16px;
2201 }
2202
2203 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2204 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2205 /*  -moz-image-region: rect(0px 48px 16px 32px);*/
2206 }
2207
2208 .ac-result-type-keyword,
2209 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2210 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2211   list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2212   width: 16px;
2213   height: 16px;
2214 }
2215
2216   .ac-result-type-keyword[selected="true"],
2217   .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2218   richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2219     list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2220   }
2221
2222 .ac-result-type-tag,
2223 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2224   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2225   width: 16px;
2226   height: 16px;
2227 }
2228
2229 .ac-comment {
2230   font-size: 1.06em;
2231 }
2232
2233 .ac-extra > .ac-comment {
2234   font-size: 1em;
2235 }
2236
2237 .ac-url-text,
2238 .ac-action-text {
2239   font-size: 1em;
2240   color: #9C9CFF;
2241 }
2242
2243 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2244   list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2245   -moz-image-region: rect(0, 16px, 16px, 0);
2246   padding: 0 3px;
2247 }
2248
2249 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2250   -moz-image-region: rect(16px, 16px, 32px, 0);
2251 }
2252
2253 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2254   color: #8050B0;
2255 }
2256
2257 .ac-comment[selected="true"],
2258 .ac-url-text[selected="true"],
2259 .ac-action-text[selected="true"] {
2260   color: inherit !important;
2261 }
2262
2263 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2264 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2265 {
2266   color: #8050B0;
2267   font-size: smaller;
2268 }
2269
2270 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2271   border-top: 1px solid #9C9CFF;
2272 }
2273
2274 /* combined go/reload/stop button in location bar */
2275
2276 #urlbar > toolbarbutton {
2277   -moz-margin-start: 0;
2278   padding: 0 2px;
2279   background-origin: border-box;
2280   border: none;
2281   list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2282   -moz-border-start: 1px solid #9C9CFF;
2283 }
2284
2285 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2286   border-top-left-radius: 0px;
2287   border-bottom-left-radius: 0px;
2288 }
2289
2290 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2291   border-top-right-radius: 0px;
2292   border-bottom-right-radius: 0px;
2293 }
2294
2295 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2296 #urlbar-reload-button:not(:hover) {
2297   -moz-border-start-style: none;
2298   -moz-padding-start: 3px;
2299 }
2300
2301 #urlbar-reload-button {
2302   -moz-image-region: rect(0px, 14px, 14px, 0px);
2303 }
2304
2305 #urlbar-reload-button[disabled=true] {
2306   -moz-image-region: rect(28px, 14px, 42px, 0px);
2307 }
2308
2309 #urlbar-reload-button:not([disabled=true]):hover {
2310   -moz-image-region: rect(14px, 14px, 28px, 0px);
2311 }
2312
2313 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2314   transform: scaleX(-1);
2315 }
2316
2317 #urlbar-go-button {
2318   -moz-image-region: rect(0, 42px, 14px, 28px);
2319 }
2320
2321 #urlbar-go-button:hover {
2322   -moz-image-region: rect(14px, 42px, 28px, 28px);
2323 }
2324
2325 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2326   transform: scaleX(-1);
2327 }
2328
2329 #urlbar-stop-button {
2330   -moz-image-region: rect(0px, 28px, 14px, 14px);
2331 }
2332
2333 #urlbar-stop-button:hover {
2334   -moz-image-region: rect(14px, 28px, 28px, 14px);
2335 }
2336
2337 /* popup blocker button */
2338
2339 #page-report-button {
2340   list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2341   -moz-image-region: rect(0, 16px, 16px, 0);
2342 }
2343
2344 #page-report-button:hover ,
2345 #page-report-button:hover:active,
2346 #page-report-button[open="true"] {
2347   -moz-image-region: rect(0, 32px, 16px, 16px);
2348 }
2349
2350 /* social share panel */
2351
2352 .social-share-frame {
2353   min-width: 756px;
2354   height: 150px;
2355 }
2356
2357 #share-container {
2358   min-width: 756px;
2359   background-color: white;
2360   background-repeat: no-repeat;
2361   background-position: center center;
2362 }
2363 #share-container[loading] {
2364   background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2365 }
2366 #share-container > browser {
2367   transition: opacity 150ms ease-in-out;
2368   opacity: 1;
2369 }
2370 #share-container[loading] > browser {
2371   opacity: 0;
2372 }
2373
2374 .social-share-toolbar {
2375   border-bottom: 1px solid #9C9CFF;
2376   padding: 2px;
2377 }
2378
2379 #social-share-provider-buttons {
2380   padding: 0;
2381   margin: 0;
2382 }
2383
2384 .share-provider-button {
2385   padding: 5px;
2386   margin: 2px;
2387 }
2388
2389 .share-provider-button > .toolbarbutton-text {
2390   display: none;
2391 }
2392 .share-provider-button > .toolbarbutton-icon {
2393   width: 16px;
2394   min-height: 16px;
2395   max-height: 16px;
2396 }
2397
2398 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2399   width: auto;
2400   height: auto;
2401   max-width: 32px;
2402   max-height: 24px;
2403 }
2404
2405 /* fixup corners for share panel */
2406 .social-panel > .social-panel-frame {
2407   border-radius: inherit;
2408 }
2409
2410 #social-share-panel {
2411   min-height: 100px;
2412   min-width: 766px;
2413 }
2414
2415 #share-container,
2416 .social-share-frame {
2417   border-top-left-radius: 0;
2418   border-bottom-left-radius: inherit;
2419   border-top-right-radius: 0;
2420   border-bottom-right-radius: inherit;
2421 }
2422
2423 #social-share-panel > .social-share-toolbar {
2424   border-top-left-radius: inherit;
2425   border-top-right-radius: inherit;
2426 }
2427
2428 #social-share-provider-buttons {
2429   border-top-left-radius: inherit;
2430   border-top-right-radius: inherit;
2431 }
2432
2433 /* social recommending panel */
2434
2435 #social-mark-button {
2436   -moz-image-region: rect(0, 16px, 16px, 0);
2437 }
2438
2439 /* bookmarks menu-button */
2440
2441 #bookmarks-menu-button.bookmark-item {
2442   list-style-image: url("chrome://browser/skin/places/bookmark.png");
2443   -moz-image-region: rect(0px 16px 16px 0px);
2444 }
2445
2446 #bookmarks-menu-button.bookmark-item[starred] {
2447   -moz-image-region: rect(0px 32px 16px 16px);
2448 }
2449
2450 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2451   -moz-margin-start: 5px;
2452 }
2453
2454 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2455   padding-top: 2px;
2456   padding-bottom: 2px;
2457 }
2458
2459 #BMB_bookmarksPopup[side="top"],
2460 #BMB_bookmarksPopup[side="bottom"] {
2461   margin-left: -20px;
2462   margin-right: -20px;
2463 }
2464
2465 #BMB_bookmarksPopup[side="left"],
2466 #BMB_bookmarksPopup[side="right"] {
2467   margin-top: -20px;
2468   margin-bottom: -20px;
2469 }
2470
2471 /* bookmarking panel */
2472
2473 #editBookmarkPanelStarIcon {
2474   list-style-image: url("chrome://browser/skin/places/starred48.png");
2475   width: 48px;
2476   height: 48px;
2477 }
2478
2479 #editBookmarkPanelStarIcon[unstarred] {
2480   list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2481 }
2482
2483 #editBookmarkPanelTitle {
2484   font-size: 130%;
2485 }
2486
2487 #editBookmarkPanelHeader,
2488 #editBookmarkPanelContent {
2489   margin-bottom: .5em;
2490 }
2491
2492 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2493 #editBMPanel_folderTree {
2494   min-width: 27em;
2495 }
2496
2497 .panel-promo-box {
2498   margin: 5px 0 -6px;
2499   padding: 5px 0;
2500   border-top: 1px solid #9C9CFF;
2501   border-bottom-left-radius: 5px;
2502   border-bottom-right-radius: 5px;
2503 }
2504
2505 .panel-promo-icon {
2506   list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2507   -moz-margin-end: 10px;
2508   vertical-align: middle;
2509 }
2510
2511 .panel-promo-closebutton {
2512   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2513   -moz-margin-end: -3px;
2514   margin-top: -3px;
2515 }
2516
2517 .panel-promo-closebutton:hover {
2518   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2519 }
2520
2521 .panel-promo-closebutton:hover:active {
2522   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2523 }
2524
2525 .panel-promo-closebutton > .toolbarbutton-text {
2526   padding: 0;
2527 }
2528
2529 /* ::::: content area ::::: */
2530
2531 #sidebar {
2532   background-color: Window;
2533 }
2534
2535 #sidebar-title {
2536   -moz-padding-start: 0px;
2537 }
2538
2539 #sidebar-header > .close-icon {
2540 /*  padding: 4px 2px;
2541   margin: 0;
2542   border: none;*/
2543   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2544 }
2545
2546 #sidebar-header > .close-icon:hover,
2547 #sidebar-header > .close-icon:hover:active {
2548   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2549 }
2550
2551 .browserContainer > findbar {
2552 /*
2553   background-color: -moz-dialog;
2554   color: -moz-DialogText;
2555 */
2556 }
2557
2558 /* Tabstrip */
2559
2560 #TabsToolbar {
2561   min-height: 0;
2562   padding: 0;
2563   -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2564 }
2565
2566 #TabsToolbar .toolbar-holder {
2567   background-color: #000000; /* correct effect of being an actual toolbar */
2568 }
2569
2570 #main-window[disablechrome] #TabsToolbar,
2571 #TabsToolbar[tabsontop="false"] {
2572   border-bottom: 1px solid #008484;
2573 }
2574
2575 /* === BEGIN tabs.inc.css === */
2576
2577 .tabbrowser-tab,
2578 .tabs-newtab-button,
2579 #TabsToolbar > #new-tab-button {
2580   margin-top: 0px;
2581 }
2582
2583 .tabbrowser-tab {
2584   padding: 1px 4px 2px;
2585 }
2586
2587 .tabbrowser-tab:first-of-type {
2588   -moz-margin-start: 2px;
2589 }
2590
2591 .tabs-newtab-button,
2592 #TabsToolbar > #new-tab-button {
2593   border-radius: 8px 8px 0px 0px;
2594   -moz-margin-start: 0;
2595 }
2596
2597 .tabs-newtab-button:not(:hover),
2598 #TabsToolbar > #new-tab-button:not(:hover) {
2599   background-color: #C09070;
2600 }
2601
2602 .tabbrowser-tab[remote] {
2603   text-decoration: underline;
2604 }
2605
2606 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2607 .tabbrowser-tab[selected=true] {
2608 /*  position: relative;
2609   z-index: 2;*/
2610 }
2611
2612 .tab-background-middle {
2613 }
2614
2615 .tab-content {
2616 }
2617
2618 .tab-/*throbber*/,
2619 .tab-icon-image,
2620 .tab-close-button {
2621 }
2622
2623 .tab-throbber,
2624 .tab-icon-image {
2625   height: 16px;
2626   width: 16px;
2627 }
2628
2629 .tab-icon-image {
2630   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2631 }
2632
2633 .tab-throbber[busy] {
2634   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2635 }
2636
2637 .tab-throbber[progress] {
2638   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2639 }
2640
2641 .tab-throbber:not([pinned]),
2642 .tab-icon-image:not([pinned]) {
2643   -moz-margin-end: 3px;
2644 }
2645
2646 .tab-throbber[pinned],
2647 .tab-icon-image[pinned] {
2648   -moz-margin-start: 2px;
2649   -moz-margin-end: 2px;
2650 }
2651
2652 .tab-label {
2653   /* this needs to add up to the 16px of the icon image */
2654   height: 12px;
2655   margin-top: 2px !important;
2656   margin-bottom: 2px !important;
2657 }
2658
2659 .tab-close-button {
2660   margin-top: 1px;
2661   padding: 0;
2662 }
2663
2664 .tab-background,
2665 .tabs-newtab-button {
2666   /* overlap the tab curves */
2667 }
2668
2669 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2670 }
2671
2672 /* Tab Overflow */
2673 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2674 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2675 }
2676
2677 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2678 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2679 }
2680
2681 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2682 }
2683
2684 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2685 }
2686
2687 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2688 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2689 }
2690
2691 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2692 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2693 }
2694
2695 .tab-background-start[selected=true]::after,
2696 .tab-background-start[selected=true]::before,
2697 .tab-background-start,
2698 .tab-background-end,
2699 .tab-background-end[selected=true]::after,
2700 .tab-background-end[selected=true]::before {
2701 }
2702
2703 .tabbrowser-tab:not([selected=true]),
2704 .tabbrowser-tab:-moz-lwtheme {
2705 }
2706
2707 /* tabbrowser-tab focus ring */
2708 .tabbrowser-tab:focus {
2709   outline: 1px dotted;
2710 }
2711
2712 /* Selected tab */
2713
2714 .tabbrowser-tab[selected="true"] {
2715 }
2716
2717 /* End selected tab */
2718
2719 /* Tab pointer-events */
2720 /*
2721 .tabbrowser-tab {
2722   pointer-events: none;
2723 }
2724
2725 .tab-background-middle,
2726 .tabs-newtab-button,
2727 .tab-close-button {
2728   pointer-events: auto;
2729 }
2730 */
2731 /* Pinned tabs */
2732
2733 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2734   background-color: #E7ADE7;
2735 }
2736
2737 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2738   background-color: #3333FF;
2739   color: #000000;
2740 }
2741
2742 /* Handle a case where the last separator in a customized tab bar with a
2743    separated new tab button causes the width of the tab to extend and causes
2744    jittering with a small tab curve width (Bug 1111091). */
2745 #TabsToolbar[currentset]:not([currentset*="tabbrowser-tabs,new-tab-button"]) #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
2746 }
2747
2748 /* New tab button */
2749
2750 .tabs-newtab-button {
2751   width: 28px;
2752   /* width: calc(36px + @tabCurveWidth@); */
2753 }
2754
2755 /* === END tabs.inc.css === */
2756
2757 /* Background tabs:
2758  *
2759  * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2760  * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2761  * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2762  */
2763 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2764 /*  clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2765 }
2766
2767 /* Tab DnD indicator */
2768 .tab-drop-indicator {
2769   list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2770   margin-bottom: -11px;
2771 }
2772
2773 /* Tab close button */
2774 .tab-close-button {
2775   list-style-image: url("chrome://global/skin/icons/close-button.gif");
2776 }
2777
2778 .tab-close-button:hover,
2779 .tab-close-button:hover[selected="true"] {
2780   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2781 }
2782
2783 .tab-close-button:hover:active,
2784 .tab-close-button:hover:active[selected="true"] {
2785   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2786 }
2787
2788 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2789
2790 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2791 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2792   margin: 0;
2793   padding-top: 0;
2794   padding-bottom: 0;
2795   background-origin: border-box;
2796 }
2797
2798 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2799 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2800 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2801 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2802  }
2803
2804 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2805 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2806  }
2807
2808 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2809 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2810 /*  transform: scaleX(-1);*/
2811 }
2812
2813 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2814   transition: 1s background-color ease-out;
2815 }
2816
2817 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2818   background-color: #008484;
2819 }
2820
2821 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2822 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2823 /*  border-width: 0 2px 0 0;
2824   border-style: solid;
2825   border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2826 }
2827
2828 .tabs-newtab-button > .toolbarbutton-icon {
2829   margin-top: -1px;
2830   margin-bottom: -1px;
2831 }
2832
2833 .tabs-newtab-button,
2834 #TabsToolbar > #new-tab-button,
2835 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2836 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2837   list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
2838   -moz-image-region: rect(0, 16px, 18px, 0);
2839 }
2840
2841 .tabs-newtab-button,
2842 .tabs-newtab-button:hover,
2843 #TabsToolbar > #new-tab-button,
2844 #TabsToolbar > #new-tab-button:hover {
2845   -moz-image-region: rect(0, 32px, 18px, 16px);
2846 }
2847
2848 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2849 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2850 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2851 .tabs-newtab-button:-moz-lwtheme-brighttext,
2852 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2853 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2854 }
2855
2856 #TabsToolbar > #new-tab-button {
2857   width: 26px;
2858 }
2859
2860 #alltabs-button {
2861   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2862 }
2863
2864 #alltabs-button:hover,
2865 #alltabs-button:hover:active,
2866 #alltabs-button[open="true"] {
2867   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2868 }
2869
2870 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2871 #alltabs-button:-moz-lwtheme-brighttext {
2872 }
2873
2874 #alltabs-button > .toolbarbutton-icon {
2875 /*  margin: 0 2px;*/
2876 }
2877
2878 #alltabs-button > .toolbarbutton-menu-dropmarker {
2879   display: none;
2880 }
2881
2882 /* All tabs menupopup */
2883 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2884   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2885   -moz-image-region: auto;
2886 }
2887
2888 .alltabs-item[selected="true"] {
2889   font-weight: bold;
2890 }
2891
2892 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2893   list-style-image: url("chrome://global/skin/icons/loading.gif");
2894 }
2895
2896 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2897   background-color: #402800;
2898 }
2899
2900 toolbarbutton.chevron {
2901   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2902 }
2903
2904 toolbarbutton.chevron:hover {
2905   list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2906 }
2907 /*
2908 toolbar[brighttext] toolbarbutton.chevron {
2909   list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
2910 }
2911 */
2912 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2913 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2914   transform: scaleX(-1);
2915 }
2916
2917 toolbarbutton.chevron > .toolbarbutton-text,
2918 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2919   display: none;
2920 }
2921
2922 toolbarbutton.chevron > .toolbarbutton-icon {
2923   margin: 0;
2924 }
2925
2926 #sidebar-throbber[loading="true"] {
2927   list-style-image: url("chrome://global/skin/icons/loading.gif");
2928   -moz-margin-end: 4px;
2929 }
2930
2931 /* Bookmarks toolbar */
2932 #PlacesToolbarDropIndicator {
2933   list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2934 }
2935
2936 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2937   background-color: #008484 !important;
2938   color: #FFCF00 !important;
2939 }
2940
2941 /* rules for menupopup drop indicators */
2942 .menupopup-drop-indicator-bar {
2943   position: relative;
2944   /* these two margins must together compensate the indicator's height */
2945   margin-top: -1px;
2946   margin-bottom: -1px;
2947 }
2948
2949 .menupopup-drop-indicator {
2950   list-style-image: none;
2951   height: 2px;
2952   -moz-margin-end: -4em;
2953   background-color: #008484;
2954 }
2955
2956 /* ::::: Identity Indicator Styling ::::: */
2957
2958 /* Popup Icons */
2959 #identity-popup-icon {
2960   height: 64px;
2961   width: 64px;
2962   padding: 0;
2963   list-style-image: url("chrome://browser/skin/identity.png");
2964   -moz-image-region: rect(0px, 64px, 64px, 0px);
2965 }
2966
2967 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2968   -moz-image-region: rect(64px, 64px, 128px, 0px);
2969 }
2970
2971 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2972   -moz-image-region: rect(128px, 64px, 192px, 0px);
2973 }
2974
2975 /* Popup Body Text */
2976 .identity-popup-description {
2977   white-space: pre-wrap;
2978   -moz-padding-start: 15px;
2979   margin: 2px 0 4px;
2980 }
2981
2982 .identity-popup-label {
2983   white-space: pre-wrap;
2984   -moz-padding-start: 15px;
2985   margin: 0;
2986 }
2987
2988 #identity-popup-content-host,
2989 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2990   font-size: 1.2em;
2991 }
2992
2993 #identity-popup-content-host {
2994   margin-top: 3px;
2995   margin-bottom: 5px;
2996   font-weight: bold;
2997   max-width: 300px;
2998 }
2999
3000 #identity-popup-content-owner {
3001   margin-top: 4px;
3002   margin-bottom: 0 !important;
3003   font-weight: bold;
3004   max-width: 300px;
3005 }
3006
3007 .verifiedDomain > #identity-popup-content-owner {
3008   font-weight: normal;
3009 }
3010
3011 #identity-popup-content-verifier {
3012   margin: 4px 0 2px;
3013 }
3014
3015 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
3016 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
3017   margin-top: 10px;
3018   -moz-margin-start: -24px;
3019 }
3020
3021 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
3022 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
3023   list-style-image: url("chrome://browser/skin/Secure24.png");
3024 }
3025
3026 #identity-popup-help-icon {
3027   border: none;
3028   margin: 7px 0 0 -3px;
3029   background: none;
3030   min-width: 0;
3031   list-style-image: url("chrome://global/skin/icons/question-16.png");
3032   cursor: pointer;
3033 }
3034
3035 #identity-popup-help-icon > .button-box > .button-text {
3036   display: none;
3037 }
3038
3039 #identity-popup-help-icon > .button-box > .button-icon {
3040   height: 16px;
3041   width: 16px;
3042 }
3043
3044 #identity-popup-more-info-button {
3045   margin-top: 6px;
3046   margin-bottom: 0;
3047   -moz-margin-end: 0;
3048 }
3049
3050 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
3051   padding: 0;
3052 }
3053
3054 #identity-popup-container {
3055   min-width: 280px;
3056   padding: 10px;
3057 }
3058
3059 #identity-popup-button-container {
3060 /*  background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3061   padding: 10px;
3062   margin-top: 5px;
3063 }
3064
3065 .popup-notification-icon {
3066   width: 64px;
3067   height: 64px;
3068   -moz-margin-end: 10px;
3069 }
3070
3071 .popup-notification-icon[popupid="geolocation"] {
3072   list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3073 }
3074
3075 .popup-notification-icon[popupid="xpinstall-disabled"],
3076 .popup-notification-icon[popupid="addon-progress"],
3077 .popup-notification-icon[popupid="addon-install-cancelled"],
3078 .popup-notification-icon[popupid="addon-install-blocked"],
3079 .popup-notification-icon[popupid="addon-install-failed"],
3080 .popup-notification-icon[popupid="addon-install-complete"] {
3081   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3082   width: 32px;
3083   height: 32px;
3084 }
3085
3086 .popup-notification-icon[popupid="click-to-play-plugins"] {
3087   list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3088 }
3089
3090 .popup-notification-icon[popupid="web-notifications"] {
3091   list-style-image: url("chrome://browser/skin/notification-64.png");
3092 }
3093
3094 .addon-progress-description {
3095   width: 350px;
3096   max-width: 350px;
3097 }
3098
3099 .popup-progress-label,
3100 .popup-progress-meter {
3101   -moz-margin-start: 0;
3102   -moz-margin-end: 0;
3103 }
3104
3105 .popup-progress-cancel {
3106   -moz-appearance: none;
3107   background: transparent;
3108   border: none;
3109   padding: 0;
3110   margin: 0;
3111   min-height: 0;
3112   min-width: 0;
3113   list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
3114   -moz-image-region: rect(0px, 32px, 16px, 16px);
3115 }
3116
3117 .popup-progress-cancel:hover {
3118   -moz-image-region: rect(16px, 32px, 32px, 16px);
3119 }
3120
3121 .popup-progress-cancel:active {
3122   -moz-image-region: rect(32px, 32px, 48px, 16px);
3123 }
3124
3125 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3126 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
3127 .popup-notification-icon[popupid*="offline-app-requested"],
3128 .popup-notification-icon[popupid="offline-app-usage"] {
3129   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3130 }
3131
3132 .popup-notification-icon[popupid="password-save"],
3133 .popup-notification-icon[popupid="password-change"] {
3134   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3135 }
3136
3137 .popup-notification-icon[popupid="webapps-install-progress"],
3138 .popup-notification-icon[popupid="webapps-install"] {
3139   list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3140 }
3141
3142 .popup-notification-icon[popupid="bad-content"] {
3143   list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3144 }
3145
3146 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3147 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3148   list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3149 }
3150
3151 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3152 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3153   list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3154 }
3155
3156 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3157 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3158   list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3159 }
3160
3161 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3162 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3163   list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3164 }
3165
3166 .popup-notification-icon[popupid="pointerLock"] {
3167   list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3168 }
3169
3170 /* Notification icon box */
3171 #notification-popup .panel-promo-box {
3172 /*  margin: 10px -10px -10px; */
3173 }
3174
3175 #notification-popup-box {
3176   position: relative;
3177   background-color: #000000;
3178   background-clip: padding-box;
3179   padding-left: 3px;
3180   padding-right: 8px;
3181   border-radius: 3px 0 0 3px;
3182   border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3183   -moz-margin-end: -8px;
3184   border-right-width: 8px;
3185 }
3186
3187 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3188 /*  padding-left: 7px; */
3189 }
3190
3191 #notification-popup-box:-moz-locale-dir(rtl),
3192 .notification-anchor-icon:-moz-locale-dir(rtl) {
3193   transform: scaleX(-1);
3194 }
3195
3196 .notification-anchor-icon {
3197   width: 16px;
3198   height: 16px;
3199   margin: 0 2px;
3200 }
3201
3202 .notification-anchor-icon:-moz-focusring {
3203   outline: 1px dotted #008484;
3204 }
3205
3206 .default-notification-icon,
3207 #default-notification-icon {
3208   list-style-image: url("chrome://global/skin/icons/information-16.png");
3209 }
3210
3211 .identity-notification-icon,
3212 #identity-notification-icon {
3213   list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3214 }
3215
3216 .geo-notification-icon,
3217 #geo-notification-icon {
3218   list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3219 }
3220
3221 #addons-notification-icon {
3222   list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3223 }
3224
3225 .indexedDB-notification-icon,
3226 #indexedDB-notification-icon {
3227   list-style-image: url("chrome://global/skin/icons/question-16.png");
3228 }
3229
3230 #password-notification-icon {
3231   list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3232 }
3233
3234 #webapps-notification-icon {
3235   list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3236 }
3237
3238 #plugins-notification-icon {
3239   list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3240 }
3241
3242 #plugins-notification-icon.plugin-hidden {
3243   list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3244 }
3245
3246 #plugins-notification-icon.plugin-blocked {
3247   list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3248 }
3249
3250 #plugins-notification-icon {
3251 /*  -moz-image-region: rect(0, 16px, 16px, 0);*/
3252 }
3253
3254 #plugins-notification-icon:hover {
3255 /*  -moz-image-region: rect(0, 32px, 16px, 16px);*/
3256 }
3257
3258 #notification-popup-box[hidden] {
3259   /* Override display:none to make the pluginBlockedNotification animation work
3260      when showing the notification repeatedly. */
3261   display: -moz-box;
3262   visibility: collapse;
3263 }
3264
3265 #plugins-notification-icon.plugin-blocked[showing] {
3266   animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3267 }
3268
3269 @keyframes pluginBlockedNotification {
3270   from {
3271     opacity: 0;
3272   }
3273   to {
3274     opacity: 1;
3275   }
3276 }
3277
3278 .bad-content-blocked-notification-icon,
3279 #bad-content-blocked-notification-icon {
3280   list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3281 }
3282
3283 .bad-content-unblocked-notification-icon,
3284 #bad-content-unblocked-notification-icon {
3285   list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3286 }
3287
3288 .webRTC-shareDevices-notification-icon,
3289 #webRTC-shareDevices-notification-icon {
3290   list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3291 }
3292
3293 .webRTC-sharingDevices-notification-icon,
3294 #webRTC-sharingDevices-notification-icon {
3295   list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3296 }
3297
3298 .webRTC-shareMicrophone-notification-icon,
3299 #webRTC-shareMicrophone-notification-icon {
3300   list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3301 }
3302
3303 .webRTC-sharingMicrophone-notification-icon,
3304 #webRTC-sharingMicrophone-notification-icon {
3305   list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3306 }
3307
3308 .webRTC-shareScreen-notification-icon,
3309 #webRTC-shareScreen-notification-icon {
3310   list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3311 }
3312
3313 .webRTC-sharingScreen-notification-icon,
3314 #webRTC-sharingScreen-notification-icon {
3315   list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3316 }
3317
3318 .web-notifications-notification-icon,
3319 #web-notifications-notification-icon {
3320   list-style-image: url("chrome://browser/skin/notification-16.png");
3321 }
3322
3323 #pointerLock-notification-icon {
3324   list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3325 }
3326 #pointerLock-cancel {
3327   margin: 0px;
3328 }
3329
3330 /* Translation infobar */
3331
3332 /* === BEGIN infobar.inc.css === */
3333
3334 notification[value="translation"] .messageImage {
3335   list-style-image: url("chrome://browser/skin/translation-16.png");
3336   -moz-image-region: rect(0, 32px, 16px, 16px);
3337 }
3338
3339 @media (min-resolution: 1.25dppx) {
3340   notification[value="translation"] .messageImage {
3341     list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3342     -moz-image-region: rect(0, 64px, 32px, 32px);
3343   }
3344 }
3345
3346 notification[value="translation"][state="translating"] .messageImage {
3347   list-style-image: url("chrome://browser/skin/translating-16.png");
3348   -moz-image-region: auto;
3349 }
3350
3351 @media (min-resolution: 1.25dppx) {
3352   notification[value="translation"][state="translating"] .messageImage {
3353     list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3354   }
3355 }
3356
3357 notification[value="translation"] button,
3358 notification[value="translation"] menulist {
3359   min-width: 0;
3360 }
3361
3362 notification[value="translation"] menulist > .menulist-dropmarker {
3363 }
3364
3365 .translation-menupopup arrowscrollbox {
3366   padding-bottom: 0;
3367 }
3368
3369 .translation-attribution {
3370   cursor: pointer;
3371   -moz-box-align: end;
3372   font-size: small;
3373 }
3374
3375 .translation-attribution > label {
3376   margin-bottom: 0;
3377 }
3378
3379 .translation-attribution > image {
3380   width: 70px;
3381 }
3382
3383 .translation-welcome-panel {
3384   width: 305px;
3385 }
3386
3387 .translation-welcome-logo {
3388   height: 32px;
3389   width: 32px;
3390   list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3391   -moz-image-region: rect(0, 64px, 32px, 32px);
3392 }
3393
3394 .translation-welcome-content {
3395   -moz-margin-start: 16px;
3396 }
3397
3398 .translation-welcome-headline {
3399   font-size: larger;
3400   font-weight: bold;
3401 }
3402
3403 .translation-welcome-body {
3404   padding: 1em 0;
3405   margin: 0 0;
3406 }
3407
3408 /* === END infobar.inc.css === */
3409
3410 notification[value="translation"] {
3411   min-height: 40px;
3412 }
3413
3414 .translate-notification-icon,
3415 #translate-notification-icon {
3416   list-style-image: url("chrome://browser/skin/translation-16.png");
3417   -moz-image-region: rect(0px, 16px, 16px, 0px);
3418 }
3419
3420 .translated-notification-icon,
3421 #translated-notification-icon {
3422   list-style-image: url("chrome://browser/skin/translation-16.png");
3423   -moz-image-region: rect(0px, 32px, 16px, 16px);
3424 }
3425
3426 .translation-menupopup {
3427   -moz-appearance: none;
3428 }
3429
3430 /* Bookmarks roots menu-items */
3431 #subscribeToPageMenuitem:not([disabled]),
3432 #subscribeToPageMenupopup,
3433 #BMB_subscribeToPageMenuitem:not([disabled]),
3434 #BMB_subscribeToPageMenupopup {
3435   list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3436 }
3437
3438 #bookmarksToolbarFolderMenu,
3439 #BMB_bookmarksToolbar,
3440 #panelMenu_bookmarksToolbar {
3441   list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3442   -moz-image-region: auto;
3443 }
3444
3445 #BMB_unsortedBookmarks,
3446 #panelMenu_unsortedBookmarks {
3447   list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3448   -moz-image-region: auto;
3449 }
3450
3451 /* ::::: Keyboard UI Panel ::::: */
3452
3453 .KUI-panel {
3454   color: #FF9F00;
3455   border-style: none;
3456   border-radius: 20px;
3457 }
3458
3459 .KUI-panel[level="top"] {
3460   /*background-color: rgba(27%,27%,27%,.65);*/
3461 }
3462
3463 /* Ctrl-Tab */
3464
3465 #ctrlTab-panel {
3466   padding: 20px 10px 10px;
3467   font-weight: bold;
3468 }
3469
3470 .ctrlTab-favicon[src] {
3471   background-color: #000000;
3472   width: 20px;
3473   height: 20px;
3474   padding: 2px;
3475 }
3476
3477 .ctrlTab-preview-inner > .tabPreview-canvas {
3478 }
3479
3480 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3481   margin-bottom: 2px;
3482 }
3483
3484 .ctrlTab-preview-inner {
3485   padding-bottom: 10px;
3486 }
3487
3488 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3489   padding: 10px;
3490   background-color: #000000;
3491   border-radius: .5em;
3492 }
3493
3494 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3495   color: white;
3496   background-color: #000000;
3497   text-shadow: none;
3498   padding: 8px;
3499   border: 2px solid #9C9CFF;
3500   border-radius: .5em;
3501 }
3502
3503 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3504   margin: -10px -10px 0;
3505 }
3506
3507 #ctrlTab-showAll {
3508   margin-top: .5em;
3509 }
3510
3511 /* Sync Panel */
3512
3513 .sync-panel-icon {
3514   height:32px;
3515   width: 32px;
3516   background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3517 }
3518
3519 .sync-panel-inner {
3520   width: 0;
3521   padding-left: 10px;
3522 }
3523
3524 .sync-panel-button-box {
3525   margin-top: 1em;
3526 }
3527
3528 #sync-error-panel-title,
3529 #sync-start-panel-title {
3530   font-size: 120%;
3531   font-weight: bold;
3532   margin-bottom: 5px;
3533 }
3534
3535 #sync-start-panel-subtitle,
3536 #sync-error-panel-subtitle {
3537   margin: 0;
3538 }
3539
3540 /* Status panel */
3541
3542 .statuspanel-label {
3543   margin: 0;
3544   padding: 2px 4px;
3545   background: #404000;
3546   border: 1px none #9C9CFF;
3547   border-top-style: solid;
3548   color: #FF9F00;
3549   text-shadow: none;
3550 }
3551
3552 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3553 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3554   border-right-style: solid;
3555   border-top-right-radius: .3em;
3556   margin-right: 1em;
3557 }
3558
3559 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3560 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3561   border-left-style: solid;
3562   border-top-left-radius: .3em;
3563   margin-left: 1em;
3564 }
3565
3566 /* HACK to abolish devily color on main content */
3567
3568 #content {
3569   background-color: transparent !important;
3570 }
3571
3572 #full-screen-warning-message {
3573   background-color: #000000;
3574   color: #FF9F00;
3575   border-radius: 8px;
3576   margin-top: 30px;
3577   padding: 30px 50px;
3578   box-shadow: 0 0 2px #9C9CFF;
3579 }
3580
3581 #full-screen-warning-container[obscure-browser] {
3582   background-color: rgba(0,0,0,0.3);
3583 }
3584
3585 .full-screen-description {
3586   font-size: 150%;
3587 }
3588
3589 #full-screen-domain-text {
3590   font-size: 300%;
3591 }
3592
3593 .full-screen-approval-button,
3594 #full-screen-remember-decision {
3595   font-size: 120%;
3596 }
3597
3598 /* === BEGIN commandline.inc.css === */
3599
3600 /* Developer toolbar */
3601
3602 #developer-toolbar {
3603   border-top: 3px solid #000000;
3604   border-bottom: none;
3605 }
3606
3607 #developer-toolbar .toolbar-holder {
3608   background-color: #8050B0;
3609   color: #FFCF00;
3610 }
3611
3612 #developer-toolbar .toolbar-holder {
3613   background-color: #8050B0;
3614   color: #FFCF00;
3615 }
3616
3617 #developer-toolbar .toolbar-startcap,
3618 #developer-toolbar .toolbar-endcap{
3619   background-color: #6000CF;
3620 }
3621
3622 #developer-toolbar {
3623 /*  padding: 0;
3624   min-height: 32px; */
3625 }
3626
3627 #developer-toolbar > toolbarbutton {
3628 /*  margin: 0;
3629   padding: 0 10px;
3630   width: 32px; */
3631 }
3632
3633 .developer-toolbar-button > image {
3634 /*  margin: auto 10px; */
3635 }
3636
3637 #developer-toolbar-toolbox-button > label {
3638   display: none;
3639 }
3640
3641 .developer-toolbar-button > .toolbarbutton-icon,
3642 #developer-toolbar-closebutton > .toolbarbutton-icon {
3643   width: 16px;
3644   height: 16px;
3645 }
3646
3647 #developer-toolbar-toolbox-button {
3648   list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3649   -moz-image-region: rect(0px, 16px, 16px, 0px);
3650 }
3651
3652 #developer-toolbar-toolbox-button > label {
3653   display: none;
3654 }
3655
3656 #developer-toolbar-toolbox-button:hover,
3657 #developer-toolbar-toolbox-button:hover:active,
3658 #developer-toolbar-toolbox-button[checked=true] {
3659   -moz-image-region: rect(0px, 32px, 16px, 16px);
3660 }
3661
3662 @media (min-resolution: 2dppx) {
3663   #developer-toolbar-toolbox-button {
3664     list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3665     -moz-image-region: rect(0px, 32px, 32px, 0px);
3666   }
3667
3668   #developer-toolbar-toolbox-button:hover,
3669   #developer-toolbar-toolbox-button:hover:active,
3670   #developer-toolbar-toolbox-button[checked=true] {
3671     -moz-image-region: rect(0px, 64px, 32px, 32px);
3672   }
3673 }
3674
3675 #developer-toolbar-closebutton {
3676   list-style-image: url("chrome://browser/skin/devtools/close.png");
3677   -moz-image-region: rect(0px, 16px, 16px, 0px);
3678   min-width: 16px;
3679   width: 16px;
3680 }
3681
3682 #developer-toolbar-closebutton > .toolbarbutton-icon {
3683 }
3684
3685 #developer-toolbar-closebutton > .toolbarbutton-text {
3686   display: none;
3687 }
3688
3689 #developer-toolbar-closebutton:hover,
3690 #developer-toolbar-closebutton:hover:active {
3691   -moz-image-region: rect(0px, 32px, 16px, 16px);
3692 }
3693
3694 @media (min-resolution: 2dppx) {
3695   #developer-toolbar-closebutton {
3696     list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3697     -moz-image-region: rect(0px, 32px, 32px, 0px);
3698   }
3699
3700   #developer-toolbar-closebutton:hover,
3701   #developer-toolbar-closebutton:hover:active {
3702     -moz-image-region: rect(0px, 64px, 32px, 32px);
3703   }
3704 }
3705
3706 /* GCLI */
3707
3708 html|*#gcli-tooltip-frame,
3709 html|*#gcli-output-frame {
3710   padding: 0;
3711   border-width: 0;
3712   background-color: transparent;
3713 }
3714
3715 #gcli-output,
3716 #gcli-tooltip {
3717   border-width: 0;
3718   background-color: transparent;
3719 }
3720
3721 .gclitoolbar-input-node,
3722 .gclitoolbar-complete-node {
3723   margin: 1px 3px;
3724   -moz-box-align: center;
3725   padding-top: 0;
3726   padding-bottom: 0;
3727   padding-right: 8px;
3728   background-color: transparent;
3729 }
3730
3731 .gclitoolbar-input-node {
3732 /*  line-height: 32px;
3733   outline-style: none; */
3734   background-repeat: no-repeat;
3735   background-color: rgba(0, 0, 0, .75);
3736 }
3737
3738 .gclitoolbar-input-node[focused="true"] {
3739   background-color: #000000;
3740 }
3741
3742 .gclitoolbar-input-node::before {
3743   content: "";
3744   display: inline-block;
3745   -moz-box-ordinal-group: 0;
3746   width: 16px;
3747   height: 16px;
3748   margin: 0 2px;
3749   background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3750   background-position: 0 center;
3751   background-size: 32px 16px;
3752 }
3753
3754 .gclitoolbar-input-node[focused="true"]::before {
3755   background-position: -16px center;
3756 }
3757
3758 @media (min-resolution: 2dppx) {
3759   .gclitoolbar-input-node::before {
3760     background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3761   }
3762 }
3763
3764 .gclitoolbar-input-node:not([focused="true"]) {
3765   border-color: transparent;
3766 }
3767
3768 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3769   background-color: #008484;
3770   color: #000000;
3771   text-shadow: none;
3772 }
3773
3774 .gclitoolbar-complete-node {
3775   padding-left: 21px;
3776   background-color: transparent;
3777   color: transparent;
3778   z-index: 100;
3779   pointer-events: none;
3780 }
3781
3782 .gcli-in-incomplete,
3783 .gcli-in-error,
3784 .gcli-in-ontab,
3785 .gcli-in-todo,
3786 .gcli-in-closebrace,
3787 .gcli-in-param,
3788 .gcli-in-valid {
3789   margin: 0;
3790   padding: 0;
3791 }
3792
3793 .gcli-in-incomplete {
3794   border-bottom: 2px dotted #8050B0;
3795 }
3796
3797 .gcli-in-error {
3798   border-bottom: 2px dotted #FF0000;
3799 }
3800
3801 .gcli-in-ontab {
3802   color: #9C9CFF;
3803 }
3804
3805 .gcli-in-todo {
3806   color: #795900;
3807 }
3808
3809 .gcli-in-closebrace {
3810   color: #8050B0;
3811 }
3812
3813 /* === END commandline.inc.css === */
3814
3815 /* === BEGIN responsivedesign.inc.css === */
3816
3817 /* Responsive Mode */
3818
3819 .browserContainer[responsivemode] {
3820   background-color: #221500;
3821   padding: 0 20px 20px 20px;
3822 }
3823
3824 .browserStack[responsivemode] {
3825   box-shadow: 0 0 7px #9C9CFF;
3826 }
3827
3828 .devtools-responsiveui-toolbar {
3829   background: transparent;
3830   /* text color is textColor from dark theme, since no theme is applied to
3831    * the responsive toolbar.
3832    */
3833   color: #FF9F00;
3834   margin: 10px 0;
3835   padding: 0;
3836   box-shadow: none;
3837   border-bottom-width: 0;
3838 }
3839
3840 .devtools-responsiveui-menulist,
3841 .devtools-responsiveui-toolbarbutton {
3842   -moz-box-align: center;
3843   min-width: 32px;
3844 /*  min-height: 22px;*/
3845 /*  margin: 0 3px; */
3846 }
3847
3848 .devtools-responsiveui-menulist .menulist-editable-box {
3849   background-color: transparent;
3850 }
3851
3852 .devtools-responsiveui-menulist html|*.menulist-editable-input {
3853   color: inherit;
3854   text-align: center;
3855 }
3856
3857 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
3858 /*  background: hsla(212,7%,57%,.35);*/
3859 }
3860
3861 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
3862   width: 16px;
3863   height: 16px;
3864 }
3865
3866 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3867   -moz-box-orient: horizontal;
3868 }
3869
3870 .devtools-responsiveui-menulist:-moz-focusring,
3871 .devtools-responsiveui-toolbarbutton:-moz-focusring {
3872 /*  outline: 1px dotted hsla(210,30%,85%,0.7);
3873   outline-offset: -4px;*/
3874 }
3875
3876 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3877   display: none;
3878 }
3879
3880 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3881 /*  border-color: hsla(210,8%,5%,.6);
3882   background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3883   box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3884 }
3885
3886 .devtools-responsiveui-menulist[open=true],
3887 .devtools-responsiveui-toolbarbutton[open=true],
3888 .devtools-responsiveui-toolbarbutton[checked=true] {
3889 /*  border-color: hsla(210,8%,5%,.6) !important;
3890   background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3891   box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3892 }
3893
3894 .devtools-responsiveui-toolbarbutton[checked=true] {
3895 /*  color: hsl(208,100%,60%); */
3896 }
3897
3898 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
3899 /*  background-color: transparent !important;*/
3900 }
3901
3902 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3903 /*  background-color: hsla(210,8%,5%,.2) !important;*/
3904 }
3905
3906 .devtools-responsiveui-menulist > .menulist-label-box {
3907   text-align: center;
3908 }
3909
3910 .devtools-responsiveui-menulist > .menulist-dropmarker {
3911 /*  display: -moz-box;
3912   background-color: transparent;
3913   list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
3914   -moz-box-align: center;
3915   border-width: 0;
3916   min-width: 16px;*/
3917 }
3918
3919 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3920 /*  color: inherit;
3921   border-width: 0;
3922   -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3923   box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3924 }
3925
3926 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3927 /*  box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3928 }
3929
3930 .devtools-responsiveui-toolbarbutton[type=menu-button] {
3931 /*  padding: 0 1px;*/
3932   -moz-box-align: stretch;
3933 }
3934
3935 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3936 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3937 /*  list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
3938   -moz-box-align: center;
3939   padding: 0 3px;*/
3940 }
3941
3942 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3943 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3944   margin-left: 3px;
3945 }
3946
3947 .devtools-responsiveui-close {
3948   list-style-image: url("chrome://browser/skin/devtools/close.png");
3949   -moz-image-region: rect(0px,16px,16px,0px);
3950 }
3951
3952 .devtools-responsiveui-close:hover {
3953   -moz-image-region: rect(0px,32px,16px,16px);
3954 }
3955
3956 .devtools-responsiveui-rotate {
3957   list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3958   -moz-image-region: rect(0px,16px,16px,0px);
3959 }
3960
3961 .devtools-responsiveui-rotate:hover {
3962   -moz-image-region: rect(0px,32px,16px,16px);
3963 }
3964
3965 @media (min-resolution: 2dppx) {
3966   .devtools-responsiveui-close {
3967     list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3968   }
3969
3970   .devtools-responsiveui-close:hover {
3971     -moz-image-region: rect(0px,64px,32px,32px);
3972   }
3973
3974   .devtools-responsiveui-rotate {
3975     list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
3976   }
3977
3978   .devtools-responsiveui-rotate:hover {
3979     -moz-image-region: rect(0px,64px,32px,32px);
3980   }
3981 }
3982
3983 .devtools-responsiveui-touch {
3984   list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3985   -moz-image-region: rect(0px,16px,16px,0px);
3986 }
3987
3988 .devtools-responsiveui-touch:hover,
3989 .devtools-responsiveui-touch[checked],
3990 .devtools-responsiveui-touch[checked]:hover {
3991   -moz-image-region: rect(0px,32px,16px,16px);
3992 }
3993
3994 @media (min-resolution: 2dppx) {
3995   .devtools-responsiveui-touch {
3996     list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
3997     -moz-image-region: rect(0px,32px,32px,0px);
3998   }
3999
4000   .devtools-responsiveui-touch:hover,
4001   .devtools-responsiveui-touch[checked],
4002   .devtools-responsiveui-touch[checked]:hover {
4003     -moz-image-region: rect(0px,64px,32px,32px);
4004   }
4005 }
4006
4007 .devtools-responsiveui-screenshot {
4008   list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4009   -moz-image-region: rect(0px,16px,16px,0px);
4010 }
4011
4012 .devtools-responsiveui-screenshot:hover {
4013   -moz-image-region: rect(0px,32px,16px,16px);
4014 }
4015
4016 @media (min-resolution: 2dppx) {
4017   .devtools-responsiveui-screenshot {
4018     list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4019   }
4020
4021   .devtools-responsiveui-screenshot:hover {
4022     -moz-image-region: rect(0px,64px,32px,32px);
4023   }
4024 }
4025
4026 .devtools-responsiveui-resizebarV {
4027   width: 7px;
4028   height: 24px;
4029   cursor: ew-resize;
4030   transform: translate(12px, -12px);
4031   background-size: cover;
4032   background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4033 }
4034
4035 .devtools-responsiveui-resizebarH {
4036   width: 24px;
4037   height: 7px;
4038   cursor: ns-resize;
4039   transform: translate(-12px, 12px);
4040   background-size: cover;
4041   background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4042 }
4043
4044 .devtools-responsiveui-resizehandle {
4045   width: 16px;
4046   height: 16px;
4047   cursor: se-resize;
4048   transform: translate(12px, 12px);
4049   background-size: cover;
4050   background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
4051 }
4052
4053 /* FxOS custom mode with additional buttons and phone look'n feel */
4054
4055 /* Hide devtools manual resizer */
4056 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4057 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4058 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4059   display: none;
4060 }
4061
4062 /* Gives responsive mode a phone look'n feel */
4063 .browserStack[responsivemode].fxos-mode {
4064   padding: 60px 15px 0;
4065
4066   border-radius: 25px / 20px;
4067   border-bottom-left-radius: 0;
4068   border-bottom-right-radius: 0;
4069   border: 1px solid #FFFFFF;
4070   border-bottom-width: 0;
4071
4072   background-color: #353535;
4073
4074   box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4075
4076   background-image: linear-gradient(to right, #111 11%, #333 56%);
4077   min-width: 320px;
4078 }
4079
4080 .devtools-responsiveui-hardware-buttons {
4081   -moz-appearance: none;
4082   padding: 20px;
4083
4084   border: 1px solid #FFFFFF;
4085   border-bottom-left-radius: 25px;
4086   border-bottom-right-radius: 25px;
4087   border-top-width: 0;
4088
4089   box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4090
4091   background-image: linear-gradient(to right, #111 11%, #333 56%);
4092 }
4093
4094 .devtools-responsiveui-home-button {
4095   width: 40px;
4096   height: 30px;
4097   list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4098 }
4099
4100 .devtools-responsiveui-sleep-button {
4101   -moz-appearance: none;
4102   /* compensate browserStack top padding */
4103   margin-top: -67px;
4104   margin-right: 10px;
4105
4106   min-width: 10px;
4107   width: 50px;
4108   height: 5px;
4109
4110   border: 1px solid #444;
4111   border-top-right-radius: 12px;
4112   border-top-left-radius: 12px;
4113   border-bottom-color: transparent;
4114
4115   background-image: linear-gradient(to top, #111 11%, #333 56%);
4116 }
4117
4118 .devtools-responsiveui-sleep-button:hover:active {
4119   background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4120 }
4121
4122 .devtools-responsiveui-volume-buttons {
4123   margin-left: -29px;
4124 }
4125
4126 .devtools-responsiveui-volume-up-button,
4127 .devtools-responsiveui-volume-down-button {
4128   -moz-appearance: none;
4129   border: 1px solid red;
4130   min-width: 8px;
4131   height: 40px;
4132
4133   border: 1px solid #444;
4134   border-right-color: transparent;
4135
4136   background-image: linear-gradient(to right, #111 11%, #333 56%);
4137 }
4138
4139 .devtools-responsiveui-volume-up-button:hover:active,
4140 .devtools-responsiveui-volume-down-button:hover:active {
4141   background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4142 }
4143
4144 .devtools-responsiveui-volume-up-button {
4145   border-top-left-radius: 12px;
4146 }
4147
4148 .devtools-responsiveui-volume-down-button {
4149   border-bottom-left-radius: 12px;
4150 }
4151
4152 @media (min-resolution: 2dppx) {
4153   .devtools-responsiveui-resizebarV {
4154     background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4155   }
4156
4157   .devtools-responsiveui-resizebarH {
4158     background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4159   }
4160
4161   .devtools-responsiveui-resizehandle {
4162     background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4163   }
4164 }
4165
4166 /* === END responsivedesign.inc.css === */
4167
4168 /* === including indicator.css is done at the start of the file === */
4169
4170 /* Error counter */
4171
4172 #developer-toolbar-toolbox-button[error-count]:before {
4173   color: #000000;
4174   min-width: 16px;
4175   text-shadow: none;
4176   background-color: #FF0000;
4177   border-radius: 1px;
4178   -moz-margin-end: 5px;
4179 }
4180
4181 /* Social toolbar item */
4182
4183 #social-notification-icon-mentions {
4184   background-color: #000000;
4185   border-radius: 3px;
4186   -moz-margin-start: 2px;
4187 }
4188
4189 #social-notification-icon-mentions:hover {
4190   background-color: #FFCF00;
4191 }
4192
4193 #social-notification-icon-mentions[open="true"] {
4194   background-color: #FF9F00;
4195 }
4196
4197 #social-sidebar-splitter {
4198   border: 0;
4199 }
4200
4201 .popup-notification-icon[popupid="servicesInstall"] {
4202   list-style-image: url("chrome://browser/skin/social/services-64.png");
4203 }
4204 #servicesInstall-notification-icon {
4205   list-style-image: url("chrome://browser/skin/social/services-16.png");
4206 }
4207 #social-undoactivation-button {
4208   -moz-margin-start: 0; /* override default label margin to match description margin */
4209 }
4210
4211 #socialActivatedNotification .popup-notification-button-container {
4212   margin-left: 6px;
4213 }
4214
4215 .social-activation-icon {
4216   width: auto;
4217   height: auto;
4218   max-height: 64px;
4219   max-width: 64px;
4220 }
4221
4222 #social-activation-message {
4223   max-width: 250px;
4224 }
4225
4226 #social-activation-message > label {
4227   margin: 0;
4228 }
4229
4230 /* social toolbar provider menu */
4231 .social-statusarea-popup {
4232   margin-top: 0;
4233   margin-left: -12px;
4234   margin-right: -12px;
4235 }
4236
4237 .social-statusarea-user {
4238   border-bottom: 1px solid #9C9CFF;
4239   background-color: #000000;
4240   color: #FF9F00;
4241   position: relative;
4242   cursor: pointer;
4243 }
4244
4245 .social-statusarea-user-portrait {
4246   width: 32px;
4247   height: 32px;
4248   border-radius: 2px;
4249   margin: 10px;
4250 }
4251
4252 .social-statusarea-loggedInStatus {
4253   background: transparent;
4254   border: none;
4255   color: #3333FF;
4256   min-width: 0;
4257   margin: 0 6px;
4258   list-style-image: none;
4259 }
4260
4261 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4262   text-decoration: underline;
4263 }
4264
4265 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4266   padding: 0;
4267 }
4268
4269 .social-panel-frame {
4270   border-radius: inherit;
4271 }
4272
4273 /* === BEGIN chat.inc.css === */
4274
4275 #social-sidebar-header {
4276   padding: 3px;
4277 }
4278
4279 #manage-share-providers,
4280 #social-sidebar-button {
4281   list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4282   -moz-image-region: rect(0, 468px, 18px, 450px);
4283 }
4284
4285 #social-sidebar-button {
4286   -moz-appearance: none;
4287   border: none;
4288   padding: 0;
4289   margin: 2px;
4290 }
4291 #manage-share-providers > .toolbarbutton-icon,
4292 #social-sidebar-button > .toolbarbutton-icon {
4293   min-height: 18px;
4294   min-width: 18px;
4295 }
4296 #manage-share-providers:hover,
4297 #manage-share-providers:hover:active,
4298 #social-sidebar-button:hover,
4299 #social-sidebar-button:hover:active {
4300   -moz-image-region: rect(18px, 468px, 36px, 450px);
4301 }
4302 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4303   display: none;
4304 }
4305
4306 #social-sidebar-button[loading="true"] {
4307   list-style-image: url("chrome://global/skin/icons/loading.gif");
4308 }
4309
4310 #social-sidebar-favico {
4311   max-height: 16px;
4312   max-width: 16px;
4313   padding: 0;
4314   margin: 2px;
4315 }
4316
4317 .chat-status-icon {
4318   max-height: 16px;
4319   max-width: 16px;
4320   padding: 0;
4321 }
4322
4323 .chat-toolbarbutton {
4324   -moz-appearance: none;
4325   border: none;
4326   padding: 0 3px;
4327   margin: 0;
4328   background: none;
4329 }
4330
4331 .chat-toolbarbutton:hover {
4332 /*  background-color: rgba(255,255,255,.35);*/
4333 }
4334
4335 .chat-toolbarbutton:hover:active {
4336 /*  background-color: rgba(255,255,255,.5);*/
4337 }
4338
4339 .chat-toolbarbutton > .toolbarbutton-text {
4340   display: none;
4341 }
4342
4343 .chat-toolbarbutton > .toolbarbutton-icon {
4344   width: 16px;
4345   height: 16px;
4346 }
4347
4348 .chat-close-button {
4349   list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
4350 }
4351
4352 .chat-close-button:-moz-any(:hover,:hover:active) {
4353   list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
4354 }
4355
4356 .chat-minimize-button {
4357   list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
4358 }
4359
4360 .chat-minimize-button:-moz-any(:hover,:hover:active) {
4361   list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
4362 }
4363
4364 .chat-swap-button {
4365   list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4366   transform: rotate(180deg);
4367 }
4368
4369 .chat-swap-button:-moz-any(:hover,:hover:active) {
4370   list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
4371 }
4372
4373 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4374   transform: none;
4375 }
4376
4377 .chat-title {
4378   font-weight: bold;
4379   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4380   text-shadow: none;
4381   cursor: inherit;
4382 }
4383
4384 .chat-titlebar {
4385   background-color: #9C9CFF;
4386   color: #000000;
4387   height: 30px;
4388   min-height: 30px;
4389   width: 100%;
4390   margin: 0;
4391   padding: 7px 6px;
4392   border: none;
4393   border-bottom: 1px solid #008484;
4394   cursor: pointer;
4395 }
4396
4397 .chat-titlebar > .notification-anchor-icon {
4398   margin-left: 2px;
4399   margin-right: 2px;
4400 }
4401
4402 .chat-titlebar[minimized="true"] {
4403   border-bottom: none;
4404 }
4405
4406 .chat-titlebar[selected] {
4407   background-color: #008484;
4408 }
4409
4410 .chat-titlebar[activity] {
4411   background-color: #E7ADE7;
4412 }
4413
4414 chatbox[dark=true] > .chat-titlebar,
4415 chatbox[dark=true] > .chat-titlebar[selected] {
4416 /*  border-bottom: none;
4417   background-color: #000;
4418   background-image: none;*/
4419 }
4420
4421 chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4422 /*  font-weight: normal;
4423   color: #c1c1c1;*/
4424 }
4425
4426 .chat-frame {
4427   padding: 0;
4428   margin: 0;
4429   overflow: hidden;
4430 }
4431
4432 .chatbar-button {
4433   list-style-image: url("chrome://browser/skin/social/services-16.png");
4434   background-color: #000000;
4435   border: none;
4436   margin: 0;
4437   padding: 2px;
4438   height: 21px;
4439   width: 21px;
4440   border-top: 1px solid #008484;
4441   -moz-border-end: 1px solid #008484;
4442 }
4443
4444 @media (min-resolution: 2dppx) {
4445   .chatbar-button {
4446     list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4447   }
4448 }
4449
4450 .chatbar-button > .toolbarbutton-icon {
4451   width: 16px;
4452 }
4453
4454 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4455   width: auto;
4456   height: auto;
4457   max-height: 16px;
4458   max-width: 16px;
4459 }
4460
4461 .chatbar-button > .toolbarbutton-icon {
4462   opacity: .6;
4463   -moz-margin-end: 0;
4464 }
4465 .chatbar-button:hover > .toolbarbutton-icon,
4466 .chatbar-button[open="true"] > .toolbarbutton-icon {
4467   opacity: 1;
4468 }
4469
4470 .chatbar-button:hover,
4471 .chatbar-button[open="true"] {
4472 }
4473
4474 .chatbar-button > .toolbarbutton-text,
4475 .chatbar-button > .toolbarbutton-menu-dropmarker {
4476   display: none;
4477 }
4478
4479 .chatbar-button[activity]:not([open="true"]) {
4480   background-color: #E7ADE7;
4481 }
4482
4483 .chatbar-button > menupopup > menuitem[activity] {
4484   font-weight: bold;
4485 }
4486
4487 .chatbar-innerbox {
4488   background: transparent;
4489   margin: -285px 0 0;
4490   overflow: hidden;
4491 }
4492
4493 chatbar {
4494   -moz-margin-end: 20px;
4495 }
4496
4497 chatbar > chatbox {
4498   height: 285px;
4499   width: 260px;
4500   -moz-margin-start: 4px;
4501   background-color: #000000;
4502   border: 1px solid #9C9CFF;
4503   border-bottom: none;
4504   border-top-left-radius: 2.5px;
4505   border-top-right-radius: 2.5px;
4506 }
4507
4508 chatbox[minimized="true"] {
4509   width: 160px;
4510   height: 20px;
4511 }
4512
4513 window > chatbox {
4514   -moz-margin-start: 0px;
4515   margin: 0px;
4516   border: none;
4517   padding: 0px;
4518 }
4519
4520 /* === END chat.inc.css === */
4521
4522 .chat-titlebar {
4523 /*  background-color: #c4cfde; */
4524 }
4525
4526 .chat-titlebar[selected] {
4527 /*  background-color: #dae3f0; */
4528 }
4529
4530 .chatbar-button {
4531   -moz-appearance: none;
4532 /*  background-color: #c4cfde; */
4533 }
4534
4535 .chatbar-button > .toolbarbutton-icon {
4536 /*  -moz-margin-end: 0; */
4537 }
4538
4539 .chatbar-button:hover,
4540 .chatbar-button[open="true"] {
4541 /*  background-color: #dae3f0; */
4542 }
4543
4544 .chatbar-button[activity]:not([open="true"]) {
4545 }
4546
4547 chatbox {
4548 /*  border-top-left-radius: 2.5px;
4549   border-top-right-radius: 2.5px; */
4550 }
4551
4552 /* === BEGIN plugin-doorhanger.inc.css === */
4553
4554 /**
4555  * Plugin Doorhanger Styles
4556  */
4557
4558 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4559   padding: 6px 1px 2px;
4560 }
4561
4562 .click-to-play-plugins-notification-center-box {
4563 }
4564
4565 .plugin-popupnotification-centeritem:nth-child(odd) {
4566 /*  background-color: rgba(0,0,0,0.1);*/
4567 }
4568
4569 .center-item-label {
4570   margin-bottom: 0;
4571   text-overflow: ellipsis;
4572 }
4573
4574 .center-item-warning-icon {
4575   background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4576   background-repeat: no-repeat;
4577   width: 16px;
4578   height: 15px;
4579   -moz-margin-start: 6px;
4580 }
4581
4582 .click-to-play-plugins-notification-button-container {
4583 }
4584
4585 .click-to-play-popup-button {
4586   width: 50%;
4587 }
4588
4589 .click-to-play-plugins-notification-description-box {
4590   margin-left: 5px;
4591   margin-right: 5px;
4592   margin-top: 0;
4593   padding-bottom: 3px;
4594 }
4595
4596 .click-to-play-plugins-outer-description {
4597   margin-top: 1px;
4598 }
4599
4600 .click-to-play-plugins-notification-link,
4601 .center-item-link {
4602   margin: 0;
4603 }
4604
4605 .messageImage[value="plugin-hidden"] {
4606   list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4607 }
4608
4609 /* Keep any changes to this style in sync with pluginProblem.css */
4610 notification.pluginVulnerable {
4611 }
4612
4613 notification.pluginVulnerable .messageImage {
4614   list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4615 }
4616
4617 /* === END plugin-doorhanger.inc.css === */
4618
4619 /* === BEGIN badcontent-doorhanger.inc.css === */
4620
4621 .popup-notification-item-title[popupid="bad-content"] {
4622   font-weight: bold;
4623 }
4624
4625 .popup-notification-item-message[popupid="bad-content"] {
4626   width: 17em;
4627 }
4628
4629 .popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical),
4630 .popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) {
4631   color: #8050B0;
4632 }
4633
4634 .popup-notification-item-message-critical[popupid="bad-content"] {
4635   color: #FF0000;
4636   font-style: italic;
4637 }
4638
4639 .popup-notification-footer[popupid="bad-content"] {
4640   padding-top: 1em;
4641 }
4642
4643 /* === END badcontent-doorhanger.inc.css === */
4644
4645 /* EME notifications */
4646
4647 .popup-notification-icon[popupid="drmContentPlaying"],
4648 #eme-notification-icon {
4649   list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
4650 }
4651
4652 #eme-notification-icon:hover:active {
4653   list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
4654 }
4655
4656 /* === BEGIN customizeMode.inc.css === */
4657
4658 /* Customization mode */
4659
4660 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4661   margin-bottom: 1em;
4662 }
4663
4664 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4665 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4666 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4667   margin-left: 1em;
4668   margin-right: 1em;
4669 }
4670
4671 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4672   pointer-events: none;
4673 }
4674
4675 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4676 #PanelUI-contents > .panel-customization-placeholder {
4677   -moz-outline-radius: 2.5px;
4678   outline: 1px dashed transparent;
4679 }
4680
4681 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4682   /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4683   -moz-box-ordinal-group: 0;
4684   content: "";
4685   display: -moz-box;
4686   height: 100%;
4687   left: 0;
4688   outline-offset: -2px;
4689   pointer-events: none;
4690   position: absolute;
4691   top: 0;
4692   width: 100%;
4693 }
4694
4695 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4696    #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4697    offset from the bottom effectively the same as other targets (-2px). */
4698 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4699 /*  top: -2px;*/
4700 }
4701
4702 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4703 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4704 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4705 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4706   position: relative;
4707 }
4708
4709 /* Most target outlines are shown on hover and drag over but the panel menu uses
4710    placeholders instead. */
4711 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4712 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4713 /* nav-bar and panel outlines are always shown */
4714 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4715   outline-color: #A09090;
4716 }
4717
4718 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4719   transition: outline-color 250ms linear;
4720 }
4721
4722 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4723   transition: outline-color 250ms linear;
4724   outline-color: #9C9CFF;
4725 }
4726
4727 #PanelUI-contents > .panel-customization-placeholder {
4728   cursor: auto;
4729   outline-offset: -5px;
4730 }
4731
4732 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4733   min-width: 100px;
4734 /*  padding-left: 10px;
4735   padding-right: 10px;*/
4736 }
4737
4738 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4739   padding: 0 2em 2em;
4740 }
4741
4742 #customization-container {
4743   background-color: #000000;
4744   color: #FF9F00;
4745 }
4746
4747 #customization-palette,
4748 #customization-empty {
4749   padding: 0 15px 15px;
4750 }
4751
4752 #customization-header {
4753   font-size: 1.75em;
4754   line-height: 1.75em;
4755   color: #9C9CFF;
4756   font-weight: 200;
4757   margin: 25px 25px 12px;
4758   padding-bottom: 12px;
4759   border-bottom: 1px solid #A09090;
4760 }
4761
4762 #customization-panel-container {
4763   padding: 10px 10px 0px;
4764 }
4765
4766 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4767 #customization-footer {
4768   /*background-color: rgb(236,236,236);*/
4769 }
4770
4771 #customization-footer {
4772   border-top: 1px solid #9C9CFF;
4773   padding: 10px;
4774 }
4775
4776 .customizationmode-button {
4777   margin: 5px;
4778 }
4779
4780 .customizationmode-button:hover {
4781 }
4782
4783 #customization-titlebar-visibility-button[checked],
4784 #customization-devedition-theme-button[checked] {
4785   background-color: #008484;
4786 }
4787
4788 #customization-titlebar-visibility-button[checked]:hover,
4789 #customization-devedition-theme-button[checked]:hover {
4790   background-color: #FFCF00;
4791 }
4792
4793 #customization-titlebar-visibility-button[checked]:hover:active,
4794 #customization-devedition-theme-button[checked]:hover:active {
4795   background-color: #FF9F00;
4796 }
4797
4798 .customizationmode-button[disabled="true"] {
4799 }
4800
4801 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
4802 .customizationmode-button > .button-box > .button-icon {
4803 /*  height: 24px;*/
4804 }
4805
4806 #customization-titlebar-visibility-button {
4807   list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4808   -moz-image-region: rect(0, 16px, 16px, 0);
4809   padding: 0px 5px;
4810 }
4811
4812 #customization-titlebar-visibility-button:hover {
4813   -moz-image-region: rect(16px, 16px, 32px, 0);
4814 }
4815
4816 #customization-titlebar-visibility-button > .button-box {
4817   padding-top: 0;
4818   padding-bottom: 1px;
4819 }
4820
4821 #customization-titlebar-visibility-button:hover:active > .button-box {
4822   padding-top: 1px;
4823   padding-bottom: 0;
4824 }
4825
4826 #customization-titlebar-visibility-button > .button-box > .button-text {
4827   /* Sadly, button.css thinks its margins are perfect for everyone. */
4828   -moz-margin-start: 5px !important;
4829 }
4830
4831 #customization-titlebar-visibility-button > .button-box > .button-icon {
4832   vertical-align: middle;
4833 }
4834
4835 #customization-titlebar-visibility-button[checked] {
4836   -moz-image-region: rect(0, 32px, 16px, 16px);
4837   background-color: #008484;
4838 }
4839
4840 #customization-titlebar-visibility-button[checked]:hover {
4841   -moz-image-region: rect(16px, 32px, 32px, 16px);
4842   background-color: #FFCF00;
4843 }
4844
4845 #customization-titlebar-visibility-button[checked]:hover:active {
4846   background-color: #FF9F00;
4847 }
4848
4849 #main-window[customize-entered] #customization-panel-container {
4850   background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4851   background-position: left top;
4852   background-repeat: repeat;
4853   background-size: auto;
4854   background-attachment: fixed;
4855 }
4856
4857 toolbarpaletteitem[place="toolbar"] {
4858   transition: border-width 250ms ease-in-out;
4859 }
4860
4861 toolbarpaletteitem[mousedown] {
4862   outline: 1px solid #008484;
4863   cursor: -moz-grabbing;
4864   opacity: 0.8;
4865 }
4866
4867 .panel-customization-placeholder,
4868 toolbarpaletteitem[place="palette"],
4869 toolbarpaletteitem[place="panel"] {
4870   transition: transform .3s ease-in-out;
4871 }
4872
4873 #customization-palette {
4874   transition: opacity .3s ease-in-out;
4875   opacity: 0;
4876 }
4877
4878 #customization-palette[showing="true"] {
4879   opacity: 1;
4880 }
4881
4882 toolbarpaletteitem[notransition].panel-customization-placeholder,
4883 toolbarpaletteitem[notransition][place="toolbar"],
4884 toolbarpaletteitem[notransition][place="palette"],
4885 toolbarpaletteitem[notransition][place="panel"] {
4886   transition: none;
4887 }
4888
4889 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4890 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
4891 toolbarpaletteitem > toolbaritem.panel-wide-item,
4892 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4893   transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
4894 }
4895
4896 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4897 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
4898   transform: scale(1.3);
4899 }
4900
4901 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4902 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
4903   transform: scale(1.1);
4904 }
4905
4906 /* Override the toolkit styling for items being dragged over. */
4907 toolbarpaletteitem[place="toolbar"] {
4908   border-left-width: 0;
4909   border-right-width: 0;
4910   margin-right: 0;
4911   margin-left: 0;
4912 }
4913
4914 #customization-palette:not([hidden]) {
4915   margin-bottom: 25px;
4916 }
4917
4918 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4919 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4920 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4921 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4922   margin-top: 20px;
4923 }
4924
4925 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4926 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4927   margin-left: 0;
4928   margin-right: 0;
4929   max-width: 24px;
4930   min-width: 24px;
4931   max-height: 24px;
4932   min-height: 24px;
4933   padding: 4px;
4934 }
4935
4936 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4937 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4938   width: 16px;
4939 }
4940
4941 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4942   opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4943 }
4944
4945 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4946 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
4947   display: none;
4948 }
4949
4950 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4951   -moz-box-pack: center;
4952   min-height: 48px;
4953 }
4954
4955 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
4956   -moz-margin-end: 5px;
4957 }
4958
4959 #customization-palette > toolbarpaletteitem > label {
4960   text-align: center;
4961   margin-left: 0;
4962   margin-right: 0;
4963 }
4964
4965 #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
4966   -moz-box-orient: vertical;
4967   /* Make the panel padding uniform across all platforms due to the
4968      styling of the section headers and footer. */
4969   padding: 10px;
4970 }
4971
4972 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
4973   width: 32px;
4974   height: 32px;
4975 }
4976
4977 .customization-lwtheme-menu-theme {
4978   -moz-appearance: none;
4979   margin: 0 -5px 5px;
4980   padding-top: 0;
4981   -moz-padding-end: 5px;
4982   padding-bottom: 0;
4983   -moz-padding-start: 0;
4984 }
4985
4986 .customization-lwtheme-menu-theme[defaulttheme] {
4987   list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
4988 }
4989
4990 .customization-lwtheme-menu-theme[active="true"] {
4991   background-color: #008484;
4992 }
4993
4994 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
4995   margin: 5px;
4996 }
4997
4998 .customization-lwtheme-menu-theme > .toolbarbutton-text {
4999   text-align: start;
5000 }
5001
5002 #customization-lwtheme-menu-header,
5003 #customization-lwtheme-menu-recommended {
5004   padding: 10px;
5005   margin-bottom: 5px;
5006 }
5007
5008 #customization-lwtheme-menu-header,
5009 #customization-lwtheme-menu-recommended,
5010 #customization-lwtheme-menu-footer {
5011   background-color: #A09090;
5012   color: #000000;
5013   margin-right: -10px;
5014   margin-left: -10px;
5015 }
5016
5017 #customization-lwtheme-menu-header {
5018   margin-top: -10px;
5019   border-top-right-radius: 3px;
5020   border-top-left-radius: 3px;
5021 }
5022
5023 #customization-lwtheme-menu-recommended {
5024 }
5025
5026 #customization-lwtheme-menu-footer {
5027   margin-bottom: -10px;
5028   border-bottom-right-radius: 3px;
5029   border-bottom-left-radius: 3px;
5030 }
5031
5032 .customization-lwtheme-menu-footeritem {
5033   -moz-appearance: none;
5034   -moz-box-flex: 1;
5035   background-color: #C09070;
5036   color: #000000;
5037   border: 1px solid transparent;
5038   padding: 10px;
5039   margin-left: 0;
5040   margin-right: 0;
5041 }
5042
5043 .customization-lwtheme-menu-footeritem:hover {
5044   background-color: #FFCF00;
5045 }
5046
5047 .customization-lwtheme-menu-footeritem:first-child {
5048 }
5049
5050 /* === END customizeMode.inc.css === */
5051
5052 /* === BEGIN customizeTip.inc.css === */
5053
5054 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5055   padding: 0;
5056   margin: 0;
5057   min-width: 400px;
5058   max-width: 1000px;
5059   min-height: 200px;
5060   border-radius: 3px;
5061 /*  background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5062   border: 1px solid #9C9CFF;
5063   color: #FF9F00;
5064 }
5065
5066 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5067 /*  background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5068 }
5069
5070 .customization-tipPanel-infoBox {
5071   margin: 20px 25px 25px;
5072   width: 25px;
5073   background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5074   background-repeat: no-repeat;
5075 }
5076
5077 .customization-tipPanel-content {
5078   margin: 25px 0;
5079   font-size: 12px;
5080   line-height: 18px;
5081 }
5082
5083 .customization-tipPanel-em {
5084   margin: 0;
5085   font-weight: bold;
5086 }
5087
5088 .customization-tipPanel-contentImage {
5089   margin-top: 25px;
5090   list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5091   min-width: 300px;
5092   max-width: 300px;
5093   min-height: 190px;
5094   max-height: 190px;
5095   display: -moz-box;
5096 }
5097
5098 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5099   list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5100 }
5101
5102 .customization-tipPanel-link {
5103   -moz-appearance: none;
5104   background: transparent;
5105   border: none;
5106   box-shadow: none;
5107   color: #3333FF;
5108   margin: 0;
5109   cursor: pointer;
5110 }
5111
5112 .customization-tipPanel-link > .button-box > .button-text {
5113   margin: 0 !important;
5114 }
5115
5116 .customization-tipPanel-closeBox > .close-icon {
5117   -moz-appearance: none;
5118   border: 0;
5119   -moz-margin-end: -25px;
5120 }
5121
5122 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5123 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5124   list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5125 }
5126
5127 /* === END customizeTip.inc.css === */
5128
5129 /**
5130  * This next rule is a hack to disable subpixel anti-aliasing on all
5131  * labels during the customize mode transition. Subpixel anti-aliasing
5132  * on Windows with Direct2D layers acceleration is particularly slow to
5133  * paint, so this hack is how we sidestep that performance bottleneck.
5134  */
5135 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
5136   transform: perspective(0.01px);
5137 }
5138
5139 #main-window[customize-entered] > #tab-view-deck {
5140   background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5141   background-attachment: fixed;
5142 }
5143
5144 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5145   background-repeat: no-repeat;
5146   background-position: right top;
5147   background-attachment: fixed;
5148   /* The image will get set from CustomizeMode.jsm */
5149   background-image: none;
5150   background-color: transparent;
5151 }
5152
5153 #main-window[customization-lwtheme]:-moz-lwtheme {
5154   background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5155   background-repeat: repeat;
5156   background-attachment: fixed;
5157   background-position: left top;
5158 }
5159
5160 #main-window[customize-entered] #browser-bottombox,
5161 #main-window[customize-entered] #customization-container {
5162   border-left: 1px solid #9C9CFF;
5163   border-right: 1px solid #9C9CFF;
5164   background-clip: padding-box;
5165 }
5166
5167 #main-window[customize-entered] #browser-bottombox {
5168   border-bottom: 1px solid #9C9CFF;
5169 }
5170
5171 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5172   margin-right: -2px;
5173 }
5174
5175 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5176   margin-left: -2px;
5177 }
5178
5179 /* End customization mode */
5180
5181 /* Private browsing indicators */
5182
5183 /**
5184  * Currently, we have two places where we put private browsing indicators on
5185  * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5186  * When tabsintitlebar is disabled, we draw the indicator at the end of the
5187  * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5188  * want the bottom border of the image to line up with the bottom of the window
5189  * caption buttons. That's why there's so much special-casing going on in here.
5190  */
5191 .private-browsing-indicator {
5192   display: none;
5193   pointer-events: none;
5194 }
5195
5196 #private-browsing-indicator-titlebar {
5197   display: block;
5198   position: absolute;
5199 }
5200
5201 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5202   display: block;
5203 }
5204
5205 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5206   display: -moz-box;
5207 }
5208
5209 #TabsToolbar > .private-browsing-indicator {
5210   background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5211   -moz-margin-start: 4px;
5212   width: 48px;
5213 }
5214
5215 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5216  * mode, since the tabstrip "mimics" the titlebar in that case with its own
5217  * min/max/close window buttons.
5218  */
5219 #private-browsing-indicator-titlebar > .private-browsing-indicator,
5220 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5221   background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5222   -moz-margin-end: 4px;
5223   width: 40px;
5224   height: 20px;
5225   position: relative;
5226 }
5227
5228 /* This one is for Linux */
5229 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5230   background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5231   width: 48px;
5232 }
5233
5234 /* End private browsing indicators */
5235
5236 /* === BEGIN UITour.inc.css === */
5237
5238 /* UI Tour */
5239
5240 #UITourHighlightContainer {
5241   -moz-appearance: none;
5242   border: none;
5243   background-color: transparent;
5244   /* This is a buffer to compensate for the movement in the "wobble" effect */
5245   padding: 4px;
5246 }
5247
5248 #UITourHighlight {
5249   background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5250   border-radius: 40px;
5251   border: 1px solid #9C9CFF;
5252   /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5253      on Linux without an X compositor where opacity is either 0 or 1. */
5254   box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5255   min-height: 32px;
5256   min-width: 32px;
5257 }
5258
5259 #UITourTooltipBody {
5260   -moz-margin-end: 14px;
5261 }
5262
5263 #UITourTooltipBody > vbox {
5264   padding-top: 4px;
5265 }
5266
5267 #UITourTooltipIconContainer {
5268   -moz-margin-start: -16px;
5269 }
5270
5271 #UITourTooltipIcon {
5272   width: 48px;
5273   height: 48px;
5274   -moz-margin-start: 28px;
5275   -moz-margin-end: 28px;
5276 }
5277
5278 #UITourTooltipTitle,
5279 #UITourTooltipDescription {
5280   max-width: 20rem;
5281 }
5282
5283 #UITourTooltipTitle {
5284   font-size: 1.45rem;
5285   font-weight: bold;
5286   -moz-margin-start: 0;
5287   -moz-margin-end: 0;
5288   margin: 0 0 9px 0;
5289 }
5290
5291 #UITourTooltipDescription {
5292   -moz-margin-start: 0;
5293   -moz-margin-end: 0;
5294   font-size: 1.15rem;
5295   line-height: 1.8rem;
5296   margin-bottom: 0; /* Override global.css */
5297 }
5298
5299 #UITourTooltipClose {
5300   -moz-appearance: none;
5301   border: none;
5302   background-color: transparent;
5303   min-width: 0;
5304   -moz-margin-start: 4px;
5305   margin-top: -2px;
5306 }
5307
5308 #UITourTooltipClose > .toolbarbutton-text {
5309   display: none;
5310 }
5311
5312 #UITourTooltipButtons {
5313   -moz-box-pack: end;
5314   background-color: rgba(0,0,0,.2);
5315   border-top: 1px solid rgba(0,0,0,.4);
5316   margin: 24px -16px -16px;
5317   padding: 2em 15px;
5318 }
5319
5320 #UITourTooltipButtons > button {
5321   margin: 0 15px;
5322 }
5323
5324 #UITourTooltipButtons > button:first-child {
5325   -moz-margin-start: 0;
5326 }
5327
5328 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5329   width: 16px;
5330   height: 16px;
5331   -moz-margin-end: 5px;
5332 }
5333
5334 #UITourTooltipButtons > button .button-text {
5335   font-size: 1.15rem;
5336 }
5337
5338 #UITourTooltipButtons > button:not(.button-link) {
5339   -moz-appearance: none;
5340   background-color: #C09070;
5341   border-radius: 3000px;
5342   border: none;
5343   color: #000000;
5344   padding: 4px 30px;
5345   transition-property: background-color, color;
5346   transition-duration: 150ms;
5347 }
5348
5349 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5350   background-color: #FFCF00;
5351   color: #000000;
5352 }
5353
5354 #UITourTooltipButtons > button.button-link {
5355   -moz-appearance: none;
5356   background: transparent;
5357   border: none;
5358   box-shadow: none;
5359   color: rgba(0,0,0,0.35);
5360   padding-left: 10px;
5361   padding-right: 10px;
5362 }
5363
5364 #UITourTooltipButtons > button.button-link:hover {
5365   color: black;
5366 }
5367
5368 /* The primary button gets the same color as the customize button. */
5369 #UITourTooltipButtons > button.button-primary {
5370   background-color: #A06060; /* LCARS default button background color */
5371   color: #000000;
5372   padding-left: 30px;
5373   padding-right: 30px;
5374 }
5375
5376 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5377   background-color: #FFCF00;
5378   color: #000000;
5379 }
5380
5381 .SearchHighlight {
5382   -moz-margin-end: 6px;
5383   font-size: 110%;
5384   width: 225px;
5385 }
5386
5387 .SearchHighlight label,
5388 .SearchHighlight description {
5389   color: #008484;
5390   margin: 0 0 8px 0;
5391   padding: 0;
5392 }
5393
5394 .SearchHighlightTitle {
5395   font-weight: bold;
5396 }
5397
5398 .SearchHighlight .dot {
5399   width: 7px;
5400   height: 7px;
5401   background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 100%, 100%, 9);
5402   background-size: 7px;
5403   background-position: center center;
5404   background-repeat: no-repeat;
5405   -moz-margin-end: 2px;
5406 }
5407
5408 .SearchHighlight .dot.filled {
5409   background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 7, 100%, 0);
5410 }
5411
5412 .SearchHighlight button {
5413   margin: 0;
5414   /* On some platforms clicking the button will steal focus from the search box
5415      causing the popup to close. */
5416   -moz-user-focus: ignore;
5417 }
5418
5419 @media not all and (max-resolution: 1dppx) {
5420   .SearchHighlight .dot {
5421     background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 100%, 100%, 18);
5422   }
5423
5424   .SearchHighlight .dot.filled {
5425     background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 14, 100%, 0);
5426   }
5427 }
5428
5429 /* Notification overrides for Heartbeat UI */
5430
5431 notification.heartbeat {
5432   background-color: #A09090;
5433 }
5434
5435 @keyframes pulse-onshow {
5436  0% {
5437    opacity: 0;
5438    transform: scale(1.0);
5439  }
5440  25% {
5441    opacity: 1;
5442    transform: scale(1.1);
5443  }
5444  50% {
5445    transform: scale(1.0);
5446  }
5447  75% {
5448    transform: scale(1.1);
5449  }
5450  100% {
5451    transform: scale(1.0);
5452  }
5453 }
5454
5455 @keyframes pulse-twice {
5456  0% {
5457    transform: scale(1.1);
5458  }
5459  50% {
5460    transform: scale(0.8);
5461  }
5462  100% {
5463    transform: scale(1);
5464  }
5465 }
5466
5467 .messageText.heartbeat {
5468   color: #000000;
5469 /*  font-weight: normal;
5470   font-family: "Lucida Grande", Segoe, Ubuntu;
5471   font-size: 14px;
5472   line-height: 16px;
5473   text-shadow: none; */
5474 }
5475
5476 .messageImage.heartbeat {
5477   width: 36px;
5478   height: 36px;
5479   -moz-margin-end: 10px;
5480 }
5481
5482 .messageImage.heartbeat.pulse-onshow {
5483   animation-name: pulse-onshow;
5484   animation-duration: 1.5s;
5485   animation-iteration-count: 1;
5486   animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5487 }
5488
5489 .messageImage.heartbeat.pulse-twice {
5490   animation-name: pulse-twice;
5491   animation-duration: 1s;
5492   animation-iteration-count: 2;
5493   animation-timing-function: linear;
5494 }
5495
5496 /* Heartbeat UI Rating Star Classes */
5497 .heartbeat > #star-rating-container {
5498   display: -moz-box;
5499 }
5500
5501 .heartbeat > #star-rating-container > #star5 {
5502   -moz-box-ordinal-group: 5;
5503 }
5504
5505 .heartbeat > #star-rating-container > #star4 {
5506   -moz-box-ordinal-group: 4;
5507 }
5508
5509 .heartbeat > #star-rating-container > #star3 {
5510   -moz-box-ordinal-group: 3;
5511 }
5512
5513 .heartbeat > #star-rating-container > #star2 {
5514   -moz-box-ordinal-group: 2;
5515 }
5516
5517 .heartbeat > #star-rating-container > .star-x  {
5518   background: url("chrome://browser/skin/heartbeat-star-off.svg");
5519   cursor: pointer;
5520   width: 24px;
5521   height: 24px;
5522 }
5523
5524 .heartbeat > #star-rating-container > .star-x:hover,
5525 .heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
5526   background: url("chrome://browser/skin/heartbeat-star-lit.svg");
5527   cursor: pointer;
5528   width: 24px;
5529   height: 24px;
5530 }
5531
5532 /* === END UITour.inc.css === */
5533
5534 #UITourTooltipButtons {
5535   margin: 24px -4px -4px;
5536 }
5537
5538 /* === BEGIN contextmenu.inc.css === */
5539
5540 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5541 }
5542
5543 #context-navigation > .menuitem-iconic {
5544   -moz-box-flex: 1;
5545   -moz-box-pack: center;
5546   -moz-box-align: center;
5547 }
5548
5549 #context-navigation > .menuitem-iconic[disabled="true"] {
5550   background-color: transparent;
5551 }
5552
5553 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5554   -moz-appearance: none;
5555 }
5556
5557 #context-back > .menu-iconic-left {
5558   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5559   list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5560   -moz-image-region: rect(0, 54px, 18px, 36px);
5561 }
5562
5563 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5564   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5565   -moz-image-region: rect(18px, 54px, 36px, 36px);
5566 }
5567
5568 #context-back[disabled="true"] > .menu-iconic-left {
5569   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5570   -moz-image-region: rect(36px, 54px, 54px, 36px);
5571 }
5572
5573 #context-forward > .menu-iconic-left {
5574   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5575   list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5576   -moz-image-region: rect(0, 72px, 18px, 54px);
5577 }
5578
5579 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5580   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5581   -moz-image-region: rect(18px, 72px, 36px, 54px);
5582 }
5583
5584 #context-forward[disabled="true"] > .menu-iconic-left {
5585   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5586   -moz-image-region: rect(36px, 72px, 54px, 54px);
5587 }
5588
5589 #context-reload > .menu-iconic-left {
5590   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5591   list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5592   -moz-image-region: rect(0, 14px, 14px, 0);
5593 }
5594
5595 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5596   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5597   -moz-image-region: rect(14px, 14px, 28px, 0);
5598 }
5599
5600 #context-reload[disabled="true"] > .menu-iconic-left {
5601   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5602   -moz-image-region: rect(28px, 14px, 42px, 0);
5603 }
5604
5605 #context-stop > .menu-iconic-left {
5606   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5607   list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5608   -moz-image-region: rect(0, 28px, 14px, 14px);
5609 }
5610
5611 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5612   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5613   -moz-image-region: rect(14px, 28px, 28px, 14px);
5614 }
5615
5616 #context-stop[disabled="true"] > .menu-iconic-left {
5617   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5618   -moz-image-region: rect(28px, 28px, 42px, 14px);
5619 }
5620
5621 #context-bookmarkpage > .menu-iconic-left {
5622   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5623   list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5624   -moz-image-region: rect(0, 144px, 18px, 126px);
5625 }
5626
5627 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5628   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5629   -moz-image-region: rect(18px, 144px, 36px, 126px);
5630 }
5631
5632 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5633   /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
5634   -moz-image-region: rect(36px, 144px, 54px, 126px);
5635 }
5636
5637 #context-back:-moz-locale-dir(rtl),
5638 #context-forward:-moz-locale-dir(rtl),
5639 #context-reload:-moz-locale-dir(rtl) {
5640   transform: scaleX(-1);
5641 }
5642
5643 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
5644   width: 18px; /*16px;*/
5645   height: 18px; /*16px;*/
5646   margin: 7px;
5647 }
5648
5649 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5650 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5651   width: 14px;
5652   height: 14px;
5653   margin: 9px;
5654 }
5655
5656 #context-media-eme-learnmore {
5657   list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
5658 }
5659
5660 /* === END contextmenu.inc.css === */
5661
5662 #context-navigation {
5663 }
5664
5665 #context-sep-navigation {
5666 /*  margin-top: -4px; */
5667 }