1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
6 @import url("downloads/indicator.css");
8 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9 @namespace html url("http://www.w3.org/1999/xhtml");
10 @namespace svg url("http://www.w3.org/2000/svg");
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
16 toolbar[customizable="true"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
20 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
21 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
22 toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
27 toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
31 #toolbar-menubar[autohide="true"] {
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
40 /*--backbutton-urlbar-overlap: 5px;*/
42 --identity-box-verified-background-color: #000000;
44 --panel-separator-color: #A09090;
46 --urlbar-separator-color: #9C9CFF;
50 -moz-box-orient: vertical; /* for flex hack */
54 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
57 /* ::::: primary toolbar ::::: */
59 .toolbar-primary > .toolbar-box > .toolbar-holder {
60 background-color: #A09090;
63 .toolbar-primary > .toolbar-box > .toolbar-startcap,
64 .toolbar-primary > .toolbar-box > .toolbar-endcap {
65 background-color: #9C9CFF;
68 /* Hides the titlebar-placeholder underneath the window caption buttons when we
69 are not autohiding the menubar. */
70 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
74 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
75 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
76 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
77 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
78 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
82 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
83 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
84 /* margin-top: var(--space-above-tabbar);*/
87 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
88 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
89 #toolbar-menubar:not([autohide="true"]) {
90 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
94 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
95 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
96 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
101 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
102 /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
106 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
107 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
108 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
109 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
110 outline-color: #A09090;
116 #navigator-toolbox::after {
119 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
123 #navigator-toolbox > toolbar {
126 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
129 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
130 overflow: -moz-hidden-unscrollable;
132 transition: min-height 170ms ease-out, max-height 170ms ease-out;
135 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
138 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
141 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
142 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
143 /* Indent also due to non-applicable aero rule in original Windows theme. */
144 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
145 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
147 background-color: #6000CF;
151 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
152 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
153 background-color: #8050B0;
157 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
161 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
165 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
166 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
171 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
172 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
173 #titlebar-buttonbox > .titlebar-button {
179 /* Position the toolbar above the bottom of background tabs */
184 #personal-bookmarks {
185 /* min-height: 24px; */
188 #PersonalToolbar > #home-button {
189 -moz-box-orient: horizontal;
192 #PersonalToolbar > #home-button > .toolbarbutton-text {
196 #print-preview-toolbar:not(:-moz-lwtheme) {
197 /* -moz-appearance: toolbox; */
200 #browser-bottombox:not(:-moz-lwtheme) {
203 /* ::::: titlebar ::::: */
207 background-color: #6000CF;
210 #titlebar:-moz-window-inactive {
211 background-color: #8050B0;
215 #main-window[sizemode="normal"] > #titlebar {
220 #main-window[sizemode="maximized"] > #titlebar {
224 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
225 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
226 #main-window[sizemode="normal"] > #titlebar,
227 #main-window[sizemode="maximized"] > #titlebar {
229 /* There is a margin-bottom set to -23 by code. */
233 /* The button box must appear on top of the navigator-toolbox in order for
234 * click and hover mouse events to work properly for the button in the restored
235 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
236 * can swallow those events. It will also place the buttons above the fog on
237 * themes with Aero Glass.
240 #main-window[sizemode="maximized"] #titlebar-buttonbox {
241 -moz-appearance: none;
244 -moz-margin-end: 3px;
248 .titlebar-placeholder[type="appmenu-button"] {
252 .titlebar-placeholder[type="caption-buttons"] {
256 /* titlebar command buttons */
258 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize");
261 #titlebar-min:hover {
262 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize-hover");
266 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize");
269 #titlebar-max:hover {
270 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize-hover");
273 #main-window[sizemode="maximized"] #titlebar-max {
274 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore");
277 #main-window[sizemode="maximized"] #titlebar-max:hover {
278 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore-hover");
282 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close");
285 #titlebar-close:hover {
286 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close-hover");
289 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
290 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
291 #titlebar-fullscreen-button {
292 -moz-appearance: none;
293 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
294 -moz-image-region: rect(0px, 16px, 16px, 0px);
297 #titlebar-fullscreen-button:hover {
298 -moz-image-region: rect(0px, 32px, 16px, 16px);
301 @media (min-resolution: 2dppx) {
302 #titlebar-fullscreen-button {
303 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
304 -moz-image-region: rect(0px, 32px, 32px, 0px);
307 #titlebar-fullscreen-button:hover {
308 -moz-image-region: rect(0px, 64px, 32px, 32px);
314 /* ::::: bookmark buttons ::::: */
316 toolbarbutton.bookmark-item:not(.subviewbutton),
317 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
322 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
323 toolbarbutton.bookmark-item[open="true"] {
326 -moz-padding-start: 4px;
327 -moz-padding-end: 2px;*/
330 .bookmark-item > .toolbarbutton-icon,
331 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
334 -moz-margin-start: 1px;
335 -moz-margin-end: 2px;
340 /* Force the display of the label for bookmarks */
341 .bookmark-item > .toolbarbutton-text,
342 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
343 display: -moz-box !important;
346 .bookmark-item > .toolbarbutton-menu-dropmarker {
350 #bookmarks-toolbar-placeholder {
351 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
352 -moz-box-orient: horizontal;
355 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
356 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
357 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
360 /* ----- BOOKMARK STAR ANIMATION ----- */
362 @keyframes animation-bookmarkAdded {
363 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
364 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
366 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
369 @keyframes animation-bookmarkPulse {
370 from { transform: scale(1); }
371 50% { transform: scale(1.3); }
372 to { transform: scale(1); }
375 #bookmarked-notification-container {
384 #bookmarked-notification {
385 background-size: 16px;
386 background-position: center;
387 background-repeat: no-repeat;
393 #bookmarked-notification-dropmarker-anchor {
398 #bookmarked-notification-dropmarker-icon {
404 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
405 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
406 animation: animation-bookmarkAdded 800ms;
407 animation-timing-function: ease, ease, ease;
410 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
411 list-style-image: none !important;
414 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
416 animation: animation-bookmarkPulse 300ms;
417 animation-delay: 600ms;
418 animation-timing-function: ease-out;
421 /* ::::: bookmark menus ::::: */
424 menuitem.bookmark-item {
429 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
434 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
435 -moz-padding-start: 0px;
438 /* ::::: bookmark items ::::: */
441 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
442 -moz-image-region: auto;
445 .bookmark-item[container] {
446 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
447 -moz-image-region: auto;
450 .bookmark-item[container][open] {
451 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
452 -moz-image-region: auto;
455 .bookmark-item[container][livemark] {
456 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
457 -moz-image-region: auto;
460 .bookmark-item[container][livemark] .bookmark-item {
461 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
462 -moz-image-region: rect(0px, 16px, 16px, 0px);
465 .bookmark-item[container][livemark] .bookmark-item[visited] {
466 -moz-image-region: rect(0px, 32px, 16px, 16px);
469 .bookmark-item[container][query] {
470 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
471 -moz-image-region: auto;
474 .bookmark-item[query][tagContainer] {
475 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
476 -moz-image-region: auto;
479 .bookmark-item[query][dayContainer] {
480 list-style-image: url("chrome://communicator/skin/history/calendar.png");
481 -moz-image-region: auto;
484 .bookmark-item[query][hostContainer] {
485 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
486 -moz-image-region: auto;
489 .bookmark-item[query][hostContainer][open] {
490 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
491 -moz-image-region: auto;
494 .bookmark-item[cutting] > .toolbarbutton-icon,
495 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
499 .bookmark-item[cutting] > .toolbarbutton-text,
500 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
504 /* ::::: primary toolbar buttons ::::: */
506 /* === BEGIN toolbarbuttons.inc.css === */
508 /* Whole section of this included file: */
509 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
510 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
511 #social-share-button, #open-file-button, #find-button, #developer-button,
512 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
513 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
514 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
515 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button),
516 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
517 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
521 -moz-image-region: rect(0, 36px, 18px, 18px);
524 #back-button:hover:not([disabled="true"]) {
525 -moz-image-region: rect(18px, 36px, 36px, 18px);
528 #back-button[disabled="true"] {
529 -moz-image-region: rect(36px, 36px, 54px, 18px);
533 -moz-image-region: rect(0, 72px, 18px, 54px);
536 #forward-button:hover:not([disabled="true"]) {
537 -moz-image-region: rect(18px, 72px, 36px, 54px);
540 #forward-button[disabled="true"] {
541 -moz-image-region: rect(36px, 72px, 54px, 54px);
544 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
545 #forward-button:-moz-locale-dir(rtl) {
546 transform: scaleX(-1);
549 #home-button[cui-areatype="toolbar"] {
550 -moz-image-region: rect(0, 126px, 18px, 108px);
553 #home-button[cui-areatype="toolbar"]:hover {
554 -moz-image-region: rect(18px, 126px, 36px, 108px);
557 #bookmarks-menu-button[cui-areatype="toolbar"] {
558 -moz-image-region: rect(0, 144px, 18px, 126px);
561 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
562 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
563 -moz-image-region: rect(18px, 144px, 36px, 126px);
566 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
567 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
568 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
569 background-color: transparent !important;
572 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
573 -moz-image-region: rect(0, 162px, 18px, 144px);
576 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
577 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
578 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
579 /* When starred and clicked (for edit/delete dialog),
580 * then only the menubutton-button itself is open, but not the whole menubutton. */
581 -moz-image-region: rect(18px, 162px, 36px, 144px);
584 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
585 -moz-image-region: rect(0, 630px, 18px, 612px);
588 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
590 -moz-box-align: center;
593 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
594 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
595 -moz-image-region: rect(18px, 630px, 36px, 612px);
598 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
599 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
602 -moz-padding-start: 2px;
603 -moz-padding-end: 0px;
606 #history-panelmenu[cui-areatype="toolbar"] {
607 -moz-image-region: rect(0, 180px, 18px, 162px);
610 #history-panelmenu[cui-areatype="toolbar"]:hover,
611 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
612 -moz-image-region: rect(18px, 180px, 36px, 162px);
615 #downloads-button[cui-areatype="toolbar"] {
616 -moz-image-region: rect(0, 198px, 18px, 180px);
619 #downloads-button[cui-areatype="toolbar"]:hover,
620 #downloads-button[cui-areatype="toolbar"][open="true"] {
621 -moz-image-region: rect(18px, 198px, 36px, 180px);
624 #add-ons-button[cui-areatype="toolbar"] {
625 -moz-image-region: rect(0, 216px, 18px, 198px);
628 #add-ons-button[cui-areatype="toolbar"]:hover {
629 -moz-image-region: rect(18px, 216px, 36px, 198px);
632 #open-file-button[cui-areatype="toolbar"] {
633 -moz-image-region: rect(0, 234px, 18px, 216px);
636 #open-file-button[cui-areatype="toolbar"]:hover {
637 -moz-image-region: rect(18px, 234px, 36px, 216px);
640 #save-page-button[cui-areatype="toolbar"] {
641 -moz-image-region: rect(0, 252px, 18px, 234px);
644 #save-page-button[cui-areatype="toolbar"]:hover {
645 -moz-image-region: rect(18px, 252px, 36px, 234px);
648 #sync-button[cui-areatype="toolbar"] {
649 -moz-image-region: rect(0, 792px, 18px, 774px);
652 #sync-button[cui-areatype="toolbar"]:hover {
653 -moz-image-region: rect(18px, 792px, 36px, 774px);
656 #feed-button[cui-areatype="toolbar"] {
657 -moz-image-region: rect(0, 288px, 18px, 270px);
660 #feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
661 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
662 -moz-image-region: rect(18px, 288px, 36px, 270px);
665 #feed-button[cui-areatype="toolbar"][disabled="true"] {
666 -moz-image-region: rect(36px, 288px, 54px, 270px);
669 #social-share-button[cui-areatype="toolbar"] {
670 -moz-image-region: rect(0px, 306px, 18px, 288px);
673 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
674 #social-share-button[cui-areatype="toolbar"][open="true"] {
675 -moz-image-region: rect(18px, 306px, 36px, 288px);
678 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
679 -moz-image-region: rect(36px, 306px, 54px, 288px);
682 #characterencoding-button[cui-areatype="toolbar"] {
683 -moz-image-region: rect(0, 324px, 18px, 306px);
686 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
687 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
688 -moz-image-region: rect(18px, 324px, 36px, 306px);
691 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
692 -moz-image-region: rect(36px, 324px, 54px, 306px);
695 #new-window-button[cui-areatype="toolbar"] {
696 -moz-image-region: rect(0, 342px, 18px, 324px);
699 #new-window-button[cui-areatype="toolbar"]:hover {
700 -moz-image-region: rect(18px, 342px, 36px, 324px);
703 #e10s-button[cui-areatype="toolbar"] {
704 -moz-image-region: rect(0, 342px, 18px, 324px);
707 #e10s-button[cui-areatype="toolbar"]:hover {
708 -moz-image-region: rect(18px, 342px, 36px, 324px);
711 #e10s-button > .toolbarbutton-icon {
712 transform: scaleY(-1);
715 #new-tab-button[cui-areatype="toolbar"] {
716 -moz-image-region: rect(0, 360px, 18px, 342px);
719 #new-tab-button[cui-areatype="toolbar"]:hover {
720 -moz-image-region: rect(18px, 360px, 36px, 342px);
723 #privatebrowsing-button[cui-areatype="toolbar"] {
724 -moz-image-region: rect(0, 378px, 18px, 360px);
727 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
728 -moz-image-region: rect(18px, 378px, 36px, 360px);
731 #find-button[cui-areatype="toolbar"] {
732 -moz-image-region: rect(0, 396px, 18px, 378px);
735 #find-button[cui-areatype="toolbar"]:hover {
736 -moz-image-region: rect(18px, 396px, 36px, 378px);
739 #print-button[cui-areatype="toolbar"] {
740 -moz-image-region: rect(0, 414px, 18px, 396px);
743 #print-button[cui-areatype="toolbar"]:hover {
744 -moz-image-region: rect(18px, 414px, 36px, 396px);
747 #fullscreen-button[cui-areatype="toolbar"] {
748 -moz-image-region: rect(0, 432px, 18px, 414px);
751 #fullscreen-button[cui-areatype="toolbar"]:hover {
752 -moz-image-region: rect(18px, 432px, 36px, 414px);
755 #developer-button[cui-areatype="toolbar"] {
756 -moz-image-region: rect(0, 450px, 18px, 432px);
759 #developer-button[cui-areatype="toolbar"]:hover,
760 #developer-button[cui-areatype="toolbar"][open="true"] {
761 -moz-image-region: rect(18px, 450px, 36px, 432px);
764 #preferences-button[cui-areatype="toolbar"] {
765 -moz-image-region: rect(0, 468px, 18px, 450px);
768 #preferences-button[cui-areatype="toolbar"]:hover {
769 -moz-image-region: rect(18px, 468px, 36px, 450px);
772 #PanelUI-menu-button {
773 -moz-image-region: rect(0, 486px, 18px, 468px);
776 #PanelUI-menu-button:hover,
777 #PanelUI-menu-button[open="true"] {
778 -moz-image-region: rect(18px, 486px, 36px, 468px);
781 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
782 -moz-image-region: rect(0, 504px, 18px, 486px);
785 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
786 -moz-image-region: rect(18px, 504px, 36px, 486px);
789 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
790 -moz-image-region: rect(36px, 504px, 54px, 486px);
793 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
794 -moz-image-region: rect(0, 522px, 18px, 504px);
797 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
798 -moz-image-region: rect(18px, 522px, 36px, 504px);
801 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
802 -moz-image-region: rect(36px, 522px, 54px, 504px);
805 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
806 -moz-image-region: rect(0, 540px, 18px, 522px);
809 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
810 -moz-image-region: rect(18px, 540px, 36px, 522px);
813 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
814 -moz-image-region: rect(36px, 540px, 54px, 522px);
817 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
818 -moz-image-region: rect(0, 558px, 18px, 540px);
821 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
822 -moz-image-region: rect(18px, 558px, 36px, 540px);
825 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
826 -moz-image-region: rect(36px, 558px, 54px, 540px);
829 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
830 -moz-image-region: rect(0, 576px, 18px, 558px);
833 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
834 -moz-image-region: rect(18px, 576px, 36px, 558px);
837 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
838 -moz-image-region: rect(36px, 576px, 54px, 558px);
841 #nav-bar-overflow-button {
842 -moz-image-region: rect(0, 612px, 18px, 594px);
845 #nav-bar-overflow-button:hover,
846 #nav-bar-overflow-button[open="true"] {
847 -moz-image-region: rect(18px, 612px, 36px, 594px);
850 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
851 transform: scaleX(-1);
855 -moz-image-region: rect(0, 648px, 18px, 630px);
858 #tabview-button:hover {
859 -moz-image-region: rect(18px, 648px, 36px, 630px);
862 #email-link-button[cui-areatype="toolbar"] {
863 -moz-image-region: rect(0, 666px, 18px, 648px);
866 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
867 -moz-image-region: rect(18px, 666px, 36px, 648px);
870 #email-button[cui-areatype="toolbar"][disabled="true"] {
871 -moz-image-region: rect(36px, 666px, 54px, 648px);
874 #sidebar-button[cui-areatype="toolbar"] {
875 -moz-image-region: rect(0, 684px, 18px, 666px);
878 #sidebar-button[cui-areatype="toolbar"]:hover {
879 -moz-image-region: rect(18px, 684px, 36px, 666px);
882 #panic-button[cui-areatype="toolbar"] {
883 -moz-image-region: rect(0, 702px, 18px, 684px);
886 #panic-button[cui-areatype="toolbar"]:hover,
887 #panic-button[cui-areatype="toolbar"][open] {
888 -moz-image-region: rect(18px, 702px, 36px, 684px);
891 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
892 transform: scaleX(-1);
895 #webide-button[cui-areatype="toolbar"] {
896 -moz-image-region: rect(0, 738px, 18px, 720px);
899 #webide-button[cui-areatype="toolbar"]:hover {
900 -moz-image-region: rect(18px, 738px, 36px, 720px);
903 /* === END toolbarbuttons.inc.css === */
905 /* === BEGIN menupanel.inc.css === */
907 /* Menu panel and palette styles */
910 /* avoid aero overrides with changed filenames */
911 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
912 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
915 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
916 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
917 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
918 #social-share-button, #open-file-button, #find-button, #developer-button,
919 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
920 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
921 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
922 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button)[cui-areatype="menu-panel"],
923 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
924 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
925 #social-share-button, #open-file-button, #find-button, #developer-button,
926 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
927 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
928 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
929 #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button) {
930 list-style-image: var(--menupanel-list-style-image);
933 #home-button[cui-areatype="menu-panel"],
934 toolbarpaletteitem[place="palette"] > #home-button {
935 -moz-image-region: rect(0px, 128px, 32px, 96px);
938 #home-button[cui-areatype="menu-panel"]:hover,
939 toolbarpaletteitem[place="palette"] > #home-button:hover {
940 -moz-image-region: rect(32px, 128px, 64px, 96px);
943 #bookmarks-menu-button[cui-areatype="menu-panel"],
944 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
945 -moz-image-region: rect(0px, 192px, 32px, 160px);
948 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
949 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
950 -moz-image-region: rect(32px, 192px, 64px, 160px);
953 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
954 -moz-image-region: rect(32px, 192px, 64px, 160px);
957 #history-panelmenu[cui-areatype="menu-panel"],
958 toolbarpaletteitem[place="palette"] > #history-panelmenu {
959 -moz-image-region: rect(0px, 224px, 32px, 192px);
962 #history-panelmenu[cui-areatype="menu-panel"]:hover,
963 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
964 -moz-image-region: rect(32px, 224px, 64px, 192px);
967 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
968 -moz-image-region: rect(32px, 224px, 64px, 192px);
971 #downloads-button[cui-areatype="menu-panel"],
972 toolbarpaletteitem[place="palette"] > #downloads-button {
973 -moz-image-region: rect(0px, 256px, 32px, 224px);
976 #downloads-button[cui-areatype="menu-panel"]:hover,
977 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
978 -moz-image-region: rect(32px, 256px, 64px, 224px);
981 #add-ons-button[cui-areatype="menu-panel"],
982 toolbarpaletteitem[place="palette"] > #add-ons-button {
983 -moz-image-region: rect(0px, 288px, 32px, 256px);
986 #add-ons-button[cui-areatype="menu-panel"]:hover,
987 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
988 -moz-image-region: rect(32px, 288px, 64px, 256px);
991 #open-file-button[cui-areatype="menu-panel"],
992 toolbarpaletteitem[place="palette"] > #open-file-button {
993 -moz-image-region: rect(0px, 320px, 32px, 288px);
996 #open-file-button[cui-areatype="menu-panel"]:hover,
997 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
998 -moz-image-region: rect(32px, 320px, 64px, 288px);
1001 #save-page-button[cui-areatype="menu-panel"],
1002 toolbarpaletteitem[place="palette"] > #save-page-button {
1003 -moz-image-region: rect(0px, 352px, 32px, 320px);
1006 #save-page-button[cui-areatype="menu-panel"]:hover,
1007 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1008 -moz-image-region: rect(32px, 352px, 64px, 320px);
1011 #sync-button[cui-areatype="menu-panel"],
1012 toolbarpaletteitem[place="palette"] > #sync-button {
1013 -moz-image-region: rect(0, 792px, 18px, 774px);
1016 #sync-button[cui-areatype="menu-panel"]:hover,
1017 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1018 -moz-image-region: rect(32px, 792px, 64px, 774px);
1021 #feed-button[cui-areatype="menu-panel"],
1022 toolbarpaletteitem[place="palette"] > #feed-button {
1023 -moz-image-region: rect(0px, 416px, 32px, 384px);
1026 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1027 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1028 -moz-image-region: rect(32px, 416px, 64px, 384px);
1031 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1032 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1033 -moz-image-region: rect(64px, 416px, 96px, 384px);
1036 #social-share-button[cui-areatype="menu-panel"],
1037 toolbarpaletteitem[place="palette"] > #social-share-button {
1038 -moz-image-region: rect(0px, 448px, 32px, 416px);
1041 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1042 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1043 -moz-image-region: rect(32px, 448px, 64px, 416px);
1046 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1047 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1048 -moz-image-region: rect(64px, 448px, 96px, 416px);
1051 #characterencoding-button[cui-areatype="menu-panel"],
1052 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1053 -moz-image-region: rect(0px, 480px, 32px, 448px);
1056 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1057 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1058 -moz-image-region: rect(32px, 480px, 64px, 448px);
1061 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1062 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1063 -moz-image-region: rect(64px, 480px, 96px, 448px);
1066 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1067 -moz-image-region: rect(32px, 480px, 64px, 448px);
1070 #new-window-button[cui-areatype="menu-panel"],
1071 toolbarpaletteitem[place="palette"] > #new-window-button {
1072 -moz-image-region: rect(0px, 512px, 32px, 480px);
1075 #new-window-button[cui-areatype="menu-panel"]:hover,
1076 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1077 -moz-image-region: rect(32px, 512px, 64px, 480px);
1080 #e10s-button[cui-areatype="menu-panel"],
1081 toolbarpaletteitem[place="palette"] > #e10s-button {
1082 -moz-image-region: rect(0px, 512px, 32px, 480px);
1085 #e10s-button[cui-areatype="menu-panel"]:hover,
1086 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1087 -moz-image-region: rect(32px, 512px, 64px, 480px);
1090 #new-tab-button[cui-areatype="menu-panel"],
1091 toolbarpaletteitem[place="palette"] > #new-tab-button {
1092 -moz-image-region: rect(0px, 544px, 32px, 512px);
1095 #new-tab-button[cui-areatype="menu-panel"]:hover,
1096 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1097 -moz-image-region: rect(32px, 544px, 64px, 512px);
1100 #privatebrowsing-button[cui-areatype="menu-panel"],
1101 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1102 -moz-image-region: rect(0px, 576px, 32px, 544px);
1105 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1106 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1107 -moz-image-region: rect(32px, 576px, 64px, 544px);
1110 #tabview-button[cui-areatype="menu-panel"],
1111 toolbarpaletteitem[place="palette"] > #tabview-button {
1112 -moz-image-region: rect(0px, 608px, 32px, 576px);
1115 #tabview-button[cui-areatype="menu-panel"]:hover,
1116 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1117 -moz-image-region: rect(32px, 608px, 64px, 576px);
1120 #find-button[cui-areatype="menu-panel"],
1121 toolbarpaletteitem[place="palette"] > #find-button {
1122 -moz-image-region: rect(0px, 640px, 32px, 608px);
1125 #find-button[cui-areatype="menu-panel"]:hover,
1126 toolbarpaletteitem[place="palette"] > #find-button:hover {
1127 -moz-image-region: rect(32px, 640px, 64px, 608px);
1130 #print-button[cui-areatype="menu-panel"],
1131 toolbarpaletteitem[place="palette"] > #print-button {
1132 -moz-image-region: rect(0px, 672px, 32px, 640px);
1135 #print-button[cui-areatype="menu-panel"]:hover,
1136 toolbarpaletteitem[place="palette"] > #print-button:hover {
1137 -moz-image-region: rect(32px, 672px, 64px, 640px);
1140 #fullscreen-button[cui-areatype="menu-panel"],
1141 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1142 -moz-image-region: rect(0px, 704px, 32px, 672px);
1145 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1146 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1147 -moz-image-region: rect(32px, 704px, 64px, 672px);
1150 #developer-button[cui-areatype="menu-panel"],
1151 toolbarpaletteitem[place="palette"] > #developer-button {
1152 -moz-image-region: rect(0px, 736px, 32px, 704px);
1155 #developer-button[cui-areatype="menu-panel"]:hover,
1156 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1157 -moz-image-region: rect(32px, 736px, 64px, 704px);
1160 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1161 -moz-image-region: rect(32px, 736px, 64px, 704px);
1164 #preferences-button[cui-areatype="menu-panel"],
1165 toolbarpaletteitem[place="palette"] > #preferences-button {
1166 -moz-image-region: rect(0px, 768px, 32px, 736px);
1169 #preferences-button[cui-areatype="menu-panel"]:hover,
1170 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1171 -moz-image-region: rect(32px, 768px, 64px, 736px);
1174 #email-link-button[cui-areatype="menu-panel"],
1175 toolbarpaletteitem[place="palette"] > #email-link-button {
1176 -moz-image-region: rect(0, 800px, 32px, 768px);
1179 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1180 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1181 -moz-image-region: rect(32px, 800px, 64px, 768px);
1184 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1185 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1186 -moz-image-region: rect(64px, 800px, 96px, 768px);
1189 #sidebar-button[cui-areatype="menu-panel"],
1190 toolbarpaletteitem[place="palette"] > #sidebar-button {
1191 -moz-image-region: rect(0, 864px, 32px, 832px);
1194 #sidebar-button[cui-areatype="menu-panel"]:hover,
1195 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1196 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1197 -moz-image-region: rect(32px, 864px, 64px, 832px);
1200 #panic-button[cui-areatype="menu-panel"],
1201 toolbarpaletteitem[place="palette"] > #panic-button {
1202 -moz-image-region: rect(0, 896px, 32px, 864px);
1205 #panic-button[cui-areatype="menu-panel"]:hover,
1206 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1207 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1208 -moz-image-region: rect(32px, 896px, 64px, 864px);
1211 #webide-button[cui-areatype="menu-panel"],
1212 toolbarpaletteitem[place="palette"] > #webide-button {
1213 -moz-image-region: rect(0px, 960px, 32px, 928px);
1216 #webide-button[cui-areatype="menu-panel"]:hover,
1217 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1218 -moz-image-region: rect(32px, 960px, 64px, 928px);
1221 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1222 -moz-image-region: rect(0, 832px, 32px, 800px);
1225 /* Wide panel control icons */
1227 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1228 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1229 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1230 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1231 list-style-image: var(--menupanel-small-list-style-image);
1234 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1235 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1236 -moz-image-region: rect(0px, 32px, 16px, 16px);
1239 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1240 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1241 -moz-image-region: rect(16px, 32px, 32px, 16px);
1244 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1245 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1246 -moz-image-region: rect(32px, 32px, 48px, 16px);
1249 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1250 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1251 -moz-image-region: rect(0px, 48px, 16px, 32px);
1254 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1255 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1256 -moz-image-region: rect(16px, 48px, 32px, 32px);
1259 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1260 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1261 -moz-image-region: rect(32px, 48px, 48px, 32px);
1264 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1265 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1266 -moz-image-region: rect(0px, 64px, 16px, 48px);
1269 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1270 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1271 -moz-image-region: rect(16px, 64px, 32px, 48px);
1274 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1275 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1276 -moz-image-region: rect(32px, 64px, 48px, 48px);
1279 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1280 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1281 -moz-image-region: rect(0px, 80px, 16px, 64px);
1284 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1285 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1286 -moz-image-region: rect(16px, 80px, 32px, 64px);
1289 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1290 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1291 -moz-image-region: rect(32px, 80px, 48px, 64px);
1294 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1295 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1296 -moz-image-region: rect(0px, 96px, 16px, 80px);
1299 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1300 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1301 -moz-image-region: rect(16px, 96px, 32px, 80px);
1304 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1305 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1306 -moz-image-region: rect(32px, 96px, 48px, 80px);
1309 #add-share-provider {
1310 list-style-image: var(--menupanel-small-list-style-image);
1311 -moz-image-region: rect(0px, 96px, 16px, 80px);
1314 /* === END menupanel.inc.css === */
1316 .toolbarbutton-1:not([type="menu-button"]) {
1317 -moz-box-orient: vertical;
1321 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1327 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1328 .toolbarbutton-1[disabled="true"]:hover:active,
1329 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1333 .toolbarbutton-1:hover:active,
1334 .toolbarbutton-1[open="true"],
1335 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1337 padding-bottom: 0px;
1338 -moz-padding-start: 3px;
1339 -moz-padding-end: 1px;
1342 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1343 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1344 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1345 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1346 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1349 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1350 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1353 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1354 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1357 .toolbarbutton-1 > .toolbarbutton-icon,
1358 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1362 #nav-bar .toolbarbutton-1,
1363 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1366 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1367 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1368 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1371 #nav-bar #PanelUI-menu-button {
1372 /* -moz-padding-start: 7px;
1373 -moz-padding-end: 5px;*/
1376 #nav-bar .toolbarbutton-1[type=panel],
1377 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1378 /* padding-left: 5px;
1379 padding-right: 5px;*/
1382 #nav-bar .toolbarbutton-1 > menupopup {
1383 /* margin-top: -3px;*/
1386 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1390 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1391 /* -moz-padding-end: 0;*/
1394 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1395 /* -moz-padding-start: 0;
1396 -moz-box-align: center;*/
1399 .findbar-button > .toolbarbutton-text,
1400 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1401 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1402 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-stack,
1403 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1404 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1405 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1406 /* padding: 2px 6px;
1408 border-color: transparent;
1409 transition-property: background-color, border-color;
1410 transition-duration: 150ms;*/
1413 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1414 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
1415 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1420 /* Help SDK icons fit: */
1421 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
1422 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
1426 #nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1427 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1431 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
1432 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-badge-stack,
1433 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon,
1434 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
1435 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1436 /* -moz-padding-end: 17px;*/
1439 #nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
1440 #nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon {
1441 /* horizontal padding + border + icon width */
1442 /* max-width: 43px;*/
1445 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1448 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1451 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1454 #nav-bar .toolbaritem-combined-buttons {
1455 /* margin-left: 2px;
1456 margin-right: 2px;*/
1459 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1464 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1465 #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 {
1471 -moz-margin-end: -1px;
1475 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1478 .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1479 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1480 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1481 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1482 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1483 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1484 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-stack,
1485 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1486 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1489 .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1490 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1491 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1492 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1493 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1494 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack {
1497 #TabsToolbar .toolbarbutton-1,
1498 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1499 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1500 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1503 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1504 #TabsToolbar .toolbarbutton-1[open],
1505 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1506 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1507 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1510 /* unified back/forward button */
1513 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1516 #forward-button > menupopup {
1517 margin-top: 1px !important;
1520 #forward-button > .toolbarbutton-icon {
1521 background-clip: padding-box !important;
1522 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1523 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1527 -moz-margin-start: -4px !important;
1532 border-radius: 0 10000px 10000px 0;
1535 #forward-button:-moz-locale-dir(rtl) {
1536 border-radius: 10000px 0 0 10000px;
1539 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1540 transition: margin-left 150ms ease-out;
1543 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1544 margin-left: -27px !important;
1547 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1548 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1549 transition-delay: 100s;
1552 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1553 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1554 margin-left: -27.01px !important;
1558 /* padding-top: 3px !important;
1559 padding-bottom: 3px !important;
1560 -moz-padding-start: 5px !important;
1561 -moz-padding-end: 0 !important;*/
1564 border-radius: 10000px;
1568 margin-bottom: -2px;
1571 #back-button:-moz-locale-dir(rtl) {
1574 #back-button > menupopup {
1575 margin-top: -1px !important;
1578 #back-button > .toolbarbutton-icon {
1579 border-radius: 10000px !important;
1580 background-clip: padding-box !important;
1581 /* background-color: hsla(210,25%,98%,.08) !important;
1582 padding: 6px !important;
1583 border-style: none !important;
1584 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1585 0 0 0 1px hsla(210,4%,10%,.25);*/
1586 transition-property: background-color, box-shadow !important;
1587 transition-duration: 250ms !important;
1590 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1591 /* background-color: hsla(210,4%,10%,.08) !important;*/
1594 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1595 #back-button[open="true"] > .toolbarbutton-icon {
1596 /* background-color: hsla(210,4%,10%,.12) !important;
1597 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1598 0 0 0 1px hsla(210,4%,10%,.25),
1599 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1602 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1603 transform: scaleX(-1);
1606 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1607 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1608 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1611 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1612 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1613 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1616 #home-button.bookmark-item {
1617 list-style-image: url("chrome://browser/skin/Toolbar.png");
1620 #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),
1621 #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),
1622 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1623 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1624 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1625 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1626 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1629 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1632 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1633 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1634 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1638 #downloads-button > .toolbarbutton-icon {
1642 /* tabview menu item */
1645 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1646 -moz-image-region: rect(1px, 89px, 17px, 73px);
1649 #menu_tabview[groups="0"] {
1650 -moz-image-region: rect(1px, 17px, 17px, 1px);
1653 #menu_tabview[groups="1"] {
1654 -moz-image-region: rect(1px, 35px, 17px, 19px);
1657 #menu_tabview[groups="2"] {
1658 -moz-image-region: rect(1px, 53px, 17px, 37px);
1661 #menu_tabview[groups="3"] {
1662 -moz-image-region: rect(1px, 71px, 17px, 55px);
1665 /* undo close tab menu item */
1666 #alltabs_undoCloseTab {
1667 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1670 @media (min-resolution: 1.1dppx) {
1671 #alltabs_undoCloseTab {
1672 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1674 #alltabs_undoCloseTab > .toolbarbutton-icon {
1679 /* zoom control text (reset) button special case: */
1681 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1682 /* To make this line up with the icons, it needs the same height (18px) +
1683 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1684 * increase in text sizes would break things...
1689 /* ::::: fullscreen window controls ::::: */
1692 -moz-margin-start: 4px;
1698 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1703 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1706 #minimize-button:hover {
1707 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1711 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1714 #restore-button:hover {
1715 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1719 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1722 #close-button:hover {
1723 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1726 /* ::::: Location Bar ::::: */
1729 .searchbar-textbox {
1732 -moz-margin-start: 3px;
1736 /* make color as light as possible to deal with dark non-domain parts */
1740 /* overlap the urlbar's border */
1741 #PopupAutoCompleteRichResult {
1745 #urlbar:-moz-lwtheme,
1746 .searchbar-textbox:-moz-lwtheme {
1747 /* background-color: rgba(255,255,255,.8);
1748 @navbarTextboxCustomBorder@
1752 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1753 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1754 /* background-color: rgba(255,255,255,.9);*/
1757 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1758 .searchbar-textbox:-moz-lwtheme[focused] {
1759 /* background-color: white;*/
1762 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1763 /* -moz-border-start: none;
1767 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1768 /* border-top-left-radius: 0;
1769 border-bottom-left-radius: 0; */
1772 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1773 /* border-top-right-radius: 0;
1774 border-bottom-right-radius: 0; */
1777 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1778 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1779 /* margin-inline-start: calc(-1 * var(--backbutton-urlbar-overlap)); */
1782 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1783 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1784 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1785 transform: scaleX(-1);
1788 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1789 -moz-box-direction: reverse;
1792 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1793 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1798 -moz-box-orient: horizontal;
1799 -moz-box-align: stretch;
1802 .urlbar-textbox-container {
1803 -moz-box-align: stretch;
1807 -moz-margin-start: 0;
1811 -moz-box-align: center;
1816 /* 16x16 icon with border-box sizing */
1821 .search-go-container {
1825 .search-go-container > .search-go-button {
1829 #urlbar-search-footer {
1830 border-top: 1px solid #A09090;
1833 #urlbar-search-settings {
1836 #urlbar-search-settings:hover {
1839 #urlbar-search-settings:hover:active {
1842 #urlbar-search-splitter {
1844 -moz-margin-start: -3px;
1846 background: transparent;
1849 #urlbar-search-splitter + #urlbar-container > #urlbar,
1850 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1851 -moz-margin-start: 0;
1854 #urlbar-display-box {
1858 -moz-border-end: 1px solid #9C9CFF;
1859 -moz-margin-end: 3px;
1862 -moz-margin-start: 0;
1866 /* === BEGIN urlbarSearchSuggestionsNotification.inc.css === */
1868 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] {
1869 border-bottom: 1px solid #A09090;
1870 background-color: #000000;
1872 -moz-padding-start: 44px;
1873 -moz-padding-end: 6px;
1874 background-image: url("chrome://browser/skin/info.svg");
1875 background-clip: padding-box;
1876 background-position: 20px center;
1877 background-repeat: no-repeat;
1878 background-size: 16px 16px;
1881 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"]:-moz-locale-dir(rtl) {
1882 background-position: right 20px center;
1885 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description {
1890 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description > label.text-link {
1891 -moz-margin-start: 0;
1894 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
1895 -moz-appearance: none;
1900 -moz-margin-start: 10px;
1903 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"] {
1906 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"]:hover {
1909 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"] {
1912 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-enable"]:hover {
1915 /* === END urlbarSearchSuggestionsNotification.inc.css === */
1918 min-width: calc(54px + 11ch);
1923 #identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
1924 background-color: var(--identity-box-verified-background-color);
1927 #identity-box:-moz-focusring {
1928 outline: 1px dotted #008484;
1929 outline-offset: -1px;
1932 #identity-box.verifiedDomain:-moz-focusring,
1933 #identity-box.verifiedIdentity:-moz-focusring {
1934 outline-color: #000000;
1937 /* Location bar dropmarker */
1939 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1940 background-color: transparent;
1943 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1944 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
1945 #urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
1948 transition: opacity 0.15s ease;
1951 #navigator-toolbox:not(:hover) .urlbar-history-dropmarker {
1955 .urlbar-history-dropmarker:hover {
1958 .urlbar-history-dropmarker:hover:active,
1959 .urlbar-history-dropmarker[open="true"] {
1962 /* page proxy icon */
1964 /* === BEGIN identity-block.inc.css === */
1967 /* --identity-box-hover-background-color: #FFCF00;
1968 --identity-box-selected-background-color: #FF9F00; */
1969 --identity-box-verified-color: #008484;
1970 /* Default theme does different color per channel, we can't as they do it build-time. */
1971 --identity-box-chrome-color: #9C9CFF;
1973 border-inline-end: 1px solid var(--urlbar-separator-color);
1977 margin-inline-end: 4px;
1979 /* The latter two properties have a transition to handle the delayed hiding of
1980 the forward button when hovered. */
1981 transition: background-color 150ms ease, padding-left, padding-right;
1984 #identity-box:-moz-locale-dir(ltr) {
1985 border-top-right-radius: 0;
1986 border-bottom-right-radius: 0;
1989 #identity-box:-moz-locale-dir(rtl) {
1990 border-top-left-radius: 0;
1991 border-bottom-left-radius: 0;
1994 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1995 color: var(--identity-box-chrome-color);
1996 -moz-border-end: 1px solid var(--identity-box-chrome-color);
1999 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2000 color: var(--identity-box-verified-color);
2001 -moz-border-end: 1px solid var(--identity-box-verified-color);
2004 #notification-popup-box:not([hidden]) + #identity-box {
2005 padding-inline-start: 10px;
2009 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
2010 /* border-radius: 0;
2011 padding-inline-start: 2px; */
2012 padding-inline-end: 2px;
2013 margin-inline-end: 1px;
2016 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2017 #notification-popup-box[hidden] + #identity-box {
2018 padding-inline-start: 2px;
2021 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2022 #notification-popup-box[hidden] + #identity-box {
2023 /* Forward button hiding is delayed when hovered, so we should use the same
2024 delay for the identity box. We handle both horizontal paddings (for LTR and
2025 RTL), the latter two delays here are for padding-left and padding-right. */
2026 transition-delay: 0s, 100s, 100s;
2029 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2030 #notification-popup-box[hidden] + #identity-box {
2031 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2032 padding-inline-start: 2.01px;
2035 /* MAIN IDENTITY ICON */
2040 list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
2043 #identity-box:hover > #identity-icon,
2044 #identity-box[open=true] > #identity-icon {
2045 list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
2048 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
2049 list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
2052 #urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
2056 #urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
2057 -moz-image-region: inherit;
2058 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2064 /* TRACKING PROTECTION ICON */
2066 #tracking-protection-icon {
2069 margin-inline-start: 2px;
2070 margin-inline-end: 0;
2071 list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
2075 #tracking-protection-icon[state="loaded-tracking-content"] {
2076 list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
2079 #tracking-protection-icon[animate] {
2080 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2083 #tracking-protection-icon:not([state]) {
2084 margin-inline-end: -18px;
2085 pointer-events: none;
2087 /* Only animate the shield in, when it disappears hide it immediately. */
2091 #urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
2092 visibility: collapse;
2095 /* CONNECTION ICON */
2100 margin-inline-start: 2px;
2101 visibility: collapse;
2104 #urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
2105 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
2106 list-style-image: url(chrome://browser/skin/identity-secure.svg);
2107 visibility: visible;
2110 #urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
2111 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
2112 list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
2113 visibility: visible;
2116 #urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
2117 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
2118 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
2119 list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
2120 visibility: visible;
2123 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
2124 list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
2125 visibility: visible;
2128 /* === END identity-block.inc.css === */
2130 #page-proxy-favicon {
2131 -moz-image-region: rect(0, 16px, 16px, 0);
2134 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2135 /* -moz-margin-end: 1px;*/
2138 #identity-box:hover > #page-proxy-favicon {
2139 -moz-image-region: rect(0, 32px, 16px, 16px);
2142 #identity-box:hover:active > #page-proxy-favicon,
2143 #identity-box[open=true] > #page-proxy-favicon {
2144 -moz-image-region: rect(0, 48px, 16px, 32px);
2147 #identity-box:hover {
2148 background-color: #FFCF00;
2152 #identity-box:hover:active,
2153 #identity-box[open=true] {
2154 background-color: #FF9F00;
2158 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2159 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2160 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2161 background-color: #9C9CFF;
2165 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2166 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2167 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2168 background-color: #008484;
2174 #treecolAutoCompleteImage {
2178 .ac-result-type-bookmark,
2179 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2180 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2181 -moz-image-region: rect(0px 16px 16px 0px);
2186 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2187 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2188 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2191 .ac-result-type-keyword,
2192 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2193 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2194 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2199 .ac-result-type-keyword[selected="true"],
2200 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2201 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2202 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2205 .ac-result-type-tag,
2206 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2207 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2213 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description,
2214 #PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
2218 .ac-extra > .ac-comment,
2229 richlistitem[type~="action"][actiontype="tab"] > .ac-url-box > .ac-action-icon {
2230 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2231 -moz-image-region: rect(0, 16px, 16px, 0);
2237 @media (min-resolution: 1.1dppx) {
2238 richlistitem[type~="action"][actiontype="tab"] > .ac-url-box > .ac-action-icon {
2239 list-style-image: url("chrome://browser/skin/actionicon-tab@2x.png");
2240 -moz-image-region: rect(0, 32px, 32px, 0);
2244 richlistitem[type~="action"][actiontype="tab"][selected="true"] > .ac-url-box > .ac-action-icon {
2245 -moz-image-region: rect(16px, 16px, 32px, 0);
2248 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2252 .ac-comment[selected="true"],
2253 .ac-url-text[selected="true"],
2254 .ac-action-text[selected="true"] {
2255 color: inherit !important;
2258 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2259 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2265 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2266 border-top: 1px solid #9C9CFF;
2269 /* combined go/reload/stop button in location bar */
2272 #urlbar-reload-button,
2273 #urlbar-stop-button {
2275 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2276 /* padding: 0 9px;*/
2277 margin-inline-start: 0px;
2278 border-inline-start: 1px solid var(--urlbar-separator-color);
2279 border-image: linear-gradient(transparent 15%,
2280 var(--urlbar-separator-color) 15%,
2281 var(--urlbar-separator-color) 85%,
2283 border-image-slice: 1;
2286 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2287 border-top-left-radius: 0px;
2288 border-bottom-left-radius: 0px;
2291 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2292 border-top-right-radius: 0px;
2293 border-bottom-right-radius: 0px;
2296 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2297 #urlbar-reload-button:not(:hover) {
2298 -moz-border-start-style: none;
2299 -moz-padding-start: 3px;
2302 #urlbar-reload-button {
2303 -moz-image-region: rect(0px, 14px, 14px, 0px);
2306 #urlbar-reload-button[disabled=true] {
2307 -moz-image-region: rect(28px, 14px, 42px, 0px);
2310 #urlbar-reload-button:not([disabled=true]):hover {
2311 -moz-image-region: rect(14px, 14px, 28px, 0px);
2314 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2315 transform: scaleX(-1);
2319 -moz-image-region: rect(0, 42px, 14px, 28px);
2322 #urlbar-go-button:hover {
2323 -moz-image-region: rect(14px, 42px, 28px, 28px);
2326 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2327 transform: scaleX(-1);
2330 #urlbar-stop-button {
2331 -moz-image-region: rect(0px, 28px, 14px, 14px);
2334 #urlbar-stop-button:hover {
2335 -moz-image-region: rect(14px, 28px, 28px, 14px);
2338 @media (min-resolution: 1.1dppx) {
2340 #urlbar-reload-button,
2341 #urlbar-stop-button {
2342 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2345 #urlbar-go-button > .toolbarbutton-icon,
2346 #urlbar-reload-button > .toolbarbutton-icon,
2347 #urlbar-stop-button > .toolbarbutton-icon {
2352 -moz-image-region: rect(0, 84px, 28px, 56px);
2355 #urlbar-go-button:hover {
2356 -moz-image-region: rect(28px, 84px, 56px, 56px);
2359 #urlbar-go-button:hover:active {
2360 -moz-image-region: rect(56px, 84px, 84px, 56px);
2363 #urlbar-reload-button {
2364 -moz-image-region: rect(0, 28px, 28px, 0);
2367 #urlbar-reload-button:not([disabled]):hover {
2368 -moz-image-region: rect(28px, 28px, 56px, 0);
2371 #urlbar-reload-button:not([disabled]):hover:active {
2372 -moz-image-region: rect(56px, 28px, 84px, 0);
2375 #urlbar-stop-button {
2376 -moz-image-region: rect(0, 56px, 28px, 28px);
2379 #urlbar-stop-button:not([disabled]):hover {
2380 -moz-image-region: rect(28px, 56px, 56px, 28px);
2383 #urlbar-stop-button:hover:active {
2384 -moz-image-region: rect(56px, 56px, 84px, 28px);
2388 /* popup blocker button */
2390 #page-report-button {
2391 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2392 -moz-image-region: rect(0, 16px, 16px, 0);
2395 #page-report-button:hover ,
2396 #page-report-button:hover:active,
2397 #page-report-button[open="true"] {
2398 -moz-image-region: rect(0, 32px, 16px, 16px);
2401 /* Reader mode button */
2403 #reader-mode-button {
2404 list-style-image: url("chrome://browser/skin/readerMode.svg");
2405 -moz-image-region: rect(0, 16px, 16px, 0);
2408 #reader-mode-button:hover,
2409 #reader-mode-button[readeractive]:hover {
2410 -moz-image-region: rect(0, 32px, 16px, 16px);
2413 #reader-mode-button:hover:active,
2414 #reader-mode-button[readeractive] {
2415 -moz-image-region: rect(0, 48px, 16px, 32px);
2418 /* social share panel */
2420 .social-share-frame {
2427 background-color: white;
2428 background-repeat: no-repeat;
2429 background-position: center center;
2431 #share-container[loading] {
2432 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2434 #share-container > browser {
2435 transition: opacity 150ms ease-in-out;
2438 #share-container[loading] > browser {
2442 .social-share-toolbar {
2443 border-bottom: 1px solid #9C9CFF;
2447 #social-share-provider-buttons {
2452 .share-provider-button {
2457 .share-provider-button > .toolbarbutton-text {
2460 .share-provider-button > .toolbarbutton-icon {
2466 /* fixup corners for share panel */
2467 .social-panel > .social-panel-frame {
2468 border-radius: inherit;
2471 #social-share-panel {
2477 .social-share-frame {
2478 border-top-left-radius: 0;
2479 border-bottom-left-radius: inherit;
2480 border-top-right-radius: 0;
2481 border-bottom-right-radius: inherit;
2484 #social-share-panel > .social-share-toolbar {
2485 border-top-left-radius: inherit;
2486 border-top-right-radius: inherit;
2489 #social-share-provider-buttons {
2490 border-top-left-radius: inherit;
2491 border-top-right-radius: inherit;
2494 /* social recommending panel */
2496 #social-mark-button {
2497 -moz-image-region: rect(0, 16px, 16px, 0);
2500 /* bookmarks menu-button */
2502 #bookmarks-menu-button.bookmark-item {
2503 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2504 -moz-image-region: rect(0px 16px 16px 0px);
2507 #bookmarks-menu-button.bookmark-item[starred] {
2508 -moz-image-region: rect(0px 32px 16px 16px);
2511 #nav-bar #bookmarks-menu-button[cui-areatype="toolbar"]:not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2513 padding-bottom: 2px;
2516 #BMB_bookmarksPopup[side="top"],
2517 #BMB_bookmarksPopup[side="bottom"] {
2519 margin-right: -20px;
2522 #BMB_bookmarksPopup[side="left"],
2523 #BMB_bookmarksPopup[side="right"] {
2525 margin-bottom: -20px;
2528 /* bookmarking panel */
2530 #editBookmarkPanelStarIcon {
2531 list-style-image: url("chrome://browser/skin/places/starred48.png");
2536 #editBookmarkPanelStarIcon[unstarred] {
2537 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2540 #editBookmarkPanelTitle {
2544 #editBookmarkPanelHeader,
2545 #editBookmarkPanelContent {
2546 margin-bottom: .5em;
2549 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2550 #editBMPanel_folderTree {
2557 border-top: 1px solid #9C9CFF;
2558 border-bottom-left-radius: 5px;
2559 border-bottom-right-radius: 5px;
2563 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2564 -moz-margin-end: 10px;
2565 vertical-align: middle;
2568 .panel-promo-closebutton {
2569 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2570 -moz-margin-end: -3px;
2574 .panel-promo-closebutton:hover {
2575 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2578 .panel-promo-closebutton:hover:active {
2579 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2582 .panel-promo-closebutton > .toolbarbutton-text {
2586 /* ::::: content area ::::: */
2589 background-color: #9C9CFF;
2594 background-color: #000000;
2598 -moz-margin-start: 0;
2607 -moz-padding-start: 0px;
2610 #sidebar-header > .close-icon {
2611 /* padding: 4px 2px;
2614 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2617 #sidebar-header > .close-icon:hover,
2618 #sidebar-header > .close-icon:hover:active {
2619 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2622 #sidebar-splitter:-moz-locale-dir(ltr),
2623 #sidebar:-moz-locale-dir(ltr) {
2624 border-radius: 0 5px 0 0;
2627 #sidebar-splitter:-moz-locale-dir(rtl),
2628 #sidebar:-moz-locale-dir(rtl) {
2629 border-radius: 5px 0 0 0;
2632 .browserContainer > findbar {
2634 background-color: -moz-dialog;
2635 color: -moz-DialogText;
2644 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2647 #TabsToolbar .toolbar-holder {
2648 background-color: #000000; /* correct effect of being an actual toolbar */
2651 #main-window[disablechrome] #TabsToolbar,
2652 #TabsToolbar[tabsontop="false"] {
2653 border-bottom: 1px solid #008484;
2656 /* === BEGIN tabs.inc.css === */
2659 /* --tab-toolbar-navbar-overlap: 1px; */
2660 /* --navbar-tab-toolbar-highlight-overlap: 1px; */
2661 /* --tab-min-height: 31px; */
2664 /* --tab-stroke-background-size: auto 100%; */
2668 .tabs-newtab-button,
2669 #TabsToolbar > #new-tab-button {
2674 padding: 1px 4px 2px;
2677 .tabbrowser-tab:first-of-type {
2678 -moz-margin-start: 2px;
2681 .tabs-newtab-button,
2682 #TabsToolbar > #new-tab-button,
2683 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2684 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2685 border-radius: 8px 8px 0px 0px;
2686 -moz-margin-start: 0;
2689 .tabs-newtab-button:not(:hover),
2690 #TabsToolbar > #new-tab-button:not(:hover),
2691 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2692 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2693 background-color: #C09070;
2696 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2697 .tabbrowser-tab[visuallyselected=true] {
2698 /* position: relative;
2702 .tab-background-middle {
2708 .tab-content[pinned] {
2721 -moz-margin-end: 3px;
2725 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2732 -moz-margin-start: -15px;
2736 .tab-icon-overlay[crashed] {
2737 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2740 .tab-icon-overlay[soundplaying],
2741 .tab-icon-overlay[muted]:not([crashed]) {
2742 border-radius: 10px;
2745 .tab-icon-overlay[soundplaying]:hover,
2746 .tab-icon-overlay[muted]:hover {
2747 background-color: #FFCF00;
2750 .tab-icon-overlay[soundplaying] {
2752 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio");
2755 .tab-icon-overlay[muted]:not([crashed]) {
2756 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-muted");
2759 #TabsToolbar[brighttext] .tab-icon-overlay[soundplaying]:not(:hover) {
2760 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white");
2764 #TabsToolbar[brighttext] .tab-icon-overlay[muted]:not([crashed]):not(:hover) {
2765 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio-white-muted");
2768 .tab-throbber[busy] {
2769 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2772 .tab-throbber[progress] {
2773 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2776 @media (min-resolution: 1.1dppx) {
2777 .tab-throbber[busy] {
2778 list-style-image: url("chrome://communicator/skin/brand/throbber-anim-connect.png");
2781 .tab-throbber[progress] {
2782 list-style-image: url("chrome://communicator/skin/brand/throbber-anim.png");
2786 .tab-throbber[pinned],
2787 .tab-icon-image[pinned] {
2788 -moz-margin-start: 2px;
2789 -moz-margin-end: 2px;
2793 /* this needs to add up to the 16px of the icon image */
2795 margin-top: 2px !important;
2796 margin-bottom: 2px !important;
2800 -moz-margin-start: 4px;
2806 .tab-icon-sound[muted] {
2807 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
2810 .tab-icon-sound[muted]:hover {
2811 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover");
2814 .tab-icon-sound[muted]:hover:active {
2815 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed");
2818 .tab-icon-sound[soundplaying] {
2819 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab");
2822 .tab-icon-sound[soundplaying]:hover {
2823 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-hover");
2826 .tab-icon-sound[soundplaying]:hover:active {
2827 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-pressed");
2830 .tab-icon-sound[muted] {
2831 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted");
2834 .tab-icon-sound[muted]:hover {
2835 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-hover");
2838 .tab-icon-sound[muted]:hover:active {
2839 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-backgroundTab-muted-pressed");
2842 .tab-icon-sound[visuallyselected=true][soundplaying] {
2843 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio");
2846 .tab-icon-sound[visuallyselected=true][soundplaying]:hover {
2847 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-hover");
2850 .tab-icon-sound[visuallyselected=true][soundplaying]:hover:active {
2851 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-pressed");
2854 .tab-icon-sound[visuallyselected=true][muted] {
2855 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
2858 .tab-icon-sound[visuallyselected=true][muted]:hover {
2859 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-hover");
2862 .tab-icon-sound[visuallyselected=true][muted]:hover:active {
2863 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-pressed");
2866 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying] {
2867 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white");
2870 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover {
2871 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-hover");
2874 #TabsToolbar[brighttext] .tab-icon-sound[soundplaying]:hover:active {
2875 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-white-pressed");
2878 #TabsToolbar[brighttext] .tab-icon-sound[muted] {
2879 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white");
2882 #TabsToolbar[brighttext] .tab-icon-sound[muted]:hover {
2883 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-hover");
2886 #TabsToolbar[brighttext] .tab-icon-sound[muted]:hover:active {
2887 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted-white-pressed");
2896 .tabs-newtab-button {
2897 /* overlap the tab curves */
2900 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2904 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2905 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2908 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2909 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2912 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2915 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2918 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2919 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2922 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2923 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2926 .tab-background-start[visuallyselected=true]::after,
2927 .tab-background-start[visuallyselected=true]::before,
2928 .tab-background-start,
2929 .tab-background-end,
2930 .tab-background-end[visuallyselected=true]::after,
2931 .tab-background-end[visuallyselected=true]::before {
2934 .tabbrowser-tab:not([visuallyselected=true]),
2935 .tabbrowser-tab:-moz-lwtheme {
2938 /* tabbrowser-tab focus ring */
2939 .tabbrowser-tab:focus {
2940 outline: 1px dotted;
2945 .tabbrowser-tab[visuallyselected="true"] {
2948 /* End selected tab */
2950 /* User Context UI - change tab decoration depending on userContextId.
2951 Defaults to gray for unknown usercontextids. */
2952 .tabbrowser-tab[usercontextid] {
2953 background-image: linear-gradient(to right, transparent 20%, #A09090 30%, #A09090 70%, transparent 80%);
2954 background-size: auto 2px;
2955 background-repeat: no-repeat;
2958 /* Personal User Context */
2959 .tabbrowser-tab[usercontextid="1"] {
2960 background-image: linear-gradient(to right, transparent 20%, #9C9CFF 30%, #9C9CFF 70%, transparent 80%);
2962 /* Work User Context */
2963 .tabbrowser-tab[usercontextid="2"] {
2964 background-image: linear-gradient(to right, transparent 20%, #FF9F00 30%, #FF9F00 70%, transparent 80%);
2966 /* Banking User Context */
2967 .tabbrowser-tab[usercontextid="3"] {
2968 background-image: linear-gradient(to right, transparent 20%, #008484 30%, #008484 70%, transparent 80%);
2970 /* Shopping User Context */
2971 .tabbrowser-tab[usercontextid="4"] {
2972 background-image: linear-gradient(to right, transparent 20%, #E7ADE7 30%, #E7ADE7 70%, transparent 80%);
2975 /* Tab pointer-events */
2978 pointer-events: none;
2981 .tab-background-middle,
2982 .tabs-newtab-button,
2983 .tab-icon-overlay[soundplaying],
2984 .tab-icon-overlay[muted]:not([crashed]),
2987 pointer-events: auto;
2993 .tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([visuallyselected="true"]),
2994 .tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([visuallyselected="true"]) {
2996 .tabbrowser-tab:-moz-any([image], [pinned]):-moz-any([attention], [titlechanged]):not([visuallyselected="true"]) {
2997 background-color: #E7ADE7;
3000 .tab-label[attention]:not([visuallyselected="true"]) {
3004 .tabbrowser-tab[pinned][titlechanged]:not([visuallyselected="true"]):hover {
3005 background-color: #3333FF;
3009 /* Tab separators */
3011 .tabbrowser-tab::after,
3012 .tabbrowser-tab::before {
3014 -moz-margin-start: -1px;
3015 background-image: linear-gradient(transparent 5px,
3017 currentColor calc(100% - 4px),
3018 transparent calc(100% - 4px));
3022 #TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::before,
3023 #TabsToolbar[brighttext] > #tabbrowser-tabs > .tabbrowser-tab::after {
3027 /* Also show separators beside the selected tab when dragging it. */
3029 #tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after,
3030 .tabbrowser-tab:not([visuallyselected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before,
3031 #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not([beforehovered]):not(:hover)::after {
3036 /* New tab button */
3038 .tabs-newtab-button {
3040 /* width: calc(36px + var(--tab-curve-width)); */
3043 /* === END tabs.inc.css === */
3047 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
3048 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
3049 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
3051 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
3052 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
3055 /* Tab DnD indicator */
3056 .tab-drop-indicator {
3057 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
3058 margin-bottom: -11px;
3061 /* Tab close button */
3063 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3066 .tab-close-button:hover,
3067 .tab-close-button:hover[selected="true"] {
3068 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3071 .tab-close-button:hover:active,
3072 .tab-close-button:hover:active[selected="true"] {
3073 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3076 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
3078 .tabbrowser-arrowscrollbox > .scrollbutton-up,
3079 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3083 background-origin: border-box;
3086 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3087 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3088 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
3089 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
3092 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
3093 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
3096 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
3097 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
3098 /* transform: scaleX(-1);*/
3101 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3102 transition: 1s background-color ease-out;
3105 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
3106 background-color: #008484;
3109 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
3110 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
3111 /* border-width: 0 2px 0 0;
3112 border-style: solid;
3113 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
3116 .tabs-newtab-button > .toolbarbutton-icon {
3118 margin-bottom: -1px;
3121 .tabs-newtab-button,
3122 #TabsToolbar > #new-tab-button,
3123 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
3124 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
3125 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.svg");
3126 -moz-image-region: auto;
3129 .tabs-newtab-button,
3130 .tabs-newtab-button:hover,
3131 #TabsToolbar > #new-tab-button,
3132 #TabsToolbar > #new-tab-button:hover {
3135 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3136 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3137 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3138 .tabs-newtab-button:-moz-lwtheme-brighttext,
3139 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3140 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
3143 #TabsToolbar > #new-tab-button {
3148 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
3151 #alltabs-button:hover,
3152 #alltabs-button:hover:active,
3153 #alltabs-button[open="true"] {
3154 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
3157 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3158 #alltabs-button:-moz-lwtheme-brighttext {
3161 #alltabs-button > .toolbarbutton-icon {
3165 #alltabs-button > .toolbarbutton-menu-dropmarker {
3169 /* All tabs menupopup */
3170 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
3171 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
3172 -moz-image-region: auto;
3175 .alltabs-item[selected="true"] {
3179 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3180 list-style-image: url("chrome://global/skin/icons/loading.gif");
3183 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
3184 background-color: #402800;
3187 .alltabs-endimage[muted] {
3188 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio-muted");
3191 .alltabs-endimage[soundplaying] {
3192 list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio.svg#tab-audio");
3195 toolbarbutton.chevron {
3196 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
3199 toolbarbutton.chevron:hover {
3200 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
3203 toolbar[brighttext] toolbarbutton.chevron {
3204 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3207 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3208 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
3209 transform: scaleX(-1);
3212 toolbarbutton.chevron > .toolbarbutton-text,
3213 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3217 toolbarbutton.chevron > .toolbarbutton-icon {
3221 #sidebar-throbber[loading="true"] {
3222 list-style-image: url("chrome://global/skin/icons/loading.gif");
3223 -moz-margin-end: 4px;
3226 /* Bookmarks toolbar */
3227 #PlacesToolbarDropIndicator {
3228 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
3231 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3232 background-color: #008484 !important;
3233 color: #FFCF00 !important;
3236 /* rules for menupopup drop indicators */
3237 .menupopup-drop-indicator-bar {
3239 /* these two margins must together compensate the indicator's height */
3241 margin-bottom: -1px;
3244 .menupopup-drop-indicator {
3245 list-style-image: none;
3247 -moz-margin-end: -4em;
3248 background-color: #008484;
3251 /* === BEGIN notification-icons.inc.css === */
3253 .popup-notification-icon {
3256 -moz-margin-end: 10px;
3259 .popup-notification-icon[popupid="geolocation"] {
3260 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3263 .popup-notification-icon[popupid="xpinstall-disabled"],
3264 .popup-notification-icon[popupid="addon-install-blocked"],
3265 .popup-notification-icon[popupid="addon-install-origin-blocked"] {
3266 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3269 .popup-notification-icon[popupid="addon-progress"] {
3270 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3273 .popup-notification-icon[popupid="addon-install-failed"] {
3274 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3277 .popup-notification-icon[popupid="addon-install-confirmation"] {
3278 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3281 #addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3282 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3285 .popup-notification-icon[popupid="addon-install-complete"] {
3286 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3289 .popup-notification-icon[popupid="addon-install-restart"] {
3290 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
3293 .popup-notification-icon[popupid="click-to-play-plugins"] {
3294 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3297 .popup-notification-icon[popupid="web-notifications"] {
3298 list-style-image: url("chrome://browser/skin/web-notifications-icon.svg");
3301 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3302 .popup-notification-icon[popupid*="offline-app-requested"],
3303 .popup-notification-icon[popupid="offline-app-usage"] {
3304 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3307 .popup-notification-icon[popupid="password"] {
3308 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3311 .popup-notification-icon[popupid="webapps-install-progress"],
3312 .popup-notification-icon[popupid="webapps-install"] {
3313 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3316 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3317 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3318 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3321 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3322 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3323 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3326 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3327 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3328 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3331 .popup-notification-icon[popupid="pointerLock"] {
3332 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3335 /* Notification icon box */
3336 #notification-popup .panel-promo-box {
3337 /* margin: 10px -10px -10px; */
3340 #notification-popup-box {
3342 background-color: #000000;
3343 background-clip: padding-box;
3346 border-radius: 3px 0 0 3px;
3347 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3348 -moz-margin-end: -8px;
3349 border-right-width: 8px;
3352 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3353 /* padding-left: 7px; */
3356 /* This changes the direction of the main notification box on the url bar. */
3357 #notification-popup-box:-moz-locale-dir(rtl),
3358 /* This adds a second flip for the notification anchors, as they don't switch direction
3360 .notification-anchor-icon:-moz-locale-dir(rtl) {
3361 transform: scaleX(-1);
3364 /* For the anchor icons in the chat window, we don't have the notification popup box,
3365 so we need to cancel the RTL transform. */
3366 .notification-anchor-icon.chat-toolbarbutton:-moz-locale-dir(rtl) {
3370 .notification-anchor-icon {
3371 list-style-image: url("chrome://global/skin/icons/information-16.png");
3378 .notification-anchor-icon:-moz-focusring {
3379 outline: 1px dotted #008484;
3382 .identity-notification-icon,
3383 #identity-notification-icon {
3384 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3387 .geo-notification-icon,
3388 #geo-notification-icon {
3389 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3392 #addons-notification-icon {
3393 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3396 #addons-notification-icon:hover {
3397 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3400 #addons-notification-icon:hover:active {
3401 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
3404 .indexedDB-notification-icon,
3405 #indexedDB-notification-icon {
3406 list-style-image: url("chrome://global/skin/icons/question-16.png");
3409 #password-notification-icon {
3410 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3413 #login-fill-notification-icon {
3414 /* Temporary icon until the capture and fill doorhangers are unified. */
3415 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3416 transform: scaleX(-1);
3419 #webapps-notification-icon {
3420 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3423 #plugins-notification-icon {
3424 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3427 #plugins-notification-icon.plugin-hidden {
3428 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3431 #plugins-notification-icon.plugin-blocked {
3432 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3435 #plugins-notification-icon {
3436 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3439 #plugins-notification-icon:hover {
3440 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3443 #notification-popup-box[hidden] {
3444 /* Override display:none to make the pluginBlockedNotification animation work
3445 when showing the notification repeatedly. */
3447 visibility: collapse;
3450 #plugins-notification-icon.plugin-blocked[showing] {
3451 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3454 @keyframes pluginBlockedNotification {
3463 .webRTC-shareDevices-notification-icon,
3464 #webRTC-shareDevices-notification-icon {
3465 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3468 .webRTC-sharingDevices-notification-icon,
3469 #webRTC-sharingDevices-notification-icon {
3470 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3473 .webRTC-shareMicrophone-notification-icon,
3474 #webRTC-shareMicrophone-notification-icon {
3475 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3478 .webRTC-sharingMicrophone-notification-icon,
3479 #webRTC-sharingMicrophone-notification-icon {
3480 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3483 .webRTC-shareScreen-notification-icon,
3484 #webRTC-shareScreen-notification-icon {
3485 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3488 .webRTC-sharingScreen-notification-icon,
3489 #webRTC-sharingScreen-notification-icon {
3490 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3493 .web-notifications-notification-icon,
3494 #web-notifications-notification-icon {
3495 list-style-image: url("chrome://browser/skin/web-notifications-tray.svg");
3496 -moz-image-region: rect(0, 16px, 16px, 0);
3499 .web-notifications-notification-icon:hover,
3500 #web-notifications-notification-icon:hover {
3501 -moz-image-region: rect(0, 32px, 16px, 16px);
3504 .web-notifications-notification-icon:hover:active,
3505 #web-notifications-notification-icon:hover:active {
3506 -moz-image-region: rect(0, 48px, 16px, 32px);
3509 #pointerLock-notification-icon {
3510 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3513 .translate-notification-icon,
3514 #translate-notification-icon {
3515 list-style-image: url("chrome://browser/skin/translation-16.png");
3516 -moz-image-region: rect(0px, 16px, 16px, 0px);
3519 .translated-notification-icon,
3520 #translated-notification-icon {
3521 list-style-image: url("chrome://browser/skin/translation-16.png");
3522 -moz-image-region: rect(0px, 32px, 16px, 16px);
3525 .popup-notification-icon[popupid="servicesInstall"] {
3526 list-style-image: url("chrome://browser/skin/social/services-64.png");
3528 #servicesInstall-notification-icon {
3529 list-style-image: url("chrome://browser/skin/social/services-16.png");
3532 /* EME notifications */
3534 .popup-notification-icon[popupid="drmContentPlaying"],
3535 #eme-notification-icon {
3536 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3539 #eme-notification-icon:hover:active {
3540 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3543 #eme-notification-icon[firstplay=true] {
3544 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3547 @keyframes emeTeachingMoment {
3548 0% {transform: translateX(0); }
3549 25% {transform: translateX(3px) }
3550 75% {transform: translateX(-3px) }
3551 100% { transform: translateX(0); }
3554 /* HiDPI notification icons */
3555 @media (min-resolution: 1.1dppx) {
3556 /* #notification-popup-box {
3557 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3560 .notification-anchor-icon {
3561 list-style-image: url(chrome://global/skin/icons/information-32.png);
3564 .webRTC-shareDevices-notification-icon,
3565 #webRTC-shareDevices-notification-icon {
3566 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3569 .webRTC-sharingDevices-notification-icon,
3570 #webRTC-sharingDevices-notification-icon {
3571 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3574 .webRTC-shareMicrophone-notification-icon,
3575 #webRTC-shareMicrophone-notification-icon {
3576 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3579 .webRTC-sharingMicrophone-notification-icon,
3580 #webRTC-sharingMicrophone-notification-icon {
3581 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3584 .webRTC-shareScreen-notification-icon,
3585 #webRTC-shareScreen-notification-icon {
3586 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3589 .webRTC-sharingScreen-notification-icon,
3590 #webRTC-sharingScreen-notification-icon {
3591 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3594 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3595 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3596 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3599 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3600 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3601 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3604 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3605 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3606 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3610 /* === END notification-icons.inc.css === */
3612 .popup-notification-body[popupid="addon-progress"],
3613 .popup-notification-body[popupid="addon-install-confirmation"] {
3618 /* Translation infobar */
3620 /* === BEGIN infobar.inc.css === */
3622 notification[value="translation"] .messageImage {
3623 list-style-image: url("chrome://browser/skin/translation-16.png");
3624 -moz-image-region: rect(0, 32px, 16px, 16px);
3627 @media (min-resolution: 1.25dppx) {
3628 notification[value="translation"] .messageImage {
3629 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3630 -moz-image-region: rect(0, 64px, 32px, 32px);
3634 notification[value="translation"][state="translating"] .messageImage {
3635 list-style-image: url("chrome://browser/skin/translating-16.png");
3636 -moz-image-region: auto;
3639 @media (min-resolution: 1.25dppx) {
3640 notification[value="translation"][state="translating"] .messageImage {
3641 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3645 notification[value="translation"] hbox[anonid="details"] {
3649 notification[value="translation"] button,
3650 notification[value="translation"] menulist {
3654 notification[value="translation"] menulist > .menulist-dropmarker {
3657 .translation-menupopup arrowscrollbox {
3661 .translation-attribution {
3663 -moz-box-align: end;
3667 .translation-attribution > label {
3671 .translation-attribution > image {
3675 .translation-welcome-panel {
3679 .translation-welcome-logo {
3682 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3683 -moz-image-region: rect(0, 64px, 32px, 32px);
3686 .translation-welcome-content {
3687 -moz-margin-start: 16px;
3690 .translation-welcome-headline {
3695 .translation-welcome-body {
3700 /* === END infobar.inc.css === */
3702 notification[value="translation"] {
3706 .translation-menupopup {
3707 -moz-appearance: none;
3710 /* Bookmarks roots menu-items */
3711 #subscribeToPageMenuitem:not([disabled]),
3712 #subscribeToPageMenupopup,
3713 #BMB_subscribeToPageMenuitem:not([disabled]),
3714 #BMB_subscribeToPageMenupopup {
3715 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3718 #bookmarksToolbarFolderMenu,
3719 #BMB_bookmarksToolbar,
3720 #panelMenu_bookmarksToolbar {
3721 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3722 -moz-image-region: auto;
3725 #BMB_unsortedBookmarks,
3726 #panelMenu_unsortedBookmarks {
3727 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3728 -moz-image-region: auto;
3731 /* ::::: Keyboard UI Panel ::::: */
3736 border-radius: 20px;
3739 .KUI-panel[level="top"] {
3740 /*background-color: rgba(27%,27%,27%,.65);*/
3746 padding: 20px 10px 10px;
3750 .ctrlTab-favicon[src] {
3751 background-color: #000000;
3757 .ctrlTab-preview-inner > .tabPreview-canvas {
3760 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3764 .ctrlTab-preview-inner {
3765 padding-bottom: 10px;
3768 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3770 background-color: #000000;
3771 border-radius: .5em;
3774 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3776 background-color: #000000;
3779 border: 2px solid #9C9CFF;
3780 border-radius: .5em;
3783 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3784 margin: -10px -10px 0;
3796 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3804 .sync-panel-button-box {
3808 #sync-start-panel-title {
3814 #sync-start-panel-subtitle {
3820 .statuspanel-label {
3823 background: #404000;
3824 border: 1px none #9C9CFF;
3825 border-top-style: solid;
3830 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3831 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3832 border-right-style: solid;
3833 border-top-right-radius: .3em;
3837 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3838 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3839 border-left-style: solid;
3840 border-top-left-radius: .3em;
3844 /* HACK to abolish devily color on main content */
3847 background-color: transparent !important;
3850 /* === BEGIN fullscreen/warning.inc.css === */
3852 html|*#fullscreen-warning {
3853 align-items: center;
3854 background: rgba(0, 0, 0, 0.9);
3855 border: 2px solid #A09090;
3856 box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
3859 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
3862 html|*#fullscreen-warning::before {
3864 width: 24px; height: 24px;
3867 html|*#fullscreen-warning.verifiedIdentity::before,
3868 html|*#fullscreen-warning.verifiedDomain::before {
3869 content: url("chrome://browser/skin/fullscreen/secure.svg");
3872 html|*#fullscreen-warning.unknownIdentity::before {
3873 content: url("chrome://browser/skin/fullscreen/insecure.svg");
3876 html|*#fullscreen-domain-text,
3877 html|*#fullscreen-generic-text {
3879 font-weight: lighter;
3884 html|*#fullscreen-domain {
3889 html|*#fullscreen-exit-button {
3891 font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
3893 font-weight: lighter;
3895 box-sizing: content-box;
3897 border-radius: 300px;
3899 background-color: #C09070;
3903 /* === END fullscreen/warning.inc.css === */
3905 /* === BEGIN commandline.inc.css === */
3907 /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
3908 We are copy/pasting variables from light-theme and dark-theme,
3909 since they aren't loaded in this context (within browser.css). */
3910 :root #developer-toolbar {
3911 --gcli-background-color: #000000; /* --theme-toolbar-background */
3912 --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
3913 --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
3914 --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
3915 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
3916 --selection-background: #008484; /* --theme-selection-background */
3917 --selection-color: #000000; /* --theme-selection-color */
3920 /* Developer toolbar */
3922 #developer-toolbar {
3923 border-top: 3px solid var(--gcli-background-color);
3924 border-bottom: none;
3927 #developer-toolbar .toolbar-holder {
3928 background-color: #8050B0;
3932 #developer-toolbar .toolbar-holder {
3933 background-color: #8050B0;
3937 #developer-toolbar .toolbar-startcap,
3938 #developer-toolbar .toolbar-endcap{
3939 background-color: #6000CF;
3942 #developer-toolbar {
3944 min-height: 32px; */
3947 #developer-toolbar > toolbarbutton {
3953 .developer-toolbar-button > image {
3954 /* margin: auto 10px; */
3957 #developer-toolbar-toolbox-button > label {
3961 .developer-toolbar-button > .toolbarbutton-icon,
3962 #developer-toolbar-closebutton > .toolbarbutton-icon {
3967 #developer-toolbar-toolbox-button {
3968 list-style-image: url("chrome://devtools/skin/toggle-tools.png");
3969 -moz-image-region: rect(0px, 16px, 16px, 0px);
3972 #developer-toolbar-toolbox-button > label {
3976 #developer-toolbar-toolbox-button:hover,
3977 #developer-toolbar-toolbox-button:hover:active,
3978 #developer-toolbar-toolbox-button[checked=true] {
3979 -moz-image-region: rect(0px, 32px, 16px, 16px);
3982 @media (min-resolution: 2dppx) {
3983 #developer-toolbar-toolbox-button {
3984 list-style-image: url("chrome://devtools/skin/toggle-tools@2x.png");
3985 -moz-image-region: rect(0px, 32px, 32px, 0px);
3988 #developer-toolbar-toolbox-button:hover,
3989 #developer-toolbar-toolbox-button:hover:active,
3990 #developer-toolbar-toolbox-button[checked=true] {
3991 -moz-image-region: rect(0px, 64px, 32px, 32px);
3995 #developer-toolbar-closebutton {
3996 list-style-image: url("chrome://devtools/skin/close.png");
3997 -moz-image-region: rect(0px, 16px, 16px, 0px);
4002 #developer-toolbar-closebutton > .toolbarbutton-icon {
4005 #developer-toolbar-closebutton > .toolbarbutton-text {
4009 #developer-toolbar-closebutton:hover,
4010 #developer-toolbar-closebutton:hover:active {
4011 -moz-image-region: rect(0px, 32px, 16px, 16px);
4014 @media (min-resolution: 2dppx) {
4015 #developer-toolbar-closebutton {
4016 list-style-image: url("chrome://devtools/skin/close@2x.png");
4017 -moz-image-region: rect(0px, 32px, 32px, 0px);
4020 #developer-toolbar-closebutton:hover,
4021 #developer-toolbar-closebutton:hover:active {
4022 -moz-image-region: rect(0px, 64px, 32px, 32px);
4028 html|*#gcli-tooltip-frame,
4029 html|*#gcli-output-frame {
4032 background-color: transparent;
4038 background-color: transparent;
4041 .gclitoolbar-input-node,
4042 .gclitoolbar-complete-node {
4044 -moz-box-align: center;
4048 background-color: transparent;
4051 .gclitoolbar-input-node {
4052 /* line-height: 32px;
4053 outline-style: none; */
4054 background-repeat: no-repeat;
4055 background-color: var(--gcli-input-background);
4058 .gclitoolbar-input-node[focused="true"] {
4059 background-color: var(--gcli-input-focused-background);
4062 .gclitoolbar-input-node::before {
4064 display: inline-block;
4065 -moz-box-ordinal-group: 0;
4069 background-image: url("chrome://devtools/skin/commandline-icon.png");
4070 background-position: 0 center;
4071 background-size: 32px 16px;
4074 .gclitoolbar-input-node[focused="true"]::before {
4075 background-position: -16px center;
4078 @media (min-resolution: 2dppx) {
4079 .gclitoolbar-input-node::before {
4080 background-image: url("chrome://devtools/skin/commandline-icon@2x.png");
4084 .gclitoolbar-input-node:not([focused="true"]) {
4085 border-color: transparent;
4088 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
4089 background-color: var(--selection-background);
4090 color: var(--selection-color);
4093 .gclitoolbar-complete-node {
4095 background-color: transparent;
4098 pointer-events: none;
4101 .gcli-in-incomplete,
4105 .gcli-in-closebrace,
4112 .gcli-in-incomplete {
4113 border-bottom: 2px dotted #8050B0;
4117 border-bottom: 2px dotted #FF0000;
4128 .gcli-in-closebrace {
4132 /* === END commandline.inc.css === */
4134 /* === BEGIN responsivedesign.inc.css === */
4136 /* Responsive Mode */
4138 .browserContainer[responsivemode] {
4139 background-color: #221500;
4140 padding: 0 20px 20px 20px;
4143 .browserStack[responsivemode] {
4144 box-shadow: 0 0 7px #9C9CFF;
4147 .devtools-responsiveui-toolbar {
4148 background: transparent;
4149 /* text color is textColor from dark theme, since no theme is applied to
4150 * the responsive toolbar.
4156 border-bottom-width: 0;
4159 .devtools-responsiveui-menulist,
4160 .devtools-responsiveui-toolbarbutton {
4161 -moz-box-align: center;
4163 /* min-height: 22px;*/
4164 /* margin: 0 3px; */
4167 .devtools-responsiveui-menulist .menulist-editable-box {
4168 background-color: transparent;
4171 .devtools-responsiveui-menulist html|*.menulist-editable-input {
4176 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
4177 /* background: hsla(212,7%,57%,.35);*/
4180 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4185 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4186 -moz-box-orient: horizontal;
4189 .devtools-responsiveui-menulist:-moz-focusring,
4190 .devtools-responsiveui-toolbarbutton:-moz-focusring {
4191 /* outline: 1px dotted hsla(210,30%,85%,0.7);
4192 outline-offset: -4px;*/
4195 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4199 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4200 /* border-color: hsla(210,8%,5%,.6);
4201 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4202 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); */
4205 .devtools-responsiveui-menulist[open=true],
4206 .devtools-responsiveui-toolbarbutton[open=true],
4207 .devtools-responsiveui-toolbarbutton[checked=true] {
4208 /* border-color: hsla(210,8%,5%,.6) !important;
4209 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4210 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); */
4213 .devtools-responsiveui-toolbarbutton[checked=true] {
4214 /* color: hsl(208,100%,60%); */
4217 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
4218 /* background-color: transparent !important;*/
4221 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4222 /* background-color: hsla(210,8%,5%,.2) !important;*/
4225 .devtools-responsiveui-menulist > .menulist-label-box {
4229 .devtools-responsiveui-menulist > .menulist-dropmarker {
4230 /* display: -moz-box;
4231 background-color: transparent;
4232 list-style-image: url("chrome://devtools/skin/dropmarker.svg");
4233 -moz-box-align: center;
4238 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4241 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4242 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4245 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4246 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4249 .devtools-responsiveui-toolbarbutton[type=menu-button] {
4250 /* padding: 0 1px;*/
4251 -moz-box-align: stretch;
4254 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4255 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
4256 /* list-style-image: url("chrome://devtools/skin/dropmarker.svg");
4257 -moz-box-align: center;
4261 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4262 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4266 .devtools-responsiveui-close {
4267 list-style-image: url("chrome://devtools/skin/close.png");
4268 -moz-image-region: rect(0px,16px,16px,0px);
4271 .devtools-responsiveui-close:hover {
4272 -moz-image-region: rect(0px,32px,16px,16px);
4275 .devtools-responsiveui-rotate {
4276 list-style-image: url("chrome://devtools/skin/responsiveui-rotate.png");
4277 -moz-image-region: rect(0px,16px,16px,0px);
4280 .devtools-responsiveui-rotate:hover {
4281 -moz-image-region: rect(0px,32px,16px,16px);
4284 @media (min-resolution: 2dppx) {
4285 .devtools-responsiveui-close {
4286 list-style-image: url("chrome://devtools/skin/close@2x.png");
4289 .devtools-responsiveui-close:hover {
4290 -moz-image-region: rect(0px,64px,32px,32px);
4293 .devtools-responsiveui-rotate {
4294 list-style-image: url("chrome://devtools/skin/responsiveui-rotate@2x.png");
4297 .devtools-responsiveui-rotate:hover {
4298 -moz-image-region: rect(0px,64px,32px,32px);
4302 .devtools-responsiveui-touch {
4303 list-style-image: url("chrome://devtools/skin/responsiveui-touch.png");
4304 -moz-image-region: rect(0px,16px,16px,0px);
4307 .devtools-responsiveui-touch:hover,
4308 .devtools-responsiveui-touch[checked],
4309 .devtools-responsiveui-touch[checked]:hover {
4310 -moz-image-region: rect(0px,32px,16px,16px);
4313 @media (min-resolution: 2dppx) {
4314 .devtools-responsiveui-touch {
4315 list-style-image: url("chrome://devtools/skin/responsiveui-touch@2x.png");
4316 -moz-image-region: rect(0px,32px,32px,0px);
4319 .devtools-responsiveui-touch:hover,
4320 .devtools-responsiveui-touch[checked],
4321 .devtools-responsiveui-touch[checked]:hover {
4322 -moz-image-region: rect(0px,64px,32px,32px);
4326 .devtools-responsiveui-screenshot {
4327 list-style-image: url("chrome://devtools/skin/responsiveui-screenshot.png");
4328 -moz-image-region: rect(0px,16px,16px,0px);
4331 .devtools-responsiveui-screenshot:hover {
4332 -moz-image-region: rect(0px,32px,16px,16px);
4335 @media (min-resolution: 2dppx) {
4336 .devtools-responsiveui-screenshot {
4337 list-style-image: url("chrome://devtools/skin/responsiveui-screenshot@2x.png");
4340 .devtools-responsiveui-screenshot:hover {
4341 -moz-image-region: rect(0px,64px,32px,32px);
4345 .devtools-responsiveui-resizebarV {
4349 transform: translate(12px, -12px);
4350 background-size: cover;
4351 background-image: url("chrome://devtools/skin/responsive-vertical-resizer.png");
4354 .devtools-responsiveui-resizebarH {
4358 transform: translate(-12px, 12px);
4359 background-size: cover;
4360 background-image: url("chrome://devtools/skin/responsive-horizontal-resizer.png");
4363 .devtools-responsiveui-resizehandle {
4367 transform: translate(12px, 12px);
4368 background-size: cover;
4369 background-image: url("chrome://devtools/skin/responsive-se-resizer.png");
4372 /* FxOS custom mode with additional buttons and phone look'n feel */
4374 /* Hide devtools manual resizer */
4375 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4376 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4377 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4381 /* Gives responsive mode a phone look'n feel */
4382 .browserStack[responsivemode].fxos-mode {
4383 padding: 60px 15px 0;
4385 border-radius: 25px / 20px;
4386 border-bottom-left-radius: 0;
4387 border-bottom-right-radius: 0;
4388 border: 1px solid #FFFFFF;
4389 border-bottom-width: 0;
4391 background-color: #353535;
4393 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4395 background-image: linear-gradient(to right, #111 11%, #333 56%);
4399 .devtools-responsiveui-hardware-buttons {
4400 -moz-appearance: none;
4403 border: 1px solid #FFFFFF;
4404 border-bottom-left-radius: 25px;
4405 border-bottom-right-radius: 25px;
4406 border-top-width: 0;
4408 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4410 background-image: linear-gradient(to right, #111 11%, #333 56%);
4413 .devtools-responsiveui-home-button {
4414 -moz-user-focus: ignore;
4417 list-style-image: url("chrome://devtools/skin/responsiveui-home.png");
4420 .devtools-responsiveui-sleep-button {
4421 -moz-user-focus: ignore;
4422 -moz-appearance: none;
4423 /* compensate browserStack top padding */
4431 border: 1px solid #444;
4432 border-top-right-radius: 12px;
4433 border-top-left-radius: 12px;
4434 border-bottom-color: transparent;
4436 background-image: linear-gradient(to top, #111 11%, #333 56%);
4439 .devtools-responsiveui-sleep-button:hover:active {
4440 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4443 .devtools-responsiveui-volume-buttons {
4447 .devtools-responsiveui-volume-up-button,
4448 .devtools-responsiveui-volume-down-button {
4449 -moz-user-focus: ignore;
4450 -moz-appearance: none;
4451 border: 1px solid red;
4455 border: 1px solid #444;
4456 border-right-color: transparent;
4458 background-image: linear-gradient(to right, #111 11%, #333 56%);
4461 .devtools-responsiveui-volume-up-button:hover:active,
4462 .devtools-responsiveui-volume-down-button:hover:active {
4463 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4466 .devtools-responsiveui-volume-up-button {
4467 border-top-left-radius: 12px;
4470 .devtools-responsiveui-volume-down-button {
4471 border-bottom-left-radius: 12px;
4474 @media (min-resolution: 2dppx) {
4475 .devtools-responsiveui-resizebarV {
4476 background-image: url("chrome://devtools/skin/responsive-vertical-resizer@2x.png");
4479 .devtools-responsiveui-resizebarH {
4480 background-image: url("chrome://devtools/skin/responsive-horizontal-resizer@2x.png");
4483 .devtools-responsiveui-resizehandle {
4484 background-image: url("chrome://devtools/skin/responsive-se-resizer@2x.png");
4488 /* === END responsivedesign.inc.css === */
4490 /* === including indicator.css is done at the start of the file === */
4494 #developer-toolbar-toolbox-button[error-count]:before {
4498 background-color: #FF0000;
4500 -moz-margin-end: 5px;
4503 /* Social toolbar item */
4505 #social-notification-icon-mentions {
4506 background-color: #000000;
4508 -moz-margin-start: 2px;
4511 #social-notification-icon-mentions:hover {
4512 background-color: #FFCF00;
4515 #social-notification-icon-mentions[open="true"] {
4516 background-color: #FF9F00;
4519 #social-sidebar-splitter {
4523 #socialActivatedNotification .popup-notification-button-container {
4527 .social-activation-icon {
4534 #social-activation-message {
4538 #social-activation-message > label {
4542 /* social toolbar provider menu */
4543 .social-statusarea-popup {
4546 margin-right: -12px;
4549 .social-statusarea-user {
4550 border-bottom: 1px solid #9C9CFF;
4551 background-color: #000000;
4557 .social-statusarea-user-portrait {
4564 .social-statusarea-loggedInStatus {
4565 background: transparent;
4570 list-style-image: none;
4573 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4574 text-decoration: underline;
4577 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4581 .social-panel-frame {
4582 border-radius: inherit;
4585 /* === BEGIN chat.inc.css === */
4587 #social-sidebar-header {
4591 #manage-share-providers,
4592 #social-sidebar-button {
4593 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4594 -moz-image-region: rect(0, 468px, 18px, 450px);
4597 #social-sidebar-button {
4598 -moz-appearance: none;
4603 #manage-share-providers > .toolbarbutton-icon,
4604 #social-sidebar-button > .toolbarbutton-icon {
4608 #manage-share-providers:hover,
4609 #manage-share-providers:hover:active,
4610 #social-sidebar-button:hover,
4611 #social-sidebar-button:hover:active {
4612 -moz-image-region: rect(18px, 468px, 36px, 450px);
4614 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4618 #social-sidebar-button[loading="true"] {
4619 list-style-image: url("chrome://global/skin/icons/loading.gif");
4622 #social-sidebar-favico {
4635 .chat-toolbarbutton {
4636 -moz-appearance: none;
4643 .chat-toolbarbutton > .toolbarbutton-text {
4647 .chat-toolbarbutton > .toolbarbutton-icon {
4652 .chat-close-button {
4653 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
4656 .chat-close-button:hover {
4657 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-hover");
4660 .chat-close-button:hover:active {
4661 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
4664 .chat-minimize-button {
4665 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
4668 .chat-minimize-button:hover {
4669 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-hover");
4672 .chat-minimize-button:hover:active {
4673 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
4677 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4678 transform: rotate(180deg);
4681 .chat-swap-button:hover {
4682 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-hover");
4685 .chat-swap-button:hover:active {
4686 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
4689 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4700 background-color: #9C9CFF;
4707 border: 1px solid #008484;
4709 border-top-left-radius: 4px;
4710 border-top-right-radius: 4px;
4712 background-color: #A09090;
4715 .chat-titlebar[selected] {
4716 background-color: #008484;
4719 .chat-titlebar > .notification-anchor-icon {
4724 .chat-titlebar[minimized="true"] {
4725 border-bottom: none;
4728 .chat-titlebar[selected] {
4729 background-color: #008484;
4732 .chat-titlebar[activity] {
4733 background-color: #E7ADE7;
4743 list-style-image: url("chrome://browser/skin/social/services-16.png");
4744 background-color: #000000;
4750 border-top: 1px solid #008484;
4751 -moz-border-end: 1px solid #008484;
4754 @media (min-resolution: 2dppx) {
4756 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4760 .chatbar-button:hover {
4761 background-color: #FFCF00;
4763 .chatbar-button[open="true"] {
4764 background-color: #FF9F00;
4767 .chatbar-button[activity]:not([open]) {
4768 background-image: radial-gradient(circle farthest-corner at center 2px, rgb(160,144,144) 3%, rgba(160,144,144,0.9) 12%, rgba(156,156,255,0.6) 30%, rgba(156,156,255,0.2) 70%);
4771 .chatbar-button > .toolbarbutton-icon {
4775 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4782 .chatbar-button > .toolbarbutton-icon {
4786 .chatbar-button:hover > .toolbarbutton-icon,
4787 .chatbar-button[open="true"] > .toolbarbutton-icon {
4791 .chatbar-button:hover,
4792 .chatbar-button[open="true"] {
4795 .chatbar-button > .toolbarbutton-text,
4796 .chatbar-button > .toolbarbutton-menu-dropmarker {
4800 .chatbar-button[activity]:not([open="true"]) {
4801 background-color: #E7ADE7;
4804 .chatbar-button > menupopup > menuitem[activity] {
4809 background: transparent;
4814 -moz-margin-end: 20px;
4818 -moz-margin-start: 4px;
4819 background-color: transparent;
4823 /* Apply the same border-radius as the .chat-titlebar to make the box-shadow
4825 /* border-top-left-radius: 4px;
4826 border-top-right-radius: 4px;*/
4827 /* Offset the chatbox the same amount as the box-shadows' spread, to make it
4829 /* -moz-margin-end: 5px;*/
4832 chatbox[minimized="true"] {
4838 -moz-margin-start: 0px;
4844 /* === END chat.inc.css === */
4846 /* === BEGIN plugin-doorhanger.inc.css === */
4849 * Plugin Doorhanger Styles
4852 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4853 padding: 6px 1px 2px;
4856 .click-to-play-plugins-notification-center-box {
4859 .plugin-popupnotification-centeritem:nth-child(odd) {
4860 /* background-color: rgba(0,0,0,0.1);*/
4863 .center-item-label {
4865 text-overflow: ellipsis;
4868 .center-item-warning-icon {
4869 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4870 background-repeat: no-repeat;
4873 -moz-margin-start: 6px;
4876 .click-to-play-plugins-notification-button-container {
4879 .click-to-play-popup-button {
4883 .click-to-play-plugins-notification-description-box {
4887 padding-bottom: 3px;
4890 .click-to-play-plugins-outer-description {
4894 .click-to-play-plugins-notification-link,
4899 .messageImage[value="plugin-hidden"] {
4900 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4903 /* Keep any changes to this style in sync with pluginProblem.css */
4904 notification.pluginVulnerable {
4907 notification.pluginVulnerable .messageImage {
4908 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4911 /* === END plugin-doorhanger.inc.css === */
4913 /* === BEGIN login-doorhanger.inc.css === */
4915 #notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent {
4916 /* Since we display a sliding subview that extends to the border, we cannot
4917 * keep the default padding of arrow panels. We use the same padding in the
4918 * individual content views instead. Since we removed the padding, we also
4919 * have to ensure the contents are clipped to the border box. */
4924 #login-fill-mainview,
4925 #login-fill-details {
4926 padding: var(--panel-arrowcontent-padding);
4929 #login-fill-doorhanger[inDetailView] > #login-fill-mainview {
4930 transform: translateX(-14px);
4933 #login-fill-mainview,
4934 #login-fill-details {
4935 transition: transform 150ms;
4938 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details {
4939 transform: translateX(105%);
4942 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details:-moz-locale-dir(rtl) {
4943 transform: translateX(-105%);
4946 #login-fill-doorhanger[inDetailView] > #login-fill-clickcapturer {
4947 background-color: hsla(240,39%,100%,.1);
4950 #login-fill-testing {
4956 border: 1px solid #9C9CFF;
4960 .login-fill-item[disabled] {
4962 background-color: #000000;
4965 .login-fill-item[disabled][selected] {
4966 background-color: #008484;
4974 .login-fill-item.different-hostname > .login-hostname {
4984 #login-fill-details {
4986 background: var(--panel-arrowcontent-background);
4987 color: var(--panel-arrowcontent-color);
4988 background-clip: padding-box;
4989 border-left: 1px solid #9C9CFF;
4990 -moz-margin-start: 38px;
4993 /* === END login-doorhanger.inc.css === */
4995 /* === BEGIN customizeMode.inc.css === */
4997 /* Customization mode */
4999 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
5003 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
5004 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
5005 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
5010 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
5011 pointer-events: none;
5014 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
5015 #PanelUI-contents > .panel-customization-placeholder {
5016 -moz-outline-radius: 2.5px;
5017 outline: 1px dashed transparent;
5020 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
5021 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
5022 -moz-box-ordinal-group: 0;
5027 outline-offset: -2px;
5028 pointer-events: none;
5034 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
5035 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
5036 offset from the bottom effectively the same as other targets (-2px). */
5037 #main-window[customize-entered] #TabsToolbar.customization-target::before {
5041 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
5042 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
5043 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
5044 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
5048 /* Most target outlines are shown on hover and drag over but the panel menu uses
5049 placeholders instead. */
5050 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
5051 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
5052 /* nav-bar and panel outlines are always shown */
5053 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5054 outline-color: #A09090;
5057 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5058 transition: outline-color 250ms linear;
5061 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
5062 transition: outline-color 250ms linear;
5063 outline-color: #9C9CFF;
5066 #PanelUI-contents > .panel-customization-placeholder {
5068 outline-offset: -5px;
5071 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
5073 /* padding-left: 10px;
5074 padding-right: 10px;*/
5077 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
5081 #customization-container {
5082 background-color: #000000;
5086 #customization-palette,
5087 #customization-empty {
5088 padding: 0 15px 15px;
5091 #customization-header {
5093 line-height: 1.75em;
5096 margin: 25px 25px 12px;
5097 padding-bottom: 12px;
5098 border-bottom: 1px solid #A09090;
5101 #customization-panel-container {
5102 padding: 10px 10px 0px;
5105 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
5106 #customization-footer {
5107 /*background-color: rgb(236,236,236);*/
5110 #customization-footer {
5111 border-top: 1px solid #9C9CFF;
5115 .customizationmode-button {
5119 .customizationmode-button:hover {
5122 #customization-titlebar-visibility-button[checked],
5123 #customization-devedition-theme-button[checked] {
5124 background-color: #008484;
5127 #customization-titlebar-visibility-button[checked]:hover,
5128 #customization-devedition-theme-button[checked]:hover {
5129 background-color: #FFCF00;
5132 #customization-titlebar-visibility-button[checked]:hover:active,
5133 #customization-devedition-theme-button[checked]:hover:active {
5134 background-color: #FF9F00;
5137 .customizationmode-button[disabled="true"] {
5140 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
5141 .customizationmode-button > .button-box > .button-icon {
5145 #customization-titlebar-visibility-button {
5146 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
5147 -moz-image-region: rect(0, 16px, 16px, 0);
5150 #customization-titlebar-visibility-button:hover {
5151 -moz-image-region: rect(16px, 16px, 32px, 0);
5154 #customization-lwtheme-button,
5155 #customization-titlebar-visibility-button {
5159 #customization-titlebar-visibility-button > .button-box {
5161 padding-bottom: 1px;
5164 #customization-titlebar-visibility-button:hover:active > .button-box {
5169 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
5170 #customization-titlebar-visibility-button > .button-box > .button-text {
5171 /* Sadly, button.css thinks its margins are perfect for everyone. */
5172 -moz-margin-start: 5px !important;
5175 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
5179 background-size: contain;
5182 #customization-titlebar-visibility-button > .button-box > .button-icon {
5183 vertical-align: middle;
5186 #customization-titlebar-visibility-button[checked] {
5187 -moz-image-region: rect(0, 32px, 16px, 16px);
5188 background-color: #008484;
5191 #customization-titlebar-visibility-button[checked]:hover {
5192 -moz-image-region: rect(16px, 32px, 32px, 16px);
5193 background-color: #FFCF00;
5196 #customization-titlebar-visibility-button[checked]:hover:active {
5197 background-color: #FF9F00;
5200 @media (min-resolution: 1.1dppx) {
5201 #customization-titlebar-visibility-button {
5202 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
5203 -moz-image-region: rect(0, 48px, 48px, 0);
5206 #customization-titlebar-visibility-button:hover {
5207 -moz-image-region: rect(48px, 48px, 96px, 0);
5210 #customization-titlebar-visibility-button[checked] {
5211 -moz-image-region: rect(0, 96px, 48px, 48px);
5214 #customization-titlebar-visibility-button[checked]:hover {
5215 -moz-image-region: rect(48px, 96px, 96px, 48px);
5219 #main-window[customize-entered] #customization-panel-container {
5220 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5221 background-position: left top;
5222 background-repeat: repeat;
5223 background-size: auto;
5224 background-attachment: fixed;
5227 toolbarpaletteitem[place="toolbar"] {
5228 transition: border-width 250ms ease-in-out;
5231 toolbarpaletteitem[mousedown] {
5232 outline: 1px solid #008484;
5233 cursor: -moz-grabbing;
5237 .panel-customization-placeholder,
5238 toolbarpaletteitem[place="palette"],
5239 toolbarpaletteitem[place="panel"] {
5240 transition: transform .3s ease-in-out;
5243 #customization-palette {
5244 transition: opacity .3s ease-in-out;
5248 #customization-palette[showing="true"] {
5252 toolbarpaletteitem[notransition].panel-customization-placeholder,
5253 toolbarpaletteitem[notransition][place="toolbar"],
5254 toolbarpaletteitem[notransition][place="palette"],
5255 toolbarpaletteitem[notransition][place="panel"] {
5259 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
5260 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon,
5261 toolbarpaletteitem > toolbaritem.panel-wide-item,
5262 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5263 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
5266 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
5267 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon {
5268 transform: scale(1.3);
5271 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5272 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
5273 transform: scale(1.1);
5276 /* Override the toolkit styling for items being dragged over. */
5277 toolbarpaletteitem[place="toolbar"] {
5278 border-left-width: 0;
5279 border-right-width: 0;
5284 #customization-palette:not([hidden]) {
5285 margin-bottom: 25px;
5288 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5289 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
5290 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5291 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5295 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5296 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
5306 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5307 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5311 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5312 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5315 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5316 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
5320 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5321 -moz-box-pack: center;
5325 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
5326 -moz-margin-end: 5px;
5329 #customization-palette > toolbarpaletteitem > label {
5335 #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5336 -moz-box-orient: vertical;
5337 /* Make the panel padding uniform across all platforms due to the
5338 styling of the section headers and footer. */
5342 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5347 .customization-lwtheme-menu-theme {
5348 -moz-appearance: none;
5351 -moz-padding-end: 5px;
5353 -moz-padding-start: 0;
5356 .customization-lwtheme-menu-theme[defaulttheme] {
5357 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5360 .customization-lwtheme-menu-theme[active="true"] {
5361 background-color: #008484;
5364 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5368 .customization-lwtheme-menu-theme > .toolbarbutton-text {
5372 #customization-lwtheme-menu-header,
5373 #customization-lwtheme-menu-recommended {
5378 #customization-lwtheme-menu-header,
5379 #customization-lwtheme-menu-recommended,
5380 #customization-lwtheme-menu-footer {
5381 background-color: #A09090;
5383 margin-right: -10px;
5387 #customization-lwtheme-menu-header {
5389 border-top-right-radius: 3px;
5390 border-top-left-radius: 3px;
5393 #customization-lwtheme-menu-recommended {
5396 #customization-lwtheme-menu-footer {
5397 margin-bottom: -10px;
5398 border-bottom-right-radius: 3px;
5399 border-bottom-left-radius: 3px;
5402 .customization-lwtheme-menu-footeritem {
5403 -moz-appearance: none;
5405 background-color: #C09070;
5407 border: 1px solid transparent;
5413 .customization-lwtheme-menu-footeritem:hover {
5414 background-color: #FFCF00;
5417 .customization-lwtheme-menu-footeritem:first-child {
5420 /* === END customizeMode.inc.css === */
5422 /* === BEGIN customizeTip.inc.css === */
5424 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5431 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5432 border: 1px solid #9C9CFF;
5436 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5437 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5440 .customization-tipPanel-infoBox {
5441 margin: 20px 25px 25px;
5443 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5444 background-repeat: no-repeat;
5447 .customization-tipPanel-content {
5453 .customization-tipPanel-em {
5458 .customization-tipPanel-contentImage {
5460 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5468 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5469 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5472 .customization-tipPanel-link {
5473 -moz-appearance: none;
5474 background: transparent;
5482 .customization-tipPanel-link > .button-box > .button-text {
5483 margin: 0 !important;
5486 .customization-tipPanel-closeBox > .close-icon {
5487 -moz-appearance: none;
5489 -moz-margin-end: -25px;
5492 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5493 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5494 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5497 /* === END customizeTip.inc.css === */
5500 * This next rule is a hack to disable subpixel anti-aliasing on all
5501 * labels during the customize mode transition. Subpixel anti-aliasing
5502 * on Windows with Direct2D layers acceleration is particularly slow to
5503 * paint, so this hack is how we sidestep that performance bottleneck.
5505 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
5506 transform: perspective(0.01px);
5509 #main-window[customize-entered] > #tab-view-deck {
5510 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5511 background-attachment: fixed;
5514 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5515 background-repeat: no-repeat;
5516 background-position: right top;
5517 background-attachment: fixed;
5518 /* The image will get set from CustomizeMode.jsm */
5519 background-image: none;
5520 background-color: transparent;
5523 #main-window[customization-lwtheme]:-moz-lwtheme {
5524 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5525 background-repeat: repeat;
5526 background-attachment: fixed;
5527 background-position: left top;
5530 #main-window[customize-entered] #browser-bottombox,
5531 #main-window[customize-entered] #customization-container {
5532 border-left: 1px solid #9C9CFF;
5533 border-right: 1px solid #9C9CFF;
5534 background-clip: padding-box;
5537 #main-window[customize-entered] #browser-bottombox {
5538 border-bottom: 1px solid #9C9CFF;
5541 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5545 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5549 /* End customization mode */
5551 /* Private browsing indicators */
5554 * Currently, we have two places where we put private browsing indicators on
5555 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5556 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5557 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5558 * want the bottom border of the image to line up with the bottom of the window
5559 * caption buttons. That's why there's so much special-casing going on in here.
5561 .private-browsing-indicator {
5563 pointer-events: none;
5566 #private-browsing-indicator-titlebar {
5571 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5575 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5579 #TabsToolbar > .private-browsing-indicator {
5580 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5581 -moz-margin-start: 4px;
5585 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5586 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5587 * min/max/close window buttons.
5589 #private-browsing-indicator-titlebar > .private-browsing-indicator,
5590 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5591 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5592 -moz-margin-end: 4px;
5598 /* This one is for Linux */
5599 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5600 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5604 /* End private browsing indicators */
5606 /* === BEGIN UITour.inc.css === */
5610 #UITourHighlightContainer {
5611 -moz-appearance: none;
5613 background-color: transparent;
5614 /* This is a buffer to compensate for the movement in the "wobble" effect */
5619 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5620 border-radius: 40px;
5621 border: 1px solid #9C9CFF;
5622 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5623 on Linux without an X compositor where opacity is either 0 or 1. */
5624 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5629 #UITourTooltipBody {
5630 -moz-margin-end: 14px;
5633 #UITourTooltipBody > vbox {
5637 #UITourTooltipIconContainer {
5638 -moz-margin-start: -16px;
5641 #UITourTooltipIcon {
5644 -moz-margin-start: 28px;
5645 -moz-margin-end: 28px;
5648 #UITourTooltipTitle,
5649 #UITourTooltipDescription {
5653 #UITourTooltipTitle {
5656 -moz-margin-start: 0;
5661 #UITourTooltipDescription {
5662 -moz-margin-start: 0;
5665 line-height: 1.8rem;
5666 margin-bottom: 0; /* Override global.css */
5669 #UITourTooltipClose {
5670 -moz-appearance: none;
5672 background-color: transparent;
5674 -moz-margin-start: 4px;
5678 #UITourTooltipClose > .toolbarbutton-text {
5682 #UITourTooltipButtons {
5684 background-color: rgba(0,0,0,.2);
5685 border-top: 1px solid rgba(0,0,0,.4);
5686 margin: 24px -16px -16px;
5690 #UITourTooltipButtons > label,
5691 #UITourTooltipButtons > button {
5695 #UITourTooltipButtons > label:first-child,
5696 #UITourTooltipButtons > button:first-child {
5697 -moz-margin-start: 0;
5700 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5703 -moz-margin-end: 5px;
5706 #UITourTooltipButtons > label,
5707 #UITourTooltipButtons > button .button-text {
5711 #UITourTooltipButtons > button:not(.button-link) {
5712 -moz-appearance: none;
5713 background-color: #C09070;
5714 border-radius: 3000px;
5718 transition-property: background-color, color;
5719 transition-duration: 150ms;
5722 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5723 background-color: #FFCF00;
5727 #UITourTooltipButtons > label,
5728 #UITourTooltipButtons > button.button-link {
5729 -moz-appearance: none;
5730 background: transparent;
5733 color: rgba(0,0,0,0.35);
5735 padding-right: 10px;
5738 #UITourTooltipButtons > button.button-link:hover {
5742 /* The primary button gets the same color as the customize button. */
5743 #UITourTooltipButtons > button.button-primary {
5744 background-color: #A06060; /* LCARS default button background color */
5747 padding-right: 30px;
5750 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5751 background-color: #FFCF00;
5755 /* Notification overrides for Heartbeat UI */
5757 notification.heartbeat {
5758 background-color: #A09090;
5762 @keyframes pulse-onshow {
5765 transform: scale(1.0);
5769 transform: scale(1.1);
5772 transform: scale(1.0);
5775 transform: scale(1.1);
5778 transform: scale(1.0);
5782 @keyframes pulse-twice {
5784 transform: scale(1.1);
5787 transform: scale(0.8);
5790 transform: scale(1);
5794 .messageText.heartbeat {
5796 /* text-shadow: none; */
5797 -moz-margin-start: 0px;
5800 .messageImage.heartbeat {
5803 -moz-margin-start: 8px;
5804 -moz-margin-end: 8px;
5807 .messageImage.heartbeat.pulse-onshow {
5808 animation-name: pulse-onshow;
5809 animation-duration: 1.5s;
5810 animation-iteration-count: 1;
5811 animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5814 .messageImage.heartbeat.pulse-twice {
5815 animation-name: pulse-twice;
5816 animation-duration: 1s;
5817 animation-iteration-count: 2;
5818 animation-timing-function: linear;
5821 /* Learn More link styles */
5822 .heartbeat > .text-link {
5824 -moz-margin-start: 0px;
5827 .heartbeat > .text-link:hover {
5829 text-decoration: none;
5832 .heartbeat > .text-link:hover:active {
5836 /* Heartbeat UI Rating Star Classes */
5837 .heartbeat > #star-rating-container {
5839 /* margin-bottom: 4px;*/
5842 .heartbeat > #star-rating-container > #star5 {
5843 -moz-box-ordinal-group: 5;
5846 .heartbeat > #star-rating-container > #star4 {
5847 -moz-box-ordinal-group: 4;
5850 .heartbeat > #star-rating-container > #star3 {
5851 -moz-box-ordinal-group: 3;
5854 .heartbeat > #star-rating-container > #star2 {
5855 -moz-box-ordinal-group: 2;
5858 .heartbeat > #star-rating-container > .star-x {
5859 background: url("chrome://browser/skin/heartbeat-star-off.svg");
5861 /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
5862 -moz-margin-end: 4px !important;
5867 .heartbeat > #star-rating-container > .star-x:hover,
5868 .heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
5869 background: url("chrome://browser/skin/heartbeat-star-lit.svg");
5872 /* === END UITour.inc.css === */
5874 #UITourTooltipButtons {
5876 * Override the --panel-arrowcontent-padding so the background extends
5877 * to the sides and bottom of the panel.
5880 margin-right: -10px;
5881 margin-bottom: -10px;
5884 /* === BEGIN contextmenu.inc.css === */
5886 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5889 #context-navigation > .menuitem-iconic {
5891 -moz-box-pack: center;
5892 -moz-box-align: center;
5895 #context-navigation > .menuitem-iconic[disabled="true"] {
5896 background-color: transparent;
5899 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5900 -moz-appearance: none;
5903 #context-back > .menu-iconic-left {
5904 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5905 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5906 -moz-image-region: rect(0, 54px, 18px, 36px);
5909 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5910 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5911 -moz-image-region: rect(18px, 54px, 36px, 36px);
5914 #context-back[disabled="true"] > .menu-iconic-left {
5915 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5916 -moz-image-region: rect(36px, 54px, 54px, 36px);
5919 #context-forward > .menu-iconic-left {
5920 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5921 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5922 -moz-image-region: rect(0, 72px, 18px, 54px);
5925 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5926 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5927 -moz-image-region: rect(18px, 72px, 36px, 54px);
5930 #context-forward[disabled="true"] > .menu-iconic-left {
5931 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5932 -moz-image-region: rect(36px, 72px, 54px, 54px);
5935 #context-reload > .menu-iconic-left {
5936 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5937 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5938 -moz-image-region: rect(0, 14px, 14px, 0);
5941 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5942 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5943 -moz-image-region: rect(14px, 14px, 28px, 0);
5946 #context-reload[disabled="true"] > .menu-iconic-left {
5947 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5948 -moz-image-region: rect(28px, 14px, 42px, 0);
5951 #context-stop > .menu-iconic-left {
5952 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5953 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5954 -moz-image-region: rect(0, 28px, 14px, 14px);
5957 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5958 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5959 -moz-image-region: rect(14px, 28px, 28px, 14px);
5962 #context-stop[disabled="true"] > .menu-iconic-left {
5963 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5964 -moz-image-region: rect(28px, 28px, 42px, 14px);
5967 #context-bookmarkpage > .menu-iconic-left {
5968 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5969 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5970 -moz-image-region: rect(0, 144px, 18px, 126px);
5973 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5974 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5975 -moz-image-region: rect(18px, 144px, 36px, 126px);
5978 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5979 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
5980 -moz-image-region: rect(36px, 144px, 54px, 126px);
5983 #context-bookmarkpage[starred=true] {
5984 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); */
5985 -moz-image-region: rect(0px, 162px, 18px, 144px);
5988 #context-bookmarkpage[starred=true][_moz-menuactive=true] {
5989 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-active"); */
5990 -moz-image-region: rect(18px, 162px, 36px, 144px);
5993 #context-bookmarkpage[starred=true][disabled=true] {
5994 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-disabled"); */
5995 -moz-image-region: rect(36px, 162px, 54px, 144px);
5998 #context-back:-moz-locale-dir(rtl),
5999 #context-forward:-moz-locale-dir(rtl),
6000 #context-reload:-moz-locale-dir(rtl) {
6001 transform: scaleX(-1);
6004 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
6005 width: 18px; /*16px;*/
6006 height: 18px; /*16px;*/
6010 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
6011 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
6017 #context-media-eme-learnmore {
6018 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6021 #context-media-eme-learnmore {
6022 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6025 /* === END contextmenu.inc.css === */
6027 #context-navigation {
6030 #context-sep-navigation {
6031 /* margin-top: -4px; */
6034 .browser-extension-panel > .panel-arrowcontainer > .panel-arrowcontent {
6039 /* === BEGIN usercontext.inc.css === */
6041 /* User Context UI browser styles */
6043 #menu_newUserContextTabPersonal {
6044 list-style-image: url("chrome://browser/skin/usercontext/personal.svg");
6047 #menu_newUserContextTabWork {
6048 list-style-image: url("chrome://browser/skin/usercontext/work.svg");
6051 #menu_newUserContextTabBanking {
6052 list-style-image: url("chrome://browser/skin/usercontext/banking.svg");
6055 #menu_newUserContextTabShopping {
6056 list-style-image: url("chrome://browser/skin/usercontext/shopping.svg");
6059 /* URL Bar Decoration */
6061 #userContext-indicator {
6066 #userContext-label {
6067 margin-inline-end: 3px;
6071 #userContext-icons:not([usercontextid]) {
6075 #userContext-icons {
6076 -moz-box-align: center;
6079 /* Personal User Context */
6080 #userContext-icons[usercontextid="1"] > #userContext-label {
6083 #userContext-icons[usercontextid="1"] > #userContext-indicator {
6084 list-style-image: url("chrome://browser/skin/usercontext/personal.svg");
6087 /* Work User Context */
6088 #userContext-icons[usercontextid="2"] > #userContext-label {
6091 #userContext-icons[usercontextid="2"] > #userContext-indicator {
6092 list-style-image: url("chrome://browser/skin/usercontext/work.svg");
6095 /* Banking User Context */
6096 #userContext-icons[usercontextid="3"] > #userContext-label {
6099 #userContext-icons[usercontextid="3"] > #userContext-indicator {
6100 list-style-image: url("chrome://browser/skin/usercontext/banking.svg");
6103 /* Shopping User Context */
6104 #userContext-icons[usercontextid="4"] > #userContext-label {
6107 #userContext-icons[usercontextid="4"] > #userContext-indicator {
6108 list-style-image: url("chrome://browser/skin/usercontext/shopping.svg");
6111 /* === END usercontext.inc.css === */