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