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);