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 --verified-identity-box-backgroundcolor: #000000;
42 --panel-separator-color: #A09090;
44 /*--urlbar-separator-color: rgba(0,0,0,.2);*/
45 --urlbar-separator-color: #9C9CFF;
49 -moz-box-orient: vertical; /* for flex hack */
53 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
56 /* ::::: primary toolbar ::::: */
58 .toolbar-primary > .toolbar-box > .toolbar-holder {
59 background-color: #A09090;
62 .toolbar-primary > .toolbar-box > .toolbar-startcap,
63 .toolbar-primary > .toolbar-box > .toolbar-endcap {
64 background-color: #9C9CFF;
67 /* Hides the titlebar-placeholder underneath the window caption buttons when we
68 are not autohiding the menubar. */
69 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
73 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
74 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
75 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
76 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
77 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
81 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
82 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
83 /* margin-top: 15px;*/
86 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
87 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
88 #toolbar-menubar:not([autohide="true"]) {
89 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
93 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
94 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
95 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
100 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
101 /* 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 */
105 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
106 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
107 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
108 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
109 outline-color: #A09090;
115 #navigator-toolbox::after {
118 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
122 #navigator-toolbox > toolbar {
125 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
128 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
129 overflow: -moz-hidden-unscrollable;
131 transition: min-height 170ms ease-out, max-height 170ms ease-out;
134 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
137 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
140 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
141 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
142 /* Indent also due to non-applicable aero rule in original Windows theme. */
143 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
144 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
146 background-color: #6000CF;
150 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
151 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
152 background-color: #8050B0;
156 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
160 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
164 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
165 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
170 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
171 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
172 #titlebar-buttonbox > .titlebar-button {
178 /* Position the toolbar above the bottom of background tabs */
183 #personal-bookmarks {
184 /* min-height: 24px; */
187 #PersonalToolbar > #home-button {
188 -moz-box-orient: horizontal;
191 #PersonalToolbar > #home-button > .toolbarbutton-text {
195 #print-preview-toolbar:not(:-moz-lwtheme) {
196 /* -moz-appearance: toolbox; */
199 #browser-bottombox:not(:-moz-lwtheme) {
202 /* ::::: titlebar ::::: */
206 background-color: #6000CF;
209 #titlebar:-moz-window-inactive {
210 background-color: #8050B0;
214 #main-window[sizemode="normal"] > #titlebar {
219 #main-window[sizemode="maximized"] > #titlebar {
223 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
224 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
225 #main-window[sizemode="normal"] > #titlebar,
226 #main-window[sizemode="maximized"] > #titlebar {
228 /* There is a margin-bottom set to -23 by code. */
232 /* The button box must appear on top of the navigator-toolbox in order for
233 * click and hover mouse events to work properly for the button in the restored
234 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
235 * can swallow those events. It will also place the buttons above the fog on
236 * themes with Aero Glass.
239 #main-window[sizemode="maximized"] #titlebar-buttonbox {
240 -moz-appearance: none;
243 -moz-margin-end: 3px;
247 .titlebar-placeholder[type="appmenu-button"] {
251 .titlebar-placeholder[type="caption-buttons"] {
255 /* titlebar command buttons */
258 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
261 #titlebar-min:hover {
262 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
266 list-style-image: url("chrome://browser/skin/win-maximize.gif");
269 #titlebar-max:hover {
270 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
273 #main-window[sizemode="maximized"] #titlebar-max {
274 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
277 #main-window[sizemode="maximized"] #titlebar-max:hover {
278 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
282 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
285 #titlebar-close:hover {
286 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
289 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
290 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
291 #titlebar-fullscreen-button {
292 -moz-appearance: none;
293 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
294 -moz-image-region: rect(0px, 16px, 16px, 0px);
297 #titlebar-fullscreen-button:hover {
298 -moz-image-region: rect(0px, 32px, 16px, 16px);
301 @media (min-resolution: 2dppx) {
302 #titlebar-fullscreen-button {
303 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
304 -moz-image-region: rect(0px, 32px, 32px, 0px);
307 #titlebar-fullscreen-button:hover {
308 -moz-image-region: rect(0px, 64px, 32px, 32px);
314 /* ::::: bookmark buttons ::::: */
316 toolbarbutton.bookmark-item:not(.subviewbutton),
317 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
322 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
323 toolbarbutton.bookmark-item[open="true"] {
326 -moz-padding-start: 4px;
327 -moz-padding-end: 2px;*/
330 .bookmark-item > .toolbarbutton-icon,
331 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
334 -moz-margin-start: 1px;
335 -moz-margin-end: 2px;
340 /* Force the display of the label for bookmarks */
341 .bookmark-item > .toolbarbutton-text,
342 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
343 display: -moz-box !important;
346 .bookmark-item > .toolbarbutton-menu-dropmarker {
350 #bookmarks-toolbar-placeholder {
351 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
352 -moz-box-orient: horizontal;
355 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
356 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
357 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
360 /* ----- BOOKMARK STAR ANIMATION ----- */
362 @keyframes animation-bookmarkAdded {
363 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
364 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
366 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
369 @keyframes animation-bookmarkPulse {
370 from { transform: scale(1); }
371 50% { transform: scale(1.3); }
372 to { transform: scale(1); }
375 #bookmarked-notification-container {
384 #bookmarked-notification {
385 background-size: 16px;
386 background-position: center;
387 background-repeat: no-repeat;
393 #bookmarked-notification-dropmarker-anchor {
398 #bookmarked-notification-dropmarker-icon {
404 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
405 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
406 animation: animation-bookmarkAdded 800ms;
407 animation-timing-function: ease, ease, ease;
410 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
411 list-style-image: none !important;
414 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
416 animation: animation-bookmarkPulse 300ms;
417 animation-delay: 600ms;
418 animation-timing-function: ease-out;
421 /* ::::: bookmark menus ::::: */
424 menuitem.bookmark-item {
429 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
434 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
435 -moz-padding-start: 0px;
438 /* ::::: bookmark items ::::: */
441 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
442 -moz-image-region: auto;
445 .bookmark-item[container] {
446 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
447 -moz-image-region: auto;
450 .bookmark-item[container][open] {
451 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
452 -moz-image-region: auto;
455 .bookmark-item[container][livemark] {
456 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
457 -moz-image-region: auto;
460 .bookmark-item[container][livemark] .bookmark-item {
461 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
462 -moz-image-region: rect(0px, 16px, 16px, 0px);
465 .bookmark-item[container][livemark] .bookmark-item[visited] {
466 -moz-image-region: rect(0px, 32px, 16px, 16px);
469 .bookmark-item[container][query] {
470 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
471 -moz-image-region: auto;
474 .bookmark-item[query][tagContainer] {
475 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
476 -moz-image-region: auto;
479 .bookmark-item[query][dayContainer] {
480 list-style-image: url("chrome://communicator/skin/history/calendar.png");
481 -moz-image-region: auto;
484 .bookmark-item[query][hostContainer] {
485 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
486 -moz-image-region: auto;
489 .bookmark-item[query][hostContainer][open] {
490 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
491 -moz-image-region: auto;
494 .bookmark-item[cutting] > .toolbarbutton-icon,
495 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
499 .bookmark-item[cutting] > .toolbarbutton-text,
500 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
504 /* ::::: primary toolbar buttons ::::: */
506 /* === BEGIN toolbarbuttons.inc.css === */
508 /* Whole section of this included file: */
509 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
510 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
511 #social-share-button, #open-file-button, #find-button, #developer-button,
512 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
513 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
514 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
515 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
517 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
518 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
522 -moz-image-region: rect(0, 36px, 18px, 18px);
525 #back-button:hover:not([disabled="true"]) {
526 -moz-image-region: rect(18px, 36px, 36px, 18px);
529 #back-button[disabled="true"] {
530 -moz-image-region: rect(36px, 36px, 54px, 18px);
534 -moz-image-region: rect(0, 72px, 18px, 54px);
537 #forward-button:hover:not([disabled="true"]) {
538 -moz-image-region: rect(18px, 72px, 36px, 54px);
541 #forward-button[disabled="true"] {
542 -moz-image-region: rect(36px, 72px, 54px, 54px);
545 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
546 #forward-button:-moz-locale-dir(rtl) {
547 transform: scaleX(-1);
550 #home-button[cui-areatype="toolbar"] {
551 -moz-image-region: rect(0, 126px, 18px, 108px);
554 #home-button[cui-areatype="toolbar"]:hover {
555 -moz-image-region: rect(18px, 126px, 36px, 108px);
558 #bookmarks-menu-button[cui-areatype="toolbar"] {
559 -moz-image-region: rect(0, 144px, 18px, 126px);
562 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
563 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
564 -moz-image-region: rect(18px, 144px, 36px, 126px);
567 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
568 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
569 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
570 background-color: transparent !important;
573 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
574 -moz-image-region: rect(0, 162px, 18px, 144px);
577 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
578 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
579 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
580 /* When starred and clicked (for edit/delete dialog),
581 * then only the menubutton-button itself is open, but not the whole menubutton. */
582 -moz-image-region: rect(18px, 162px, 36px, 144px);
585 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
586 -moz-image-region: rect(0, 630px, 18px, 612px);
589 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
591 -moz-box-align: center;
594 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
595 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
596 -moz-image-region: rect(18px, 630px, 36px, 612px);
599 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
600 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
603 -moz-padding-start: 2px;
604 -moz-padding-end: 0px;
607 #history-panelmenu[cui-areatype="toolbar"] {
608 -moz-image-region: rect(0, 180px, 18px, 162px);
611 #history-panelmenu[cui-areatype="toolbar"]:hover,
612 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
613 -moz-image-region: rect(18px, 180px, 36px, 162px);
616 #downloads-button[cui-areatype="toolbar"] {
617 -moz-image-region: rect(0, 198px, 18px, 180px);
620 #downloads-button[cui-areatype="toolbar"]:hover,
621 #downloads-button[cui-areatype="toolbar"][open="true"] {
622 -moz-image-region: rect(18px, 198px, 36px, 180px);
625 #add-ons-button[cui-areatype="toolbar"] {
626 -moz-image-region: rect(0, 216px, 18px, 198px);
629 #add-ons-button[cui-areatype="toolbar"]:hover {
630 -moz-image-region: rect(18px, 216px, 36px, 198px);
633 #open-file-button[cui-areatype="toolbar"] {
634 -moz-image-region: rect(0, 234px, 18px, 216px);
637 #open-file-button[cui-areatype="toolbar"]:hover {
638 -moz-image-region: rect(18px, 234px, 36px, 216px);
641 #save-page-button[cui-areatype="toolbar"] {
642 -moz-image-region: rect(0, 252px, 18px, 234px);
645 #save-page-button[cui-areatype="toolbar"]:hover {
646 -moz-image-region: rect(18px, 252px, 36px, 234px);
649 #sync-button[cui-areatype="toolbar"] {
650 -moz-image-region: rect(0, 270px, 18px, 252px);
653 #sync-button[cui-areatype="toolbar"]:hover {
654 -moz-image-region: rect(18px, 270px, 36px, 252px);
657 #sync-button[cui-areatype="toolbar"][status="active"],
658 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
659 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
660 -moz-image-region: rect(0, 18px, 18px, 0px);
664 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
665 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
666 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
670 #feed-button[cui-areatype="toolbar"] {
671 -moz-image-region: rect(0, 288px, 18px, 270px);
674 #feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
675 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
676 -moz-image-region: rect(18px, 288px, 36px, 270px);
679 #feed-button[cui-areatype="toolbar"][disabled="true"] {
680 -moz-image-region: rect(36px, 288px, 54px, 270px);
683 #social-share-button[cui-areatype="toolbar"] {
684 -moz-image-region: rect(0px, 306px, 18px, 288px);
687 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
688 #social-share-button[cui-areatype="toolbar"][open="true"] {
689 -moz-image-region: rect(18px, 306px, 36px, 288px);
692 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
693 -moz-image-region: rect(36px, 306px, 54px, 288px);
696 #characterencoding-button[cui-areatype="toolbar"] {
697 -moz-image-region: rect(0, 324px, 18px, 306px);
700 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
701 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
702 -moz-image-region: rect(18px, 324px, 36px, 306px);
705 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
706 -moz-image-region: rect(36px, 324px, 54px, 306px);
709 #new-window-button[cui-areatype="toolbar"] {
710 -moz-image-region: rect(0, 342px, 18px, 324px);
713 #new-window-button[cui-areatype="toolbar"]:hover {
714 -moz-image-region: rect(18px, 342px, 36px, 324px);
717 #e10s-button[cui-areatype="toolbar"] {
718 -moz-image-region: rect(0, 342px, 18px, 324px);
721 #e10s-button[cui-areatype="toolbar"]:hover {
722 -moz-image-region: rect(18px, 342px, 36px, 324px);
725 #e10s-button > .toolbarbutton-icon {
726 transform: scaleY(-1);
729 #new-tab-button[cui-areatype="toolbar"] {
730 -moz-image-region: rect(0, 360px, 18px, 342px);
733 #new-tab-button[cui-areatype="toolbar"]:hover {
734 -moz-image-region: rect(18px, 360px, 36px, 342px);
737 #privatebrowsing-button[cui-areatype="toolbar"] {
738 -moz-image-region: rect(0, 378px, 18px, 360px);
741 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
742 -moz-image-region: rect(18px, 378px, 36px, 360px);
745 #find-button[cui-areatype="toolbar"] {
746 -moz-image-region: rect(0, 396px, 18px, 378px);
749 #find-button[cui-areatype="toolbar"]:hover {
750 -moz-image-region: rect(18px, 396px, 36px, 378px);
753 #print-button[cui-areatype="toolbar"] {
754 -moz-image-region: rect(0, 414px, 18px, 396px);
757 #print-button[cui-areatype="toolbar"]:hover {
758 -moz-image-region: rect(18px, 414px, 36px, 396px);
761 #fullscreen-button[cui-areatype="toolbar"] {
762 -moz-image-region: rect(0, 432px, 18px, 414px);
765 #fullscreen-button[cui-areatype="toolbar"]:hover {
766 -moz-image-region: rect(18px, 432px, 36px, 414px);
769 #developer-button[cui-areatype="toolbar"] {
770 -moz-image-region: rect(0, 450px, 18px, 432px);
773 #developer-button[cui-areatype="toolbar"]:hover,
774 #developer-button[cui-areatype="toolbar"][open="true"] {
775 -moz-image-region: rect(18px, 450px, 36px, 432px);
778 #preferences-button[cui-areatype="toolbar"] {
779 -moz-image-region: rect(0, 468px, 18px, 450px);
782 #preferences-button[cui-areatype="toolbar"]:hover {
783 -moz-image-region: rect(18px, 468px, 36px, 450px);
786 #PanelUI-menu-button {
787 -moz-image-region: rect(0, 486px, 18px, 468px);
790 #PanelUI-menu-button:hover,
791 #PanelUI-menu-button[open="true"] {
792 -moz-image-region: rect(18px, 486px, 36px, 468px);
795 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
796 -moz-image-region: rect(0, 504px, 18px, 486px);
799 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
800 -moz-image-region: rect(18px, 504px, 36px, 486px);
803 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
804 -moz-image-region: rect(36px, 504px, 54px, 486px);
807 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
808 -moz-image-region: rect(0, 522px, 18px, 504px);
811 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
812 -moz-image-region: rect(18px, 522px, 36px, 504px);
815 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
816 -moz-image-region: rect(36px, 522px, 54px, 504px);
819 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
820 -moz-image-region: rect(0, 540px, 18px, 522px);
823 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
824 -moz-image-region: rect(18px, 540px, 36px, 522px);
827 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
828 -moz-image-region: rect(36px, 540px, 54px, 522px);
831 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
832 -moz-image-region: rect(0, 558px, 18px, 540px);
835 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
836 -moz-image-region: rect(18px, 558px, 36px, 540px);
839 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
840 -moz-image-region: rect(36px, 558px, 54px, 540px);
843 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
844 -moz-image-region: rect(0, 576px, 18px, 558px);
847 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
848 -moz-image-region: rect(18px, 576px, 36px, 558px);
851 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
852 -moz-image-region: rect(36px, 576px, 54px, 558px);
855 #nav-bar-overflow-button {
856 -moz-image-region: rect(0, 612px, 18px, 594px);
859 #nav-bar-overflow-button:hover,
860 #nav-bar-overflow-button[open="true"] {
861 -moz-image-region: rect(18px, 612px, 36px, 594px);
864 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
865 transform: scaleX(-1);
869 -moz-image-region: rect(0, 648px, 18px, 630px);
872 #tabview-button:hover {
873 -moz-image-region: rect(18px, 648px, 36px, 630px);
876 #email-link-button[cui-areatype="toolbar"] {
877 -moz-image-region: rect(0, 666px, 18px, 648px);
880 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
881 -moz-image-region: rect(18px, 666px, 36px, 648px);
884 #email-button[cui-areatype="toolbar"][disabled="true"] {
885 -moz-image-region: rect(36px, 666px, 54px, 648px);
888 #sidebar-button[cui-areatype="toolbar"] {
889 -moz-image-region: rect(0, 684px, 18px, 666px);
892 #sidebar-button[cui-areatype="toolbar"]:hover {
893 -moz-image-region: rect(18px, 684px, 36px, 666px);
896 #panic-button[cui-areatype="toolbar"] {
897 -moz-image-region: rect(0, 702px, 18px, 684px);
900 #panic-button[cui-areatype="toolbar"]:hover,
901 #panic-button[cui-areatype="toolbar"][open] {
902 -moz-image-region: rect(18px, 702px, 36px, 684px);
905 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
906 transform: scaleX(-1);
909 #web-apps-button[cui-areatype="toolbar"] {
910 -moz-image-region: rect(0, 720px, 18px, 702px);
913 #web-apps-button[cui-areatype="toolbar"]:hover {
914 -moz-image-region: rect(18px, 720px, 36px, 702px);
918 #loop-button > .toolbarbutton-badge-container {
919 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
920 -moz-image-region: rect(0, 18px, 18px, 0);
923 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
924 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
925 -moz-image-region: rect(0, 90px, 18px, 72px);
928 #loop-button[state="disabled"],
929 #loop-button[disabled="true"],
930 #loop-button[state="disabled"] > .toolbarbutton-badge-container,
931 #loop-button[disabled="true"] > .toolbarbutton-badge-container {
932 -moz-image-region: rect(0, 36px, 18px, 18px);
935 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
936 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
937 -moz-image-region: rect(0, 126px, 18px, 108px);
940 #loop-button:not([disabled="true"])[state="error"],
941 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
942 -moz-image-region: rect(0, 54px, 18px, 36px);
945 #loop-button:not([disabled="true"])[state="action"],
946 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
947 -moz-image-region: rect(0, 72px, 18px, 54px);
950 #loop-button:not([disabled="true"])[state="active"],
951 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
952 -moz-image-region: rect(0, 108px, 18px, 90px);
955 #webide-button[cui-areatype="toolbar"] {
956 -moz-image-region: rect(0, 738px, 18px, 720px);
959 #webide-button[cui-areatype="toolbar"]:hover {
960 -moz-image-region: rect(18px, 738px, 36px, 720px);
963 #pocket-button[cui-areatype="toolbar"] {
964 -moz-image-region: rect(0, 774px, 18px, 756px);
967 #pocket-button[cui-areatype="toolbar"]:hover,
968 #pocket-button[cui-areatype="toolbar"][open] {
969 -moz-image-region: rect(18px, 774px, 36px, 756px);
972 /* === END toolbarbuttons.inc.css === */
974 /* === BEGIN menupanel.inc.css === */
976 /* Menu panel and palette styles */
979 /* avoid aero overrides with changed filenames */
980 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
981 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
984 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
985 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
986 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
987 #social-share-button, #open-file-button, #find-button, #developer-button,
988 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
989 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
990 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
991 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
992 #pocket-button)[cui-areatype="menu-panel"],
993 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
994 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
995 #social-share-button, #open-file-button, #find-button, #developer-button,
996 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
997 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
998 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
999 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
1001 list-style-image: var(--menupanel-list-style-image);
1004 #home-button[cui-areatype="menu-panel"],
1005 toolbarpaletteitem[place="palette"] > #home-button {
1006 -moz-image-region: rect(0px, 128px, 32px, 96px);
1009 #home-button[cui-areatype="menu-panel"]:hover,
1010 toolbarpaletteitem[place="palette"] > #home-button:hover {
1011 -moz-image-region: rect(32px, 128px, 64px, 96px);
1014 #bookmarks-menu-button[cui-areatype="menu-panel"],
1015 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
1016 -moz-image-region: rect(0px, 192px, 32px, 160px);
1019 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
1020 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
1021 -moz-image-region: rect(32px, 192px, 64px, 160px);
1024 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1025 -moz-image-region: rect(32px, 192px, 64px, 160px);
1028 #history-panelmenu[cui-areatype="menu-panel"],
1029 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1030 -moz-image-region: rect(0px, 224px, 32px, 192px);
1033 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1034 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1035 -moz-image-region: rect(32px, 224px, 64px, 192px);
1038 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1039 -moz-image-region: rect(32px, 224px, 64px, 192px);
1042 #downloads-button[cui-areatype="menu-panel"],
1043 toolbarpaletteitem[place="palette"] > #downloads-button {
1044 -moz-image-region: rect(0px, 256px, 32px, 224px);
1047 #downloads-button[cui-areatype="menu-panel"]:hover,
1048 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1049 -moz-image-region: rect(32px, 256px, 64px, 224px);
1052 #add-ons-button[cui-areatype="menu-panel"],
1053 toolbarpaletteitem[place="palette"] > #add-ons-button {
1054 -moz-image-region: rect(0px, 288px, 32px, 256px);
1057 #add-ons-button[cui-areatype="menu-panel"]:hover,
1058 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1059 -moz-image-region: rect(32px, 288px, 64px, 256px);
1062 #open-file-button[cui-areatype="menu-panel"],
1063 toolbarpaletteitem[place="palette"] > #open-file-button {
1064 -moz-image-region: rect(0px, 320px, 32px, 288px);
1067 #open-file-button[cui-areatype="menu-panel"]:hover,
1068 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1069 -moz-image-region: rect(32px, 320px, 64px, 288px);
1072 #save-page-button[cui-areatype="menu-panel"],
1073 toolbarpaletteitem[place="palette"] > #save-page-button {
1074 -moz-image-region: rect(0px, 352px, 32px, 320px);
1077 #save-page-button[cui-areatype="menu-panel"]:hover,
1078 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1079 -moz-image-region: rect(32px, 352px, 64px, 320px);
1082 #sync-button[cui-areatype="menu-panel"],
1083 toolbarpaletteitem[place="palette"] > #sync-button {
1084 -moz-image-region: rect(0px, 384px, 32px, 352px);
1087 #sync-button[cui-areatype="menu-panel"]:hover,
1088 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1089 -moz-image-region: rect(32px, 384px, 64px, 352px);
1092 #sync-button[cui-areatype="menu-panel"][status="active"] {
1093 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1094 -moz-image-region: rect(0px, 32px, 32px, 0px);
1097 #feed-button[cui-areatype="menu-panel"],
1098 toolbarpaletteitem[place="palette"] > #feed-button {
1099 -moz-image-region: rect(0px, 416px, 32px, 384px);
1102 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1103 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1104 -moz-image-region: rect(32px, 416px, 64px, 384px);
1107 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1108 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1109 -moz-image-region: rect(64px, 416px, 96px, 384px);
1112 #social-share-button[cui-areatype="menu-panel"],
1113 toolbarpaletteitem[place="palette"] > #social-share-button {
1114 -moz-image-region: rect(0px, 448px, 32px, 416px);
1117 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1118 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1119 -moz-image-region: rect(32px, 448px, 64px, 416px);
1122 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1123 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1124 -moz-image-region: rect(64px, 448px, 96px, 416px);
1127 #characterencoding-button[cui-areatype="menu-panel"],
1128 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1129 -moz-image-region: rect(0px, 480px, 32px, 448px);
1132 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1133 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1134 -moz-image-region: rect(32px, 480px, 64px, 448px);
1137 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1138 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1139 -moz-image-region: rect(64px, 480px, 96px, 448px);
1142 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1143 -moz-image-region: rect(32px, 480px, 64px, 448px);
1146 #new-window-button[cui-areatype="menu-panel"],
1147 toolbarpaletteitem[place="palette"] > #new-window-button {
1148 -moz-image-region: rect(0px, 512px, 32px, 480px);
1151 #new-window-button[cui-areatype="menu-panel"]:hover,
1152 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1153 -moz-image-region: rect(32px, 512px, 64px, 480px);
1156 #e10s-button[cui-areatype="menu-panel"],
1157 toolbarpaletteitem[place="palette"] > #e10s-button {
1158 -moz-image-region: rect(0px, 512px, 32px, 480px);
1161 #e10s-button[cui-areatype="menu-panel"]:hover,
1162 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1163 -moz-image-region: rect(32px, 512px, 64px, 480px);
1166 #new-tab-button[cui-areatype="menu-panel"],
1167 toolbarpaletteitem[place="palette"] > #new-tab-button {
1168 -moz-image-region: rect(0px, 544px, 32px, 512px);
1171 #new-tab-button[cui-areatype="menu-panel"]:hover,
1172 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1173 -moz-image-region: rect(32px, 544px, 64px, 512px);
1176 #privatebrowsing-button[cui-areatype="menu-panel"],
1177 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1178 -moz-image-region: rect(0px, 576px, 32px, 544px);
1181 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1182 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1183 -moz-image-region: rect(32px, 576px, 64px, 544px);
1186 #tabview-button[cui-areatype="menu-panel"],
1187 toolbarpaletteitem[place="palette"] > #tabview-button {
1188 -moz-image-region: rect(0px, 608px, 32px, 576px);
1191 #tabview-button[cui-areatype="menu-panel"]:hover,
1192 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1193 -moz-image-region: rect(32px, 608px, 64px, 576px);
1196 #find-button[cui-areatype="menu-panel"],
1197 toolbarpaletteitem[place="palette"] > #find-button {
1198 -moz-image-region: rect(0px, 640px, 32px, 608px);
1201 #find-button[cui-areatype="menu-panel"]:hover,
1202 toolbarpaletteitem[place="palette"] > #find-button:hover {
1203 -moz-image-region: rect(32px, 640px, 64px, 608px);
1206 #print-button[cui-areatype="menu-panel"],
1207 toolbarpaletteitem[place="palette"] > #print-button {
1208 -moz-image-region: rect(0px, 672px, 32px, 640px);
1211 #print-button[cui-areatype="menu-panel"]:hover,
1212 toolbarpaletteitem[place="palette"] > #print-button:hover {
1213 -moz-image-region: rect(32px, 672px, 64px, 640px);
1216 #fullscreen-button[cui-areatype="menu-panel"],
1217 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1218 -moz-image-region: rect(0px, 704px, 32px, 672px);
1221 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1222 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1223 -moz-image-region: rect(32px, 704px, 64px, 672px);
1226 #developer-button[cui-areatype="menu-panel"],
1227 toolbarpaletteitem[place="palette"] > #developer-button {
1228 -moz-image-region: rect(0px, 736px, 32px, 704px);
1231 #developer-button[cui-areatype="menu-panel"]:hover,
1232 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1233 -moz-image-region: rect(32px, 736px, 64px, 704px);
1236 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1237 -moz-image-region: rect(32px, 736px, 64px, 704px);
1240 #preferences-button[cui-areatype="menu-panel"],
1241 toolbarpaletteitem[place="palette"] > #preferences-button {
1242 -moz-image-region: rect(0px, 768px, 32px, 736px);
1245 #preferences-button[cui-areatype="menu-panel"]:hover,
1246 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1247 -moz-image-region: rect(32px, 768px, 64px, 736px);
1250 #email-link-button[cui-areatype="menu-panel"],
1251 toolbarpaletteitem[place="palette"] > #email-link-button {
1252 -moz-image-region: rect(0, 800px, 32px, 768px);
1255 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1256 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1257 -moz-image-region: rect(32px, 800px, 64px, 768px);
1260 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1261 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1262 -moz-image-region: rect(64px, 800px, 96px, 768px);
1265 #sidebar-button[cui-areatype="menu-panel"],
1266 toolbarpaletteitem[place="palette"] > #sidebar-button {
1267 -moz-image-region: rect(0, 864px, 32px, 832px);
1270 #sidebar-button[cui-areatype="menu-panel"]:hover,
1271 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1272 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1273 -moz-image-region: rect(32px, 864px, 64px, 832px);
1276 #panic-button[cui-areatype="menu-panel"],
1277 toolbarpaletteitem[place="palette"] > #panic-button {
1278 -moz-image-region: rect(0, 896px, 32px, 864px);
1281 #panic-button[cui-areatype="menu-panel"]:hover,
1282 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1283 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1284 -moz-image-region: rect(32px, 896px, 64px, 864px);
1287 #web-apps-button[cui-areatype="menu-panel"],
1288 toolbarpaletteitem[place="palette"] > #web-apps-button {
1289 -moz-image-region: rect(0, 928px, 32px, 896px);
1292 #web-apps-button[cui-areatype="menu-panel"]:hover,
1293 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1294 -moz-image-region: rect(32px, 928px, 64px, 896px);
1297 #webide-button[cui-areatype="menu-panel"],
1298 toolbarpaletteitem[place="palette"] > #webide-button {
1299 -moz-image-region: rect(0px, 960px, 32px, 928px);
1302 #webide-button[cui-areatype="menu-panel"]:hover,
1303 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1304 -moz-image-region: rect(32px, 960px, 64px, 928px);
1307 #pocket-button[cui-areatype="menu-panel"],
1308 toolbarpaletteitem[place="palette"] > #pocket-button {
1309 -moz-image-region: rect(0px, 992px, 32px, 960px);
1312 #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1313 -moz-image-region: rect(32px, 992px, 64px, 960px);
1316 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1317 -moz-image-region: rect(0, 832px, 32px, 800px);
1320 #loop-button[cui-areatype="menu-panel"],
1321 toolbarpaletteitem[place="palette"] > #loop-button,
1322 #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1323 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1324 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1325 -moz-image-region: rect(0, 32px, 32px, 0);
1328 /* Make sure that the state icons are not shown in the customization palette. */
1329 toolbarpaletteitem[place="palette"] > #loop-button,
1330 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1331 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1334 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
1335 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1336 -moz-image-region: rect(0, 160px, 32px, 128px);
1339 #loop-button[cui-areatype="menu-panel"][state="disabled"],
1340 #loop-button[cui-areatype="menu-panel"][disabled="true"],
1341 #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1342 #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1343 -moz-image-region: rect(0, 64px, 32px, 32px);
1346 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]),
1347 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1348 -moz-image-region: rect(0, 224px, 32px, 192px);
1351 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"],
1352 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1353 -moz-image-region: rect(0, 96px, 32px, 64px);
1356 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"],
1357 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1358 -moz-image-region: rect(0, 128px, 32px, 96px);
1361 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"],
1362 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1363 -moz-image-region: rect(0, 192px, 32px, 160px);
1366 /* Wide panel control icons */
1368 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1369 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1370 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1371 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1372 list-style-image: var(--menupanel-small-list-style-image);
1375 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1376 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1377 -moz-image-region: rect(0px, 32px, 16px, 16px);
1380 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1381 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1382 -moz-image-region: rect(16px, 32px, 32px, 16px);
1385 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1386 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1387 -moz-image-region: rect(32px, 32px, 48px, 16px);
1390 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1391 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1392 -moz-image-region: rect(0px, 48px, 16px, 32px);
1395 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1396 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1397 -moz-image-region: rect(16px, 48px, 32px, 32px);
1400 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1401 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1402 -moz-image-region: rect(32px, 48px, 48px, 32px);
1405 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1406 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1407 -moz-image-region: rect(0px, 64px, 16px, 48px);
1410 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1411 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1412 -moz-image-region: rect(16px, 64px, 32px, 48px);
1415 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1416 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1417 -moz-image-region: rect(32px, 64px, 48px, 48px);
1420 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1421 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1422 -moz-image-region: rect(0px, 80px, 16px, 64px);
1425 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1426 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1427 -moz-image-region: rect(16px, 80px, 32px, 64px);
1430 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1431 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1432 -moz-image-region: rect(32px, 80px, 48px, 64px);
1435 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1436 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1437 -moz-image-region: rect(0px, 96px, 16px, 80px);
1440 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1441 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1442 -moz-image-region: rect(16px, 96px, 32px, 80px);
1445 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1446 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1447 -moz-image-region: rect(32px, 96px, 48px, 80px);
1450 #add-share-provider {
1451 list-style-image: var(--menupanel-small-list-style-image);
1452 -moz-image-region: rect(0px, 96px, 16px, 80px);
1455 /* === END menupanel.inc.css === */
1457 .toolbarbutton-1:not([type="menu-button"]) {
1458 -moz-box-orient: vertical;
1462 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1468 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1469 .toolbarbutton-1[disabled="true"]:hover:active,
1470 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1474 .toolbarbutton-1:hover:active,
1475 .toolbarbutton-1[open="true"],
1476 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1478 padding-bottom: 0px;
1479 -moz-padding-start: 3px;
1480 -moz-padding-end: 1px;
1483 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1484 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1485 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1486 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1487 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1490 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1491 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1494 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1495 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1498 .toolbarbutton-1 > .toolbarbutton-icon,
1499 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1503 #nav-bar .toolbarbutton-1,
1504 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1507 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1508 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1509 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1512 #nav-bar #PanelUI-menu-button {
1513 /* -moz-padding-start: 7px;
1514 -moz-padding-end: 5px;*/
1517 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1518 /* padding-left: 5px;
1519 padding-right: 5px;*/
1522 #nav-bar .toolbarbutton-1 > menupopup {
1523 /* margin-top: -3px;*/
1526 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1530 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1531 /* -moz-padding-end: 0;*/
1534 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1535 /* -moz-padding-start: 0;
1536 -moz-box-align: center;*/
1539 .findbar-button > .toolbarbutton-text,
1540 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1541 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1542 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1543 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1544 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1545 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1546 /* padding: 2px 6px;
1548 border-color: transparent;
1549 transition-property: background-color, border-color;
1550 transition-duration: 150ms;*/
1553 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1554 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1555 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1560 /* Help SDK icons fit: */
1561 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
1562 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
1566 #nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1567 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1571 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1572 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1573 /* -moz-padding-end: 17px;*/
1576 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1579 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1582 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1585 #nav-bar .toolbaritem-combined-buttons {
1586 /* margin-left: 2px;
1587 margin-right: 2px;*/
1590 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1595 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1596 #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 {
1602 -moz-margin-end: -1px;
1606 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1609 .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1610 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1611 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1612 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1613 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1614 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1615 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1616 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1617 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1620 .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1621 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1622 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1623 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1624 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1625 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1628 #TabsToolbar .toolbarbutton-1,
1629 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1630 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1631 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1634 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1635 #TabsToolbar .toolbarbutton-1[open],
1636 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1637 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1638 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1641 /* unified back/forward button */
1644 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1647 #forward-button > menupopup {
1648 margin-top: 1px !important;
1651 #forward-button > .toolbarbutton-icon {
1652 background-clip: padding-box !important;
1653 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1654 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1658 -moz-margin-start: -4px !important;
1663 border-radius: 0 10000px 10000px 0;
1666 #forward-button:-moz-locale-dir(rtl) {
1667 border-radius: 10000px 0 0 10000px;
1670 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1671 transition: margin-left 150ms ease-out;
1674 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1675 margin-left: -27px !important;
1678 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1679 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1680 transition-delay: 100s;
1683 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1684 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1685 margin-left: -27.01px !important;
1689 /* padding-top: 3px !important;
1690 padding-bottom: 3px !important;
1691 -moz-padding-start: 5px !important;
1692 -moz-padding-end: 0 !important;*/
1695 border-radius: 10000px;
1699 margin-bottom: -2px;
1702 #back-button:-moz-locale-dir(rtl) {
1705 #back-button > menupopup {
1706 margin-top: -1px !important;
1709 #back-button > .toolbarbutton-icon {
1710 border-radius: 10000px !important;
1711 background-clip: padding-box !important;
1712 /* background-color: hsla(210,25%,98%,.08) !important;
1713 padding: 6px !important;
1714 border-style: none !important;
1715 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1716 0 0 0 1px hsla(210,4%,10%,.25);*/
1717 transition-property: background-color, box-shadow !important;
1718 transition-duration: 250ms !important;
1721 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1722 /* background-color: hsla(210,4%,10%,.08) !important;*/
1725 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1726 #back-button[open="true"] > .toolbarbutton-icon {
1727 /* background-color: hsla(210,4%,10%,.12) !important;
1728 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1729 0 0 0 1px hsla(210,4%,10%,.25),
1730 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1733 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1734 transform: scaleX(-1);
1737 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1738 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1739 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1742 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1743 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1744 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1747 #home-button.bookmark-item {
1748 list-style-image: url("chrome://browser/skin/Toolbar.png");
1751 #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),
1752 #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),
1753 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1754 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1755 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1756 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1757 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1760 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1763 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1764 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1765 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1769 #downloads-button > .toolbarbutton-icon {
1773 /* tabview menu item */
1776 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1777 -moz-image-region: rect(1px, 89px, 17px, 73px);
1780 #menu_tabview[groups="0"] {
1781 -moz-image-region: rect(1px, 17px, 17px, 1px);
1784 #menu_tabview[groups="1"] {
1785 -moz-image-region: rect(1px, 35px, 17px, 19px);
1788 #menu_tabview[groups="2"] {
1789 -moz-image-region: rect(1px, 53px, 17px, 37px);
1792 #menu_tabview[groups="3"] {
1793 -moz-image-region: rect(1px, 71px, 17px, 55px);
1796 /* undo close tab menu item */
1797 #alltabs_undoCloseTab {
1798 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1801 @media (min-resolution: 1.1dppx) {
1802 #alltabs_undoCloseTab {
1803 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1805 #alltabs_undoCloseTab > .toolbarbutton-icon {
1810 /* zoom control text (reset) button special case: */
1812 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1813 /* To make this line up with the icons, it needs the same height (18px) +
1814 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1815 * increase in text sizes would break things...
1820 /* ::::: fullscreen window controls ::::: */
1823 -moz-margin-start: 4px;
1829 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1834 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1837 #minimize-button:hover {
1838 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1842 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1845 #restore-button:hover {
1846 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1850 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1853 #close-button:hover {
1854 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1857 /* ::::: Location Bar ::::: */
1860 .searchbar-textbox {
1863 -moz-margin-start: 3px;
1867 /* make color as light as possible to deal with dark non-domain parts */
1871 /* overlap the urlbar's border */
1872 #PopupAutoCompleteRichResult {
1876 #urlbar:-moz-lwtheme,
1877 .searchbar-textbox:-moz-lwtheme {
1878 /* background-color: rgba(255,255,255,.8);
1879 @navbarTextboxCustomBorder@
1883 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1884 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1885 /* background-color: rgba(255,255,255,.9);*/
1888 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1889 .searchbar-textbox:-moz-lwtheme[focused] {
1890 /* background-color: white;*/
1893 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1894 /* -moz-border-start: none;
1898 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1899 /* border-top-left-radius: 0;
1900 border-bottom-left-radius: 0; */
1903 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1904 /* border-top-right-radius: 0;
1905 border-bottom-right-radius: 0; */
1908 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1909 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1910 /* -moz-margin-start: -5px; */
1913 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1914 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1915 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1916 transform: scaleX(-1);
1919 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1920 -moz-box-direction: reverse;
1923 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1924 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1929 -moz-box-orient: horizontal;
1930 -moz-box-align: stretch;
1933 .urlbar-textbox-container {
1934 -moz-box-align: stretch;
1938 -moz-margin-start: 0;
1942 -moz-box-align: center;
1949 .searchbar-engine-button,
1950 .search-go-container {
1954 .search-go-container > .search-go-button {
1958 .urlbar-icon:hover {
1961 .urlbar-icon[open="true"],
1962 .urlbar-icon:hover:active {
1965 #urlbar-search-splitter {
1967 -moz-margin-start: -3px;
1969 background: transparent;
1972 #urlbar-search-splitter + #urlbar-container > #urlbar,
1973 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1974 -moz-margin-start: 0;
1977 #urlbar-display-box {
1981 -moz-border-end: 1px solid #9C9CFF;
1982 -moz-margin-end: 3px;
1985 -moz-margin-start: 0;
1990 min-width: calc(54px + 11ch);
2000 #identity-box:-moz-locale-dir(ltr) {
2001 /* border-top-left-radius: 1.5px;
2002 border-bottom-left-radius: 1.5px;*/
2005 #identity-box:-moz-locale-dir(rtl) {
2006 /* border-top-right-radius: 1.5px;
2007 border-bottom-right-radius: 1.5px;*/
2010 #notification-popup-box:not([hidden]) + #identity-box {
2011 -moz-padding-start: 10px !important;
2015 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
2016 /* border-radius: 0; */
2017 -moz-padding-start: 2px;
2018 -moz-padding-end: 2px;
2019 -moz-margin-end: 1px;
2022 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
2023 transition: padding-left, padding-right;
2026 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2027 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2031 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2032 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2036 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2037 #notification-popup-box[hidden] + #identity-box {
2038 /* forward button hiding is delayed when hovered */
2039 transition-delay: 100s;
2042 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2043 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2044 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2045 padding-left: 2.01px;
2048 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2049 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2050 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2051 padding-right: 2.01px;
2054 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2055 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2056 -moz-margin-end: 3px;
2059 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
2060 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
2061 border-top-right-radius: 0;
2062 border-bottom-right-radius: 0;
2065 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
2066 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
2067 border-top-left-radius: 0;
2068 border-bottom-left-radius: 0;
2071 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2072 var(--verified-identity-box-backgroundcolor);
2075 #identity-box:-moz-focusring {
2076 outline: 1px dotted #008484;
2077 outline-offset: -1px;
2080 #identity-box.verifiedDomain:-moz-focusring,
2081 #identity-box.verifiedIdentity:-moz-focusring {
2082 outline-color: #000000;
2085 #identity-icon-labels {
2086 -moz-margin-start: 1px;
2087 -moz-margin-end: 3px;
2090 /* Location bar dropmarker */
2092 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2093 background-color: transparent;
2096 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2097 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
2098 #urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
2103 .urlbar-history-dropmarker:hover {
2106 .urlbar-history-dropmarker:hover:active,
2107 .urlbar-history-dropmarker[open="true"] {
2110 /* page proxy icon */
2112 /* === BEGIN identity-block.inc.css === */
2115 --identity-box-verified-color: #008484;
2116 /* Default theme does different color per channel, we can't as they do it build-time. */
2117 --identity-box-chrome-color: #9C9CFF;
2120 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2121 color: var(--identity-box-chrome-color);
2122 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2125 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2126 color: var(--identity-box-verified-color);
2127 -moz-border-end: 1px solid var(--identity-box-verified-color);
2130 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2131 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2132 background-position: right;
2133 background-size: 1px;
2134 background-repeat: no-repeat;
2137 /* page proxy icon */
2139 #page-proxy-favicon {
2142 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2146 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2147 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2150 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2151 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2154 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2155 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2158 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2159 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2162 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2163 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2166 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2167 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2170 #page-proxy-favicon[pageproxystate="invalid"] {
2174 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2175 list-style-image: url("chrome://branding/content/icon64.png");
2178 #identity-popup-brandName {
2182 margin-bottom: .5em;
2185 #identity-popup-content-box {
2189 #urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon {
2190 -moz-image-region: inherit;
2191 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2197 /* MAIN IDENTITY ICON */
2202 list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
2205 #identity-box:hover > #identity-icon,
2206 #identity-box[open=true] > #identity-icon {
2207 list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
2210 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
2211 list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
2214 #urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
2218 #urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
2219 -moz-image-region: inherit;
2220 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2226 /* TRACKING PROTECTION ICON */
2228 #tracking-protection-icon {
2231 margin-inline-start: 2px;
2232 margin-inline-end: 0;
2233 list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
2237 #tracking-protection-icon[state="loaded-tracking-content"] {
2238 list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
2241 #tracking-protection-icon[animate] {
2242 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2245 #tracking-protection-icon:not([state]) {
2246 margin-inline-end: -18px;
2247 pointer-events: none;
2249 /* Only animate the shield in, when it disappears hide it immediately. */
2253 #urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
2254 visibility: collapse;
2257 /* CONNECTION ICON */
2262 margin-inline-start: 2px;
2263 visibility: collapse;
2266 #urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
2267 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
2268 list-style-image: url(chrome://browser/skin/identity-secure.svg);
2269 visibility: visible;
2272 #urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
2273 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
2274 list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
2275 visibility: visible;
2278 #urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
2279 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
2280 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
2281 list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
2282 visibility: visible;
2285 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
2286 list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
2287 visibility: visible;
2290 /* === END identity-block.inc.css === */
2292 #page-proxy-favicon {
2293 -moz-image-region: rect(0, 16px, 16px, 0);
2296 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2297 /* -moz-margin-end: 1px;*/
2300 #identity-box:hover > #page-proxy-favicon {
2301 -moz-image-region: rect(0, 32px, 16px, 16px);
2304 #identity-box:hover:active > #page-proxy-favicon,
2305 #identity-box[open=true] > #page-proxy-favicon {
2306 -moz-image-region: rect(0, 48px, 16px, 32px);
2309 #identity-box:hover {
2310 background-color: #FFCF00;
2314 #identity-box:hover:active,
2315 #identity-box[open=true] {
2316 background-color: #FF9F00;
2320 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2321 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2322 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2323 background-color: #9C9CFF;
2327 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2328 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2329 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2330 background-color: #008484;
2336 #treecolAutoCompleteImage {
2340 .ac-result-type-bookmark,
2341 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2342 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2343 -moz-image-region: rect(0px 16px 16px 0px);
2348 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2349 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2350 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2353 .ac-result-type-keyword,
2354 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2355 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2356 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2361 .ac-result-type-keyword[selected="true"],
2362 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2363 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2364 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2367 .ac-result-type-tag,
2368 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2369 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2378 .ac-extra > .ac-comment {
2388 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2389 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2390 -moz-image-region: rect(0, 16px, 16px, 0);
2394 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2395 -moz-image-region: rect(16px, 16px, 32px, 0);
2398 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2402 .ac-comment[selected="true"],
2403 .ac-url-text[selected="true"],
2404 .ac-action-text[selected="true"] {
2405 color: inherit !important;
2408 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2409 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2415 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2416 border-top: 1px solid #9C9CFF;
2419 /* combined go/reload/stop button in location bar */
2422 #urlbar-reload-button,
2423 #urlbar-stop-button {
2425 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2426 /* padding: 0 9px;*/
2427 margin-inline-start: 2px;
2428 border-inline-start: 1px solid var(--urlbar-separator-color);
2429 border-image: linear-gradient(transparent 15%,
2430 var(--urlbar-separator-color) 15%,
2431 var(--urlbar-separator-color) 85%,
2433 border-image-slice: 1;
2436 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2437 border-top-left-radius: 0px;
2438 border-bottom-left-radius: 0px;
2441 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2442 border-top-right-radius: 0px;
2443 border-bottom-right-radius: 0px;
2446 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2447 #urlbar-reload-button:not(:hover) {
2448 -moz-border-start-style: none;
2449 -moz-padding-start: 3px;
2452 #urlbar-reload-button {
2453 -moz-image-region: rect(0px, 14px, 14px, 0px);
2456 #urlbar-reload-button[disabled=true] {
2457 -moz-image-region: rect(28px, 14px, 42px, 0px);
2460 #urlbar-reload-button:not([disabled=true]):hover {
2461 -moz-image-region: rect(14px, 14px, 28px, 0px);
2464 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2465 transform: scaleX(-1);
2469 -moz-image-region: rect(0, 42px, 14px, 28px);
2472 #urlbar-go-button:hover {
2473 -moz-image-region: rect(14px, 42px, 28px, 28px);
2476 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2477 transform: scaleX(-1);
2480 #urlbar-stop-button {
2481 -moz-image-region: rect(0px, 28px, 14px, 14px);
2484 #urlbar-stop-button:hover {
2485 -moz-image-region: rect(14px, 28px, 28px, 14px);
2488 @media (min-resolution: 1.1dppx) {
2490 #urlbar-reload-button,
2491 #urlbar-stop-button {
2492 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2495 #urlbar-go-button > .toolbarbutton-icon,
2496 #urlbar-reload-button > .toolbarbutton-icon,
2497 #urlbar-stop-button > .toolbarbutton-icon {
2502 -moz-image-region: rect(0, 84px, 28px, 56px);
2505 #urlbar-go-button:hover {
2506 -moz-image-region: rect(28px, 84px, 56px, 56px);
2509 #urlbar-go-button:hover:active {
2510 -moz-image-region: rect(56px, 84px, 84px, 56px);
2513 #urlbar-reload-button {
2514 -moz-image-region: rect(0, 28px, 28px, 0);
2517 #urlbar-reload-button:not([disabled]):hover {
2518 -moz-image-region: rect(28px, 28px, 56px, 0);
2521 #urlbar-reload-button:not([disabled]):hover:active {
2522 -moz-image-region: rect(56px, 28px, 84px, 0);
2525 #urlbar-stop-button {
2526 -moz-image-region: rect(0, 56px, 28px, 28px);
2529 #urlbar-stop-button:not([disabled]):hover {
2530 -moz-image-region: rect(28px, 56px, 56px, 28px);
2533 #urlbar-stop-button:hover:active {
2534 -moz-image-region: rect(56px, 56px, 84px, 28px);
2538 /* popup blocker button */
2540 #page-report-button {
2541 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2542 -moz-image-region: rect(0, 16px, 16px, 0);
2545 #page-report-button:hover ,
2546 #page-report-button:hover:active,
2547 #page-report-button[open="true"] {
2548 -moz-image-region: rect(0, 32px, 16px, 16px);
2551 /* === BEGIN readinglist.inc.css === */
2553 /* Reading List button */
2555 #urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
2560 #readinglist-addremove-button {
2561 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
2562 -moz-image-region: rect(0, 14px, 14px, 0);
2563 transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
2568 #readinglist-addremove-button:hover {
2569 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
2572 #readinglist-addremove-button:active {
2573 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
2576 #readinglist-addremove-button[already-added="true"] {
2577 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
2580 #readinglist-addremove-button[already-added="true"]:hover {
2581 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
2584 #readinglist-addremove-button[already-added="true"]:active {
2585 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
2588 /* === END readinglist.inc.css === */
2590 /* Reader mode button */
2592 #reader-mode-button {
2593 list-style-image: url("chrome://browser/skin/readerMode.svg");
2594 -moz-image-region: rect(0, 16px, 16px, 0);
2597 #reader-mode-button:hover,
2598 #reader-mode-button[readeractive]:hover {
2599 -moz-image-region: rect(0, 32px, 16px, 16px);
2602 #reader-mode-button:hover:active,
2603 #reader-mode-button[readeractive] {
2604 -moz-image-region: rect(0, 48px, 16px, 32px);
2607 /* social share panel */
2609 .social-share-frame {
2616 background-color: white;
2617 background-repeat: no-repeat;
2618 background-position: center center;
2620 #share-container[loading] {
2621 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2623 #share-container > browser {
2624 transition: opacity 150ms ease-in-out;
2627 #share-container[loading] > browser {
2631 .social-share-toolbar {
2632 border-bottom: 1px solid #9C9CFF;
2636 #social-share-provider-buttons {
2641 .share-provider-button {
2646 .share-provider-button > .toolbarbutton-text {
2649 .share-provider-button > .toolbarbutton-icon {
2655 /* fixup corners for share panel */
2656 .social-panel > .social-panel-frame {
2657 border-radius: inherit;
2660 #social-share-panel {
2666 .social-share-frame {
2667 border-top-left-radius: 0;
2668 border-bottom-left-radius: inherit;
2669 border-top-right-radius: 0;
2670 border-bottom-right-radius: inherit;
2673 #social-share-panel > .social-share-toolbar {
2674 border-top-left-radius: inherit;
2675 border-top-right-radius: inherit;
2678 #social-share-provider-buttons {
2679 border-top-left-radius: inherit;
2680 border-top-right-radius: inherit;
2683 /* social recommending panel */
2685 #social-mark-button {
2686 -moz-image-region: rect(0, 16px, 16px, 0);
2689 /* bookmarks menu-button */
2691 #bookmarks-menu-button.bookmark-item {
2692 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2693 -moz-image-region: rect(0px 16px 16px 0px);
2696 #bookmarks-menu-button.bookmark-item[starred] {
2697 -moz-image-region: rect(0px 32px 16px 16px);
2700 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2701 -moz-margin-start: 5px;
2704 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2706 padding-bottom: 2px;
2709 #BMB_bookmarksPopup[side="top"],
2710 #BMB_bookmarksPopup[side="bottom"] {
2712 margin-right: -20px;
2715 #BMB_bookmarksPopup[side="left"],
2716 #BMB_bookmarksPopup[side="right"] {
2718 margin-bottom: -20px;
2721 /* bookmarking panel */
2723 #editBookmarkPanelStarIcon {
2724 list-style-image: url("chrome://browser/skin/places/starred48.png");
2729 #editBookmarkPanelStarIcon[unstarred] {
2730 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2733 #editBookmarkPanelTitle {
2737 #editBookmarkPanelHeader,
2738 #editBookmarkPanelContent {
2739 margin-bottom: .5em;
2742 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2743 #editBMPanel_folderTree {
2750 border-top: 1px solid #9C9CFF;
2751 border-bottom-left-radius: 5px;
2752 border-bottom-right-radius: 5px;
2756 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2757 -moz-margin-end: 10px;
2758 vertical-align: middle;
2761 .panel-promo-closebutton {
2762 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2763 -moz-margin-end: -3px;
2767 .panel-promo-closebutton:hover {
2768 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2771 .panel-promo-closebutton:hover:active {
2772 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2775 .panel-promo-closebutton > .toolbarbutton-text {
2779 /* ::::: content area ::::: */
2782 background-color: #9C9CFF;
2787 background-color: #000000;
2791 -moz-margin-start: 0;
2800 -moz-padding-start: 0px;
2803 #sidebar-header > .close-icon {
2804 /* padding: 4px 2px;
2807 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2810 #sidebar-header > .close-icon:hover,
2811 #sidebar-header > .close-icon:hover:active {
2812 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2815 #sidebar-splitter:-moz-locale-dir(ltr),
2816 #sidebar:-moz-locale-dir(ltr) {
2817 border-radius: 0 5px 0 0;
2820 #sidebar-splitter:-moz-locale-dir(rtl),
2821 #sidebar:-moz-locale-dir(rtl) {
2822 border-radius: 5px 0 0 0;
2825 .browserContainer > findbar {
2827 background-color: -moz-dialog;
2828 color: -moz-DialogText;
2837 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2840 #TabsToolbar .toolbar-holder {
2841 background-color: #000000; /* correct effect of being an actual toolbar */
2844 #main-window[disablechrome] #TabsToolbar,
2845 #TabsToolbar[tabsontop="false"] {
2846 border-bottom: 1px solid #008484;
2849 /* === BEGIN tabs.inc.css === */
2852 /* --tab-toolbar-navbar-overlap: 1px; */
2853 /* --tab-min-height: 31px; */
2854 /* --tab-curve-width: 30px; */
2855 /* --tab-curve-half-width: 15px; */
2859 .tabs-newtab-button,
2860 #TabsToolbar > #new-tab-button {
2865 padding: 1px 4px 2px;
2868 .tabbrowser-tab:first-of-type {
2869 -moz-margin-start: 2px;
2872 .tabs-newtab-button,
2873 #TabsToolbar > #new-tab-button {
2874 border-radius: 8px 8px 0px 0px;
2875 -moz-margin-start: 0;
2878 .tabs-newtab-button:not(:hover),
2879 #TabsToolbar > #new-tab-button:not(:hover) {
2880 background-color: #C09070;
2883 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2884 .tabbrowser-tab[visuallyselected=true] {
2885 /* position: relative;
2889 .tab-background-middle {
2895 .tab-content[pinned] {
2907 -moz-margin-end: 3px;
2911 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2917 /* margin-top: 10px; */
2918 -moz-margin-start: -16px;
2922 .tab-icon-overlay[crashed] {
2924 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2927 .tab-throbber[busy] {
2928 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2931 .tab-throbber[progress] {
2932 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2935 .tab-throbber[pinned],
2936 .tab-icon-image[pinned] {
2937 -moz-margin-start: 2px;
2938 -moz-margin-end: 2px;
2942 /* this needs to add up to the 16px of the icon image */
2944 margin-top: 2px !important;
2945 margin-bottom: 2px !important;
2954 .tabs-newtab-button {
2955 /* overlap the tab curves */
2958 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2962 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2963 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2966 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2967 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2970 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2973 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2976 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2977 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2980 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2981 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2984 .tab-background-start[visuallyselected=true]::after,
2985 .tab-background-start[visuallyselected=true]::before,
2986 .tab-background-start,
2987 .tab-background-end,
2988 .tab-background-end[visuallyselected=true]::after,
2989 .tab-background-end[visuallyselected=true]::before {
2992 .tabbrowser-tab:not([visuallyselected=true]),
2993 .tabbrowser-tab:-moz-lwtheme {
2996 /* tabbrowser-tab focus ring */
2997 .tabbrowser-tab:focus {
2998 outline: 1px dotted;
3003 .tabbrowser-tab[visuallyselected="true"] {
3006 /* End selected tab */
3008 /* Tab pointer-events */
3011 pointer-events: none;
3014 .tab-background-middle,
3015 .tabs-newtab-button,
3017 pointer-events: auto;
3022 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
3023 background-color: #E7ADE7;
3026 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
3027 background-color: #3333FF;
3031 /* New tab button */
3033 .tabs-newtab-button {
3035 /* width: calc(36px + var(--tab-curve-width)); */
3038 /* === END tabs.inc.css === */
3042 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
3043 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
3044 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
3046 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
3047 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
3050 /* Tab DnD indicator */
3051 .tab-drop-indicator {
3052 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
3053 margin-bottom: -11px;
3056 /* Tab close button */
3058 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3061 .tab-close-button:hover,
3062 .tab-close-button:hover[selected="true"] {
3063 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3066 .tab-close-button:hover:active,
3067 .tab-close-button:hover:active[selected="true"] {
3068 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3071 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
3073 .tabbrowser-arrowscrollbox > .scrollbutton-up,
3074 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3078 background-origin: border-box;
3081 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3082 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3083 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
3084 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
3087 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
3088 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
3091 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
3092 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
3093 /* transform: scaleX(-1);*/
3096 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3097 transition: 1s background-color ease-out;
3100 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
3101 background-color: #008484;
3104 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
3105 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
3106 /* border-width: 0 2px 0 0;
3107 border-style: solid;
3108 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
3111 .tabs-newtab-button > .toolbarbutton-icon {
3113 margin-bottom: -1px;
3116 .tabs-newtab-button,
3117 #TabsToolbar > #new-tab-button,
3118 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
3119 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
3120 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
3121 -moz-image-region: rect(0, 16px, 18px, 0);
3124 .tabs-newtab-button,
3125 .tabs-newtab-button:hover,
3126 #TabsToolbar > #new-tab-button,
3127 #TabsToolbar > #new-tab-button:hover {
3128 -moz-image-region: rect(0, 32px, 18px, 16px);
3131 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3132 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3133 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3134 .tabs-newtab-button:-moz-lwtheme-brighttext,
3135 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3136 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
3139 #TabsToolbar > #new-tab-button {
3144 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
3147 #alltabs-button:hover,
3148 #alltabs-button:hover:active,
3149 #alltabs-button[open="true"] {
3150 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
3153 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3154 #alltabs-button:-moz-lwtheme-brighttext {
3157 #alltabs-button > .toolbarbutton-icon {
3161 #alltabs-button > .toolbarbutton-menu-dropmarker {
3165 /* All tabs menupopup */
3166 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
3167 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
3168 -moz-image-region: auto;
3171 .alltabs-item[selected="true"] {
3175 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3176 list-style-image: url("chrome://global/skin/icons/loading.gif");
3179 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
3180 background-color: #402800;
3183 toolbarbutton.chevron {
3184 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
3187 toolbarbutton.chevron:hover {
3188 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
3191 toolbar[brighttext] toolbarbutton.chevron {
3192 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3195 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3196 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
3197 transform: scaleX(-1);
3200 toolbarbutton.chevron > .toolbarbutton-text,
3201 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3205 toolbarbutton.chevron > .toolbarbutton-icon {
3209 #sidebar-throbber[loading="true"] {
3210 list-style-image: url("chrome://global/skin/icons/loading.gif");
3211 -moz-margin-end: 4px;
3214 /* Bookmarks toolbar */
3215 #PlacesToolbarDropIndicator {
3216 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
3219 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3220 background-color: #008484 !important;
3221 color: #FFCF00 !important;
3224 /* rules for menupopup drop indicators */
3225 .menupopup-drop-indicator-bar {
3227 /* these two margins must together compensate the indicator's height */
3229 margin-bottom: -1px;
3232 .menupopup-drop-indicator {
3233 list-style-image: none;
3235 -moz-margin-end: -4em;
3236 background-color: #008484;
3239 /* === BEGIN notification-icons.inc.css === */
3241 .popup-notification-icon {
3244 -moz-margin-end: 10px;
3247 .popup-notification-icon[popupid="geolocation"] {
3248 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3251 .popup-notification-icon[popupid="push"] {
3252 list-style-image: url(chrome://browser/skin/Push-64.png);
3255 .popup-notification-icon[popupid="xpinstall-disabled"],
3256 .popup-notification-icon[popupid="addon-install-blocked"],
3257 .popup-notification-icon[popupid="addon-install-origin-blocked"] {
3258 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3261 .popup-notification-icon[popupid="addon-progress"] {
3262 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3265 .popup-notification-icon[popupid="addon-install-failed"] {
3266 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3269 .popup-notification-icon[popupid="addon-install-confirmation"] {
3270 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3273 #addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3274 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3277 .popup-notification-icon[popupid="addon-install-complete"] {
3278 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3281 .popup-notification-icon[popupid="addon-install-restart"] {
3282 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
3285 .popup-notification-icon[popupid="click-to-play-plugins"] {
3286 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3289 .popup-notification-icon[popupid="web-notifications"] {
3290 list-style-image: url("chrome://browser/skin/notification-64.png");
3293 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3294 .popup-notification-icon[popupid*="offline-app-requested"],
3295 .popup-notification-icon[popupid="offline-app-usage"] {
3296 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3299 .popup-notification-icon[popupid="password"] {
3300 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3303 .popup-notification-icon[popupid="webapps-install-progress"],
3304 .popup-notification-icon[popupid="webapps-install"] {
3305 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3308 .popup-notification-icon[popupid="bad-content"] {
3309 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3312 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3313 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3314 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3317 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3318 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3319 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3322 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3323 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3324 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3327 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3328 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3329 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3332 .popup-notification-icon[popupid="pointerLock"] {
3333 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3336 /* Notification icon box */
3337 #notification-popup .panel-promo-box {
3338 /* margin: 10px -10px -10px; */
3341 #notification-popup-box {
3343 background-color: #000000;
3344 background-clip: padding-box;
3347 border-radius: 3px 0 0 3px;
3348 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3349 -moz-margin-end: -8px;
3350 border-right-width: 8px;
3353 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3354 /* padding-left: 7px; */
3357 #notification-popup-box:-moz-locale-dir(rtl),
3358 .notification-anchor-icon:-moz-locale-dir(rtl) {
3359 transform: scaleX(-1);
3362 .notification-anchor-icon {
3363 list-style-image: url("chrome://global/skin/icons/information-16.png");
3370 .notification-anchor-icon:-moz-focusring {
3371 outline: 1px dotted #008484;
3374 .identity-notification-icon,
3375 #identity-notification-icon {
3376 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3379 .geo-notification-icon,
3380 #geo-notification-icon {
3381 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3384 #push-notification-icon {
3385 list-style-image: url(chrome://browser/skin/Push-16.png);
3388 #addons-notification-icon {
3389 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3392 #addons-notification-icon:hover {
3393 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3396 #addons-notification-icon:hover:active {
3397 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
3400 .indexedDB-notification-icon,
3401 #indexedDB-notification-icon {
3402 list-style-image: url("chrome://global/skin/icons/question-16.png");
3405 #password-notification-icon {
3406 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3409 #login-fill-notification-icon {
3410 /* Temporary icon until the capture and fill doorhangers are unified. */
3411 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3412 transform: scaleX(-1);
3415 #webapps-notification-icon {
3416 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3419 #plugins-notification-icon {
3420 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3423 #plugins-notification-icon.plugin-hidden {
3424 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3427 #plugins-notification-icon.plugin-blocked {
3428 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3431 #plugins-notification-icon {
3432 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3435 #plugins-notification-icon:hover {
3436 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3439 #notification-popup-box[hidden] {
3440 /* Override display:none to make the pluginBlockedNotification animation work
3441 when showing the notification repeatedly. */
3443 visibility: collapse;
3446 #plugins-notification-icon.plugin-blocked[showing] {
3447 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3450 @keyframes pluginBlockedNotification {
3459 .bad-content-blocked-notification-icon,
3460 #bad-content-blocked-notification-icon {
3461 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3464 .bad-content-unblocked-notification-icon,
3465 #bad-content-unblocked-notification-icon {
3466 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3469 .webRTC-shareDevices-notification-icon,
3470 #webRTC-shareDevices-notification-icon {
3471 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3474 .webRTC-sharingDevices-notification-icon,
3475 #webRTC-sharingDevices-notification-icon {
3476 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3479 .webRTC-shareMicrophone-notification-icon,
3480 #webRTC-shareMicrophone-notification-icon {
3481 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3484 .webRTC-sharingMicrophone-notification-icon,
3485 #webRTC-sharingMicrophone-notification-icon {
3486 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3489 .webRTC-shareScreen-notification-icon,
3490 #webRTC-shareScreen-notification-icon {
3491 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3494 .webRTC-sharingScreen-notification-icon,
3495 #webRTC-sharingScreen-notification-icon {
3496 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3499 .web-notifications-notification-icon,
3500 #web-notifications-notification-icon {
3501 list-style-image: url("chrome://browser/skin/notification-16.png");
3504 #pointerLock-notification-icon {
3505 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3508 .translate-notification-icon,
3509 #translate-notification-icon {
3510 list-style-image: url("chrome://browser/skin/translation-16.png");
3511 -moz-image-region: rect(0px, 16px, 16px, 0px);
3514 .translated-notification-icon,
3515 #translated-notification-icon {
3516 list-style-image: url("chrome://browser/skin/translation-16.png");
3517 -moz-image-region: rect(0px, 32px, 16px, 16px);
3520 .popup-notification-icon[popupid="servicesInstall"] {
3521 list-style-image: url("chrome://browser/skin/social/services-64.png");
3523 #servicesInstall-notification-icon {
3524 list-style-image: url("chrome://browser/skin/social/services-16.png");
3527 /* EME notifications */
3529 .popup-notification-icon[popupid="drmContentPlaying"],
3530 #eme-notification-icon {
3531 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3534 #eme-notification-icon:hover:active {
3535 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3538 #eme-notification-icon[firstplay=true] {
3539 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3542 @keyframes emeTeachingMoment {
3543 0% {transform: translateX(0); }
3544 25% {transform: translateX(3px) }
3545 75% {transform: translateX(-3px) }
3546 100% { transform: translateX(0); }
3549 /* HiDPI notification icons */
3550 @media (min-resolution: 1.1dppx) {
3551 /* #notification-popup-box {
3552 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3555 .notification-anchor-icon {
3556 list-style-image: url(chrome://global/skin/icons/information-32.png);
3559 .webRTC-shareDevices-notification-icon,
3560 #webRTC-shareDevices-notification-icon {
3561 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3564 .webRTC-sharingDevices-notification-icon,
3565 #webRTC-sharingDevices-notification-icon {
3566 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3569 .webRTC-shareMicrophone-notification-icon,
3570 #webRTC-shareMicrophone-notification-icon {
3571 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3574 .webRTC-sharingMicrophone-notification-icon,
3575 #webRTC-sharingMicrophone-notification-icon {
3576 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3579 .webRTC-shareScreen-notification-icon,
3580 #webRTC-shareScreen-notification-icon {
3581 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3584 .webRTC-sharingScreen-notification-icon,
3585 #webRTC-sharingScreen-notification-icon {
3586 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3589 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3590 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3591 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3594 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3595 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3596 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3599 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3600 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3601 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3605 /* === END notification-icons.inc.css === */
3607 .popup-notification-body[popupid="addon-progress"],
3608 .popup-notification-body[popupid="addon-install-confirmation"] {
3613 /* Translation infobar */
3615 /* === BEGIN infobar.inc.css === */
3617 notification[value="translation"] .messageImage {
3618 list-style-image: url("chrome://browser/skin/translation-16.png");
3619 -moz-image-region: rect(0, 32px, 16px, 16px);
3622 @media (min-resolution: 1.25dppx) {
3623 notification[value="translation"] .messageImage {
3624 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3625 -moz-image-region: rect(0, 64px, 32px, 32px);
3629 notification[value="translation"][state="translating"] .messageImage {
3630 list-style-image: url("chrome://browser/skin/translating-16.png");
3631 -moz-image-region: auto;
3634 @media (min-resolution: 1.25dppx) {
3635 notification[value="translation"][state="translating"] .messageImage {
3636 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3640 notification[value="translation"] hbox[anonid="details"] {
3644 notification[value="translation"] button,
3645 notification[value="translation"] menulist {
3649 notification[value="translation"] menulist > .menulist-dropmarker {
3652 .translation-menupopup arrowscrollbox {
3656 .translation-attribution {
3658 -moz-box-align: end;
3662 .translation-attribution > label {
3666 .translation-attribution > image {
3670 .translation-welcome-panel {
3674 .translation-welcome-logo {
3677 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3678 -moz-image-region: rect(0, 64px, 32px, 32px);
3681 .translation-welcome-content {
3682 -moz-margin-start: 16px;
3685 .translation-welcome-headline {
3690 .translation-welcome-body {
3695 /* === END infobar.inc.css === */
3697 notification[value="translation"] {
3701 .translation-menupopup {
3702 -moz-appearance: none;
3705 /* Loop/ Hello browser styles */
3707 notification[value="loop-sharing-notification"] .button-menubutton-button {
3713 notification[value="loop-sharing-notification"] .messageImage {
3714 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3717 /* Bookmarks roots menu-items */
3718 #subscribeToPageMenuitem:not([disabled]),
3719 #subscribeToPageMenupopup,
3720 #BMB_subscribeToPageMenuitem:not([disabled]),
3721 #BMB_subscribeToPageMenupopup {
3722 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3725 #bookmarksToolbarFolderMenu,
3726 #BMB_bookmarksToolbar,
3727 #panelMenu_bookmarksToolbar {
3728 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3729 -moz-image-region: auto;
3732 #BMB_unsortedBookmarks,
3733 #panelMenu_unsortedBookmarks {
3734 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3735 -moz-image-region: auto;
3740 list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg");
3741 -moz-image-region: auto;
3747 list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
3750 /* ::::: Keyboard UI Panel ::::: */
3755 border-radius: 20px;
3758 .KUI-panel[level="top"] {
3759 /*background-color: rgba(27%,27%,27%,.65);*/
3765 padding: 20px 10px 10px;
3769 .ctrlTab-favicon[src] {
3770 background-color: #000000;
3776 .ctrlTab-preview-inner > .tabPreview-canvas {
3779 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3783 .ctrlTab-preview-inner {
3784 padding-bottom: 10px;
3787 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3789 background-color: #000000;
3790 border-radius: .5em;
3793 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3795 background-color: #000000;
3798 border: 2px solid #9C9CFF;
3799 border-radius: .5em;
3802 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3803 margin: -10px -10px 0;
3815 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3823 .sync-panel-button-box {
3827 #sync-error-panel-title,
3828 #sync-start-panel-title {
3834 #sync-start-panel-subtitle,
3835 #sync-error-panel-subtitle {
3841 .statuspanel-label {
3844 background: #404000;
3845 border: 1px none #9C9CFF;
3846 border-top-style: solid;
3851 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3852 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3853 border-right-style: solid;
3854 border-top-right-radius: .3em;
3858 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3859 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3860 border-left-style: solid;
3861 border-top-left-radius: .3em;
3865 /* HACK to abolish devily color on main content */
3868 background-color: transparent !important;
3871 #full-screen-warning-message {
3872 background-color: #000000;
3877 box-shadow: 0 0 2px #9C9CFF;
3880 #full-screen-warning-container[obscure-browser] {
3881 background-color: rgba(0,0,0,0.3);
3884 .full-screen-description {
3888 #full-screen-domain-text {
3892 .full-screen-approval-button,
3893 #full-screen-remember-decision {
3897 /* === BEGIN commandline.inc.css === */
3899 /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
3900 We are copy/pasting variables from light-theme and dark-theme,
3901 since they aren't loaded in this context (within browser.css). */
3902 :root #developer-toolbar {
3903 --gcli-background-color: #000000; /* --theme-toolbar-background */
3904 --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
3905 --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
3906 --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
3907 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
3908 --selection-background: #008484; /* --theme-selection-background */
3909 --selection-color: #000000; /* --theme-selection-color */
3912 /* Developer toolbar */
3914 #developer-toolbar {
3915 border-top: 3px solid var(--gcli-background-color);
3916 border-bottom: none;
3919 #developer-toolbar .toolbar-holder {
3920 background-color: #8050B0;
3924 #developer-toolbar .toolbar-holder {
3925 background-color: #8050B0;
3929 #developer-toolbar .toolbar-startcap,
3930 #developer-toolbar .toolbar-endcap{
3931 background-color: #6000CF;
3934 #developer-toolbar {
3936 min-height: 32px; */
3939 #developer-toolbar > toolbarbutton {
3945 .developer-toolbar-button > image {
3946 /* margin: auto 10px; */
3949 #developer-toolbar-toolbox-button > label {
3953 .developer-toolbar-button > .toolbarbutton-icon,
3954 #developer-toolbar-closebutton > .toolbarbutton-icon {
3959 #developer-toolbar-toolbox-button {
3960 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3961 -moz-image-region: rect(0px, 16px, 16px, 0px);
3964 #developer-toolbar-toolbox-button > label {
3968 #developer-toolbar-toolbox-button:hover,
3969 #developer-toolbar-toolbox-button:hover:active,
3970 #developer-toolbar-toolbox-button[checked=true] {
3971 -moz-image-region: rect(0px, 32px, 16px, 16px);
3974 @media (min-resolution: 2dppx) {
3975 #developer-toolbar-toolbox-button {
3976 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3977 -moz-image-region: rect(0px, 32px, 32px, 0px);
3980 #developer-toolbar-toolbox-button:hover,
3981 #developer-toolbar-toolbox-button:hover:active,
3982 #developer-toolbar-toolbox-button[checked=true] {
3983 -moz-image-region: rect(0px, 64px, 32px, 32px);
3987 #developer-toolbar-closebutton {
3988 list-style-image: url("chrome://browser/skin/devtools/close.png");
3989 -moz-image-region: rect(0px, 16px, 16px, 0px);
3994 #developer-toolbar-closebutton > .toolbarbutton-icon {
3997 #developer-toolbar-closebutton > .toolbarbutton-text {
4001 #developer-toolbar-closebutton:hover,
4002 #developer-toolbar-closebutton:hover:active {
4003 -moz-image-region: rect(0px, 32px, 16px, 16px);
4006 @media (min-resolution: 2dppx) {
4007 #developer-toolbar-closebutton {
4008 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4009 -moz-image-region: rect(0px, 32px, 32px, 0px);
4012 #developer-toolbar-closebutton:hover,
4013 #developer-toolbar-closebutton:hover:active {
4014 -moz-image-region: rect(0px, 64px, 32px, 32px);
4020 html|*#gcli-tooltip-frame,
4021 html|*#gcli-output-frame {
4024 background-color: transparent;
4030 background-color: transparent;
4033 .gclitoolbar-input-node,
4034 .gclitoolbar-complete-node {
4036 -moz-box-align: center;
4040 background-color: transparent;
4043 .gclitoolbar-input-node {
4044 /* line-height: 32px;
4045 outline-style: none; */
4046 background-repeat: no-repeat;
4047 background-color: var(--gcli-input-background);
4050 .gclitoolbar-input-node[focused="true"] {
4051 background-color: var(--gcli-input-focused-background);
4054 .gclitoolbar-input-node::before {
4056 display: inline-block;
4057 -moz-box-ordinal-group: 0;
4061 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
4062 background-position: 0 center;
4063 background-size: 32px 16px;
4066 .gclitoolbar-input-node[focused="true"]::before {
4067 background-position: -16px center;
4070 @media (min-resolution: 2dppx) {
4071 .gclitoolbar-input-node::before {
4072 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
4076 .gclitoolbar-input-node:not([focused="true"]) {
4077 border-color: transparent;
4080 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
4081 background-color: var(--selection-background);
4082 color: var(--selection-color);
4085 .gclitoolbar-complete-node {
4087 background-color: transparent;
4090 pointer-events: none;
4093 .gcli-in-incomplete,
4097 .gcli-in-closebrace,
4104 .gcli-in-incomplete {
4105 border-bottom: 2px dotted #8050B0;
4109 border-bottom: 2px dotted #FF0000;
4120 .gcli-in-closebrace {
4124 /* === END commandline.inc.css === */
4126 /* === BEGIN responsivedesign.inc.css === */
4128 /* Responsive Mode */
4130 .browserContainer[responsivemode] {
4131 background-color: #221500;
4132 padding: 0 20px 20px 20px;
4135 .browserStack[responsivemode] {
4136 box-shadow: 0 0 7px #9C9CFF;
4139 .devtools-responsiveui-toolbar {
4140 background: transparent;
4141 /* text color is textColor from dark theme, since no theme is applied to
4142 * the responsive toolbar.
4148 border-bottom-width: 0;
4151 .devtools-responsiveui-menulist,
4152 .devtools-responsiveui-toolbarbutton {
4153 -moz-box-align: center;
4155 /* min-height: 22px;*/
4156 /* margin: 0 3px; */
4159 .devtools-responsiveui-menulist .menulist-editable-box {
4160 background-color: transparent;
4163 .devtools-responsiveui-menulist html|*.menulist-editable-input {
4168 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
4169 /* background: hsla(212,7%,57%,.35);*/
4172 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4177 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4178 -moz-box-orient: horizontal;
4181 .devtools-responsiveui-menulist:-moz-focusring,
4182 .devtools-responsiveui-toolbarbutton:-moz-focusring {
4183 /* outline: 1px dotted hsla(210,30%,85%,0.7);
4184 outline-offset: -4px;*/
4187 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4191 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4192 /* border-color: hsla(210,8%,5%,.6);
4193 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4194 box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
4197 .devtools-responsiveui-menulist[open=true],
4198 .devtools-responsiveui-toolbarbutton[open=true],
4199 .devtools-responsiveui-toolbarbutton[checked=true] {
4200 /* border-color: hsla(210,8%,5%,.6) !important;
4201 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4202 box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
4205 .devtools-responsiveui-toolbarbutton[checked=true] {
4206 /* color: hsl(208,100%,60%); */
4209 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
4210 /* background-color: transparent !important;*/
4213 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4214 /* background-color: hsla(210,8%,5%,.2) !important;*/
4217 .devtools-responsiveui-menulist > .menulist-label-box {
4221 .devtools-responsiveui-menulist > .menulist-dropmarker {
4222 /* display: -moz-box;
4223 background-color: transparent;
4224 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4225 -moz-box-align: center;
4230 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4233 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4234 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4237 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4238 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4241 .devtools-responsiveui-toolbarbutton[type=menu-button] {
4242 /* padding: 0 1px;*/
4243 -moz-box-align: stretch;
4246 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4247 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
4248 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4249 -moz-box-align: center;
4253 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4254 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4258 .devtools-responsiveui-close {
4259 list-style-image: url("chrome://browser/skin/devtools/close.png");
4260 -moz-image-region: rect(0px,16px,16px,0px);
4263 .devtools-responsiveui-close:hover {
4264 -moz-image-region: rect(0px,32px,16px,16px);
4267 .devtools-responsiveui-rotate {
4268 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4269 -moz-image-region: rect(0px,16px,16px,0px);
4272 .devtools-responsiveui-rotate:hover {
4273 -moz-image-region: rect(0px,32px,16px,16px);
4276 @media (min-resolution: 2dppx) {
4277 .devtools-responsiveui-close {
4278 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4281 .devtools-responsiveui-close:hover {
4282 -moz-image-region: rect(0px,64px,32px,32px);
4285 .devtools-responsiveui-rotate {
4286 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4289 .devtools-responsiveui-rotate:hover {
4290 -moz-image-region: rect(0px,64px,32px,32px);
4294 .devtools-responsiveui-touch {
4295 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4296 -moz-image-region: rect(0px,16px,16px,0px);
4299 .devtools-responsiveui-touch:hover,
4300 .devtools-responsiveui-touch[checked],
4301 .devtools-responsiveui-touch[checked]:hover {
4302 -moz-image-region: rect(0px,32px,16px,16px);
4305 @media (min-resolution: 2dppx) {
4306 .devtools-responsiveui-touch {
4307 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4308 -moz-image-region: rect(0px,32px,32px,0px);
4311 .devtools-responsiveui-touch:hover,
4312 .devtools-responsiveui-touch[checked],
4313 .devtools-responsiveui-touch[checked]:hover {
4314 -moz-image-region: rect(0px,64px,32px,32px);
4318 .devtools-responsiveui-screenshot {
4319 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4320 -moz-image-region: rect(0px,16px,16px,0px);
4323 .devtools-responsiveui-screenshot:hover {
4324 -moz-image-region: rect(0px,32px,16px,16px);
4327 @media (min-resolution: 2dppx) {
4328 .devtools-responsiveui-screenshot {
4329 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4332 .devtools-responsiveui-screenshot:hover {
4333 -moz-image-region: rect(0px,64px,32px,32px);
4337 .devtools-responsiveui-resizebarV {
4341 transform: translate(12px, -12px);
4342 background-size: cover;
4343 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4346 .devtools-responsiveui-resizebarH {
4350 transform: translate(-12px, 12px);
4351 background-size: cover;
4352 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4355 .devtools-responsiveui-resizehandle {
4359 transform: translate(12px, 12px);
4360 background-size: cover;
4361 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
4364 /* FxOS custom mode with additional buttons and phone look'n feel */
4366 /* Hide devtools manual resizer */
4367 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4368 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4369 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4373 /* Gives responsive mode a phone look'n feel */
4374 .browserStack[responsivemode].fxos-mode {
4375 padding: 60px 15px 0;
4377 border-radius: 25px / 20px;
4378 border-bottom-left-radius: 0;
4379 border-bottom-right-radius: 0;
4380 border: 1px solid #FFFFFF;
4381 border-bottom-width: 0;
4383 background-color: #353535;
4385 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4387 background-image: linear-gradient(to right, #111 11%, #333 56%);
4391 .devtools-responsiveui-hardware-buttons {
4392 -moz-appearance: none;
4395 border: 1px solid #FFFFFF;
4396 border-bottom-left-radius: 25px;
4397 border-bottom-right-radius: 25px;
4398 border-top-width: 0;
4400 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4402 background-image: linear-gradient(to right, #111 11%, #333 56%);
4405 .devtools-responsiveui-home-button {
4408 list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4411 .devtools-responsiveui-sleep-button {
4412 -moz-appearance: none;
4413 /* compensate browserStack top padding */
4421 border: 1px solid #444;
4422 border-top-right-radius: 12px;
4423 border-top-left-radius: 12px;
4424 border-bottom-color: transparent;
4426 background-image: linear-gradient(to top, #111 11%, #333 56%);
4429 .devtools-responsiveui-sleep-button:hover:active {
4430 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4433 .devtools-responsiveui-volume-buttons {
4437 .devtools-responsiveui-volume-up-button,
4438 .devtools-responsiveui-volume-down-button {
4439 -moz-appearance: none;
4440 border: 1px solid red;
4444 border: 1px solid #444;
4445 border-right-color: transparent;
4447 background-image: linear-gradient(to right, #111 11%, #333 56%);
4450 .devtools-responsiveui-volume-up-button:hover:active,
4451 .devtools-responsiveui-volume-down-button:hover:active {
4452 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4455 .devtools-responsiveui-volume-up-button {
4456 border-top-left-radius: 12px;
4459 .devtools-responsiveui-volume-down-button {
4460 border-bottom-left-radius: 12px;
4463 @media (min-resolution: 2dppx) {
4464 .devtools-responsiveui-resizebarV {
4465 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4468 .devtools-responsiveui-resizebarH {
4469 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4472 .devtools-responsiveui-resizehandle {
4473 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4477 /* === END responsivedesign.inc.css === */
4479 /* === including indicator.css is done at the start of the file === */
4483 #developer-toolbar-toolbox-button[error-count]:before {
4487 background-color: #FF0000;
4489 -moz-margin-end: 5px;
4492 /* Social toolbar item */
4494 #social-notification-icon-mentions {
4495 background-color: #000000;
4497 -moz-margin-start: 2px;
4500 #social-notification-icon-mentions:hover {
4501 background-color: #FFCF00;
4504 #social-notification-icon-mentions[open="true"] {
4505 background-color: #FF9F00;
4508 #social-sidebar-splitter {
4512 #socialActivatedNotification .popup-notification-button-container {
4516 .social-activation-icon {
4523 #social-activation-message {
4527 #social-activation-message > label {
4531 /* social toolbar provider menu */
4532 .social-statusarea-popup {
4535 margin-right: -12px;
4538 .social-statusarea-user {
4539 border-bottom: 1px solid #9C9CFF;
4540 background-color: #000000;
4546 .social-statusarea-user-portrait {
4553 .social-statusarea-loggedInStatus {
4554 background: transparent;
4559 list-style-image: none;
4562 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4563 text-decoration: underline;
4566 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4570 .social-panel-frame {
4571 border-radius: inherit;
4574 /* === BEGIN chat.inc.css === */
4576 #social-sidebar-header {
4580 #manage-share-providers,
4581 #social-sidebar-button {
4582 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4583 -moz-image-region: rect(0, 468px, 18px, 450px);
4586 #social-sidebar-button {
4587 -moz-appearance: none;
4592 #manage-share-providers > .toolbarbutton-icon,
4593 #social-sidebar-button > .toolbarbutton-icon {
4597 #manage-share-providers:hover,
4598 #manage-share-providers:hover:active,
4599 #social-sidebar-button:hover,
4600 #social-sidebar-button:hover:active {
4601 -moz-image-region: rect(18px, 468px, 36px, 450px);
4603 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4607 #social-sidebar-button[loading="true"] {
4608 list-style-image: url("chrome://global/skin/icons/loading.gif");
4611 #social-sidebar-favico {
4624 .chat-toolbarbutton {
4625 -moz-appearance: none;
4632 .chat-toolbarbutton:hover {
4633 /* background-color: rgba(255,255,255,.35);*/
4636 .chat-toolbarbutton:hover:active {
4637 /* background-color: rgba(255,255,255,.5);*/
4640 .chat-toolbarbutton > .toolbarbutton-text {
4644 .chat-toolbarbutton > .toolbarbutton-icon {
4649 .chat-close-button {
4650 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
4653 .chat-close-button:-moz-any(:hover,:hover:active) {
4654 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
4657 .chat-minimize-button {
4658 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
4661 .chat-minimize-button:-moz-any(:hover,:hover:active) {
4662 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
4666 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4667 transform: rotate(180deg);
4670 .chat-swap-button:-moz-any(:hover,:hover:active) {
4671 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
4674 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4680 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4686 background-color: #9C9CFF;
4694 border-bottom: 1px solid #008484;
4698 .chat-titlebar > .notification-anchor-icon {
4703 .chat-titlebar[minimized="true"] {
4704 border-bottom: none;
4707 .chat-titlebar[selected] {
4708 background-color: #008484;
4711 .chat-titlebar[activity] {
4712 background-color: #E7ADE7;
4715 chatbox[dark=true] > .chat-titlebar,
4716 chatbox[dark=true] > .chat-titlebar[selected] {
4717 /* border-bottom: none;
4718 background-color: #000;
4719 background-image: none;*/
4722 chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4723 /* font-weight: normal;
4734 list-style-image: url("chrome://browser/skin/social/services-16.png");
4735 background-color: #000000;
4741 border-top: 1px solid #008484;
4742 -moz-border-end: 1px solid #008484;
4745 @media (min-resolution: 2dppx) {
4747 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4751 .chatbar-button > .toolbarbutton-icon {
4755 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4762 .chatbar-button > .toolbarbutton-icon {
4766 .chatbar-button:hover > .toolbarbutton-icon,
4767 .chatbar-button[open="true"] > .toolbarbutton-icon {
4771 .chatbar-button:hover,
4772 .chatbar-button[open="true"] {
4775 .chatbar-button > .toolbarbutton-text,
4776 .chatbar-button > .toolbarbutton-menu-dropmarker {
4780 .chatbar-button[activity]:not([open="true"]) {
4781 background-color: #E7ADE7;
4784 .chatbar-button > menupopup > menuitem[activity] {
4789 background: transparent;
4794 -moz-margin-end: 20px;
4800 -moz-margin-start: 4px;
4801 background-color: #000000;
4802 border: 1px solid #9C9CFF;
4803 border-bottom: none;
4804 border-top-left-radius: 2.5px;
4805 border-top-right-radius: 2.5px;
4808 chatbox[minimized="true"] {
4814 -moz-margin-start: 0px;
4820 /* === END chat.inc.css === */
4823 /* background-color: #c4cfde; */
4826 .chat-titlebar[selected] {
4827 /* background-color: #dae3f0; */
4831 -moz-appearance: none;
4832 /* background-color: #c4cfde; */
4835 .chatbar-button > .toolbarbutton-icon {
4836 /* -moz-margin-end: 0; */
4839 .chatbar-button:hover,
4840 .chatbar-button[open="true"] {
4841 /* background-color: #dae3f0; */
4844 .chatbar-button[activity]:not([open="true"]) {
4848 /* border-top-left-radius: 2.5px;
4849 border-top-right-radius: 2.5px; */
4852 /* === BEGIN plugin-doorhanger.inc.css === */
4855 * Plugin Doorhanger Styles
4858 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4859 padding: 6px 1px 2px;
4862 .click-to-play-plugins-notification-center-box {
4865 .plugin-popupnotification-centeritem:nth-child(odd) {
4866 /* background-color: rgba(0,0,0,0.1);*/
4869 .center-item-label {
4871 text-overflow: ellipsis;
4874 .center-item-warning-icon {
4875 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4876 background-repeat: no-repeat;
4879 -moz-margin-start: 6px;
4882 .click-to-play-plugins-notification-button-container {
4885 .click-to-play-popup-button {
4889 .click-to-play-plugins-notification-description-box {
4893 padding-bottom: 3px;
4896 .click-to-play-plugins-outer-description {
4900 .click-to-play-plugins-notification-link,
4905 .messageImage[value="plugin-hidden"] {
4906 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4909 /* Keep any changes to this style in sync with pluginProblem.css */
4910 notification.pluginVulnerable {
4913 notification.pluginVulnerable .messageImage {
4914 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4917 /* === END plugin-doorhanger.inc.css === */
4919 /* === BEGIN badcontent-doorhanger.inc.css === */
4921 .popup-notification-item-title[popupid="bad-content"] {
4925 .popup-notification-item-message[popupid="bad-content"] {
4929 .popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical),
4930 .popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) {
4934 .popup-notification-item-message-critical[popupid="bad-content"] {
4939 .popup-notification-footer[popupid="bad-content"] {
4943 /* === END badcontent-doorhanger.inc.css === */
4945 /* === BEGIN login-doorhanger.inc.css === */
4947 #notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent {
4948 /* Since we display a sliding subview that extends to the border, we cannot
4949 * keep the default padding of arrow panels. We use the same padding in the
4950 * individual content views instead. Since we removed the padding, we also
4951 * have to ensure the contents are clipped to the border box. */
4956 #login-fill-mainview,
4957 #login-fill-details {
4958 padding: var(--panel-arrowcontent-padding);
4961 #login-fill-doorhanger[inDetailView] > #login-fill-mainview {
4962 transform: translateX(-14px);
4965 #login-fill-mainview,
4966 #login-fill-details {
4967 transition: transform 150ms;
4970 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details {
4971 transform: translateX(105%);
4974 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details:-moz-locale-dir(rtl) {
4975 transform: translateX(-105%);
4978 #login-fill-doorhanger[inDetailView] > #login-fill-clickcapturer {
4979 background-color: hsla(240,39%,100%,.1);
4982 #login-fill-testing {
4988 border: 1px solid #9C9CFF;
4992 .login-fill-item[disabled] {
4994 background-color: #000000;
4997 .login-fill-item[disabled][selected] {
4998 background-color: #008484;
5006 .login-fill-item.different-hostname > .login-hostname {
5016 #login-fill-details {
5018 background: var(--panel-arrowcontent-background);
5019 color: var(--panel-arrowcontent-color);
5020 background-clip: padding-box;
5021 border-left: 1px solid #9C9CFF;
5022 -moz-margin-start: 38px;
5025 /* === END login-doorhanger.inc.css === */
5027 /* === BEGIN customizeMode.inc.css === */
5029 /* Customization mode */
5031 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
5035 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
5036 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
5037 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
5042 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
5043 pointer-events: none;
5046 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
5047 #PanelUI-contents > .panel-customization-placeholder {
5048 -moz-outline-radius: 2.5px;
5049 outline: 1px dashed transparent;
5052 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
5053 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
5054 -moz-box-ordinal-group: 0;
5059 outline-offset: -2px;
5060 pointer-events: none;
5066 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
5067 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
5068 offset from the bottom effectively the same as other targets (-2px). */
5069 #main-window[customize-entered] #TabsToolbar.customization-target::before {
5073 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
5074 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
5075 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
5076 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
5080 /* Most target outlines are shown on hover and drag over but the panel menu uses
5081 placeholders instead. */
5082 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
5083 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
5084 /* nav-bar and panel outlines are always shown */
5085 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5086 outline-color: #A09090;
5089 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5090 transition: outline-color 250ms linear;
5093 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
5094 transition: outline-color 250ms linear;
5095 outline-color: #9C9CFF;
5098 #PanelUI-contents > .panel-customization-placeholder {
5100 outline-offset: -5px;
5103 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
5105 /* padding-left: 10px;
5106 padding-right: 10px;*/
5109 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
5113 #customization-container {
5114 background-color: #000000;
5118 #customization-palette,
5119 #customization-empty {
5120 padding: 0 15px 15px;
5123 #customization-header {
5125 line-height: 1.75em;
5128 margin: 25px 25px 12px;
5129 padding-bottom: 12px;
5130 border-bottom: 1px solid #A09090;
5133 #customization-panel-container {
5134 padding: 10px 10px 0px;
5137 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
5138 #customization-footer {
5139 /*background-color: rgb(236,236,236);*/
5142 #customization-footer {
5143 border-top: 1px solid #9C9CFF;
5147 .customizationmode-button {
5151 .customizationmode-button:hover {
5154 #customization-titlebar-visibility-button[checked],
5155 #customization-devedition-theme-button[checked] {
5156 background-color: #008484;
5159 #customization-titlebar-visibility-button[checked]:hover,
5160 #customization-devedition-theme-button[checked]:hover {
5161 background-color: #FFCF00;
5164 #customization-titlebar-visibility-button[checked]:hover:active,
5165 #customization-devedition-theme-button[checked]:hover:active {
5166 background-color: #FF9F00;
5169 .customizationmode-button[disabled="true"] {
5172 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
5173 .customizationmode-button > .button-box > .button-icon {
5177 #customization-titlebar-visibility-button {
5178 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
5179 -moz-image-region: rect(0, 16px, 16px, 0);
5182 #customization-titlebar-visibility-button:hover {
5183 -moz-image-region: rect(16px, 16px, 32px, 0);
5186 #customization-lwtheme-button,
5187 #customization-titlebar-visibility-button {
5191 #customization-titlebar-visibility-button > .button-box {
5193 padding-bottom: 1px;
5196 #customization-titlebar-visibility-button:hover:active > .button-box {
5201 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
5202 #customization-titlebar-visibility-button > .button-box > .button-text {
5203 /* Sadly, button.css thinks its margins are perfect for everyone. */
5204 -moz-margin-start: 5px !important;
5207 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
5211 background-size: contain;
5214 #customization-titlebar-visibility-button > .button-box > .button-icon {
5215 vertical-align: middle;
5218 #customization-titlebar-visibility-button[checked] {
5219 -moz-image-region: rect(0, 32px, 16px, 16px);
5220 background-color: #008484;
5223 #customization-titlebar-visibility-button[checked]:hover {
5224 -moz-image-region: rect(16px, 32px, 32px, 16px);
5225 background-color: #FFCF00;
5228 #customization-titlebar-visibility-button[checked]:hover:active {
5229 background-color: #FF9F00;
5232 @media (min-resolution: 1.1dppx) {
5233 #customization-titlebar-visibility-button {
5234 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
5235 -moz-image-region: rect(0, 48px, 48px, 0);
5238 #customization-titlebar-visibility-button:hover {
5239 -moz-image-region: rect(48px, 48px, 96px, 0);
5242 #customization-titlebar-visibility-button[checked] {
5243 -moz-image-region: rect(0, 96px, 48px, 48px);
5246 #customization-titlebar-visibility-button[checked]:hover {
5247 -moz-image-region: rect(48px, 96px, 96px, 48px);
5251 #main-window[customize-entered] #customization-panel-container {
5252 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5253 background-position: left top;
5254 background-repeat: repeat;
5255 background-size: auto;
5256 background-attachment: fixed;
5259 toolbarpaletteitem[place="toolbar"] {
5260 transition: border-width 250ms ease-in-out;
5263 toolbarpaletteitem[mousedown] {
5264 outline: 1px solid #008484;
5265 cursor: -moz-grabbing;
5269 .panel-customization-placeholder,
5270 toolbarpaletteitem[place="palette"],
5271 toolbarpaletteitem[place="panel"] {
5272 transition: transform .3s ease-in-out;
5275 #customization-palette {
5276 transition: opacity .3s ease-in-out;
5280 #customization-palette[showing="true"] {
5284 toolbarpaletteitem[notransition].panel-customization-placeholder,
5285 toolbarpaletteitem[notransition][place="toolbar"],
5286 toolbarpaletteitem[notransition][place="palette"],
5287 toolbarpaletteitem[notransition][place="panel"] {
5291 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
5292 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
5293 toolbarpaletteitem > toolbaritem.panel-wide-item,
5294 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5295 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
5298 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
5299 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
5300 transform: scale(1.3);
5303 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5304 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
5305 transform: scale(1.1);
5308 /* Override the toolkit styling for items being dragged over. */
5309 toolbarpaletteitem[place="toolbar"] {
5310 border-left-width: 0;
5311 border-right-width: 0;
5316 #customization-palette:not([hidden]) {
5317 margin-bottom: 25px;
5320 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5321 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
5322 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5323 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5327 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5328 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
5338 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5339 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5343 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5344 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5347 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5348 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
5352 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5353 -moz-box-pack: center;
5357 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
5358 -moz-margin-end: 5px;
5361 #customization-palette > toolbarpaletteitem > label {
5367 #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5368 -moz-box-orient: vertical;
5369 /* Make the panel padding uniform across all platforms due to the
5370 styling of the section headers and footer. */
5374 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5379 .customization-lwtheme-menu-theme {
5380 -moz-appearance: none;
5383 -moz-padding-end: 5px;
5385 -moz-padding-start: 0;
5388 .customization-lwtheme-menu-theme[defaulttheme] {
5389 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5392 .customization-lwtheme-menu-theme[active="true"] {
5393 background-color: #008484;
5396 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5400 .customization-lwtheme-menu-theme > .toolbarbutton-text {
5404 #customization-lwtheme-menu-header,
5405 #customization-lwtheme-menu-recommended {
5410 #customization-lwtheme-menu-header,
5411 #customization-lwtheme-menu-recommended,
5412 #customization-lwtheme-menu-footer {
5413 background-color: #A09090;
5415 margin-right: -10px;
5419 #customization-lwtheme-menu-header {
5421 border-top-right-radius: 3px;
5422 border-top-left-radius: 3px;
5425 #customization-lwtheme-menu-recommended {
5428 #customization-lwtheme-menu-footer {
5429 margin-bottom: -10px;
5430 border-bottom-right-radius: 3px;
5431 border-bottom-left-radius: 3px;
5434 .customization-lwtheme-menu-footeritem {
5435 -moz-appearance: none;
5437 background-color: #C09070;
5439 border: 1px solid transparent;
5445 .customization-lwtheme-menu-footeritem:hover {
5446 background-color: #FFCF00;
5449 .customization-lwtheme-menu-footeritem:first-child {
5452 /* === END customizeMode.inc.css === */
5454 /* === BEGIN customizeTip.inc.css === */
5456 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5463 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5464 border: 1px solid #9C9CFF;
5468 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5469 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5472 .customization-tipPanel-infoBox {
5473 margin: 20px 25px 25px;
5475 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5476 background-repeat: no-repeat;
5479 .customization-tipPanel-content {
5485 .customization-tipPanel-em {
5490 .customization-tipPanel-contentImage {
5492 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5500 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5501 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5504 .customization-tipPanel-link {
5505 -moz-appearance: none;
5506 background: transparent;
5514 .customization-tipPanel-link > .button-box > .button-text {
5515 margin: 0 !important;
5518 .customization-tipPanel-closeBox > .close-icon {
5519 -moz-appearance: none;
5521 -moz-margin-end: -25px;
5524 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5525 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5526 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5529 /* === END customizeTip.inc.css === */
5532 * This next rule is a hack to disable subpixel anti-aliasing on all
5533 * labels during the customize mode transition. Subpixel anti-aliasing
5534 * on Windows with Direct2D layers acceleration is particularly slow to
5535 * paint, so this hack is how we sidestep that performance bottleneck.
5537 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
5538 transform: perspective(0.01px);
5541 #main-window[customize-entered] > #tab-view-deck {
5542 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5543 background-attachment: fixed;
5546 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5547 background-repeat: no-repeat;
5548 background-position: right top;
5549 background-attachment: fixed;
5550 /* The image will get set from CustomizeMode.jsm */
5551 background-image: none;
5552 background-color: transparent;
5555 #main-window[customization-lwtheme]:-moz-lwtheme {
5556 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5557 background-repeat: repeat;
5558 background-attachment: fixed;
5559 background-position: left top;
5562 #main-window[customize-entered] #browser-bottombox,
5563 #main-window[customize-entered] #customization-container {
5564 border-left: 1px solid #9C9CFF;
5565 border-right: 1px solid #9C9CFF;
5566 background-clip: padding-box;
5569 #main-window[customize-entered] #browser-bottombox {
5570 border-bottom: 1px solid #9C9CFF;
5573 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5577 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5581 /* End customization mode */
5583 /* Private browsing indicators */
5586 * Currently, we have two places where we put private browsing indicators on
5587 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5588 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5589 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5590 * want the bottom border of the image to line up with the bottom of the window
5591 * caption buttons. That's why there's so much special-casing going on in here.
5593 .private-browsing-indicator {
5595 pointer-events: none;
5598 #private-browsing-indicator-titlebar {
5603 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5607 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5611 #TabsToolbar > .private-browsing-indicator {
5612 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5613 -moz-margin-start: 4px;
5617 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5618 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5619 * min/max/close window buttons.
5621 #private-browsing-indicator-titlebar > .private-browsing-indicator,
5622 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5623 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5624 -moz-margin-end: 4px;
5630 /* This one is for Linux */
5631 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5632 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5636 /* End private browsing indicators */
5638 /* === BEGIN UITour.inc.css === */
5642 #UITourHighlightContainer {
5643 -moz-appearance: none;
5645 background-color: transparent;
5646 /* This is a buffer to compensate for the movement in the "wobble" effect */
5651 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5652 border-radius: 40px;
5653 border: 1px solid #9C9CFF;
5654 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5655 on Linux without an X compositor where opacity is either 0 or 1. */
5656 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5661 #UITourTooltipBody {
5662 -moz-margin-end: 14px;
5665 #UITourTooltipBody > vbox {
5669 #UITourTooltipIconContainer {
5670 -moz-margin-start: -16px;
5673 #UITourTooltipIcon {
5676 -moz-margin-start: 28px;
5677 -moz-margin-end: 28px;
5680 #UITourTooltipTitle,
5681 #UITourTooltipDescription {
5685 #UITourTooltipTitle {
5688 -moz-margin-start: 0;
5693 #UITourTooltipDescription {
5694 -moz-margin-start: 0;
5697 line-height: 1.8rem;
5698 margin-bottom: 0; /* Override global.css */
5701 #UITourTooltipClose {
5702 -moz-appearance: none;
5704 background-color: transparent;
5706 -moz-margin-start: 4px;
5710 #UITourTooltipClose > .toolbarbutton-text {
5714 #UITourTooltipButtons {
5716 background-color: rgba(0,0,0,.2);
5717 border-top: 1px solid rgba(0,0,0,.4);
5718 margin: 24px -16px -16px;
5722 #UITourTooltipButtons > button {
5726 #UITourTooltipButtons > button:first-child {
5727 -moz-margin-start: 0;
5730 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5733 -moz-margin-end: 5px;
5736 #UITourTooltipButtons > button .button-text {
5740 #UITourTooltipButtons > button:not(.button-link) {
5741 -moz-appearance: none;
5742 background-color: #C09070;
5743 border-radius: 3000px;
5747 transition-property: background-color, color;
5748 transition-duration: 150ms;
5751 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5752 background-color: #FFCF00;
5756 #UITourTooltipButtons > button.button-link {
5757 -moz-appearance: none;
5758 background: transparent;
5761 color: rgba(0,0,0,0.35);
5763 padding-right: 10px;
5766 #UITourTooltipButtons > button.button-link:hover {
5770 /* The primary button gets the same color as the customize button. */
5771 #UITourTooltipButtons > button.button-primary {
5772 background-color: #A06060; /* LCARS default button background color */
5775 padding-right: 30px;
5778 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5779 background-color: #FFCF00;
5783 /* Notification overrides for Heartbeat UI */
5785 notification.heartbeat {
5786 background-color: #A09090;
5790 @keyframes pulse-onshow {
5793 transform: scale(1.0);
5797 transform: scale(1.1);
5800 transform: scale(1.0);
5803 transform: scale(1.1);
5806 transform: scale(1.0);
5810 @keyframes pulse-twice {
5812 transform: scale(1.1);
5815 transform: scale(0.8);
5818 transform: scale(1);
5822 .messageText.heartbeat {
5824 /* text-shadow: none; */
5825 -moz-margin-start: 0px;
5828 .messageImage.heartbeat {
5831 -moz-margin-start: 8px;
5832 -moz-margin-end: 8px;
5835 .messageImage.heartbeat.pulse-onshow {
5836 animation-name: pulse-onshow;
5837 animation-duration: 1.5s;
5838 animation-iteration-count: 1;
5839 animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5842 .messageImage.heartbeat.pulse-twice {
5843 animation-name: pulse-twice;
5844 animation-duration: 1s;
5845 animation-iteration-count: 2;
5846 animation-timing-function: linear;
5849 /* Learn More link styles */
5850 .heartbeat > .text-link {
5852 -moz-margin-start: 0px;
5855 .heartbeat > .text-link:hover {
5857 text-decoration: none;
5860 .heartbeat > .text-link:hover:active {
5864 /* Heartbeat UI Rating Star Classes */
5865 .heartbeat > #star-rating-container {
5867 /* margin-bottom: 4px;*/
5870 .heartbeat > #star-rating-container > #star5 {
5871 -moz-box-ordinal-group: 5;
5874 .heartbeat > #star-rating-container > #star4 {
5875 -moz-box-ordinal-group: 4;
5878 .heartbeat > #star-rating-container > #star3 {
5879 -moz-box-ordinal-group: 3;
5882 .heartbeat > #star-rating-container > #star2 {
5883 -moz-box-ordinal-group: 2;
5886 .heartbeat > #star-rating-container > .star-x {
5887 background: url("chrome://browser/skin/heartbeat-star-off.svg");
5889 /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
5890 -moz-margin-end: 4px !important;
5895 .heartbeat > #star-rating-container > .star-x:hover,
5896 .heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
5897 background: url("chrome://browser/skin/heartbeat-star-lit.svg");
5900 /* === END UITour.inc.css === */
5902 #UITourTooltipButtons {
5903 margin: 24px -4px -4px;
5906 /* === BEGIN contextmenu.inc.css === */
5908 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5911 #context-navigation > .menuitem-iconic {
5913 -moz-box-pack: center;
5914 -moz-box-align: center;
5917 #context-navigation > .menuitem-iconic[disabled="true"] {
5918 background-color: transparent;
5921 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5922 -moz-appearance: none;
5925 #context-back > .menu-iconic-left {
5926 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5927 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5928 -moz-image-region: rect(0, 54px, 18px, 36px);
5931 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5932 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5933 -moz-image-region: rect(18px, 54px, 36px, 36px);
5936 #context-back[disabled="true"] > .menu-iconic-left {
5937 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5938 -moz-image-region: rect(36px, 54px, 54px, 36px);
5941 #context-forward > .menu-iconic-left {
5942 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5943 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5944 -moz-image-region: rect(0, 72px, 18px, 54px);
5947 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5948 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5949 -moz-image-region: rect(18px, 72px, 36px, 54px);
5952 #context-forward[disabled="true"] > .menu-iconic-left {
5953 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5954 -moz-image-region: rect(36px, 72px, 54px, 54px);
5957 #context-reload > .menu-iconic-left {
5958 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5959 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5960 -moz-image-region: rect(0, 14px, 14px, 0);
5963 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5964 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5965 -moz-image-region: rect(14px, 14px, 28px, 0);
5968 #context-reload[disabled="true"] > .menu-iconic-left {
5969 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5970 -moz-image-region: rect(28px, 14px, 42px, 0);
5973 #context-stop > .menu-iconic-left {
5974 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5975 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5976 -moz-image-region: rect(0, 28px, 14px, 14px);
5979 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5980 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5981 -moz-image-region: rect(14px, 28px, 28px, 14px);
5984 #context-stop[disabled="true"] > .menu-iconic-left {
5985 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5986 -moz-image-region: rect(28px, 28px, 42px, 14px);
5989 #context-bookmarkpage > .menu-iconic-left {
5990 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5991 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5992 -moz-image-region: rect(0, 144px, 18px, 126px);
5995 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5996 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5997 -moz-image-region: rect(18px, 144px, 36px, 126px);
6000 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
6001 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
6002 -moz-image-region: rect(36px, 144px, 54px, 126px);
6005 #context-bookmarkpage[starred=true] {
6006 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); */
6007 -moz-image-region: rect(0px, 162px, 18px, 144px);
6010 #context-bookmarkpage[starred=true][_moz-menuactive=true] {
6011 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-active"); */
6012 -moz-image-region: rect(18px, 162px, 36px, 144px);
6015 #context-bookmarkpage[starred=true][disabled=true] {
6016 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-disabled"); */
6017 -moz-image-region: rect(36px, 162px, 54px, 144px);
6020 #context-back:-moz-locale-dir(rtl),
6021 #context-forward:-moz-locale-dir(rtl),
6022 #context-reload:-moz-locale-dir(rtl) {
6023 transform: scaleX(-1);
6026 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
6027 width: 18px; /*16px;*/
6028 height: 18px; /*16px;*/
6032 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
6033 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
6039 #context-media-eme-learnmore {
6040 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6043 #context-media-eme-learnmore {
6044 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6047 /* === END contextmenu.inc.css === */
6049 #context-navigation {
6052 #context-sep-navigation {
6053 /* margin-top: -4px; */