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