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: rgba(0,0,0,.2);*/
47 --urlbar-separator-color: #9C9CFF;
51 -moz-box-orient: vertical; /* for flex hack */
55 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
58 /* ::::: primary toolbar ::::: */
60 .toolbar-primary > .toolbar-box > .toolbar-holder {
61 background-color: #A09090;
64 .toolbar-primary > .toolbar-box > .toolbar-startcap,
65 .toolbar-primary > .toolbar-box > .toolbar-endcap {
66 background-color: #9C9CFF;
69 /* Hides the titlebar-placeholder underneath the window caption buttons when we
70 are not autohiding the menubar. */
71 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
75 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
76 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
77 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
78 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
79 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
83 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
84 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
85 /* margin-top: var(--space-above-tabbar);*/
88 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
89 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
90 #toolbar-menubar:not([autohide="true"]) {
91 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
95 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
96 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
97 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
102 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
103 /* 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 */
107 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
108 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
109 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
110 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
111 outline-color: #A09090;
117 #navigator-toolbox::after {
120 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
124 #navigator-toolbox > toolbar {
127 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
130 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
131 overflow: -moz-hidden-unscrollable;
133 transition: min-height 170ms ease-out, max-height 170ms ease-out;
136 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
139 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
142 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
143 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
144 /* Indent also due to non-applicable aero rule in original Windows theme. */
145 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
146 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
148 background-color: #6000CF;
152 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
153 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
154 background-color: #8050B0;
158 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
162 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
166 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
167 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
172 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
173 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
174 #titlebar-buttonbox > .titlebar-button {
180 /* Position the toolbar above the bottom of background tabs */
185 #personal-bookmarks {
186 /* min-height: 24px; */
189 #PersonalToolbar > #home-button {
190 -moz-box-orient: horizontal;
193 #PersonalToolbar > #home-button > .toolbarbutton-text {
197 #print-preview-toolbar:not(:-moz-lwtheme) {
198 /* -moz-appearance: toolbox; */
201 #browser-bottombox:not(:-moz-lwtheme) {
204 /* ::::: titlebar ::::: */
208 background-color: #6000CF;
211 #titlebar:-moz-window-inactive {
212 background-color: #8050B0;
216 #main-window[sizemode="normal"] > #titlebar {
221 #main-window[sizemode="maximized"] > #titlebar {
225 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
226 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
227 #main-window[sizemode="normal"] > #titlebar,
228 #main-window[sizemode="maximized"] > #titlebar {
230 /* There is a margin-bottom set to -23 by code. */
234 /* The button box must appear on top of the navigator-toolbox in order for
235 * click and hover mouse events to work properly for the button in the restored
236 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
237 * can swallow those events. It will also place the buttons above the fog on
238 * themes with Aero Glass.
241 #main-window[sizemode="maximized"] #titlebar-buttonbox {
242 -moz-appearance: none;
245 -moz-margin-end: 3px;
249 .titlebar-placeholder[type="appmenu-button"] {
253 .titlebar-placeholder[type="caption-buttons"] {
257 /* titlebar command buttons */
259 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize");
262 #titlebar-min:hover {
263 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize-hover");
267 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize");
270 #titlebar-max:hover {
271 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize-hover");
274 #main-window[sizemode="maximized"] #titlebar-max {
275 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore");
278 #main-window[sizemode="maximized"] #titlebar-max:hover {
279 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore-hover");
283 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close");
286 #titlebar-close:hover {
287 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close-hover");
290 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
291 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
292 #titlebar-fullscreen-button {
293 -moz-appearance: none;
294 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
295 -moz-image-region: rect(0px, 16px, 16px, 0px);
298 #titlebar-fullscreen-button:hover {
299 -moz-image-region: rect(0px, 32px, 16px, 16px);
302 @media (min-resolution: 2dppx) {
303 #titlebar-fullscreen-button {
304 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
305 -moz-image-region: rect(0px, 32px, 32px, 0px);
308 #titlebar-fullscreen-button:hover {
309 -moz-image-region: rect(0px, 64px, 32px, 32px);
315 /* ::::: bookmark buttons ::::: */
317 toolbarbutton.bookmark-item:not(.subviewbutton),
318 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
323 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
324 toolbarbutton.bookmark-item[open="true"] {
327 -moz-padding-start: 4px;
328 -moz-padding-end: 2px;*/
331 .bookmark-item > .toolbarbutton-icon,
332 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
335 -moz-margin-start: 1px;
336 -moz-margin-end: 2px;
341 /* Force the display of the label for bookmarks */
342 .bookmark-item > .toolbarbutton-text,
343 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
344 display: -moz-box !important;
347 .bookmark-item > .toolbarbutton-menu-dropmarker {
351 #bookmarks-toolbar-placeholder {
352 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
353 -moz-box-orient: horizontal;
356 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
357 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
358 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
361 /* ----- BOOKMARK STAR ANIMATION ----- */
363 @keyframes animation-bookmarkAdded {
364 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
365 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
367 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
370 @keyframes animation-bookmarkPulse {
371 from { transform: scale(1); }
372 50% { transform: scale(1.3); }
373 to { transform: scale(1); }
376 #bookmarked-notification-container {
385 #bookmarked-notification {
386 background-size: 16px;
387 background-position: center;
388 background-repeat: no-repeat;
394 #bookmarked-notification-dropmarker-anchor {
399 #bookmarked-notification-dropmarker-icon {
405 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
406 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
407 animation: animation-bookmarkAdded 800ms;
408 animation-timing-function: ease, ease, ease;
411 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
412 list-style-image: none !important;
415 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
417 animation: animation-bookmarkPulse 300ms;
418 animation-delay: 600ms;
419 animation-timing-function: ease-out;
422 /* ::::: bookmark menus ::::: */
425 menuitem.bookmark-item {
430 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
435 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
436 -moz-padding-start: 0px;
439 /* ::::: bookmark items ::::: */
442 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
443 -moz-image-region: auto;
446 .bookmark-item[container] {
447 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
448 -moz-image-region: auto;
451 .bookmark-item[container][open] {
452 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
453 -moz-image-region: auto;
456 .bookmark-item[container][livemark] {
457 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
458 -moz-image-region: auto;
461 .bookmark-item[container][livemark] .bookmark-item {
462 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
463 -moz-image-region: rect(0px, 16px, 16px, 0px);
466 .bookmark-item[container][livemark] .bookmark-item[visited] {
467 -moz-image-region: rect(0px, 32px, 16px, 16px);
470 .bookmark-item[container][query] {
471 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
472 -moz-image-region: auto;
475 .bookmark-item[query][tagContainer] {
476 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
477 -moz-image-region: auto;
480 .bookmark-item[query][dayContainer] {
481 list-style-image: url("chrome://communicator/skin/history/calendar.png");
482 -moz-image-region: auto;
485 .bookmark-item[query][hostContainer] {
486 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
487 -moz-image-region: auto;
490 .bookmark-item[query][hostContainer][open] {
491 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
492 -moz-image-region: auto;
495 .bookmark-item[cutting] > .toolbarbutton-icon,
496 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
500 .bookmark-item[cutting] > .toolbarbutton-text,
501 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
505 /* ::::: primary toolbar buttons ::::: */
507 /* === BEGIN toolbarbuttons.inc.css === */
509 /* Whole section of this included file: */
510 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
511 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
512 #social-share-button, #open-file-button, #find-button, #developer-button,
513 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
514 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
515 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
516 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
518 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
519 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
521 toolbar[brighttext] #pocket-button,
523 list-style-image: url("chrome://browser/skin/ToolbarFx.png") !important; /* override pocket.css */
527 -moz-image-region: rect(0, 36px, 18px, 18px);
530 #back-button:hover:not([disabled="true"]) {
531 -moz-image-region: rect(18px, 36px, 36px, 18px);
534 #back-button[disabled="true"] {
535 -moz-image-region: rect(36px, 36px, 54px, 18px);
539 -moz-image-region: rect(0, 72px, 18px, 54px);
542 #forward-button:hover:not([disabled="true"]) {
543 -moz-image-region: rect(18px, 72px, 36px, 54px);
546 #forward-button[disabled="true"] {
547 -moz-image-region: rect(36px, 72px, 54px, 54px);
550 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
551 #forward-button:-moz-locale-dir(rtl) {
552 transform: scaleX(-1);
555 #home-button[cui-areatype="toolbar"] {
556 -moz-image-region: rect(0, 126px, 18px, 108px);
559 #home-button[cui-areatype="toolbar"]:hover {
560 -moz-image-region: rect(18px, 126px, 36px, 108px);
563 #bookmarks-menu-button[cui-areatype="toolbar"] {
564 -moz-image-region: rect(0, 144px, 18px, 126px);
567 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
568 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
569 -moz-image-region: rect(18px, 144px, 36px, 126px);
572 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
573 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
574 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
575 background-color: transparent !important;
578 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
579 -moz-image-region: rect(0, 162px, 18px, 144px);
582 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
583 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
584 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
585 /* When starred and clicked (for edit/delete dialog),
586 * then only the menubutton-button itself is open, but not the whole menubutton. */
587 -moz-image-region: rect(18px, 162px, 36px, 144px);
590 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
591 -moz-image-region: rect(0, 630px, 18px, 612px);
594 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
596 -moz-box-align: center;
599 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
600 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
601 -moz-image-region: rect(18px, 630px, 36px, 612px);
604 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
605 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
608 -moz-padding-start: 2px;
609 -moz-padding-end: 0px;
612 #history-panelmenu[cui-areatype="toolbar"] {
613 -moz-image-region: rect(0, 180px, 18px, 162px);
616 #history-panelmenu[cui-areatype="toolbar"]:hover,
617 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
618 -moz-image-region: rect(18px, 180px, 36px, 162px);
621 #downloads-button[cui-areatype="toolbar"] {
622 -moz-image-region: rect(0, 198px, 18px, 180px);
625 #downloads-button[cui-areatype="toolbar"]:hover,
626 #downloads-button[cui-areatype="toolbar"][open="true"] {
627 -moz-image-region: rect(18px, 198px, 36px, 180px);
630 #add-ons-button[cui-areatype="toolbar"] {
631 -moz-image-region: rect(0, 216px, 18px, 198px);
634 #add-ons-button[cui-areatype="toolbar"]:hover {
635 -moz-image-region: rect(18px, 216px, 36px, 198px);
638 #open-file-button[cui-areatype="toolbar"] {
639 -moz-image-region: rect(0, 234px, 18px, 216px);
642 #open-file-button[cui-areatype="toolbar"]:hover {
643 -moz-image-region: rect(18px, 234px, 36px, 216px);
646 #save-page-button[cui-areatype="toolbar"] {
647 -moz-image-region: rect(0, 252px, 18px, 234px);
650 #save-page-button[cui-areatype="toolbar"]:hover {
651 -moz-image-region: rect(18px, 252px, 36px, 234px);
654 #sync-button[cui-areatype="toolbar"] {
655 -moz-image-region: rect(0, 270px, 18px, 252px);
658 #sync-button[cui-areatype="toolbar"]:hover {
659 -moz-image-region: rect(18px, 270px, 36px, 252px);
662 #sync-button[cui-areatype="toolbar"][status="active"],
663 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
664 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
665 -moz-image-region: rect(0, 18px, 18px, 0px);
669 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
670 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
671 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
675 #feed-button[cui-areatype="toolbar"] {
676 -moz-image-region: rect(0, 288px, 18px, 270px);
679 #feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
680 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
681 -moz-image-region: rect(18px, 288px, 36px, 270px);
684 #feed-button[cui-areatype="toolbar"][disabled="true"] {
685 -moz-image-region: rect(36px, 288px, 54px, 270px);
688 #social-share-button[cui-areatype="toolbar"] {
689 -moz-image-region: rect(0px, 306px, 18px, 288px);
692 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
693 #social-share-button[cui-areatype="toolbar"][open="true"] {
694 -moz-image-region: rect(18px, 306px, 36px, 288px);
697 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
698 -moz-image-region: rect(36px, 306px, 54px, 288px);
701 #characterencoding-button[cui-areatype="toolbar"] {
702 -moz-image-region: rect(0, 324px, 18px, 306px);
705 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
706 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
707 -moz-image-region: rect(18px, 324px, 36px, 306px);
710 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
711 -moz-image-region: rect(36px, 324px, 54px, 306px);
714 #new-window-button[cui-areatype="toolbar"] {
715 -moz-image-region: rect(0, 342px, 18px, 324px);
718 #new-window-button[cui-areatype="toolbar"]:hover {
719 -moz-image-region: rect(18px, 342px, 36px, 324px);
722 #e10s-button[cui-areatype="toolbar"] {
723 -moz-image-region: rect(0, 342px, 18px, 324px);
726 #e10s-button[cui-areatype="toolbar"]:hover {
727 -moz-image-region: rect(18px, 342px, 36px, 324px);
730 #e10s-button > .toolbarbutton-icon {
731 transform: scaleY(-1);
734 #new-tab-button[cui-areatype="toolbar"] {
735 -moz-image-region: rect(0, 360px, 18px, 342px);
738 #new-tab-button[cui-areatype="toolbar"]:hover {
739 -moz-image-region: rect(18px, 360px, 36px, 342px);
742 #privatebrowsing-button[cui-areatype="toolbar"] {
743 -moz-image-region: rect(0, 378px, 18px, 360px);
746 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
747 -moz-image-region: rect(18px, 378px, 36px, 360px);
750 #find-button[cui-areatype="toolbar"] {
751 -moz-image-region: rect(0, 396px, 18px, 378px);
754 #find-button[cui-areatype="toolbar"]:hover {
755 -moz-image-region: rect(18px, 396px, 36px, 378px);
758 #print-button[cui-areatype="toolbar"] {
759 -moz-image-region: rect(0, 414px, 18px, 396px);
762 #print-button[cui-areatype="toolbar"]:hover {
763 -moz-image-region: rect(18px, 414px, 36px, 396px);
766 #fullscreen-button[cui-areatype="toolbar"] {
767 -moz-image-region: rect(0, 432px, 18px, 414px);
770 #fullscreen-button[cui-areatype="toolbar"]:hover {
771 -moz-image-region: rect(18px, 432px, 36px, 414px);
774 #developer-button[cui-areatype="toolbar"] {
775 -moz-image-region: rect(0, 450px, 18px, 432px);
778 #developer-button[cui-areatype="toolbar"]:hover,
779 #developer-button[cui-areatype="toolbar"][open="true"] {
780 -moz-image-region: rect(18px, 450px, 36px, 432px);
783 #preferences-button[cui-areatype="toolbar"] {
784 -moz-image-region: rect(0, 468px, 18px, 450px);
787 #preferences-button[cui-areatype="toolbar"]:hover {
788 -moz-image-region: rect(18px, 468px, 36px, 450px);
791 #PanelUI-menu-button {
792 -moz-image-region: rect(0, 486px, 18px, 468px);
795 #PanelUI-menu-button:hover,
796 #PanelUI-menu-button[open="true"] {
797 -moz-image-region: rect(18px, 486px, 36px, 468px);
800 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
801 -moz-image-region: rect(0, 504px, 18px, 486px);
804 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
805 -moz-image-region: rect(18px, 504px, 36px, 486px);
808 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
809 -moz-image-region: rect(36px, 504px, 54px, 486px);
812 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
813 -moz-image-region: rect(0, 522px, 18px, 504px);
816 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
817 -moz-image-region: rect(18px, 522px, 36px, 504px);
820 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
821 -moz-image-region: rect(36px, 522px, 54px, 504px);
824 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
825 -moz-image-region: rect(0, 540px, 18px, 522px);
828 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
829 -moz-image-region: rect(18px, 540px, 36px, 522px);
832 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
833 -moz-image-region: rect(36px, 540px, 54px, 522px);
836 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
837 -moz-image-region: rect(0, 558px, 18px, 540px);
840 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
841 -moz-image-region: rect(18px, 558px, 36px, 540px);
844 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
845 -moz-image-region: rect(36px, 558px, 54px, 540px);
848 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
849 -moz-image-region: rect(0, 576px, 18px, 558px);
852 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
853 -moz-image-region: rect(18px, 576px, 36px, 558px);
856 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
857 -moz-image-region: rect(36px, 576px, 54px, 558px);
860 #nav-bar-overflow-button {
861 -moz-image-region: rect(0, 612px, 18px, 594px);
864 #nav-bar-overflow-button:hover,
865 #nav-bar-overflow-button[open="true"] {
866 -moz-image-region: rect(18px, 612px, 36px, 594px);
869 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
870 transform: scaleX(-1);
874 -moz-image-region: rect(0, 648px, 18px, 630px);
877 #tabview-button:hover {
878 -moz-image-region: rect(18px, 648px, 36px, 630px);
881 #email-link-button[cui-areatype="toolbar"] {
882 -moz-image-region: rect(0, 666px, 18px, 648px);
885 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
886 -moz-image-region: rect(18px, 666px, 36px, 648px);
889 #email-button[cui-areatype="toolbar"][disabled="true"] {
890 -moz-image-region: rect(36px, 666px, 54px, 648px);
893 #sidebar-button[cui-areatype="toolbar"] {
894 -moz-image-region: rect(0, 684px, 18px, 666px);
897 #sidebar-button[cui-areatype="toolbar"]:hover {
898 -moz-image-region: rect(18px, 684px, 36px, 666px);
901 #panic-button[cui-areatype="toolbar"] {
902 -moz-image-region: rect(0, 702px, 18px, 684px);
905 #panic-button[cui-areatype="toolbar"]:hover,
906 #panic-button[cui-areatype="toolbar"][open] {
907 -moz-image-region: rect(18px, 702px, 36px, 684px);
910 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
911 transform: scaleX(-1);
914 #web-apps-button[cui-areatype="toolbar"] {
915 -moz-image-region: rect(0, 720px, 18px, 702px);
918 #web-apps-button[cui-areatype="toolbar"]:hover {
919 -moz-image-region: rect(18px, 720px, 36px, 702px);
923 #loop-button > .toolbarbutton-badge-stack {
924 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
925 -moz-image-region: rect(0, 18px, 18px, 0);
928 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
929 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
930 -moz-image-region: rect(0, 90px, 18px, 72px);
933 #loop-button[state="disabled"],
934 #loop-button[disabled="true"],
935 #loop-button[state="disabled"] > .toolbarbutton-badge-stack,
936 #loop-button[disabled="true"] > .toolbarbutton-badge-stack {
937 -moz-image-region: rect(0, 36px, 18px, 18px);
940 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
941 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
942 -moz-image-region: rect(0, 126px, 18px, 108px);
945 #loop-button:not([disabled="true"])[state="error"],
946 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-stack {
947 -moz-image-region: rect(0, 54px, 18px, 36px);
950 #loop-button:not([disabled="true"])[state="action"],
951 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-stack {
952 -moz-image-region: rect(0, 72px, 18px, 54px);
955 #loop-button:not([disabled="true"])[state="active"],
956 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-stack {
957 -moz-image-region: rect(0, 108px, 18px, 90px);
960 #webide-button[cui-areatype="toolbar"] {
961 -moz-image-region: rect(0, 738px, 18px, 720px);
964 #webide-button[cui-areatype="toolbar"]:hover {
965 -moz-image-region: rect(18px, 738px, 36px, 720px);
968 #pocket-button[cui-areatype="toolbar"] {
969 -moz-image-region: rect(0, 774px, 18px, 756px);
972 #pocket-button[cui-areatype="toolbar"]:hover,
973 #pocket-button[cui-areatype="toolbar"][open] {
974 -moz-image-region: rect(18px, 774px, 36px, 756px);
977 /* === END toolbarbuttons.inc.css === */
979 /* === BEGIN menupanel.inc.css === */
981 /* Menu panel and palette styles */
984 /* avoid aero overrides with changed filenames */
985 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
986 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
989 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
990 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
991 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
992 #social-share-button, #open-file-button, #find-button, #developer-button,
993 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
994 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
995 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
996 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
997 #pocket-button)[cui-areatype="menu-panel"],
998 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
999 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
1000 #social-share-button, #open-file-button, #find-button, #developer-button,
1001 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
1002 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
1003 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
1004 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
1006 list-style-image: var(--menupanel-list-style-image);
1009 #home-button[cui-areatype="menu-panel"],
1010 toolbarpaletteitem[place="palette"] > #home-button {
1011 -moz-image-region: rect(0px, 128px, 32px, 96px);
1014 #home-button[cui-areatype="menu-panel"]:hover,
1015 toolbarpaletteitem[place="palette"] > #home-button:hover {
1016 -moz-image-region: rect(32px, 128px, 64px, 96px);
1019 #bookmarks-menu-button[cui-areatype="menu-panel"],
1020 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
1021 -moz-image-region: rect(0px, 192px, 32px, 160px);
1024 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
1025 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
1026 -moz-image-region: rect(32px, 192px, 64px, 160px);
1029 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1030 -moz-image-region: rect(32px, 192px, 64px, 160px);
1033 #history-panelmenu[cui-areatype="menu-panel"],
1034 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1035 -moz-image-region: rect(0px, 224px, 32px, 192px);
1038 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1039 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1040 -moz-image-region: rect(32px, 224px, 64px, 192px);
1043 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1044 -moz-image-region: rect(32px, 224px, 64px, 192px);
1047 #downloads-button[cui-areatype="menu-panel"],
1048 toolbarpaletteitem[place="palette"] > #downloads-button {
1049 -moz-image-region: rect(0px, 256px, 32px, 224px);
1052 #downloads-button[cui-areatype="menu-panel"]:hover,
1053 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1054 -moz-image-region: rect(32px, 256px, 64px, 224px);
1057 #add-ons-button[cui-areatype="menu-panel"],
1058 toolbarpaletteitem[place="palette"] > #add-ons-button {
1059 -moz-image-region: rect(0px, 288px, 32px, 256px);
1062 #add-ons-button[cui-areatype="menu-panel"]:hover,
1063 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1064 -moz-image-region: rect(32px, 288px, 64px, 256px);
1067 #open-file-button[cui-areatype="menu-panel"],
1068 toolbarpaletteitem[place="palette"] > #open-file-button {
1069 -moz-image-region: rect(0px, 320px, 32px, 288px);
1072 #open-file-button[cui-areatype="menu-panel"]:hover,
1073 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1074 -moz-image-region: rect(32px, 320px, 64px, 288px);
1077 #save-page-button[cui-areatype="menu-panel"],
1078 toolbarpaletteitem[place="palette"] > #save-page-button {
1079 -moz-image-region: rect(0px, 352px, 32px, 320px);
1082 #save-page-button[cui-areatype="menu-panel"]:hover,
1083 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1084 -moz-image-region: rect(32px, 352px, 64px, 320px);
1087 #sync-button[cui-areatype="menu-panel"],
1088 toolbarpaletteitem[place="palette"] > #sync-button {
1089 -moz-image-region: rect(0px, 384px, 32px, 352px);
1092 #sync-button[cui-areatype="menu-panel"]:hover,
1093 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1094 -moz-image-region: rect(32px, 384px, 64px, 352px);
1097 #sync-button[cui-areatype="menu-panel"][status="active"] {
1098 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1099 -moz-image-region: rect(0px, 32px, 32px, 0px);
1102 #feed-button[cui-areatype="menu-panel"],
1103 toolbarpaletteitem[place="palette"] > #feed-button {
1104 -moz-image-region: rect(0px, 416px, 32px, 384px);
1107 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1108 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1109 -moz-image-region: rect(32px, 416px, 64px, 384px);
1112 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1113 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1114 -moz-image-region: rect(64px, 416px, 96px, 384px);
1117 #social-share-button[cui-areatype="menu-panel"],
1118 toolbarpaletteitem[place="palette"] > #social-share-button {
1119 -moz-image-region: rect(0px, 448px, 32px, 416px);
1122 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1123 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1124 -moz-image-region: rect(32px, 448px, 64px, 416px);
1127 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1128 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1129 -moz-image-region: rect(64px, 448px, 96px, 416px);
1132 #characterencoding-button[cui-areatype="menu-panel"],
1133 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1134 -moz-image-region: rect(0px, 480px, 32px, 448px);
1137 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1138 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1139 -moz-image-region: rect(32px, 480px, 64px, 448px);
1142 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1143 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1144 -moz-image-region: rect(64px, 480px, 96px, 448px);
1147 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1148 -moz-image-region: rect(32px, 480px, 64px, 448px);
1151 #new-window-button[cui-areatype="menu-panel"],
1152 toolbarpaletteitem[place="palette"] > #new-window-button {
1153 -moz-image-region: rect(0px, 512px, 32px, 480px);
1156 #new-window-button[cui-areatype="menu-panel"]:hover,
1157 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1158 -moz-image-region: rect(32px, 512px, 64px, 480px);
1161 #e10s-button[cui-areatype="menu-panel"],
1162 toolbarpaletteitem[place="palette"] > #e10s-button {
1163 -moz-image-region: rect(0px, 512px, 32px, 480px);
1166 #e10s-button[cui-areatype="menu-panel"]:hover,
1167 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1168 -moz-image-region: rect(32px, 512px, 64px, 480px);
1171 #new-tab-button[cui-areatype="menu-panel"],
1172 toolbarpaletteitem[place="palette"] > #new-tab-button {
1173 -moz-image-region: rect(0px, 544px, 32px, 512px);
1176 #new-tab-button[cui-areatype="menu-panel"]:hover,
1177 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1178 -moz-image-region: rect(32px, 544px, 64px, 512px);
1181 #privatebrowsing-button[cui-areatype="menu-panel"],
1182 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1183 -moz-image-region: rect(0px, 576px, 32px, 544px);
1186 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1187 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1188 -moz-image-region: rect(32px, 576px, 64px, 544px);
1191 #tabview-button[cui-areatype="menu-panel"],
1192 toolbarpaletteitem[place="palette"] > #tabview-button {
1193 -moz-image-region: rect(0px, 608px, 32px, 576px);
1196 #tabview-button[cui-areatype="menu-panel"]:hover,
1197 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1198 -moz-image-region: rect(32px, 608px, 64px, 576px);
1201 #find-button[cui-areatype="menu-panel"],
1202 toolbarpaletteitem[place="palette"] > #find-button {
1203 -moz-image-region: rect(0px, 640px, 32px, 608px);
1206 #find-button[cui-areatype="menu-panel"]:hover,
1207 toolbarpaletteitem[place="palette"] > #find-button:hover {
1208 -moz-image-region: rect(32px, 640px, 64px, 608px);
1211 #print-button[cui-areatype="menu-panel"],
1212 toolbarpaletteitem[place="palette"] > #print-button {
1213 -moz-image-region: rect(0px, 672px, 32px, 640px);
1216 #print-button[cui-areatype="menu-panel"]:hover,
1217 toolbarpaletteitem[place="palette"] > #print-button:hover {
1218 -moz-image-region: rect(32px, 672px, 64px, 640px);
1221 #fullscreen-button[cui-areatype="menu-panel"],
1222 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1223 -moz-image-region: rect(0px, 704px, 32px, 672px);
1226 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1227 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1228 -moz-image-region: rect(32px, 704px, 64px, 672px);
1231 #developer-button[cui-areatype="menu-panel"],
1232 toolbarpaletteitem[place="palette"] > #developer-button {
1233 -moz-image-region: rect(0px, 736px, 32px, 704px);
1236 #developer-button[cui-areatype="menu-panel"]:hover,
1237 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1238 -moz-image-region: rect(32px, 736px, 64px, 704px);
1241 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1242 -moz-image-region: rect(32px, 736px, 64px, 704px);
1245 #preferences-button[cui-areatype="menu-panel"],
1246 toolbarpaletteitem[place="palette"] > #preferences-button {
1247 -moz-image-region: rect(0px, 768px, 32px, 736px);
1250 #preferences-button[cui-areatype="menu-panel"]:hover,
1251 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1252 -moz-image-region: rect(32px, 768px, 64px, 736px);
1255 #email-link-button[cui-areatype="menu-panel"],
1256 toolbarpaletteitem[place="palette"] > #email-link-button {
1257 -moz-image-region: rect(0, 800px, 32px, 768px);
1260 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1261 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1262 -moz-image-region: rect(32px, 800px, 64px, 768px);
1265 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1266 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1267 -moz-image-region: rect(64px, 800px, 96px, 768px);
1270 #sidebar-button[cui-areatype="menu-panel"],
1271 toolbarpaletteitem[place="palette"] > #sidebar-button {
1272 -moz-image-region: rect(0, 864px, 32px, 832px);
1275 #sidebar-button[cui-areatype="menu-panel"]:hover,
1276 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1277 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1278 -moz-image-region: rect(32px, 864px, 64px, 832px);
1281 #panic-button[cui-areatype="menu-panel"],
1282 toolbarpaletteitem[place="palette"] > #panic-button {
1283 -moz-image-region: rect(0, 896px, 32px, 864px);
1286 #panic-button[cui-areatype="menu-panel"]:hover,
1287 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1288 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1289 -moz-image-region: rect(32px, 896px, 64px, 864px);
1292 #web-apps-button[cui-areatype="menu-panel"],
1293 toolbarpaletteitem[place="palette"] > #web-apps-button {
1294 -moz-image-region: rect(0, 928px, 32px, 896px);
1297 #web-apps-button[cui-areatype="menu-panel"]:hover,
1298 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1299 -moz-image-region: rect(32px, 928px, 64px, 896px);
1302 #webide-button[cui-areatype="menu-panel"],
1303 toolbarpaletteitem[place="palette"] > #webide-button {
1304 -moz-image-region: rect(0px, 960px, 32px, 928px);
1307 #webide-button[cui-areatype="menu-panel"]:hover,
1308 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1309 -moz-image-region: rect(32px, 960px, 64px, 928px);
1312 #pocket-button[cui-areatype="menu-panel"],
1313 toolbarpaletteitem[place="palette"] > #pocket-button {
1314 -moz-image-region: rect(0px, 992px, 32px, 960px);
1317 #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1318 -moz-image-region: rect(32px, 992px, 64px, 960px);
1321 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1322 -moz-image-region: rect(0, 832px, 32px, 800px);
1325 #loop-button[cui-areatype="menu-panel"],
1326 toolbarpaletteitem[place="palette"] > #loop-button {
1327 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1328 -moz-image-region: rect(0, 32px, 32px, 0);
1331 /* Make sure that the state icons are not shown in the customization palette. */
1332 toolbarpaletteitem[place="palette"] > #loop-button {
1333 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1336 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) {
1337 -moz-image-region: rect(0, 160px, 32px, 128px);
1340 #loop-button[cui-areatype="menu-panel"][state="disabled"],
1341 #loop-button[cui-areatype="menu-panel"][disabled="true"] {
1342 -moz-image-region: rect(0, 64px, 32px, 32px);
1345 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) {
1346 -moz-image-region: rect(0, 224px, 32px, 192px);
1349 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] {
1350 -moz-image-region: rect(0, 96px, 32px, 64px);
1353 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] {
1354 -moz-image-region: rect(0, 128px, 32px, 96px);
1357 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] {
1358 -moz-image-region: rect(0, 192px, 32px, 160px);
1361 /* Wide panel control icons */
1363 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1364 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1365 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1366 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1367 list-style-image: var(--menupanel-small-list-style-image);
1370 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1371 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1372 -moz-image-region: rect(0px, 32px, 16px, 16px);
1375 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1376 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1377 -moz-image-region: rect(16px, 32px, 32px, 16px);
1380 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1381 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1382 -moz-image-region: rect(32px, 32px, 48px, 16px);
1385 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1386 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1387 -moz-image-region: rect(0px, 48px, 16px, 32px);
1390 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1391 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1392 -moz-image-region: rect(16px, 48px, 32px, 32px);
1395 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1396 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1397 -moz-image-region: rect(32px, 48px, 48px, 32px);
1400 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1401 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1402 -moz-image-region: rect(0px, 64px, 16px, 48px);
1405 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1406 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1407 -moz-image-region: rect(16px, 64px, 32px, 48px);
1410 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1411 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1412 -moz-image-region: rect(32px, 64px, 48px, 48px);
1415 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1416 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1417 -moz-image-region: rect(0px, 80px, 16px, 64px);
1420 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1421 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1422 -moz-image-region: rect(16px, 80px, 32px, 64px);
1425 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1426 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1427 -moz-image-region: rect(32px, 80px, 48px, 64px);
1430 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1431 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1432 -moz-image-region: rect(0px, 96px, 16px, 80px);
1435 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1436 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1437 -moz-image-region: rect(16px, 96px, 32px, 80px);
1440 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1441 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1442 -moz-image-region: rect(32px, 96px, 48px, 80px);
1445 #add-share-provider {
1446 list-style-image: var(--menupanel-small-list-style-image);
1447 -moz-image-region: rect(0px, 96px, 16px, 80px);
1450 /* === END menupanel.inc.css === */
1452 .toolbarbutton-1:not([type="menu-button"]) {
1453 -moz-box-orient: vertical;
1457 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1463 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1464 .toolbarbutton-1[disabled="true"]:hover:active,
1465 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1469 .toolbarbutton-1:hover:active,
1470 .toolbarbutton-1[open="true"],
1471 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1473 padding-bottom: 0px;
1474 -moz-padding-start: 3px;
1475 -moz-padding-end: 1px;
1478 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1479 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1480 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1481 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1482 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1485 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1486 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1489 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1490 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1493 .toolbarbutton-1 > .toolbarbutton-icon,
1494 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1498 #nav-bar .toolbarbutton-1,
1499 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1502 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1503 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1504 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1507 #nav-bar #PanelUI-menu-button {
1508 /* -moz-padding-start: 7px;
1509 -moz-padding-end: 5px;*/
1512 #nav-bar .toolbarbutton-1[type=panel],
1513 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1514 /* padding-left: 5px;
1515 padding-right: 5px;*/
1518 #nav-bar .toolbarbutton-1 > menupopup {
1519 /* margin-top: -3px;*/
1522 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1526 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1527 /* -moz-padding-end: 0;*/
1530 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1531 /* -moz-padding-start: 0;
1532 -moz-box-align: center;*/
1535 .findbar-button > .toolbarbutton-text,
1536 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1537 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1538 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-stack,
1539 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1540 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1541 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1542 /* padding: 2px 6px;
1544 border-color: transparent;
1545 transition-property: background-color, border-color;
1546 transition-duration: 150ms;*/
1549 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1550 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
1551 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1556 /* Help SDK icons fit: */
1557 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
1558 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
1562 #nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1563 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1567 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
1568 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-badge-stack,
1569 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon,
1570 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
1571 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1572 /* -moz-padding-end: 17px;*/
1575 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1578 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1581 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1584 #nav-bar .toolbaritem-combined-buttons {
1585 /* margin-left: 2px;
1586 margin-right: 2px;*/
1589 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1594 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1595 #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 {
1601 -moz-margin-end: -1px;
1605 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1608 .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1609 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1610 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1611 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1612 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1613 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1614 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-stack,
1615 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1616 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1619 .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1620 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1621 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1622 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1623 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1624 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack {
1627 #TabsToolbar .toolbarbutton-1,
1628 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1629 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1630 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1633 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1634 #TabsToolbar .toolbarbutton-1[open],
1635 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1636 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1637 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1640 /* unified back/forward button */
1643 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1646 #forward-button > menupopup {
1647 margin-top: 1px !important;
1650 #forward-button > .toolbarbutton-icon {
1651 background-clip: padding-box !important;
1652 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1653 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1657 -moz-margin-start: -4px !important;
1662 border-radius: 0 10000px 10000px 0;
1665 #forward-button:-moz-locale-dir(rtl) {
1666 border-radius: 10000px 0 0 10000px;
1669 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1670 transition: margin-left 150ms ease-out;
1673 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1674 margin-left: -27px !important;
1677 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1678 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1679 transition-delay: 100s;
1682 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1683 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1684 margin-left: -27.01px !important;
1688 /* padding-top: 3px !important;
1689 padding-bottom: 3px !important;
1690 -moz-padding-start: 5px !important;
1691 -moz-padding-end: 0 !important;*/
1694 border-radius: 10000px;
1698 margin-bottom: -2px;
1701 #back-button:-moz-locale-dir(rtl) {
1704 #back-button > menupopup {
1705 margin-top: -1px !important;
1708 #back-button > .toolbarbutton-icon {
1709 border-radius: 10000px !important;
1710 background-clip: padding-box !important;
1711 /* background-color: hsla(210,25%,98%,.08) !important;
1712 padding: 6px !important;
1713 border-style: none !important;
1714 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1715 0 0 0 1px hsla(210,4%,10%,.25);*/
1716 transition-property: background-color, box-shadow !important;
1717 transition-duration: 250ms !important;
1720 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1721 /* background-color: hsla(210,4%,10%,.08) !important;*/
1724 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1725 #back-button[open="true"] > .toolbarbutton-icon {
1726 /* background-color: hsla(210,4%,10%,.12) !important;
1727 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1728 0 0 0 1px hsla(210,4%,10%,.25),
1729 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1732 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1733 transform: scaleX(-1);
1736 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1737 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1738 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1741 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1742 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1743 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1746 #home-button.bookmark-item {
1747 list-style-image: url("chrome://browser/skin/Toolbar.png");
1750 #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),
1751 #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),
1752 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1753 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1754 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1755 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1756 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1759 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1762 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1763 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1764 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1768 #downloads-button > .toolbarbutton-icon {
1772 /* tabview menu item */
1775 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1776 -moz-image-region: rect(1px, 89px, 17px, 73px);
1779 #menu_tabview[groups="0"] {
1780 -moz-image-region: rect(1px, 17px, 17px, 1px);
1783 #menu_tabview[groups="1"] {
1784 -moz-image-region: rect(1px, 35px, 17px, 19px);
1787 #menu_tabview[groups="2"] {
1788 -moz-image-region: rect(1px, 53px, 17px, 37px);
1791 #menu_tabview[groups="3"] {
1792 -moz-image-region: rect(1px, 71px, 17px, 55px);
1795 /* undo close tab menu item */
1796 #alltabs_undoCloseTab {
1797 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1800 @media (min-resolution: 1.1dppx) {
1801 #alltabs_undoCloseTab {
1802 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1804 #alltabs_undoCloseTab > .toolbarbutton-icon {
1809 /* zoom control text (reset) button special case: */
1811 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1812 /* To make this line up with the icons, it needs the same height (18px) +
1813 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1814 * increase in text sizes would break things...
1819 /* ::::: fullscreen window controls ::::: */
1822 -moz-margin-start: 4px;
1828 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1833 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1836 #minimize-button:hover {
1837 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1841 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1844 #restore-button:hover {
1845 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1849 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1852 #close-button:hover {
1853 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1856 /* ::::: Location Bar ::::: */
1859 .searchbar-textbox {
1862 -moz-margin-start: 3px;
1866 /* make color as light as possible to deal with dark non-domain parts */
1870 /* overlap the urlbar's border */
1871 #PopupAutoCompleteRichResult {
1875 #urlbar:-moz-lwtheme,
1876 .searchbar-textbox:-moz-lwtheme {
1877 /* background-color: rgba(255,255,255,.8);
1878 @navbarTextboxCustomBorder@
1882 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1883 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1884 /* background-color: rgba(255,255,255,.9);*/
1887 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1888 .searchbar-textbox:-moz-lwtheme[focused] {
1889 /* background-color: white;*/
1892 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1893 /* -moz-border-start: none;
1897 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1898 /* border-top-left-radius: 0;
1899 border-bottom-left-radius: 0; */
1902 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1903 /* border-top-right-radius: 0;
1904 border-bottom-right-radius: 0; */
1907 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1908 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1909 /* margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); */
1912 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1913 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1914 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1915 transform: scaleX(-1);
1918 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1919 -moz-box-direction: reverse;
1922 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1923 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1928 -moz-box-orient: horizontal;
1929 -moz-box-align: stretch;
1932 .urlbar-textbox-container {
1933 -moz-box-align: stretch;
1937 -moz-margin-start: 0;
1941 -moz-box-align: center;
1948 .searchbar-engine-button,
1949 .search-go-container {
1953 .search-go-container > .search-go-button {
1957 .urlbar-icon:hover {
1960 .urlbar-icon[open="true"],
1961 .urlbar-icon:hover:active {
1964 #urlbar-search-footer {
1965 border-top: 1px solid #A09090;
1968 #urlbar-search-settings {
1971 #urlbar-search-settings:hover {
1974 #urlbar-search-settings:hover:active {
1977 #urlbar-search-splitter {
1979 -moz-margin-start: -3px;
1981 background: transparent;
1984 #urlbar-search-splitter + #urlbar-container > #urlbar,
1985 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1986 -moz-margin-start: 0;
1989 #urlbar-display-box {
1993 -moz-border-end: 1px solid #9C9CFF;
1994 -moz-margin-end: 3px;
1997 -moz-margin-start: 0;
2001 /* === BEGIN urlbarSearchSuggestionsNotification.inc.css === */
2003 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] {
2004 border-bottom: 1px solid #A09090;
2005 background-color: #000000;
2007 -moz-padding-start: 44px;
2008 -moz-padding-end: 6px;
2009 background-image: url("chrome://browser/skin/info.svg");
2010 background-clip: padding-box;
2011 background-position: 20px center;
2012 background-repeat: no-repeat;
2013 background-size: 16px 16px;
2016 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"]:-moz-locale-dir(rtl) {
2017 background-position: right 20px center;
2020 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description {
2025 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description > label.text-link {
2026 -moz-margin-start: 0;
2029 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
2030 -moz-appearance: none;
2031 -moz-user-focus: ignore;
2036 -moz-margin-start: 10px;
2039 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"] {
2042 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"]:hover {
2045 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"] {
2048 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"]:hover {
2051 /* === END urlbarSearchSuggestionsNotification.inc.css === */
2054 min-width: calc(54px + 11ch);
2059 #identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
2060 var(--identity-box-verified-background-color);
2063 #identity-box:-moz-focusring {
2064 outline: 1px dotted #008484;
2065 outline-offset: -1px;
2068 #identity-box.verifiedDomain:-moz-focusring,
2069 #identity-box.verifiedIdentity:-moz-focusring {
2070 outline-color: #000000;
2073 /* Location bar dropmarker */
2075 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2076 background-color: transparent;
2079 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2080 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
2081 #urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
2086 .urlbar-history-dropmarker:hover {
2089 .urlbar-history-dropmarker:hover:active,
2090 .urlbar-history-dropmarker[open="true"] {
2093 /* page proxy icon */
2095 /* === BEGIN identity-block.inc.css === */
2098 --identity-box-border-color: #A09090;
2099 --identity-box-verified-color: #008484;
2100 /* Default theme does different color per channel, we can't as they do it build-time. */
2101 --identity-box-chrome-color: #9C9CFF;
2103 border-inline-end: 1px solid --identity-box-border-color);
2106 -moz-margin-end: 3px;
2107 /* padding: 2px 5px;
2108 margin-inline-end: 4px;*/
2112 #identity-box:-moz-locale-dir(ltr) {
2113 border-top-right-radius: 0;
2114 border-bottom-right-radius: 0;
2117 #identity-box:-moz-locale-dir(rtl) {
2118 border-top-left-radius: 0;
2119 border-bottom-left-radius: 0;
2122 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2123 color: var(--identity-box-chrome-color);
2124 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2127 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2128 color: var(--identity-box-verified-color);
2129 -moz-border-end: 1px solid var(--identity-box-verified-color);
2132 #notification-popup-box:not([hidden]) + #identity-box {
2133 padding-inline-start: 10px !important;
2137 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
2138 /* border-radius: 0; */
2139 -moz-padding-start: 2px;
2140 -moz-padding-end: 2px;
2141 -moz-margin-end: 1px;
2144 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
2145 transition: padding-left, padding-right;
2148 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2149 #notification-popup-box[hidden] + #identity-box {
2150 padding-inline-start: 2px;
2153 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2154 #notification-popup-box[hidden] + #identity-box {
2155 /* forward button hiding is delayed when hovered */
2156 transition-delay: 100s;
2159 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2160 #notification-popup-box[hidden] + #identity-box {
2161 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2162 padding-inline-start: 2.01px;
2165 /* TRACKING PROTECTION ICON */
2167 #tracking-protection-icon {
2170 list-style-image: url("chrome://browser/skin/tracking-protection-16.svg");
2175 #tracking-protection-icon[state="loaded-tracking-content"] {
2176 list-style-image: url("chrome://browser/skin/tracking-protection-disabled-16.svg");
2179 #tracking-protection-icon[animate] {
2180 transition: margin-left 200ms ease-out;
2183 #tracking-protection-icon:not([state]) {
2185 pointer-events: none;
2187 /* Only animate the shield in, when it disappears hide it immediately. */
2191 #urlbar[pageproxystate="invalid"] > #identity-box > #identity-icons > #tracking-protection-icon {
2192 visibility: collapse;
2195 /* MAIN IDENTITY ICON */
2197 #page-proxy-favicon {
2200 list-style-image: url("chrome://browser/skin/identity-not-secure.svg");
2204 .chromeUI > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2205 list-style-image: url("chrome://branding/content/identity-icons-brand.svg");
2208 .verifiedDomain > #identity-icons > #page-proxy-favicon[pageproxystate="valid"],
2209 .verifiedIdentity > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2210 list-style-image: url("chrome://browser/skin/identity-secure.svg");
2213 .mixedActiveContent > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2214 list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg");
2217 .weakCipher > #identity-icons > #page-proxy-favicon[pageproxystate="valid"],
2218 .mixedDisplayContent > #identity-icons > #page-proxy-favicon[pageproxystate="valid"],
2219 .mixedDisplayContentLoadedActiveBlocked > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2220 list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg");
2223 .mixedActiveBlocked > #identity-icons > #page-proxy-favicon[pageproxystate="valid"] {
2224 list-style-image: url("chrome://browser/skin/identity-mixed-active-blocked.svg");
2227 #page-proxy-favicon[pageproxystate="invalid"] {
2231 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2232 list-style-image: url("chrome://branding/content/icon64.png");
2235 #identity-popup-brandName {
2239 margin-bottom: .5em;
2242 #identity-popup-content-box {
2246 #urlbar[actiontype="searchengine"] > #identity-box > #identity-icons > #page-proxy-favicon {
2247 -moz-image-region: inherit;
2248 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2254 /* MAIN IDENTITY ICON */
2259 list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
2262 #identity-box:hover > #identity-icon,
2263 #identity-box[open=true] > #identity-icon {
2264 list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
2267 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
2268 list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
2271 #urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
2275 #urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
2276 -moz-image-region: inherit;
2277 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2283 /* TRACKING PROTECTION ICON */
2285 #tracking-protection-icon {
2288 margin-inline-start: 2px;
2289 margin-inline-end: 0;
2290 list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
2294 #tracking-protection-icon[state="loaded-tracking-content"] {
2295 list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
2298 #tracking-protection-icon[animate] {
2299 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2302 #tracking-protection-icon:not([state]) {
2303 margin-inline-end: -18px;
2304 pointer-events: none;
2306 /* Only animate the shield in, when it disappears hide it immediately. */
2310 #urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
2311 visibility: collapse;
2314 /* CONNECTION ICON */
2319 margin-inline-start: 2px;
2320 visibility: collapse;
2323 #urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
2324 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
2325 list-style-image: url(chrome://browser/skin/identity-secure.svg);
2326 visibility: visible;
2329 #urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
2330 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
2331 list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
2332 visibility: visible;
2335 #urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
2336 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
2337 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
2338 list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
2339 visibility: visible;
2342 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
2343 list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
2344 visibility: visible;
2347 /* === END identity-block.inc.css === */
2349 #page-proxy-favicon {
2350 -moz-image-region: rect(0, 16px, 16px, 0);
2353 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2354 /* -moz-margin-end: 1px;*/
2357 #identity-box:hover > #page-proxy-favicon {
2358 -moz-image-region: rect(0, 32px, 16px, 16px);
2361 #identity-box:hover:active > #page-proxy-favicon,
2362 #identity-box[open=true] > #page-proxy-favicon {
2363 -moz-image-region: rect(0, 48px, 16px, 32px);
2366 #identity-box:hover {
2367 background-color: #FFCF00;
2371 #identity-box:hover:active,
2372 #identity-box[open=true] {
2373 background-color: #FF9F00;
2377 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2378 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2379 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2380 background-color: #9C9CFF;
2384 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2385 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2386 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2387 background-color: #008484;
2393 #treecolAutoCompleteImage {
2397 .ac-result-type-bookmark,
2398 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2399 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2400 -moz-image-region: rect(0px 16px 16px 0px);
2405 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2406 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2407 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2410 .ac-result-type-keyword,
2411 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2412 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2413 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2418 .ac-result-type-keyword[selected="true"],
2419 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2420 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2421 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2424 .ac-result-type-tag,
2425 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2426 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2432 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description,
2433 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
2437 .ac-extra > .ac-comment,
2448 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2449 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2450 -moz-image-region: rect(0, 16px, 16px, 0);
2456 @media (min-resolution: 1.1dppx) {
2457 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2458 list-style-image: url("chrome://browser/skin/actionicon-tab@2x.png");
2459 -moz-image-region: rect(0, 32px, 32px, 0);
2463 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2464 -moz-image-region: rect(16px, 16px, 32px, 0);
2467 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2471 .ac-comment[selected="true"],
2472 .ac-url-text[selected="true"],
2473 .ac-action-text[selected="true"] {
2474 color: inherit !important;
2477 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2478 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2484 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2485 border-top: 1px solid #9C9CFF;
2488 /* combined go/reload/stop button in location bar */
2491 #urlbar-reload-button,
2492 #urlbar-stop-button {
2494 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2495 /* padding: 0 9px;*/
2496 margin-inline-start: 2px;
2497 border-inline-start: 1px solid var(--urlbar-separator-color);
2498 border-image: linear-gradient(transparent 15%,
2499 var(--urlbar-separator-color) 15%,
2500 var(--urlbar-separator-color) 85%,
2502 border-image-slice: 1;
2505 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2506 border-top-left-radius: 0px;
2507 border-bottom-left-radius: 0px;
2510 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2511 border-top-right-radius: 0px;
2512 border-bottom-right-radius: 0px;
2515 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2516 #urlbar-reload-button:not(:hover) {
2517 -moz-border-start-style: none;
2518 -moz-padding-start: 3px;
2521 #urlbar-reload-button {
2522 -moz-image-region: rect(0px, 14px, 14px, 0px);
2525 #urlbar-reload-button[disabled=true] {
2526 -moz-image-region: rect(28px, 14px, 42px, 0px);
2529 #urlbar-reload-button:not([disabled=true]):hover {
2530 -moz-image-region: rect(14px, 14px, 28px, 0px);
2533 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2534 transform: scaleX(-1);
2538 -moz-image-region: rect(0, 42px, 14px, 28px);
2541 #urlbar-go-button:hover {
2542 -moz-image-region: rect(14px, 42px, 28px, 28px);
2545 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2546 transform: scaleX(-1);
2549 #urlbar-stop-button {
2550 -moz-image-region: rect(0px, 28px, 14px, 14px);
2553 #urlbar-stop-button:hover {
2554 -moz-image-region: rect(14px, 28px, 28px, 14px);
2557 @media (min-resolution: 1.1dppx) {
2559 #urlbar-reload-button,
2560 #urlbar-stop-button {
2561 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2564 #urlbar-go-button > .toolbarbutton-icon,
2565 #urlbar-reload-button > .toolbarbutton-icon,
2566 #urlbar-stop-button > .toolbarbutton-icon {
2571 -moz-image-region: rect(0, 84px, 28px, 56px);
2574 #urlbar-go-button:hover {
2575 -moz-image-region: rect(28px, 84px, 56px, 56px);
2578 #urlbar-go-button:hover:active {
2579 -moz-image-region: rect(56px, 84px, 84px, 56px);
2582 #urlbar-reload-button {
2583 -moz-image-region: rect(0, 28px, 28px, 0);
2586 #urlbar-reload-button:not([disabled]):hover {
2587 -moz-image-region: rect(28px, 28px, 56px, 0);
2590 #urlbar-reload-button:not([disabled]):hover:active {
2591 -moz-image-region: rect(56px, 28px, 84px, 0);
2594 #urlbar-stop-button {
2595 -moz-image-region: rect(0, 56px, 28px, 28px);
2598 #urlbar-stop-button:not([disabled]):hover {
2599 -moz-image-region: rect(28px, 56px, 56px, 28px);
2602 #urlbar-stop-button:hover:active {
2603 -moz-image-region: rect(56px, 56px, 84px, 28px);
2607 /* popup blocker button */
2609 #page-report-button {
2610 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2611 -moz-image-region: rect(0, 16px, 16px, 0);
2614 #page-report-button:hover ,
2615 #page-report-button:hover:active,
2616 #page-report-button[open="true"] {
2617 -moz-image-region: rect(0, 32px, 16px, 16px);
2620 /* Reader mode button */
2622 #reader-mode-button {
2623 list-style-image: url("chrome://browser/skin/readerMode.svg");
2624 -moz-image-region: rect(0, 16px, 16px, 0);
2627 #reader-mode-button:hover,
2628 #reader-mode-button[readeractive]:hover {
2629 -moz-image-region: rect(0, 32px, 16px, 16px);
2632 #reader-mode-button:hover:active,
2633 #reader-mode-button[readeractive] {
2634 -moz-image-region: rect(0, 48px, 16px, 32px);
2637 /* social share panel */
2639 .social-share-frame {
2646 background-color: white;
2647 background-repeat: no-repeat;
2648 background-position: center center;
2650 #share-container[loading] {
2651 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2653 #share-container > browser {
2654 transition: opacity 150ms ease-in-out;
2657 #share-container[loading] > browser {
2661 .social-share-toolbar {
2662 border-bottom: 1px solid #9C9CFF;
2666 #social-share-provider-buttons {
2671 .share-provider-button {
2676 .share-provider-button > .toolbarbutton-text {
2679 .share-provider-button > .toolbarbutton-icon {
2685 /* fixup corners for share panel */
2686 .social-panel > .social-panel-frame {
2687 border-radius: inherit;
2690 #social-share-panel {
2696 .social-share-frame {
2697 border-top-left-radius: 0;
2698 border-bottom-left-radius: inherit;
2699 border-top-right-radius: 0;
2700 border-bottom-right-radius: inherit;
2703 #social-share-panel > .social-share-toolbar {
2704 border-top-left-radius: inherit;
2705 border-top-right-radius: inherit;
2708 #social-share-provider-buttons {
2709 border-top-left-radius: inherit;
2710 border-top-right-radius: inherit;
2713 /* social recommending panel */
2715 #social-mark-button {
2716 -moz-image-region: rect(0, 16px, 16px, 0);
2719 /* bookmarks menu-button */
2721 #bookmarks-menu-button.bookmark-item {
2722 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2723 -moz-image-region: rect(0px 16px 16px 0px);
2726 #bookmarks-menu-button.bookmark-item[starred] {
2727 -moz-image-region: rect(0px 32px 16px 16px);
2730 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2731 -moz-margin-start: 5px;
2734 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2736 padding-bottom: 2px;
2739 #BMB_bookmarksPopup[side="top"],
2740 #BMB_bookmarksPopup[side="bottom"] {
2742 margin-right: -20px;
2745 #BMB_bookmarksPopup[side="left"],
2746 #BMB_bookmarksPopup[side="right"] {
2748 margin-bottom: -20px;
2751 /* bookmarking panel */
2753 #editBookmarkPanelStarIcon {
2754 list-style-image: url("chrome://browser/skin/places/starred48.png");
2759 #editBookmarkPanelStarIcon[unstarred] {
2760 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2763 #editBookmarkPanelTitle {
2767 #editBookmarkPanelHeader,
2768 #editBookmarkPanelContent {
2769 margin-bottom: .5em;
2772 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2773 #editBMPanel_folderTree {
2780 border-top: 1px solid #9C9CFF;
2781 border-bottom-left-radius: 5px;
2782 border-bottom-right-radius: 5px;
2786 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2787 -moz-margin-end: 10px;
2788 vertical-align: middle;
2791 .panel-promo-closebutton {
2792 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2793 -moz-margin-end: -3px;
2797 .panel-promo-closebutton:hover {
2798 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2801 .panel-promo-closebutton:hover:active {
2802 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2805 .panel-promo-closebutton > .toolbarbutton-text {
2809 /* ::::: content area ::::: */
2812 background-color: #9C9CFF;
2817 background-color: #000000;
2821 -moz-margin-start: 0;
2830 -moz-padding-start: 0px;
2833 #sidebar-header > .close-icon {
2834 /* padding: 4px 2px;
2837 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2840 #sidebar-header > .close-icon:hover,
2841 #sidebar-header > .close-icon:hover:active {
2842 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2845 #sidebar-splitter:-moz-locale-dir(ltr),
2846 #sidebar:-moz-locale-dir(ltr) {
2847 border-radius: 0 5px 0 0;
2850 #sidebar-splitter:-moz-locale-dir(rtl),
2851 #sidebar:-moz-locale-dir(rtl) {
2852 border-radius: 5px 0 0 0;
2855 .browserContainer > findbar {
2857 background-color: -moz-dialog;
2858 color: -moz-DialogText;
2867 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2870 #TabsToolbar .toolbar-holder {
2871 background-color: #000000; /* correct effect of being an actual toolbar */
2874 #main-window[disablechrome] #TabsToolbar,
2875 #TabsToolbar[tabsontop="false"] {
2876 border-bottom: 1px solid #008484;
2879 /* === BEGIN tabs.inc.css === */
2882 /* --tab-toolbar-navbar-overlap: 1px; */
2883 /* --tab-min-height: 31px; */
2884 /* --tab-curve-width: 30px; */
2885 /* --tab-curve-half-width: 15px; */
2889 .tabs-newtab-button,
2890 #TabsToolbar > #new-tab-button {
2895 padding: 1px 4px 2px;
2898 .tabbrowser-tab:first-of-type {
2899 -moz-margin-start: 2px;
2902 .tabs-newtab-button,
2903 #TabsToolbar > #new-tab-button {
2904 border-radius: 8px 8px 0px 0px;
2905 -moz-margin-start: 0;
2908 .tabs-newtab-button:not(:hover),
2909 #TabsToolbar > #new-tab-button:not(:hover) {
2910 background-color: #C09070;
2913 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2914 .tabbrowser-tab[visuallyselected=true] {
2915 /* position: relative;
2919 .tab-background-middle {
2925 .tab-content[pinned] {
2938 -moz-margin-end: 3px;
2942 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2948 /* margin-top: -12px; */
2949 -moz-margin-start: -16px;
2954 .tab-icon-overlay[crashed] {
2955 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2958 .tab-icon-overlay[crashed],
2959 .tab-icon-overlay[soundplaying][pinned],
2960 .tab-icon-overlay[muted][pinned]:not([crashed]) {
2964 .tab-icon-overlay[soundplaying][pinned],
2965 .tab-icon-overlay[muted][pinned]:not([crashed]) {
2969 .tab-icon-overlay[soundplaying][pinned]:hover,
2970 .tab-icon-overlay[muted][pinned]:hover {
2971 background-color: #FFCF00;
2974 .tab-icon-overlay[soundplaying][pinned] {
2976 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio");
2979 .tab-icon-overlay[soundplaying][pinned]:hover {
2980 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-hover");
2983 .tab-icon-overlay[soundplaying][pinned]:hover:active {
2984 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-pressed");
2987 .tab-icon-overlay[muted][pinned]:not([crashed]) {
2988 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted");
2991 .tab-icon-overlay[muted][pinned]:not([crashed]):hover {
2992 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted-hover");
2995 .tab-icon-overlay[muted][pinned]:not([crashed]):hover:active {
2996 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted-pressed");
2999 #TabsToolbar[brighttext] .tab-icon-overlay[soundplaying][pinned] {
3000 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-dark");
3003 #TabsToolbar[brighttext] .tab-icon-overlay[soundplaying][pinned]:hover {
3004 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-hover");
3007 #TabsToolbar[brighttext] .tab-icon-overlay[soundplaying][pinned]:hover:active {
3008 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-pressed");
3011 #TabsToolbar[brighttext] .tab-icon-overlay[muted][pinned]:not([crashed]) {
3012 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted");
3015 #TabsToolbar[brighttext] .tab-icon-overlay[muted][pinned]:not([crashed]):hover {
3016 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted-hover");
3019 #TabsToolbar[brighttext] .tab-icon-overlay[muted][pinned]:not([crashed]):hover:active {
3020 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted-pressed");
3023 .tab-throbber[busy] {
3024 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
3027 .tab-throbber[progress] {
3028 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
3031 .tab-throbber[pinned],
3032 .tab-icon-image[pinned] {
3033 -moz-margin-start: 2px;
3034 -moz-margin-end: 2px;
3038 /* this needs to add up to the 16px of the icon image */
3040 margin-top: 2px !important;
3041 margin-bottom: 2px !important;
3045 -moz-margin-start: 4px;
3051 .tab-icon-sound:not([soundplaying]):not([muted]),
3052 .tab-icon-sound[pinned] {
3056 .tab-icon-sound[muted] {
3057 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
3060 .tab-icon-sound[muted]:hover {
3061 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover");
3064 .tab-icon-sound[muted]:hover:active {
3065 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed");
3068 .tab-icon-sound[soundplaying] {
3069 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio");
3072 .tab-icon-sound[soundplaying]:hover {
3073 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-hover");
3076 .tab-icon-sound[soundplaying]:hover:active {
3077 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-pressed");
3080 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying] {
3081 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-dark");
3084 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover {
3085 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-dark-hover");
3088 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover:active {
3089 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-dark-pressed");
3092 #TabsToolbar[brighttext] .tab-icon-sound[muted] {
3093 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-dark");
3096 #TabsToolbar[brighttext] .tab-icon-sound[muted]:hover {
3097 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-dark-hover");
3100 #TabsToolbar[brighttext] .tab-icon-sound[muted]:hover:active {
3101 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-dark-pressed");
3110 .tabs-newtab-button {
3111 /* overlap the tab curves */
3114 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
3118 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
3119 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
3122 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
3123 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
3126 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
3129 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
3132 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
3133 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
3136 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
3137 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
3140 .tab-background-start[visuallyselected=true]::after,
3141 .tab-background-start[visuallyselected=true]::before,
3142 .tab-background-start,
3143 .tab-background-end,
3144 .tab-background-end[visuallyselected=true]::after,
3145 .tab-background-end[visuallyselected=true]::before {
3148 .tabbrowser-tab:not([visuallyselected=true]),
3149 .tabbrowser-tab:-moz-lwtheme {
3152 /* tabbrowser-tab focus ring */
3153 .tabbrowser-tab:focus {
3154 outline: 1px dotted;
3159 .tabbrowser-tab[visuallyselected="true"] {
3162 /* End selected tab */
3164 /* Tab pointer-events */
3167 pointer-events: none;
3170 .tab-background-middle,
3171 .tabs-newtab-button,
3172 .tab-icon-overlay[soundplaying],
3173 .tab-icon-overlay[muted]:not([crashed]),
3176 pointer-events: auto;
3181 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
3182 background-color: #E7ADE7;
3185 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
3186 background-color: #3333FF;
3190 /* New tab button */
3192 .tabs-newtab-button {
3194 /* width: calc(36px + var(--tab-curve-width)); */
3197 /* === END tabs.inc.css === */
3201 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
3202 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
3203 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
3205 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
3206 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
3209 /* Tab DnD indicator */
3210 .tab-drop-indicator {
3211 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
3212 margin-bottom: -11px;
3215 /* Tab close button */
3217 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3220 .tab-close-button:hover,
3221 .tab-close-button:hover[selected="true"] {
3222 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3225 .tab-close-button:hover:active,
3226 .tab-close-button:hover:active[selected="true"] {
3227 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3230 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
3232 .tabbrowser-arrowscrollbox > .scrollbutton-up,
3233 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3237 background-origin: border-box;
3240 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3241 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3242 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
3243 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
3246 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
3247 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
3250 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
3251 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
3252 /* transform: scaleX(-1);*/
3255 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3256 transition: 1s background-color ease-out;
3259 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
3260 background-color: #008484;
3263 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
3264 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
3265 /* border-width: 0 2px 0 0;
3266 border-style: solid;
3267 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
3270 .tabs-newtab-button > .toolbarbutton-icon {
3272 margin-bottom: -1px;
3275 .tabs-newtab-button,
3276 #TabsToolbar > #new-tab-button,
3277 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
3278 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
3279 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
3280 -moz-image-region: rect(0, 16px, 18px, 0);
3283 .tabs-newtab-button,
3284 .tabs-newtab-button:hover,
3285 #TabsToolbar > #new-tab-button,
3286 #TabsToolbar > #new-tab-button:hover {
3287 -moz-image-region: rect(0, 32px, 18px, 16px);
3290 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3291 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3292 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3293 .tabs-newtab-button:-moz-lwtheme-brighttext,
3294 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3295 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
3298 #TabsToolbar > #new-tab-button {
3303 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
3306 #alltabs-button:hover,
3307 #alltabs-button:hover:active,
3308 #alltabs-button[open="true"] {
3309 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
3312 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3313 #alltabs-button:-moz-lwtheme-brighttext {
3316 #alltabs-button > .toolbarbutton-icon {
3320 #alltabs-button > .toolbarbutton-menu-dropmarker {
3324 /* All tabs menupopup */
3325 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
3326 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
3327 -moz-image-region: auto;
3330 .alltabs-item[selected="true"] {
3334 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3335 list-style-image: url("chrome://global/skin/icons/loading.gif");
3338 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
3339 background-color: #402800;
3342 toolbarbutton.chevron {
3343 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
3346 toolbarbutton.chevron:hover {
3347 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
3350 toolbar[brighttext] toolbarbutton.chevron {
3351 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3354 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3355 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
3356 transform: scaleX(-1);
3359 toolbarbutton.chevron > .toolbarbutton-text,
3360 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3364 toolbarbutton.chevron > .toolbarbutton-icon {
3368 #sidebar-throbber[loading="true"] {
3369 list-style-image: url("chrome://global/skin/icons/loading.gif");
3370 -moz-margin-end: 4px;
3373 /* Bookmarks toolbar */
3374 #PlacesToolbarDropIndicator {
3375 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
3378 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3379 background-color: #008484 !important;
3380 color: #FFCF00 !important;
3383 /* rules for menupopup drop indicators */
3384 .menupopup-drop-indicator-bar {
3386 /* these two margins must together compensate the indicator's height */
3388 margin-bottom: -1px;
3391 .menupopup-drop-indicator {
3392 list-style-image: none;
3394 -moz-margin-end: -4em;
3395 background-color: #008484;
3398 /* === BEGIN notification-icons.inc.css === */
3400 .popup-notification-icon {
3403 -moz-margin-end: 10px;
3406 .popup-notification-icon[popupid="geolocation"] {
3407 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3410 .popup-notification-icon[popupid="push"] {
3411 list-style-image: url(chrome://browser/skin/Push-64.png);
3414 .popup-notification-icon[popupid="xpinstall-disabled"],
3415 .popup-notification-icon[popupid="addon-install-blocked"],
3416 .popup-notification-icon[popupid="addon-install-origin-blocked"] {
3417 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3420 .popup-notification-icon[popupid="addon-progress"] {
3421 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3424 .popup-notification-icon[popupid="addon-install-failed"] {
3425 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3428 .popup-notification-icon[popupid="addon-install-confirmation"] {
3429 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3432 #addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3433 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3436 .popup-notification-icon[popupid="addon-install-complete"] {
3437 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3440 .popup-notification-icon[popupid="addon-install-restart"] {
3441 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
3444 .popup-notification-icon[popupid="click-to-play-plugins"] {
3445 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3448 .popup-notification-icon[popupid="web-notifications"] {
3449 list-style-image: url("chrome://browser/skin/notification-64.png");
3452 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3453 .popup-notification-icon[popupid*="offline-app-requested"],
3454 .popup-notification-icon[popupid="offline-app-usage"] {
3455 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3458 .popup-notification-icon[popupid="password"] {
3459 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3462 .popup-notification-icon[popupid="webapps-install-progress"],
3463 .popup-notification-icon[popupid="webapps-install"] {
3464 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3467 .popup-notification-icon[popupid="bad-content"] {
3468 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3471 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3472 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3473 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3476 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3477 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3478 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3481 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3482 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3483 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3486 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3487 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3488 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3491 .popup-notification-icon[popupid="pointerLock"] {
3492 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3495 /* Notification icon box */
3496 #notification-popup .panel-promo-box {
3497 /* margin: 10px -10px -10px; */
3500 #notification-popup-box {
3502 background-color: #000000;
3503 background-clip: padding-box;
3506 border-radius: 3px 0 0 3px;
3507 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3508 -moz-margin-end: -8px;
3509 border-right-width: 8px;
3512 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3513 /* padding-left: 7px; */
3516 #notification-popup-box:-moz-locale-dir(rtl),
3517 .notification-anchor-icon:-moz-locale-dir(rtl) {
3518 transform: scaleX(-1);
3521 .notification-anchor-icon {
3522 list-style-image: url("chrome://global/skin/icons/information-16.png");
3529 .notification-anchor-icon:-moz-focusring {
3530 outline: 1px dotted #008484;
3533 .identity-notification-icon,
3534 #identity-notification-icon {
3535 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3538 .geo-notification-icon,
3539 #geo-notification-icon {
3540 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3543 #push-notification-icon {
3544 list-style-image: url(chrome://browser/skin/Push-16.png);
3547 #addons-notification-icon {
3548 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3551 #addons-notification-icon:hover {
3552 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3555 #addons-notification-icon:hover:active {
3556 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
3559 .indexedDB-notification-icon,
3560 #indexedDB-notification-icon {
3561 list-style-image: url("chrome://global/skin/icons/question-16.png");
3564 #password-notification-icon {
3565 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3568 #login-fill-notification-icon {
3569 /* Temporary icon until the capture and fill doorhangers are unified. */
3570 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3571 transform: scaleX(-1);
3574 #webapps-notification-icon {
3575 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3578 #plugins-notification-icon {
3579 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3582 #plugins-notification-icon.plugin-hidden {
3583 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3586 #plugins-notification-icon.plugin-blocked {
3587 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3590 #plugins-notification-icon {
3591 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3594 #plugins-notification-icon:hover {
3595 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3598 #notification-popup-box[hidden] {
3599 /* Override display:none to make the pluginBlockedNotification animation work
3600 when showing the notification repeatedly. */
3602 visibility: collapse;
3605 #plugins-notification-icon.plugin-blocked[showing] {
3606 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3609 @keyframes pluginBlockedNotification {
3618 .bad-content-blocked-notification-icon,
3619 #bad-content-blocked-notification-icon {
3620 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3623 .bad-content-unblocked-notification-icon,
3624 #bad-content-unblocked-notification-icon {
3625 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3628 .webRTC-shareDevices-notification-icon,
3629 #webRTC-shareDevices-notification-icon {
3630 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3633 .webRTC-sharingDevices-notification-icon,
3634 #webRTC-sharingDevices-notification-icon {
3635 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3638 .webRTC-shareMicrophone-notification-icon,
3639 #webRTC-shareMicrophone-notification-icon {
3640 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3643 .webRTC-sharingMicrophone-notification-icon,
3644 #webRTC-sharingMicrophone-notification-icon {
3645 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3648 .webRTC-shareScreen-notification-icon,
3649 #webRTC-shareScreen-notification-icon {
3650 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3653 .webRTC-sharingScreen-notification-icon,
3654 #webRTC-sharingScreen-notification-icon {
3655 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3658 .web-notifications-notification-icon,
3659 #web-notifications-notification-icon {
3660 list-style-image: url("chrome://browser/skin/notification-16.png");
3663 #pointerLock-notification-icon {
3664 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3667 .translate-notification-icon,
3668 #translate-notification-icon {
3669 list-style-image: url("chrome://browser/skin/translation-16.png");
3670 -moz-image-region: rect(0px, 16px, 16px, 0px);
3673 .translated-notification-icon,
3674 #translated-notification-icon {
3675 list-style-image: url("chrome://browser/skin/translation-16.png");
3676 -moz-image-region: rect(0px, 32px, 16px, 16px);
3679 .popup-notification-icon[popupid="servicesInstall"] {
3680 list-style-image: url("chrome://browser/skin/social/services-64.png");
3682 #servicesInstall-notification-icon {
3683 list-style-image: url("chrome://browser/skin/social/services-16.png");
3686 /* EME notifications */
3688 .popup-notification-icon[popupid="drmContentPlaying"],
3689 #eme-notification-icon {
3690 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3693 #eme-notification-icon:hover:active {
3694 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3697 #eme-notification-icon[firstplay=true] {
3698 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3701 @keyframes emeTeachingMoment {
3702 0% {transform: translateX(0); }
3703 25% {transform: translateX(3px) }
3704 75% {transform: translateX(-3px) }
3705 100% { transform: translateX(0); }
3708 /* HiDPI notification icons */
3709 @media (min-resolution: 1.1dppx) {
3710 /* #notification-popup-box {
3711 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3714 .notification-anchor-icon {
3715 list-style-image: url(chrome://global/skin/icons/information-32.png);
3718 .webRTC-shareDevices-notification-icon,
3719 #webRTC-shareDevices-notification-icon {
3720 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3723 .webRTC-sharingDevices-notification-icon,
3724 #webRTC-sharingDevices-notification-icon {
3725 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3728 .webRTC-shareMicrophone-notification-icon,
3729 #webRTC-shareMicrophone-notification-icon {
3730 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3733 .webRTC-sharingMicrophone-notification-icon,
3734 #webRTC-sharingMicrophone-notification-icon {
3735 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3738 .webRTC-shareScreen-notification-icon,
3739 #webRTC-shareScreen-notification-icon {
3740 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3743 .webRTC-sharingScreen-notification-icon,
3744 #webRTC-sharingScreen-notification-icon {
3745 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3748 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3749 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3750 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3753 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3754 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3755 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3758 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3759 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3760 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3764 /* === END notification-icons.inc.css === */
3766 .popup-notification-body[popupid="addon-progress"],
3767 .popup-notification-body[popupid="addon-install-confirmation"] {
3772 /* Translation infobar */
3774 /* === BEGIN infobar.inc.css === */
3776 notification[value="translation"] .messageImage {
3777 list-style-image: url("chrome://browser/skin/translation-16.png");
3778 -moz-image-region: rect(0, 32px, 16px, 16px);
3781 @media (min-resolution: 1.25dppx) {
3782 notification[value="translation"] .messageImage {
3783 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3784 -moz-image-region: rect(0, 64px, 32px, 32px);
3788 notification[value="translation"][state="translating"] .messageImage {
3789 list-style-image: url("chrome://browser/skin/translating-16.png");
3790 -moz-image-region: auto;
3793 @media (min-resolution: 1.25dppx) {
3794 notification[value="translation"][state="translating"] .messageImage {
3795 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3799 notification[value="translation"] hbox[anonid="details"] {
3803 notification[value="translation"] button,
3804 notification[value="translation"] menulist {
3808 notification[value="translation"] menulist > .menulist-dropmarker {
3811 .translation-menupopup arrowscrollbox {
3815 .translation-attribution {
3817 -moz-box-align: end;
3821 .translation-attribution > label {
3825 .translation-attribution > image {
3829 .translation-welcome-panel {
3833 .translation-welcome-logo {
3836 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3837 -moz-image-region: rect(0, 64px, 32px, 32px);
3840 .translation-welcome-content {
3841 -moz-margin-start: 16px;
3844 .translation-welcome-headline {
3849 .translation-welcome-body {
3854 /* === END infobar.inc.css === */
3856 notification[value="translation"] {
3860 .translation-menupopup {
3861 -moz-appearance: none;
3864 /* Loop/ Hello browser styles */
3866 notification[value="loop-sharing-notification"] .button-menubutton-button {
3872 notification[value="loop-sharing-notification"] .messageImage {
3873 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3876 /* Bookmarks roots menu-items */
3877 #subscribeToPageMenuitem:not([disabled]),
3878 #subscribeToPageMenupopup,
3879 #BMB_subscribeToPageMenuitem:not([disabled]),
3880 #BMB_subscribeToPageMenupopup {
3881 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3884 #bookmarksToolbarFolderMenu,
3885 #BMB_bookmarksToolbar,
3886 #panelMenu_bookmarksToolbar {
3887 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3888 -moz-image-region: auto;
3891 #BMB_unsortedBookmarks,
3892 #panelMenu_unsortedBookmarks {
3893 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3894 -moz-image-region: auto;
3900 list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
3903 /* ::::: Keyboard UI Panel ::::: */
3908 border-radius: 20px;
3911 .KUI-panel[level="top"] {
3912 /*background-color: rgba(27%,27%,27%,.65);*/
3918 padding: 20px 10px 10px;
3922 .ctrlTab-favicon[src] {
3923 background-color: #000000;
3929 .ctrlTab-preview-inner > .tabPreview-canvas {
3932 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3936 .ctrlTab-preview-inner {
3937 padding-bottom: 10px;
3940 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3942 background-color: #000000;
3943 border-radius: .5em;
3946 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3948 background-color: #000000;
3951 border: 2px solid #9C9CFF;
3952 border-radius: .5em;
3955 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3956 margin: -10px -10px 0;
3968 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3976 .sync-panel-button-box {
3980 #sync-error-panel-title,
3981 #sync-start-panel-title {
3987 #sync-start-panel-subtitle,
3988 #sync-error-panel-subtitle {
3994 .statuspanel-label {
3997 background: #404000;
3998 border: 1px none #9C9CFF;
3999 border-top-style: solid;
4004 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
4005 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
4006 border-right-style: solid;
4007 border-top-right-radius: .3em;
4011 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
4012 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
4013 border-left-style: solid;
4014 border-top-left-radius: .3em;
4018 /* HACK to abolish devily color on main content */
4021 background-color: transparent !important;
4024 #full-screen-warning-message {
4025 background-color: #000000;
4030 box-shadow: 0 0 2px #9C9CFF;
4033 .full-screen-description {
4037 #full-screen-domain-text {
4041 /* === BEGIN commandline.inc.css === */
4043 /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
4044 We are copy/pasting variables from light-theme and dark-theme,
4045 since they aren't loaded in this context (within browser.css). */
4046 :root #developer-toolbar {
4047 --gcli-background-color: #000000; /* --theme-toolbar-background */
4048 --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
4049 --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
4050 --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
4051 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */