1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
6 @import url("downloads/indicator.css");
8 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9 @namespace html url("http://www.w3.org/1999/xhtml");
10 @namespace svg url("http://www.w3.org/2000/svg");
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
16 toolbar[customizable="true"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
20 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
21 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
22 toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
27 toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
31 #toolbar-menubar[autohide="true"] {
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
40 --verified-identity-box-backgroundcolor: #000000;
42 --panel-separator-color: #A09090;
44 /*--urlbar-separator-color: rgba(0,0,0,.2);*/
45 --urlbar-separator-color: #9C9CFF;
49 -moz-box-orient: vertical; /* for flex hack */
53 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
56 /* ::::: primary toolbar ::::: */
58 .toolbar-primary > .toolbar-box > .toolbar-holder {
59 background-color: #A09090;
62 .toolbar-primary > .toolbar-box > .toolbar-startcap,
63 .toolbar-primary > .toolbar-box > .toolbar-endcap {
64 background-color: #9C9CFF;
67 /* Hides the titlebar-placeholder underneath the window caption buttons when we
68 are not autohiding the menubar. */
69 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
73 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
74 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
75 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
76 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
77 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
81 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
82 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
83 /* margin-top: var(--space-above-tabbar);*/
86 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
87 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
88 #toolbar-menubar:not([autohide="true"]) {
89 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
93 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
94 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
95 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
100 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
101 /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
105 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
106 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
107 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
108 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
109 outline-color: #A09090;
115 #navigator-toolbox::after {
118 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
122 #navigator-toolbox > toolbar {
125 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
128 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
129 overflow: -moz-hidden-unscrollable;
131 transition: min-height 170ms ease-out, max-height 170ms ease-out;
134 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
137 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
140 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
141 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
142 /* Indent also due to non-applicable aero rule in original Windows theme. */
143 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
144 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
146 background-color: #6000CF;
150 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
151 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
152 background-color: #8050B0;
156 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
160 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
164 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
165 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
170 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
171 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
172 #titlebar-buttonbox > .titlebar-button {
178 /* Position the toolbar above the bottom of background tabs */
183 #personal-bookmarks {
184 /* min-height: 24px; */
187 #PersonalToolbar > #home-button {
188 -moz-box-orient: horizontal;
191 #PersonalToolbar > #home-button > .toolbarbutton-text {
195 #print-preview-toolbar:not(:-moz-lwtheme) {
196 /* -moz-appearance: toolbox; */
199 #browser-bottombox:not(:-moz-lwtheme) {
202 /* ::::: titlebar ::::: */
206 background-color: #6000CF;
209 #titlebar:-moz-window-inactive {
210 background-color: #8050B0;
214 #main-window[sizemode="normal"] > #titlebar {
219 #main-window[sizemode="maximized"] > #titlebar {
223 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
224 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
225 #main-window[sizemode="normal"] > #titlebar,
226 #main-window[sizemode="maximized"] > #titlebar {
228 /* There is a margin-bottom set to -23 by code. */
232 /* The button box must appear on top of the navigator-toolbox in order for
233 * click and hover mouse events to work properly for the button in the restored
234 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
235 * can swallow those events. It will also place the buttons above the fog on
236 * themes with Aero Glass.
239 #main-window[sizemode="maximized"] #titlebar-buttonbox {
240 -moz-appearance: none;
243 -moz-margin-end: 3px;
247 .titlebar-placeholder[type="appmenu-button"] {
251 .titlebar-placeholder[type="caption-buttons"] {
255 /* titlebar command buttons */
257 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize");
260 #titlebar-min:hover {
261 list-style-image: url("chrome://browser/skin/caption-buttons.svg#minimize-hover");
265 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize");
268 #titlebar-max:hover {
269 list-style-image: url("chrome://browser/skin/caption-buttons.svg#maximize-hover");
272 #main-window[sizemode="maximized"] #titlebar-max {
273 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore");
276 #main-window[sizemode="maximized"] #titlebar-max:hover {
277 list-style-image: url("chrome://browser/skin/caption-buttons.svg#restore-hover");
281 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close");
284 #titlebar-close:hover {
285 list-style-image: url("chrome://browser/skin/caption-buttons.svg#close-hover");
288 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
289 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
290 #titlebar-fullscreen-button {
291 -moz-appearance: none;
292 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
293 -moz-image-region: rect(0px, 16px, 16px, 0px);
296 #titlebar-fullscreen-button:hover {
297 -moz-image-region: rect(0px, 32px, 16px, 16px);
300 @media (min-resolution: 2dppx) {
301 #titlebar-fullscreen-button {
302 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
303 -moz-image-region: rect(0px, 32px, 32px, 0px);
306 #titlebar-fullscreen-button:hover {
307 -moz-image-region: rect(0px, 64px, 32px, 32px);
313 /* ::::: bookmark buttons ::::: */
315 toolbarbutton.bookmark-item:not(.subviewbutton),
316 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
321 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
322 toolbarbutton.bookmark-item[open="true"] {
325 -moz-padding-start: 4px;
326 -moz-padding-end: 2px;*/
329 .bookmark-item > .toolbarbutton-icon,
330 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
333 -moz-margin-start: 1px;
334 -moz-margin-end: 2px;
339 /* Force the display of the label for bookmarks */
340 .bookmark-item > .toolbarbutton-text,
341 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
342 display: -moz-box !important;
345 .bookmark-item > .toolbarbutton-menu-dropmarker {
349 #bookmarks-toolbar-placeholder {
350 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
351 -moz-box-orient: horizontal;
354 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
355 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
356 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
359 /* ----- BOOKMARK STAR ANIMATION ----- */
361 @keyframes animation-bookmarkAdded {
362 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
363 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
365 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
368 @keyframes animation-bookmarkPulse {
369 from { transform: scale(1); }
370 50% { transform: scale(1.3); }
371 to { transform: scale(1); }
374 #bookmarked-notification-container {
383 #bookmarked-notification {
384 background-size: 16px;
385 background-position: center;
386 background-repeat: no-repeat;
392 #bookmarked-notification-dropmarker-anchor {
397 #bookmarked-notification-dropmarker-icon {
403 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
404 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
405 animation: animation-bookmarkAdded 800ms;
406 animation-timing-function: ease, ease, ease;
409 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
410 list-style-image: none !important;
413 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
415 animation: animation-bookmarkPulse 300ms;
416 animation-delay: 600ms;
417 animation-timing-function: ease-out;
420 /* ::::: bookmark menus ::::: */
423 menuitem.bookmark-item {
428 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
433 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
434 -moz-padding-start: 0px;
437 /* ::::: bookmark items ::::: */
440 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
441 -moz-image-region: auto;
444 .bookmark-item[container] {
445 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
446 -moz-image-region: auto;
449 .bookmark-item[container][open] {
450 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
451 -moz-image-region: auto;
454 .bookmark-item[container][livemark] {
455 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
456 -moz-image-region: auto;
459 .bookmark-item[container][livemark] .bookmark-item {
460 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
461 -moz-image-region: rect(0px, 16px, 16px, 0px);
464 .bookmark-item[container][livemark] .bookmark-item[visited] {
465 -moz-image-region: rect(0px, 32px, 16px, 16px);
468 .bookmark-item[container][query] {
469 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
470 -moz-image-region: auto;
473 .bookmark-item[query][tagContainer] {
474 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
475 -moz-image-region: auto;
478 .bookmark-item[query][dayContainer] {
479 list-style-image: url("chrome://communicator/skin/history/calendar.png");
480 -moz-image-region: auto;
483 .bookmark-item[query][hostContainer] {
484 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
485 -moz-image-region: auto;
488 .bookmark-item[query][hostContainer][open] {
489 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
490 -moz-image-region: auto;
493 .bookmark-item[cutting] > .toolbarbutton-icon,
494 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
498 .bookmark-item[cutting] > .toolbarbutton-text,
499 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
503 /* ::::: primary toolbar buttons ::::: */
505 /* === BEGIN toolbarbuttons.inc.css === */
507 /* Whole section of this included file: */
508 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
509 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
510 #social-share-button, #open-file-button, #find-button, #developer-button,
511 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
512 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
513 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
514 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
516 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
517 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
519 toolbar[brighttext] #pocket-button,
521 list-style-image: url("chrome://browser/skin/ToolbarFx.png") !important; /* override pocket.css */
525 -moz-image-region: rect(0, 36px, 18px, 18px);
528 #back-button:hover:not([disabled="true"]) {
529 -moz-image-region: rect(18px, 36px, 36px, 18px);
532 #back-button[disabled="true"] {
533 -moz-image-region: rect(36px, 36px, 54px, 18px);
537 -moz-image-region: rect(0, 72px, 18px, 54px);
540 #forward-button:hover:not([disabled="true"]) {
541 -moz-image-region: rect(18px, 72px, 36px, 54px);
544 #forward-button[disabled="true"] {
545 -moz-image-region: rect(36px, 72px, 54px, 54px);
548 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
549 #forward-button:-moz-locale-dir(rtl) {
550 transform: scaleX(-1);
553 #home-button[cui-areatype="toolbar"] {
554 -moz-image-region: rect(0, 126px, 18px, 108px);
557 #home-button[cui-areatype="toolbar"]:hover {
558 -moz-image-region: rect(18px, 126px, 36px, 108px);
561 #bookmarks-menu-button[cui-areatype="toolbar"] {
562 -moz-image-region: rect(0, 144px, 18px, 126px);
565 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
566 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
567 -moz-image-region: rect(18px, 144px, 36px, 126px);
570 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
571 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
572 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
573 background-color: transparent !important;
576 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
577 -moz-image-region: rect(0, 162px, 18px, 144px);
580 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
581 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
582 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
583 /* When starred and clicked (for edit/delete dialog),
584 * then only the menubutton-button itself is open, but not the whole menubutton. */
585 -moz-image-region: rect(18px, 162px, 36px, 144px);
588 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
589 -moz-image-region: rect(0, 630px, 18px, 612px);
592 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
594 -moz-box-align: center;
597 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
598 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
599 -moz-image-region: rect(18px, 630px, 36px, 612px);
602 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
603 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
606 -moz-padding-start: 2px;
607 -moz-padding-end: 0px;
610 #history-panelmenu[cui-areatype="toolbar"] {
611 -moz-image-region: rect(0, 180px, 18px, 162px);
614 #history-panelmenu[cui-areatype="toolbar"]:hover,
615 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
616 -moz-image-region: rect(18px, 180px, 36px, 162px);
619 #downloads-button[cui-areatype="toolbar"] {
620 -moz-image-region: rect(0, 198px, 18px, 180px);
623 #downloads-button[cui-areatype="toolbar"]:hover,
624 #downloads-button[cui-areatype="toolbar"][open="true"] {
625 -moz-image-region: rect(18px, 198px, 36px, 180px);
628 #add-ons-button[cui-areatype="toolbar"] {
629 -moz-image-region: rect(0, 216px, 18px, 198px);
632 #add-ons-button[cui-areatype="toolbar"]:hover {
633 -moz-image-region: rect(18px, 216px, 36px, 198px);
636 #open-file-button[cui-areatype="toolbar"] {
637 -moz-image-region: rect(0, 234px, 18px, 216px);
640 #open-file-button[cui-areatype="toolbar"]:hover {
641 -moz-image-region: rect(18px, 234px, 36px, 216px);
644 #save-page-button[cui-areatype="toolbar"] {
645 -moz-image-region: rect(0, 252px, 18px, 234px);
648 #save-page-button[cui-areatype="toolbar"]:hover {
649 -moz-image-region: rect(18px, 252px, 36px, 234px);
652 #sync-button[cui-areatype="toolbar"] {
653 -moz-image-region: rect(0, 270px, 18px, 252px);
656 #sync-button[cui-areatype="toolbar"]:hover {
657 -moz-image-region: rect(18px, 270px, 36px, 252px);
660 #sync-button[cui-areatype="toolbar"][status="active"],
661 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
662 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
663 -moz-image-region: rect(0, 18px, 18px, 0px);
667 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
668 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
669 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
673 #feed-button[cui-areatype="toolbar"] {
674 -moz-image-region: rect(0, 288px, 18px, 270px);
677 #feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
678 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
679 -moz-image-region: rect(18px, 288px, 36px, 270px);
682 #feed-button[cui-areatype="toolbar"][disabled="true"] {
683 -moz-image-region: rect(36px, 288px, 54px, 270px);
686 #social-share-button[cui-areatype="toolbar"] {
687 -moz-image-region: rect(0px, 306px, 18px, 288px);
690 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
691 #social-share-button[cui-areatype="toolbar"][open="true"] {
692 -moz-image-region: rect(18px, 306px, 36px, 288px);
695 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
696 -moz-image-region: rect(36px, 306px, 54px, 288px);
699 #characterencoding-button[cui-areatype="toolbar"] {
700 -moz-image-region: rect(0, 324px, 18px, 306px);
703 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
704 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
705 -moz-image-region: rect(18px, 324px, 36px, 306px);
708 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
709 -moz-image-region: rect(36px, 324px, 54px, 306px);
712 #new-window-button[cui-areatype="toolbar"] {
713 -moz-image-region: rect(0, 342px, 18px, 324px);
716 #new-window-button[cui-areatype="toolbar"]:hover {
717 -moz-image-region: rect(18px, 342px, 36px, 324px);
720 #e10s-button[cui-areatype="toolbar"] {
721 -moz-image-region: rect(0, 342px, 18px, 324px);
724 #e10s-button[cui-areatype="toolbar"]:hover {
725 -moz-image-region: rect(18px, 342px, 36px, 324px);
728 #e10s-button > .toolbarbutton-icon {
729 transform: scaleY(-1);
732 #new-tab-button[cui-areatype="toolbar"] {
733 -moz-image-region: rect(0, 360px, 18px, 342px);
736 #new-tab-button[cui-areatype="toolbar"]:hover {
737 -moz-image-region: rect(18px, 360px, 36px, 342px);
740 #privatebrowsing-button[cui-areatype="toolbar"] {
741 -moz-image-region: rect(0, 378px, 18px, 360px);
744 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
745 -moz-image-region: rect(18px, 378px, 36px, 360px);
748 #find-button[cui-areatype="toolbar"] {
749 -moz-image-region: rect(0, 396px, 18px, 378px);
752 #find-button[cui-areatype="toolbar"]:hover {
753 -moz-image-region: rect(18px, 396px, 36px, 378px);
756 #print-button[cui-areatype="toolbar"] {
757 -moz-image-region: rect(0, 414px, 18px, 396px);
760 #print-button[cui-areatype="toolbar"]:hover {
761 -moz-image-region: rect(18px, 414px, 36px, 396px);
764 #fullscreen-button[cui-areatype="toolbar"] {
765 -moz-image-region: rect(0, 432px, 18px, 414px);
768 #fullscreen-button[cui-areatype="toolbar"]:hover {
769 -moz-image-region: rect(18px, 432px, 36px, 414px);
772 #developer-button[cui-areatype="toolbar"] {
773 -moz-image-region: rect(0, 450px, 18px, 432px);
776 #developer-button[cui-areatype="toolbar"]:hover,
777 #developer-button[cui-areatype="toolbar"][open="true"] {
778 -moz-image-region: rect(18px, 450px, 36px, 432px);
781 #preferences-button[cui-areatype="toolbar"] {
782 -moz-image-region: rect(0, 468px, 18px, 450px);
785 #preferences-button[cui-areatype="toolbar"]:hover {
786 -moz-image-region: rect(18px, 468px, 36px, 450px);
789 #PanelUI-menu-button {
790 -moz-image-region: rect(0, 486px, 18px, 468px);
793 #PanelUI-menu-button:hover,
794 #PanelUI-menu-button[open="true"] {
795 -moz-image-region: rect(18px, 486px, 36px, 468px);
798 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
799 -moz-image-region: rect(0, 504px, 18px, 486px);
802 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
803 -moz-image-region: rect(18px, 504px, 36px, 486px);
806 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
807 -moz-image-region: rect(36px, 504px, 54px, 486px);
810 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
811 -moz-image-region: rect(0, 522px, 18px, 504px);
814 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
815 -moz-image-region: rect(18px, 522px, 36px, 504px);
818 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
819 -moz-image-region: rect(36px, 522px, 54px, 504px);
822 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
823 -moz-image-region: rect(0, 540px, 18px, 522px);
826 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
827 -moz-image-region: rect(18px, 540px, 36px, 522px);
830 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
831 -moz-image-region: rect(36px, 540px, 54px, 522px);
834 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
835 -moz-image-region: rect(0, 558px, 18px, 540px);
838 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
839 -moz-image-region: rect(18px, 558px, 36px, 540px);
842 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
843 -moz-image-region: rect(36px, 558px, 54px, 540px);
846 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
847 -moz-image-region: rect(0, 576px, 18px, 558px);
850 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
851 -moz-image-region: rect(18px, 576px, 36px, 558px);
854 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
855 -moz-image-region: rect(36px, 576px, 54px, 558px);
858 #nav-bar-overflow-button {
859 -moz-image-region: rect(0, 612px, 18px, 594px);
862 #nav-bar-overflow-button:hover,
863 #nav-bar-overflow-button[open="true"] {
864 -moz-image-region: rect(18px, 612px, 36px, 594px);
867 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
868 transform: scaleX(-1);
872 -moz-image-region: rect(0, 648px, 18px, 630px);
875 #tabview-button:hover {
876 -moz-image-region: rect(18px, 648px, 36px, 630px);
879 #email-link-button[cui-areatype="toolbar"] {
880 -moz-image-region: rect(0, 666px, 18px, 648px);
883 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
884 -moz-image-region: rect(18px, 666px, 36px, 648px);
887 #email-button[cui-areatype="toolbar"][disabled="true"] {
888 -moz-image-region: rect(36px, 666px, 54px, 648px);
891 #sidebar-button[cui-areatype="toolbar"] {
892 -moz-image-region: rect(0, 684px, 18px, 666px);
895 #sidebar-button[cui-areatype="toolbar"]:hover {
896 -moz-image-region: rect(18px, 684px, 36px, 666px);
899 #panic-button[cui-areatype="toolbar"] {
900 -moz-image-region: rect(0, 702px, 18px, 684px);
903 #panic-button[cui-areatype="toolbar"]:hover,
904 #panic-button[cui-areatype="toolbar"][open] {
905 -moz-image-region: rect(18px, 702px, 36px, 684px);
908 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
909 transform: scaleX(-1);
912 #web-apps-button[cui-areatype="toolbar"] {
913 -moz-image-region: rect(0, 720px, 18px, 702px);
916 #web-apps-button[cui-areatype="toolbar"]:hover {
917 -moz-image-region: rect(18px, 720px, 36px, 702px);
921 #loop-button > .toolbarbutton-badge-stack {
922 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
923 -moz-image-region: rect(0, 18px, 18px, 0);
926 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
927 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
928 -moz-image-region: rect(0, 90px, 18px, 72px);
931 #loop-button[state="disabled"],
932 #loop-button[disabled="true"],
933 #loop-button[state="disabled"] > .toolbarbutton-badge-stack,
934 #loop-button[disabled="true"] > .toolbarbutton-badge-stack {
935 -moz-image-region: rect(0, 36px, 18px, 18px);
938 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
939 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-stack {
940 -moz-image-region: rect(0, 126px, 18px, 108px);
943 #loop-button:not([disabled="true"])[state="error"],
944 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-stack {
945 -moz-image-region: rect(0, 54px, 18px, 36px);
948 #loop-button:not([disabled="true"])[state="action"],
949 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-stack {
950 -moz-image-region: rect(0, 72px, 18px, 54px);
953 #loop-button:not([disabled="true"])[state="active"],
954 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-stack {
955 -moz-image-region: rect(0, 108px, 18px, 90px);
958 #webide-button[cui-areatype="toolbar"] {
959 -moz-image-region: rect(0, 738px, 18px, 720px);
962 #webide-button[cui-areatype="toolbar"]:hover {
963 -moz-image-region: rect(18px, 738px, 36px, 720px);
966 #pocket-button[cui-areatype="toolbar"] {
967 -moz-image-region: rect(0, 774px, 18px, 756px);
970 #pocket-button[cui-areatype="toolbar"]:hover,
971 #pocket-button[cui-areatype="toolbar"][open] {
972 -moz-image-region: rect(18px, 774px, 36px, 756px);
975 /* === END toolbarbuttons.inc.css === */
977 /* === BEGIN menupanel.inc.css === */
979 /* Menu panel and palette styles */
982 /* avoid aero overrides with changed filenames */
983 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
984 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
987 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
988 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
989 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
990 #social-share-button, #open-file-button, #find-button, #developer-button,
991 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
992 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
993 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
994 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
995 #pocket-button)[cui-areatype="menu-panel"],
996 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
997 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
998 #social-share-button, #open-file-button, #find-button, #developer-button,
999 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
1000 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
1001 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
1002 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
1004 list-style-image: var(--menupanel-list-style-image);
1007 #home-button[cui-areatype="menu-panel"],
1008 toolbarpaletteitem[place="palette"] > #home-button {
1009 -moz-image-region: rect(0px, 128px, 32px, 96px);
1012 #home-button[cui-areatype="menu-panel"]:hover,
1013 toolbarpaletteitem[place="palette"] > #home-button:hover {
1014 -moz-image-region: rect(32px, 128px, 64px, 96px);
1017 #bookmarks-menu-button[cui-areatype="menu-panel"],
1018 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
1019 -moz-image-region: rect(0px, 192px, 32px, 160px);
1022 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
1023 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
1024 -moz-image-region: rect(32px, 192px, 64px, 160px);
1027 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1028 -moz-image-region: rect(32px, 192px, 64px, 160px);
1031 #history-panelmenu[cui-areatype="menu-panel"],
1032 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1033 -moz-image-region: rect(0px, 224px, 32px, 192px);
1036 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1037 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1038 -moz-image-region: rect(32px, 224px, 64px, 192px);
1041 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1042 -moz-image-region: rect(32px, 224px, 64px, 192px);
1045 #downloads-button[cui-areatype="menu-panel"],
1046 toolbarpaletteitem[place="palette"] > #downloads-button {
1047 -moz-image-region: rect(0px, 256px, 32px, 224px);
1050 #downloads-button[cui-areatype="menu-panel"]:hover,
1051 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1052 -moz-image-region: rect(32px, 256px, 64px, 224px);
1055 #add-ons-button[cui-areatype="menu-panel"],
1056 toolbarpaletteitem[place="palette"] > #add-ons-button {
1057 -moz-image-region: rect(0px, 288px, 32px, 256px);
1060 #add-ons-button[cui-areatype="menu-panel"]:hover,
1061 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1062 -moz-image-region: rect(32px, 288px, 64px, 256px);
1065 #open-file-button[cui-areatype="menu-panel"],
1066 toolbarpaletteitem[place="palette"] > #open-file-button {
1067 -moz-image-region: rect(0px, 320px, 32px, 288px);
1070 #open-file-button[cui-areatype="menu-panel"]:hover,
1071 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1072 -moz-image-region: rect(32px, 320px, 64px, 288px);
1075 #save-page-button[cui-areatype="menu-panel"],
1076 toolbarpaletteitem[place="palette"] > #save-page-button {
1077 -moz-image-region: rect(0px, 352px, 32px, 320px);
1080 #save-page-button[cui-areatype="menu-panel"]:hover,
1081 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1082 -moz-image-region: rect(32px, 352px, 64px, 320px);
1085 #sync-button[cui-areatype="menu-panel"],
1086 toolbarpaletteitem[place="palette"] > #sync-button {
1087 -moz-image-region: rect(0px, 384px, 32px, 352px);
1090 #sync-button[cui-areatype="menu-panel"]:hover,
1091 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1092 -moz-image-region: rect(32px, 384px, 64px, 352px);
1095 #sync-button[cui-areatype="menu-panel"][status="active"] {
1096 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1097 -moz-image-region: rect(0px, 32px, 32px, 0px);
1100 #feed-button[cui-areatype="menu-panel"],
1101 toolbarpaletteitem[place="palette"] > #feed-button {
1102 -moz-image-region: rect(0px, 416px, 32px, 384px);
1105 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1106 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1107 -moz-image-region: rect(32px, 416px, 64px, 384px);
1110 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1111 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1112 -moz-image-region: rect(64px, 416px, 96px, 384px);
1115 #social-share-button[cui-areatype="menu-panel"],
1116 toolbarpaletteitem[place="palette"] > #social-share-button {
1117 -moz-image-region: rect(0px, 448px, 32px, 416px);
1120 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1121 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1122 -moz-image-region: rect(32px, 448px, 64px, 416px);
1125 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1126 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1127 -moz-image-region: rect(64px, 448px, 96px, 416px);
1130 #characterencoding-button[cui-areatype="menu-panel"],
1131 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1132 -moz-image-region: rect(0px, 480px, 32px, 448px);
1135 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1136 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1137 -moz-image-region: rect(32px, 480px, 64px, 448px);
1140 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1141 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1142 -moz-image-region: rect(64px, 480px, 96px, 448px);
1145 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1146 -moz-image-region: rect(32px, 480px, 64px, 448px);
1149 #new-window-button[cui-areatype="menu-panel"],
1150 toolbarpaletteitem[place="palette"] > #new-window-button {
1151 -moz-image-region: rect(0px, 512px, 32px, 480px);
1154 #new-window-button[cui-areatype="menu-panel"]:hover,
1155 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1156 -moz-image-region: rect(32px, 512px, 64px, 480px);
1159 #e10s-button[cui-areatype="menu-panel"],
1160 toolbarpaletteitem[place="palette"] > #e10s-button {
1161 -moz-image-region: rect(0px, 512px, 32px, 480px);
1164 #e10s-button[cui-areatype="menu-panel"]:hover,
1165 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1166 -moz-image-region: rect(32px, 512px, 64px, 480px);
1169 #new-tab-button[cui-areatype="menu-panel"],
1170 toolbarpaletteitem[place="palette"] > #new-tab-button {
1171 -moz-image-region: rect(0px, 544px, 32px, 512px);
1174 #new-tab-button[cui-areatype="menu-panel"]:hover,
1175 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1176 -moz-image-region: rect(32px, 544px, 64px, 512px);
1179 #privatebrowsing-button[cui-areatype="menu-panel"],
1180 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1181 -moz-image-region: rect(0px, 576px, 32px, 544px);
1184 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1185 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1186 -moz-image-region: rect(32px, 576px, 64px, 544px);
1189 #tabview-button[cui-areatype="menu-panel"],
1190 toolbarpaletteitem[place="palette"] > #tabview-button {
1191 -moz-image-region: rect(0px, 608px, 32px, 576px);
1194 #tabview-button[cui-areatype="menu-panel"]:hover,
1195 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1196 -moz-image-region: rect(32px, 608px, 64px, 576px);
1199 #find-button[cui-areatype="menu-panel"],
1200 toolbarpaletteitem[place="palette"] > #find-button {
1201 -moz-image-region: rect(0px, 640px, 32px, 608px);
1204 #find-button[cui-areatype="menu-panel"]:hover,
1205 toolbarpaletteitem[place="palette"] > #find-button:hover {
1206 -moz-image-region: rect(32px, 640px, 64px, 608px);
1209 #print-button[cui-areatype="menu-panel"],
1210 toolbarpaletteitem[place="palette"] > #print-button {
1211 -moz-image-region: rect(0px, 672px, 32px, 640px);
1214 #print-button[cui-areatype="menu-panel"]:hover,
1215 toolbarpaletteitem[place="palette"] > #print-button:hover {
1216 -moz-image-region: rect(32px, 672px, 64px, 640px);
1219 #fullscreen-button[cui-areatype="menu-panel"],
1220 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1221 -moz-image-region: rect(0px, 704px, 32px, 672px);
1224 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1225 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1226 -moz-image-region: rect(32px, 704px, 64px, 672px);
1229 #developer-button[cui-areatype="menu-panel"],
1230 toolbarpaletteitem[place="palette"] > #developer-button {
1231 -moz-image-region: rect(0px, 736px, 32px, 704px);
1234 #developer-button[cui-areatype="menu-panel"]:hover,
1235 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1236 -moz-image-region: rect(32px, 736px, 64px, 704px);
1239 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1240 -moz-image-region: rect(32px, 736px, 64px, 704px);
1243 #preferences-button[cui-areatype="menu-panel"],
1244 toolbarpaletteitem[place="palette"] > #preferences-button {
1245 -moz-image-region: rect(0px, 768px, 32px, 736px);
1248 #preferences-button[cui-areatype="menu-panel"]:hover,
1249 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1250 -moz-image-region: rect(32px, 768px, 64px, 736px);
1253 #email-link-button[cui-areatype="menu-panel"],
1254 toolbarpaletteitem[place="palette"] > #email-link-button {
1255 -moz-image-region: rect(0, 800px, 32px, 768px);
1258 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1259 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1260 -moz-image-region: rect(32px, 800px, 64px, 768px);
1263 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1264 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1265 -moz-image-region: rect(64px, 800px, 96px, 768px);
1268 #sidebar-button[cui-areatype="menu-panel"],
1269 toolbarpaletteitem[place="palette"] > #sidebar-button {
1270 -moz-image-region: rect(0, 864px, 32px, 832px);
1273 #sidebar-button[cui-areatype="menu-panel"]:hover,
1274 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1275 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1276 -moz-image-region: rect(32px, 864px, 64px, 832px);
1279 #panic-button[cui-areatype="menu-panel"],
1280 toolbarpaletteitem[place="palette"] > #panic-button {
1281 -moz-image-region: rect(0, 896px, 32px, 864px);
1284 #panic-button[cui-areatype="menu-panel"]:hover,
1285 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1286 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1287 -moz-image-region: rect(32px, 896px, 64px, 864px);
1290 #web-apps-button[cui-areatype="menu-panel"],
1291 toolbarpaletteitem[place="palette"] > #web-apps-button {
1292 -moz-image-region: rect(0, 928px, 32px, 896px);
1295 #web-apps-button[cui-areatype="menu-panel"]:hover,
1296 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1297 -moz-image-region: rect(32px, 928px, 64px, 896px);
1300 #webide-button[cui-areatype="menu-panel"],
1301 toolbarpaletteitem[place="palette"] > #webide-button {
1302 -moz-image-region: rect(0px, 960px, 32px, 928px);
1305 #webide-button[cui-areatype="menu-panel"]:hover,
1306 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1307 -moz-image-region: rect(32px, 960px, 64px, 928px);
1310 #pocket-button[cui-areatype="menu-panel"],
1311 toolbarpaletteitem[place="palette"] > #pocket-button {
1312 -moz-image-region: rect(0px, 992px, 32px, 960px);
1315 #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1316 -moz-image-region: rect(32px, 992px, 64px, 960px);
1319 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1320 -moz-image-region: rect(0, 832px, 32px, 800px);
1323 #loop-button[cui-areatype="menu-panel"],
1324 toolbarpaletteitem[place="palette"] > #loop-button {
1325 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1326 -moz-image-region: rect(0, 32px, 32px, 0);
1329 /* Make sure that the state icons are not shown in the customization palette. */
1330 toolbarpaletteitem[place="palette"] > #loop-button {
1331 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1334 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) {
1335 -moz-image-region: rect(0, 160px, 32px, 128px);
1338 #loop-button[cui-areatype="menu-panel"][state="disabled"],
1339 #loop-button[cui-areatype="menu-panel"][disabled="true"] {
1340 -moz-image-region: rect(0, 64px, 32px, 32px);
1343 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) {
1344 -moz-image-region: rect(0, 224px, 32px, 192px);
1347 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] {
1348 -moz-image-region: rect(0, 96px, 32px, 64px);
1351 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] {
1352 -moz-image-region: rect(0, 128px, 32px, 96px);
1355 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] {
1356 -moz-image-region: rect(0, 192px, 32px, 160px);
1359 /* Wide panel control icons */
1361 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1362 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1363 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1364 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1365 list-style-image: var(--menupanel-small-list-style-image);
1368 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1369 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1370 -moz-image-region: rect(0px, 32px, 16px, 16px);
1373 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1374 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1375 -moz-image-region: rect(16px, 32px, 32px, 16px);
1378 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1379 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1380 -moz-image-region: rect(32px, 32px, 48px, 16px);
1383 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1384 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1385 -moz-image-region: rect(0px, 48px, 16px, 32px);
1388 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1389 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1390 -moz-image-region: rect(16px, 48px, 32px, 32px);
1393 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1394 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1395 -moz-image-region: rect(32px, 48px, 48px, 32px);
1398 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1399 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1400 -moz-image-region: rect(0px, 64px, 16px, 48px);
1403 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1404 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1405 -moz-image-region: rect(16px, 64px, 32px, 48px);
1408 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1409 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1410 -moz-image-region: rect(32px, 64px, 48px, 48px);
1413 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1414 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1415 -moz-image-region: rect(0px, 80px, 16px, 64px);
1418 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1419 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1420 -moz-image-region: rect(16px, 80px, 32px, 64px);
1423 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1424 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1425 -moz-image-region: rect(32px, 80px, 48px, 64px);
1428 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1429 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1430 -moz-image-region: rect(0px, 96px, 16px, 80px);
1433 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1434 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1435 -moz-image-region: rect(16px, 96px, 32px, 80px);
1438 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1439 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1440 -moz-image-region: rect(32px, 96px, 48px, 80px);
1443 #add-share-provider {
1444 list-style-image: var(--menupanel-small-list-style-image);
1445 -moz-image-region: rect(0px, 96px, 16px, 80px);
1448 /* === END menupanel.inc.css === */
1450 .toolbarbutton-1:not([type="menu-button"]) {
1451 -moz-box-orient: vertical;
1455 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1461 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1462 .toolbarbutton-1[disabled="true"]:hover:active,
1463 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1467 .toolbarbutton-1:hover:active,
1468 .toolbarbutton-1[open="true"],
1469 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1471 padding-bottom: 0px;
1472 -moz-padding-start: 3px;
1473 -moz-padding-end: 1px;
1476 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1477 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1478 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1479 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1480 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1483 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1484 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1487 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1488 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1491 .toolbarbutton-1 > .toolbarbutton-icon,
1492 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1496 #nav-bar .toolbarbutton-1,
1497 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1500 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1501 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1502 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1505 #nav-bar #PanelUI-menu-button {
1506 /* -moz-padding-start: 7px;
1507 -moz-padding-end: 5px;*/
1510 #nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button),
1511 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1512 /* padding-left: 5px;
1513 padding-right: 5px;*/
1516 #nav-bar .toolbarbutton-1 > menupopup {
1517 /* margin-top: -3px;*/
1520 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1524 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1525 /* -moz-padding-end: 0;*/
1528 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1529 /* -moz-padding-start: 0;
1530 -moz-box-align: center;*/
1533 .findbar-button > .toolbarbutton-text,
1534 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1535 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1536 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-stack,
1537 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1538 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1539 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1540 /* padding: 2px 6px;
1542 border-color: transparent;
1543 transition-property: background-color, border-color;
1544 transition-duration: 150ms;*/
1547 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1548 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
1549 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1554 /* Help SDK icons fit: */
1555 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
1556 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-stack > .toolbarbutton-icon {
1560 #nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1561 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1565 #nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1566 #nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
1567 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1568 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
1569 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1570 /* -moz-padding-end: 17px;*/
1573 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1576 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1579 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1582 #nav-bar .toolbaritem-combined-buttons {
1583 /* margin-left: 2px;
1584 margin-right: 2px;*/
1587 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1592 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1593 #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 {
1599 -moz-margin-end: -1px;
1603 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1606 .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1607 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1608 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1609 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1610 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1611 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1612 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-stack,
1613 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1614 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1617 .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1618 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1619 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1620 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1621 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1622 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-stack {
1625 #TabsToolbar .toolbarbutton-1,
1626 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1627 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1628 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1631 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1632 #TabsToolbar .toolbarbutton-1[open],
1633 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1634 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1635 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1638 /* unified back/forward button */
1641 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1644 #forward-button > menupopup {
1645 margin-top: 1px !important;
1648 #forward-button > .toolbarbutton-icon {
1649 background-clip: padding-box !important;
1650 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1651 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1655 -moz-margin-start: -4px !important;
1660 border-radius: 0 10000px 10000px 0;
1663 #forward-button:-moz-locale-dir(rtl) {
1664 border-radius: 10000px 0 0 10000px;
1667 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1668 transition: margin-left 150ms ease-out;
1671 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1672 margin-left: -27px !important;
1675 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1676 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1677 transition-delay: 100s;
1680 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1681 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1682 margin-left: -27.01px !important;
1686 /* padding-top: 3px !important;
1687 padding-bottom: 3px !important;
1688 -moz-padding-start: 5px !important;
1689 -moz-padding-end: 0 !important;*/
1692 border-radius: 10000px;
1696 margin-bottom: -2px;
1699 #back-button:-moz-locale-dir(rtl) {
1702 #back-button > menupopup {
1703 margin-top: -1px !important;
1706 #back-button > .toolbarbutton-icon {
1707 border-radius: 10000px !important;
1708 background-clip: padding-box !important;
1709 /* background-color: hsla(210,25%,98%,.08) !important;
1710 padding: 6px !important;
1711 border-style: none !important;
1712 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1713 0 0 0 1px hsla(210,4%,10%,.25);*/
1714 transition-property: background-color, box-shadow !important;
1715 transition-duration: 250ms !important;
1718 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1719 /* background-color: hsla(210,4%,10%,.08) !important;*/
1722 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1723 #back-button[open="true"] > .toolbarbutton-icon {
1724 /* background-color: hsla(210,4%,10%,.12) !important;
1725 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1726 0 0 0 1px hsla(210,4%,10%,.25),
1727 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1730 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1731 transform: scaleX(-1);
1734 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1735 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1736 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1739 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1740 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1741 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1744 #home-button.bookmark-item {
1745 list-style-image: url("chrome://browser/skin/Toolbar.png");
1748 #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),
1749 #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),
1750 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1751 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1752 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1753 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1754 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1757 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1760 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1761 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1762 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1766 #downloads-button > .toolbarbutton-icon {
1770 /* tabview menu item */
1773 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1774 -moz-image-region: rect(1px, 89px, 17px, 73px);
1777 #menu_tabview[groups="0"] {
1778 -moz-image-region: rect(1px, 17px, 17px, 1px);
1781 #menu_tabview[groups="1"] {
1782 -moz-image-region: rect(1px, 35px, 17px, 19px);
1785 #menu_tabview[groups="2"] {
1786 -moz-image-region: rect(1px, 53px, 17px, 37px);
1789 #menu_tabview[groups="3"] {
1790 -moz-image-region: rect(1px, 71px, 17px, 55px);
1793 /* undo close tab menu item */
1794 #alltabs_undoCloseTab {
1795 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1798 @media (min-resolution: 1.1dppx) {
1799 #alltabs_undoCloseTab {
1800 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1802 #alltabs_undoCloseTab > .toolbarbutton-icon {
1807 /* zoom control text (reset) button special case: */
1809 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1810 /* To make this line up with the icons, it needs the same height (18px) +
1811 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1812 * increase in text sizes would break things...
1817 /* ::::: fullscreen window controls ::::: */
1820 -moz-margin-start: 4px;
1826 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1831 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1834 #minimize-button:hover {
1835 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1839 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1842 #restore-button:hover {
1843 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1847 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1850 #close-button:hover {
1851 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1854 /* ::::: Location Bar ::::: */
1857 .searchbar-textbox {
1860 -moz-margin-start: 3px;
1864 /* make color as light as possible to deal with dark non-domain parts */
1868 /* overlap the urlbar's border */
1869 #PopupAutoCompleteRichResult {
1873 #urlbar:-moz-lwtheme,
1874 .searchbar-textbox:-moz-lwtheme {
1875 /* background-color: rgba(255,255,255,.8);
1876 @navbarTextboxCustomBorder@
1880 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1881 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1882 /* background-color: rgba(255,255,255,.9);*/
1885 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1886 .searchbar-textbox:-moz-lwtheme[focused] {
1887 /* background-color: white;*/
1890 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1891 /* -moz-border-start: none;
1895 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1896 /* border-top-left-radius: 0;
1897 border-bottom-left-radius: 0; */
1900 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1901 /* border-top-right-radius: 0;
1902 border-bottom-right-radius: 0; */
1905 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1906 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1907 /* -moz-margin-start: -5px; */
1910 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1911 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1912 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1913 transform: scaleX(-1);
1916 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1917 -moz-box-direction: reverse;
1920 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1921 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1926 -moz-box-orient: horizontal;
1927 -moz-box-align: stretch;
1930 .urlbar-textbox-container {
1931 -moz-box-align: stretch;
1935 -moz-margin-start: 0;
1939 -moz-box-align: center;
1946 .searchbar-engine-button,
1947 .search-go-container {
1951 .search-go-container > .search-go-button {
1955 .urlbar-icon:hover {
1958 .urlbar-icon[open="true"],
1959 .urlbar-icon:hover:active {
1962 #urlbar-search-footer {
1963 border-top: 1px solid #A09090;
1966 #urlbar-search-settings {
1969 #urlbar-search-settings:hover {
1972 #urlbar-search-settings:hover:active {
1975 #urlbar-search-splitter {
1977 -moz-margin-start: -3px;
1979 background: transparent;
1982 #urlbar-search-splitter + #urlbar-container > #urlbar,
1983 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1984 -moz-margin-start: 0;
1987 #urlbar-display-box {
1991 -moz-border-end: 1px solid #9C9CFF;
1992 -moz-margin-end: 3px;
1995 -moz-margin-start: 0;
1999 #PopupAutoCompleteRichResult > richlistbox {
2000 transition: height 100ms;
2004 min-width: calc(54px + 11ch);
2014 #identity-box:-moz-locale-dir(ltr) {
2015 /* border-top-left-radius: 1.5px;
2016 border-bottom-left-radius: 1.5px;*/
2019 #identity-box:-moz-locale-dir(rtl) {
2020 /* border-top-right-radius: 1.5px;
2021 border-bottom-right-radius: 1.5px;*/
2024 #notification-popup-box:not([hidden]) + #identity-box {
2025 -moz-padding-start: 10px !important;
2029 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
2030 /* border-radius: 0; */
2031 -moz-padding-start: 2px;
2032 -moz-padding-end: 2px;
2033 -moz-margin-end: 1px;
2036 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
2037 transition: padding-left, padding-right;
2040 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2041 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2045 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2046 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2050 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2051 #notification-popup-box[hidden] + #identity-box {
2052 /* forward button hiding is delayed when hovered */
2053 transition-delay: 100s;
2056 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2057 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2058 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2059 padding-left: 2.01px;
2062 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2063 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2064 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2065 padding-right: 2.01px;
2069 -moz-margin-end: 3px;
2072 #identity-box:-moz-locale-dir(ltr) {
2073 border-top-right-radius: 0;
2074 border-bottom-right-radius: 0;
2077 #identity-box:-moz-locale-dir(rtl) {
2078 border-top-left-radius: 0;
2079 border-bottom-left-radius: 0;
2082 #identity-box:hover,
2083 #identity-box[open=true] {
2086 #identity-box.verifiedIdentity:not(:-moz-lwtheme):not(:hover):not([open=true]) {
2087 var(--verified-identity-box-backgroundcolor);
2090 #identity-box:-moz-focusring {
2091 outline: 1px dotted #008484;
2092 outline-offset: -1px;
2095 #identity-box.verifiedDomain:-moz-focusring,
2096 #identity-box.verifiedIdentity:-moz-focusring {
2097 outline-color: #000000;
2100 #identity-icon-labels {
2101 -moz-margin-start: 1px;
2102 -moz-margin-end: 3px;
2105 /* Location bar dropmarker */
2107 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2108 background-color: transparent;
2111 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2112 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
2113 #urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
2118 .urlbar-history-dropmarker:hover {
2121 .urlbar-history-dropmarker:hover:active,
2122 .urlbar-history-dropmarker[open="true"] {
2125 /* page proxy icon */
2127 /* === BEGIN identity-block.inc.css === */
2130 --identity-box-verified-color: #008484;
2131 /* Default theme does different color per channel, we can't as they do it build-time. */
2132 --identity-box-chrome-color: #9C9CFF;
2135 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2136 color: var(--identity-box-chrome-color);
2137 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2140 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2141 color: var(--identity-box-verified-color);
2142 -moz-border-end: 1px solid var(--identity-box-verified-color);
2146 background-position: right;
2147 background-size: 1px;
2148 background-repeat: no-repeat;
2151 /* TRACKING PROTECTION ICON */
2153 #tracking-protection-icon {
2156 list-style-image: url("chrome://browser/skin/tracking-protection-16.svg");
2159 #tracking-protection-icon[state="loaded-tracking-content"] {
2160 list-style-image: url("chrome://browser/skin/tracking-protection-disabled-16.svg");
2163 #tracking-protection-icon:not([state]) {
2167 /* MAIN IDENTITY ICON */
2169 #page-proxy-favicon {
2172 list-style-image: url("chrome://browser/skin/identity-not-secure.svg");
2176 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2177 list-style-image: url("chrome://branding/content/identity-icons-brand.svg");
2180 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"],
2181 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2182 list-style-image: url("chrome://browser/skin/identity-secure.svg");
2185 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2186 list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg");
2189 .weakCipher > #page-proxy-favicon[pageproxystate="valid"],
2190 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"],
2191 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2192 list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg");
2195 .mixedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2196 list-style-image: url("chrome://browser/skin/identity-mixed-active-blocked.svg");
2199 #page-proxy-favicon[pageproxystate="invalid"] {
2203 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2204 list-style-image: url("chrome://branding/content/icon64.png");
2207 #identity-popup-brandName {
2211 margin-bottom: .5em;
2214 #identity-popup-content-box {
2218 #urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon {
2219 -moz-image-region: inherit;
2220 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2226 /* MAIN IDENTITY ICON */
2231 list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
2234 #identity-box:hover > #identity-icon,
2235 #identity-box[open=true] > #identity-icon {
2236 list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
2239 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
2240 list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
2243 #urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
2247 #urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
2248 -moz-image-region: inherit;
2249 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2255 /* TRACKING PROTECTION ICON */
2257 #tracking-protection-icon {
2260 margin-inline-start: 2px;
2261 margin-inline-end: 0;
2262 list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
2266 #tracking-protection-icon[state="loaded-tracking-content"] {
2267 list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
2270 #tracking-protection-icon[animate] {
2271 transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
2274 #tracking-protection-icon:not([state]) {
2275 margin-inline-end: -18px;
2276 pointer-events: none;
2278 /* Only animate the shield in, when it disappears hide it immediately. */
2282 #urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
2283 visibility: collapse;
2286 /* CONNECTION ICON */
2291 margin-inline-start: 2px;
2292 visibility: collapse;
2295 #urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
2296 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
2297 list-style-image: url(chrome://browser/skin/identity-secure.svg);
2298 visibility: visible;
2301 #urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
2302 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
2303 list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
2304 visibility: visible;
2307 #urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
2308 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
2309 #urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
2310 list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
2311 visibility: visible;
2314 #urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
2315 list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
2316 visibility: visible;
2319 /* === END identity-block.inc.css === */
2321 #page-proxy-favicon {
2322 -moz-image-region: rect(0, 16px, 16px, 0);
2325 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2326 /* -moz-margin-end: 1px;*/
2329 #identity-box:hover > #page-proxy-favicon {
2330 -moz-image-region: rect(0, 32px, 16px, 16px);
2333 #identity-box:hover:active > #page-proxy-favicon,
2334 #identity-box[open=true] > #page-proxy-favicon {
2335 -moz-image-region: rect(0, 48px, 16px, 32px);
2338 #identity-box:hover {
2339 background-color: #FFCF00;
2343 #identity-box:hover:active,
2344 #identity-box[open=true] {
2345 background-color: #FF9F00;
2349 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2350 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2351 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2352 background-color: #9C9CFF;
2356 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2357 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2358 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2359 background-color: #008484;
2365 #treecolAutoCompleteImage {
2369 .ac-result-type-bookmark,
2370 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2371 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2372 -moz-image-region: rect(0px 16px 16px 0px);
2377 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2378 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2379 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2382 .ac-result-type-keyword,
2383 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2384 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2385 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2390 .ac-result-type-keyword[selected="true"],
2391 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2392 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2393 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2396 .ac-result-type-tag,
2397 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2398 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2407 .ac-extra > .ac-comment {
2417 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2418 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2419 -moz-image-region: rect(0, 16px, 16px, 0);
2423 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2424 -moz-image-region: rect(16px, 16px, 32px, 0);
2427 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2431 .ac-comment[selected="true"],
2432 .ac-url-text[selected="true"],
2433 .ac-action-text[selected="true"] {
2434 color: inherit !important;
2437 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2438 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2444 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2445 border-top: 1px solid #9C9CFF;
2448 /* combined go/reload/stop button in location bar */
2451 #urlbar-reload-button,
2452 #urlbar-stop-button {
2454 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2455 /* padding: 0 9px;*/
2456 margin-inline-start: 2px;
2457 border-inline-start: 1px solid var(--urlbar-separator-color);
2458 border-image: linear-gradient(transparent 15%,
2459 var(--urlbar-separator-color) 15%,
2460 var(--urlbar-separator-color) 85%,
2462 border-image-slice: 1;
2465 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2466 border-top-left-radius: 0px;
2467 border-bottom-left-radius: 0px;
2470 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2471 border-top-right-radius: 0px;
2472 border-bottom-right-radius: 0px;
2475 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2476 #urlbar-reload-button:not(:hover) {
2477 -moz-border-start-style: none;
2478 -moz-padding-start: 3px;
2481 #urlbar-reload-button {
2482 -moz-image-region: rect(0px, 14px, 14px, 0px);
2485 #urlbar-reload-button[disabled=true] {
2486 -moz-image-region: rect(28px, 14px, 42px, 0px);
2489 #urlbar-reload-button:not([disabled=true]):hover {
2490 -moz-image-region: rect(14px, 14px, 28px, 0px);
2493 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2494 transform: scaleX(-1);
2498 -moz-image-region: rect(0, 42px, 14px, 28px);
2501 #urlbar-go-button:hover {
2502 -moz-image-region: rect(14px, 42px, 28px, 28px);
2505 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2506 transform: scaleX(-1);
2509 #urlbar-stop-button {
2510 -moz-image-region: rect(0px, 28px, 14px, 14px);
2513 #urlbar-stop-button:hover {
2514 -moz-image-region: rect(14px, 28px, 28px, 14px);
2517 @media (min-resolution: 1.1dppx) {
2519 #urlbar-reload-button,
2520 #urlbar-stop-button {
2521 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2524 #urlbar-go-button > .toolbarbutton-icon,
2525 #urlbar-reload-button > .toolbarbutton-icon,
2526 #urlbar-stop-button > .toolbarbutton-icon {
2531 -moz-image-region: rect(0, 84px, 28px, 56px);
2534 #urlbar-go-button:hover {
2535 -moz-image-region: rect(28px, 84px, 56px, 56px);
2538 #urlbar-go-button:hover:active {
2539 -moz-image-region: rect(56px, 84px, 84px, 56px);
2542 #urlbar-reload-button {
2543 -moz-image-region: rect(0, 28px, 28px, 0);
2546 #urlbar-reload-button:not([disabled]):hover {
2547 -moz-image-region: rect(28px, 28px, 56px, 0);
2550 #urlbar-reload-button:not([disabled]):hover:active {
2551 -moz-image-region: rect(56px, 28px, 84px, 0);
2554 #urlbar-stop-button {
2555 -moz-image-region: rect(0, 56px, 28px, 28px);
2558 #urlbar-stop-button:not([disabled]):hover {
2559 -moz-image-region: rect(28px, 56px, 56px, 28px);
2562 #urlbar-stop-button:hover:active {
2563 -moz-image-region: rect(56px, 56px, 84px, 28px);
2567 /* popup blocker button */
2569 #page-report-button {
2570 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2571 -moz-image-region: rect(0, 16px, 16px, 0);
2574 #page-report-button:hover ,
2575 #page-report-button:hover:active,
2576 #page-report-button[open="true"] {
2577 -moz-image-region: rect(0, 32px, 16px, 16px);
2580 /* === BEGIN readinglist.inc.css === */
2582 /* Reading List button */
2584 #urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
2589 #readinglist-addremove-button {
2590 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
2591 -moz-image-region: rect(0, 14px, 14px, 0);
2592 transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
2597 #readinglist-addremove-button:hover {
2598 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
2601 #readinglist-addremove-button:active {
2602 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
2605 #readinglist-addremove-button[already-added="true"] {
2606 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
2609 #readinglist-addremove-button[already-added="true"]:hover {
2610 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
2613 #readinglist-addremove-button[already-added="true"]:active {
2614 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
2617 /* === END readinglist.inc.css === */
2619 /* Reader mode button */
2621 #reader-mode-button {
2622 list-style-image: url("chrome://browser/skin/readerMode.svg");
2623 -moz-image-region: rect(0, 16px, 16px, 0);
2626 #reader-mode-button:hover,
2627 #reader-mode-button[readeractive]:hover {
2628 -moz-image-region: rect(0, 32px, 16px, 16px);
2631 #reader-mode-button:hover:active,
2632 #reader-mode-button[readeractive] {
2633 -moz-image-region: rect(0, 48px, 16px, 32px);
2636 /* social share panel */
2638 .social-share-frame {
2645 background-color: white;
2646 background-repeat: no-repeat;
2647 background-position: center center;
2649 #share-container[loading] {
2650 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2652 #share-container > browser {
2653 transition: opacity 150ms ease-in-out;
2656 #share-container[loading] > browser {
2660 .social-share-toolbar {
2661 border-bottom: 1px solid #9C9CFF;
2665 #social-share-provider-buttons {
2670 .share-provider-button {
2675 .share-provider-button > .toolbarbutton-text {
2678 .share-provider-button > .toolbarbutton-icon {
2684 /* fixup corners for share panel */
2685 .social-panel > .social-panel-frame {
2686 border-radius: inherit;
2689 #social-share-panel {
2695 .social-share-frame {
2696 border-top-left-radius: 0;
2697 border-bottom-left-radius: inherit;
2698 border-top-right-radius: 0;
2699 border-bottom-right-radius: inherit;
2702 #social-share-panel > .social-share-toolbar {
2703 border-top-left-radius: inherit;
2704 border-top-right-radius: inherit;
2707 #social-share-provider-buttons {
2708 border-top-left-radius: inherit;
2709 border-top-right-radius: inherit;
2712 /* social recommending panel */
2714 #social-mark-button {
2715 -moz-image-region: rect(0, 16px, 16px, 0);
2718 /* bookmarks menu-button */
2720 #bookmarks-menu-button.bookmark-item {
2721 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2722 -moz-image-region: rect(0px 16px 16px 0px);
2725 #bookmarks-menu-button.bookmark-item[starred] {
2726 -moz-image-region: rect(0px 32px 16px 16px);
2729 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2730 -moz-margin-start: 5px;
2733 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2735 padding-bottom: 2px;
2738 #BMB_bookmarksPopup[side="top"],
2739 #BMB_bookmarksPopup[side="bottom"] {
2741 margin-right: -20px;
2744 #BMB_bookmarksPopup[side="left"],
2745 #BMB_bookmarksPopup[side="right"] {
2747 margin-bottom: -20px;
2750 /* bookmarking panel */
2752 #editBookmarkPanelStarIcon {
2753 list-style-image: url("chrome://browser/skin/places/starred48.png");
2758 #editBookmarkPanelStarIcon[unstarred] {
2759 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2762 #editBookmarkPanelTitle {
2766 #editBookmarkPanelHeader,
2767 #editBookmarkPanelContent {
2768 margin-bottom: .5em;
2771 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2772 #editBMPanel_folderTree {
2779 border-top: 1px solid #9C9CFF;
2780 border-bottom-left-radius: 5px;
2781 border-bottom-right-radius: 5px;
2785 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2786 -moz-margin-end: 10px;
2787 vertical-align: middle;
2790 .panel-promo-closebutton {
2791 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2792 -moz-margin-end: -3px;
2796 .panel-promo-closebutton:hover {
2797 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2800 .panel-promo-closebutton:hover:active {
2801 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2804 .panel-promo-closebutton > .toolbarbutton-text {
2808 /* ::::: content area ::::: */
2811 background-color: #9C9CFF;
2816 background-color: #000000;
2820 -moz-margin-start: 0;
2829 -moz-padding-start: 0px;
2832 #sidebar-header > .close-icon {
2833 /* padding: 4px 2px;
2836 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2839 #sidebar-header > .close-icon:hover,
2840 #sidebar-header > .close-icon:hover:active {
2841 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2844 #sidebar-splitter:-moz-locale-dir(ltr),
2845 #sidebar:-moz-locale-dir(ltr) {
2846 border-radius: 0 5px 0 0;
2849 #sidebar-splitter:-moz-locale-dir(rtl),
2850 #sidebar:-moz-locale-dir(rtl) {
2851 border-radius: 5px 0 0 0;
2854 .browserContainer > findbar {
2856 background-color: -moz-dialog;
2857 color: -moz-DialogText;
2866 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2869 #TabsToolbar .toolbar-holder {
2870 background-color: #000000; /* correct effect of being an actual toolbar */
2873 #main-window[disablechrome] #TabsToolbar,
2874 #TabsToolbar[tabsontop="false"] {
2875 border-bottom: 1px solid #008484;
2878 /* === BEGIN tabs.inc.css === */
2881 /* --tab-toolbar-navbar-overlap: 1px; */
2882 /* --tab-min-height: 31px; */
2883 /* --tab-curve-width: 30px; */
2884 /* --tab-curve-half-width: 15px; */
2888 .tabs-newtab-button,
2889 #TabsToolbar > #new-tab-button {
2894 padding: 1px 4px 2px;
2897 .tabbrowser-tab:first-of-type {
2898 -moz-margin-start: 2px;
2901 .tabs-newtab-button,
2902 #TabsToolbar > #new-tab-button {
2903 border-radius: 8px 8px 0px 0px;
2904 -moz-margin-start: 0;
2907 .tabs-newtab-button:not(:hover),
2908 #TabsToolbar > #new-tab-button:not(:hover) {
2909 background-color: #C09070;
2912 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2913 .tabbrowser-tab[visuallyselected=true] {
2914 /* position: relative;
2918 .tab-background-middle {
2924 .tab-content[pinned] {
2936 -moz-margin-end: 3px;
2940 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2946 /* margin-top: 10px; */
2947 -moz-margin-start: -16px;
2951 .tab-icon-overlay[crashed] {
2953 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2956 .tab-throbber[busy] {
2957 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2960 .tab-throbber[progress] {
2961 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2964 .tab-throbber[pinned],
2965 .tab-icon-image[pinned] {
2966 -moz-margin-start: 2px;
2967 -moz-margin-end: 2px;
2971 /* this needs to add up to the 16px of the icon image */
2973 margin-top: 2px !important;
2974 margin-bottom: 2px !important;
2983 .tabs-newtab-button {
2984 /* overlap the tab curves */
2987 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2991 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2992 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2995 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2996 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2999 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
3002 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
3005 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
3006 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
3009 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
3010 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
3013 .tab-background-start[visuallyselected=true]::after,
3014 .tab-background-start[visuallyselected=true]::before,
3015 .tab-background-start,
3016 .tab-background-end,
3017 .tab-background-end[visuallyselected=true]::after,
3018 .tab-background-end[visuallyselected=true]::before {
3021 .tabbrowser-tab:not([visuallyselected=true]),
3022 .tabbrowser-tab:-moz-lwtheme {
3025 /* tabbrowser-tab focus ring */
3026 .tabbrowser-tab:focus {
3027 outline: 1px dotted;
3032 .tabbrowser-tab[visuallyselected="true"] {
3035 /* End selected tab */
3037 /* Tab pointer-events */
3040 pointer-events: none;
3043 .tab-background-middle,
3044 .tabs-newtab-button,
3046 pointer-events: auto;
3051 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
3052 background-color: #E7ADE7;
3055 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
3056 background-color: #3333FF;
3060 /* New tab button */
3062 .tabs-newtab-button {
3064 /* width: calc(36px + var(--tab-curve-width)); */
3067 /* === END tabs.inc.css === */
3071 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
3072 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
3073 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
3075 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
3076 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
3079 /* Tab DnD indicator */
3080 .tab-drop-indicator {
3081 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
3082 margin-bottom: -11px;
3085 /* Tab close button */
3087 list-style-image: url("chrome://global/skin/icons/close-button.gif");
3090 .tab-close-button:hover,
3091 .tab-close-button:hover[selected="true"] {
3092 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3095 .tab-close-button:hover:active,
3096 .tab-close-button:hover:active[selected="true"] {
3097 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
3100 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
3102 .tabbrowser-arrowscrollbox > .scrollbutton-up,
3103 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3107 background-origin: border-box;
3110 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3111 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3112 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
3113 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
3116 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
3117 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
3120 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
3121 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
3122 /* transform: scaleX(-1);*/
3125 .tabbrowser-arrowscrollbox > .scrollbutton-down {
3126 transition: 1s background-color ease-out;
3129 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
3130 background-color: #008484;
3133 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
3134 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
3135 /* border-width: 0 2px 0 0;
3136 border-style: solid;
3137 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
3140 .tabs-newtab-button > .toolbarbutton-icon {
3142 margin-bottom: -1px;
3145 .tabs-newtab-button,
3146 #TabsToolbar > #new-tab-button,
3147 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
3148 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
3149 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
3150 -moz-image-region: rect(0, 16px, 18px, 0);
3153 .tabs-newtab-button,
3154 .tabs-newtab-button:hover,
3155 #TabsToolbar > #new-tab-button,
3156 #TabsToolbar > #new-tab-button:hover {
3157 -moz-image-region: rect(0, 32px, 18px, 16px);
3160 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3161 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3162 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3163 .tabs-newtab-button:-moz-lwtheme-brighttext,
3164 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3165 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
3168 #TabsToolbar > #new-tab-button {
3173 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
3176 #alltabs-button:hover,
3177 #alltabs-button:hover:active,
3178 #alltabs-button[open="true"] {
3179 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
3182 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3183 #alltabs-button:-moz-lwtheme-brighttext {
3186 #alltabs-button > .toolbarbutton-icon {
3190 #alltabs-button > .toolbarbutton-menu-dropmarker {
3194 /* All tabs menupopup */
3195 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
3196 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
3197 -moz-image-region: auto;
3200 .alltabs-item[selected="true"] {
3204 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3205 list-style-image: url("chrome://global/skin/icons/loading.gif");
3208 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
3209 background-color: #402800;
3212 toolbarbutton.chevron {
3213 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
3216 toolbarbutton.chevron:hover {
3217 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
3220 toolbar[brighttext] toolbarbutton.chevron {
3221 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3224 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3225 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
3226 transform: scaleX(-1);
3229 toolbarbutton.chevron > .toolbarbutton-text,
3230 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3234 toolbarbutton.chevron > .toolbarbutton-icon {
3238 #sidebar-throbber[loading="true"] {
3239 list-style-image: url("chrome://global/skin/icons/loading.gif");
3240 -moz-margin-end: 4px;
3243 /* Bookmarks toolbar */
3244 #PlacesToolbarDropIndicator {
3245 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
3248 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3249 background-color: #008484 !important;
3250 color: #FFCF00 !important;
3253 /* rules for menupopup drop indicators */
3254 .menupopup-drop-indicator-bar {
3256 /* these two margins must together compensate the indicator's height */
3258 margin-bottom: -1px;
3261 .menupopup-drop-indicator {
3262 list-style-image: none;
3264 -moz-margin-end: -4em;
3265 background-color: #008484;
3268 /* === BEGIN notification-icons.inc.css === */
3270 .popup-notification-icon {
3273 -moz-margin-end: 10px;
3276 .popup-notification-icon[popupid="geolocation"] {
3277 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3280 .popup-notification-icon[popupid="push"] {
3281 list-style-image: url(chrome://browser/skin/Push-64.png);
3284 .popup-notification-icon[popupid="xpinstall-disabled"],
3285 .popup-notification-icon[popupid="addon-install-blocked"],
3286 .popup-notification-icon[popupid="addon-install-origin-blocked"] {
3287 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3290 .popup-notification-icon[popupid="addon-progress"] {
3291 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3294 .popup-notification-icon[popupid="addon-install-failed"] {
3295 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3298 .popup-notification-icon[popupid="addon-install-confirmation"] {
3299 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3302 #addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3303 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3306 .popup-notification-icon[popupid="addon-install-complete"] {
3307 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3310 .popup-notification-icon[popupid="addon-install-restart"] {
3311 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
3314 .popup-notification-icon[popupid="click-to-play-plugins"] {
3315 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3318 .popup-notification-icon[popupid="web-notifications"] {
3319 list-style-image: url("chrome://browser/skin/notification-64.png");
3322 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3323 .popup-notification-icon[popupid*="offline-app-requested"],
3324 .popup-notification-icon[popupid="offline-app-usage"] {
3325 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3328 .popup-notification-icon[popupid="password"] {
3329 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3332 .popup-notification-icon[popupid="webapps-install-progress"],
3333 .popup-notification-icon[popupid="webapps-install"] {
3334 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3337 .popup-notification-icon[popupid="bad-content"] {
3338 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3341 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3342 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3343 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3346 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3347 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3348 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3351 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3352 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3353 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3356 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3357 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3358 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3361 .popup-notification-icon[popupid="pointerLock"] {
3362 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3365 /* Notification icon box */
3366 #notification-popup .panel-promo-box {
3367 /* margin: 10px -10px -10px; */
3370 #notification-popup-box {
3372 background-color: #000000;
3373 background-clip: padding-box;
3376 border-radius: 3px 0 0 3px;
3377 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3378 -moz-margin-end: -8px;
3379 border-right-width: 8px;
3382 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3383 /* padding-left: 7px; */
3386 #notification-popup-box:-moz-locale-dir(rtl),
3387 .notification-anchor-icon:-moz-locale-dir(rtl) {
3388 transform: scaleX(-1);
3391 .notification-anchor-icon {
3392 list-style-image: url("chrome://global/skin/icons/information-16.png");
3399 .notification-anchor-icon:-moz-focusring {
3400 outline: 1px dotted #008484;
3403 .identity-notification-icon,
3404 #identity-notification-icon {
3405 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3408 .geo-notification-icon,
3409 #geo-notification-icon {
3410 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3413 #push-notification-icon {
3414 list-style-image: url(chrome://browser/skin/Push-16.png);
3417 #addons-notification-icon {
3418 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3421 #addons-notification-icon:hover {
3422 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3425 #addons-notification-icon:hover:active {
3426 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
3429 .indexedDB-notification-icon,
3430 #indexedDB-notification-icon {
3431 list-style-image: url("chrome://global/skin/icons/question-16.png");
3434 #password-notification-icon {
3435 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3438 #login-fill-notification-icon {
3439 /* Temporary icon until the capture and fill doorhangers are unified. */
3440 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3441 transform: scaleX(-1);
3444 #webapps-notification-icon {
3445 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3448 #plugins-notification-icon {
3449 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3452 #plugins-notification-icon.plugin-hidden {
3453 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3456 #plugins-notification-icon.plugin-blocked {
3457 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3460 #plugins-notification-icon {
3461 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3464 #plugins-notification-icon:hover {
3465 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3468 #notification-popup-box[hidden] {
3469 /* Override display:none to make the pluginBlockedNotification animation work
3470 when showing the notification repeatedly. */
3472 visibility: collapse;
3475 #plugins-notification-icon.plugin-blocked[showing] {
3476 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3479 @keyframes pluginBlockedNotification {
3488 .bad-content-blocked-notification-icon,
3489 #bad-content-blocked-notification-icon {
3490 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3493 .bad-content-unblocked-notification-icon,
3494 #bad-content-unblocked-notification-icon {
3495 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3498 .webRTC-shareDevices-notification-icon,
3499 #webRTC-shareDevices-notification-icon {
3500 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3503 .webRTC-sharingDevices-notification-icon,
3504 #webRTC-sharingDevices-notification-icon {
3505 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3508 .webRTC-shareMicrophone-notification-icon,
3509 #webRTC-shareMicrophone-notification-icon {
3510 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3513 .webRTC-sharingMicrophone-notification-icon,
3514 #webRTC-sharingMicrophone-notification-icon {
3515 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3518 .webRTC-shareScreen-notification-icon,
3519 #webRTC-shareScreen-notification-icon {
3520 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3523 .webRTC-sharingScreen-notification-icon,
3524 #webRTC-sharingScreen-notification-icon {
3525 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3528 .web-notifications-notification-icon,
3529 #web-notifications-notification-icon {
3530 list-style-image: url("chrome://browser/skin/notification-16.png");
3533 #pointerLock-notification-icon {
3534 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3537 .translate-notification-icon,
3538 #translate-notification-icon {
3539 list-style-image: url("chrome://browser/skin/translation-16.png");
3540 -moz-image-region: rect(0px, 16px, 16px, 0px);
3543 .translated-notification-icon,
3544 #translated-notification-icon {
3545 list-style-image: url("chrome://browser/skin/translation-16.png");
3546 -moz-image-region: rect(0px, 32px, 16px, 16px);
3549 .popup-notification-icon[popupid="servicesInstall"] {
3550 list-style-image: url("chrome://browser/skin/social/services-64.png");
3552 #servicesInstall-notification-icon {
3553 list-style-image: url("chrome://browser/skin/social/services-16.png");
3556 /* EME notifications */
3558 .popup-notification-icon[popupid="drmContentPlaying"],
3559 #eme-notification-icon {
3560 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3563 #eme-notification-icon:hover:active {
3564 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3567 #eme-notification-icon[firstplay=true] {
3568 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3571 @keyframes emeTeachingMoment {
3572 0% {transform: translateX(0); }
3573 25% {transform: translateX(3px) }
3574 75% {transform: translateX(-3px) }
3575 100% { transform: translateX(0); }
3578 /* HiDPI notification icons */
3579 @media (min-resolution: 1.1dppx) {
3580 /* #notification-popup-box {
3581 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3584 .notification-anchor-icon {
3585 list-style-image: url(chrome://global/skin/icons/information-32.png);
3588 .webRTC-shareDevices-notification-icon,
3589 #webRTC-shareDevices-notification-icon {
3590 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3593 .webRTC-sharingDevices-notification-icon,
3594 #webRTC-sharingDevices-notification-icon {
3595 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3598 .webRTC-shareMicrophone-notification-icon,
3599 #webRTC-shareMicrophone-notification-icon {
3600 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3603 .webRTC-sharingMicrophone-notification-icon,
3604 #webRTC-sharingMicrophone-notification-icon {
3605 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3608 .webRTC-shareScreen-notification-icon,
3609 #webRTC-shareScreen-notification-icon {
3610 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3613 .webRTC-sharingScreen-notification-icon,
3614 #webRTC-sharingScreen-notification-icon {
3615 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3618 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3619 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3620 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3623 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3624 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3625 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3628 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3629 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3630 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3634 /* === END notification-icons.inc.css === */
3636 .popup-notification-body[popupid="addon-progress"],
3637 .popup-notification-body[popupid="addon-install-confirmation"] {
3642 /* Translation infobar */
3644 /* === BEGIN infobar.inc.css === */
3646 notification[value="translation"] .messageImage {
3647 list-style-image: url("chrome://browser/skin/translation-16.png");
3648 -moz-image-region: rect(0, 32px, 16px, 16px);
3651 @media (min-resolution: 1.25dppx) {
3652 notification[value="translation"] .messageImage {
3653 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3654 -moz-image-region: rect(0, 64px, 32px, 32px);
3658 notification[value="translation"][state="translating"] .messageImage {
3659 list-style-image: url("chrome://browser/skin/translating-16.png");
3660 -moz-image-region: auto;
3663 @media (min-resolution: 1.25dppx) {
3664 notification[value="translation"][state="translating"] .messageImage {
3665 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3669 notification[value="translation"] hbox[anonid="details"] {
3673 notification[value="translation"] button,
3674 notification[value="translation"] menulist {
3678 notification[value="translation"] menulist > .menulist-dropmarker {
3681 .translation-menupopup arrowscrollbox {
3685 .translation-attribution {
3687 -moz-box-align: end;
3691 .translation-attribution > label {
3695 .translation-attribution > image {
3699 .translation-welcome-panel {
3703 .translation-welcome-logo {
3706 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3707 -moz-image-region: rect(0, 64px, 32px, 32px);
3710 .translation-welcome-content {
3711 -moz-margin-start: 16px;
3714 .translation-welcome-headline {
3719 .translation-welcome-body {
3724 /* === END infobar.inc.css === */
3726 notification[value="translation"] {
3730 .translation-menupopup {
3731 -moz-appearance: none;
3734 /* Loop/ Hello browser styles */
3736 notification[value="loop-sharing-notification"] .button-menubutton-button {
3742 notification[value="loop-sharing-notification"] .messageImage {
3743 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3746 /* Bookmarks roots menu-items */
3747 #subscribeToPageMenuitem:not([disabled]),
3748 #subscribeToPageMenupopup,
3749 #BMB_subscribeToPageMenuitem:not([disabled]),
3750 #BMB_subscribeToPageMenupopup {
3751 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3754 #bookmarksToolbarFolderMenu,
3755 #BMB_bookmarksToolbar,
3756 #panelMenu_bookmarksToolbar {
3757 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3758 -moz-image-region: auto;
3761 #BMB_unsortedBookmarks,
3762 #panelMenu_unsortedBookmarks {
3763 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3764 -moz-image-region: auto;
3769 list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg");
3770 -moz-image-region: auto;
3776 list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
3779 /* ::::: Keyboard UI Panel ::::: */
3784 border-radius: 20px;
3787 .KUI-panel[level="top"] {
3788 /*background-color: rgba(27%,27%,27%,.65);*/
3794 padding: 20px 10px 10px;
3798 .ctrlTab-favicon[src] {
3799 background-color: #000000;
3805 .ctrlTab-preview-inner > .tabPreview-canvas {
3808 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3812 .ctrlTab-preview-inner {
3813 padding-bottom: 10px;
3816 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3818 background-color: #000000;
3819 border-radius: .5em;
3822 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3824 background-color: #000000;
3827 border: 2px solid #9C9CFF;
3828 border-radius: .5em;
3831 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3832 margin: -10px -10px 0;
3844 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3852 .sync-panel-button-box {
3856 #sync-error-panel-title,
3857 #sync-start-panel-title {
3863 #sync-start-panel-subtitle,
3864 #sync-error-panel-subtitle {
3870 .statuspanel-label {
3873 background: #404000;
3874 border: 1px none #9C9CFF;
3875 border-top-style: solid;
3880 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3881 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3882 border-right-style: solid;
3883 border-top-right-radius: .3em;
3887 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3888 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3889 border-left-style: solid;
3890 border-top-left-radius: .3em;
3894 /* HACK to abolish devily color on main content */
3897 background-color: transparent !important;
3900 #full-screen-warning-message {
3901 background-color: #000000;
3906 box-shadow: 0 0 2px #9C9CFF;
3909 .full-screen-description {
3913 #full-screen-domain-text {
3917 /* === BEGIN commandline.inc.css === */
3919 /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
3920 We are copy/pasting variables from light-theme and dark-theme,
3921 since they aren't loaded in this context (within browser.css). */
3922 :root #developer-toolbar {
3923 --gcli-background-color: #000000; /* --theme-toolbar-background */
3924 --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
3925 --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
3926 --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
3927 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
3928 --selection-background: #008484; /* --theme-selection-background */
3929 --selection-color: #000000; /* --theme-selection-color */
3932 /* Developer toolbar */
3934 #developer-toolbar {
3935 border-top: 3px solid var(--gcli-background-color);
3936 border-bottom: none;
3939 #developer-toolbar .toolbar-holder {
3940 background-color: #8050B0;
3944 #developer-toolbar .toolbar-holder {
3945 background-color: #8050B0;
3949 #developer-toolbar .toolbar-startcap,
3950 #developer-toolbar .toolbar-endcap{
3951 background-color: #6000CF;
3954 #developer-toolbar {
3956 min-height: 32px; */
3959 #developer-toolbar > toolbarbutton {
3965 .developer-toolbar-button > image {
3966 /* margin: auto 10px; */
3969 #developer-toolbar-toolbox-button > label {
3973 .developer-toolbar-button > .toolbarbutton-icon,
3974 #developer-toolbar-closebutton > .toolbarbutton-icon {
3979 #developer-toolbar-toolbox-button {
3980 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3981 -moz-image-region: rect(0px, 16px, 16px, 0px);
3984 #developer-toolbar-toolbox-button > label {
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, 32px, 16px, 16px);
3994 @media (min-resolution: 2dppx) {
3995 #developer-toolbar-toolbox-button {
3996 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3997 -moz-image-region: rect(0px, 32px, 32px, 0px);
4000 #developer-toolbar-toolbox-button:hover,
4001 #developer-toolbar-toolbox-button:hover:active,
4002 #developer-toolbar-toolbox-button[checked=true] {
4003 -moz-image-region: rect(0px, 64px, 32px, 32px);
4007 #developer-toolbar-closebutton {
4008 list-style-image: url("chrome://browser/skin/devtools/close.png");
4009 -moz-image-region: rect(0px, 16px, 16px, 0px);
4014 #developer-toolbar-closebutton > .toolbarbutton-icon {
4017 #developer-toolbar-closebutton > .toolbarbutton-text {
4021 #developer-toolbar-closebutton:hover,
4022 #developer-toolbar-closebutton:hover:active {
4023 -moz-image-region: rect(0px, 32px, 16px, 16px);
4026 @media (min-resolution: 2dppx) {
4027 #developer-toolbar-closebutton {
4028 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4029 -moz-image-region: rect(0px, 32px, 32px, 0px);
4032 #developer-toolbar-closebutton:hover,
4033 #developer-toolbar-closebutton:hover:active {
4034 -moz-image-region: rect(0px, 64px, 32px, 32px);
4040 html|*#gcli-tooltip-frame,
4041 html|*#gcli-output-frame {
4044 background-color: transparent;
4050 background-color: transparent;
4053 .gclitoolbar-input-node,
4054 .gclitoolbar-complete-node {
4056 -moz-box-align: center;
4060 background-color: transparent;
4063 .gclitoolbar-input-node {
4064 /* line-height: 32px;
4065 outline-style: none; */
4066 background-repeat: no-repeat;
4067 background-color: var(--gcli-input-background);
4070 .gclitoolbar-input-node[focused="true"] {
4071 background-color: var(--gcli-input-focused-background);
4074 .gclitoolbar-input-node::before {
4076 display: inline-block;
4077 -moz-box-ordinal-group: 0;
4081 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
4082 background-position: 0 center;
4083 background-size: 32px 16px;
4086 .gclitoolbar-input-node[focused="true"]::before {
4087 background-position: -16px center;
4090 @media (min-resolution: 2dppx) {
4091 .gclitoolbar-input-node::before {
4092 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
4096 .gclitoolbar-input-node:not([focused="true"]) {
4097 border-color: transparent;
4100 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
4101 background-color: var(--selection-background);
4102 color: var(--selection-color);
4105 .gclitoolbar-complete-node {
4107 background-color: transparent;
4110 pointer-events: none;
4113 .gcli-in-incomplete,
4117 .gcli-in-closebrace,
4124 .gcli-in-incomplete {
4125 border-bottom: 2px dotted #8050B0;
4129 border-bottom: 2px dotted #FF0000;
4140 .gcli-in-closebrace {
4144 /* === END commandline.inc.css === */
4146 /* === BEGIN responsivedesign.inc.css === */
4148 /* Responsive Mode */
4150 .browserContainer[responsivemode] {
4151 background-color: #221500;
4152 padding: 0 20px 20px 20px;
4155 .browserStack[responsivemode] {
4156 box-shadow: 0 0 7px #9C9CFF;
4159 .devtools-responsiveui-toolbar {
4160 background: transparent;
4161 /* text color is textColor from dark theme, since no theme is applied to
4162 * the responsive toolbar.
4168 border-bottom-width: 0;
4171 .devtools-responsiveui-menulist,
4172 .devtools-responsiveui-toolbarbutton {
4173 -moz-box-align: center;
4175 /* min-height: 22px;*/
4176 /* margin: 0 3px; */
4179 .devtools-responsiveui-menulist .menulist-editable-box {
4180 background-color: transparent;
4183 .devtools-responsiveui-menulist html|*.menulist-editable-input {
4188 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
4189 /* background: hsla(212,7%,57%,.35);*/
4192 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4197 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4198 -moz-box-orient: horizontal;
4201 .devtools-responsiveui-menulist:-moz-focusring,
4202 .devtools-responsiveui-toolbarbutton:-moz-focusring {
4203 /* outline: 1px dotted hsla(210,30%,85%,0.7);
4204 outline-offset: -4px;*/
4207 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4211 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4212 /* border-color: hsla(210,8%,5%,.6);
4213 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4214 box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
4217 .devtools-responsiveui-menulist[open=true],
4218 .devtools-responsiveui-toolbarbutton[open=true],
4219 .devtools-responsiveui-toolbarbutton[checked=true] {
4220 /* border-color: hsla(210,8%,5%,.6) !important;
4221 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4222 box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
4225 .devtools-responsiveui-toolbarbutton[checked=true] {
4226 /* color: hsl(208,100%,60%); */
4229 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
4230 /* background-color: transparent !important;*/
4233 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4234 /* background-color: hsla(210,8%,5%,.2) !important;*/
4237 .devtools-responsiveui-menulist > .menulist-label-box {
4241 .devtools-responsiveui-menulist > .menulist-dropmarker {
4242 /* display: -moz-box;
4243 background-color: transparent;
4244 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4245 -moz-box-align: center;
4250 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4253 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4254 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4257 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4258 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4261 .devtools-responsiveui-toolbarbutton[type=menu-button] {
4262 /* padding: 0 1px;*/
4263 -moz-box-align: stretch;
4266 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4267 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
4268 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4269 -moz-box-align: center;
4273 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4274 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4278 .devtools-responsiveui-close {
4279 list-style-image: url("chrome://browser/skin/devtools/close.png");
4280 -moz-image-region: rect(0px,16px,16px,0px);
4283 .devtools-responsiveui-close:hover {
4284 -moz-image-region: rect(0px,32px,16px,16px);
4287 .devtools-responsiveui-rotate {
4288 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4289 -moz-image-region: rect(0px,16px,16px,0px);
4292 .devtools-responsiveui-rotate:hover {
4293 -moz-image-region: rect(0px,32px,16px,16px);
4296 @media (min-resolution: 2dppx) {
4297 .devtools-responsiveui-close {
4298 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4301 .devtools-responsiveui-close:hover {
4302 -moz-image-region: rect(0px,64px,32px,32px);
4305 .devtools-responsiveui-rotate {
4306 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4309 .devtools-responsiveui-rotate:hover {
4310 -moz-image-region: rect(0px,64px,32px,32px);
4314 .devtools-responsiveui-touch {
4315 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4316 -moz-image-region: rect(0px,16px,16px,0px);
4319 .devtools-responsiveui-touch:hover,
4320 .devtools-responsiveui-touch[checked],
4321 .devtools-responsiveui-touch[checked]:hover {
4322 -moz-image-region: rect(0px,32px,16px,16px);
4325 @media (min-resolution: 2dppx) {
4326 .devtools-responsiveui-touch {
4327 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4328 -moz-image-region: rect(0px,32px,32px,0px);
4331 .devtools-responsiveui-touch:hover,
4332 .devtools-responsiveui-touch[checked],
4333 .devtools-responsiveui-touch[checked]:hover {
4334 -moz-image-region: rect(0px,64px,32px,32px);
4338 .devtools-responsiveui-screenshot {
4339 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4340 -moz-image-region: rect(0px,16px,16px,0px);
4343 .devtools-responsiveui-screenshot:hover {
4344 -moz-image-region: rect(0px,32px,16px,16px);
4347 @media (min-resolution: 2dppx) {
4348 .devtools-responsiveui-screenshot {
4349 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4352 .devtools-responsiveui-screenshot:hover {
4353 -moz-image-region: rect(0px,64px,32px,32px);
4357 .devtools-responsiveui-resizebarV {
4361 transform: translate(12px, -12px);
4362 background-size: cover;
4363 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4366 .devtools-responsiveui-resizebarH {
4370 transform: translate(-12px, 12px);
4371 background-size: cover;
4372 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4375 .devtools-responsiveui-resizehandle {
4379 transform: translate(12px, 12px);
4380 background-size: cover;
4381 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
4384 /* FxOS custom mode with additional buttons and phone look'n feel */
4386 /* Hide devtools manual resizer */
4387 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4388 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4389 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4393 /* Gives responsive mode a phone look'n feel */
4394 .browserStack[responsivemode].fxos-mode {
4395 padding: 60px 15px 0;
4397 border-radius: 25px / 20px;
4398 border-bottom-left-radius: 0;
4399 border-bottom-right-radius: 0;
4400 border: 1px solid #FFFFFF;
4401 border-bottom-width: 0;
4403 background-color: #353535;
4405 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4407 background-image: linear-gradient(to right, #111 11%, #333 56%);
4411 .devtools-responsiveui-hardware-buttons {
4412 -moz-appearance: none;
4415 border: 1px solid #FFFFFF;
4416 border-bottom-left-radius: 25px;
4417 border-bottom-right-radius: 25px;
4418 border-top-width: 0;
4420 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4422 background-image: linear-gradient(to right, #111 11%, #333 56%);
4425 .devtools-responsiveui-home-button {
4428 list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4431 .devtools-responsiveui-sleep-button {
4432 -moz-appearance: none;
4433 /* compensate browserStack top padding */
4441 border: 1px solid #444;
4442 border-top-right-radius: 12px;
4443 border-top-left-radius: 12px;
4444 border-bottom-color: transparent;
4446 background-image: linear-gradient(to top, #111 11%, #333 56%);
4449 .devtools-responsiveui-sleep-button:hover:active {
4450 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4453 .devtools-responsiveui-volume-buttons {
4457 .devtools-responsiveui-volume-up-button,
4458 .devtools-responsiveui-volume-down-button {
4459 -moz-appearance: none;
4460 border: 1px solid red;
4464 border: 1px solid #444;
4465 border-right-color: transparent;
4467 background-image: linear-gradient(to right, #111 11%, #333 56%);
4470 .devtools-responsiveui-volume-up-button:hover:active,
4471 .devtools-responsiveui-volume-down-button:hover:active {
4472 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4475 .devtools-responsiveui-volume-up-button {
4476 border-top-left-radius: 12px;
4479 .devtools-responsiveui-volume-down-button {
4480 border-bottom-left-radius: 12px;
4483 @media (min-resolution: 2dppx) {
4484 .devtools-responsiveui-resizebarV {
4485 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4488 .devtools-responsiveui-resizebarH {
4489 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4492 .devtools-responsiveui-resizehandle {
4493 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4497 /* === END responsivedesign.inc.css === */
4499 /* === including indicator.css is done at the start of the file === */
4503 #developer-toolbar-toolbox-button[error-count]:before {
4507 background-color: #FF0000;
4509 -moz-margin-end: 5px;
4512 /* Social toolbar item */
4514 #social-notification-icon-mentions {
4515 background-color: #000000;
4517 -moz-margin-start: 2px;
4520 #social-notification-icon-mentions:hover {
4521 background-color: #FFCF00;
4524 #social-notification-icon-mentions[open="true"] {
4525 background-color: #FF9F00;
4528 #social-sidebar-splitter {
4532 #socialActivatedNotification .popup-notification-button-container {
4536 .social-activation-icon {
4543 #social-activation-message {
4547 #social-activation-message > label {
4551 /* social toolbar provider menu */
4552 .social-statusarea-popup {
4555 margin-right: -12px;
4558 .social-statusarea-user {
4559 border-bottom: 1px solid #9C9CFF;
4560 background-color: #000000;
4566 .social-statusarea-user-portrait {
4573 .social-statusarea-loggedInStatus {
4574 background: transparent;
4579 list-style-image: none;
4582 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4583 text-decoration: underline;
4586 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4590 .social-panel-frame {
4591 border-radius: inherit;
4594 /* === BEGIN chat.inc.css === */
4596 #social-sidebar-header {
4600 #manage-share-providers,
4601 #social-sidebar-button {
4602 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4603 -moz-image-region: rect(0, 468px, 18px, 450px);
4606 #social-sidebar-button {
4607 -moz-appearance: none;
4612 #manage-share-providers > .toolbarbutton-icon,
4613 #social-sidebar-button > .toolbarbutton-icon {
4617 #manage-share-providers:hover,
4618 #manage-share-providers:hover:active,
4619 #social-sidebar-button:hover,
4620 #social-sidebar-button:hover:active {
4621 -moz-image-region: rect(18px, 468px, 36px, 450px);
4623 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4627 #social-sidebar-button[loading="true"] {
4628 list-style-image: url("chrome://global/skin/icons/loading.gif");
4631 #social-sidebar-favico {
4644 .chat-toolbarbutton {
4645 -moz-appearance: none;
4652 .chat-toolbarbutton:hover {
4653 /* background-color: rgba(255,255,255,.35);*/
4656 .chat-toolbarbutton:hover:active {
4657 /* background-color: rgba(255,255,255,.5);*/
4660 .chat-toolbarbutton > .toolbarbutton-text {
4664 .chat-toolbarbutton > .toolbarbutton-icon {
4669 .chat-close-button {
4670 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
4673 .chat-close-button:-moz-any(:hover,:hover:active) {
4674 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
4677 .chat-minimize-button {
4678 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
4681 .chat-minimize-button:-moz-any(:hover,:hover:active) {
4682 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
4686 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4687 transform: rotate(180deg);
4690 .chat-swap-button:-moz-any(:hover,:hover:active) {
4691 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
4694 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4700 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4706 background-color: #9C9CFF;
4714 border-bottom: 1px solid #008484;
4718 .chat-titlebar > .notification-anchor-icon {
4723 .chat-titlebar[minimized="true"] {
4724 border-bottom: none;
4727 .chat-titlebar[selected] {
4728 background-color: #008484;
4731 .chat-titlebar[activity] {
4732 background-color: #E7ADE7;
4735 chatbox[dark=true] > .chat-titlebar,
4736 chatbox[dark=true] > .chat-titlebar[selected] {
4737 /* border-bottom: none;
4738 background-color: #000;
4739 background-image: none;*/
4742 chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4743 /* font-weight: normal;
4754 list-style-image: url("chrome://browser/skin/social/services-16.png");
4755 background-color: #000000;
4761 border-top: 1px solid #008484;
4762 -moz-border-end: 1px solid #008484;
4765 @media (min-resolution: 2dppx) {
4767 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4771 .chatbar-button > .toolbarbutton-icon {
4775 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4782 .chatbar-button > .toolbarbutton-icon {
4786 .chatbar-button:hover > .toolbarbutton-icon,
4787 .chatbar-button[open="true"] > .toolbarbutton-icon {
4791 .chatbar-button:hover,
4792 .chatbar-button[open="true"] {
4795 .chatbar-button > .toolbarbutton-text,
4796 .chatbar-button > .toolbarbutton-menu-dropmarker {
4800 .chatbar-button[activity]:not([open="true"]) {
4801 background-color: #E7ADE7;
4804 .chatbar-button > menupopup > menuitem[activity] {
4809 background: transparent;
4814 -moz-margin-end: 20px;
4820 -moz-margin-start: 4px;
4821 background-color: #000000;
4822 border: 1px solid #9C9CFF;
4823 border-bottom: none;
4824 border-top-left-radius: 2.5px;
4825 border-top-right-radius: 2.5px;
4828 chatbox[minimized="true"] {
4834 -moz-margin-start: 0px;
4840 /* === END chat.inc.css === */
4843 /* background-color: #c4cfde; */
4846 .chat-titlebar[selected] {
4847 /* background-color: #dae3f0; */
4851 -moz-appearance: none;
4852 /* background-color: #c4cfde; */
4855 .chatbar-button > .toolbarbutton-icon {
4856 /* -moz-margin-end: 0; */
4859 .chatbar-button:hover,
4860 .chatbar-button[open="true"] {
4861 /* background-color: #dae3f0; */
4864 .chatbar-button[activity]:not([open="true"]) {
4868 /* border-top-left-radius: 2.5px;
4869 border-top-right-radius: 2.5px; */
4872 /* === BEGIN plugin-doorhanger.inc.css === */
4875 * Plugin Doorhanger Styles
4878 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4879 padding: 6px 1px 2px;
4882 .click-to-play-plugins-notification-center-box {
4885 .plugin-popupnotification-centeritem:nth-child(odd) {
4886 /* background-color: rgba(0,0,0,0.1);*/
4889 .center-item-label {
4891 text-overflow: ellipsis;
4894 .center-item-warning-icon {
4895 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4896 background-repeat: no-repeat;
4899 -moz-margin-start: 6px;
4902 .click-to-play-plugins-notification-button-container {
4905 .click-to-play-popup-button {
4909 .click-to-play-plugins-notification-description-box {
4913 padding-bottom: 3px;
4916 .click-to-play-plugins-outer-description {
4920 .click-to-play-plugins-notification-link,
4925 .messageImage[value="plugin-hidden"] {
4926 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4929 /* Keep any changes to this style in sync with pluginProblem.css */
4930 notification.pluginVulnerable {
4933 notification.pluginVulnerable .messageImage {
4934 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4937 /* === END plugin-doorhanger.inc.css === */
4939 /* === BEGIN badcontent-doorhanger.inc.css === */
4941 .popup-notification-item-title[popupid="bad-content"] {
4945 .popup-notification-item-message[popupid="bad-content"] {
4949 .popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical),
4950 .popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) {
4954 .popup-notification-item-message-critical[popupid="bad-content"] {
4959 .popup-notification-footer[popupid="bad-content"] {
4963 /* === END badcontent-doorhanger.inc.css === */
4965 /* === BEGIN login-doorhanger.inc.css === */
4967 #notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent {
4968 /* Since we display a sliding subview that extends to the border, we cannot
4969 * keep the default padding of arrow panels. We use the same padding in the
4970 * individual content views instead. Since we removed the padding, we also
4971 * have to ensure the contents are clipped to the border box. */
4976 #login-fill-mainview,
4977 #login-fill-details {
4978 padding: var(--panel-arrowcontent-padding);
4981 #login-fill-doorhanger[inDetailView] > #login-fill-mainview {
4982 transform: translateX(-14px);
4985 #login-fill-mainview,
4986 #login-fill-details {
4987 transition: transform 150ms;
4990 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details {
4991 transform: translateX(105%);
4994 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details:-moz-locale-dir(rtl) {
4995 transform: translateX(-105%);
4998 #login-fill-doorhanger[inDetailView] > #login-fill-clickcapturer {
4999 background-color: hsla(240,39%,100%,.1);
5002 #login-fill-testing {
5008 border: 1px solid #9C9CFF;
5012 .login-fill-item[disabled] {
5014 background-color: #000000;
5017 .login-fill-item[disabled][selected] {
5018 background-color: #008484;
5026 .login-fill-item.different-hostname > .login-hostname {
5036 #login-fill-details {
5038 background: var(--panel-arrowcontent-background);
5039 color: var(--panel-arrowcontent-color);
5040 background-clip: padding-box;
5041 border-left: 1px solid #9C9CFF;
5042 -moz-margin-start: 38px;
5045 /* === END login-doorhanger.inc.css === */
5047 /* === BEGIN customizeMode.inc.css === */
5049 /* Customization mode */
5051 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
5055 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
5056 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
5057 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
5062 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
5063 pointer-events: none;
5066 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
5067 #PanelUI-contents > .panel-customization-placeholder {
5068 -moz-outline-radius: 2.5px;
5069 outline: 1px dashed transparent;
5072 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
5073 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
5074 -moz-box-ordinal-group: 0;
5079 outline-offset: -2px;
5080 pointer-events: none;
5086 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
5087 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
5088 offset from the bottom effectively the same as other targets (-2px). */
5089 #main-window[customize-entered] #TabsToolbar.customization-target::before {
5093 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
5094 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
5095 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
5096 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
5100 /* Most target outlines are shown on hover and drag over but the panel menu uses
5101 placeholders instead. */
5102 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
5103 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
5104 /* nav-bar and panel outlines are always shown */
5105 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5106 outline-color: #A09090;
5109 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
5110 transition: outline-color 250ms linear;
5113 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
5114 transition: outline-color 250ms linear;
5115 outline-color: #9C9CFF;
5118 #PanelUI-contents > .panel-customization-placeholder {
5120 outline-offset: -5px;
5123 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
5125 /* padding-left: 10px;
5126 padding-right: 10px;*/
5129 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
5133 #customization-container {
5134 background-color: #000000;
5138 #customization-palette,
5139 #customization-empty {
5140 padding: 0 15px 15px;
5143 #customization-header {
5145 line-height: 1.75em;
5148 margin: 25px 25px 12px;
5149 padding-bottom: 12px;
5150 border-bottom: 1px solid #A09090;
5153 #customization-panel-container {
5154 padding: 10px 10px 0px;
5157 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
5158 #customization-footer {
5159 /*background-color: rgb(236,236,236);*/
5162 #customization-footer {
5163 border-top: 1px solid #9C9CFF;
5167 .customizationmode-button {
5171 .customizationmode-button:hover {
5174 #customization-titlebar-visibility-button[checked],
5175 #customization-devedition-theme-button[checked] {
5176 background-color: #008484;
5179 #customization-titlebar-visibility-button[checked]:hover,
5180 #customization-devedition-theme-button[checked]:hover {
5181 background-color: #FFCF00;
5184 #customization-titlebar-visibility-button[checked]:hover:active,
5185 #customization-devedition-theme-button[checked]:hover:active {
5186 background-color: #FF9F00;
5189 .customizationmode-button[disabled="true"] {
5192 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
5193 .customizationmode-button > .button-box > .button-icon {
5197 #customization-titlebar-visibility-button {
5198 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
5199 -moz-image-region: rect(0, 16px, 16px, 0);
5202 #customization-titlebar-visibility-button:hover {
5203 -moz-image-region: rect(16px, 16px, 32px, 0);
5206 #customization-lwtheme-button,
5207 #customization-titlebar-visibility-button {
5211 #customization-titlebar-visibility-button > .button-box {
5213 padding-bottom: 1px;
5216 #customization-titlebar-visibility-button:hover:active > .button-box {
5221 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
5222 #customization-titlebar-visibility-button > .button-box > .button-text {
5223 /* Sadly, button.css thinks its margins are perfect for everyone. */
5224 -moz-margin-start: 5px !important;
5227 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
5231 background-size: contain;
5234 #customization-titlebar-visibility-button > .button-box > .button-icon {
5235 vertical-align: middle;
5238 #customization-titlebar-visibility-button[checked] {
5239 -moz-image-region: rect(0, 32px, 16px, 16px);
5240 background-color: #008484;
5243 #customization-titlebar-visibility-button[checked]:hover {
5244 -moz-image-region: rect(16px, 32px, 32px, 16px);
5245 background-color: #FFCF00;
5248 #customization-titlebar-visibility-button[checked]:hover:active {
5249 background-color: #FF9F00;
5252 @media (min-resolution: 1.1dppx) {
5253 #customization-titlebar-visibility-button {
5254 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
5255 -moz-image-region: rect(0, 48px, 48px, 0);
5258 #customization-titlebar-visibility-button:hover {
5259 -moz-image-region: rect(48px, 48px, 96px, 0);
5262 #customization-titlebar-visibility-button[checked] {
5263 -moz-image-region: rect(0, 96px, 48px, 48px);
5266 #customization-titlebar-visibility-button[checked]:hover {
5267 -moz-image-region: rect(48px, 96px, 96px, 48px);
5271 #main-window[customize-entered] #customization-panel-container {
5272 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5273 background-position: left top;
5274 background-repeat: repeat;
5275 background-size: auto;
5276 background-attachment: fixed;
5279 toolbarpaletteitem[place="toolbar"] {
5280 transition: border-width 250ms ease-in-out;
5283 toolbarpaletteitem[mousedown] {
5284 outline: 1px solid #008484;
5285 cursor: -moz-grabbing;
5289 .panel-customization-placeholder,
5290 toolbarpaletteitem[place="palette"],
5291 toolbarpaletteitem[place="panel"] {
5292 transition: transform .3s ease-in-out;
5295 #customization-palette {
5296 transition: opacity .3s ease-in-out;
5300 #customization-palette[showing="true"] {
5304 toolbarpaletteitem[notransition].panel-customization-placeholder,
5305 toolbarpaletteitem[notransition][place="toolbar"],
5306 toolbarpaletteitem[notransition][place="palette"],
5307 toolbarpaletteitem[notransition][place="panel"] {
5311 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
5312 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon,
5313 toolbarpaletteitem > toolbaritem.panel-wide-item,
5314 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5315 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
5318 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
5319 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon {
5320 transform: scale(1.3);
5323 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5324 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
5325 transform: scale(1.1);
5328 /* Override the toolkit styling for items being dragged over. */
5329 toolbarpaletteitem[place="toolbar"] {
5330 border-left-width: 0;
5331 border-right-width: 0;
5336 #customization-palette:not([hidden]) {
5337 margin-bottom: 25px;
5340 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5341 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
5342 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5343 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5347 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5348 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
5358 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5359 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5363 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5364 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5367 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5368 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
5372 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5373 -moz-box-pack: center;
5377 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
5378 -moz-margin-end: 5px;
5381 #customization-palette > toolbarpaletteitem > label {
5387 #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5388 -moz-box-orient: vertical;
5389 /* Make the panel padding uniform across all platforms due to the
5390 styling of the section headers and footer. */
5394 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5399 .customization-lwtheme-menu-theme {
5400 -moz-appearance: none;
5403 -moz-padding-end: 5px;
5405 -moz-padding-start: 0;
5408 .customization-lwtheme-menu-theme[defaulttheme] {
5409 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5412 .customization-lwtheme-menu-theme[active="true"] {
5413 background-color: #008484;
5416 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5420 .customization-lwtheme-menu-theme > .toolbarbutton-text {
5424 #customization-lwtheme-menu-header,
5425 #customization-lwtheme-menu-recommended {
5430 #customization-lwtheme-menu-header,
5431 #customization-lwtheme-menu-recommended,
5432 #customization-lwtheme-menu-footer {
5433 background-color: #A09090;
5435 margin-right: -10px;
5439 #customization-lwtheme-menu-header {
5441 border-top-right-radius: 3px;
5442 border-top-left-radius: 3px;
5445 #customization-lwtheme-menu-recommended {
5448 #customization-lwtheme-menu-footer {
5449 margin-bottom: -10px;
5450 border-bottom-right-radius: 3px;
5451 border-bottom-left-radius: 3px;
5454 .customization-lwtheme-menu-footeritem {
5455 -moz-appearance: none;
5457 background-color: #C09070;
5459 border: 1px solid transparent;
5465 .customization-lwtheme-menu-footeritem:hover {
5466 background-color: #FFCF00;
5469 .customization-lwtheme-menu-footeritem:first-child {
5472 /* === END customizeMode.inc.css === */
5474 /* === BEGIN customizeTip.inc.css === */
5476 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5483 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5484 border: 1px solid #9C9CFF;
5488 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5489 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5492 .customization-tipPanel-infoBox {
5493 margin: 20px 25px 25px;
5495 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5496 background-repeat: no-repeat;
5499 .customization-tipPanel-content {
5505 .customization-tipPanel-em {
5510 .customization-tipPanel-contentImage {
5512 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5520 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5521 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5524 .customization-tipPanel-link {
5525 -moz-appearance: none;
5526 background: transparent;
5534 .customization-tipPanel-link > .button-box > .button-text {
5535 margin: 0 !important;
5538 .customization-tipPanel-closeBox > .close-icon {
5539 -moz-appearance: none;
5541 -moz-margin-end: -25px;
5544 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5545 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5546 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5549 /* === END customizeTip.inc.css === */
5552 * This next rule is a hack to disable subpixel anti-aliasing on all
5553 * labels during the customize mode transition. Subpixel anti-aliasing
5554 * on Windows with Direct2D layers acceleration is particularly slow to
5555 * paint, so this hack is how we sidestep that performance bottleneck.
5557 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
5558 transform: perspective(0.01px);
5561 #main-window[customize-entered] > #tab-view-deck {
5562 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5563 background-attachment: fixed;
5566 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5567 background-repeat: no-repeat;
5568 background-position: right top;
5569 background-attachment: fixed;
5570 /* The image will get set from CustomizeMode.jsm */
5571 background-image: none;
5572 background-color: transparent;
5575 #main-window[customization-lwtheme]:-moz-lwtheme {
5576 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5577 background-repeat: repeat;
5578 background-attachment: fixed;
5579 background-position: left top;
5582 #main-window[customize-entered] #browser-bottombox,
5583 #main-window[customize-entered] #customization-container {
5584 border-left: 1px solid #9C9CFF;
5585 border-right: 1px solid #9C9CFF;
5586 background-clip: padding-box;
5589 #main-window[customize-entered] #browser-bottombox {
5590 border-bottom: 1px solid #9C9CFF;
5593 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5597 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5601 /* End customization mode */
5603 /* Private browsing indicators */
5606 * Currently, we have two places where we put private browsing indicators on
5607 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5608 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5609 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5610 * want the bottom border of the image to line up with the bottom of the window
5611 * caption buttons. That's why there's so much special-casing going on in here.
5613 .private-browsing-indicator {
5615 pointer-events: none;
5618 #private-browsing-indicator-titlebar {
5623 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5627 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5631 #TabsToolbar > .private-browsing-indicator {
5632 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5633 -moz-margin-start: 4px;
5637 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5638 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5639 * min/max/close window buttons.
5641 #private-browsing-indicator-titlebar > .private-browsing-indicator,
5642 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5643 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5644 -moz-margin-end: 4px;
5650 /* This one is for Linux */
5651 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5652 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5656 /* End private browsing indicators */
5658 /* === BEGIN UITour.inc.css === */
5662 #UITourHighlightContainer {
5663 -moz-appearance: none;
5665 background-color: transparent;
5666 /* This is a buffer to compensate for the movement in the "wobble" effect */
5671 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5672 border-radius: 40px;
5673 border: 1px solid #9C9CFF;
5674 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5675 on Linux without an X compositor where opacity is either 0 or 1. */
5676 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5681 #UITourTooltipBody {
5682 -moz-margin-end: 14px;
5685 #UITourTooltipBody > vbox {
5689 #UITourTooltipIconContainer {
5690 -moz-margin-start: -16px;
5693 #UITourTooltipIcon {
5696 -moz-margin-start: 28px;
5697 -moz-margin-end: 28px;
5700 #UITourTooltipTitle,
5701 #UITourTooltipDescription {
5705 #UITourTooltipTitle {
5708 -moz-margin-start: 0;
5713 #UITourTooltipDescription {
5714 -moz-margin-start: 0;
5717 line-height: 1.8rem;
5718 margin-bottom: 0; /* Override global.css */
5721 #UITourTooltipClose {
5722 -moz-appearance: none;
5724 background-color: transparent;
5726 -moz-margin-start: 4px;
5730 #UITourTooltipClose > .toolbarbutton-text {
5734 #UITourTooltipButtons {
5736 background-color: rgba(0,0,0,.2);
5737 border-top: 1px solid rgba(0,0,0,.4);
5738 margin: 24px -16px -16px;
5742 #UITourTooltipButtons > label,
5743 #UITourTooltipButtons > button {
5747 #UITourTooltipButtons > label:first-child,
5748 #UITourTooltipButtons > button:first-child {
5749 -moz-margin-start: 0;
5752 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5755 -moz-margin-end: 5px;
5758 #UITourTooltipButtons > label,
5759 #UITourTooltipButtons > button .button-text {
5763 #UITourTooltipButtons > button:not(.button-link) {
5764 -moz-appearance: none;
5765 background-color: #C09070;
5766 border-radius: 3000px;
5770 transition-property: background-color, color;
5771 transition-duration: 150ms;
5774 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5775 background-color: #FFCF00;
5779 #UITourTooltipButtons > label,
5780 #UITourTooltipButtons > button.button-link {
5781 -moz-appearance: none;
5782 background: transparent;
5785 color: rgba(0,0,0,0.35);
5787 padding-right: 10px;
5790 #UITourTooltipButtons > button.button-link:hover {
5794 /* The primary button gets the same color as the customize button. */
5795 #UITourTooltipButtons > button.button-primary {
5796 background-color: #A06060; /* LCARS default button background color */
5799 padding-right: 30px;
5802 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5803 background-color: #FFCF00;
5807 /* Notification overrides for Heartbeat UI */
5809 notification.heartbeat {
5810 background-color: #A09090;
5814 @keyframes pulse-onshow {
5817 transform: scale(1.0);
5821 transform: scale(1.1);
5824 transform: scale(1.0);
5827 transform: scale(1.1);
5830 transform: scale(1.0);
5834 @keyframes pulse-twice {
5836 transform: scale(1.1);
5839 transform: scale(0.8);
5842 transform: scale(1);
5846 .messageText.heartbeat {
5848 /* text-shadow: none; */
5849 -moz-margin-start: 0px;
5852 .messageImage.heartbeat {
5855 -moz-margin-start: 8px;
5856 -moz-margin-end: 8px;
5859 .messageImage.heartbeat.pulse-onshow {
5860 animation-name: pulse-onshow;
5861 animation-duration: 1.5s;
5862 animation-iteration-count: 1;
5863 animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5866 .messageImage.heartbeat.pulse-twice {
5867 animation-name: pulse-twice;
5868 animation-duration: 1s;
5869 animation-iteration-count: 2;
5870 animation-timing-function: linear;
5873 /* Learn More link styles */
5874 .heartbeat > .text-link {
5876 -moz-margin-start: 0px;
5879 .heartbeat > .text-link:hover {
5881 text-decoration: none;
5884 .heartbeat > .text-link:hover:active {
5888 /* Heartbeat UI Rating Star Classes */
5889 .heartbeat > #star-rating-container {
5891 /* margin-bottom: 4px;*/
5894 .heartbeat > #star-rating-container > #star5 {
5895 -moz-box-ordinal-group: 5;
5898 .heartbeat > #star-rating-container > #star4 {
5899 -moz-box-ordinal-group: 4;
5902 .heartbeat > #star-rating-container > #star3 {
5903 -moz-box-ordinal-group: 3;
5906 .heartbeat > #star-rating-container > #star2 {
5907 -moz-box-ordinal-group: 2;
5910 .heartbeat > #star-rating-container > .star-x {
5911 background: url("chrome://browser/skin/heartbeat-star-off.svg");
5913 /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
5914 -moz-margin-end: 4px !important;
5919 .heartbeat > #star-rating-container > .star-x:hover,
5920 .heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
5921 background: url("chrome://browser/skin/heartbeat-star-lit.svg");
5924 /* === END UITour.inc.css === */
5926 #UITourTooltipButtons {
5928 * Override the --panel-arrowcontent-padding so the background extends
5929 * to the sides and bottom of the panel.
5932 margin-right: -10px;
5933 margin-bottom: -10px;
5936 /* === BEGIN contextmenu.inc.css === */
5938 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5941 #context-navigation > .menuitem-iconic {
5943 -moz-box-pack: center;
5944 -moz-box-align: center;
5947 #context-navigation > .menuitem-iconic[disabled="true"] {
5948 background-color: transparent;
5951 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5952 -moz-appearance: none;
5955 #context-back > .menu-iconic-left {
5956 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5957 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5958 -moz-image-region: rect(0, 54px, 18px, 36px);
5961 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5962 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5963 -moz-image-region: rect(18px, 54px, 36px, 36px);
5966 #context-back[disabled="true"] > .menu-iconic-left {
5967 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5968 -moz-image-region: rect(36px, 54px, 54px, 36px);
5971 #context-forward > .menu-iconic-left {
5972 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5973 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5974 -moz-image-region: rect(0, 72px, 18px, 54px);
5977 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5978 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5979 -moz-image-region: rect(18px, 72px, 36px, 54px);
5982 #context-forward[disabled="true"] > .menu-iconic-left {
5983 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5984 -moz-image-region: rect(36px, 72px, 54px, 54px);
5987 #context-reload > .menu-iconic-left {
5988 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5989 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5990 -moz-image-region: rect(0, 14px, 14px, 0);
5993 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5994 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5995 -moz-image-region: rect(14px, 14px, 28px, 0);
5998 #context-reload[disabled="true"] > .menu-iconic-left {
5999 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
6000 -moz-image-region: rect(28px, 14px, 42px, 0);
6003 #context-stop > .menu-iconic-left {
6004 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
6005 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
6006 -moz-image-region: rect(0, 28px, 14px, 14px);
6009 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
6010 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
6011 -moz-image-region: rect(14px, 28px, 28px, 14px);
6014 #context-stop[disabled="true"] > .menu-iconic-left {
6015 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
6016 -moz-image-region: rect(28px, 28px, 42px, 14px);
6019 #context-bookmarkpage > .menu-iconic-left {
6020 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
6021 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
6022 -moz-image-region: rect(0, 144px, 18px, 126px);
6025 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
6026 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
6027 -moz-image-region: rect(18px, 144px, 36px, 126px);
6030 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
6031 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
6032 -moz-image-region: rect(36px, 144px, 54px, 126px);
6035 #context-bookmarkpage[starred=true] {
6036 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); */
6037 -moz-image-region: rect(0px, 162px, 18px, 144px);
6040 #context-bookmarkpage[starred=true][_moz-menuactive=true] {
6041 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-active"); */
6042 -moz-image-region: rect(18px, 162px, 36px, 144px);
6045 #context-bookmarkpage[starred=true][disabled=true] {
6046 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-disabled"); */
6047 -moz-image-region: rect(36px, 162px, 54px, 144px);
6050 #context-back:-moz-locale-dir(rtl),
6051 #context-forward:-moz-locale-dir(rtl),
6052 #context-reload:-moz-locale-dir(rtl) {
6053 transform: scaleX(-1);
6056 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
6057 width: 18px; /*16px;*/
6058 height: 18px; /*16px;*/
6062 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
6063 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
6069 #context-media-eme-learnmore {
6070 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6073 #context-media-eme-learnmore {
6074 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
6077 /* === END contextmenu.inc.css === */
6079 #context-navigation {
6082 #context-sep-navigation {
6083 /* margin-top: -4px; */