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/. */
5 @import url("chrome://global/skin/");
6 @import url("downloads/indicator.css");
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");
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
16 toolbar[customizable="true"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
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");
27 toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
31 #toolbar-menubar[autohide="true"] {
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
40 /*--backbutton-urlbar-overlap: 5px;*/
42 --identity-box-verified-background-color: #000000;
44 --panel-separator-color: #A09090;
46 --urlbar-separator-color: #9C9CFF;
50 -moz-box-orient: vertical; /* for flex hack */
54 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
57 /* ::::: primary toolbar ::::: */
59 .toolbar-primary > .toolbar-box > .toolbar-holder {
60 background-color: #A09090;
63 .toolbar-primary > .toolbar-box > .toolbar-startcap,
64 .toolbar-primary > .toolbar-box > .toolbar-endcap {
65 background-color: #9C9CFF;
68 /* Hides the titlebar-placeholder underneath the window caption buttons when we
69 are not autohiding the menubar. */
70 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
74 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
75 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
76 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
77 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
78 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
82 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
83 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
84 /* margin-top: var(--space-above-tabbar);*/
87 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
88 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
89 #toolbar-menubar:not([autohide="true"]) {
90 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
94 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
95 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
96 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
101 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
102 /* 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 */
106 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
107 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
108 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
109 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
110 outline-color: #A09090;
116 #navigator-toolbox::after {
119 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
123 #navigator-toolbox > toolbar {
126 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
129 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
130 overflow: -moz-hidden-unscrollable;
132 transition: min-height 170ms ease-out, max-height 170ms ease-out;
135 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
138 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
141 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
142 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
143 /* Indent also due to non-applicable aero rule in original Windows theme. */
144 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
145 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
147 background-color: #6000CF;
151 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
152 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
153 background-color: #8050B0;
157 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
161 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
165 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
166 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
171 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
172 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
173 #titlebar-buttonbox > .titlebar-button {
179 /* Position the toolbar above the bottom of background tabs */
184 #personal-bookmarks {
185 /* min-height: 24px; */
188 #PersonalToolbar > #home-button {
189 -moz-box-orient: horizontal;
192 #PersonalToolbar > #home-button > .toolbarbutton-text {
196 #print-preview-toolbar:not(:-moz-lwtheme) {
197 /* -moz-appearance: toolbox; */
200 #browser-bottombox:not(:-moz-lwtheme) {
203 /* ::::: titlebar ::::: */
207 background-color: #6000CF;
210 #titlebar:-moz-window-inactive {
211 background-color: #8050B0;
215 #main-window[sizemode="normal"] > #titlebar {
220 #main-window[sizemode="maximized"] > #titlebar {
224 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
225 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
226 #main-window[sizemode="normal"] > #titlebar,
227 #main-window[sizemode="maximized"] > #titlebar {
229 /* There is a margin-bottom set to -23 by code. */
233 /* The button box must appear on top of the navigator-toolbox in order for
234 * click and hover mouse events to work properly for the button in the restored
235 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
236 * can swallow those events. It will also place the buttons above the fog on
237 * themes with Aero Glass.
240 #main-window[sizemode="maximized"] #titlebar-buttonbox {
241 -moz-appearance: none;
244 -moz-margin-end: 3px;
248 .titlebar-placeholder[type="appmenu-button"] {
252 .titlebar-placeholder[type="caption-buttons"] {
256 /* titlebar command buttons */
258 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize");
261 #titlebar-min:hover {
262 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize-hover");
266 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize");
269 #titlebar-max:hover {
270 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize-hover");
273 #main-window[sizemode="maximized"] #titlebar-max {
274 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore");
277 #main-window[sizemode="maximized"] #titlebar-max:hover {
278 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore-hover");
282 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close");
285 #titlebar-close:hover {
286 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close-hover");
289 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
290 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
291 #titlebar-fullscreen-button {
292 -moz-appearance: none;
293 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
294 -moz-image-region: rect(0px, 16px, 16px, 0px);
297 #titlebar-fullscreen-button:hover {
298 -moz-image-region: rect(0px, 32px, 16px, 16px);
301 @media (min-resolution: 2dppx) {
302 #titlebar-fullscreen-button {
303 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
304 -moz-image-region: rect(0px, 32px, 32px, 0px);
307 #titlebar-fullscreen-button:hover {
308 -moz-image-region: rect(0px, 64px, 32px, 32px);
314 /* ::::: bookmark buttons ::::: */
316 toolbarbutton.bookmark-item:not(.subviewbutton),
317 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
322 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
323 toolbarbutton.bookmark-item[open="true"] {
326 -moz-padding-start: 4px;
327 -moz-padding-end: 2px;*/
330 .bookmark-item > .toolbarbutton-icon,
331 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
334 -moz-margin-start: 1px;
335 -moz-margin-end: 2px;
340 /* Force the display of the label for bookmarks */
341 .bookmark-item > .toolbarbutton-text,
342 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
343 display: -moz-box !important;
346 .bookmark-item > .toolbarbutton-menu-dropmarker {
350 #bookmarks-toolbar-placeholder {
351 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
352 -moz-box-orient: horizontal;
355 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
356 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
357 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
360 /* ----- BOOKMARK STAR ANIMATION ----- */
362 @keyframes animation-bookmarkAdded {
363 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
364 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
366 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
369 @keyframes animation-bookmarkPulse {
370 from { transform: scale(1); }
371 50% { transform: scale(1.3); }
372 to { transform: scale(1); }
375 #bookmarked-notification-container {
384 #bookmarked-notification {
385 background-size: 16px;
386 background-position: center;
387 background-repeat: no-repeat;
393 #bookmarked-notification-dropmarker-anchor {
398 #bookmarked-notification-dropmarker-icon {
404 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
405 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
406 animation: animation-bookmarkAdded 800ms;
407 animation-timing-function: ease, ease, ease;
410 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
411 list-style-image: none !important;
414 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
416 animation: animation-bookmarkPulse 300ms;
417 animation-delay: 600ms;
418 animation-timing-function: ease-out;
421 /* ::::: bookmark menus ::::: */
424 menuitem.bookmark-item {
429 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
434 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
435 -moz-padding-start: 0px;
438 /* ::::: bookmark items ::::: */
441 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
442 -moz-image-region: auto;
445 .bookmark-item[container] {
446 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
447 -moz-image-region: auto;
450 .bookmark-item[container][open] {
451 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
452 -moz-image-region: auto;
455 .bookmark-item[container][livemark] {
456 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
457 -moz-image-region: auto;
460 .bookmark-item[container][livemark] .bookmark-item {
461 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
462 -moz-image-region: rect(0px, 16px, 16px, 0px);
465 .bookmark-item[container][livemark] .bookmark-item[visited] {
466 -moz-image-region: rect(0px, 32px, 16px, 16px);
469 .bookmark-item[container][query] {
470 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
471 -moz-image-region: auto;
474 .bookmark-item[query][tagContainer] {
475 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
476 -moz-image-region: auto;
479 .bookmark-item[query][dayContainer] {
480 list-style-image: url("chrome://communicator/skin/history/calendar.png");
481 -moz-image-region: auto;
484 .bookmark-item[query][hostContainer] {
485 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
486 -moz-image-region: auto;
489 .bookmark-item[query][hostContainer][open] {
490 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
491 -moz-image-region: auto;
494 .bookmark-item[cutting] > .toolbarbutton-icon,
495 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
499 .bookmark-item[cutting] > .toolbarbutton-text,
500 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
504 /* ::::: primary toolbar buttons ::::: */
506 /* === BEGIN toolbarbuttons.inc.css === */
508 /* Whole section of this included file: */
509 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
510 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
511 #social-share-button, #open-file-button, #find-button, #developer-button,
512 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
513 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
514 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
515 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #loop-button,
517 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
518 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
520 toolbar[brighttext] #pocket-button,
522 list-style-image: url("chrome://browser/skin/ToolbarFx.png") !important; /* override pocket.css */
526 -moz-image-region: rect(0, 36px, 18px, 18px);
529 #back-button:hover:not([disabled="true"]) {
530 -moz-image-region: rect(18px, 36px, 36px, 18px);
533 #back-button[disabled="true"] {
534 -moz-image-region: rect(36px, 36px, 54px, 18px);
538 -moz-image-region: rect(0, 72px, 18px, 54px);
541 #forward-button:hover:not([disabled="true"]) {
542 -moz-image-region: rect(18px, 72px, 36px, 54px);
545 #forward-button[disabled="true"] {
546 -moz-image-region: rect(36px, 72px, 54px, 54px);
549 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
550 #forward-button:-moz-locale-dir(rtl) {
551 transform: scaleX(-1);
554 #home-button[cui-areatype="toolbar"] {
555 -moz-image-region: rect(0, 126px, 18px, 108px);
558 #home-button[cui-areatype="toolbar"]:hover {
559 -moz-image-region: rect(18px, 126px, 36px, 108px);
562 #bookmarks-menu-button[cui-areatype="toolbar"] {
563 -moz-image-region: rect(0, 144px, 18px, 126px);
566 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
567 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
568 -moz-image-region: rect(18px, 144px, 36px, 126px);
571 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
572 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
573 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
574 background-color: transparent !important;
577 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
578 -moz-image-region: rect(0, 162px, 18px, 144px);
581 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
582 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
583 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
584 /* When starred and clicked (for edit/delete dialog),
585 * then only the menubutton-button itself is open, but not the whole menubutton. */
586 -moz-image-region: rect(18px, 162px, 36px, 144px);
589 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
590 -moz-image-region: rect(0, 630px, 18px, 612px);
593 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
595 -moz-box-align: center;
598 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
599 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
600 -moz-image-region: rect(18px, 630px, 36px, 612px);
603 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
604 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
607 -moz-padding-start: 2px;
608 -moz-padding-end: 0px;
611 #history-panelmenu[cui-areatype="toolbar"] {
612 -moz-image-region: rect(0, 180px, 18px, 162px);
615 #history-panelmenu[cui-areatype="toolbar"]:hover,
616 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
617 -moz-image-region: rect(18px, 180px, 36px, 162px);
620 #downloads-button[cui-areatype="toolbar"] {
621 -moz-image-region: rect(0, 198px, 18px, 180px);
624 #downloads-button[cui-areatype="toolbar"]:hover,
625 #downloads-button[cui-areatype="toolbar"][open="true"] {
626 -moz-image-region: rect(18px, 198px, 36px, 180px);
629 #add-ons-button[cui-areatype="toolbar"] {
630 -moz-image-region: rect(0, 216px, 18px, 198px);
633 #add-ons-button[cui-areatype="toolbar"]:hover {
634 -moz-image-region: rect(18px, 216px, 36px, 198px);
637 #open-file-button[cui-areatype="toolbar"] {
638 -moz-image-region: rect(0, 234px, 18px, 216px);
641 #open-file-button[cui-areatype="toolbar"]:hover {
642 -moz-image-region: rect(18px, 234px, 36px, 216px);
645 #save-page-button[cui-areatype="toolbar"] {
646 -moz-image-region: rect(0, 252px, 18px, 234px);
649 #save-page-button[cui-areatype="toolbar"]:hover {
650 -moz-image-region: rect(18px, 252px, 36px, 234px);
653 #sync-button[cui-areatype="toolbar"] {
654 -moz-image-region: rect(0, 270px, 18px, 252px);
657 #sync-button[cui-areatype="toolbar"]:hover {
658 -moz-image-region: rect(18px, 270px, 36px, 252px);
661 #sync-button[cui-areatype="toolbar"][status="active"],
662 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
663 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
664 -moz-image-region: rect(0, 18px, 18px, 0px);
668 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
669 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
670 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
674 #feed-button[cui-areatype="toolbar"] {
675 -moz-image-region: rect(0, 288px, 18px, 270px);
678 #feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
679 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
680 -moz-image-region: rect(18px, 288px, 36px, 270px);
683 #feed-button[cui-areatype="toolbar"][disabled="true"] {
684 -moz-image-region: rect(36px, 288px, 54px, 270px);
687 #social-share-button[cui-areatype="toolbar"] {
688 -moz-image-region: rect(0px, 306px, 18px, 288px);
691 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
692 #social-share-button[cui-areatype="toolbar"][open="true"] {
693 -moz-image-region: rect(18px, 306px, 36px, 288px);
696 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
697 -moz-image-region: rect(36px, 306px, 54px, 288px);
700 #characterencoding-button[cui-areatype="toolbar"] {
701 -moz-image-region: rect(0, 324px, 18px, 306px);
704 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
705 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
706 -moz-image-region: rect(18px, 324px, 36px, 306px);
709 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
710 -moz-image-region: rect(36px, 324px, 54px, 306px);
713 #new-window-button[cui-areatype="toolbar"] {
714 -moz-image-region: rect(0, 342px, 18px, 324px);
717 #new-window-button[cui-areatype="toolbar"]:hover {
718 -moz-image-region: rect(18px, 342px, 36px, 324px);
721 #e10s-button[cui-areatype="toolbar"] {
722 -moz-image-region: rect(0, 342px, 18px, 324px);
725 #e10s-button[cui-areatype="toolbar"]:hover {
726 -moz-image-region: rect(18px, 342px, 36px, 324px);
729 #e10s-button > .toolbarbutton-icon {
730 transform: scaleY(-1);
733 #new-tab-button[cui-areatype="toolbar"] {
734 -moz-image-region: rect(0, 360px, 18px, 342px);
737 #new-tab-button[cui-areatype="toolbar"]:hover {
738 -moz-image-region: rect(18px, 360px, 36px, 342px);
741 #privatebrowsing-button[cui-areatype="toolbar"] {
742 -moz-image-region: rect(0, 378px, 18px, 360px);
745 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
746 -moz-image-region: rect(18px, 378px, 36px, 360px);
749 #find-button[cui-areatype="toolbar"] {
750 -moz-image-region: rect(0, 396px, 18px, 378px);
753 #find-button[cui-areatype="toolbar"]:hover {
754 -moz-image-region: rect(18px, 396px, 36px, 378px);
757 #print-button[cui-areatype="toolbar"] {
758 -moz-image-region: rect(0, 414px, 18px, 396px);
761 #print-button[cui-areatype="toolbar"]:hover {
762 -moz-image-region: rect(18px, 414px, 36px, 396px);
765 #fullscreen-button[cui-areatype="toolbar"] {
766 -moz-image-region: rect(0, 432px, 18px, 414px);
769 #fullscreen-button[cui-areatype="toolbar"]:hover {
770 -moz-image-region: rect(18px, 432px, 36px, 414px);
773 #developer-button[cui-areatype="toolbar"] {
774 -moz-image-region: rect(0, 450px, 18px, 432px);
777 #developer-button[cui-areatype="toolbar"]:hover,
778 #developer-button[cui-areatype="toolbar"][open="true"] {
779 -moz-image-region: rect(18px, 450px, 36px, 432px);
782 #preferences-button[cui-areatype="toolbar"] {
783 -moz-image-region: rect(0, 468px, 18px, 450px);
786 #preferences-button[cui-areatype="toolbar"]:hover {
787 -moz-image-region: rect(18px, 468px, 36px, 450px);
790 #PanelUI-menu-button {
791 -moz-image-region: rect(0, 486px, 18px, 468px);
794 #PanelUI-menu-button:hover,
795 #PanelUI-menu-button[open="true"] {
796 -moz-image-region: rect(18px, 486px, 36px, 468px);
799 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
800 -moz-image-region: rect(0, 504px, 18px, 486px);
803 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
804 -moz-image-region: rect(18px, 504px, 36px, 486px);
807 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
808 -moz-image-region: rect(36px, 504px, 54px, 486px);
811 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
812 -moz-image-region: rect(0, 522px, 18px, 504px);
815 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
816 -moz-image-region: rect(18px, 522px, 36px, 504px);
819 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
820 -moz-image-region: rect(36px, 522px, 54px, 504px);
823 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
824 -moz-image-region: rect(0, 540px, 18px, 522px);
827 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
828 -moz-image-region: rect(18px, 540px, 36px, 522px);
831 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
832 -moz-image-region: rect(36px, 540px, 54px, 522px);
835 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
836 -moz-image-region: rect(0, 558px, 18px, 540px);
839 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
840 -moz-image-region: rect(18px, 558px, 36px, 540px);
843 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
844 -moz-image-region: rect(36px, 558px, 54px, 540px);
847 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
848 -moz-image-region: rect(0, 576px, 18px, 558px);
851 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
852 -moz-image-region: rect(18px, 576px, 36px, 558px);
855 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
856 -moz-image-region: rect(36px, 576px, 54px, 558px);
859 #nav-bar-overflow-button {
860 -moz-image-region: rect(0, 612px, 18px, 594px);
863 #nav-bar-overflow-button:hover,
864 #nav-bar-overflow-button[open="true"] {
865 -moz-image-region: rect(18px, 612px, 36px, 594px);
868 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
869 transform: scaleX(-1);
873 -moz-image-region: rect(0, 648px, 18px, 630px);
876 #tabview-button:hover {
877 -moz-image-region: rect(18px, 648px, 36px, 630px);
880 #email-link-button[cui-areatype="toolbar"] {
881 -moz-image-region: rect(0, 666px, 18px, 648px);
884 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
885 -moz-image-region: rect(18px, 666px, 36px, 648px);
888 #email-button[cui-areatype="toolbar"][disabled="true"] {
889 -moz-image-region: rect(36px, 666px, 54px, 648px);
892 #sidebar-button[cui-areatype="toolbar"] {
893 -moz-image-region: rect(0, 684px, 18px, 666px);
896 #sidebar-button[cui-areatype="toolbar"]:hover {
897 -moz-image-region: rect(18px, 684px, 36px, 666px);
900 #panic-button[cui-areatype="toolbar"] {
901 -moz-image-region: rect(0, 702px, 18px, 684px);
904 #panic-button[cui-areatype="toolbar"]:hover,
905 #panic-button[cui-areatype="toolbar"][open] {
906 -moz-image-region: rect(18px, 702px, 36px, 684px);
909 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
910 transform: scaleX(-1);
914 #loop-button > .toolbarbutton-badge-stack {
915 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
916 -moz-image-region: rect(0, 18px, 18px, 0);
919 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
920 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
921 -moz-image-region: rect(0, 90px, 18px, 72px);
924 #loop-button[state="disabled"],
925 #loop-button[disabled="true"],
926 #loop-button[state="disabled"] > .toolbarbutton-badge-stack,
927 #loop-button[disabled="true"] > .toolbarbutton-badge-stack {
928 -moz-image-region: rect(0, 36px, 18px, 18px);
931 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
932 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
933 -moz-image-region: rect(0, 126px, 18px, 108px);
936 #loop-button:not([disabled="true"])[state="error"],
937 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-stack {
938 -moz-image-region: rect(0, 54px, 18px, 36px);
941 #loop-button:not([disabled="true"])[state="action"],
942 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-stack {
943 -moz-image-region: rect(0, 72px, 18px, 54px);
946 #loop-button:not([disabled="true"])[state="active"],
947 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-stack {
948 -moz-image-region: rect(0, 108px, 18px, 90px);
951 #webide-button[cui-areatype="toolbar"] {
952 -moz-image-region: rect(0, 738px, 18px, 720px);
955 #webide-button[cui-areatype="toolbar"]:hover {
956 -moz-image-region: rect(18px, 738px, 36px, 720px);
959 #pocket-button[cui-areatype="toolbar"] {
960 -moz-image-region: rect(0, 774px, 18px, 756px);
963 #pocket-button[cui-areatype="toolbar"]:hover,
964 #pocket-button[cui-areatype="toolbar"][open] {
965 -moz-image-region: rect(18px, 774px, 36px, 756px);
968 /* === END toolbarbuttons.inc.css === */
970 /* === BEGIN menupanel.inc.css === */
972 /* Menu panel and palette styles */
975 /* avoid aero overrides with changed filenames */
976 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
977 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
980 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
981 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
982 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
983 #social-share-button, #open-file-button, #find-button, #developer-button,
984 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
985 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
986 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
987 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #loop-button,
988 #pocket-button)[cui-areatype="menu-panel"],
989 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
990 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
991 #social-share-button, #open-file-button, #find-button, #developer-button,
992 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
993 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
994 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
995 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #loop-button,
997 list-style-image: var(--menupanel-list-style-image);
1000 #home-button[cui-areatype="menu-panel"],
1001 toolbarpaletteitem[place="palette"] > #home-button {
1002 -moz-image-region: rect(0px, 128px, 32px, 96px);
1005 #home-button[cui-areatype="menu-panel"]:hover,
1006 toolbarpaletteitem[place="palette"] > #home-button:hover {
1007 -moz-image-region: rect(32px, 128px, 64px, 96px);
1010 #bookmarks-menu-button[cui-areatype="menu-panel"],
1011 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
1012 -moz-image-region: rect(0px, 192px, 32px, 160px);
1015 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
1016 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
1017 -moz-image-region: rect(32px, 192px, 64px, 160px);
1020 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1021 -moz-image-region: rect(32px, 192px, 64px, 160px);
1024 #history-panelmenu[cui-areatype="menu-panel"],
1025 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1026 -moz-image-region: rect(0px, 224px, 32px, 192px);
1029 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1030 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1031 -moz-image-region: rect(32px, 224px, 64px, 192px);
1034 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1035 -moz-image-region: rect(32px, 224px, 64px, 192px);
1038 #downloads-button[cui-areatype="menu-panel"],
1039 toolbarpaletteitem[place="palette"] > #downloads-button {
1040 -moz-image-region: rect(0px, 256px, 32px, 224px);
1043 #downloads-button[cui-areatype="menu-panel"]:hover,
1044 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1045 -moz-image-region: rect(32px, 256px, 64px, 224px);
1048 #add-ons-button[cui-areatype="menu-panel"],
1049 toolbarpaletteitem[place="palette"] > #add-ons-button {
1050 -moz-image-region: rect(0px, 288px, 32px, 256px);
1053 #add-ons-button[cui-areatype="menu-panel"]:hover,
1054 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1055 -moz-image-region: rect(32px, 288px, 64px, 256px);
1058 #open-file-button[cui-areatype="menu-panel"],
1059 toolbarpaletteitem[place="palette"] > #open-file-button {
1060 -moz-image-region: rect(0px, 320px, 32px, 288px);
1063 #open-file-button[cui-areatype="menu-panel"]:hover,
1064 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1065 -moz-image-region: rect(32px, 320px, 64px, 288px);
1068 #save-page-button[cui-areatype="menu-panel"],
1069 toolbarpaletteitem[place="palette"] > #save-page-button {
1070 -moz-image-region: rect(0px, 352px, 32px, 320px);
1073 #save-page-button[cui-areatype="menu-panel"]:hover,
1074 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1075 -moz-image-region: rect(32px, 352px, 64px, 320px);
1078 #sync-button[cui-areatype="menu-panel"],
1079 toolbarpaletteitem[place="palette"] > #sync-button {
1080 -moz-image-region: rect(0px, 384px, 32px, 352px);
1083 #sync-button[cui-areatype="menu-panel"]:hover,
1084 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1085 -moz-image-region: rect(32px, 384px, 64px, 352px);
1088 #sync-button[cui-areatype="menu-panel"][status="active"] {
1089 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1090 -moz-image-region: rect(0px, 32px, 32px, 0px);
1093 #feed-button[cui-areatype="menu-panel"],
1094 toolbarpaletteitem[place="palette"] > #feed-button {
1095 -moz-image-region: rect(0px, 416px, 32px, 384px);
1098 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1099 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1100 -moz-image-region: rect(32px, 416px, 64px, 384px);
1103 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1104 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1105 -moz-image-region: rect(64px, 416px, 96px, 384px);
1108 #social-share-button[cui-areatype="menu-panel"],
1109 toolbarpaletteitem[place="palette"] > #social-share-button {
1110 -moz-image-region: rect(0px, 448px, 32px, 416px);
1113 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1114 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1115 -moz-image-region: rect(32px, 448px, 64px, 416px);
1118 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1119 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1120 -moz-image-region: rect(64px, 448px, 96px, 416px);
1123 #characterencoding-button[cui-areatype="menu-panel"],
1124 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1125 -moz-image-region: rect(0px, 480px, 32px, 448px);
1128 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1129 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1130 -moz-image-region: rect(32px, 480px, 64px, 448px);
1133 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1134 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1135 -moz-image-region: rect(64px, 480px, 96px, 448px);
1138 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1139 -moz-image-region: rect(32px, 480px, 64px, 448px);
1142 #new-window-button[cui-areatype="menu-panel"],
1143 toolbarpaletteitem[place="palette"] > #new-window-button {
1144 -moz-image-region: rect(0px, 512px, 32px, 480px);
1147 #new-window-button[cui-areatype="menu-panel"]:hover,
1148 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1149 -moz-image-region: rect(32px, 512px, 64px, 480px);
1152 #e10s-button[cui-areatype="menu-panel"],
1153 toolbarpaletteitem[place="palette"] > #e10s-button {
1154 -moz-image-region: rect(0px, 512px, 32px, 480px);
1157 #e10s-button[cui-areatype="menu-panel"]:hover,
1158 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1159 -moz-image-region: rect(32px, 512px, 64px, 480px);
1162 #new-tab-button[cui-areatype="menu-panel"],
1163 toolbarpaletteitem[place="palette"] > #new-tab-button {
1164 -moz-image-region: rect(0px, 544px, 32px, 512px);
1167 #new-tab-button[cui-areatype="menu-panel"]:hover,
1168 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1169 -moz-image-region: rect(32px, 544px, 64px, 512px);
1172 #privatebrowsing-button[cui-areatype="menu-panel"],
1173 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1174 -moz-image-region: rect(0px, 576px, 32px, 544px);
1177 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1178 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1179 -moz-image-region: rect(32px, 576px, 64px, 544px);
1182 #tabview-button[cui-areatype="menu-panel"],
1183 toolbarpaletteitem[place="palette"] > #tabview-button {
1184 -moz-image-region: rect(0px, 608px, 32px, 576px);
1187 #tabview-button[cui-areatype="menu-panel"]:hover,
1188 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1189 -moz-image-region: rect(32px, 608px, 64px, 576px);
1192 #find-button[cui-areatype="menu-panel"],
1193 toolbarpaletteitem[place="palette"] > #find-button {
1194 -moz-image-region: rect(0px, 640px, 32px, 608px);
1197 #find-button[cui-areatype="menu-panel"]:hover,
1198 toolbarpaletteitem[place="palette"] > #find-button:hover {
1199 -moz-image-region: rect(32px, 640px, 64px, 608px);
1202 #print-button[cui-areatype="menu-panel"],
1203 toolbarpaletteitem[place="palette"] > #print-button {
1204 -moz-image-region: rect(0px, 672px, 32px, 640px);
1207 #print-button[cui-areatype="menu-panel"]:hover,
1208 toolbarpaletteitem[place="palette"] > #print-button:hover {
1209 -moz-image-region: rect(32px, 672px, 64px, 640px);
1212 #fullscreen-button[cui-areatype="menu-panel"],
1213 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1214 -moz-image-region: rect(0px, 704px, 32px, 672px);
1217 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1218 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1219 -moz-image-region: rect(32px, 704px, 64px, 672px);
1222 #developer-button[cui-areatype="menu-panel"],
1223 toolbarpaletteitem[place="palette"] > #developer-button {
1224 -moz-image-region: rect(0px, 736px, 32px, 704px);
1227 #developer-button[cui-areatype="menu-panel"]:hover,
1228 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1229 -moz-image-region: rect(32px, 736px, 64px, 704px);
1232 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1233 -moz-image-region: rect(32px, 736px, 64px, 704px);
1236 #preferences-button[cui-areatype="menu-panel"],
1237 toolbarpaletteitem[place="palette"] > #preferences-button {
1238 -moz-image-region: rect(0px, 768px, 32px, 736px);
1241 #preferences-button[cui-areatype="menu-panel"]:hover,
1242 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1243 -moz-image-region: rect(32px, 768px, 64px, 736px);
1246 #email-link-button[cui-areatype="menu-panel"],
1247 toolbarpaletteitem[place="palette"] > #email-link-button {
1248 -moz-image-region: rect(0, 800px, 32px, 768px);
1251 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1252 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1253 -moz-image-region: rect(32px, 800px, 64px, 768px);
1256 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1257 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1258 -moz-image-region: rect(64px, 800px, 96px, 768px);
1261 #sidebar-button[cui-areatype="menu-panel"],
1262 toolbarpaletteitem[place="palette"] > #sidebar-button {
1263 -moz-image-region: rect(0, 864px, 32px, 832px);
1266 #sidebar-button[cui-areatype="menu-panel"]:hover,
1267 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1268 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1269 -moz-image-region: rect(32px, 864px, 64px, 832px);
1272 #panic-button[cui-areatype="menu-panel"],
1273 toolbarpaletteitem[place="palette"] > #panic-button {
1274 -moz-image-region: rect(0, 896px, 32px, 864px);
1277 #panic-button[cui-areatype="menu-panel"]:hover,
1278 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1279 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1280 -moz-image-region: rect(32px, 896px, 64px, 864px);
1283 #webide-button[cui-areatype="menu-panel"],
1284 toolbarpaletteitem[place="palette"] > #webide-button {
1285 -moz-image-region: rect(0px, 960px, 32px, 928px);
1288 #webide-button[cui-areatype="menu-panel"]:hover,
1289 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1290 -moz-image-region: rect(32px, 960px, 64px, 928px);
1293 #pocket-button[cui-areatype="menu-panel"],
1294 toolbarpaletteitem[place="palette"] > #pocket-button {
1295 -moz-image-region: rect(0px, 992px, 32px, 960px);
1298 #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1299 -moz-image-region: rect(32px, 992px, 64px, 960px);
1302 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1303 -moz-image-region: rect(0, 832px, 32px, 800px);
1306 #loop-button[cui-areatype="menu-panel"],
1307 toolbarpaletteitem[place="palette"] > #loop-button {
1308 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1309 -moz-image-region: rect(0, 32px, 32px, 0);
1312 /* Make sure that the state icons are not shown in the customization palette. */
1313 toolbarpaletteitem[place="palette"] > #loop-button {
1314 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1317 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) {
1318 -moz-image-region: rect(0, 160px, 32px, 128px);
1321 #loop-button[cui-areatype="menu-panel"][state="disabled"],
1322 #loop-button[cui-areatype="menu-panel"][disabled="true"] {
1323 -moz-image-region: rect(0, 64px, 32px, 32px);
1326 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) {
1327 -moz-image-region: rect(0, 224px, 32px, 192px);
1330 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] {
1331 -moz-image-region: rect(0, 96px, 32px, 64px);
1334 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] {
1335 -moz-image-region: rect(0, 128px, 32px, 96px);
1338 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] {
1339 -moz-image-region: rect(0, 192px, 32px, 160px);
1342 /* Wide panel control icons */
1344 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1345 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1346 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1347 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1348 list-style-image: var(--menupanel-small-list-style-image);
1351 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1352 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1353 -moz-image-region: rect(0px, 32px, 16px, 16px);
1356 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1357 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1358 -moz-image-region: rect(16px, 32px, 32px, 16px);
1361 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1362 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1363 -moz-image-region: rect(32px, 32px, 48px, 16px);
1366 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1367 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1368 -moz-image-region: rect(0px, 48px, 16px, 32px);
1371 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1372 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1373 -moz-image-region: rect(16px, 48px, 32px, 32px);
1376 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1377 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1378 -moz-image-region: rect(32px, 48px, 48px, 32px);
1381 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1382 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1383 -moz-image-region: rect(0px, 64px, 16px, 48px);
1386 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1387 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1388 -moz-image-region: rect(16px, 64px, 32px, 48px);
1391 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1392 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1393 -moz-image-region: rect(32px, 64px, 48px, 48px);
1396 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1397 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1398 -moz-image-region: rect(0px, 80px, 16px, 64px);
1401 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1402 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1403 -moz-image-region: rect(16px, 80px, 32px, 64px);
1406 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1407 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1408 -moz-image-region: rect(32px, 80px, 48px, 64px);
1411 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1412 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1413 -moz-image-region: rect(0px, 96px, 16px, 80px);
1416 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1417 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1418 -moz-image-region: rect(16px, 96px, 32px, 80px);
1421 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1422 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1423 -moz-image-region: rect(32px, 96px, 48px, 80px);
1426 #add-share-provider {
1427 list-style-image: var(--menupanel-small-list-style-image);
1428 -moz-image-region: rect(0px, 96px, 16px, 80px);
1431 /* === END menupanel.inc.css === */
1433 .toolbarbutton-1:not([type="menu-button"]) {
1434 -moz-box-orient: vertical;
1438 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1444 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1445 .toolbarbutton-1[disabled="true"]:hover:active,
1446 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1450 .toolbarbutton-1:hover:active,
1451 .toolbarbutton-1[open="true"],
1452 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1454 padding-bottom: 0px;
1455 -moz-padding-start: 3px;
1456 -moz-padding-end: 1px;
1459 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1460 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1461 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1462 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1463 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1466 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1467 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1470 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1471 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1474 .toolbarbutton-1 > .toolbarbutton-icon,
1475 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1479 #nav-bar .toolbarbutton-1,
1480 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1483 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1484 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1485 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1488 #nav-bar #PanelUI-menu-button {
1489 /* -moz-padding-start: 7px;
1490 -moz-padding-end: 5px;*/
1493 #nav-bar .toolbarbutton-1[type=panel],
1494 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1495 /* padding-left: 5px;
1496 padding-right: 5px;*/
1499 #nav-bar .toolbarbutton-1 > menupopup {
1500 /* margin-top: -3px;*/
1503 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1507 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1508 /* -moz-padding-end: 0;*/
1511 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1512 /* -moz-padding-start: 0;
1513 -moz-box-align: center;*/
1516 .findbar-button > .toolbarbutton-text,
1517 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1518 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1519 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-stack,
1520 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1521 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1522 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1523 /* padding: 2px 6px;
1525 border-color: transparent;
1526 transition-property: background-color, border-color;
1527 transition-duration: 150ms;*/
1530 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1531 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
1532 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1537 /* Help SDK icons fit: */
1538 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
1539 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
1543 #nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1544 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1548 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
1549 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-badge-stack,
1550 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon,
1551 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
1552 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1553 /* -moz-padding-end: 17px;*/
1556 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
1557 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon {
1558 /* horizontal padding + border + icon width */
1559 /* max-width: 43px;*/
1562 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1565 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1568 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1571 #nav-bar .toolbaritem-combined-buttons {
1572 /* margin-left: 2px;
1573 margin-right: 2px;*/
1576 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1581 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1582 #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 {
1588 -moz-margin-end: -1px;
1592 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1595 .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1596 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1597 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1598 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1599 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1600 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1601 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-stack,
1602 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1603 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1606 .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1607 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1608 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1609 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1610 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1611 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack {
1614 #TabsToolbar .toolbarbutton-1,
1615 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1616 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1617 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1620 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1621 #TabsToolbar .toolbarbutton-1[open],
1622 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1623 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1624 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1627 /* unified back/forward button */
1630 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1633 #forward-button > menupopup {
1634 margin-top: 1px !important;
1637 #forward-button > .toolbarbutton-icon {
1638 background-clip: padding-box !important;
1639 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1640 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1644 -moz-margin-start: -4px !important;
1649 border-radius: 0 10000px 10000px 0;
1652 #forward-button:-moz-locale-dir(rtl) {
1653 border-radius: 10000px 0 0 10000px;
1656 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1657 transition: margin-left 150ms ease-out;
1660 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1661 margin-left: -27px !important;
1664 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1665 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1666 transition-delay: 100s;
1669 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1670 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1671 margin-left: -27.01px !important;
1675 /* padding-top: 3px !important;
1676 padding-bottom: 3px !important;
1677 -moz-padding-start: 5px !important;
1678 -moz-padding-end: 0 !important;*/
1681 border-radius: 10000px;
1685 margin-bottom: -2px;
1688 #back-button:-moz-locale-dir(rtl) {
1691 #back-button > menupopup {
1692 margin-top: -1px !important;
1695 #back-button > .toolbarbutton-icon {
1696 border-radius: 10000px !important;
1697 background-clip: padding-box !important;
1698 /* background-color: hsla(210,25%,98%,.08) !important;
1699 padding: 6px !important;
1700 border-style: none !important;
1701 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1702 0 0 0 1px hsla(210,4%,10%,.25);*/
1703 transition-property: background-color, box-shadow !important;
1704 transition-duration: 250ms !important;
1707 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1708 /* background-color: hsla(210,4%,10%,.08) !important;*/
1711 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1712 #back-button[open="true"] > .toolbarbutton-icon {
1713 /* background-color: hsla(210,4%,10%,.12) !important;
1714 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1715 0 0 0 1px hsla(210,4%,10%,.25),
1716 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1719 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1720 transform: scaleX(-1);
1723 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1724 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1725 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1728 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1729 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1730 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1733 #home-button.bookmark-item {
1734 list-style-image: url("chrome://browser/skin/Toolbar.png");
1737 #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),
1738 #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),
1739 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1740 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1741 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1742 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1743 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1746 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1749 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1750 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1751 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1755 #downloads-button > .toolbarbutton-icon {
1759 /* tabview menu item */
1762 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1763 -moz-image-region: rect(1px, 89px, 17px, 73px);
1766 #menu_tabview[groups="0"] {
1767 -moz-image-region: rect(1px, 17px, 17px, 1px);
1770 #menu_tabview[groups="1"] {
1771 -moz-image-region: rect(1px, 35px, 17px, 19px);
1774 #menu_tabview[groups="2"] {
1775 -moz-image-region: rect(1px, 53px, 17px, 37px);
1778 #menu_tabview[groups="3"] {
1779 -moz-image-region: rect(1px, 71px, 17px, 55px);
1782 /* undo close tab menu item */
1783 #alltabs_undoCloseTab {
1784 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1787 @media (min-resolution: 1.1dppx) {
1788 #alltabs_undoCloseTab {
1789 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1791 #alltabs_undoCloseTab > .toolbarbutton-icon {
1796 /* zoom control text (reset) button special case: */
1798 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1799 /* To make this line up with the icons, it needs the same height (18px) +
1800 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1801 * increase in text sizes would break things...
1806 /* ::::: fullscreen window controls ::::: */
1809 -moz-margin-start: 4px;
1815 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1820 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1823 #minimize-button:hover {
1824 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1828 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1831 #restore-button:hover {
1832 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1836 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1839 #close-button:hover {
1840 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1843 /* ::::: Location Bar ::::: */
1846 .searchbar-textbox {
1849 -moz-margin-start: 3px;
1853 /* make color as light as possible to deal with dark non-domain parts */
1857 /* overlap the urlbar's border */
1858 #PopupAutoCompleteRichResult {
1862 #urlbar:-moz-lwtheme,
1863 .searchbar-textbox:-moz-lwtheme {
1864 /* background-color: rgba(255,255,255,.8);
1865 @navbarTextboxCustomBorder@
1869 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1870 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1871 /* background-color: rgba(255,255,255,.9);*/
1874 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1875 .searchbar-textbox:-moz-lwtheme[focused] {
1876 /* background-color: white;*/
1879 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1880 /* -moz-border-start: none;
1884 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1885 /* border-top-left-radius: 0;
1886 border-bottom-left-radius: 0; */
1889 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1890 /* border-top-right-radius: 0;
1891 border-bottom-right-radius: 0; */
1894 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1895 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1896 /* margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); */
1899 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1900 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1901 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1902 transform: scaleX(-1);
1905 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1906 -moz-box-direction: reverse;
1909 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1910 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1915 -moz-box-orient: horizontal;
1916 -moz-box-align: stretch;
1919 .urlbar-textbox-container {
1920 -moz-box-align: stretch;
1924 -moz-margin-start: 0;
1928 -moz-box-align: center;
1933 /* 16x16 icon with border-box sizing */
1938 .search-go-container {
1942 .search-go-container > .search-go-button {
1946 #urlbar-search-footer {
1947 border-top: 1px solid #A09090;
1950 #urlbar-search-settings {
1953 #urlbar-search-settings:hover {
1956 #urlbar-search-settings:hover:active {
1959 #urlbar-search-splitter {
1961 -moz-margin-start: -3px;
1963 background: transparent;
1966 #urlbar-search-splitter + #urlbar-container > #urlbar,
1967 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1968 -moz-margin-start: 0;
1971 #urlbar-display-box {
1975 -moz-border-end: 1px solid #9C9CFF;
1976 -moz-margin-end: 3px;
1979 -moz-margin-start: 0;
1983 /* === BEGIN urlbarSearchSuggestionsNotification.inc.css === */
1985 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] {
1986 border-bottom: 1px solid #A09090;
1987 background-color: #000000;
1989 -moz-padding-start: 44px;
1990 -moz-padding-end: 6px;
1991 background-image: url("chrome://browser/skin/info.svg");
1992 background-clip: padding-box;
1993 background-position: 20px center;
1994 background-repeat: no-repeat;
1995 background-size: 16px 16px;
1998 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"]:-moz-locale-dir(rtl) {
1999 background-position: right 20px center;
2002 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description {
2007 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description > label.text-link {
2008 -moz-margin-start: 0;
2011 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
2012 -moz-appearance: none;
2017 -moz-margin-start: 10px;
2020 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"] {
2023 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"]:hover {
2026 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"] {
2029 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"]:hover {
2032 /* === END urlbarSearchSuggestionsNotification.inc.css === */
2035 min-width: calc(54px + 11ch);
2040 #identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
2041 var(--identity-box-verified-background-color);
2044 #identity-box:-moz-focusring {
2045 outline: 1px dotted #008484;
2046 outline-offset: -1px;
2049 #identity-box.verifiedDomain:-moz-focusring,
2050 #identity-box.verifiedIdentity:-moz-focusring {
2051 outline-color: #000000;
2054 /* Location bar dropmarker */
2056 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2057 background-color: transparent;
2060 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2061 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
2062 #urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
2065 transition: opacity 0.15s ease;
2068 #navigator-toolbox:not(:hover) .urlbar-history-dropmarker {
2072 .urlbar-history-dropmarker:hover {
2075 .urlbar-history-dropmarker:hover:active,
2076 .urlbar-history-dropmarker[open="true"] {
2079 /* page proxy icon */
2081 /* === BEGIN identity-block.inc.css === */
2084 --identity-box-verified-color: #008484;
2085 /* Default theme does different color per channel, we can't as they do it build-time. */
2086 --identity-box-chrome-color: #9C9CFF;
2088 border-inline-end: 1px solid --urlbar-separator-color);
2092 margin-inline-end: 4px;
2094 /* The latter two properties have a transition to handle the delayed hiding of
2095 the forward button when hovered. */
2096 transition: background-color 150ms ease, padding-left, padding-right;
2099 #identity-box:-moz-locale-dir(ltr) {
2100 border-top-right-radius: 0;
2101 border-bottom-right-radius: 0;
2104 #identity-box:-moz-locale-dir(rtl) {
2105 border-top-left-radius: 0;
2106 border-bottom-left-radius: 0;
2109 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2110 color: var(--identity-box-chrome-color);
2111 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2114 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2115 color: var(--identity-box-verified-color);
2116 -moz-border-end: 1px solid var(--identity-box-verified-color);
2119 #notification-popup-box:not([hidden]) + #identity-box {
2120 padding-inline-start: 10px !important;
2124 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
2125 /* border-radius: 0; */
2126 -moz-padding-start: 2px;
2127 -moz-padding-end: 2px;
2128 -moz-margin-end: 1px;
2131 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2132 #notification-popup-box[hidden] + #identity-box {
2133 padding-inline-start: 2px;
2136 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2137 #notification-popup-box[hidden] + #identity-box {
2138 /* Forward button hiding is delayed when hovered, so we should use the same
2139 delay for the identity box. We handle both horizontal paddings (for LTR and
2140 RTL), the latter two delays here are for padding-left and padding-right. */
2141 transition-delay: 0s, 100s, 100s;
2144 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2145 #notification-popup-box[hidden] + #identity-box {
2146 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2147 padding-inline-start: 2.01px;
2150 /* TRACKING PROTECTION ICON */
2152 #tracking-protection-icon {
2155 margin-inline-start: 0;
2156 list-style-image: url("chrome://browser/skin/tracking-protection-16.svg");
2160 #tracking-protection-icon[state="loaded-tracking-content"] {
2161 list-style-image: url("chrome://browser/skin/tracking-protection-disabled-16.svg");
2164 #tracking-protection-icon[animate] {
2165 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2168 #tracking-protection-icon:not([state]) {
2169 margin-inline-start: -18px;
2170 pointer-events: none;
2172 /* Only animate the shield in, when it disappears hide it immediately. */
2176 #urlbar[pageproxystate="invalid"] > #identity-box > #identity-icons > #tracking-protection-icon {
2177 visibility: collapse;
2180 /* MAIN IDENTITY ICON */
2182 #page-proxy-favicon {
2185 list-style-image: url("chrome://browser/skin/identity-not-secure.svg");
2189 .chromeUI > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2190 list-style-image: url("chrome://branding/content/identity-icons-brand.svg");
2193 .verifiedDomain > #identity-icons > #page-proxy-favicon[pageproxystate="valid"],
2194 .verifiedIdentity > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2195 list-style-image: url("chrome://browser/skin/identity-secure.svg");
2198 .insecureLoginForms > #identity-icons > #page-proxy-favicon[pageproxystate="valid"],
2199 .mixedActiveContent > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2200 list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg");
2203 .weakCipher > #identity-icons > #page-proxy-favicon[pageproxystate="valid"],
2204 .mixedDisplayContent > #identity-icons > #page-proxy-favicon[pageproxystate="valid"],
2205 .mixedDisplayContentLoadedActiveBlocked > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2206 list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg");
2209 .mixedActiveBlocked > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2210 list-style-image: url("chrome://browser/skin/identity-mixed-active-blocked.svg");
2213 #page-proxy-favicon[pageproxystate="invalid"] {
2217 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2218 list-style-image: url("chrome://branding/content/icon64.png");
2221 #identity-popup-brandName {
2225 margin-bottom: .5em;
2228 #identity-popup-content-box {
2232 #urlbar[actiontype="searchengine"] > #identity-box > #identity-icons > #page-proxy-favicon {
2233 -moz-image-region: inherit;
2234 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2240 /* MAIN IDENTITY ICON */
2245 list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
2248 #identity-box:hover > #identity-icon,
2249 #identity-box[open=true] > #identity-icon {
2250 list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
2253 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
2254 list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
2257 #urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
2261 #urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
2262 -moz-image-region: inherit;
2263 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2269 /* TRACKING PROTECTION ICON */
2271 #tracking-protection-icon {
2274 margin-inline-start: 2px;
2275 margin-inline-end: 0;
2276 list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
2280 #tracking-protection-icon[state="loaded-tracking-content"] {
2281 list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
2284 #tracking-protection-icon[animate] {
2285 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2288 #tracking-protection-icon:not([state]) {
2289 margin-inline-end: -18px;
2290 pointer-events: none;
2292 /* Only animate the shield in, when it disappears hide it immediately. */
2296 #urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
2297 visibility: collapse;
2300 /* CONNECTION ICON */
2305 margin-inline-start: 2px;
2306 visibility: collapse;
2309 #urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
2310 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
2311 list-style-image: url(chrome://browser/skin/identity-secure.svg);
2312 visibility: visible;
2315 #urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
2316 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
2317 list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
2318 visibility: visible;
2321 #urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
2322 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
2323 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
2324 list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
2325 visibility: visible;
2328 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
2329 list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
2330 visibility: visible;
2333 /* === END identity-block.inc.css === */
2335 #page-proxy-favicon {
2336 -moz-image-region: rect(0, 16px, 16px, 0);
2339 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2340 /* -moz-margin-end: 1px;*/
2343 #identity-box:hover > #page-proxy-favicon {
2344 -moz-image-region: rect(0, 32px, 16px, 16px);
2347 #identity-box:hover:active > #page-proxy-favicon,
2348 #identity-box[open=true] > #page-proxy-favicon {
2349 -moz-image-region: rect(0, 48px, 16px, 32px);
2352 #identity-box:hover {
2353 background-color: #FFCF00;
2357 #identity-box:hover:active,
2358 #identity-box[open=true] {
2359 background-color: #FF9F00;
2363 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2364 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2365 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2366 background-color: #9C9CFF;
2370 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2371 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2372 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2373 background-color: #008484;
2379 #treecolAutoCompleteImage {
2383 .ac-result-type-bookmark,
2384 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2385 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2386 -moz-image-region: rect(0px 16px 16px 0px);
2391 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2392 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2393 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2396 .ac-result-type-keyword,
2397 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2398 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2399 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2404 .ac-result-type-keyword[selected="true"],
2405 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2406 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2407 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2410 .ac-result-type-tag,
2411 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2412 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2418 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description,
2419 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
2423 .ac-extra > .ac-comment,
2434 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2435 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2436 -moz-image-region: rect(0, 16px, 16px, 0);
2442 @media (min-resolution: 1.1dppx) {
2443 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2444 list-style-image: url("chrome://browser/skin/actionicon-tab@2x.png");
2445 -moz-image-region: rect(0, 32px, 32px, 0);
2449 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2450 -moz-image-region: rect(16px, 16px, 32px, 0);
2453 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2457 .ac-comment[selected="true"],
2458 .ac-url-text[selected="true"],
2459 .ac-action-text[selected="true"] {
2460 color: inherit !important;
2463 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2464 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2470 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2471 border-top: 1px solid #9C9CFF;
2474 /* combined go/reload/stop button in location bar */
2477 #urlbar-reload-button,
2478 #urlbar-stop-button {
2480 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2481 /* padding: 0 9px;*/
2482 margin-inline-start: 0px;
2483 border-inline-start: 1px solid var(--urlbar-separator-color);
2484 border-image: linear-gradient(transparent 15%,
2485 var(--urlbar-separator-color) 15%,
2486 var(--urlbar-separator-color) 85%,
2488 border-image-slice: 1;
2491 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2492 border-top-left-radius: 0px;
2493 border-bottom-left-radius: 0px;
2496 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2497 border-top-right-radius: 0px;
2498 border-bottom-right-radius: 0px;
2501 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2502 #urlbar-reload-button:not(:hover) {
2503 -moz-border-start-style: none;
2504 -moz-padding-start: 3px;
2507 #urlbar-reload-button {
2508 -moz-image-region: rect(0px, 14px, 14px, 0px);
2511 #urlbar-reload-button[disabled=true] {
2512 -moz-image-region: rect(28px, 14px, 42px, 0px);
2515 #urlbar-reload-button:not([disabled=true]):hover {
2516 -moz-image-region: rect(14px, 14px, 28px, 0px);
2519 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2520 transform: scaleX(-1);
2524 -moz-image-region: rect(0, 42px, 14px, 28px);
2527 #urlbar-go-button:hover {
2528 -moz-image-region: rect(14px, 42px, 28px, 28px);
2531 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2532 transform: scaleX(-1);
2535 #urlbar-stop-button {
2536 -moz-image-region: rect(0px, 28px, 14px, 14px);
2539 #urlbar-stop-button:hover {
2540 -moz-image-region: rect(14px, 28px, 28px, 14px);
2543 @media (min-resolution: 1.1dppx) {
2545 #urlbar-reload-button,
2546 #urlbar-stop-button {
2547 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2550 #urlbar-go-button > .toolbarbutton-icon,
2551 #urlbar-reload-button > .toolbarbutton-icon,
2552 #urlbar-stop-button > .toolbarbutton-icon {
2557 -moz-image-region: rect(0, 84px, 28px, 56px);
2560 #urlbar-go-button:hover {
2561 -moz-image-region: rect(28px, 84px, 56px, 56px);
2564 #urlbar-go-button:hover:active {
2565 -moz-image-region: rect(56px, 84px, 84px, 56px);
2568 #urlbar-reload-button {
2569 -moz-image-region: rect(0, 28px, 28px, 0);
2572 #urlbar-reload-button:not([disabled]):hover {
2573 -moz-image-region: rect(28px, 28px, 56px, 0);
2576 #urlbar-reload-button:not([disabled]):hover:active {
2577 -moz-image-region: rect(56px, 28px, 84px, 0);
2580 #urlbar-stop-button {
2581 -moz-image-region: rect(0, 56px, 28px, 28px);
2584 #urlbar-stop-button:not([disabled]):hover {
2585 -moz-image-region: rect(28px, 56px, 56px, 28px);
2588 #urlbar-stop-button:hover:active {
2589 -moz-image-region: rect(56px, 56px, 84px, 28px);
2593 /* popup blocker button */
2595 #page-report-button {
2596 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2597 -moz-image-region: rect(0, 16px, 16px, 0);
2600 #page-report-button:hover ,
2601 #page-report-button:hover:active,
2602 #page-report-button[open="true"] {
2603 -moz-image-region: rect(0, 32px, 16px, 16px);
2606 /* Reader mode button */
2608 #reader-mode-button {
2609 list-style-image: url("chrome://browser/skin/readerMode.svg");
2610 -moz-image-region: rect(0, 16px, 16px, 0);
2613 #reader-mode-button:hover,
2614 #reader-mode-button[readeractive]:hover {
2615 -moz-image-region: rect(0, 32px, 16px, 16px);
2618 #reader-mode-button:hover:active,
2619 #reader-mode-button[readeractive] {
2620 -moz-image-region: rect(0, 48px, 16px, 32px);
2623 /* social share panel */
2625 .social-share-frame {
2632 background-color: white;
2633 background-repeat: no-repeat;
2634 background-position: center center;
2636 #share-container[loading] {
2637 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2639 #share-container > browser {
2640 transition: opacity 150ms ease-in-out;
2643 #share-container[loading] > browser {
2647 .social-share-toolbar {
2648 border-bottom: 1px solid #9C9CFF;
2652 #social-share-provider-buttons {
2657 .share-provider-button {
2662 .share-provider-button > .toolbarbutton-text {
2665 .share-provider-button > .toolbarbutton-icon {
2671 /* fixup corners for share panel */
2672 .social-panel > .social-panel-frame {
2673 border-radius: inherit;
2676 #social-share-panel {
2682 .social-share-frame {
2683 border-top-left-radius: 0;
2684 border-bottom-left-radius: inherit;
2685 border-top-right-radius: 0;
2686 border-bottom-right-radius: inherit;
2689 #social-share-panel > .social-share-toolbar {
2690 border-top-left-radius: inherit;
2691 border-top-right-radius: inherit;
2694 #social-share-provider-buttons {
2695 border-top-left-radius: inherit;
2696 border-top-right-radius: inherit;
2699 /* social recommending panel */
2701 #social-mark-button {
2702 -moz-image-region: rect(0, 16px, 16px, 0);
2705 /* bookmarks menu-button */
2707 #bookmarks-menu-button.bookmark-item {
2708 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2709 -moz-image-region: rect(0px 16px 16px 0px);
2712 #bookmarks-menu-button.bookmark-item[starred] {
2713 -moz-image-region: rect(0px 32px 16px 16px);
2716 #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]:not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2718 padding-bottom: 2px;
2721 #BMB_bookmarksPopup[side="top"],
2722 #BMB_bookmarksPopup[side="bottom"] {
2724 margin-right: -20px;
2727 #BMB_bookmarksPopup[side="left"],
2728 #BMB_bookmarksPopup[side="right"] {
2730 margin-bottom: -20px;
2733 /* bookmarking panel */
2735 #editBookmarkPanelStarIcon {
2736 list-style-image: url("chrome://browser/skin/places/starred48.png");
2741 #editBookmarkPanelStarIcon[unstarred] {
2742 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2745 #editBookmarkPanelTitle {
2749 #editBookmarkPanelHeader,
2750 #editBookmarkPanelContent {
2751 margin-bottom: .5em;
2754 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2755 #editBMPanel_folderTree {
2762 border-top: 1px solid #9C9CFF;
2763 border-bottom-left-radius: 5px;
2764 border-bottom-right-radius: 5px;
2768 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2769 -moz-margin-end: 10px;
2770 vertical-align: middle;
2773 .panel-promo-closebutton {
2774 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2775 -moz-margin-end: -3px;
2779 .panel-promo-closebutton:hover {
2780 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2783 .panel-promo-closebutton:hover:active {
2784 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2787 .panel-promo-closebutton > .toolbarbutton-text {
2791 /* ::::: content area ::::: */
2794 background-color: #9C9CFF;
2799 background-color: #000000;
2803 -moz-margin-start: 0;
2812 -moz-padding-start: 0px;
2815 #sidebar-header > .close-icon {
2816 /* padding: 4px 2px;
2819 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2822 #sidebar-header > .close-icon:hover,
2823 #sidebar-header > .close-icon:hover:active {
2824 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2827 #sidebar-splitter:-moz-locale-dir(ltr),
2828 #sidebar:-moz-locale-dir(ltr) {
2829 border-radius: 0 5px 0 0;
2832 #sidebar-splitter:-moz-locale-dir(rtl),
2833 #sidebar:-moz-locale-dir(rtl) {
2834 border-radius: 5px 0 0 0;
2837 .browserContainer > findbar {
2839 background-color: -moz-dialog;
2840 color: -moz-DialogText;
2849 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2852 #TabsToolbar .toolbar-holder {
2853 background-color: #000000; /* correct effect of being an actual toolbar */
2856 #main-window[disablechrome] #TabsToolbar,
2857 #TabsToolbar[tabsontop="false"] {
2858 border-bottom: 1px solid #008484;
2861 /* === BEGIN tabs.inc.css === */
2864 /* --tab-toolbar-navbar-overlap: 1px; */
2865 /* --navbar-tab-toolbar-highlight-overlap: 1px; */
2866 /* --tab-min-height: 31px; */
2869 /* --tab-stroke-background-size: auto 100%; */
2873 .tabs-newtab-button,
2874 #TabsToolbar > #new-tab-button {
2879 padding: 1px 4px 2px;
2882 .tabbrowser-tab:first-of-type {
2883 -moz-margin-start: 2px;
2886 .tabs-newtab-button,
2887 #TabsToolbar > #new-tab-button {
2888 border-radius: 8px 8px 0px 0px;
2889 -moz-margin-start: 0;
2892 .tabs-newtab-button:not(:hover),
2893 #TabsToolbar > #new-tab-button:not(:hover) {
2894 background-color: #C09070;
2897 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2898 .tabbrowser-tab[visuallyselected=true] {
2899 /* position: relative;
2903 .tab-background-middle {
2909 .tab-content[pinned] {
2922 -moz-margin-end: 3px;
2926 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2933 -moz-margin-start: -15px;
2937 .tab-icon-overlay[crashed] {
2938 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2941 .tab-icon-overlay[soundplaying],
2942 .tab-icon-overlay[muted]:not([crashed]) {
2943 border-radius: 10px;
2946 .tab-icon-overlay[soundplaying]:hover,
2947 .tab-icon-overlay[muted]:hover {
2948 background-color: #FFCF00;
2951 .tab-icon-overlay[soundplaying] {
2953 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio");
2956 .tab-icon-overlay[muted]:not([crashed]) {
2957 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted");
2960 #TabsToolbar[brighttext] .tab-icon-overlay[soundplaying]:not(:hover) {
2961 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white");
2965 #TabsToolbar[brighttext] .tab-icon-overlay[muted]:not([crashed]):not(:hover) {
2966 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-muted");
2969 .tab-throbber[busy] {
2970 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2973 .tab-throbber[progress] {
2974 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2977 .tab-throbber[pinned],
2978 .tab-icon-image[pinned] {
2979 -moz-margin-start: 2px;
2980 -moz-margin-end: 2px;
2984 /* this needs to add up to the 16px of the icon image */
2986 margin-top: 2px !important;
2987 margin-bottom: 2px !important;
2991 -moz-margin-start: 4px;
2997 .tab-icon-sound[muted] {
2998 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
3001 .tab-icon-sound[muted]:hover {
3002 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover");
3005 .tab-icon-sound[muted]:hover:active {
3006 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed");
3009 .tab-icon-sound[soundplaying] {
3010 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab");
3013 .tab-icon-sound[soundplaying]:hover {
3014 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-hover");
3017 .tab-icon-sound[soundplaying]:hover:active {
3018 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-pressed");
3021 .tab-icon-sound[muted] {
3022 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted");
3025 .tab-icon-sound[muted]:hover {
3026 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-hover");
3029 .tab-icon-sound[muted]:hover:active {
3030 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-pressed");
3033 .tab-icon-sound[visuallyselected=true][soundplaying] {
3034 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio");
3037 .tab-icon-sound[visuallyselected=true][soundplaying]:hover {
3038 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-hover");
3041 .tab-icon-sound[visuallyselected=true][soundplaying]:hover:active {
3042 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-pressed");
3045 .tab-icon-sound[visuallyselected=true][muted] {
3046 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
3049 .tab-icon-sound[visuallyselected=true][muted]:hover {
3050 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover");
3053 .tab-icon-sound[visuallyselected=true][muted]:hover:active {
3054 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed");
3057 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying] {
3058 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white");
3061 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover {
3062 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-hover");
3065 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover:active {
3066 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-pressed");
3069 #TabsToolbar[brighttext] .tab-icon-sound[muted] {
3070 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white");
3073 #TabsToolbar[brighttext] .tab-icon-sound[muted]:hover {
3074 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-hover");
3077 #TabsToolbar[brighttext] .tab-icon-sound[muted]:hover:active {
3078 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-pressed");
3087 .tabs-newtab-button {
3088 /* overlap the tab curves */
3091 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
3095 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
3096 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
3099 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
3100 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
3103 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
3106 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
3109 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
3110 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
3113 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
3114 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
3117 .tab-background-start[visuallyselected=true]::after,
3118 .tab-background-start[visuallyselected=true]::before,
3119 .tab-background-start,
3120 .tab-background-end,
3121 .tab-background-end[visuallyselected=true]::after,
3122 .tab-background-end[visuallyselected=true]::before {
3125 .tabbrowser-tab:not([visuallyselected=true]),
3126 .tabbrowser-tab:-moz-lwtheme {
3129 /* tabbrowser-tab focus ring */
3130 .tabbrowser-tab:focus {
3131 outline: 1px dotted;
3136 .tabbrowser-tab[visuallyselected="true"] {
3139 /* End selected tab */
3141 /* User Context UI - change tab decoration depending on userContextId.
3142 Defaults to gray for unknown usercontextids. */
3143 .tabbrowser-tab[usercontextid] {
3144 background-image: linear-gradient(to right, transparent 20%, #A09090 30%, #A09090 70%, transparent 80%);
3145 background-size: auto 2px;
3146 background-repeat: no-repeat;
3149 /* Personal User Context */
3150 .tabbrowser-tab[usercontextid="1"] {
3151 background-image: linear-gradient(to right, transparent 20%, #9C9CFF 30%, #9C9CFF 70%, transparent 80%);
3153 /* Work User Context */
3154 .tabbrowser-tab[usercontextid="2"] {
3155 background-image: linear-gradient(to right, transparent 20%, #FF9F00 30%, #FF9F00 70%, transparent 80%);
3157 /* Banking User Context */
3158 .tabbrowser-tab[usercontextid="3"] {
3159 background-image: linear-gradient(to right, transparent 20%, #008484 30%, #008484 70%, transparent 80%);
3161 /* Shopping User Context */
3162 .tabbrowser-tab[usercontextid="4"] {
3163 background-image: linear-gradient(to right, transparent 20%, #E7ADE7 30%, #E7ADE7 70%, transparent 80%);
3166 /* Tab pointer-events */
3169 pointer-events: none;
3172 .tab-background-middle,
3173 .tabs-newtab-button,
3174 .tab-icon-overlay[soundplaying],
3175 .tab-icon-overlay[muted]:not([crashed]),
3178 pointer-events: auto;
3184 .tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([visuallyselected="true"]),
3185 .tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([visuallyselected="true"]) {
3187 .tabbrowser-tab:-moz-any([image], [pinned]):-moz-any([attention], [titlechanged]):not([visuallyselected="true"]) {
3188 background-color: #E7ADE7;
3191 .tab-label[attention]:not([visuallyselected="true"]) {
3195 .tabbrowser-tab[pinned][titlechanged]:not([visuallyselected="true"]):hover {
3196 background-color: #3333FF;
3200 /* Tab separators */
3202 .tabbrowser-tab::after,
3203 .tabbrowser-tab::before {
3205 -moz-margin-start: -1px;
3206 background-image: linear-gradient(transparent 5px,
3208 currentColor calc(100% - 4px),
3209 transparent calc(100% - 4px));
3213 #TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::before,
3214 #TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::after {
3218 /* Also show separators beside the selected tab when dragging it. */
3220 #tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
3221 .tabbrowser-tab:not([visuallyselected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
3222 #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not([beforehovered]):not(:hover)::after {
3227 /* New tab button */
3229 .tabs-newtab-button {
3231 /* width: calc(36px + var(--tab-curve-width)); */
3234 /* === END tabs.inc.css === */
3238 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
3239 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
3240 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
3242 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
3243 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
3246 /* Tab DnD indicator */
3247 .tab-drop-indicator {
3248 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
3249 margin-bottom: -11px;
3252 /* Tab close button */
3254 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3257 .tab-close-button:hover,
3258 .tab-close-button:hover[selected="true"] {
3259 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3262 .tab-close-button:hover:active,
3263 .tab-close-button:hover:active[selected="true"] {
3264 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3267 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
3269 .tabbrowser-arrowscrollbox > .scrollbutton-up,
3270 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3274 background-origin: border-box;
3277 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3278 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3279 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
3280 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
3283 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
3284 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
3287 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
3288 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
3289 /* transform: scaleX(-1);*/
3292 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3293 transition: 1s background-color ease-out;
3296 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
3297 background-color: #008484;
3300 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
3301 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
3302 /* border-width: 0 2px 0 0;
3303 border-style: solid;
3304 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
3307 .tabs-newtab-button > .toolbarbutton-icon {
3309 margin-bottom: -1px;
3312 .tabs-newtab-button,
3313 #TabsToolbar > #new-tab-button,
3314 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
3315 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
3316 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
3317 -moz-image-region: rect(0, 16px, 18px, 0);
3320 .tabs-newtab-button,
3321 .tabs-newtab-button:hover,
3322 #TabsToolbar > #new-tab-button,
3323 #TabsToolbar > #new-tab-button:hover {
3324 -moz-image-region: rect(0, 32px, 18px, 16px);
3327 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3328 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3329 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3330 .tabs-newtab-button:-moz-lwtheme-brighttext,
3331 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3332 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
3335 #TabsToolbar > #new-tab-button {
3340 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
3343 #alltabs-button:hover,
3344 #alltabs-button:hover:active,
3345 #alltabs-button[open="true"] {
3346 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
3349 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3350 #alltabs-button:-moz-lwtheme-brighttext {
3353 #alltabs-button > .toolbarbutton-icon {
3357 #alltabs-button > .toolbarbutton-menu-dropmarker {
3361 /* All tabs menupopup */
3362 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
3363 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
3364 -moz-image-region: auto;
3367 .alltabs-item[selected="true"] {
3371 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3372 list-style-image: url("chrome://global/skin/icons/loading.gif");
3375 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
3376 background-color: #402800;
3379 .alltabs-endimage[muted] {
3380 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
3383 .alltabs-endimage[soundplaying] {
3384 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio");
3387 toolbarbutton.chevron {
3388 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
3391 toolbarbutton.chevron:hover {
3392 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
3395 toolbar[brighttext] toolbarbutton.chevron {
3396 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3399 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3400 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
3401 transform: scaleX(-1);
3404 toolbarbutton.chevron > .toolbarbutton-text,
3405 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3409 toolbarbutton.chevron > .toolbarbutton-icon {
3413 #sidebar-throbber[loading="true"] {
3414 list-style-image: url("chrome://global/skin/icons/loading.gif");
3415 -moz-margin-end: 4px;
3418 /* Bookmarks toolbar */
3419 #PlacesToolbarDropIndicator {
3420 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
3423 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3424 background-color: #008484 !important;
3425 color: #FFCF00 !important;
3428 /* rules for menupopup drop indicators */
3429 .menupopup-drop-indicator-bar {
3431 /* these two margins must together compensate the indicator's height */
3433 margin-bottom: -1px;
3436 .menupopup-drop-indicator {
3437 list-style-image: none;
3439 -moz-margin-end: -4em;
3440 background-color: #008484;
3443 /* === BEGIN notification-icons.inc.css === */
3445 .popup-notification-icon {
3448 -moz-margin-end: 10px;
3451 .popup-notification-icon[popupid="geolocation"] {
3452 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3455 .popup-notification-icon[popupid="xpinstall-disabled"],
3456 .popup-notification-icon[popupid="addon-install-blocked"],
3457 .popup-notification-icon[popupid="addon-install-origin-blocked"] {
3458 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3461 .popup-notification-icon[popupid="addon-progress"] {
3462 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3465 .popup-notification-icon[popupid="addon-install-failed"] {
3466 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3469 .popup-notification-icon[popupid="addon-install-confirmation"] {
3470 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3473 #addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3474 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3477 .popup-notification-icon[popupid="addon-install-complete"] {
3478 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3481 .popup-notification-icon[popupid="addon-install-restart"] {
3482 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
3485 .popup-notification-icon[popupid="click-to-play-plugins"] {
3486 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3489 .popup-notification-icon[popupid="web-notifications"] {
3490 list-style-image: url("chrome://browser/skin/web-notifications-icon.svg");
3493 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3494 .popup-notification-icon[popupid*="offline-app-requested"],
3495 .popup-notification-icon[popupid="offline-app-usage"] {
3496 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3499 .popup-notification-icon[popupid="password"] {
3500 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3503 .popup-notification-icon[popupid="webapps-install-progress"],
3504 .popup-notification-icon[popupid="webapps-install"] {
3505 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3508 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3509 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3510 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3513 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3514 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3515 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3518 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3519 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3520 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3523 .popup-notification-icon[popupid="pointerLock"] {
3524 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3527 /* Notification icon box */
3528 #notification-popup .panel-promo-box {
3529 /* margin: 10px -10px -10px; */
3532 #notification-popup-box {
3534 background-color: #000000;
3535 background-clip: padding-box;
3538 border-radius: 3px 0 0 3px;
3539 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3540 -moz-margin-end: -8px;
3541 border-right-width: 8px;
3544 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3545 /* padding-left: 7px; */
3548 /* This changes the direction of the main notification box on the url bar. */
3549 #notification-popup-box:-moz-locale-dir(rtl),
3550 /* This adds a second flip for the notification anchors, as they don't switch direction
3552 .notification-anchor-icon:-moz-locale-dir(rtl) {
3553 transform: scaleX(-1);
3556 /* For the anchor icons in the chat window, we don't have the notification popup box,
3557 so we need to cancel the RTL transform. */
3558 .notification-anchor-icon.chat-toolbarbutton:-moz-locale-dir(rtl) {
3562 .notification-anchor-icon {
3563 list-style-image: url("chrome://global/skin/icons/information-16.png");
3570 .notification-anchor-icon:-moz-focusring {
3571 outline: 1px dotted #008484;
3574 .identity-notification-icon,
3575 #identity-notification-icon {
3576 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3579 .geo-notification-icon,
3580 #geo-notification-icon {
3581 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3584 #addons-notification-icon {
3585 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3588 #addons-notification-icon:hover {
3589 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3592 #addons-notification-icon:hover:active {
3593 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
3596 .indexedDB-notification-icon,
3597 #indexedDB-notification-icon {
3598 list-style-image: url("chrome://global/skin/icons/question-16.png");
3601 #password-notification-icon {
3602 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3605 #login-fill-notification-icon {
3606 /* Temporary icon until the capture and fill doorhangers are unified. */
3607 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3608 transform: scaleX(-1);
3611 #webapps-notification-icon {
3612 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3615 #plugins-notification-icon {
3616 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3619 #plugins-notification-icon.plugin-hidden {
3620 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3623 #plugins-notification-icon.plugin-blocked {
3624 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3627 #plugins-notification-icon {
3628 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3631 #plugins-notification-icon:hover {
3632 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3635 #notification-popup-box[hidden] {
3636 /* Override display:none to make the pluginBlockedNotification animation work
3637 when showing the notification repeatedly. */
3639 visibility: collapse;
3642 #plugins-notification-icon.plugin-blocked[showing] {
3643 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3646 @keyframes pluginBlockedNotification {
3655 .webRTC-shareDevices-notification-icon,
3656 #webRTC-shareDevices-notification-icon {
3657 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3660 .webRTC-sharingDevices-notification-icon,
3661 #webRTC-sharingDevices-notification-icon {
3662 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3665 .webRTC-shareMicrophone-notification-icon,
3666 #webRTC-shareMicrophone-notification-icon {
3667 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3670 .webRTC-sharingMicrophone-notification-icon,
3671 #webRTC-sharingMicrophone-notification-icon {
3672 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3675 .webRTC-shareScreen-notification-icon,
3676 #webRTC-shareScreen-notification-icon {
3677 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3680 .webRTC-sharingScreen-notification-icon,
3681 #webRTC-sharingScreen-notification-icon {
3682 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3685 .web-notifications-notification-icon,
3686 #web-notifications-notification-icon {
3687 list-style-image: url("chrome://browser/skin/web-notifications-tray.svg");
3688 -moz-image-region: rect(0, 16px, 16px, 0);
3691 .web-notifications-notification-icon:hover,
3692 #web-notifications-notification-icon:hover {
3693 -moz-image-region: rect(0, 32px, 16px, 16px);
3696 .web-notifications-notification-icon:hover:active,
3697 #web-notifications-notification-icon:hover:active {
3698 -moz-image-region: rect(0, 48px, 16px, 32px);
3701 #pointerLock-notification-icon {
3702 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3705 .translate-notification-icon,
3706 #translate-notification-icon {
3707 list-style-image: url("chrome://browser/skin/translation-16.png");
3708 -moz-image-region: rect(0px, 16px, 16px, 0px);
3711 .translated-notification-icon,
3712 #translated-notification-icon {
3713 list-style-image: url("chrome://browser/skin/translation-16.png");
3714 -moz-image-region: rect(0px, 32px, 16px, 16px);
3717 .popup-notification-icon[popupid="servicesInstall"] {
3718 list-style-image: url("chrome://browser/skin/social/services-64.png");
3720 #servicesInstall-notification-icon {
3721 list-style-image: url("chrome://browser/skin/social/services-16.png");
3724 /* EME notifications */
3726 .popup-notification-icon[popupid="drmContentPlaying"],
3727 #eme-notification-icon {
3728 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3731 #eme-notification-icon:hover:active {
3732 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3735 #eme-notification-icon[firstplay=true] {
3736 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3739 @keyframes emeTeachingMoment {
3740 0% {transform: translateX(0); }
3741 25% {transform: translateX(3px) }
3742 75% {transform: translateX(-3px) }
3743 100% { transform: translateX(0); }
3746 /* HiDPI notification icons */
3747 @media (min-resolution: 1.1dppx) {
3748 /* #notification-popup-box {
3749 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3752 .notification-anchor-icon {
3753 list-style-image: url(chrome://global/skin/icons/information-32.png);
3756 .webRTC-shareDevices-notification-icon,
3757 #webRTC-shareDevices-notification-icon {
3758 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3761 .webRTC-sharingDevices-notification-icon,
3762 #webRTC-sharingDevices-notification-icon {
3763 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3766 .webRTC-shareMicrophone-notification-icon,
3767 #webRTC-shareMicrophone-notification-icon {
3768 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3771 .webRTC-sharingMicrophone-notification-icon,
3772 #webRTC-sharingMicrophone-notification-icon {
3773 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3776 .webRTC-shareScreen-notification-icon,
3777 #webRTC-shareScreen-notification-icon {
3778 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3781 .webRTC-sharingScreen-notification-icon,
3782 #webRTC-sharingScreen-notification-icon {
3783 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3786 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3787 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3788 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3791 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3792 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3793 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3796 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3797 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3798 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3802 /* === END notification-icons.inc.css === */
3804 .popup-notification-body[popupid="addon-progress"],
3805 .popup-notification-body[popupid="addon-install-confirmation"] {
3810 /* Translation infobar */
3812 /* === BEGIN infobar.inc.css === */
3814 notification[value="translation"] .messageImage {
3815 list-style-image: url("chrome://browser/skin/translation-16.png");
3816 -moz-image-region: rect(0, 32px, 16px, 16px);
3819 @media (min-resolution: 1.25dppx) {
3820 notification[value="translation"] .messageImage {
3821 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3822 -moz-image-region: rect(0, 64px, 32px, 32px);
3826 notification[value="translation"][state="translating"] .messageImage {
3827 list-style-image: url("chrome://browser/skin/translating-16.png");
3828 -moz-image-region: auto;
3831 @media (min-resolution: 1.25dppx) {
3832 notification[value="translation"][state="translating"] .messageImage {
3833 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3837 notification[value="translation"] hbox[anonid="details"] {
3841 notification[value="translation"] button,
3842 notification[value="translation"] menulist {
3846 notification[value="translation"] menulist > .menulist-dropmarker {
3849 .translation-menupopup arrowscrollbox {
3853 .translation-attribution {
3855 -moz-box-align: end;
3859 .translation-attribution > label {
3863 .translation-attribution > image {
3867 .translation-welcome-panel {
3871 .translation-welcome-logo {
3874 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3875 -moz-image-region: rect(0, 64px, 32px, 32px);
3878 .translation-welcome-content {
3879 -moz-margin-start: 16px;
3882 .translation-welcome-headline {
3887 .translation-welcome-body {
3892 /* === END infobar.inc.css === */
3894 notification[value="translation"] {
3898 .translation-menupopup {
3899 -moz-appearance: none;
3902 /* Loop/ Hello browser styles */
3904 notification[value="loop-sharing-notification"] .button-menubutton-button {
3910 notification[value="loop-sharing-notification"] .messageImage {
3911 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3914 /* Bookmarks roots menu-items */
3915 #subscribeToPageMenuitem:not([disabled]),
3916 #subscribeToPageMenupopup,
3917 #BMB_subscribeToPageMenuitem:not([disabled]),
3918 #BMB_subscribeToPageMenupopup {
3919 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3922 #bookmarksToolbarFolderMenu,
3923 #BMB_bookmarksToolbar,
3924 #panelMenu_bookmarksToolbar {
3925 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3926 -moz-image-region: auto;
3929 #BMB_unsortedBookmarks,
3930 #panelMenu_unsortedBookmarks {
3931 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3932 -moz-image-region: auto;
3938 list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
3941 /* ::::: Keyboard UI Panel ::::: */
3946 border-radius: 20px;
3949 .KUI-panel[level="top"] {
3950 /*background-color: rgba(27%,27%,27%,.65);*/
3956 padding: 20px 10px 10px;
3960 .ctrlTab-favicon[src] {
3961 background-color: #000000;
3967 .ctrlTab-preview-inner > .tabPreview-canvas {
3970 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3974 .ctrlTab-preview-inner {
3975 padding-bottom: 10px;
3978 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3980 background-color: #000000;
3981 border-radius: .5em;
3984 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3986 background-color: #000000;
3989 border: 2px solid #9C9CFF;
3990 border-radius: .5em;
3993 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3994 margin: -10px -10px 0;
4006 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
4014 .sync-panel-button-box {
4018 #sync-start-panel-title {
4024 #sync-start-panel-subtitle {
4030 .statuspanel-label {
4033 background: #404000;
4034 border: 1px none #9C9CFF;
4035 border-top-style: solid;
4040 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
4041 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
4042 border-right-style: solid;
4043 border-top-right-radius: .3em;