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;
44 -moz-box-orient: vertical; /* for flex hack */
48 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
51 /* ::::: primary toolbar ::::: */
53 .toolbar-primary > .toolbar-box > .toolbar-holder {
54 background-color: #A09090;
57 .toolbar-primary > .toolbar-box > .toolbar-startcap,
58 .toolbar-primary > .toolbar-box > .toolbar-endcap {
59 background-color: #9C9CFF;
62 /* Hides the titlebar-placeholder underneath the window caption buttons when we
63 are not autohiding the menubar. */
64 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
68 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
69 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
70 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
71 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
72 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
76 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
77 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
78 /* margin-top: 15px;*/
81 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
82 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
83 #toolbar-menubar:not([autohide="true"]) {
84 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
88 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
89 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
90 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
95 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
96 /* 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 */
100 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
101 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
102 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
103 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
104 outline-color: #A09090;
110 #navigator-toolbox::after {
113 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
117 #navigator-toolbox > toolbar {
120 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
123 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
124 overflow: -moz-hidden-unscrollable;
126 transition: min-height 170ms ease-out, max-height 170ms ease-out;
129 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
132 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
135 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
136 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
137 /* Indent also due to non-applicable aero rule in original Windows theme. */
138 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
139 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
141 background-color: #6000CF;
145 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
146 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
147 background-color: #8050B0;
151 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
155 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
159 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
160 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
165 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
166 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
167 #titlebar-buttonbox > .titlebar-button {
173 /* Position the toolbar above the bottom of background tabs */
178 #personal-bookmarks {
179 /* min-height: 24px; */
182 #PersonalToolbar > #home-button {
183 -moz-box-orient: horizontal;
186 #PersonalToolbar > #home-button > .toolbarbutton-text {
190 #print-preview-toolbar:not(:-moz-lwtheme) {
191 /* -moz-appearance: toolbox; */
194 #browser-bottombox:not(:-moz-lwtheme) {
197 /* ::::: titlebar ::::: */
201 background-color: #6000CF;
204 #titlebar:-moz-window-inactive {
205 background-color: #8050B0;
209 #main-window[sizemode="normal"] > #titlebar {
214 #main-window[sizemode="maximized"] > #titlebar {
218 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
219 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
220 #main-window[sizemode="normal"] > #titlebar,
221 #main-window[sizemode="maximized"] > #titlebar {
223 /* There is a margin-bottom set to -23 by code. */
227 /* The button box must appear on top of the navigator-toolbox in order for
228 * click and hover mouse events to work properly for the button in the restored
229 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
230 * can swallow those events. It will also place the buttons above the fog on
231 * themes with Aero Glass.
234 #main-window[sizemode="maximized"] #titlebar-buttonbox {
235 -moz-appearance: none;
238 -moz-margin-end: 3px;
242 .titlebar-placeholder[type="appmenu-button"] {
246 .titlebar-placeholder[type="caption-buttons"] {
250 /* titlebar command buttons */
253 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
256 #titlebar-min:hover {
257 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
261 list-style-image: url("chrome://browser/skin/win-maximize.gif");
264 #titlebar-max:hover {
265 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
268 #main-window[sizemode="maximized"] #titlebar-max {
269 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
272 #main-window[sizemode="maximized"] #titlebar-max:hover {
273 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
277 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
280 #titlebar-close:hover {
281 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
284 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
285 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
286 #titlebar-fullscreen-button {
287 -moz-appearance: none;
288 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
289 -moz-image-region: rect(0px, 16px, 16px, 0px);
292 #titlebar-fullscreen-button:hover {
293 -moz-image-region: rect(0px, 32px, 16px, 16px);
296 @media (min-resolution: 2dppx) {
297 #titlebar-fullscreen-button {
298 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
299 -moz-image-region: rect(0px, 32px, 32px, 0px);
302 #titlebar-fullscreen-button:hover {
303 -moz-image-region: rect(0px, 64px, 32px, 32px);
309 /* ::::: bookmark buttons ::::: */
311 toolbarbutton.bookmark-item:not(.subviewbutton),
312 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
317 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
318 toolbarbutton.bookmark-item[open="true"] {
321 -moz-padding-start: 4px;
322 -moz-padding-end: 2px;*/
325 .bookmark-item > .toolbarbutton-icon,
326 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
329 -moz-margin-start: 1px;
330 -moz-margin-end: 2px;
335 /* Force the display of the label for bookmarks */
336 .bookmark-item > .toolbarbutton-text,
337 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
338 display: -moz-box !important;
341 .bookmark-item > .toolbarbutton-menu-dropmarker {
345 #bookmarks-toolbar-placeholder {
346 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
347 -moz-box-orient: horizontal;
350 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
351 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
352 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
355 /* ----- BOOKMARK STAR ANIMATION ----- */
357 @keyframes animation-bookmarkAdded {
358 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
359 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
361 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
364 @keyframes animation-bookmarkPulse {
365 from { transform: scale(1); }
366 50% { transform: scale(1.3); }
367 to { transform: scale(1); }
370 #bookmarked-notification-container {
379 #bookmarked-notification {
380 background-size: 16px;
381 background-position: center;
382 background-repeat: no-repeat;
388 #bookmarked-notification-dropmarker-anchor {
393 #bookmarked-notification-dropmarker-icon {
399 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
400 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
401 animation: animation-bookmarkAdded 800ms;
402 animation-timing-function: ease, ease, ease;
405 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
406 list-style-image: none !important;
409 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
411 animation: animation-bookmarkPulse 300ms;
412 animation-delay: 600ms;
413 animation-timing-function: ease-out;
416 /* ::::: bookmark menus ::::: */
419 menuitem.bookmark-item {
424 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
429 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
430 -moz-padding-start: 0px;
433 /* ::::: bookmark items ::::: */
436 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
437 -moz-image-region: auto;
440 .bookmark-item[container] {
441 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
442 -moz-image-region: auto;
445 .bookmark-item[container][open] {
446 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
447 -moz-image-region: auto;
450 .bookmark-item[container][livemark] {
451 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
452 -moz-image-region: auto;
455 .bookmark-item[container][livemark] .bookmark-item {
456 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
457 -moz-image-region: rect(0px, 16px, 16px, 0px);
460 .bookmark-item[container][livemark] .bookmark-item[visited] {
461 -moz-image-region: rect(0px, 32px, 16px, 16px);
464 .bookmark-item[container][query] {
465 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
466 -moz-image-region: auto;
469 .bookmark-item[query][tagContainer] {
470 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
471 -moz-image-region: auto;
474 .bookmark-item[query][dayContainer] {
475 list-style-image: url("chrome://communicator/skin/history/calendar.png");
476 -moz-image-region: auto;
479 .bookmark-item[query][hostContainer] {
480 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
481 -moz-image-region: auto;
484 .bookmark-item[query][hostContainer][open] {
485 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
486 -moz-image-region: auto;
489 .bookmark-item[cutting] > .toolbarbutton-icon,
490 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
494 .bookmark-item[cutting] > .toolbarbutton-text,
495 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
499 /* ::::: primary toolbar buttons ::::: */
501 /* === BEGIN toolbarbuttons.inc.css === */
503 /* Whole section of this included file: */
504 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
505 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
506 #social-share-button, #open-file-button, #find-button, #developer-button,
507 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
508 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
509 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
510 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
512 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
513 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
517 -moz-image-region: rect(0, 36px, 18px, 18px);
520 #back-button:hover:not([disabled="true"]) {
521 -moz-image-region: rect(18px, 36px, 36px, 18px);
524 #back-button[disabled="true"] {
525 -moz-image-region: rect(36px, 36px, 54px, 18px);
529 -moz-image-region: rect(0, 72px, 18px, 54px);
532 #forward-button:hover:not([disabled="true"]) {
533 -moz-image-region: rect(18px, 72px, 36px, 54px);
536 #forward-button[disabled="true"] {
537 -moz-image-region: rect(36px, 72px, 54px, 54px);
540 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
541 #forward-button:-moz-locale-dir(rtl) {
542 transform: scaleX(-1);
545 #home-button[cui-areatype="toolbar"] {
546 -moz-image-region: rect(0, 126px, 18px, 108px);
549 #home-button[cui-areatype="toolbar"]:hover {
550 -moz-image-region: rect(18px, 126px, 36px, 108px);
553 #bookmarks-menu-button[cui-areatype="toolbar"] {
554 -moz-image-region: rect(0, 144px, 18px, 126px);
557 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
558 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
559 -moz-image-region: rect(18px, 144px, 36px, 126px);
562 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
563 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
564 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
565 background-color: transparent !important;
568 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
569 -moz-image-region: rect(0, 162px, 18px, 144px);
572 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
573 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
574 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
575 /* When starred and clicked (for edit/delete dialog),
576 * then only the menubutton-button itself is open, but not the whole menubutton. */
577 -moz-image-region: rect(18px, 162px, 36px, 144px);
580 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
581 -moz-image-region: rect(0, 630px, 18px, 612px);
584 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
586 -moz-box-align: center;
589 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
590 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
591 -moz-image-region: rect(18px, 630px, 36px, 612px);
594 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
595 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
598 -moz-padding-start: 2px;
599 -moz-padding-end: 0px;
602 #history-panelmenu[cui-areatype="toolbar"] {
603 -moz-image-region: rect(0, 180px, 18px, 162px);
606 #history-panelmenu[cui-areatype="toolbar"]:hover,
607 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
608 -moz-image-region: rect(18px, 180px, 36px, 162px);
611 #downloads-button[cui-areatype="toolbar"] {
612 -moz-image-region: rect(0, 198px, 18px, 180px);
615 #downloads-button[cui-areatype="toolbar"]:hover,
616 #downloads-button[cui-areatype="toolbar"][open="true"] {
617 -moz-image-region: rect(18px, 198px, 36px, 180px);
620 #add-ons-button[cui-areatype="toolbar"] {
621 -moz-image-region: rect(0, 216px, 18px, 198px);
624 #add-ons-button[cui-areatype="toolbar"]:hover {
625 -moz-image-region: rect(18px, 216px, 36px, 198px);
628 #open-file-button[cui-areatype="toolbar"] {
629 -moz-image-region: rect(0, 234px, 18px, 216px);
632 #open-file-button[cui-areatype="toolbar"]:hover {
633 -moz-image-region: rect(18px, 234px, 36px, 216px);
636 #save-page-button[cui-areatype="toolbar"] {
637 -moz-image-region: rect(0, 252px, 18px, 234px);
640 #save-page-button[cui-areatype="toolbar"]:hover {
641 -moz-image-region: rect(18px, 252px, 36px, 234px);
644 #sync-button[cui-areatype="toolbar"] {
645 -moz-image-region: rect(0, 270px, 18px, 252px);
648 #sync-button[cui-areatype="toolbar"]:hover {
649 -moz-image-region: rect(18px, 270px, 36px, 252px);
652 #sync-button[cui-areatype="toolbar"][status="active"],
653 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
654 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
655 -moz-image-region: rect(0, 18px, 18px, 0px);
659 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
660 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
661 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
665 #feed-button[cui-areatype="toolbar"] {
666 -moz-image-region: rect(0, 288px, 18px, 270px);
669 #feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
670 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
671 -moz-image-region: rect(18px, 288px, 36px, 270px);
674 #feed-button[cui-areatype="toolbar"][disabled="true"] {
675 -moz-image-region: rect(36px, 288px, 54px, 270px);
678 #social-share-button[cui-areatype="toolbar"] {
679 -moz-image-region: rect(0px, 306px, 18px, 288px);
682 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
683 #social-share-button[cui-areatype="toolbar"][open="true"] {
684 -moz-image-region: rect(18px, 306px, 36px, 288px);
687 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
688 -moz-image-region: rect(36px, 306px, 54px, 288px);
691 #characterencoding-button[cui-areatype="toolbar"] {
692 -moz-image-region: rect(0, 324px, 18px, 306px);
695 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
696 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
697 -moz-image-region: rect(18px, 324px, 36px, 306px);
700 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
701 -moz-image-region: rect(36px, 324px, 54px, 306px);
704 #new-window-button[cui-areatype="toolbar"] {
705 -moz-image-region: rect(0, 342px, 18px, 324px);
708 #new-window-button[cui-areatype="toolbar"]:hover {
709 -moz-image-region: rect(18px, 342px, 36px, 324px);
712 #e10s-button[cui-areatype="toolbar"] {
713 -moz-image-region: rect(0, 342px, 18px, 324px);
716 #e10s-button[cui-areatype="toolbar"]:hover {
717 -moz-image-region: rect(18px, 342px, 36px, 324px);
720 #e10s-button > .toolbarbutton-icon {
721 transform: scaleY(-1);
724 #new-tab-button[cui-areatype="toolbar"] {
725 -moz-image-region: rect(0, 360px, 18px, 342px);
728 #new-tab-button[cui-areatype="toolbar"]:hover {
729 -moz-image-region: rect(18px, 360px, 36px, 342px);
732 #privatebrowsing-button[cui-areatype="toolbar"] {
733 -moz-image-region: rect(0, 378px, 18px, 360px);
736 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
737 -moz-image-region: rect(18px, 378px, 36px, 360px);
740 #find-button[cui-areatype="toolbar"] {
741 -moz-image-region: rect(0, 396px, 18px, 378px);
744 #find-button[cui-areatype="toolbar"]:hover {
745 -moz-image-region: rect(18px, 396px, 36px, 378px);
748 #print-button[cui-areatype="toolbar"] {
749 -moz-image-region: rect(0, 414px, 18px, 396px);
752 #print-button[cui-areatype="toolbar"]:hover {
753 -moz-image-region: rect(18px, 414px, 36px, 396px);
756 #fullscreen-button[cui-areatype="toolbar"] {
757 -moz-image-region: rect(0, 432px, 18px, 414px);
760 #fullscreen-button[cui-areatype="toolbar"]:hover {
761 -moz-image-region: rect(18px, 432px, 36px, 414px);
764 #developer-button[cui-areatype="toolbar"] {
765 -moz-image-region: rect(0, 450px, 18px, 432px);
768 #developer-button[cui-areatype="toolbar"]:hover,
769 #developer-button[cui-areatype="toolbar"][open="true"] {
770 -moz-image-region: rect(18px, 450px, 36px, 432px);
773 #preferences-button[cui-areatype="toolbar"] {
774 -moz-image-region: rect(0, 468px, 18px, 450px);
777 #preferences-button[cui-areatype="toolbar"]:hover {
778 -moz-image-region: rect(18px, 468px, 36px, 450px);
781 #PanelUI-menu-button {
782 -moz-image-region: rect(0, 486px, 18px, 468px);
785 #PanelUI-menu-button:hover,
786 #PanelUI-menu-button[open="true"] {
787 -moz-image-region: rect(18px, 486px, 36px, 468px);
790 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
791 -moz-image-region: rect(0, 504px, 18px, 486px);
794 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
795 -moz-image-region: rect(18px, 504px, 36px, 486px);
798 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
799 -moz-image-region: rect(36px, 504px, 54px, 486px);
802 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
803 -moz-image-region: rect(0, 522px, 18px, 504px);
806 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
807 -moz-image-region: rect(18px, 522px, 36px, 504px);
810 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
811 -moz-image-region: rect(36px, 522px, 54px, 504px);
814 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
815 -moz-image-region: rect(0, 540px, 18px, 522px);
818 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
819 -moz-image-region: rect(18px, 540px, 36px, 522px);
822 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
823 -moz-image-region: rect(36px, 540px, 54px, 522px);
826 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
827 -moz-image-region: rect(0, 558px, 18px, 540px);
830 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
831 -moz-image-region: rect(18px, 558px, 36px, 540px);
834 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
835 -moz-image-region: rect(36px, 558px, 54px, 540px);
838 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
839 -moz-image-region: rect(0, 576px, 18px, 558px);
842 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
843 -moz-image-region: rect(18px, 576px, 36px, 558px);
846 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
847 -moz-image-region: rect(36px, 576px, 54px, 558px);
850 #nav-bar-overflow-button {
851 -moz-image-region: rect(0, 612px, 18px, 594px);
854 #nav-bar-overflow-button:hover,
855 #nav-bar-overflow-button[open="true"] {
856 -moz-image-region: rect(18px, 612px, 36px, 594px);
859 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
860 transform: scaleX(-1);
864 -moz-image-region: rect(0, 648px, 18px, 630px);
867 #tabview-button:hover {
868 -moz-image-region: rect(18px, 648px, 36px, 630px);
871 #email-link-button[cui-areatype="toolbar"] {
872 -moz-image-region: rect(0, 666px, 18px, 648px);
875 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
876 -moz-image-region: rect(18px, 666px, 36px, 648px);
879 #email-button[cui-areatype="toolbar"][disabled="true"] {
880 -moz-image-region: rect(36px, 666px, 54px, 648px);
883 #sidebar-button[cui-areatype="toolbar"] {
884 -moz-image-region: rect(0, 684px, 18px, 666px);
887 #sidebar-button[cui-areatype="toolbar"]:hover {
888 -moz-image-region: rect(18px, 684px, 36px, 666px);
891 #panic-button[cui-areatype="toolbar"] {
892 -moz-image-region: rect(0, 702px, 18px, 684px);
895 #panic-button[cui-areatype="toolbar"]:hover,
896 #panic-button[cui-areatype="toolbar"][open] {
897 -moz-image-region: rect(18px, 702px, 36px, 684px);
900 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
901 transform: scaleX(-1);
904 #web-apps-button[cui-areatype="toolbar"] {
905 -moz-image-region: rect(0, 720px, 18px, 702px);
908 #web-apps-button[cui-areatype="toolbar"]:hover {
909 -moz-image-region: rect(18px, 720px, 36px, 702px);
913 #loop-button > .toolbarbutton-badge-container {
914 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
915 -moz-image-region: rect(0, 18px, 18px, 0);
918 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
919 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
920 -moz-image-region: rect(0, 90px, 18px, 72px);
923 #loop-button[state="disabled"],
924 #loop-button[disabled="true"],
925 #loop-button[state="disabled"] > .toolbarbutton-badge-container,
926 #loop-button[disabled="true"] > .toolbarbutton-badge-container {
927 -moz-image-region: rect(0, 36px, 18px, 18px);
930 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
931 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
932 -moz-image-region: rect(0, 126px, 18px, 108px);
935 #loop-button:not([disabled="true"])[state="error"],
936 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
937 -moz-image-region: rect(0, 54px, 18px, 36px);
940 #loop-button:not([disabled="true"])[state="action"],
941 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
942 -moz-image-region: rect(0, 72px, 18px, 54px);
945 #loop-button:not([disabled="true"])[state="active"],
946 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
947 -moz-image-region: rect(0, 108px, 18px, 90px);
950 #webide-button[cui-areatype="toolbar"] {
951 -moz-image-region: rect(0, 738px, 18px, 720px);
954 #webide-button[cui-areatype="toolbar"]:hover {
955 -moz-image-region: rect(18px, 738px, 36px, 720px);
958 #pocket-button[cui-areatype="toolbar"] {
959 -moz-image-region: rect(0, 774px, 18px, 756px);
962 #pocket-button[cui-areatype="toolbar"]:hover,
963 #pocket-button[cui-areatype="toolbar"][open] {
964 -moz-image-region: rect(18px, 774px, 36px, 756px);
967 /* === END toolbarbuttons.inc.css === */
969 /* === BEGIN menupanel.inc.css === */
971 /* Menu panel and palette styles */
974 /* avoid aero overrides with changed filenames */
975 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
976 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
979 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
980 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
981 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
982 #social-share-button, #open-file-button, #find-button, #developer-button,
983 #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button,
984 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
985 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
986 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
987 #pocket-button)[cui-areatype="menu-panel"],
988 toolbarpaletteitem[place="palette"] > :-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,
996 list-style-image: var(--menupanel-list-style-image);
999 #home-button[cui-areatype="menu-panel"],
1000 toolbarpaletteitem[place="palette"] > #home-button {
1001 -moz-image-region: rect(0px, 128px, 32px, 96px);
1004 #home-button[cui-areatype="menu-panel"]:hover,
1005 toolbarpaletteitem[place="palette"] > #home-button:hover {
1006 -moz-image-region: rect(32px, 128px, 64px, 96px);
1009 #bookmarks-menu-button[cui-areatype="menu-panel"],
1010 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
1011 -moz-image-region: rect(0px, 192px, 32px, 160px);
1014 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
1015 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
1016 -moz-image-region: rect(32px, 192px, 64px, 160px);
1019 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1020 -moz-image-region: rect(32px, 192px, 64px, 160px);
1023 #history-panelmenu[cui-areatype="menu-panel"],
1024 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1025 -moz-image-region: rect(0px, 224px, 32px, 192px);
1028 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1029 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1030 -moz-image-region: rect(32px, 224px, 64px, 192px);
1033 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1034 -moz-image-region: rect(32px, 224px, 64px, 192px);
1037 #downloads-button[cui-areatype="menu-panel"],
1038 toolbarpaletteitem[place="palette"] > #downloads-button {
1039 -moz-image-region: rect(0px, 256px, 32px, 224px);
1042 #downloads-button[cui-areatype="menu-panel"]:hover,
1043 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1044 -moz-image-region: rect(32px, 256px, 64px, 224px);
1047 #add-ons-button[cui-areatype="menu-panel"],
1048 toolbarpaletteitem[place="palette"] > #add-ons-button {
1049 -moz-image-region: rect(0px, 288px, 32px, 256px);
1052 #add-ons-button[cui-areatype="menu-panel"]:hover,
1053 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1054 -moz-image-region: rect(32px, 288px, 64px, 256px);
1057 #open-file-button[cui-areatype="menu-panel"],
1058 toolbarpaletteitem[place="palette"] > #open-file-button {
1059 -moz-image-region: rect(0px, 320px, 32px, 288px);
1062 #open-file-button[cui-areatype="menu-panel"]:hover,
1063 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1064 -moz-image-region: rect(32px, 320px, 64px, 288px);
1067 #save-page-button[cui-areatype="menu-panel"],
1068 toolbarpaletteitem[place="palette"] > #save-page-button {
1069 -moz-image-region: rect(0px, 352px, 32px, 320px);
1072 #save-page-button[cui-areatype="menu-panel"]:hover,
1073 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1074 -moz-image-region: rect(32px, 352px, 64px, 320px);
1077 #sync-button[cui-areatype="menu-panel"],
1078 toolbarpaletteitem[place="palette"] > #sync-button {
1079 -moz-image-region: rect(0px, 384px, 32px, 352px);
1082 #sync-button[cui-areatype="menu-panel"]:hover,
1083 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1084 -moz-image-region: rect(32px, 384px, 64px, 352px);
1087 #sync-button[cui-areatype="menu-panel"][status="active"] {
1088 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1089 -moz-image-region: rect(0px, 32px, 32px, 0px);
1092 #feed-button[cui-areatype="menu-panel"],
1093 toolbarpaletteitem[place="palette"] > #feed-button {
1094 -moz-image-region: rect(0px, 416px, 32px, 384px);
1097 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1098 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1099 -moz-image-region: rect(32px, 416px, 64px, 384px);
1102 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1103 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1104 -moz-image-region: rect(64px, 416px, 96px, 384px);
1107 #social-share-button[cui-areatype="menu-panel"],
1108 toolbarpaletteitem[place="palette"] > #social-share-button {
1109 -moz-image-region: rect(0px, 448px, 32px, 416px);
1112 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1113 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1114 -moz-image-region: rect(32px, 448px, 64px, 416px);
1117 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1118 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1119 -moz-image-region: rect(64px, 448px, 96px, 416px);
1122 #characterencoding-button[cui-areatype="menu-panel"],
1123 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1124 -moz-image-region: rect(0px, 480px, 32px, 448px);
1127 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1128 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1129 -moz-image-region: rect(32px, 480px, 64px, 448px);
1132 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1133 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1134 -moz-image-region: rect(64px, 480px, 96px, 448px);
1137 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1138 -moz-image-region: rect(32px, 480px, 64px, 448px);
1141 #new-window-button[cui-areatype="menu-panel"],
1142 toolbarpaletteitem[place="palette"] > #new-window-button {
1143 -moz-image-region: rect(0px, 512px, 32px, 480px);
1146 #new-window-button[cui-areatype="menu-panel"]:hover,
1147 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1148 -moz-image-region: rect(32px, 512px, 64px, 480px);
1151 #e10s-button[cui-areatype="menu-panel"],
1152 toolbarpaletteitem[place="palette"] > #e10s-button {
1153 -moz-image-region: rect(0px, 512px, 32px, 480px);
1156 #e10s-button[cui-areatype="menu-panel"]:hover,
1157 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1158 -moz-image-region: rect(32px, 512px, 64px, 480px);
1161 #new-tab-button[cui-areatype="menu-panel"],
1162 toolbarpaletteitem[place="palette"] > #new-tab-button {
1163 -moz-image-region: rect(0px, 544px, 32px, 512px);
1166 #new-tab-button[cui-areatype="menu-panel"]:hover,
1167 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1168 -moz-image-region: rect(32px, 544px, 64px, 512px);
1171 #privatebrowsing-button[cui-areatype="menu-panel"],
1172 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1173 -moz-image-region: rect(0px, 576px, 32px, 544px);
1176 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1177 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1178 -moz-image-region: rect(32px, 576px, 64px, 544px);
1181 #tabview-button[cui-areatype="menu-panel"],
1182 toolbarpaletteitem[place="palette"] > #tabview-button {
1183 -moz-image-region: rect(0px, 608px, 32px, 576px);
1186 #tabview-button[cui-areatype="menu-panel"]:hover,
1187 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1188 -moz-image-region: rect(32px, 608px, 64px, 576px);
1191 #find-button[cui-areatype="menu-panel"],
1192 toolbarpaletteitem[place="palette"] > #find-button {
1193 -moz-image-region: rect(0px, 640px, 32px, 608px);
1196 #find-button[cui-areatype="menu-panel"]:hover,
1197 toolbarpaletteitem[place="palette"] > #find-button:hover {
1198 -moz-image-region: rect(32px, 640px, 64px, 608px);
1201 #print-button[cui-areatype="menu-panel"],
1202 toolbarpaletteitem[place="palette"] > #print-button {
1203 -moz-image-region: rect(0px, 672px, 32px, 640px);
1206 #print-button[cui-areatype="menu-panel"]:hover,
1207 toolbarpaletteitem[place="palette"] > #print-button:hover {
1208 -moz-image-region: rect(32px, 672px, 64px, 640px);
1211 #fullscreen-button[cui-areatype="menu-panel"],
1212 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1213 -moz-image-region: rect(0px, 704px, 32px, 672px);
1216 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1217 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1218 -moz-image-region: rect(32px, 704px, 64px, 672px);
1221 #developer-button[cui-areatype="menu-panel"],
1222 toolbarpaletteitem[place="palette"] > #developer-button {
1223 -moz-image-region: rect(0px, 736px, 32px, 704px);
1226 #developer-button[cui-areatype="menu-panel"]:hover,
1227 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1228 -moz-image-region: rect(32px, 736px, 64px, 704px);
1231 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1232 -moz-image-region: rect(32px, 736px, 64px, 704px);
1235 #preferences-button[cui-areatype="menu-panel"],
1236 toolbarpaletteitem[place="palette"] > #preferences-button {
1237 -moz-image-region: rect(0px, 768px, 32px, 736px);
1240 #preferences-button[cui-areatype="menu-panel"]:hover,
1241 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1242 -moz-image-region: rect(32px, 768px, 64px, 736px);
1245 #email-link-button[cui-areatype="menu-panel"],
1246 toolbarpaletteitem[place="palette"] > #email-link-button {
1247 -moz-image-region: rect(0, 800px, 32px, 768px);
1250 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1251 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1252 -moz-image-region: rect(32px, 800px, 64px, 768px);
1255 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1256 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1257 -moz-image-region: rect(64px, 800px, 96px, 768px);
1260 #sidebar-button[cui-areatype="menu-panel"],
1261 toolbarpaletteitem[place="palette"] > #sidebar-button {
1262 -moz-image-region: rect(0, 864px, 32px, 832px);
1265 #sidebar-button[cui-areatype="menu-panel"]:hover,
1266 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1267 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1268 -moz-image-region: rect(32px, 864px, 64px, 832px);
1271 #panic-button[cui-areatype="menu-panel"],
1272 toolbarpaletteitem[place="palette"] > #panic-button {
1273 -moz-image-region: rect(0, 896px, 32px, 864px);
1276 #panic-button[cui-areatype="menu-panel"]:hover,
1277 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1278 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1279 -moz-image-region: rect(32px, 896px, 64px, 864px);
1282 #web-apps-button[cui-areatype="menu-panel"],
1283 toolbarpaletteitem[place="palette"] > #web-apps-button {
1284 -moz-image-region: rect(0, 928px, 32px, 896px);
1287 #web-apps-button[cui-areatype="menu-panel"]:hover,
1288 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1289 -moz-image-region: rect(32px, 928px, 64px, 896px);
1292 #webide-button[cui-areatype="menu-panel"],
1293 toolbarpaletteitem[place="palette"] > #webide-button {
1294 -moz-image-region: rect(0px, 960px, 32px, 928px);
1297 #webide-button[cui-areatype="menu-panel"]:hover,
1298 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1299 -moz-image-region: rect(32px, 960px, 64px, 928px);
1302 #pocket-button[cui-areatype="menu-panel"],
1303 toolbarpaletteitem[place="palette"] > #pocket-button {
1304 -moz-image-region: rect(0px, 992px, 32px, 960px);
1307 #pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1308 -moz-image-region: rect(32px, 992px, 64px, 960px);
1311 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1312 -moz-image-region: rect(0, 832px, 32px, 800px);
1315 #loop-button[cui-areatype="menu-panel"],
1316 toolbarpaletteitem[place="palette"] > #loop-button,
1317 #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1318 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1319 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1320 -moz-image-region: rect(0, 32px, 32px, 0);
1323 /* Make sure that the state icons are not shown in the customization palette. */
1324 toolbarpaletteitem[place="palette"] > #loop-button,
1325 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1326 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1329 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
1330 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1331 -moz-image-region: rect(0, 160px, 32px, 128px);
1334 #loop-button[cui-areatype="menu-panel"][state="disabled"],
1335 #loop-button[cui-areatype="menu-panel"][disabled="true"],
1336 #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1337 #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1338 -moz-image-region: rect(0, 64px, 32px, 32px);
1341 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]),
1342 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1343 -moz-image-region: rect(0, 224px, 32px, 192px);
1346 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"],
1347 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1348 -moz-image-region: rect(0, 96px, 32px, 64px);
1351 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"],
1352 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1353 -moz-image-region: rect(0, 128px, 32px, 96px);
1356 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"],
1357 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1358 -moz-image-region: rect(0, 192px, 32px, 160px);
1361 /* Wide panel control icons */
1363 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1364 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1365 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1366 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1367 list-style-image: var(--menupanel-small-list-style-image);
1370 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1371 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1372 -moz-image-region: rect(0px, 32px, 16px, 16px);
1375 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1376 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1377 -moz-image-region: rect(16px, 32px, 32px, 16px);
1380 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1381 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1382 -moz-image-region: rect(32px, 32px, 48px, 16px);
1385 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1386 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1387 -moz-image-region: rect(0px, 48px, 16px, 32px);
1390 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1391 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1392 -moz-image-region: rect(16px, 48px, 32px, 32px);
1395 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1396 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1397 -moz-image-region: rect(32px, 48px, 48px, 32px);
1400 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1401 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1402 -moz-image-region: rect(0px, 64px, 16px, 48px);
1405 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1406 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1407 -moz-image-region: rect(16px, 64px, 32px, 48px);
1410 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1411 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1412 -moz-image-region: rect(32px, 64px, 48px, 48px);
1415 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1416 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1417 -moz-image-region: rect(0px, 80px, 16px, 64px);
1420 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1421 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1422 -moz-image-region: rect(16px, 80px, 32px, 64px);
1425 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1426 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1427 -moz-image-region: rect(32px, 80px, 48px, 64px);
1430 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1431 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1432 -moz-image-region: rect(0px, 96px, 16px, 80px);
1435 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1436 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1437 -moz-image-region: rect(16px, 96px, 32px, 80px);
1440 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1441 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1442 -moz-image-region: rect(32px, 96px, 48px, 80px);
1445 #add-share-provider {
1446 list-style-image: var(--menupanel-small-list-style-image);
1447 -moz-image-region: rect(0px, 96px, 16px, 80px);
1450 /* === END menupanel.inc.css === */
1452 .toolbarbutton-1:not([type="menu-button"]) {
1453 -moz-box-orient: vertical;
1457 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1463 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1464 .toolbarbutton-1[disabled="true"]:hover:active,
1465 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1469 .toolbarbutton-1:hover:active,
1470 .toolbarbutton-1[open="true"],
1471 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1473 padding-bottom: 0px;
1474 -moz-padding-start: 3px;
1475 -moz-padding-end: 1px;
1478 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1479 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1480 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1481 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1482 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1485 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1486 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1489 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1490 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1493 .toolbarbutton-1 > .toolbarbutton-icon,
1494 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1498 #nav-bar .toolbarbutton-1,
1499 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1502 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1503 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1504 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1507 #nav-bar #PanelUI-menu-button {
1508 /* -moz-padding-start: 7px;
1509 -moz-padding-end: 5px;*/
1512 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1513 /* padding-left: 5px;
1514 padding-right: 5px;*/
1517 #nav-bar .toolbarbutton-1 > menupopup {
1518 /* margin-top: -3px;*/
1521 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1525 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1526 /* -moz-padding-end: 0;*/
1529 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1530 /* -moz-padding-start: 0;
1531 -moz-box-align: center;*/
1534 .findbar-button > .toolbarbutton-text,
1535 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1536 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1537 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1538 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1539 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1540 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1541 /* padding: 2px 6px;
1543 border-color: transparent;
1544 transition-property: background-color, border-color;
1545 transition-duration: 150ms;*/
1548 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1549 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1550 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1555 /* Help SDK icons fit: */
1556 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
1557 toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
1561 #nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1562 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1566 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1567 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1568 /* -moz-padding-end: 17px;*/
1571 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1574 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1577 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1580 #nav-bar .toolbaritem-combined-buttons {
1581 /* margin-left: 2px;
1582 margin-right: 2px;*/
1585 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1590 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1591 #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 {
1597 -moz-margin-end: -1px;
1601 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1604 .findbar-button:not(:-moz-any([checked="true"],[disabled="true"])):hover > .toolbarbutton-text,
1605 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1606 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1607 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1608 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1609 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1610 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1611 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1612 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1615 .findbar-button:not([disabled=true]):-moz-any([checked="true"],:hover:active) > .toolbarbutton-text,
1616 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1617 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1618 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1619 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1620 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1623 #TabsToolbar .toolbarbutton-1,
1624 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1625 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1626 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1629 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1630 #TabsToolbar .toolbarbutton-1[open],
1631 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1632 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1633 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1636 /* unified back/forward button */
1639 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1642 #forward-button > menupopup {
1643 margin-top: 1px !important;
1646 #forward-button > .toolbarbutton-icon {
1647 background-clip: padding-box !important;
1648 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1649 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1653 -moz-margin-start: -4px !important;
1658 border-radius: 0 10000px 10000px 0;
1661 #forward-button:-moz-locale-dir(rtl) {
1662 border-radius: 10000px 0 0 10000px;
1665 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1666 transition: margin-left 150ms ease-out;
1669 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1670 margin-left: -27px !important;
1673 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1674 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1675 transition-delay: 100s;
1678 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1679 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1680 margin-left: -27.01px !important;
1684 /* padding-top: 3px !important;
1685 padding-bottom: 3px !important;
1686 -moz-padding-start: 5px !important;
1687 -moz-padding-end: 0 !important;*/
1690 border-radius: 10000px;
1694 margin-bottom: -2px;
1697 #back-button:-moz-locale-dir(rtl) {
1700 #back-button > menupopup {
1701 margin-top: -1px !important;
1704 #back-button > .toolbarbutton-icon {
1705 border-radius: 10000px !important;
1706 background-clip: padding-box !important;
1707 /* background-color: hsla(210,25%,98%,.08) !important;
1708 padding: 6px !important;
1709 border-style: none !important;
1710 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1711 0 0 0 1px hsla(210,4%,10%,.25);*/
1712 transition-property: background-color, box-shadow !important;
1713 transition-duration: 250ms !important;
1716 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1717 /* background-color: hsla(210,4%,10%,.08) !important;*/
1720 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1721 #back-button[open="true"] > .toolbarbutton-icon {
1722 /* background-color: hsla(210,4%,10%,.12) !important;
1723 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1724 0 0 0 1px hsla(210,4%,10%,.25),
1725 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1728 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1729 transform: scaleX(-1);
1732 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1733 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1734 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1737 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1738 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1739 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1742 #home-button.bookmark-item {
1743 list-style-image: url("chrome://browser/skin/Toolbar.png");
1746 #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),
1747 #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),
1748 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1749 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1750 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1751 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1752 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1755 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1758 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1759 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1760 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1764 #downloads-button > .toolbarbutton-icon {
1768 /* tabview menu item */
1771 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1772 -moz-image-region: rect(1px, 89px, 17px, 73px);
1775 #menu_tabview[groups="0"] {
1776 -moz-image-region: rect(1px, 17px, 17px, 1px);
1779 #menu_tabview[groups="1"] {
1780 -moz-image-region: rect(1px, 35px, 17px, 19px);
1783 #menu_tabview[groups="2"] {
1784 -moz-image-region: rect(1px, 53px, 17px, 37px);
1787 #menu_tabview[groups="3"] {
1788 -moz-image-region: rect(1px, 71px, 17px, 55px);
1791 /* undo close tab menu item */
1792 #alltabs_undoCloseTab {
1793 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1796 @media (min-resolution: 1.1dppx) {
1797 #alltabs_undoCloseTab {
1798 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1800 #alltabs_undoCloseTab > .toolbarbutton-icon {
1805 /* zoom control text (reset) button special case: */
1807 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1808 /* To make this line up with the icons, it needs the same height (18px) +
1809 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1810 * increase in text sizes would break things...
1815 /* ::::: fullscreen window controls ::::: */
1818 -moz-margin-start: 4px;
1824 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1829 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1832 #minimize-button:hover {
1833 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1837 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1840 #restore-button:hover {
1841 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1845 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1848 #close-button:hover {
1849 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1852 /* ::::: Location Bar ::::: */
1855 .searchbar-textbox {
1858 -moz-margin-start: 3px;
1862 /* make color as light as possible to deal with dark non-domain parts */
1866 #urlbar:-moz-lwtheme,
1867 .searchbar-textbox:-moz-lwtheme {
1868 /* background-color: rgba(255,255,255,.8);
1869 @navbarTextboxCustomBorder@
1873 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1874 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1875 /* background-color: rgba(255,255,255,.9);*/
1878 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1879 .searchbar-textbox:-moz-lwtheme[focused] {
1880 /* background-color: white;*/
1883 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1884 /* -moz-border-start: none;
1888 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1889 /* border-top-left-radius: 0;
1890 border-bottom-left-radius: 0; */
1893 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1894 /* border-top-right-radius: 0;
1895 border-bottom-right-radius: 0; */
1898 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1899 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1900 /* -moz-margin-start: -5px; */
1903 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1904 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1905 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1906 transform: scaleX(-1);
1909 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1910 -moz-box-direction: reverse;
1913 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1914 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1919 -moz-box-orient: horizontal;
1920 -moz-box-align: stretch;
1923 .urlbar-textbox-container {
1924 -moz-box-align: stretch;
1928 -moz-margin-start: 0;
1932 -moz-box-align: center;
1939 .searchbar-engine-button,
1940 .search-go-container {
1944 .search-go-container > .search-go-button {
1948 .urlbar-icon:hover {
1951 .urlbar-icon[open="true"],
1952 .urlbar-icon:hover:active {
1955 #urlbar-search-splitter {
1957 -moz-margin-start: -3px;
1959 background: transparent;
1962 #urlbar-search-splitter + #urlbar-container > #urlbar,
1963 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1964 -moz-margin-start: 0;
1967 #urlbar-display-box {
1971 -moz-border-end: 1px solid #9C9CFF;
1972 -moz-margin-end: 3px;
1975 -moz-margin-start: 0;
1980 min-width: calc(54px + 11ch);
1990 #identity-box:-moz-locale-dir(ltr) {
1991 /* border-top-left-radius: 1.5px;
1992 border-bottom-left-radius: 1.5px;*/
1995 #identity-box:-moz-locale-dir(rtl) {
1996 /* border-top-right-radius: 1.5px;
1997 border-bottom-right-radius: 1.5px;*/
2000 #notification-popup-box:not([hidden]) + #identity-box {
2001 -moz-padding-start: 10px !important;
2005 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
2006 /* border-radius: 0; */
2007 -moz-padding-start: 2px;
2008 -moz-padding-end: 2px;
2009 -moz-margin-end: 1px;
2012 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
2013 transition: padding-left, padding-right;
2016 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2017 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2021 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
2022 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2026 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
2027 #notification-popup-box[hidden] + #identity-box {
2028 /* forward button hiding is delayed when hovered */
2029 transition-delay: 100s;
2032 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2033 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2034 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2035 padding-left: 2.01px;
2038 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2039 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2040 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2041 padding-right: 2.01px;
2044 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2045 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2046 -moz-margin-end: 3px;
2049 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
2050 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
2051 border-top-right-radius: 0;
2052 border-bottom-right-radius: 0;
2055 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
2056 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
2057 border-top-left-radius: 0;
2058 border-bottom-left-radius: 0;
2061 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2062 var(--verified-identity-box-backgroundcolor);
2065 #identity-box:-moz-focusring {
2066 outline: 1px dotted #008484;
2067 outline-offset: -1px;
2070 #identity-box.verifiedDomain:-moz-focusring,
2071 #identity-box.verifiedIdentity:-moz-focusring {
2072 outline-color: #000000;
2075 #identity-icon-labels {
2076 -moz-margin-start: 1px;
2077 -moz-margin-end: 3px;
2080 /* Location bar dropmarker */
2082 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2083 background-color: transparent;
2086 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2087 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
2092 .urlbar-history-dropmarker:hover {
2095 .urlbar-history-dropmarker:hover:active,
2096 .urlbar-history-dropmarker[open="true"] {
2099 /* page proxy icon */
2101 /* === BEGIN identity-block.inc.css === */
2104 --identity-box-verified-color: #008484;
2105 /* Default theme does different color per channel, we can't as they do it build-time. */
2106 --identity-box-chrome-color: #9C9CFF;
2109 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2110 color: var(--identity-box-chrome-color);
2111 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2114 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2115 color: var(--identity-box-verified-color);
2116 -moz-border-end: 1px solid var(--identity-box-verified-color);
2119 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2120 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2121 background-position: right;
2122 background-size: 1px;
2123 background-repeat: no-repeat;
2126 /* page proxy icon */
2128 #page-proxy-favicon {
2131 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2135 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2136 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2139 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2140 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2143 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2144 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2147 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2148 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2151 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2152 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2155 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2156 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2159 #page-proxy-favicon[pageproxystate="invalid"] {
2163 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2164 list-style-image: url("chrome://branding/content/icon64.png");
2167 #identity-popup-brandName {
2171 margin-bottom: .5em;
2174 #identity-popup-content-box {
2178 #urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon {
2179 -moz-image-region: inherit;
2180 list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
2186 /* === END identity-block.inc.css === */
2188 #page-proxy-favicon {
2189 -moz-image-region: rect(0, 16px, 16px, 0);
2192 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2193 /* -moz-margin-end: 1px;*/
2196 #identity-box:hover > #page-proxy-favicon {
2197 -moz-image-region: rect(0, 32px, 16px, 16px);
2200 #identity-box:hover:active > #page-proxy-favicon,
2201 #identity-box[open=true] > #page-proxy-favicon {
2202 -moz-image-region: rect(0, 48px, 16px, 32px);
2205 #identity-box:hover {
2206 background-color: #FFCF00;
2210 #identity-box:hover:active,
2211 #identity-box[open=true] {
2212 background-color: #FF9F00;
2216 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2217 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2218 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2219 background-color: #9C9CFF;
2223 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2224 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2225 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2226 background-color: #008484;
2232 #treecolAutoCompleteImage {
2236 .ac-result-type-bookmark,
2237 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2238 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2239 -moz-image-region: rect(0px 16px 16px 0px);
2244 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2245 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2246 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2249 .ac-result-type-keyword,
2250 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2251 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2252 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2257 .ac-result-type-keyword[selected="true"],
2258 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2259 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2260 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2263 .ac-result-type-tag,
2264 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2265 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2274 .ac-extra > .ac-comment {
2284 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2285 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2286 -moz-image-region: rect(0, 16px, 16px, 0);
2290 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2291 -moz-image-region: rect(16px, 16px, 32px, 0);
2294 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2298 .ac-comment[selected="true"],
2299 .ac-url-text[selected="true"],
2300 .ac-action-text[selected="true"] {
2301 color: inherit !important;
2304 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2305 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2311 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2312 border-top: 1px solid #9C9CFF;
2315 /* combined go/reload/stop button in location bar */
2317 #urlbar > toolbarbutton {
2318 -moz-margin-start: 0;
2320 background-origin: border-box;
2322 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2323 -moz-border-start: 1px solid #9C9CFF;
2326 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2327 border-top-left-radius: 0px;
2328 border-bottom-left-radius: 0px;
2331 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2332 border-top-right-radius: 0px;
2333 border-bottom-right-radius: 0px;
2336 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2337 #urlbar-reload-button:not(:hover) {
2338 -moz-border-start-style: none;
2339 -moz-padding-start: 3px;
2342 #urlbar-reload-button {
2343 -moz-image-region: rect(0px, 14px, 14px, 0px);
2346 #urlbar-reload-button[disabled=true] {
2347 -moz-image-region: rect(28px, 14px, 42px, 0px);
2350 #urlbar-reload-button:not([disabled=true]):hover {
2351 -moz-image-region: rect(14px, 14px, 28px, 0px);
2354 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2355 transform: scaleX(-1);
2359 -moz-image-region: rect(0, 42px, 14px, 28px);
2362 #urlbar-go-button:hover {
2363 -moz-image-region: rect(14px, 42px, 28px, 28px);
2366 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2367 transform: scaleX(-1);
2370 #urlbar-stop-button {
2371 -moz-image-region: rect(0px, 28px, 14px, 14px);
2374 #urlbar-stop-button:hover {
2375 -moz-image-region: rect(14px, 28px, 28px, 14px);
2378 @media (min-resolution: 1.1dppx) {
2379 #urlbar > toolbarbutton {
2380 list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
2384 -moz-image-region: rect(0, 84px, 28px, 56px);
2387 #urlbar-go-button:hover {
2388 -moz-image-region: rect(28px, 84px, 56px, 56px);
2391 #urlbar-go-button:hover:active {
2392 -moz-image-region: rect(56px, 84px, 84px, 56px);
2395 #urlbar-reload-button {
2396 -moz-image-region: rect(0, 28px, 28px, 0);
2399 #urlbar-reload-button:not([disabled]):hover {
2400 -moz-image-region: rect(28px, 28px, 56px, 0);
2403 #urlbar-reload-button:not([disabled]):hover:active {
2404 -moz-image-region: rect(56px, 28px, 84px, 0);
2407 #urlbar-stop-button {
2408 -moz-image-region: rect(0, 56px, 28px, 28px);
2411 #urlbar-stop-button:not([disabled]):hover {
2412 -moz-image-region: rect(28px, 56px, 56px, 28px);
2415 #urlbar-stop-button:hover:active {
2416 -moz-image-region: rect(56px, 56px, 84px, 28px);
2419 #urlbar > toolbarbutton > .toolbarbutton-icon {
2424 /* popup blocker button */
2426 #page-report-button {
2427 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2428 -moz-image-region: rect(0, 16px, 16px, 0);
2431 #page-report-button:hover ,
2432 #page-report-button:hover:active,
2433 #page-report-button[open="true"] {
2434 -moz-image-region: rect(0, 32px, 16px, 16px);
2437 /* === BEGIN readinglist.inc.css === */
2439 /* Reading List button */
2441 #urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
2446 #readinglist-addremove-button {
2447 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
2448 -moz-image-region: rect(0, 14px, 14px, 0);
2449 transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
2454 #readinglist-addremove-button:hover {
2455 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
2458 #readinglist-addremove-button:active {
2459 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
2462 #readinglist-addremove-button[already-added="true"] {
2463 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
2466 #readinglist-addremove-button[already-added="true"]:hover {
2467 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
2470 #readinglist-addremove-button[already-added="true"]:active {
2471 list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
2474 /* === END readinglist.inc.css === */
2476 /* Reader mode button */
2478 #reader-mode-button {
2479 list-style-image: url("chrome://browser/skin/readerMode.svg");
2480 -moz-image-region: rect(0, 16px, 16px, 0);
2483 #reader-mode-button:hover,
2484 #reader-mode-button[readeractive]:hover {
2485 -moz-image-region: rect(0, 32px, 16px, 16px);
2488 #reader-mode-button:hover:active,
2489 #reader-mode-button[readeractive] {
2490 -moz-image-region: rect(0, 48px, 16px, 32px);
2493 /* social share panel */
2495 .social-share-frame {
2502 background-color: white;
2503 background-repeat: no-repeat;
2504 background-position: center center;
2506 #share-container[loading] {
2507 background-image: url(chrome://browser/skin/tabbrowser/pendingpaint.png);
2509 #share-container > browser {
2510 transition: opacity 150ms ease-in-out;
2513 #share-container[loading] > browser {
2517 .social-share-toolbar {
2518 border-bottom: 1px solid #9C9CFF;
2522 #social-share-provider-buttons {
2527 .share-provider-button {
2532 .share-provider-button > .toolbarbutton-text {
2535 .share-provider-button > .toolbarbutton-icon {
2541 /* fixup corners for share panel */
2542 .social-panel > .social-panel-frame {
2543 border-radius: inherit;
2546 #social-share-panel {
2552 .social-share-frame {
2553 border-top-left-radius: 0;
2554 border-bottom-left-radius: inherit;
2555 border-top-right-radius: 0;
2556 border-bottom-right-radius: inherit;
2559 #social-share-panel > .social-share-toolbar {
2560 border-top-left-radius: inherit;
2561 border-top-right-radius: inherit;
2564 #social-share-provider-buttons {
2565 border-top-left-radius: inherit;
2566 border-top-right-radius: inherit;
2569 /* social recommending panel */
2571 #social-mark-button {
2572 -moz-image-region: rect(0, 16px, 16px, 0);
2575 /* bookmarks menu-button */
2577 #bookmarks-menu-button.bookmark-item {
2578 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2579 -moz-image-region: rect(0px 16px 16px 0px);
2582 #bookmarks-menu-button.bookmark-item[starred] {
2583 -moz-image-region: rect(0px 32px 16px 16px);
2586 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2587 -moz-margin-start: 5px;
2590 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2592 padding-bottom: 2px;
2595 #BMB_bookmarksPopup[side="top"],
2596 #BMB_bookmarksPopup[side="bottom"] {
2598 margin-right: -20px;
2601 #BMB_bookmarksPopup[side="left"],
2602 #BMB_bookmarksPopup[side="right"] {
2604 margin-bottom: -20px;
2607 /* bookmarking panel */
2609 #editBookmarkPanelStarIcon {
2610 list-style-image: url("chrome://browser/skin/places/starred48.png");
2615 #editBookmarkPanelStarIcon[unstarred] {
2616 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2619 #editBookmarkPanelTitle {
2623 #editBookmarkPanelHeader,
2624 #editBookmarkPanelContent {
2625 margin-bottom: .5em;
2628 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2629 #editBMPanel_folderTree {
2636 border-top: 1px solid #9C9CFF;
2637 border-bottom-left-radius: 5px;
2638 border-bottom-right-radius: 5px;
2642 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2643 -moz-margin-end: 10px;
2644 vertical-align: middle;
2647 .panel-promo-closebutton {
2648 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2649 -moz-margin-end: -3px;
2653 .panel-promo-closebutton:hover {
2654 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2657 .panel-promo-closebutton:hover:active {
2658 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2661 .panel-promo-closebutton > .toolbarbutton-text {
2665 /* ::::: content area ::::: */
2668 background-color: #9C9CFF;
2673 background-color: #000000;
2677 -moz-margin-start: 0;
2686 -moz-padding-start: 0px;
2689 #sidebar-header > .close-icon {
2690 /* padding: 4px 2px;
2693 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2696 #sidebar-header > .close-icon:hover,
2697 #sidebar-header > .close-icon:hover:active {
2698 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2701 #sidebar-splitter:-moz-locale-dir(ltr),
2702 #sidebar:-moz-locale-dir(ltr) {
2703 border-radius: 0 5px 0 0;
2706 #sidebar-splitter:-moz-locale-dir(rtl),
2707 #sidebar:-moz-locale-dir(rtl) {
2708 border-radius: 5px 0 0 0;
2711 .browserContainer > findbar {
2713 background-color: -moz-dialog;
2714 color: -moz-DialogText;
2723 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2726 #TabsToolbar .toolbar-holder {
2727 background-color: #000000; /* correct effect of being an actual toolbar */
2730 #main-window[disablechrome] #TabsToolbar,
2731 #TabsToolbar[tabsontop="false"] {
2732 border-bottom: 1px solid #008484;
2735 /* === BEGIN tabs.inc.css === */
2738 /* --tab-toolbar-navbar-overlap: 1px; */
2739 /* --tab-min-height: 31px; */
2740 /* --tab-curve-width: 30px; */
2741 /* --tab-curve-half-width: 15px; */
2745 .tabs-newtab-button,
2746 #TabsToolbar > #new-tab-button {
2751 padding: 1px 4px 2px;
2754 .tabbrowser-tab:first-of-type {
2755 -moz-margin-start: 2px;
2758 .tabs-newtab-button,
2759 #TabsToolbar > #new-tab-button {
2760 border-radius: 8px 8px 0px 0px;
2761 -moz-margin-start: 0;
2764 .tabs-newtab-button:not(:hover),
2765 #TabsToolbar > #new-tab-button:not(:hover) {
2766 background-color: #C09070;
2769 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2770 .tabbrowser-tab[visuallyselected=true] {
2771 /* position: relative;
2775 .tab-background-middle {
2781 .tab-content[pinned] {
2793 -moz-margin-end: 3px;
2797 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2803 /* margin-top: 10px; */
2804 -moz-margin-start: -16px;
2808 .tab-icon-overlay[crashed] {
2810 list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
2813 .tab-throbber[busy] {
2814 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2817 .tab-throbber[progress] {
2818 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2821 .tab-throbber[pinned],
2822 .tab-icon-image[pinned] {
2823 -moz-margin-start: 2px;
2824 -moz-margin-end: 2px;
2828 /* this needs to add up to the 16px of the icon image */
2830 margin-top: 2px !important;
2831 margin-bottom: 2px !important;
2840 .tabs-newtab-button {
2841 /* overlap the tab curves */
2844 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2848 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2849 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2852 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2853 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2856 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2859 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2862 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2863 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2866 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2867 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2870 .tab-background-start[visuallyselected=true]::after,
2871 .tab-background-start[visuallyselected=true]::before,
2872 .tab-background-start,
2873 .tab-background-end,
2874 .tab-background-end[visuallyselected=true]::after,
2875 .tab-background-end[visuallyselected=true]::before {
2878 .tabbrowser-tab:not([visuallyselected=true]),
2879 .tabbrowser-tab:-moz-lwtheme {
2882 /* tabbrowser-tab focus ring */
2883 .tabbrowser-tab:focus {
2884 outline: 1px dotted;
2889 .tabbrowser-tab[visuallyselected="true"] {
2892 /* End selected tab */
2894 /* Tab pointer-events */
2897 pointer-events: none;
2900 .tab-background-middle,
2901 .tabs-newtab-button,
2903 pointer-events: auto;
2908 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2909 background-color: #E7ADE7;
2912 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2913 background-color: #3333FF;
2917 /* New tab button */
2919 .tabs-newtab-button {
2921 /* width: calc(36px + var(--tab-curve-width)); */
2924 /* === END tabs.inc.css === */
2928 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2929 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2930 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2932 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
2933 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2936 /* Tab DnD indicator */
2937 .tab-drop-indicator {
2938 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2939 margin-bottom: -11px;
2942 /* Tab close button */
2944 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2947 .tab-close-button:hover,
2948 .tab-close-button:hover[selected="true"] {
2949 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2952 .tab-close-button:hover:active,
2953 .tab-close-button:hover:active[selected="true"] {
2954 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2957 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2959 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2960 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2964 background-origin: border-box;
2967 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2968 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2969 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2970 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2973 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2974 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2977 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2978 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2979 /* transform: scaleX(-1);*/
2982 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2983 transition: 1s background-color ease-out;
2986 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2987 background-color: #008484;
2990 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2991 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2992 /* border-width: 0 2px 0 0;
2993 border-style: solid;
2994 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2997 .tabs-newtab-button > .toolbarbutton-icon {
2999 margin-bottom: -1px;
3002 .tabs-newtab-button,
3003 #TabsToolbar > #new-tab-button,
3004 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
3005 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
3006 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
3007 -moz-image-region: rect(0, 16px, 18px, 0);
3010 .tabs-newtab-button,
3011 .tabs-newtab-button:hover,
3012 #TabsToolbar > #new-tab-button,
3013 #TabsToolbar > #new-tab-button:hover {
3014 -moz-image-region: rect(0, 32px, 18px, 16px);
3017 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3018 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3019 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3020 .tabs-newtab-button:-moz-lwtheme-brighttext,
3021 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
3022 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
3025 #TabsToolbar > #new-tab-button {
3030 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
3033 #alltabs-button:hover,
3034 #alltabs-button:hover:active,
3035 #alltabs-button[open="true"] {
3036 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
3039 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
3040 #alltabs-button:-moz-lwtheme-brighttext {
3043 #alltabs-button > .toolbarbutton-icon {
3047 #alltabs-button > .toolbarbutton-menu-dropmarker {
3051 /* All tabs menupopup */
3052 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
3053 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
3054 -moz-image-region: auto;
3057 .alltabs-item[selected="true"] {
3061 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
3062 list-style-image: url("chrome://global/skin/icons/loading.gif");
3065 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
3066 background-color: #402800;
3069 toolbarbutton.chevron {
3070 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
3073 toolbarbutton.chevron:hover {
3074 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
3077 toolbar[brighttext] toolbarbutton.chevron {
3078 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
3081 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
3082 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
3083 transform: scaleX(-1);
3086 toolbarbutton.chevron > .toolbarbutton-text,
3087 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
3091 toolbarbutton.chevron > .toolbarbutton-icon {
3095 #sidebar-throbber[loading="true"] {
3096 list-style-image: url("chrome://global/skin/icons/loading.gif");
3097 -moz-margin-end: 4px;
3100 /* Bookmarks toolbar */
3101 #PlacesToolbarDropIndicator {
3102 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
3105 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
3106 background-color: #008484 !important;
3107 color: #FFCF00 !important;
3110 /* rules for menupopup drop indicators */
3111 .menupopup-drop-indicator-bar {
3113 /* these two margins must together compensate the indicator's height */
3115 margin-bottom: -1px;
3118 .menupopup-drop-indicator {
3119 list-style-image: none;
3121 -moz-margin-end: -4em;
3122 background-color: #008484;
3125 /* === BEGIN notification-icons.inc.css === */
3127 .popup-notification-icon {
3130 -moz-margin-end: 10px;
3133 .popup-notification-icon[popupid="geolocation"] {
3134 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3137 .popup-notification-icon[popupid="push"] {
3138 list-style-image: url(chrome://browser/skin/Push-64.png);
3141 .popup-notification-icon[popupid="xpinstall-disabled"],
3142 .popup-notification-icon[popupid="addon-install-blocked"] {
3143 list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
3146 .popup-notification-icon[popupid="addon-progress"] {
3147 list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
3150 .popup-notification-icon[popupid="addon-install-failed"] {
3151 list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
3154 .popup-notification-icon[popupid="addon-install-confirmation"] {
3155 list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
3158 #addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
3159 list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
3162 .popup-notification-icon[popupid="addon-install-complete"] {
3163 list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
3166 .popup-notification-icon[popupid="addon-install-restart"] {
3167 list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
3170 .popup-notification-icon[popupid="click-to-play-plugins"] {
3171 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3174 .popup-notification-icon[popupid="web-notifications"] {
3175 list-style-image: url("chrome://browser/skin/notification-64.png");
3178 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3179 .popup-notification-icon[popupid*="offline-app-requested"],
3180 .popup-notification-icon[popupid="offline-app-usage"] {
3181 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3184 .popup-notification-icon[popupid="password"] {
3185 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3188 .popup-notification-icon[popupid="webapps-install-progress"],
3189 .popup-notification-icon[popupid="webapps-install"] {
3190 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3193 .popup-notification-icon[popupid="bad-content"] {
3194 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3197 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3198 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3199 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3202 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3203 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3204 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3207 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3208 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3209 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3212 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3213 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3214 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3217 .popup-notification-icon[popupid="pointerLock"] {
3218 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3221 /* Notification icon box */
3222 #notification-popup .panel-promo-box {
3223 /* margin: 10px -10px -10px; */
3226 #notification-popup-box {
3228 background-color: #000000;
3229 background-clip: padding-box;
3232 border-radius: 3px 0 0 3px;
3233 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3234 -moz-margin-end: -8px;
3235 border-right-width: 8px;
3238 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3239 /* padding-left: 7px; */
3242 #notification-popup-box:-moz-locale-dir(rtl),
3243 .notification-anchor-icon:-moz-locale-dir(rtl) {
3244 transform: scaleX(-1);
3247 .notification-anchor-icon {
3253 .notification-anchor-icon:-moz-focusring {
3254 outline: 1px dotted #008484;
3257 .default-notification-icon,
3258 #default-notification-icon {
3259 list-style-image: url("chrome://global/skin/icons/information-16.png");
3262 .identity-notification-icon,
3263 #identity-notification-icon {
3264 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3267 .geo-notification-icon,
3268 #geo-notification-icon {
3269 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3272 #push-notification-icon {
3273 list-style-image: url(chrome://browser/skin/Push-16.png);
3276 #addons-notification-icon {
3277 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
3280 #addons-notification-icon:hover {
3281 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
3284 #addons-notification-icon:hover:active {
3285 list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
3288 .indexedDB-notification-icon,
3289 #indexedDB-notification-icon {
3290 list-style-image: url("chrome://global/skin/icons/question-16.png");
3293 #password-notification-icon {
3294 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3297 #login-fill-notification-icon {
3298 /* Temporary icon until the capture and fill doorhangers are unified. */
3299 list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
3300 transform: scaleX(-1);
3303 #webapps-notification-icon {
3304 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3307 #plugins-notification-icon {
3308 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3311 #plugins-notification-icon.plugin-hidden {
3312 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3315 #plugins-notification-icon.plugin-blocked {
3316 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3319 #plugins-notification-icon {
3320 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3323 #plugins-notification-icon:hover {
3324 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3327 #notification-popup-box[hidden] {
3328 /* Override display:none to make the pluginBlockedNotification animation work
3329 when showing the notification repeatedly. */
3331 visibility: collapse;
3334 #plugins-notification-icon.plugin-blocked[showing] {
3335 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3338 @keyframes pluginBlockedNotification {
3347 .bad-content-blocked-notification-icon,
3348 #bad-content-blocked-notification-icon {
3349 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3352 .bad-content-unblocked-notification-icon,
3353 #bad-content-unblocked-notification-icon {
3354 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3357 .webRTC-shareDevices-notification-icon,
3358 #webRTC-shareDevices-notification-icon {
3359 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3362 .webRTC-sharingDevices-notification-icon,
3363 #webRTC-sharingDevices-notification-icon {
3364 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3367 .webRTC-shareMicrophone-notification-icon,
3368 #webRTC-shareMicrophone-notification-icon {
3369 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3372 .webRTC-sharingMicrophone-notification-icon,
3373 #webRTC-sharingMicrophone-notification-icon {
3374 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3377 .webRTC-shareScreen-notification-icon,
3378 #webRTC-shareScreen-notification-icon {
3379 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3382 .webRTC-sharingScreen-notification-icon,
3383 #webRTC-sharingScreen-notification-icon {
3384 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3387 .web-notifications-notification-icon,
3388 #web-notifications-notification-icon {
3389 list-style-image: url("chrome://browser/skin/notification-16.png");
3392 #pointerLock-notification-icon {
3393 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3396 .translate-notification-icon,
3397 #translate-notification-icon {
3398 list-style-image: url("chrome://browser/skin/translation-16.png");
3399 -moz-image-region: rect(0px, 16px, 16px, 0px);
3402 .translated-notification-icon,
3403 #translated-notification-icon {
3404 list-style-image: url("chrome://browser/skin/translation-16.png");
3405 -moz-image-region: rect(0px, 32px, 16px, 16px);
3408 .popup-notification-icon[popupid="servicesInstall"] {
3409 list-style-image: url("chrome://browser/skin/social/services-64.png");
3411 #servicesInstall-notification-icon {
3412 list-style-image: url("chrome://browser/skin/social/services-16.png");
3415 /* EME notifications */
3417 .popup-notification-icon[popupid="drmContentPlaying"],
3418 #eme-notification-icon {
3419 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
3422 #eme-notification-icon:hover:active {
3423 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
3426 #eme-notification-icon[firstplay=true] {
3427 animation: emeTeachingMoment 0.2s linear 0s 5 normal;
3430 @keyframes emeTeachingMoment {
3431 0% {transform: translateX(0); }
3432 25% {transform: translateX(3px) }
3433 75% {transform: translateX(-3px) }
3434 100% { transform: translateX(0); }
3437 /* HiDPI notification icons */
3438 @media (min-resolution: 1.1dppx) {
3439 /* #notification-popup-box {
3440 border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
3443 .notification-anchor-icon {
3444 list-style-image: url(chrome://global/skin/icons/information-32.png);
3447 .webRTC-shareDevices-notification-icon,
3448 #webRTC-shareDevices-notification-icon {
3449 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
3452 .webRTC-sharingDevices-notification-icon,
3453 #webRTC-sharingDevices-notification-icon {
3454 list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
3457 .webRTC-shareMicrophone-notification-icon,
3458 #webRTC-shareMicrophone-notification-icon {
3459 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
3462 .webRTC-sharingMicrophone-notification-icon,
3463 #webRTC-sharingMicrophone-notification-icon {
3464 list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
3467 .webRTC-shareScreen-notification-icon,
3468 #webRTC-shareScreen-notification-icon {
3469 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
3472 .webRTC-sharingScreen-notification-icon,
3473 #webRTC-sharingScreen-notification-icon {
3474 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
3477 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3478 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3479 list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
3482 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3483 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3484 list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
3487 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3488 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3489 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
3493 /* === END notification-icons.inc.css === */
3495 .popup-notification-body[popupid="addon-progress"],
3496 .popup-notification-body[popupid="addon-install-confirmation"] {
3501 /* Translation infobar */
3503 /* === BEGIN infobar.inc.css === */
3505 notification[value="translation"] .messageImage {
3506 list-style-image: url("chrome://browser/skin/translation-16.png");
3507 -moz-image-region: rect(0, 32px, 16px, 16px);
3510 @media (min-resolution: 1.25dppx) {
3511 notification[value="translation"] .messageImage {
3512 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3513 -moz-image-region: rect(0, 64px, 32px, 32px);
3517 notification[value="translation"][state="translating"] .messageImage {
3518 list-style-image: url("chrome://browser/skin/translating-16.png");
3519 -moz-image-region: auto;
3522 @media (min-resolution: 1.25dppx) {
3523 notification[value="translation"][state="translating"] .messageImage {
3524 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3528 notification[value="translation"] hbox[anonid="details"] {
3532 notification[value="translation"] button,
3533 notification[value="translation"] menulist {
3537 notification[value="translation"] menulist > .menulist-dropmarker {
3540 .translation-menupopup arrowscrollbox {
3544 .translation-attribution {
3546 -moz-box-align: end;
3550 .translation-attribution > label {
3554 .translation-attribution > image {
3558 .translation-welcome-panel {
3562 .translation-welcome-logo {
3565 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3566 -moz-image-region: rect(0, 64px, 32px, 32px);
3569 .translation-welcome-content {
3570 -moz-margin-start: 16px;
3573 .translation-welcome-headline {
3578 .translation-welcome-body {
3583 /* === END infobar.inc.css === */
3585 notification[value="translation"] {
3589 .translation-menupopup {
3590 -moz-appearance: none;
3593 /* Loop/ Hello browser styles */
3595 notification[value="loop-sharing-notification"] .button-menubutton-button {
3601 notification[value="loop-sharing-notification"] .messageImage {
3602 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3605 /* Bookmarks roots menu-items */
3606 #subscribeToPageMenuitem:not([disabled]),
3607 #subscribeToPageMenupopup,
3608 #BMB_subscribeToPageMenuitem:not([disabled]),
3609 #BMB_subscribeToPageMenupopup {
3610 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3613 #bookmarksToolbarFolderMenu,
3614 #BMB_bookmarksToolbar,
3615 #panelMenu_bookmarksToolbar {
3616 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3617 -moz-image-region: auto;
3620 #BMB_unsortedBookmarks,
3621 #panelMenu_unsortedBookmarks {
3622 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3623 -moz-image-region: auto;
3628 list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg");
3629 -moz-image-region: auto;
3635 list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
3638 /* ::::: Keyboard UI Panel ::::: */
3643 border-radius: 20px;
3646 .KUI-panel[level="top"] {
3647 /*background-color: rgba(27%,27%,27%,.65);*/
3653 padding: 20px 10px 10px;
3657 .ctrlTab-favicon[src] {
3658 background-color: #000000;
3664 .ctrlTab-preview-inner > .tabPreview-canvas {
3667 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3671 .ctrlTab-preview-inner {
3672 padding-bottom: 10px;
3675 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3677 background-color: #000000;
3678 border-radius: .5em;
3681 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3683 background-color: #000000;
3686 border: 2px solid #9C9CFF;
3687 border-radius: .5em;
3690 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3691 margin: -10px -10px 0;
3703 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3711 .sync-panel-button-box {
3715 #sync-error-panel-title,
3716 #sync-start-panel-title {
3722 #sync-start-panel-subtitle,
3723 #sync-error-panel-subtitle {
3729 .statuspanel-label {
3732 background: #404000;
3733 border: 1px none #9C9CFF;
3734 border-top-style: solid;
3739 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3740 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3741 border-right-style: solid;
3742 border-top-right-radius: .3em;
3746 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3747 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3748 border-left-style: solid;
3749 border-top-left-radius: .3em;
3753 /* HACK to abolish devily color on main content */
3756 background-color: transparent !important;
3759 #full-screen-warning-message {
3760 background-color: #000000;
3765 box-shadow: 0 0 2px #9C9CFF;
3768 #full-screen-warning-container[obscure-browser] {
3769 background-color: rgba(0,0,0,0.3);
3772 .full-screen-description {
3776 #full-screen-domain-text {
3780 .full-screen-approval-button,
3781 #full-screen-remember-decision {
3785 /* === BEGIN commandline.inc.css === */
3787 /* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
3788 We are copy/pasting variables from light-theme and dark-theme,
3789 since they aren't loaded in this context (within browser.css). */
3790 :root #developer-toolbar {
3791 --gcli-background-color: #000000; /* --theme-toolbar-background */
3792 --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
3793 --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
3794 --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
3795 --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
3796 --selection-background: #008484; /* --theme-selection-background */
3797 --selection-color: #000000; /* --theme-selection-color */
3800 /* Developer toolbar */
3802 #developer-toolbar {
3803 border-top: 3px solid var(--gcli-background-color);
3804 border-bottom: none;
3807 #developer-toolbar .toolbar-holder {
3808 background-color: #8050B0;
3812 #developer-toolbar .toolbar-holder {
3813 background-color: #8050B0;
3817 #developer-toolbar .toolbar-startcap,
3818 #developer-toolbar .toolbar-endcap{
3819 background-color: #6000CF;
3822 #developer-toolbar {
3824 min-height: 32px; */
3827 #developer-toolbar > toolbarbutton {
3833 .developer-toolbar-button > image {
3834 /* margin: auto 10px; */
3837 #developer-toolbar-toolbox-button > label {
3841 .developer-toolbar-button > .toolbarbutton-icon,
3842 #developer-toolbar-closebutton > .toolbarbutton-icon {
3847 #developer-toolbar-toolbox-button {
3848 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3849 -moz-image-region: rect(0px, 16px, 16px, 0px);
3852 #developer-toolbar-toolbox-button > label {
3856 #developer-toolbar-toolbox-button:hover,
3857 #developer-toolbar-toolbox-button:hover:active,
3858 #developer-toolbar-toolbox-button[checked=true] {
3859 -moz-image-region: rect(0px, 32px, 16px, 16px);
3862 @media (min-resolution: 2dppx) {
3863 #developer-toolbar-toolbox-button {
3864 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3865 -moz-image-region: rect(0px, 32px, 32px, 0px);
3868 #developer-toolbar-toolbox-button:hover,
3869 #developer-toolbar-toolbox-button:hover:active,
3870 #developer-toolbar-toolbox-button[checked=true] {
3871 -moz-image-region: rect(0px, 64px, 32px, 32px);
3875 #developer-toolbar-closebutton {
3876 list-style-image: url("chrome://browser/skin/devtools/close.png");
3877 -moz-image-region: rect(0px, 16px, 16px, 0px);
3882 #developer-toolbar-closebutton > .toolbarbutton-icon {
3885 #developer-toolbar-closebutton > .toolbarbutton-text {
3889 #developer-toolbar-closebutton:hover,
3890 #developer-toolbar-closebutton:hover:active {
3891 -moz-image-region: rect(0px, 32px, 16px, 16px);
3894 @media (min-resolution: 2dppx) {
3895 #developer-toolbar-closebutton {
3896 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3897 -moz-image-region: rect(0px, 32px, 32px, 0px);
3900 #developer-toolbar-closebutton:hover,
3901 #developer-toolbar-closebutton:hover:active {
3902 -moz-image-region: rect(0px, 64px, 32px, 32px);
3908 html|*#gcli-tooltip-frame,
3909 html|*#gcli-output-frame {
3912 background-color: transparent;
3918 background-color: transparent;
3921 .gclitoolbar-input-node,
3922 .gclitoolbar-complete-node {
3924 -moz-box-align: center;
3928 background-color: transparent;
3931 .gclitoolbar-input-node {
3932 /* line-height: 32px;
3933 outline-style: none; */
3934 background-repeat: no-repeat;
3935 background-color: var(--gcli-input-background);
3938 .gclitoolbar-input-node[focused="true"] {
3939 background-color: var(--gcli-input-focused-background);
3942 .gclitoolbar-input-node::before {
3944 display: inline-block;
3945 -moz-box-ordinal-group: 0;
3949 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3950 background-position: 0 center;
3951 background-size: 32px 16px;
3954 .gclitoolbar-input-node[focused="true"]::before {
3955 background-position: -16px center;
3958 @media (min-resolution: 2dppx) {
3959 .gclitoolbar-input-node::before {
3960 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3964 .gclitoolbar-input-node:not([focused="true"]) {
3965 border-color: transparent;
3968 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3969 background-color: var(--selection-background);
3970 color: var(--selection-color);
3973 .gclitoolbar-complete-node {
3975 background-color: transparent;
3978 pointer-events: none;
3981 .gcli-in-incomplete,
3985 .gcli-in-closebrace,
3992 .gcli-in-incomplete {
3993 border-bottom: 2px dotted #8050B0;
3997 border-bottom: 2px dotted #FF0000;
4008 .gcli-in-closebrace {
4012 /* === END commandline.inc.css === */
4014 /* === BEGIN responsivedesign.inc.css === */
4016 /* Responsive Mode */
4018 .browserContainer[responsivemode] {
4019 background-color: #221500;
4020 padding: 0 20px 20px 20px;
4023 .browserStack[responsivemode] {
4024 box-shadow: 0 0 7px #9C9CFF;
4027 .devtools-responsiveui-toolbar {
4028 background: transparent;
4029 /* text color is textColor from dark theme, since no theme is applied to
4030 * the responsive toolbar.
4036 border-bottom-width: 0;
4039 .devtools-responsiveui-menulist,
4040 .devtools-responsiveui-toolbarbutton {
4041 -moz-box-align: center;
4043 /* min-height: 22px;*/
4044 /* margin: 0 3px; */
4047 .devtools-responsiveui-menulist .menulist-editable-box {
4048 background-color: transparent;
4051 .devtools-responsiveui-menulist html|*.menulist-editable-input {
4056 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
4057 /* background: hsla(212,7%,57%,.35);*/
4060 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4065 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4066 -moz-box-orient: horizontal;
4069 .devtools-responsiveui-menulist:-moz-focusring,
4070 .devtools-responsiveui-toolbarbutton:-moz-focusring {
4071 /* outline: 1px dotted hsla(210,30%,85%,0.7);
4072 outline-offset: -4px;*/
4075 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4079 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4080 /* border-color: hsla(210,8%,5%,.6);
4081 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4082 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); */
4085 .devtools-responsiveui-menulist[open=true],
4086 .devtools-responsiveui-toolbarbutton[open=true],
4087 .devtools-responsiveui-toolbarbutton[checked=true] {
4088 /* border-color: hsla(210,8%,5%,.6) !important;
4089 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4090 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); */
4093 .devtools-responsiveui-toolbarbutton[checked=true] {
4094 /* color: hsl(208,100%,60%); */
4097 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
4098 /* background-color: transparent !important;*/
4101 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4102 /* background-color: hsla(210,8%,5%,.2) !important;*/
4105 .devtools-responsiveui-menulist > .menulist-label-box {
4109 .devtools-responsiveui-menulist > .menulist-dropmarker {
4110 /* display: -moz-box;
4111 background-color: transparent;
4112 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4113 -moz-box-align: center;
4118 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4121 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4122 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4125 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4126 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4129 .devtools-responsiveui-toolbarbutton[type=menu-button] {
4130 /* padding: 0 1px;*/
4131 -moz-box-align: stretch;
4134 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4135 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
4136 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4137 -moz-box-align: center;
4141 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4142 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4146 .devtools-responsiveui-close {
4147 list-style-image: url("chrome://browser/skin/devtools/close.png");
4148 -moz-image-region: rect(0px,16px,16px,0px);
4151 .devtools-responsiveui-close:hover {
4152 -moz-image-region: rect(0px,32px,16px,16px);
4155 .devtools-responsiveui-rotate {
4156 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4157 -moz-image-region: rect(0px,16px,16px,0px);
4160 .devtools-responsiveui-rotate:hover {
4161 -moz-image-region: rect(0px,32px,16px,16px);
4164 @media (min-resolution: 2dppx) {
4165 .devtools-responsiveui-close {
4166 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4169 .devtools-responsiveui-close:hover {
4170 -moz-image-region: rect(0px,64px,32px,32px);
4173 .devtools-responsiveui-rotate {
4174 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4177 .devtools-responsiveui-rotate:hover {
4178 -moz-image-region: rect(0px,64px,32px,32px);
4182 .devtools-responsiveui-touch {
4183 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4184 -moz-image-region: rect(0px,16px,16px,0px);
4187 .devtools-responsiveui-touch:hover,
4188 .devtools-responsiveui-touch[checked],
4189 .devtools-responsiveui-touch[checked]:hover {
4190 -moz-image-region: rect(0px,32px,16px,16px);
4193 @media (min-resolution: 2dppx) {
4194 .devtools-responsiveui-touch {
4195 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4196 -moz-image-region: rect(0px,32px,32px,0px);
4199 .devtools-responsiveui-touch:hover,
4200 .devtools-responsiveui-touch[checked],
4201 .devtools-responsiveui-touch[checked]:hover {
4202 -moz-image-region: rect(0px,64px,32px,32px);
4206 .devtools-responsiveui-screenshot {
4207 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4208 -moz-image-region: rect(0px,16px,16px,0px);
4211 .devtools-responsiveui-screenshot:hover {
4212 -moz-image-region: rect(0px,32px,16px,16px);
4215 @media (min-resolution: 2dppx) {
4216 .devtools-responsiveui-screenshot {
4217 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4220 .devtools-responsiveui-screenshot:hover {
4221 -moz-image-region: rect(0px,64px,32px,32px);
4225 .devtools-responsiveui-resizebarV {
4229 transform: translate(12px, -12px);
4230 background-size: cover;
4231 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4234 .devtools-responsiveui-resizebarH {
4238 transform: translate(-12px, 12px);
4239 background-size: cover;
4240 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4243 .devtools-responsiveui-resizehandle {
4247 transform: translate(12px, 12px);
4248 background-size: cover;
4249 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
4252 /* FxOS custom mode with additional buttons and phone look'n feel */
4254 /* Hide devtools manual resizer */
4255 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4256 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4257 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4261 /* Gives responsive mode a phone look'n feel */
4262 .browserStack[responsivemode].fxos-mode {
4263 padding: 60px 15px 0;
4265 border-radius: 25px / 20px;
4266 border-bottom-left-radius: 0;
4267 border-bottom-right-radius: 0;
4268 border: 1px solid #FFFFFF;
4269 border-bottom-width: 0;
4271 background-color: #353535;
4273 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4275 background-image: linear-gradient(to right, #111 11%, #333 56%);
4279 .devtools-responsiveui-hardware-buttons {
4280 -moz-appearance: none;
4283 border: 1px solid #FFFFFF;
4284 border-bottom-left-radius: 25px;
4285 border-bottom-right-radius: 25px;
4286 border-top-width: 0;
4288 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4290 background-image: linear-gradient(to right, #111 11%, #333 56%);
4293 .devtools-responsiveui-home-button {
4296 list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4299 .devtools-responsiveui-sleep-button {
4300 -moz-appearance: none;
4301 /* compensate browserStack top padding */
4309 border: 1px solid #444;
4310 border-top-right-radius: 12px;
4311 border-top-left-radius: 12px;
4312 border-bottom-color: transparent;
4314 background-image: linear-gradient(to top, #111 11%, #333 56%);
4317 .devtools-responsiveui-sleep-button:hover:active {
4318 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4321 .devtools-responsiveui-volume-buttons {
4325 .devtools-responsiveui-volume-up-button,
4326 .devtools-responsiveui-volume-down-button {
4327 -moz-appearance: none;
4328 border: 1px solid red;
4332 border: 1px solid #444;
4333 border-right-color: transparent;
4335 background-image: linear-gradient(to right, #111 11%, #333 56%);
4338 .devtools-responsiveui-volume-up-button:hover:active,
4339 .devtools-responsiveui-volume-down-button:hover:active {
4340 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4343 .devtools-responsiveui-volume-up-button {
4344 border-top-left-radius: 12px;
4347 .devtools-responsiveui-volume-down-button {
4348 border-bottom-left-radius: 12px;
4351 @media (min-resolution: 2dppx) {
4352 .devtools-responsiveui-resizebarV {
4353 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4356 .devtools-responsiveui-resizebarH {
4357 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4360 .devtools-responsiveui-resizehandle {
4361 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4365 /* === END responsivedesign.inc.css === */
4367 /* === including indicator.css is done at the start of the file === */
4371 #developer-toolbar-toolbox-button[error-count]:before {
4375 background-color: #FF0000;
4377 -moz-margin-end: 5px;
4380 /* Social toolbar item */
4382 #social-notification-icon-mentions {
4383 background-color: #000000;
4385 -moz-margin-start: 2px;
4388 #social-notification-icon-mentions:hover {
4389 background-color: #FFCF00;
4392 #social-notification-icon-mentions[open="true"] {
4393 background-color: #FF9F00;
4396 #social-sidebar-splitter {
4400 #socialActivatedNotification .popup-notification-button-container {
4404 .social-activation-icon {
4411 #social-activation-message {
4415 #social-activation-message > label {
4419 /* social toolbar provider menu */
4420 .social-statusarea-popup {
4423 margin-right: -12px;
4426 .social-statusarea-user {
4427 border-bottom: 1px solid #9C9CFF;
4428 background-color: #000000;
4434 .social-statusarea-user-portrait {
4441 .social-statusarea-loggedInStatus {
4442 background: transparent;
4447 list-style-image: none;
4450 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4451 text-decoration: underline;
4454 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4458 .social-panel-frame {
4459 border-radius: inherit;
4462 /* === BEGIN chat.inc.css === */
4464 #social-sidebar-header {
4468 #manage-share-providers,
4469 #social-sidebar-button {
4470 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4471 -moz-image-region: rect(0, 468px, 18px, 450px);
4474 #social-sidebar-button {
4475 -moz-appearance: none;
4480 #manage-share-providers > .toolbarbutton-icon,
4481 #social-sidebar-button > .toolbarbutton-icon {
4485 #manage-share-providers:hover,
4486 #manage-share-providers:hover:active,
4487 #social-sidebar-button:hover,
4488 #social-sidebar-button:hover:active {
4489 -moz-image-region: rect(18px, 468px, 36px, 450px);
4491 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4495 #social-sidebar-button[loading="true"] {
4496 list-style-image: url("chrome://global/skin/icons/loading.gif");
4499 #social-sidebar-favico {
4512 .chat-toolbarbutton {
4513 -moz-appearance: none;
4520 .chat-toolbarbutton:hover {
4521 /* background-color: rgba(255,255,255,.35);*/
4524 .chat-toolbarbutton:hover:active {
4525 /* background-color: rgba(255,255,255,.5);*/
4528 .chat-toolbarbutton > .toolbarbutton-text {
4532 .chat-toolbarbutton > .toolbarbutton-icon {
4537 .chat-close-button {
4538 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
4541 .chat-close-button:-moz-any(:hover,:hover:active) {
4542 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
4545 .chat-minimize-button {
4546 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
4549 .chat-minimize-button:-moz-any(:hover,:hover:active) {
4550 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
4554 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4555 transform: rotate(180deg);
4558 .chat-swap-button:-moz-any(:hover,:hover:active) {
4559 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
4562 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4568 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4574 background-color: #9C9CFF;
4582 border-bottom: 1px solid #008484;
4586 .chat-titlebar > .notification-anchor-icon {
4591 .chat-titlebar[minimized="true"] {
4592 border-bottom: none;
4595 .chat-titlebar[selected] {
4596 background-color: #008484;
4599 .chat-titlebar[activity] {
4600 background-color: #E7ADE7;
4603 chatbox[dark=true] > .chat-titlebar,
4604 chatbox[dark=true] > .chat-titlebar[selected] {
4605 /* border-bottom: none;
4606 background-color: #000;
4607 background-image: none;*/
4610 chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4611 /* font-weight: normal;
4622 list-style-image: url("chrome://browser/skin/social/services-16.png");
4623 background-color: #000000;
4629 border-top: 1px solid #008484;
4630 -moz-border-end: 1px solid #008484;
4633 @media (min-resolution: 2dppx) {
4635 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4639 .chatbar-button > .toolbarbutton-icon {
4643 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4650 .chatbar-button > .toolbarbutton-icon {
4654 .chatbar-button:hover > .toolbarbutton-icon,
4655 .chatbar-button[open="true"] > .toolbarbutton-icon {
4659 .chatbar-button:hover,
4660 .chatbar-button[open="true"] {
4663 .chatbar-button > .toolbarbutton-text,
4664 .chatbar-button > .toolbarbutton-menu-dropmarker {
4668 .chatbar-button[activity]:not([open="true"]) {
4669 background-color: #E7ADE7;
4672 .chatbar-button > menupopup > menuitem[activity] {
4677 background: transparent;
4682 -moz-margin-end: 20px;
4688 -moz-margin-start: 4px;
4689 background-color: #000000;
4690 border: 1px solid #9C9CFF;
4691 border-bottom: none;
4692 border-top-left-radius: 2.5px;
4693 border-top-right-radius: 2.5px;
4696 chatbox[minimized="true"] {
4702 -moz-margin-start: 0px;
4708 /* === END chat.inc.css === */
4711 /* background-color: #c4cfde; */
4714 .chat-titlebar[selected] {
4715 /* background-color: #dae3f0; */
4719 -moz-appearance: none;
4720 /* background-color: #c4cfde; */
4723 .chatbar-button > .toolbarbutton-icon {
4724 /* -moz-margin-end: 0; */
4727 .chatbar-button:hover,
4728 .chatbar-button[open="true"] {
4729 /* background-color: #dae3f0; */
4732 .chatbar-button[activity]:not([open="true"]) {
4736 /* border-top-left-radius: 2.5px;
4737 border-top-right-radius: 2.5px; */
4740 /* === BEGIN plugin-doorhanger.inc.css === */
4743 * Plugin Doorhanger Styles
4746 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4747 padding: 6px 1px 2px;
4750 .click-to-play-plugins-notification-center-box {
4753 .plugin-popupnotification-centeritem:nth-child(odd) {
4754 /* background-color: rgba(0,0,0,0.1);*/
4757 .center-item-label {
4759 text-overflow: ellipsis;
4762 .center-item-warning-icon {
4763 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4764 background-repeat: no-repeat;
4767 -moz-margin-start: 6px;
4770 .click-to-play-plugins-notification-button-container {
4773 .click-to-play-popup-button {
4777 .click-to-play-plugins-notification-description-box {
4781 padding-bottom: 3px;
4784 .click-to-play-plugins-outer-description {
4788 .click-to-play-plugins-notification-link,
4793 .messageImage[value="plugin-hidden"] {
4794 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4797 /* Keep any changes to this style in sync with pluginProblem.css */
4798 notification.pluginVulnerable {
4801 notification.pluginVulnerable .messageImage {
4802 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4805 /* === END plugin-doorhanger.inc.css === */
4807 /* === BEGIN badcontent-doorhanger.inc.css === */
4809 .popup-notification-item-title[popupid="bad-content"] {
4813 .popup-notification-item-message[popupid="bad-content"] {
4817 .popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical),
4818 .popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) {
4822 .popup-notification-item-message-critical[popupid="bad-content"] {
4827 .popup-notification-footer[popupid="bad-content"] {
4831 /* === END badcontent-doorhanger.inc.css === */
4833 /* === BEGIN login-doorhanger.inc.css === */
4835 #notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent {
4836 /* Since we display a sliding subview that extends to the border, we cannot
4837 * keep the default padding of arrow panels. We use the same padding in the
4838 * individual content views instead. Since we removed the padding, we also
4839 * have to ensure the contents are clipped to the border box. */
4844 #login-fill-mainview,
4845 #login-fill-details {
4846 padding: var(--panel-arrowcontent-padding);
4849 #login-fill-doorhanger[inDetailView] > #login-fill-mainview {
4850 transform: translateX(-14px);
4853 #login-fill-mainview,
4854 #login-fill-details {
4855 transition: transform 150ms;
4858 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details {
4859 transform: translateX(105%);
4862 #login-fill-doorhanger:not([inDetailView]) > #login-fill-details:-moz-locale-dir(rtl) {
4863 transform: translateX(-105%);
4866 #login-fill-doorhanger[inDetailView] > #login-fill-clickcapturer {
4867 background-color: hsla(240,39%,100%,.1);
4870 #login-fill-testing {
4876 border: 1px solid #9C9CFF;
4880 .login-fill-item[disabled] {
4882 background-color: #000000;
4885 .login-fill-item[disabled][selected] {
4886 background-color: #008484;
4894 .login-fill-item.different-hostname > .login-hostname {
4904 #login-fill-details {
4906 background: var(--panel-arrowcontent-background);
4907 color: var(--panel-arrowcontent-color);
4908 background-clip: padding-box;
4909 border-left: 1px solid #9C9CFF;
4910 -moz-margin-start: 38px;
4913 /* === END login-doorhanger.inc.css === */
4915 /* === BEGIN customizeMode.inc.css === */
4917 /* Customization mode */
4919 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4923 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4924 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4925 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4930 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4931 pointer-events: none;
4934 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4935 #PanelUI-contents > .panel-customization-placeholder {
4936 -moz-outline-radius: 2.5px;
4937 outline: 1px dashed transparent;
4940 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4941 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4942 -moz-box-ordinal-group: 0;
4947 outline-offset: -2px;
4948 pointer-events: none;
4954 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4955 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4956 offset from the bottom effectively the same as other targets (-2px). */
4957 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4961 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4962 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4963 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4964 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4968 /* Most target outlines are shown on hover and drag over but the panel menu uses
4969 placeholders instead. */
4970 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4971 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4972 /* nav-bar and panel outlines are always shown */
4973 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4974 outline-color: #A09090;
4977 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4978 transition: outline-color 250ms linear;
4981 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4982 transition: outline-color 250ms linear;
4983 outline-color: #9C9CFF;
4986 #PanelUI-contents > .panel-customization-placeholder {
4988 outline-offset: -5px;
4991 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4993 /* padding-left: 10px;
4994 padding-right: 10px;*/
4997 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
5001 #customization-container {
5002 background-color: #000000;
5006 #customization-palette,
5007 #customization-empty {
5008 padding: 0 15px 15px;
5011 #customization-header {
5013 line-height: 1.75em;
5016 margin: 25px 25px 12px;
5017 padding-bottom: 12px;
5018 border-bottom: 1px solid #A09090;
5021 #customization-panel-container {
5022 padding: 10px 10px 0px;
5025 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
5026 #customization-footer {
5027 /*background-color: rgb(236,236,236);*/
5030 #customization-footer {
5031 border-top: 1px solid #9C9CFF;
5035 .customizationmode-button {
5039 .customizationmode-button:hover {
5042 #customization-titlebar-visibility-button[checked],
5043 #customization-devedition-theme-button[checked] {
5044 background-color: #008484;
5047 #customization-titlebar-visibility-button[checked]:hover,
5048 #customization-devedition-theme-button[checked]:hover {
5049 background-color: #FFCF00;
5052 #customization-titlebar-visibility-button[checked]:hover:active,
5053 #customization-devedition-theme-button[checked]:hover:active {
5054 background-color: #FF9F00;
5057 .customizationmode-button[disabled="true"] {
5060 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
5061 .customizationmode-button > .button-box > .button-icon {
5065 #customization-titlebar-visibility-button {
5066 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
5067 -moz-image-region: rect(0, 16px, 16px, 0);
5070 #customization-titlebar-visibility-button:hover {
5071 -moz-image-region: rect(16px, 16px, 32px, 0);
5074 #customization-lwtheme-button,
5075 #customization-titlebar-visibility-button {
5079 #customization-titlebar-visibility-button > .button-box {
5081 padding-bottom: 1px;
5084 #customization-titlebar-visibility-button:hover:active > .button-box {
5089 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
5090 #customization-titlebar-visibility-button > .button-box > .button-text {
5091 /* Sadly, button.css thinks its margins are perfect for everyone. */
5092 -moz-margin-start: 5px !important;
5095 #customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
5099 background-size: contain;
5102 #customization-titlebar-visibility-button > .button-box > .button-icon {
5103 vertical-align: middle;
5106 #customization-titlebar-visibility-button[checked] {
5107 -moz-image-region: rect(0, 32px, 16px, 16px);
5108 background-color: #008484;
5111 #customization-titlebar-visibility-button[checked]:hover {
5112 -moz-image-region: rect(16px, 32px, 32px, 16px);
5113 background-color: #FFCF00;
5116 #customization-titlebar-visibility-button[checked]:hover:active {
5117 background-color: #FF9F00;
5120 @media (min-resolution: 1.1dppx) {
5121 #customization-titlebar-visibility-button {
5122 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
5123 -moz-image-region: rect(0, 48px, 48px, 0);
5126 #customization-titlebar-visibility-button:hover {
5127 -moz-image-region: rect(48px, 48px, 96px, 0);
5130 #customization-titlebar-visibility-button[checked] {
5131 -moz-image-region: rect(0, 96px, 48px, 48px);
5134 #customization-titlebar-visibility-button[checked]:hover {
5135 -moz-image-region: rect(48px, 96px, 96px, 48px);
5139 #main-window[customize-entered] #customization-panel-container {
5140 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5141 background-position: left top;
5142 background-repeat: repeat;
5143 background-size: auto;
5144 background-attachment: fixed;
5147 toolbarpaletteitem[place="toolbar"] {
5148 transition: border-width 250ms ease-in-out;
5151 toolbarpaletteitem[mousedown] {
5152 outline: 1px solid #008484;
5153 cursor: -moz-grabbing;
5157 .panel-customization-placeholder,
5158 toolbarpaletteitem[place="palette"],
5159 toolbarpaletteitem[place="panel"] {
5160 transition: transform .3s ease-in-out;
5163 #customization-palette {
5164 transition: opacity .3s ease-in-out;
5168 #customization-palette[showing="true"] {
5172 toolbarpaletteitem[notransition].panel-customization-placeholder,
5173 toolbarpaletteitem[notransition][place="toolbar"],
5174 toolbarpaletteitem[notransition][place="palette"],
5175 toolbarpaletteitem[notransition][place="panel"] {
5179 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
5180 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
5181 toolbarpaletteitem > toolbaritem.panel-wide-item,
5182 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5183 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
5186 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
5187 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
5188 transform: scale(1.3);
5191 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5192 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
5193 transform: scale(1.1);
5196 /* Override the toolkit styling for items being dragged over. */
5197 toolbarpaletteitem[place="toolbar"] {
5198 border-left-width: 0;
5199 border-right-width: 0;
5204 #customization-palette:not([hidden]) {
5205 margin-bottom: 25px;
5208 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5209 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
5210 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5211 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5215 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5216 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
5226 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5227 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5231 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5232 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5235 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5236 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
5240 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5241 -moz-box-pack: center;
5245 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
5246 -moz-margin-end: 5px;
5249 #customization-palette > toolbarpaletteitem > label {
5255 #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5256 -moz-box-orient: vertical;
5257 /* Make the panel padding uniform across all platforms due to the
5258 styling of the section headers and footer. */
5262 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5267 .customization-lwtheme-menu-theme {
5268 -moz-appearance: none;
5271 -moz-padding-end: 5px;
5273 -moz-padding-start: 0;
5276 .customization-lwtheme-menu-theme[defaulttheme] {
5277 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5280 .customization-lwtheme-menu-theme[active="true"] {
5281 background-color: #008484;
5284 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5288 .customization-lwtheme-menu-theme > .toolbarbutton-text {
5292 #customization-lwtheme-menu-header,
5293 #customization-lwtheme-menu-recommended {
5298 #customization-lwtheme-menu-header,
5299 #customization-lwtheme-menu-recommended,
5300 #customization-lwtheme-menu-footer {
5301 background-color: #A09090;
5303 margin-right: -10px;
5307 #customization-lwtheme-menu-header {
5309 border-top-right-radius: 3px;
5310 border-top-left-radius: 3px;
5313 #customization-lwtheme-menu-recommended {
5316 #customization-lwtheme-menu-footer {
5317 margin-bottom: -10px;
5318 border-bottom-right-radius: 3px;
5319 border-bottom-left-radius: 3px;
5322 .customization-lwtheme-menu-footeritem {
5323 -moz-appearance: none;
5325 background-color: #C09070;
5327 border: 1px solid transparent;
5333 .customization-lwtheme-menu-footeritem:hover {
5334 background-color: #FFCF00;
5337 .customization-lwtheme-menu-footeritem:first-child {
5340 /* === END customizeMode.inc.css === */
5342 /* === BEGIN customizeTip.inc.css === */
5344 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5351 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5352 border: 1px solid #9C9CFF;
5356 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5357 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5360 .customization-tipPanel-infoBox {
5361 margin: 20px 25px 25px;
5363 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5364 background-repeat: no-repeat;
5367 .customization-tipPanel-content {
5373 .customization-tipPanel-em {
5378 .customization-tipPanel-contentImage {
5380 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5388 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5389 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5392 .customization-tipPanel-link {
5393 -moz-appearance: none;
5394 background: transparent;
5402 .customization-tipPanel-link > .button-box > .button-text {
5403 margin: 0 !important;
5406 .customization-tipPanel-closeBox > .close-icon {
5407 -moz-appearance: none;
5409 -moz-margin-end: -25px;
5412 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5413 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5414 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5417 /* === END customizeTip.inc.css === */
5420 * This next rule is a hack to disable subpixel anti-aliasing on all
5421 * labels during the customize mode transition. Subpixel anti-aliasing
5422 * on Windows with Direct2D layers acceleration is particularly slow to
5423 * paint, so this hack is how we sidestep that performance bottleneck.
5425 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
5426 transform: perspective(0.01px);
5429 #main-window[customize-entered] > #tab-view-deck {
5430 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5431 background-attachment: fixed;
5434 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5435 background-repeat: no-repeat;
5436 background-position: right top;
5437 background-attachment: fixed;
5438 /* The image will get set from CustomizeMode.jsm */
5439 background-image: none;
5440 background-color: transparent;
5443 #main-window[customization-lwtheme]:-moz-lwtheme {
5444 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5445 background-repeat: repeat;
5446 background-attachment: fixed;
5447 background-position: left top;
5450 #main-window[customize-entered] #browser-bottombox,
5451 #main-window[customize-entered] #customization-container {
5452 border-left: 1px solid #9C9CFF;
5453 border-right: 1px solid #9C9CFF;
5454 background-clip: padding-box;
5457 #main-window[customize-entered] #browser-bottombox {
5458 border-bottom: 1px solid #9C9CFF;
5461 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5465 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5469 /* End customization mode */
5471 /* Private browsing indicators */
5474 * Currently, we have two places where we put private browsing indicators on
5475 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5476 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5477 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5478 * want the bottom border of the image to line up with the bottom of the window
5479 * caption buttons. That's why there's so much special-casing going on in here.
5481 .private-browsing-indicator {
5483 pointer-events: none;
5486 #private-browsing-indicator-titlebar {
5491 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5495 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5499 #TabsToolbar > .private-browsing-indicator {
5500 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5501 -moz-margin-start: 4px;
5505 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5506 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5507 * min/max/close window buttons.
5509 #private-browsing-indicator-titlebar > .private-browsing-indicator,
5510 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5511 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5512 -moz-margin-end: 4px;
5518 /* This one is for Linux */
5519 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5520 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5524 /* End private browsing indicators */
5526 /* === BEGIN UITour.inc.css === */
5530 #UITourHighlightContainer {
5531 -moz-appearance: none;
5533 background-color: transparent;
5534 /* This is a buffer to compensate for the movement in the "wobble" effect */
5539 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5540 border-radius: 40px;
5541 border: 1px solid #9C9CFF;
5542 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5543 on Linux without an X compositor where opacity is either 0 or 1. */
5544 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5549 #UITourTooltipBody {
5550 -moz-margin-end: 14px;
5553 #UITourTooltipBody > vbox {
5557 #UITourTooltipIconContainer {
5558 -moz-margin-start: -16px;
5561 #UITourTooltipIcon {
5564 -moz-margin-start: 28px;
5565 -moz-margin-end: 28px;
5568 #UITourTooltipTitle,
5569 #UITourTooltipDescription {
5573 #UITourTooltipTitle {
5576 -moz-margin-start: 0;
5581 #UITourTooltipDescription {
5582 -moz-margin-start: 0;
5585 line-height: 1.8rem;
5586 margin-bottom: 0; /* Override global.css */
5589 #UITourTooltipClose {
5590 -moz-appearance: none;
5592 background-color: transparent;
5594 -moz-margin-start: 4px;
5598 #UITourTooltipClose > .toolbarbutton-text {
5602 #UITourTooltipButtons {
5604 background-color: rgba(0,0,0,.2);
5605 border-top: 1px solid rgba(0,0,0,.4);
5606 margin: 24px -16px -16px;
5610 #UITourTooltipButtons > button {
5614 #UITourTooltipButtons > button:first-child {
5615 -moz-margin-start: 0;
5618 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5621 -moz-margin-end: 5px;
5624 #UITourTooltipButtons > button .button-text {
5628 #UITourTooltipButtons > button:not(.button-link) {
5629 -moz-appearance: none;
5630 background-color: #C09070;
5631 border-radius: 3000px;
5635 transition-property: background-color, color;
5636 transition-duration: 150ms;
5639 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5640 background-color: #FFCF00;
5644 #UITourTooltipButtons > button.button-link {
5645 -moz-appearance: none;
5646 background: transparent;
5649 color: rgba(0,0,0,0.35);
5651 padding-right: 10px;
5654 #UITourTooltipButtons > button.button-link:hover {
5658 /* The primary button gets the same color as the customize button. */
5659 #UITourTooltipButtons > button.button-primary {
5660 background-color: #A06060; /* LCARS default button background color */
5663 padding-right: 30px;
5666 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5667 background-color: #FFCF00;
5671 /* Notification overrides for Heartbeat UI */
5673 notification.heartbeat {
5674 background-color: #A09090;
5678 @keyframes pulse-onshow {
5681 transform: scale(1.0);
5685 transform: scale(1.1);
5688 transform: scale(1.0);
5691 transform: scale(1.1);
5694 transform: scale(1.0);
5698 @keyframes pulse-twice {
5700 transform: scale(1.1);
5703 transform: scale(0.8);
5706 transform: scale(1);
5710 .messageText.heartbeat {
5712 /* text-shadow: none; */
5713 -moz-margin-start: 0px;
5716 .messageImage.heartbeat {
5719 -moz-margin-start: 8px;
5720 -moz-margin-end: 8px;
5723 .messageImage.heartbeat.pulse-onshow {
5724 animation-name: pulse-onshow;
5725 animation-duration: 1.5s;
5726 animation-iteration-count: 1;
5727 animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
5730 .messageImage.heartbeat.pulse-twice {
5731 animation-name: pulse-twice;
5732 animation-duration: 1s;
5733 animation-iteration-count: 2;
5734 animation-timing-function: linear;
5737 /* Learn More link styles */
5738 .heartbeat > .text-link {
5740 -moz-margin-start: 0px;
5743 .heartbeat > .text-link:hover {
5745 text-decoration: none;
5748 .heartbeat > .text-link:hover:active {
5752 /* Heartbeat UI Rating Star Classes */
5753 .heartbeat > #star-rating-container {
5755 /* margin-bottom: 4px;*/
5758 .heartbeat > #star-rating-container > #star5 {
5759 -moz-box-ordinal-group: 5;
5762 .heartbeat > #star-rating-container > #star4 {
5763 -moz-box-ordinal-group: 4;
5766 .heartbeat > #star-rating-container > #star3 {
5767 -moz-box-ordinal-group: 3;
5770 .heartbeat > #star-rating-container > #star2 {
5771 -moz-box-ordinal-group: 2;
5774 .heartbeat > #star-rating-container > .star-x {
5775 background: url("chrome://browser/skin/heartbeat-star-off.svg");
5777 /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
5778 -moz-margin-end: 4px !important;
5783 .heartbeat > #star-rating-container > .star-x:hover,
5784 .heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
5785 background: url("chrome://browser/skin/heartbeat-star-lit.svg");
5788 /* === END UITour.inc.css === */
5790 #UITourTooltipButtons {
5791 margin: 24px -4px -4px;
5794 /* === BEGIN contextmenu.inc.css === */
5796 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5799 #context-navigation > .menuitem-iconic {
5801 -moz-box-pack: center;
5802 -moz-box-align: center;
5805 #context-navigation > .menuitem-iconic[disabled="true"] {
5806 background-color: transparent;
5809 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5810 -moz-appearance: none;
5813 #context-back > .menu-iconic-left {
5814 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5815 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5816 -moz-image-region: rect(0, 54px, 18px, 36px);
5819 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5820 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5821 -moz-image-region: rect(18px, 54px, 36px, 36px);
5824 #context-back[disabled="true"] > .menu-iconic-left {
5825 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5826 -moz-image-region: rect(36px, 54px, 54px, 36px);
5829 #context-forward > .menu-iconic-left {
5830 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5831 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5832 -moz-image-region: rect(0, 72px, 18px, 54px);
5835 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5836 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5837 -moz-image-region: rect(18px, 72px, 36px, 54px);
5840 #context-forward[disabled="true"] > .menu-iconic-left {
5841 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5842 -moz-image-region: rect(36px, 72px, 54px, 54px);
5845 #context-reload > .menu-iconic-left {
5846 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5847 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5848 -moz-image-region: rect(0, 14px, 14px, 0);
5851 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5852 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5853 -moz-image-region: rect(14px, 14px, 28px, 0);
5856 #context-reload[disabled="true"] > .menu-iconic-left {
5857 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5858 -moz-image-region: rect(28px, 14px, 42px, 0);
5861 #context-stop > .menu-iconic-left {
5862 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5863 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
5864 -moz-image-region: rect(0, 28px, 14px, 14px);
5867 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5868 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5869 -moz-image-region: rect(14px, 28px, 28px, 14px);
5872 #context-stop[disabled="true"] > .menu-iconic-left {
5873 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5874 -moz-image-region: rect(28px, 28px, 42px, 14px);
5877 #context-bookmarkpage > .menu-iconic-left {
5878 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5879 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5880 -moz-image-region: rect(0, 144px, 18px, 126px);
5883 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5884 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5885 -moz-image-region: rect(18px, 144px, 36px, 126px);
5888 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5889 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
5890 -moz-image-region: rect(36px, 144px, 54px, 126px);
5893 #context-bookmarkpage[starred=true] {
5894 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); */
5895 -moz-image-region: rect(0px, 162px, 18px, 144px);
5898 #context-bookmarkpage[starred=true][_moz-menuactive=true] {
5899 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-active"); */
5900 -moz-image-region: rect(18px, 162px, 36px, 144px);
5903 #context-bookmarkpage[starred=true][disabled=true] {
5904 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-disabled"); */
5905 -moz-image-region: rect(36px, 162px, 54px, 144px);
5908 #context-back:-moz-locale-dir(rtl),
5909 #context-forward:-moz-locale-dir(rtl),
5910 #context-reload:-moz-locale-dir(rtl) {
5911 transform: scaleX(-1);
5914 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
5915 width: 18px; /*16px;*/
5916 height: 18px; /*16px;*/
5920 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5921 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5927 #context-media-eme-learnmore {
5928 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
5931 #context-media-eme-learnmore {
5932 list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
5935 /* === END contextmenu.inc.css === */
5937 #context-navigation {
5940 #context-sep-navigation {
5941 /* margin-top: -4px; */