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:not(:-moz-lwtheme) {
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 #print-preview-toolbar:not(:-moz-lwtheme) {
183 /* -moz-appearance: toolbox; */
186 #browser-bottombox:not(:-moz-lwtheme) {
189 /* ::::: titlebar ::::: */
193 background-color: #6000CF;
196 #titlebar:-moz-window-inactive {
197 background-color: #8050B0;
201 #main-window[sizemode="normal"] > #titlebar {
206 #main-window[sizemode="maximized"] > #titlebar {
210 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
211 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
212 #main-window[sizemode="normal"] > #titlebar,
213 #main-window[sizemode="maximized"] > #titlebar {
215 /* There is a margin-bottom set to -23 by code. */
219 /* The button box must appear on top of the navigator-toolbox in order for
220 * click and hover mouse events to work properly for the button in the restored
221 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
222 * can swallow those events. It will also place the buttons above the fog on
223 * themes with Aero Glass.
226 #main-window[sizemode="maximized"] #titlebar-buttonbox {
227 -moz-appearance: none;
230 -moz-margin-end: 3px;
234 .titlebar-placeholder[type="appmenu-button"] {
238 .titlebar-placeholder[type="caption-buttons"] {
242 /* titlebar command buttons */
245 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
248 #titlebar-min:hover {
249 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
253 list-style-image: url("chrome://browser/skin/win-maximize.gif");
256 #titlebar-max:hover {
257 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
260 #main-window[sizemode="maximized"] #titlebar-max {
261 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
264 #main-window[sizemode="maximized"] #titlebar-max:hover {
265 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
269 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
272 #titlebar-close:hover {
273 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
276 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
277 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
278 #titlebar-fullscreen-button {
279 -moz-appearance: none;
280 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
281 -moz-image-region: rect(0px, 16px, 16px, 0px);
284 #titlebar-fullscreen-button:hover {
285 -moz-image-region: rect(0px, 32px, 16px, 16px);
288 @media (min-resolution: 2dppx) {
289 #titlebar-fullscreen-button {
290 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
291 -moz-image-region: rect(0px, 32px, 32px, 0px);
294 #titlebar-fullscreen-button:hover {
295 -moz-image-region: rect(0px, 64px, 32px, 32px);
301 /* ::::: bookmark buttons ::::: */
303 toolbarbutton.bookmark-item:not(.subviewbutton),
304 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
309 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
310 toolbarbutton.bookmark-item[open="true"] {
313 -moz-padding-start: 4px;
314 -moz-padding-end: 2px;*/
317 .bookmark-item > .toolbarbutton-icon,
318 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
323 /* Force the display of the label for bookmarks */
324 .bookmark-item > .toolbarbutton-text,
325 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
326 display: -moz-box !important;
329 .bookmark-item > .toolbarbutton-menu-dropmarker {
333 #bookmarks-toolbar-placeholder {
334 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
337 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
338 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
339 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
342 /* ----- BOOKMARK STAR ANIMATION ----- */
344 @keyframes animation-bookmarkAdded {
345 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
346 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
348 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
351 @keyframes animation-bookmarkPulse {
352 from { transform: scale(1); }
353 50% { transform: scale(1.3); }
354 to { transform: scale(1); }
357 #bookmarked-notification-container {
366 #bookmarked-notification {
367 background-size: 16px;
368 background-position: center;
369 background-repeat: no-repeat;
375 #bookmarked-notification-dropmarker-anchor {
380 #bookmarked-notification-dropmarker-icon {
386 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
387 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
388 animation: animation-bookmarkAdded 800ms;
389 animation-timing-function: ease, ease, ease;
392 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
393 list-style-image: none !important;
396 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
398 animation: animation-bookmarkPulse 300ms;
399 animation-delay: 600ms;
400 animation-timing-function: ease-out;
403 /* ::::: bookmark menus ::::: */
406 menuitem.bookmark-item {
411 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
416 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
417 -moz-padding-start: 0px;
420 /* ::::: bookmark items ::::: */
423 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
424 -moz-image-region: auto;
427 .bookmark-item[container] {
428 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
429 -moz-image-region: auto;
432 .bookmark-item[container][open] {
433 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
434 -moz-image-region: auto;
437 .bookmark-item[container][livemark] {
438 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
439 -moz-image-region: auto;
442 .bookmark-item[container][livemark] .bookmark-item {
443 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
444 -moz-image-region: rect(0px, 16px, 16px, 0px);
447 .bookmark-item[container][livemark] .bookmark-item[visited] {
448 -moz-image-region: rect(0px, 32px, 16px, 16px);
451 .bookmark-item[container][query] {
452 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
453 -moz-image-region: auto;
456 .bookmark-item[query][tagContainer] {
457 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
458 -moz-image-region: auto;
461 .bookmark-item[query][dayContainer] {
462 list-style-image: url("chrome://communicator/skin/history/calendar.png");
463 -moz-image-region: auto;
466 .bookmark-item[query][hostContainer] {
467 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
468 -moz-image-region: auto;
471 .bookmark-item[query][hostContainer][open] {
472 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
473 -moz-image-region: auto;
476 .bookmark-item[cutting] > .toolbarbutton-icon,
477 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
481 .bookmark-item[cutting] > .toolbarbutton-text,
482 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
486 /* ::::: primary toolbar buttons ::::: */
488 /* === BEGIN toolbarbuttons.inc.css === */
490 /* Whole section of this included file: */
491 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
492 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
493 #social-share-button, #open-file-button, #find-button, #developer-button,
494 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
495 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
496 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
497 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button),
499 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
500 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
504 -moz-image-region: rect(0, 36px, 18px, 18px);
507 #back-button:hover:not([disabled="true"]) {
508 -moz-image-region: rect(18px, 36px, 36px, 18px);
511 #back-button[disabled="true"] {
512 -moz-image-region: rect(36px, 36px, 54px, 18px);
516 -moz-image-region: rect(0, 72px, 18px, 54px);
519 #forward-button:hover:not([disabled="true"]) {
520 -moz-image-region: rect(18px, 72px, 36px, 54px);
523 #forward-button[disabled="true"] {
524 -moz-image-region: rect(36px, 72px, 54px, 54px);
527 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
528 #forward-button:-moz-locale-dir(rtl) {
529 transform: scaleX(-1);
532 #home-button[cui-areatype="toolbar"] {
533 -moz-image-region: rect(0, 126px, 18px, 108px);
536 #home-button[cui-areatype="toolbar"]:hover {
537 -moz-image-region: rect(18px, 126px, 36px, 108px);
540 #bookmarks-menu-button[cui-areatype="toolbar"] {
541 -moz-image-region: rect(0, 144px, 18px, 126px);
544 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
545 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
546 -moz-image-region: rect(18px, 144px, 36px, 126px);
549 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
550 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
551 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
552 background-color: transparent !important;
555 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
556 -moz-image-region: rect(0, 162px, 18px, 144px);
559 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
560 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
561 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
562 /* When starred and clicked (for edit/delete dialog),
563 * then only the menubutton-button itself is open, but not the whole menubutton. */
564 -moz-image-region: rect(18px, 162px, 36px, 144px);
567 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
568 -moz-image-region: rect(0, 630px, 18px, 612px);
571 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
573 -moz-box-align: center;
576 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
577 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
578 -moz-image-region: rect(18px, 630px, 36px, 612px);
581 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
582 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
585 -moz-padding-start: 2px;
586 -moz-padding-end: 0px;
589 #history-panelmenu[cui-areatype="toolbar"] {
590 -moz-image-region: rect(0, 180px, 18px, 162px);
593 #history-panelmenu[cui-areatype="toolbar"]:hover,
594 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
595 -moz-image-region: rect(18px, 180px, 36px, 162px);
598 #downloads-button[cui-areatype="toolbar"] {
599 -moz-image-region: rect(0, 198px, 18px, 180px);
602 #downloads-button[cui-areatype="toolbar"]:hover,
603 #downloads-button[cui-areatype="toolbar"][open="true"] {
604 -moz-image-region: rect(18px, 198px, 36px, 180px);
607 #add-ons-button[cui-areatype="toolbar"] {
608 -moz-image-region: rect(0, 216px, 18px, 198px);
611 #add-ons-button[cui-areatype="toolbar"]:hover {
612 -moz-image-region: rect(18px, 216px, 36px, 198px);
615 #open-file-button[cui-areatype="toolbar"] {
616 -moz-image-region: rect(0, 234px, 18px, 216px);
619 #open-file-button[cui-areatype="toolbar"]:hover {
620 -moz-image-region: rect(18px, 234px, 36px, 216px);
623 #save-page-button[cui-areatype="toolbar"] {
624 -moz-image-region: rect(0, 252px, 18px, 234px);
627 #save-page-button[cui-areatype="toolbar"]:hover {
628 -moz-image-region: rect(18px, 252px, 36px, 234px);
631 #sync-button[cui-areatype="toolbar"] {
632 -moz-image-region: rect(0, 270px, 18px, 252px);
635 #sync-button[cui-areatype="toolbar"]:hover {
636 -moz-image-region: rect(18px, 270px, 36px, 252px);
639 #sync-button[cui-areatype="toolbar"][status="active"],
640 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
641 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
642 -moz-image-region: rect(0, 18px, 18px, 0px);
646 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
647 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
648 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
652 #feed-button[cui-areatype="toolbar"] {
653 -moz-image-region: rect(0, 288px, 18px, 270px);
656 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
657 -moz-image-region: rect(18px, 288px, 36px, 270px);
660 #feed-button[cui-areatype="toolbar"][disabled="true"] {
661 -moz-image-region: rect(36px, 288px, 54px, 270px);
664 #social-share-button[cui-areatype="toolbar"] {
665 -moz-image-region: rect(0px, 306px, 18px, 288px);
668 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
669 #social-share-button[cui-areatype="toolbar"][open="true"] {
670 -moz-image-region: rect(18px, 306px, 36px, 288px);
673 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
674 -moz-image-region: rect(36px, 306px, 54px, 288px);
677 #characterencoding-button[cui-areatype="toolbar"] {
678 -moz-image-region: rect(0, 324px, 18px, 306px);
681 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
682 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
683 -moz-image-region: rect(18px, 324px, 36px, 306px);
686 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
687 -moz-image-region: rect(36px, 324px, 54px, 306px);
690 #new-window-button[cui-areatype="toolbar"] {
691 -moz-image-region: rect(0, 342px, 18px, 324px);
694 #new-window-button[cui-areatype="toolbar"]:hover {
695 -moz-image-region: rect(18px, 342px, 36px, 324px);
698 #e10s-button[cui-areatype="toolbar"] {
699 -moz-image-region: rect(0, 342px, 18px, 324px);
702 #e10s-button[cui-areatype="toolbar"]:hover {
703 -moz-image-region: rect(18px, 342px, 36px, 324px);
706 #e10s-button > .toolbarbutton-icon {
707 transform: scaleY(-1);
710 #new-tab-button[cui-areatype="toolbar"] {
711 -moz-image-region: rect(0, 360px, 18px, 342px);
714 #new-tab-button[cui-areatype="toolbar"]:hover {
715 -moz-image-region: rect(18px, 360px, 36px, 342px);
718 #privatebrowsing-button[cui-areatype="toolbar"] {
719 -moz-image-region: rect(0, 378px, 18px, 360px);
722 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
723 -moz-image-region: rect(18px, 378px, 36px, 360px);
726 #find-button[cui-areatype="toolbar"] {
727 -moz-image-region: rect(0, 396px, 18px, 378px);
730 #find-button[cui-areatype="toolbar"]:hover {
731 -moz-image-region: rect(18px, 396px, 36px, 378px);
734 #print-button[cui-areatype="toolbar"] {
735 -moz-image-region: rect(0, 414px, 18px, 396px);
738 #print-button[cui-areatype="toolbar"]:hover {
739 -moz-image-region: rect(18px, 414px, 36px, 396px);
742 #fullscreen-button[cui-areatype="toolbar"] {
743 -moz-image-region: rect(0, 432px, 18px, 414px);
746 #fullscreen-button[cui-areatype="toolbar"]:hover {
747 -moz-image-region: rect(18px, 432px, 36px, 414px);
750 #developer-button[cui-areatype="toolbar"] {
751 -moz-image-region: rect(0, 450px, 18px, 432px);
754 #developer-button[cui-areatype="toolbar"]:hover,
755 #developer-button[cui-areatype="toolbar"][open="true"] {
756 -moz-image-region: rect(18px, 450px, 36px, 432px);
759 #preferences-button[cui-areatype="toolbar"] {
760 -moz-image-region: rect(0, 468px, 18px, 450px);
763 #preferences-button[cui-areatype="toolbar"]:hover {
764 -moz-image-region: rect(18px, 468px, 36px, 450px);
767 #PanelUI-menu-button {
768 -moz-image-region: rect(0, 486px, 18px, 468px);
771 #PanelUI-menu-button:hover,
772 #PanelUI-menu-button[open="true"] {
773 -moz-image-region: rect(18px, 486px, 36px, 468px);
776 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
777 -moz-image-region: rect(0, 504px, 18px, 486px);
780 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
781 -moz-image-region: rect(18px, 504px, 36px, 486px);
784 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
785 -moz-image-region: rect(36px, 504px, 54px, 486px);
788 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
789 -moz-image-region: rect(0, 522px, 18px, 504px);
792 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
793 -moz-image-region: rect(18px, 522px, 36px, 504px);
796 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
797 -moz-image-region: rect(36px, 522px, 54px, 504px);
800 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
801 -moz-image-region: rect(0, 540px, 18px, 522px);
804 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
805 -moz-image-region: rect(18px, 540px, 36px, 522px);
808 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
809 -moz-image-region: rect(36px, 540px, 54px, 522px);
812 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
813 -moz-image-region: rect(0, 558px, 18px, 540px);
816 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
817 -moz-image-region: rect(18px, 558px, 36px, 540px);
820 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
821 -moz-image-region: rect(36px, 558px, 54px, 540px);
824 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
825 -moz-image-region: rect(0, 576px, 18px, 558px);
828 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
829 -moz-image-region: rect(18px, 576px, 36px, 558px);
832 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
833 -moz-image-region: rect(36px, 576px, 54px, 558px);
836 #nav-bar-overflow-button {
837 -moz-image-region: rect(0, 612px, 18px, 594px);
840 #nav-bar-overflow-button:hover,
841 #nav-bar-overflow-button[open="true"] {
842 -moz-image-region: rect(18px, 612px, 36px, 594px);
845 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
846 transform: scaleX(-1);
850 -moz-image-region: rect(0, 648px, 18px, 630px);
853 #tabview-button:hover {
854 -moz-image-region: rect(18px, 648px, 36px, 630px);
857 #email-link-button[cui-areatype="toolbar"] {
858 -moz-image-region: rect(0, 666px, 18px, 648px);
861 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
862 -moz-image-region: rect(18px, 666px, 36px, 648px);
865 #email-button[cui-areatype="toolbar"][disabled="true"] {
866 -moz-image-region: rect(36px, 666px, 54px, 648px);
869 #sidebar-button[cui-areatype="toolbar"] {
870 -moz-image-region: rect(0, 684px, 18px, 666px);
873 #sidebar-button[cui-areatype="toolbar"]:hover {
874 -moz-image-region: rect(18px, 684px, 36px, 666px);
877 #panic-button[cui-areatype="toolbar"] {
878 -moz-image-region: rect(0, 702px, 18px, 684px);
881 #panic-button[cui-areatype="toolbar"]:hover,
882 #panic-button[cui-areatype="toolbar"][open] {
883 -moz-image-region: rect(18px, 702px, 36px, 684px);
886 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
887 transform: scaleX(-1);
890 #web-apps-button[cui-areatype="toolbar"] {
891 -moz-image-region: rect(0, 720px, 18px, 702px);
894 #web-apps-button[cui-areatype="toolbar"]:hover {
895 -moz-image-region: rect(18px, 720px, 36px, 702px);
898 #loop-button-throttled > .toolbarbutton-badge-container,
899 #loop-button > .toolbarbutton-badge-container {
900 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
901 -moz-image-region: rect(0, 18px, 18px, 0);
904 #loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
905 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
906 -moz-image-region: rect(0, 90px, 18px, 72px);
909 #loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container,
910 #loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container,
911 #loop-button[state="disabled"] > .toolbarbutton-badge-container,
912 #loop-button[disabled="true"] > .toolbarbutton-badge-container {
913 -moz-image-region: rect(0, 36px, 18px, 18px);
916 #loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
917 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
918 -moz-image-region: rect(0, 126px, 18px, 108px);
921 #loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
922 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
923 -moz-image-region: rect(0, 54px, 18px, 36px);
926 #loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
927 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
928 -moz-image-region: rect(0, 72px, 18px, 54px);
931 #loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
932 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
933 -moz-image-region: rect(0, 108px, 18px, 90px);
936 #webide-button[cui-areatype="toolbar"] {
937 -moz-image-region: rect(0, 738px, 18px, 720px);
940 #webide-button[cui-areatype="toolbar"]:hover {
941 -moz-image-region: rect(18px, 738px, 36px, 720px);
944 /* === END toolbarbuttons.inc.css === */
946 /* === BEGIN menupanel.inc.css === */
948 /* Menu panel and palette styles */
951 /* avoid aero overrides with changed filenames */
952 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
953 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
956 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
957 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
958 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
959 #social-share-button, #open-file-button, #find-button, #developer-button,
960 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
961 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
962 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
963 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[cui-areatype="menu-panel"],
964 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
965 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
966 #social-share-button, #open-file-button, #find-button, #developer-button,
967 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
968 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
969 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
970 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) {
971 list-style-image: var(--menupanel-list-style-image);
974 #home-button[cui-areatype="menu-panel"],
975 toolbarpaletteitem[place="palette"] > #home-button {
976 -moz-image-region: rect(0px, 128px, 32px, 96px);
979 #home-button[cui-areatype="menu-panel"]:hover,
980 toolbarpaletteitem[place="palette"] > #home-button:hover {
981 -moz-image-region: rect(32px, 128px, 64px, 96px);
984 #bookmarks-menu-button[cui-areatype="menu-panel"],
985 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
986 -moz-image-region: rect(0px, 192px, 32px, 160px);
989 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
990 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
991 -moz-image-region: rect(32px, 192px, 64px, 160px);
994 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
995 -moz-image-region: rect(32px, 192px, 64px, 160px);
998 #history-panelmenu[cui-areatype="menu-panel"],
999 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1000 -moz-image-region: rect(0px, 224px, 32px, 192px);
1003 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1004 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1005 -moz-image-region: rect(32px, 224px, 64px, 192px);
1008 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1009 -moz-image-region: rect(32px, 224px, 64px, 192px);
1012 #downloads-button[cui-areatype="menu-panel"],
1013 toolbarpaletteitem[place="palette"] > #downloads-button {
1014 -moz-image-region: rect(0px, 256px, 32px, 224px);
1017 #downloads-button[cui-areatype="menu-panel"]:hover,
1018 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1019 -moz-image-region: rect(32px, 256px, 64px, 224px);
1022 #add-ons-button[cui-areatype="menu-panel"],
1023 toolbarpaletteitem[place="palette"] > #add-ons-button {
1024 -moz-image-region: rect(0px, 288px, 32px, 256px);
1027 #add-ons-button[cui-areatype="menu-panel"]:hover,
1028 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1029 -moz-image-region: rect(32px, 288px, 64px, 256px);
1032 #open-file-button[cui-areatype="menu-panel"],
1033 toolbarpaletteitem[place="palette"] > #open-file-button {
1034 -moz-image-region: rect(0px, 320px, 32px, 288px);
1037 #open-file-button[cui-areatype="menu-panel"]:hover,
1038 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1039 -moz-image-region: rect(32px, 320px, 64px, 288px);
1042 #save-page-button[cui-areatype="menu-panel"],
1043 toolbarpaletteitem[place="palette"] > #save-page-button {
1044 -moz-image-region: rect(0px, 352px, 32px, 320px);
1047 #save-page-button[cui-areatype="menu-panel"]:hover,
1048 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1049 -moz-image-region: rect(32px, 352px, 64px, 320px);
1052 #sync-button[cui-areatype="menu-panel"],
1053 toolbarpaletteitem[place="palette"] > #sync-button {
1054 -moz-image-region: rect(0px, 384px, 32px, 352px);
1057 #sync-button[cui-areatype="menu-panel"]:hover,
1058 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1059 -moz-image-region: rect(32px, 384px, 64px, 352px);
1062 #sync-button[cui-areatype="menu-panel"][status="active"] {
1063 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1064 -moz-image-region: rect(0px, 32px, 32px, 0px);
1067 #feed-button[cui-areatype="menu-panel"],
1068 toolbarpaletteitem[place="palette"] > #feed-button {
1069 -moz-image-region: rect(0px, 416px, 32px, 384px);
1072 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1073 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1074 -moz-image-region: rect(32px, 416px, 64px, 384px);
1077 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1078 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1079 -moz-image-region: rect(64px, 416px, 96px, 384px);
1082 #social-share-button[cui-areatype="menu-panel"],
1083 toolbarpaletteitem[place="palette"] > #social-share-button {
1084 -moz-image-region: rect(0px, 448px, 32px, 416px);
1087 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1088 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1089 -moz-image-region: rect(32px, 448px, 64px, 416px);
1092 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1093 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1094 -moz-image-region: rect(64px, 448px, 96px, 416px);
1097 #characterencoding-button[cui-areatype="menu-panel"],
1098 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1099 -moz-image-region: rect(0px, 480px, 32px, 448px);
1102 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1103 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1104 -moz-image-region: rect(32px, 480px, 64px, 448px);
1107 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1108 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1109 -moz-image-region: rect(64px, 480px, 96px, 448px);
1112 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1113 -moz-image-region: rect(32px, 480px, 64px, 448px);
1116 #new-window-button[cui-areatype="menu-panel"],
1117 toolbarpaletteitem[place="palette"] > #new-window-button {
1118 -moz-image-region: rect(0px, 512px, 32px, 480px);
1121 #new-window-button[cui-areatype="menu-panel"]:hover,
1122 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1123 -moz-image-region: rect(32px, 512px, 64px, 480px);
1126 #e10s-button[cui-areatype="menu-panel"],
1127 toolbarpaletteitem[place="palette"] > #e10s-button {
1128 -moz-image-region: rect(0px, 512px, 32px, 480px);
1131 #e10s-button[cui-areatype="menu-panel"]:hover,
1132 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1133 -moz-image-region: rect(32px, 512px, 64px, 480px);
1136 #new-tab-button[cui-areatype="menu-panel"],
1137 toolbarpaletteitem[place="palette"] > #new-tab-button {
1138 -moz-image-region: rect(0px, 544px, 32px, 512px);
1141 #new-tab-button[cui-areatype="menu-panel"]:hover,
1142 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1143 -moz-image-region: rect(32px, 544px, 64px, 512px);
1146 #privatebrowsing-button[cui-areatype="menu-panel"],
1147 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1148 -moz-image-region: rect(0px, 576px, 32px, 544px);
1151 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1152 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1153 -moz-image-region: rect(32px, 576px, 64px, 544px);
1156 #tabview-button[cui-areatype="menu-panel"],
1157 toolbarpaletteitem[place="palette"] > #tabview-button {
1158 -moz-image-region: rect(0px, 608px, 32px, 576px);
1161 #tabview-button[cui-areatype="menu-panel"]:hover,
1162 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1163 -moz-image-region: rect(32px, 608px, 64px, 576px);
1166 #find-button[cui-areatype="menu-panel"],
1167 toolbarpaletteitem[place="palette"] > #find-button {
1168 -moz-image-region: rect(0px, 640px, 32px, 608px);
1171 #find-button[cui-areatype="menu-panel"]:hover,
1172 toolbarpaletteitem[place="palette"] > #find-button:hover {
1173 -moz-image-region: rect(32px, 640px, 64px, 608px);
1176 #print-button[cui-areatype="menu-panel"],
1177 toolbarpaletteitem[place="palette"] > #print-button {
1178 -moz-image-region: rect(0px, 672px, 32px, 640px);
1181 #print-button[cui-areatype="menu-panel"]:hover,
1182 toolbarpaletteitem[place="palette"] > #print-button:hover {
1183 -moz-image-region: rect(32px, 672px, 64px, 640px);
1186 #fullscreen-button[cui-areatype="menu-panel"],
1187 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1188 -moz-image-region: rect(0px, 704px, 32px, 672px);
1191 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1192 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1193 -moz-image-region: rect(32px, 704px, 64px, 672px);
1196 #developer-button[cui-areatype="menu-panel"],
1197 toolbarpaletteitem[place="palette"] > #developer-button {
1198 -moz-image-region: rect(0px, 736px, 32px, 704px);
1201 #developer-button[cui-areatype="menu-panel"]:hover,
1202 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1203 -moz-image-region: rect(32px, 736px, 64px, 704px);
1206 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1207 -moz-image-region: rect(32px, 736px, 64px, 704px);
1210 #preferences-button[cui-areatype="menu-panel"],
1211 toolbarpaletteitem[place="palette"] > #preferences-button {
1212 -moz-image-region: rect(0px, 768px, 32px, 736px);
1215 #preferences-button[cui-areatype="menu-panel"]:hover,
1216 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1217 -moz-image-region: rect(32px, 768px, 64px, 736px);
1220 #email-link-button[cui-areatype="menu-panel"],
1221 toolbarpaletteitem[place="palette"] > #email-link-button {
1222 -moz-image-region: rect(0, 800px, 32px, 768px);
1225 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1226 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1227 -moz-image-region: rect(32px, 800px, 64px, 768px);
1230 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1231 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1232 -moz-image-region: rect(64px, 800px, 96px, 768px);
1235 #sidebar-button[cui-areatype="menu-panel"],
1236 toolbarpaletteitem[place="palette"] > #sidebar-button {
1237 -moz-image-region: rect(0, 864px, 32px, 832px);
1240 #sidebar-button[cui-areatype="menu-panel"]:hover,
1241 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1242 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1243 -moz-image-region: rect(32px, 864px, 64px, 832px);
1246 #panic-button[cui-areatype="menu-panel"],
1247 toolbarpaletteitem[place="palette"] > #panic-button {
1248 -moz-image-region: rect(0, 896px, 32px, 864px);
1251 #panic-button[cui-areatype="menu-panel"]:hover,
1252 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1253 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1254 -moz-image-region: rect(32px, 896px, 64px, 864px);
1257 #web-apps-button[cui-areatype="menu-panel"],
1258 toolbarpaletteitem[place="palette"] > #web-apps-button {
1259 -moz-image-region: rect(0, 928px, 32px, 896px);
1262 #web-apps-button[cui-areatype="menu-panel"]:hover,
1263 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1264 -moz-image-region: rect(32px, 928px, 64px, 896px);
1267 #webide-button[cui-areatype="menu-panel"],
1268 toolbarpaletteitem[place="palette"] > #webide-button {
1269 -moz-image-region: rect(0px, 960px, 32px, 928px);
1272 #webide-button[cui-areatype="menu-panel"]:hover,
1273 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1274 -moz-image-region: rect(32px, 960px, 64px, 928px);
1277 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1278 -moz-image-region: rect(0, 832px, 32px, 800px);
1281 #loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1282 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1283 #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1284 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1285 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1286 -moz-image-region: rect(0, 32px, 32px, 0);
1289 /* Make sure that the state icons are not shown in the customization palette. */
1290 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1291 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1292 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1295 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1296 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1297 -moz-image-region: rect(0, 160px, 32px, 128px);
1300 #loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1301 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container,
1302 #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1303 #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1304 -moz-image-region: rect(0, 64px, 32px, 32px);
1307 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1308 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1309 -moz-image-region: rect(0, 224px, 32px, 192px);
1312 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
1313 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1314 -moz-image-region: rect(0, 96px, 32px, 64px);
1317 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
1318 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1319 -moz-image-region: rect(0, 128px, 32px, 96px);
1322 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
1323 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1324 -moz-image-region: rect(0, 192px, 32px, 160px);
1327 /* Wide panel control icons */
1329 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1330 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1331 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1332 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1333 list-style-image: var(--menupanel-small-list-style-image);
1336 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1337 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1338 -moz-image-region: rect(0px, 32px, 16px, 16px);
1341 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1342 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1343 -moz-image-region: rect(16px, 32px, 32px, 16px);
1346 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1347 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1348 -moz-image-region: rect(32px, 32px, 48px, 16px);
1351 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1352 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1353 -moz-image-region: rect(0px, 48px, 16px, 32px);
1356 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1357 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1358 -moz-image-region: rect(16px, 48px, 32px, 32px);
1361 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1362 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1363 -moz-image-region: rect(32px, 48px, 48px, 32px);
1366 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1367 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1368 -moz-image-region: rect(0px, 64px, 16px, 48px);
1371 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1372 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1373 -moz-image-region: rect(16px, 64px, 32px, 48px);
1376 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1377 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1378 -moz-image-region: rect(32px, 64px, 48px, 48px);
1381 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1382 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1383 -moz-image-region: rect(0px, 80px, 16px, 64px);
1386 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1387 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1388 -moz-image-region: rect(16px, 80px, 32px, 64px);
1391 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1392 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1393 -moz-image-region: rect(32px, 80px, 48px, 64px);
1396 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1397 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1398 -moz-image-region: rect(0px, 96px, 16px, 80px);
1401 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1402 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1403 -moz-image-region: rect(16px, 96px, 32px, 80px);
1406 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1407 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1408 -moz-image-region: rect(32px, 96px, 48px, 80px);
1411 #add-share-provider {
1412 list-style-image: var(--menupanel-small-list-style-image);
1413 -moz-image-region: rect(0px, 96px, 16px, 80px);
1416 /* === END menupanel.inc.css === */
1418 .toolbarbutton-1:not([type="menu-button"]) {
1419 -moz-box-orient: vertical;
1423 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1429 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1430 .toolbarbutton-1[disabled="true"]:hover:active,
1431 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1435 .toolbarbutton-1:hover:active,
1436 .toolbarbutton-1[open="true"],
1437 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1439 padding-bottom: 0px;
1440 -moz-padding-start: 3px;
1441 -moz-padding-end: 1px;
1444 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1445 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1446 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1447 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1448 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1451 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1452 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1455 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1456 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1459 .toolbarbutton-1 > .toolbarbutton-icon,
1460 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1463 #nav-bar .toolbarbutton-1,
1464 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1467 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1468 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1469 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1472 #nav-bar #PanelUI-menu-button {
1473 /* -moz-padding-start: 7px;
1474 -moz-padding-end: 5px;*/
1477 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1478 /* padding-left: 5px;
1479 padding-right: 5px;*/
1482 #nav-bar .toolbarbutton-1 > menupopup {
1483 /* margin-top: -3px;*/
1486 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1490 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1491 /* -moz-padding-end: 0;*/
1494 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1495 /* -moz-padding-start: 0;
1496 -moz-box-align: center;*/
1499 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1500 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1501 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1502 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1503 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1504 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1505 /* padding: 2px 6px;
1507 border-color: transparent;
1508 transition-property: background-color, border-color;
1509 transition-duration: 150ms;*/
1512 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1513 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1514 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1519 /* Help SDK icons fit: */
1520 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1524 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1525 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1529 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1530 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1531 /* -moz-padding-end: 17px;*/
1534 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1537 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1540 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1543 #nav-bar .toolbaritem-combined-buttons {
1544 /* margin-left: 2px;
1545 margin-right: 2px;*/
1548 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1553 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1554 #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 {
1560 -moz-margin-end: -1px;
1564 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1567 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1568 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1569 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1570 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1571 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1572 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1573 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1574 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1577 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1578 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1579 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1580 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1581 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1584 #TabsToolbar .toolbarbutton-1,
1585 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1586 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1587 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1590 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1591 #TabsToolbar .toolbarbutton-1[open],
1592 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1593 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1594 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1597 /* unified back/forward button */
1600 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1603 #forward-button > menupopup {
1604 margin-top: 1px !important;
1607 #forward-button > .toolbarbutton-icon {
1608 background-clip: padding-box !important;
1609 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1610 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1614 -moz-margin-start: -4px !important;
1619 border-radius: 0 10000px 10000px 0;
1622 #forward-button:-moz-locale-dir(rtl) {
1623 border-radius: 10000px 0 0 10000px;
1626 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1627 transition: margin-left 150ms ease-out;
1630 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1631 margin-left: -27px !important;
1634 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1635 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1636 transition-delay: 100s;
1639 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1640 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1641 margin-left: -27.01px !important;
1645 /* padding-top: 3px !important;
1646 padding-bottom: 3px !important;
1647 -moz-padding-start: 5px !important;
1648 -moz-padding-end: 0 !important;*/
1651 border-radius: 10000px;
1655 margin-bottom: -2px;
1658 #back-button:-moz-locale-dir(rtl) {
1661 #back-button > menupopup {
1662 margin-top: -1px !important;
1665 #back-button > .toolbarbutton-icon {
1666 border-radius: 10000px !important;
1667 background-clip: padding-box !important;
1668 /* background-color: hsla(210,25%,98%,.08) !important;
1669 padding: 6px !important;
1670 border-style: none !important;
1671 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1672 0 0 0 1px hsla(210,4%,10%,.25);*/
1673 transition-property: background-color, box-shadow !important;
1674 transition-duration: 250ms !important;
1677 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1678 /* background-color: hsla(210,4%,10%,.08) !important;*/
1681 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1682 #back-button[open="true"] > .toolbarbutton-icon {
1683 /* background-color: hsla(210,4%,10%,.12) !important;
1684 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1685 0 0 0 1px hsla(210,4%,10%,.25),
1686 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1689 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1690 transform: scaleX(-1);
1693 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1694 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1695 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1698 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1699 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1700 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1703 #home-button.bookmark-item {
1704 list-style-image: url("chrome://browser/skin/Toolbar.png");
1707 #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),
1708 #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),
1709 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1710 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1711 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1712 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1713 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1716 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1719 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1720 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1721 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1725 #downloads-button > .toolbarbutton-icon {
1729 /* tabview menu item */
1732 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1733 -moz-image-region: rect(1px, 89px, 17px, 73px);
1736 #menu_tabview[groups="0"] {
1737 -moz-image-region: rect(1px, 17px, 17px, 1px);
1740 #menu_tabview[groups="1"] {
1741 -moz-image-region: rect(1px, 35px, 17px, 19px);
1744 #menu_tabview[groups="2"] {
1745 -moz-image-region: rect(1px, 53px, 17px, 37px);
1748 #menu_tabview[groups="3"] {
1749 -moz-image-region: rect(1px, 71px, 17px, 55px);
1752 /* undo close tab menu item */
1753 #alltabs_undoCloseTab {
1754 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1757 @media (min-resolution: 1.25dppx) {
1758 #alltabs_undoCloseTab {
1759 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1761 #alltabs_undoCloseTab > .toolbarbutton-icon {
1766 /* zoom control text (reset) button special case: */
1768 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1769 /* To make this line up with the icons, it needs the same height (18px) +
1770 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1771 * increase in text sizes would break things...
1776 /* ::::: fullscreen window controls ::::: */
1779 -moz-margin-start: 4px;
1785 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1790 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1793 #minimize-button:hover {
1794 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1798 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1801 #restore-button:hover {
1802 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1806 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1809 #close-button:hover {
1810 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1813 /* ::::: Location Bar ::::: */
1816 .searchbar-textbox {
1819 -moz-margin-start: 3px;
1823 /* make color as light as possible to deal with dark non-domain parts */
1827 #urlbar:-moz-lwtheme,
1828 .searchbar-textbox:-moz-lwtheme {
1829 /* background-color: rgba(255,255,255,.8);
1830 @navbarTextboxCustomBorder@
1834 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1835 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1836 /* background-color: rgba(255,255,255,.9);*/
1839 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1840 .searchbar-textbox:-moz-lwtheme[focused] {
1841 /* background-color: white;*/
1844 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1845 /* -moz-border-start: none;
1849 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1850 /* border-top-left-radius: 0;
1851 border-bottom-left-radius: 0; */
1854 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1855 /* border-top-right-radius: 0;
1856 border-bottom-right-radius: 0; */
1859 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1860 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1861 /* -moz-margin-start: -5px; */
1864 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1865 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1866 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1867 transform: scaleX(-1);
1870 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1871 -moz-box-direction: reverse;
1874 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1875 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1880 -moz-box-orient: horizontal;
1881 -moz-box-align: stretch;
1884 .urlbar-textbox-container {
1885 -moz-box-align: stretch;
1889 -moz-margin-start: 0;
1893 -moz-box-align: center;
1900 .searchbar-engine-button,
1901 .search-go-container {
1905 .search-go-container > .search-go-button {
1909 .urlbar-icon:hover {
1912 .urlbar-icon[open="true"],
1913 .urlbar-icon:hover:active {
1916 #urlbar-search-splitter {
1918 -moz-margin-start: -3px;
1920 background: transparent;
1923 #urlbar-search-splitter + #urlbar-container > #urlbar,
1924 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1925 -moz-margin-start: 0;
1928 #urlbar-display-box {
1932 -moz-border-end: 1px solid #9C9CFF;
1933 -moz-margin-end: 3px;
1936 -moz-margin-start: 0;
1941 min-width: calc(54px + 11ch);
1951 #identity-box:-moz-locale-dir(ltr) {
1952 /* border-top-left-radius: 1.5px;
1953 border-bottom-left-radius: 1.5px;*/
1956 #identity-box:-moz-locale-dir(rtl) {
1957 /* border-top-right-radius: 1.5px;
1958 border-bottom-right-radius: 1.5px;*/
1961 #notification-popup-box:not([hidden]) + #identity-box {
1962 -moz-padding-start: 10px !important;
1966 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1967 /* border-radius: 0; */
1968 -moz-padding-start: 2px;
1969 -moz-padding-end: 2px;
1970 -moz-margin-end: 1px;
1973 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1974 transition: padding-left, padding-right;
1977 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1978 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1982 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1983 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1987 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1988 #notification-popup-box[hidden] + #identity-box {
1989 /* forward button hiding is delayed when hovered */
1990 transition-delay: 100s;
1993 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1994 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1995 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1996 padding-left: 2.01px;
1999 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2000 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2001 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2002 padding-right: 2.01px;
2005 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2006 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2007 -moz-margin-end: 3px;
2010 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
2011 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
2012 border-top-right-radius: 0;
2013 border-bottom-right-radius: 0;
2016 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
2017 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
2018 border-top-left-radius: 0;
2019 border-bottom-left-radius: 0;
2022 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2023 var(--verified-identity-box-backgroundcolor);
2026 #identity-box:-moz-focusring {
2027 outline: 1px dotted #008484;
2028 outline-offset: -1px;
2031 #identity-box.verifiedDomain:-moz-focusring,
2032 #identity-box.verifiedIdentity:-moz-focusring {
2033 outline-color: #000000;
2036 #identity-icon-labels {
2037 -moz-margin-start: 1px;
2038 -moz-margin-end: 3px;
2041 /* Location bar dropmarker */
2043 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2044 background-color: transparent;
2047 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2048 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
2053 .urlbar-history-dropmarker:hover {
2056 .urlbar-history-dropmarker:hover:active,
2057 .urlbar-history-dropmarker[open="true"] {
2060 /* page proxy icon */
2062 /* === BEGIN identity-block.inc.css === */
2065 --identity-box-verified-color: #008484;
2066 /* Default theme does different color per channel, we can't as they do it build-time. */
2067 --identity-box-chrome-color: #9C9CFF;
2070 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2071 color: var(--identity-box-chrome-color);
2072 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2075 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2076 color: var(--identity-box-verified-color);
2077 -moz-border-end: 1px solid var(--identity-box-verified-color);
2080 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2081 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2082 background-position: right;
2083 background-size: 1px;
2084 background-repeat: no-repeat;
2087 /* page proxy icon */
2089 #page-proxy-favicon {
2092 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2096 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2097 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2100 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2101 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2104 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2105 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2108 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2109 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2112 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2113 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2116 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2117 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2120 #page-proxy-favicon[pageproxystate="invalid"] {
2124 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2125 list-style-image: url("chrome://branding/content/icon64.png");
2128 #identity-popup-brandName {
2132 margin-bottom: .5em;
2135 #identity-popup-content-box {
2139 /* === END identity-block.inc.css === */
2141 #page-proxy-favicon {
2142 -moz-image-region: rect(0, 16px, 16px, 0);
2145 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2146 /* -moz-margin-end: 1px;*/
2149 #identity-box:hover > #page-proxy-favicon {
2150 -moz-image-region: rect(0, 32px, 16px, 16px);
2153 #identity-box:hover:active > #page-proxy-favicon,
2154 #identity-box[open=true] > #page-proxy-favicon {
2155 -moz-image-region: rect(0, 48px, 16px, 32px);
2158 #identity-box:hover {
2159 background-color: #FFCF00;
2163 #identity-box:hover:active,
2164 #identity-box[open=true] {
2165 background-color: #FF9F00;
2169 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2170 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2171 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2172 background-color: #9C9CFF;
2176 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2177 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2178 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2179 background-color: #008484;
2185 #treecolAutoCompleteImage {
2189 .ac-result-type-bookmark,
2190 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2191 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2192 -moz-image-region: rect(0px 16px 16px 0px);
2197 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2198 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2199 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2202 .ac-result-type-keyword,
2203 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2204 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2205 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2210 .ac-result-type-keyword[selected="true"],
2211 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2212 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2213 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2216 .ac-result-type-tag,
2217 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2218 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2227 .ac-extra > .ac-comment {
2237 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2238 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2239 -moz-image-region: rect(0, 16px, 16px, 0);
2243 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2244 -moz-image-region: rect(16px, 16px, 32px, 0);
2247 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2251 .ac-comment[selected="true"],
2252 .ac-url-text[selected="true"],
2253 .ac-action-text[selected="true"] {
2254 color: inherit !important;
2257 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2258 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2264 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2265 border-top: 1px solid #9C9CFF;
2268 /* combined go/reload/stop button in location bar */
2270 #urlbar > toolbarbutton {
2271 -moz-margin-start: 0;
2273 background-origin: border-box;
2275 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2276 -moz-border-start: 1px solid #9C9CFF;
2279 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2280 border-top-left-radius: 0px;
2281 border-bottom-left-radius: 0px;
2284 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2285 border-top-right-radius: 0px;
2286 border-bottom-right-radius: 0px;
2289 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2290 #urlbar-reload-button:not(:hover) {
2291 -moz-border-start-style: none;
2292 -moz-padding-start: 3px;
2295 #urlbar-reload-button {
2296 -moz-image-region: rect(0px, 14px, 14px, 0px);
2299 #urlbar-reload-button[disabled=true] {
2300 -moz-image-region: rect(28px, 14px, 42px, 0px);
2303 #urlbar-reload-button:not([disabled=true]):hover {
2304 -moz-image-region: rect(14px, 14px, 28px, 0px);
2307 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2308 transform: scaleX(-1);
2312 -moz-image-region: rect(0, 42px, 14px, 28px);
2315 #urlbar-go-button:hover {
2316 -moz-image-region: rect(14px, 42px, 28px, 28px);
2319 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2320 transform: scaleX(-1);
2323 #urlbar-stop-button {
2324 -moz-image-region: rect(0px, 28px, 14px, 14px);
2327 #urlbar-stop-button:hover {
2328 -moz-image-region: rect(14px, 28px, 28px, 14px);
2331 /* popup blocker button */
2333 #page-report-button {
2334 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2335 -moz-image-region: rect(0, 16px, 16px, 0);
2338 #page-report-button:hover ,
2339 #page-report-button:hover:active,
2340 #page-report-button[open="true"] {
2341 -moz-image-region: rect(0, 32px, 16px, 16px);
2344 /* social share panel */
2346 #social-share-panel > iframe {
2347 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2352 .social-share-toolbar {
2353 border-right: 1px solid #9C9CFF;
2354 /* background-color: #000000; */
2357 #social-share-provider-buttons {
2361 #social-share-provider-buttons > .share-provider-button {
2362 -moz-appearance: none;
2370 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2371 #social-share-provider-buttons > .share-provider-button:hover,
2372 #social-share-provider-buttons > .share-provider-button:active {
2376 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2379 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2382 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2388 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2395 /* fixup corners for share panel */
2396 .social-panel > .social-panel-frame {
2397 border-radius: inherit;
2400 #social-share-panel {
2407 .social-share-frame {
2408 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2411 /* we resize our panels dynamically, make it look nice */
2412 transition: height 100ms ease-out, width 100ms ease-out;
2415 .social-share-frame:-moz-locale-dir(ltr) {
2416 border-top-left-radius: 0;
2417 border-bottom-left-radius: 0;
2418 border-top-right-radius: inherit;
2419 border-bottom-right-radius: inherit;
2422 .social-share-frame:-moz-locale-dir(rtl) {
2423 border-top-left-radius: inherit;
2424 border-bottom-left-radius: inherit;
2425 border-top-right-radius: 0;
2426 border-bottom-right-radius: 0;
2429 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2430 border-top-left-radius: inherit;
2431 border-bottom-left-radius: inherit;
2434 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2435 border-top-right-radius: inherit;
2436 border-bottom-right-radius: inherit;
2439 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2440 border-top-left-radius: inherit;
2441 border-bottom-left-radius: inherit;
2444 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2445 border-top-right-radius: inherit;
2446 border-bottom-right-radius: inherit;
2449 /* social recommending panel */
2451 #social-mark-button {
2452 -moz-image-region: rect(0, 16px, 16px, 0);
2455 /* bookmarks menu-button */
2457 #bookmarks-menu-button.bookmark-item {
2458 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2459 -moz-image-region: rect(0px 16px 16px 0px);
2462 #bookmarks-menu-button.bookmark-item[starred] {
2463 -moz-image-region: rect(0px 32px 16px 16px);
2466 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2467 -moz-margin-start: 5px;
2470 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2472 padding-bottom: 2px;
2475 #BMB_bookmarksPopup[side="top"],
2476 #BMB_bookmarksPopup[side="bottom"] {
2478 margin-right: -20px;
2481 #BMB_bookmarksPopup[side="left"],
2482 #BMB_bookmarksPopup[side="right"] {
2484 margin-bottom: -20px;
2487 /* bookmarking panel */
2489 #editBookmarkPanelStarIcon {
2490 list-style-image: url("chrome://browser/skin/places/starred48.png");
2495 #editBookmarkPanelStarIcon[unstarred] {
2496 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2499 #editBookmarkPanelTitle {
2503 #editBookmarkPanelHeader,
2504 #editBookmarkPanelContent {
2505 margin-bottom: .5em;
2508 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2509 #editBMPanel_folderTree {
2516 border-top: 1px solid #9C9CFF;
2517 border-bottom-left-radius: 5px;
2518 border-bottom-right-radius: 5px;
2522 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2523 -moz-margin-end: 10px;
2524 vertical-align: middle;
2527 .panel-promo-closebutton {
2528 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2529 -moz-margin-end: -3px;
2533 .panel-promo-closebutton:hover {
2534 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2537 .panel-promo-closebutton:hover:active {
2538 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2541 .panel-promo-closebutton > .toolbarbutton-text {
2545 /* ::::: content area ::::: */
2548 background-color: Window;
2552 -moz-padding-start: 0px;
2555 #sidebar-header > .close-icon {
2556 /* padding: 4px 2px;
2559 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2562 #sidebar-header > .close-icon:hover,
2563 #sidebar-header > .close-icon:hover:active {
2564 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2567 .browserContainer > findbar {
2569 background-color: -moz-dialog;
2570 color: -moz-DialogText;
2579 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2582 #TabsToolbar .toolbar-holder {
2583 background-color: #000000; /* correct effect of being an actual toolbar */
2586 #main-window[disablechrome] #TabsToolbar,
2587 #TabsToolbar[tabsontop="false"] {
2588 border-bottom: 1px solid #008484;
2591 /* === BEGIN tabs.inc.css === */
2594 .tabs-newtab-button,
2595 #TabsToolbar > #new-tab-button {
2600 padding: 1px 4px 2px;
2603 .tabbrowser-tab:first-of-type {
2604 -moz-margin-start: 2px;
2607 .tabs-newtab-button,
2608 #TabsToolbar > #new-tab-button {
2609 border-radius: 8px 8px 0px 0px;
2610 -moz-margin-start: 0;
2613 .tabs-newtab-button:not(:hover),
2614 #TabsToolbar > #new-tab-button:not(:hover) {
2615 background-color: #C09070;
2618 .tabbrowser-tab[remote] {
2619 text-decoration: underline;
2622 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2623 .tabbrowser-tab[selected=true] {
2624 /* position: relative;
2628 .tab-background-middle {
2646 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2649 .tab-throbber[busy] {
2650 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2653 .tab-throbber[progress] {
2654 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2657 .tab-throbber:not([pinned]),
2658 .tab-icon-image:not([pinned]) {
2659 -moz-margin-end: 3px;
2662 .tab-throbber[pinned],
2663 .tab-icon-image[pinned] {
2664 -moz-margin-start: 2px;
2665 -moz-margin-end: 2px;
2669 /* this needs to add up to the 16px of the icon image */
2671 margin-top: 2px !important;
2672 margin-bottom: 2px !important;
2681 .tabs-newtab-button {
2682 /* overlap the tab curves */
2685 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2689 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2690 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2693 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2694 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2697 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2700 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2703 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2704 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2707 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2708 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2711 .tab-background-start[selected=true]::after,
2712 .tab-background-start[selected=true]::before,
2713 .tab-background-start,
2714 .tab-background-end,
2715 .tab-background-end[selected=true]::after,
2716 .tab-background-end[selected=true]::before {
2719 .tabbrowser-tab:not([selected=true]),
2720 .tabbrowser-tab:-moz-lwtheme {
2723 /* tabbrowser-tab focus ring */
2724 .tabbrowser-tab:focus {
2725 outline: 1px dotted;
2730 .tabbrowser-tab[selected="true"] {
2733 /* End selected tab */
2735 /* Tab pointer-events */
2738 pointer-events: none;
2741 .tab-background-middle,
2742 .tabs-newtab-button,
2744 pointer-events: auto;
2749 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2750 background-color: #E7ADE7;
2753 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2754 background-color: #3333FF;
2758 /* New tab button */
2760 .tabs-newtab-button {
2764 /* === END tabs.inc.css === */
2768 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2769 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2770 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2772 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2773 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2776 /* Tab DnD indicator */
2777 .tab-drop-indicator {
2778 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2779 margin-bottom: -11px;
2782 /* Tab close button */
2784 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2787 .tab-close-button:hover,
2788 .tab-close-button:hover[selected="true"] {
2789 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2792 .tab-close-button:hover:active,
2793 .tab-close-button:hover:active[selected="true"] {
2794 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2797 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2799 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2800 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2804 background-origin: border-box;
2807 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2808 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2809 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2810 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2813 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2814 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2817 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2818 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2819 /* transform: scaleX(-1);*/
2822 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2823 transition: 1s background-color ease-out;
2826 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2827 background-color: #008484;
2830 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2831 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2832 /* border-width: 0 2px 0 0;
2833 border-style: solid;
2834 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2837 .tabs-newtab-button > .toolbarbutton-icon {
2839 margin-bottom: -1px;
2842 .tabs-newtab-button,
2843 #TabsToolbar > #new-tab-button,
2844 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2845 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2846 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2847 -moz-image-region: rect(0, 16px, 18px, 0);
2850 .tabs-newtab-button,
2851 .tabs-newtab-button:hover,
2852 #TabsToolbar > #new-tab-button,
2853 #TabsToolbar > #new-tab-button:hover {
2854 -moz-image-region: rect(0, 32px, 18px, 16px);
2857 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2858 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2859 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2860 .tabs-newtab-button:-moz-lwtheme-brighttext,
2861 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2862 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2865 #TabsToolbar > #new-tab-button {
2870 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2873 #alltabs-button:hover,
2874 #alltabs-button:hover:active,
2875 #alltabs-button[open="true"] {
2876 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2879 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2880 #alltabs-button:-moz-lwtheme-brighttext {
2883 #alltabs-button > .toolbarbutton-icon {
2887 #alltabs-button > .toolbarbutton-menu-dropmarker {
2891 /* All tabs menupopup */
2892 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2893 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2894 -moz-image-region: auto;
2897 .alltabs-item[selected="true"] {
2901 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2902 list-style-image: url("chrome://global/skin/icons/loading.gif");
2905 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2906 background-color: #402800;
2909 toolbarbutton.chevron {
2910 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2913 toolbarbutton.chevron:hover {
2914 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2917 toolbar[brighttext] toolbarbutton.chevron {
2918 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
2921 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2922 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2923 transform: scaleX(-1);
2926 toolbarbutton.chevron > .toolbarbutton-text,
2927 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2931 toolbarbutton.chevron > .toolbarbutton-icon {
2935 #sidebar-throbber[loading="true"] {
2936 list-style-image: url("chrome://global/skin/icons/loading.gif");
2937 -moz-margin-end: 4px;
2940 /* Bookmarks toolbar */
2941 #PlacesToolbarDropIndicator {
2942 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2945 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2946 background-color: #008484 !important;
2947 color: #FFCF00 !important;
2950 /* rules for menupopup drop indicators */
2951 .menupopup-drop-indicator-bar {
2953 /* these two margins must together compensate the indicator's height */
2955 margin-bottom: -1px;
2958 .menupopup-drop-indicator {
2959 list-style-image: none;
2961 -moz-margin-end: -4em;
2962 background-color: #008484;
2965 /* ::::: Identity Indicator Styling ::::: */
2968 #identity-popup-icon {
2972 list-style-image: url("chrome://browser/skin/identity.png");
2973 -moz-image-region: rect(0px, 64px, 64px, 0px);
2976 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2977 -moz-image-region: rect(64px, 64px, 128px, 0px);
2980 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2981 -moz-image-region: rect(128px, 64px, 192px, 0px);
2984 /* Popup Body Text */
2985 .identity-popup-description {
2986 white-space: pre-wrap;
2987 -moz-padding-start: 15px;
2991 .identity-popup-label {
2992 white-space: pre-wrap;
2993 -moz-padding-start: 15px;
2997 #identity-popup-content-host,
2998 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
3002 #identity-popup-content-host {
3009 #identity-popup-content-owner {
3011 margin-bottom: 0 !important;
3016 .verifiedDomain > #identity-popup-content-owner {
3017 font-weight: normal;
3020 #identity-popup-content-verifier {
3024 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
3025 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
3027 -moz-margin-start: -24px;
3030 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
3031 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
3032 list-style-image: url("chrome://browser/skin/Secure24.png");
3035 #identity-popup-help-icon {
3037 margin: 7px 0 0 -3px;
3040 list-style-image: url("chrome://global/skin/icons/question-16.png");
3044 #identity-popup-help-icon > .button-box > .button-text {
3048 #identity-popup-help-icon > .button-box > .button-icon {
3053 #identity-popup-more-info-button {
3059 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
3063 #identity-popup-container {
3068 #identity-popup-button-container {
3069 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3074 .popup-notification-icon {
3077 -moz-margin-end: 10px;
3080 .popup-notification-icon[popupid="geolocation"] {
3081 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3084 .popup-notification-icon[popupid="xpinstall-disabled"],
3085 .popup-notification-icon[popupid="addon-progress"],
3086 .popup-notification-icon[popupid="addon-install-cancelled"],
3087 .popup-notification-icon[popupid="addon-install-blocked"],
3088 .popup-notification-icon[popupid="addon-install-failed"],
3089 .popup-notification-icon[popupid="addon-install-complete"] {
3090 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3095 .popup-notification-icon[popupid="click-to-play-plugins"] {
3096 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3099 .popup-notification-icon[popupid="web-notifications"] {
3100 list-style-image: url("chrome://browser/skin/notification-64.png");
3103 .addon-progress-description {
3108 .popup-progress-label,
3109 .popup-progress-meter {
3110 -moz-margin-start: 0;
3114 .popup-progress-cancel {
3115 -moz-appearance: none;
3116 background: transparent;
3122 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
3123 -moz-image-region: rect(0px, 32px, 16px, 16px);
3126 .popup-progress-cancel:hover {
3127 -moz-image-region: rect(16px, 32px, 32px, 16px);
3130 .popup-progress-cancel:active {
3131 -moz-image-region: rect(32px, 32px, 48px, 16px);
3134 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3135 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
3136 .popup-notification-icon[popupid*="offline-app-requested"],
3137 .popup-notification-icon[popupid="offline-app-usage"] {
3138 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3141 .popup-notification-icon[popupid="password-save"],
3142 .popup-notification-icon[popupid="password-change"] {
3143 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3146 .popup-notification-icon[popupid="webapps-install-progress"],
3147 .popup-notification-icon[popupid="webapps-install"] {
3148 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3151 .popup-notification-icon[popupid="bad-content"] {
3152 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3155 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3156 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3157 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3160 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3161 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3162 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3165 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3166 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3167 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3170 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3171 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3172 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3175 .popup-notification-icon[popupid="pointerLock"] {
3176 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3179 /* Notification icon box */
3180 #notification-popup .panel-promo-box {
3181 /* margin: 10px -10px -10px; */
3184 #notification-popup-box {
3186 background-color: #000000;
3187 background-clip: padding-box;
3190 border-radius: 3px 0 0 3px;
3191 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3192 -moz-margin-end: -8px;
3193 border-right-width: 8px;
3196 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3197 /* padding-left: 7px; */
3200 #notification-popup-box:-moz-locale-dir(rtl),
3201 .notification-anchor-icon:-moz-locale-dir(rtl) {
3202 transform: scaleX(-1);
3205 .notification-anchor-icon {
3211 .notification-anchor-icon:-moz-focusring {
3212 outline: 1px dotted #008484;
3215 .default-notification-icon,
3216 #default-notification-icon {
3217 list-style-image: url("chrome://global/skin/icons/information-16.png");
3220 .identity-notification-icon,
3221 #identity-notification-icon {
3222 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3225 .geo-notification-icon,
3226 #geo-notification-icon {
3227 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3230 #addons-notification-icon {
3231 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3234 .indexedDB-notification-icon,
3235 #indexedDB-notification-icon {
3236 list-style-image: url("chrome://global/skin/icons/question-16.png");
3239 #password-notification-icon {
3240 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3243 #webapps-notification-icon {
3244 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3247 #plugins-notification-icon {
3248 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3251 #plugins-notification-icon.plugin-hidden {
3252 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3255 #plugins-notification-icon.plugin-blocked {
3256 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3259 #plugins-notification-icon {
3260 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3263 #plugins-notification-icon:hover {
3264 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3267 #notification-popup-box[hidden] {
3268 /* Override display:none to make the pluginBlockedNotification animation work
3269 when showing the notification repeatedly. */
3271 visibility: collapse;
3274 #plugins-notification-icon.plugin-blocked[showing] {
3275 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3278 @keyframes pluginBlockedNotification {
3287 .bad-content-blocked-notification-icon,
3288 #bad-content-blocked-notification-icon {
3289 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3292 .bad-content-unblocked-notification-icon,
3293 #bad-content-unblocked-notification-icon {
3294 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3297 .webRTC-shareDevices-notification-icon,
3298 #webRTC-shareDevices-notification-icon {
3299 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3302 .webRTC-sharingDevices-notification-icon,
3303 #webRTC-sharingDevices-notification-icon {
3304 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3307 .webRTC-shareMicrophone-notification-icon,
3308 #webRTC-shareMicrophone-notification-icon {
3309 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3312 .webRTC-sharingMicrophone-notification-icon,
3313 #webRTC-sharingMicrophone-notification-icon {
3314 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3317 .webRTC-shareScreen-notification-icon,
3318 #webRTC-shareScreen-notification-icon {
3319 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3322 .webRTC-sharingScreen-notification-icon,
3323 #webRTC-sharingScreen-notification-icon {
3324 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3327 .web-notifications-notification-icon,
3328 #web-notifications-notification-icon {
3329 list-style-image: url("chrome://browser/skin/notification-16.png");
3332 #pointerLock-notification-icon {
3333 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3335 #pointerLock-cancel {
3339 /* Translation infobar */
3341 /* === BEGIN infobar.inc.css === */
3343 notification[value="translation"] .messageImage {
3344 list-style-image: url("chrome://browser/skin/translation-16.png");
3345 -moz-image-region: rect(0, 32px, 16px, 16px);
3348 @media (min-resolution: 1.25dppx) {
3349 notification[value="translation"] .messageImage {
3350 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3351 -moz-image-region: rect(0, 64px, 32px, 32px);
3355 notification[value="translation"][state="translating"] .messageImage {
3356 list-style-image: url("chrome://browser/skin/translating-16.png");
3357 -moz-image-region: auto;
3360 @media (min-resolution: 1.25dppx) {
3361 notification[value="translation"][state="translating"] .messageImage {
3362 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3366 notification[value="translation"] button,
3367 notification[value="translation"] menulist {
3371 notification[value="translation"] menulist > .menulist-dropmarker {
3374 .translation-menupopup arrowscrollbox {
3378 .translation-attribution {
3380 -moz-box-align: end;
3384 .translation-attribution > label {
3388 .translation-attribution > image {
3392 .translation-welcome-panel {
3396 .translation-welcome-logo {
3399 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3400 -moz-image-region: rect(0, 64px, 32px, 32px);
3403 .translation-welcome-content {
3404 -moz-margin-start: 16px;
3407 .translation-welcome-headline {
3412 .translation-welcome-body {
3417 /* === END infobar.inc.css === */
3419 notification[value="translation"] {
3423 .translate-notification-icon,
3424 #translate-notification-icon {
3425 list-style-image: url("chrome://browser/skin/translation-16.png");
3426 -moz-image-region: rect(0px, 16px, 16px, 0px);
3429 .translated-notification-icon,
3430 #translated-notification-icon {
3431 list-style-image: url("chrome://browser/skin/translation-16.png");
3432 -moz-image-region: rect(0px, 32px, 16px, 16px);
3435 .translation-menupopup {
3436 -moz-appearance: none;
3439 /* Bookmarks roots menu-items */
3440 #subscribeToPageMenuitem:not([disabled]),
3441 #subscribeToPageMenupopup,
3442 #BMB_subscribeToPageMenuitem:not([disabled]),
3443 #BMB_subscribeToPageMenupopup {
3444 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3447 #bookmarksToolbarFolderMenu,
3448 #BMB_bookmarksToolbar,
3449 #panelMenu_bookmarksToolbar {
3450 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3451 -moz-image-region: auto;
3454 #BMB_unsortedBookmarks,
3455 #panelMenu_unsortedBookmarks {
3456 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3457 -moz-image-region: auto;
3460 /* ::::: Keyboard UI Panel ::::: */
3465 border-radius: 20px;
3468 .KUI-panel[level="top"] {
3469 /*background-color: rgba(27%,27%,27%,.65);*/
3475 padding: 20px 10px 10px;
3479 .ctrlTab-favicon[src] {
3480 background-color: #000000;
3486 .ctrlTab-preview-inner > .tabPreview-canvas {
3489 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3493 .ctrlTab-preview-inner {
3494 padding-bottom: 10px;
3497 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3499 background-color: #000000;
3500 border-radius: .5em;
3503 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3505 background-color: #000000;
3508 border: 2px solid #9C9CFF;
3509 border-radius: .5em;
3512 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3513 margin: -10px -10px 0;
3525 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3533 .sync-panel-button-box {
3537 #sync-error-panel-title,
3538 #sync-start-panel-title {
3544 #sync-start-panel-subtitle,
3545 #sync-error-panel-subtitle {
3551 .statuspanel-label {
3554 background: #404000;
3555 border: 1px none #9C9CFF;
3556 border-top-style: solid;
3561 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3562 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3563 border-right-style: solid;
3564 border-top-right-radius: .3em;
3568 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3569 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3570 border-left-style: solid;
3571 border-top-left-radius: .3em;
3575 /* HACK to abolish devily color on main content */
3578 background-color: transparent !important;
3581 /* === BEGIN highlighter.inc.css === */
3583 /* Box model highlighter */
3584 svg|g.box-model-container {
3588 svg|polygon.box-model-content {
3592 svg|polygon.box-model-padding {
3596 svg|polygon.box-model-border {
3600 svg|polygon.box-model-margin {
3604 svg|polygon.box-model-content,
3605 svg|polygon.box-model-padding,
3606 svg|polygon.box-model-border,
3607 svg|polygon.box-model-margin {
3611 svg|line.box-model-guide-top,
3612 svg|line.box-model-guide-right,
3613 svg|line.box-model-guide-bottom,
3614 svg|line.box-model-guide-left {
3616 stroke-dasharray: 5 3;
3617 shape-rendering: crispEdges;
3620 /* Highlighter - Node Infobar */
3622 .highlighter-nodeinfobar {
3625 background-color: #000000;
3626 background-clip: padding-box;
3627 border: 1px solid #008484;
3629 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3634 /* Highlighter - Node Infobar - text */
3636 .highlighter-nodeinfobar-text {
3638 /* 100% - size of the buttons and margins */
3639 max-width: calc(100% - 2 * (26px + 6px));
3640 padding-bottom: 1px;
3643 html|*.highlighter-nodeinfobar-tagname {
3647 html|*.highlighter-nodeinfobar-id {
3651 html|*.highlighter-nodeinfobar-pseudo-classes {
3655 html|*.highlighter-nodeinfobar-dimensions {
3657 -moz-border-start: 1px solid #9C9CFF;
3658 -moz-margin-start: 6px;
3659 -moz-padding-start: 6px;
3662 /* Highlighter - Node Infobar - box & arrow */
3664 .highlighter-nodeinfobar-arrow {
3667 -moz-margin-start: calc(50% - 7px);
3668 transform: rotate(-45deg);
3669 background-clip: padding-box;
3670 background-repeat: no-repeat;
3673 .highlighter-nodeinfobar-arrow-top {
3674 margin-bottom: -8px;
3676 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3679 .highlighter-nodeinfobar-arrow-bottom {
3682 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3685 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3689 /* Css transform highlighter */
3691 svg|polygon.css-transform-transformed {
3696 svg|polygon.css-transform-untransformed {
3701 svg|polygon.css-transform-transformed,
3702 svg|polygon.css-transform-untransformed,
3703 svg|line.css-transform-line {
3705 stroke-dasharray: 5 3;
3709 /* === END highlighter.inc.css === */
3711 #full-screen-warning-message {
3712 background-color: #000000;
3717 box-shadow: 0 0 2px #9C9CFF;
3720 #full-screen-warning-container[obscure-browser] {
3721 background-color: rgba(0,0,0,0.3);
3724 .full-screen-description {
3728 #full-screen-domain-text {
3732 .full-screen-approval-button,
3733 #full-screen-remember-decision {
3737 /* === BEGIN commandline.inc.css === */
3739 /* Developer toolbar */
3741 #developer-toolbar {
3742 border-top: 3px solid #000000;
3743 border-bottom: none;
3746 #developer-toolbar .toolbar-holder {
3747 background-color: #8050B0;
3751 #developer-toolbar .toolbar-holder {
3752 background-color: #8050B0;
3756 #developer-toolbar .toolbar-startcap,
3757 #developer-toolbar .toolbar-endcap{
3758 background-color: #6000CF;
3761 #developer-toolbar {
3763 min-height: 32px; */
3766 #developer-toolbar > toolbarbutton {
3772 .developer-toolbar-button > image {
3773 /* margin: auto 10px; */
3776 #developer-toolbar-toolbox-button > label {
3780 .developer-toolbar-button > .toolbarbutton-icon,
3781 #developer-toolbar-closebutton > .toolbarbutton-icon {
3786 #developer-toolbar-toolbox-button {
3787 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3788 -moz-image-region: rect(0px, 16px, 16px, 0px);
3791 #developer-toolbar-toolbox-button > label {
3795 #developer-toolbar-toolbox-button:hover,
3796 #developer-toolbar-toolbox-button:hover:active,
3797 #developer-toolbar-toolbox-button[checked=true] {
3798 -moz-image-region: rect(0px, 32px, 16px, 16px);
3801 @media (min-resolution: 2dppx) {
3802 #developer-toolbar-toolbox-button {
3803 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3804 -moz-image-region: rect(0px, 32px, 32px, 0px);
3807 #developer-toolbar-toolbox-button:hover,
3808 #developer-toolbar-toolbox-button:hover:active,
3809 #developer-toolbar-toolbox-button[checked=true] {
3810 -moz-image-region: rect(0px, 64px, 32px, 32px);
3814 #developer-toolbar-closebutton {
3815 list-style-image: url("chrome://browser/skin/devtools/close.png");
3816 -moz-image-region: rect(0px, 16px, 16px, 0px);
3821 #developer-toolbar-closebutton > .toolbarbutton-icon {
3824 #developer-toolbar-closebutton > .toolbarbutton-text {
3828 #developer-toolbar-closebutton:hover,
3829 #developer-toolbar-closebutton:hover:active {
3830 -moz-image-region: rect(0px, 32px, 16px, 16px);
3833 @media (min-resolution: 2dppx) {
3834 #developer-toolbar-closebutton {
3835 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3836 -moz-image-region: rect(0px, 32px, 32px, 0px);
3839 #developer-toolbar-closebutton:hover,
3840 #developer-toolbar-closebutton:hover:active {
3841 -moz-image-region: rect(0px, 64px, 32px, 32px);
3847 html|*#gcli-tooltip-frame,
3848 html|*#gcli-output-frame {
3851 background-color: transparent;
3857 background-color: transparent;
3860 .gclitoolbar-input-node,
3861 .gclitoolbar-complete-node {
3863 -moz-box-align: center;
3867 background-color: transparent;
3870 .gclitoolbar-input-node {
3871 /* line-height: 32px;
3872 outline-style: none; */
3873 background-repeat: no-repeat;
3874 background-color: rgba(0, 0, 0, .75);
3877 .gclitoolbar-input-node[focused="true"] {
3878 background-color: #000000;
3881 .gclitoolbar-input-node::before {
3883 display: inline-block;
3884 -moz-box-ordinal-group: 0;
3888 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3889 background-position: 0 center;
3890 background-size: 32px 16px;
3893 .gclitoolbar-input-node[focused="true"]::before {
3894 background-position: -16px center;
3897 @media (min-resolution: 2dppx) {
3898 .gclitoolbar-input-node::before {
3899 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3903 .gclitoolbar-input-node:not([focused="true"]) {
3904 border-color: transparent;
3907 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3908 background-color: #008484;
3913 .gclitoolbar-complete-node {
3915 background-color: transparent;
3918 pointer-events: none;
3921 .gcli-in-incomplete,
3925 .gcli-in-closebrace,
3932 .gcli-in-incomplete {
3933 border-bottom: 2px dotted #8050B0;
3937 border-bottom: 2px dotted #FF0000;
3948 .gcli-in-closebrace {
3952 /* === END commandline.inc.css === */
3954 /* === BEGIN responsivedesign.inc.css === */
3956 /* Responsive Mode */
3958 .browserContainer[responsivemode] {
3959 background-color: #221500;
3960 padding: 0 20px 20px 20px;
3963 .browserStack[responsivemode] {
3964 box-shadow: 0 0 7px #9C9CFF;
3967 .devtools-responsiveui-toolbar {
3968 background: transparent;
3969 /* text color is textColor from dark theme, since no theme is applied to
3970 * the responsive toolbar.
3976 border-bottom-width: 0;
3979 .devtools-responsiveui-menulist,
3980 .devtools-responsiveui-toolbarbutton {
3981 -moz-box-align: center;
3983 /* min-height: 22px;*/
3984 /* margin: 0 3px; */
3987 .devtools-responsiveui-menulist .menulist-editable-box {
3988 background-color: transparent;
3991 .devtools-responsiveui-menulist html|*.menulist-editable-input {
3996 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
3997 /* background: hsla(212,7%,57%,.35);*/
4000 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4005 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4006 -moz-box-orient: horizontal;
4009 .devtools-responsiveui-menulist:-moz-focusring,
4010 .devtools-responsiveui-toolbarbutton:-moz-focusring {
4011 /* outline: 1px dotted hsla(210,30%,85%,0.7);
4012 outline-offset: -4px;*/
4015 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4019 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4020 /* border-color: hsla(210,8%,5%,.6);
4021 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4022 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); */
4025 .devtools-responsiveui-menulist[open=true],
4026 .devtools-responsiveui-toolbarbutton[open=true],
4027 .devtools-responsiveui-toolbarbutton[checked=true] {
4028 /* border-color: hsla(210,8%,5%,.6) !important;
4029 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4030 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); */
4033 .devtools-responsiveui-toolbarbutton[checked=true] {
4034 /* color: hsl(208,100%,60%); */
4037 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
4038 /* background-color: transparent !important;*/
4041 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4042 /* background-color: hsla(210,8%,5%,.2) !important;*/
4045 .devtools-responsiveui-menulist > .menulist-label-box {
4049 .devtools-responsiveui-menulist > .menulist-dropmarker {
4050 /* display: -moz-box;
4051 background-color: transparent;
4052 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4053 -moz-box-align: center;
4058 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4061 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4062 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4065 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4066 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4069 .devtools-responsiveui-toolbarbutton[type=menu-button] {
4070 /* padding: 0 1px;*/
4071 -moz-box-align: stretch;
4074 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4075 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
4076 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4077 -moz-box-align: center;
4081 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4082 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4086 .devtools-responsiveui-close {
4087 list-style-image: url("chrome://browser/skin/devtools/close.png");
4088 -moz-image-region: rect(0px,16px,16px,0px);
4091 .devtools-responsiveui-close:hover {
4092 -moz-image-region: rect(0px,32px,16px,16px);
4095 .devtools-responsiveui-rotate {
4096 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4097 -moz-image-region: rect(0px,16px,16px,0px);
4100 .devtools-responsiveui-rotate:hover {
4101 -moz-image-region: rect(0px,32px,16px,16px);
4104 @media (min-resolution: 2dppx) {
4105 .devtools-responsiveui-close {
4106 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4109 .devtools-responsiveui-close:hover {
4110 -moz-image-region: rect(0px,64px,32px,32px);
4113 .devtools-responsiveui-rotate {
4114 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4117 .devtools-responsiveui-rotate:hover {
4118 -moz-image-region: rect(0px,64px,32px,32px);
4122 .devtools-responsiveui-touch {
4123 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4124 -moz-image-region: rect(0px,16px,16px,0px);
4127 .devtools-responsiveui-touch:hover,
4128 .devtools-responsiveui-touch[checked],
4129 .devtools-responsiveui-touch[checked]:hover {
4130 -moz-image-region: rect(0px,32px,16px,16px);
4133 @media (min-resolution: 2dppx) {
4134 .devtools-responsiveui-touch {
4135 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4136 -moz-image-region: rect(0px,32px,32px,0px);
4139 .devtools-responsiveui-touch:hover,
4140 .devtools-responsiveui-touch[checked],
4141 .devtools-responsiveui-touch[checked]:hover {
4142 -moz-image-region: rect(0px,64px,32px,32px);
4146 .devtools-responsiveui-screenshot {
4147 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4148 -moz-image-region: rect(0px,16px,16px,0px);
4151 .devtools-responsiveui-screenshot:hover {
4152 -moz-image-region: rect(0px,32px,16px,16px);
4155 @media (min-resolution: 2dppx) {
4156 .devtools-responsiveui-screenshot {
4157 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4160 .devtools-responsiveui-screenshot:hover {
4161 -moz-image-region: rect(0px,64px,32px,32px);
4165 .devtools-responsiveui-resizebarV {
4169 transform: translate(12px, -12px);
4170 background-size: cover;
4171 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4174 .devtools-responsiveui-resizebarH {
4178 transform: translate(-12px, 12px);
4179 background-size: cover;
4180 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4183 .devtools-responsiveui-resizehandle {
4187 transform: translate(12px, 12px);
4188 background-size: cover;
4189 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
4192 /* FxOS custom mode with additional buttons and phone look'n feel */
4194 /* Hide devtools manual resizer */
4195 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizehandle,
4196 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarH,
4197 .browserStack[responsivemode].fxos-mode .devtools-responsiveui-resizebarV {
4201 /* Gives responsive mode a phone look'n feel */
4202 .browserStack[responsivemode].fxos-mode {
4203 padding: 60px 15px 0;
4205 border-radius: 25px / 20px;
4206 border-bottom-left-radius: 0;
4207 border-bottom-right-radius: 0;
4208 border: 1px solid #FFFFFF;
4209 border-bottom-width: 0;
4211 background-color: #353535;
4213 box-shadow: 0 3px 0.7px 1px #777777, 0 5px rgba(0, 0, 0, 0.4) inset;
4215 background-image: linear-gradient(to right, #111 11%, #333 56%);
4219 .devtools-responsiveui-hardware-buttons {
4220 -moz-appearance: none;
4223 border: 1px solid #FFFFFF;
4224 border-bottom-left-radius: 25px;
4225 border-bottom-right-radius: 25px;
4226 border-top-width: 0;
4228 box-shadow: 0 3px 0.7px 1px #777777, 0 -7px rgba(0, 0, 0, 0.4) inset;
4230 background-image: linear-gradient(to right, #111 11%, #333 56%);
4233 .devtools-responsiveui-home-button {
4236 list-style-image: url("chrome://browser/skin/devtools/responsiveui-home.png");
4239 .devtools-responsiveui-sleep-button {
4240 -moz-appearance: none;
4241 /* compensate browserStack top padding */
4249 border: 1px solid #444;
4250 border-top-right-radius: 12px;
4251 border-top-left-radius: 12px;
4252 border-bottom-color: transparent;
4254 background-image: linear-gradient(to top, #111 11%, #333 56%);
4257 .devtools-responsiveui-sleep-button:hover:active {
4258 background-image: linear-gradient(to top, #aaa 11%, #ddd 56%);
4261 .devtools-responsiveui-volume-buttons {
4265 .devtools-responsiveui-volume-up-button,
4266 .devtools-responsiveui-volume-down-button {
4267 -moz-appearance: none;
4268 border: 1px solid red;
4272 border: 1px solid #444;
4273 border-right-color: transparent;
4275 background-image: linear-gradient(to right, #111 11%, #333 56%);
4278 .devtools-responsiveui-volume-up-button:hover:active,
4279 .devtools-responsiveui-volume-down-button:hover:active {
4280 background-image: linear-gradient(to right, #aaa 11%, #ddd 56%);
4283 .devtools-responsiveui-volume-up-button {
4284 border-top-left-radius: 12px;
4287 .devtools-responsiveui-volume-down-button {
4288 border-bottom-left-radius: 12px;
4291 @media (min-resolution: 2dppx) {
4292 .devtools-responsiveui-resizebarV {
4293 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4296 .devtools-responsiveui-resizebarH {
4297 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4300 .devtools-responsiveui-resizehandle {
4301 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4305 /* === END responsivedesign.inc.css === */
4307 /* === including indicator.css is done at the start of the file === */
4311 #developer-toolbar-toolbox-button[error-count]:before {
4315 background-color: #FF0000;
4317 -moz-margin-end: 5px;
4320 /* Social toolbar item */
4322 #social-provider-button {
4323 -moz-image-region: rect(0, 16px, 16px, 0);
4324 list-style-image: url("chrome://browser/skin/social/services-16.png");
4327 #social-provider-button > .toolbarbutton-menu-dropmarker {
4331 #social-notification-icon-mentions {
4332 background-color: #000000;
4334 -moz-margin-start: 2px;
4337 #social-notification-icon-mentions:hover {
4338 background-color: #FFCF00;
4341 #social-notification-icon-mentions[open="true"] {
4342 background-color: #FF9F00;
4345 #social-sidebar-splitter {
4349 .popup-notification-icon[popupid="servicesInstall"] {
4350 list-style-image: url("chrome://browser/skin/social/services-64.png");
4352 #servicesInstall-notification-icon {
4353 list-style-image: url("chrome://browser/skin/social/services-16.png");
4355 #social-undoactivation-button {
4356 -moz-margin-start: 0; /* override default label margin to match description margin */
4359 #socialActivatedNotification .popup-notification-button-container {
4363 .social-activation-icon {
4370 #social-activation-message {
4374 #social-activation-message > label {
4378 /* social toolbar provider menu */
4379 .social-statusarea-popup {
4382 margin-right: -12px;
4385 .social-statusarea-user {
4386 border-bottom: 1px solid #9C9CFF;
4387 background-color: #000000;
4393 .social-statusarea-user-portrait {
4400 .social-statusarea-loggedInStatus {
4401 background: transparent;
4406 list-style-image: none;
4409 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4410 text-decoration: underline;
4413 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4417 .social-panel-frame {
4418 border-radius: inherit;
4421 /* === BEGIN chat.inc.css === */
4423 #social-sidebar-header {
4427 #social-sidebar-button {
4428 -moz-appearance: none;
4429 list-style-image: url("chrome://browser/skin/social/gear_default.png");
4434 #social-sidebar-button > .toolbarbutton-icon {
4438 #social-sidebar-button:hover,
4439 #social-sidebar-button:hover:active {
4440 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
4442 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4446 #social-sidebar-button[loading="true"] {
4447 list-style-image: url("chrome://global/skin/icons/loading.gif");
4450 #social-sidebar-favico {
4463 .chat-toolbarbutton {
4464 -moz-appearance: none;
4471 .chat-toolbarbutton:hover {
4472 /* background-color: rgba(255,255,255,.35);*/
4475 .chat-toolbarbutton:hover:active {
4476 /* background-color: rgba(255,255,255,.5);*/
4479 .chat-toolbarbutton > .toolbarbutton-text {
4483 .chat-toolbarbutton > .toolbarbutton-icon {
4488 .chat-close-button {
4489 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close");
4492 .chat-close-button:-moz-any(:hover,:hover:active) {
4493 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#close-active");
4496 .chat-minimize-button {
4497 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize");
4500 .chat-minimize-button:-moz-any(:hover,:hover:active) {
4501 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#minimize-active");
4505 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand");
4506 transform: rotate(180deg);
4509 .chat-swap-button:-moz-any(:hover,:hover:active) {
4510 list-style-image: url("chrome://browser/skin/social/chat-icons.svg#expand-active");
4513 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4519 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4525 background-color: #9C9CFF;
4533 border-bottom: 1px solid #008484;
4537 .chat-titlebar > .notification-anchor-icon {
4542 .chat-titlebar[minimized="true"] {
4543 border-bottom: none;
4546 .chat-titlebar[selected] {
4547 background-color: #008484;
4550 .chat-titlebar[activity] {
4551 background-color: #E7ADE7;
4554 chatbox[dark=true] > .chat-titlebar,
4555 chatbox[dark=true] > .chat-titlebar[selected] {
4556 /* border-bottom: none;
4557 background-color: #000;
4558 background-image: none;*/
4561 chatbox[dark=true] > .chat-titlebar > hbox > .chat-title {
4562 /* font-weight: normal;
4573 list-style-image: url("chrome://browser/skin/social/services-16.png");
4574 background-color: #000000;
4580 border-top: 1px solid #008484;
4581 -moz-border-end: 1px solid #008484;
4584 @media (min-resolution: 2dppx) {
4586 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4590 .chatbar-button > .toolbarbutton-icon {
4594 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4601 .chatbar-button > .toolbarbutton-icon {
4605 .chatbar-button:hover > .toolbarbutton-icon,
4606 .chatbar-button[open="true"] > .toolbarbutton-icon {
4610 .chatbar-button:hover,
4611 .chatbar-button[open="true"] {
4614 .chatbar-button > .toolbarbutton-text,
4615 .chatbar-button > .toolbarbutton-menu-dropmarker {
4619 .chatbar-button[activity]:not([open="true"]) {
4620 background-color: #E7ADE7;
4623 .chatbar-button > menupopup > menuitem[activity] {
4628 background: transparent;
4634 -moz-margin-end: 20px;
4640 -moz-margin-start: 4px;
4641 background-color: #000000;
4642 border: 1px solid #9C9CFF;
4643 border-bottom: none;
4644 border-top-left-radius: 2.5px;
4645 border-top-right-radius: 2.5px;
4648 chatbox[minimized="true"] {
4654 -moz-margin-start: 0px;
4660 /* === END chat.inc.css === */
4663 /* background-color: #c4cfde; */
4666 .chat-titlebar[selected] {
4667 /* background-color: #dae3f0; */
4671 -moz-appearance: none;
4672 /* background-color: #c4cfde; */
4675 .chatbar-button > .toolbarbutton-icon {
4676 /* -moz-margin-end: 0; */
4679 .chatbar-button:hover,
4680 .chatbar-button[open="true"] {
4681 /* background-color: #dae3f0; */
4684 .chatbar-button[activity]:not([open="true"]) {
4688 /* border-top-left-radius: 2.5px;
4689 border-top-right-radius: 2.5px; */
4692 /* === BEGIN plugin-doorhanger.inc.css === */
4695 * Plugin Doorhanger Styles
4698 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4699 padding: 6px 1px 2px;
4702 .click-to-play-plugins-notification-center-box {
4705 .plugin-popupnotification-centeritem:nth-child(odd) {
4706 /* background-color: rgba(0,0,0,0.1);*/
4709 .center-item-label {
4711 text-overflow: ellipsis;
4714 .center-item-warning-icon {
4715 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4716 background-repeat: no-repeat;
4719 -moz-margin-start: 6px;
4722 .click-to-play-plugins-notification-button-container {
4725 .click-to-play-popup-button {
4729 .click-to-play-plugins-notification-description-box {
4733 padding-bottom: 3px;
4736 .click-to-play-plugins-outer-description {
4740 .click-to-play-plugins-notification-link,
4745 .messageImage[value="plugin-hidden"] {
4746 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4749 /* Keep any changes to this style in sync with pluginProblem.css */
4750 notification.pluginVulnerable {
4753 notification.pluginVulnerable .messageImage {
4754 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4757 /* === END plugin-doorhanger.inc.css === */
4759 /* === BEGIN badcontent-doorhanger.inc.css === */
4761 .popup-notification-item-title[popupid="bad-content"] {
4765 .popup-notification-item-message[popupid="bad-content"] {
4769 .popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical),
4770 .popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) {
4774 .popup-notification-item-message-critical[popupid="bad-content"] {
4779 .popup-notification-footer[popupid="bad-content"] {
4783 /* === END badcontent-doorhanger.inc.css === */
4785 /* === BEGIN customizeMode.inc.css === */
4787 /* Customization mode */
4789 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4793 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4794 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4795 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4800 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4801 pointer-events: none;
4804 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4805 #PanelUI-contents > .panel-customization-placeholder {
4806 -moz-outline-radius: 2.5px;
4807 outline: 1px dashed transparent;
4810 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4811 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4812 -moz-box-ordinal-group: 0;
4817 outline-offset: -2px;
4818 pointer-events: none;
4824 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4825 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4826 offset from the bottom effectively the same as other targets (-2px). */
4827 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4831 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4832 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4833 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4834 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4838 /* Most target outlines are shown on hover and drag over but the panel menu uses
4839 placeholders instead. */
4840 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4841 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4842 /* nav-bar and panel outlines are always shown */
4843 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4844 outline-color: #A09090;
4847 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4848 transition: outline-color 250ms linear;
4851 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4852 transition: outline-color 250ms linear;
4853 outline-color: #9C9CFF;
4856 #PanelUI-contents > .panel-customization-placeholder {
4858 outline-offset: -5px;
4861 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4863 /* padding-left: 10px;
4864 padding-right: 10px;*/
4867 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4871 #customization-container {
4872 background-color: #000000;
4876 #customization-palette,
4877 #customization-empty {
4878 padding: 0 15px 15px;
4881 #customization-header {
4883 line-height: 1.75em;
4886 margin: 25px 25px 12px;
4887 padding-bottom: 12px;
4888 border-bottom: 1px solid #A09090;
4891 #customization-panel-container {
4892 padding: 10px 10px 0px;
4895 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4896 #customization-footer {
4897 /*background-color: rgb(236,236,236);*/
4900 #customization-footer {
4901 border-top: 1px solid #9C9CFF;
4905 .customizationmode-button {
4909 .customizationmode-button:hover {
4912 #customization-titlebar-visibility-button[checked],
4913 #customization-devedition-theme-button[checked] {
4914 background-color: #008484;
4917 #customization-titlebar-visibility-button[checked]:hover,
4918 #customization-devedition-theme-button[checked]:hover {
4919 background-color: #FFCF00;
4922 #customization-titlebar-visibility-button[checked]:hover:active,
4923 #customization-devedition-theme-button[checked]:hover:active {
4924 background-color: #FF9F00;
4927 .customizationmode-button[disabled="true"] {
4930 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
4931 .customizationmode-button > .button-box > .button-icon {
4935 #customization-titlebar-visibility-button {
4936 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4937 -moz-image-region: rect(0, 16px, 16px, 0);
4941 #customization-titlebar-visibility-button:hover {
4942 -moz-image-region: rect(16px, 16px, 32px, 0);
4945 #customization-titlebar-visibility-button > .button-box {
4947 padding-bottom: 1px;
4950 #customization-titlebar-visibility-button:hover:active > .button-box {
4955 #customization-titlebar-visibility-button > .button-box > .button-text {
4956 /* Sadly, button.css thinks its margins are perfect for everyone. */
4957 -moz-margin-start: 5px !important;
4960 #customization-titlebar-visibility-button > .button-box > .button-icon {
4961 vertical-align: middle;
4964 #customization-titlebar-visibility-button[checked] {
4965 -moz-image-region: rect(0, 32px, 16px, 16px);
4966 background-color: #008484;
4969 #customization-titlebar-visibility-button[checked]:hover {
4970 -moz-image-region: rect(16px, 32px, 32px, 16px);
4971 background-color: #FFCF00;
4974 #customization-titlebar-visibility-button[checked]:hover:active {
4975 background-color: #FF9F00;
4978 #main-window[customize-entered] #customization-panel-container {
4979 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4980 background-position: left top;
4981 background-repeat: repeat;
4982 background-size: auto;
4983 background-attachment: fixed;
4986 toolbarpaletteitem[place="toolbar"] {
4987 transition: border-width 250ms ease-in-out;
4990 toolbarpaletteitem[mousedown] {
4991 outline: 1px solid #008484;
4992 cursor: -moz-grabbing;
4996 .panel-customization-placeholder,
4997 toolbarpaletteitem[place="palette"],
4998 toolbarpaletteitem[place="panel"] {
4999 transition: transform .3s ease-in-out;
5002 #customization-palette {
5003 transition: opacity .3s ease-in-out;
5007 #customization-palette[showing="true"] {
5011 toolbarpaletteitem[notransition].panel-customization-placeholder,
5012 toolbarpaletteitem[notransition][place="toolbar"],
5013 toolbarpaletteitem[notransition][place="palette"],
5014 toolbarpaletteitem[notransition][place="panel"] {
5018 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
5019 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
5020 toolbarpaletteitem > toolbaritem.panel-wide-item,
5021 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
5022 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
5025 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
5026 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
5027 transform: scale(1.3);
5030 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
5031 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
5032 transform: scale(1.1);
5035 /* Override the toolkit styling for items being dragged over. */
5036 toolbarpaletteitem[place="toolbar"] {
5037 border-left-width: 0;
5038 border-right-width: 0;
5043 #customization-palette:not([hidden]) {
5044 margin-bottom: 25px;
5047 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5048 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
5049 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
5050 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
5054 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
5055 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
5065 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
5066 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
5070 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
5071 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
5074 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
5075 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
5079 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
5080 -moz-box-pack: center;
5084 #customization-palette > toolbarpaletteitem > label {
5090 #customization-lwtheme-menu > .panel-arrowcontainer > .panel-arrowcontent {
5091 -moz-box-orient: vertical;
5092 /* Make the panel padding uniform across all platforms due to the
5093 styling of the section headers and footer. */
5097 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5102 .customization-lwtheme-menu-theme {
5103 -moz-appearance: none;
5106 -moz-padding-end: 5px;
5108 -moz-padding-start: 0;
5111 .customization-lwtheme-menu-theme[defaulttheme] {
5112 list-style-image: url(chrome://browser/skin/Fxtheme-switcher-icon.png);
5115 .customization-lwtheme-menu-theme[active="true"] {
5116 background-color: #008484;
5119 .customization-lwtheme-menu-theme > .toolbarbutton-icon {
5123 .customization-lwtheme-menu-theme > .toolbarbutton-text {
5127 #customization-lwtheme-menu-header,
5128 #customization-lwtheme-menu-recommended {
5133 #customization-lwtheme-menu-header,
5134 #customization-lwtheme-menu-recommended,
5135 #customization-lwtheme-menu-footer {
5136 background-color: #A09090;
5138 margin-right: -10px;
5142 #customization-lwtheme-menu-header {
5144 border-top-right-radius: 3px;
5145 border-top-left-radius: 3px;
5148 #customization-lwtheme-menu-recommended {
5151 #customization-lwtheme-menu-footer {
5152 margin-bottom: -10px;
5153 border-bottom-right-radius: 3px;
5154 border-bottom-left-radius: 3px;
5157 .customization-lwtheme-menu-footeritem {
5158 -moz-appearance: none;
5160 background-color: #C09070;
5162 border: 1px solid transparent;
5168 .customization-lwtheme-menu-footeritem:hover {
5169 background-color: #FFCF00;
5172 .customization-lwtheme-menu-footeritem:first-child {
5175 /* === END customizeMode.inc.css === */
5177 /* === BEGIN customizeTip.inc.css === */
5179 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
5186 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
5187 border: 1px solid #9C9CFF;
5191 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
5192 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
5195 .customization-tipPanel-infoBox {
5196 margin: 20px 25px 25px;
5198 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
5199 background-repeat: no-repeat;
5202 .customization-tipPanel-content {
5208 .customization-tipPanel-em {
5213 .customization-tipPanel-contentImage {
5215 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
5223 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
5224 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
5227 .customization-tipPanel-link {
5228 -moz-appearance: none;
5229 background: transparent;
5237 .customization-tipPanel-link > .button-box > .button-text {
5238 margin: 0 !important;
5241 .customization-tipPanel-closeBox > .close-icon {
5242 -moz-appearance: none;
5244 -moz-margin-end: -25px;
5247 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5248 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5249 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5252 /* === END customizeTip.inc.css === */
5255 * This next rule is a hack to disable subpixel anti-aliasing on all
5256 * labels during the customize mode transition. Subpixel anti-aliasing
5257 * on Windows with Direct2D layers acceleration is particularly slow to
5258 * paint, so this hack is how we sidestep that performance bottleneck.
5260 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
5261 transform: perspective(0.01px);
5264 #main-window[customize-entered] > #tab-view-deck {
5265 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5266 background-attachment: fixed;
5269 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5270 background-repeat: no-repeat;
5271 background-position: right top;
5272 background-attachment: fixed;
5273 /* The image will get set from CustomizeMode.jsm */
5274 background-image: none;
5275 background-color: transparent;
5278 #main-window[customization-lwtheme]:-moz-lwtheme {
5279 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5280 background-repeat: repeat;
5281 background-attachment: fixed;
5282 background-position: left top;
5285 #main-window[customize-entered] #browser-bottombox,
5286 #main-window[customize-entered] #customization-container {
5287 border-left: 1px solid #9C9CFF;
5288 border-right: 1px solid #9C9CFF;
5289 background-clip: padding-box;
5292 #main-window[customize-entered] #browser-bottombox {
5293 border-bottom: 1px solid #9C9CFF;
5296 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5300 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5304 /* End customization mode */
5306 /* Private browsing indicators */
5309 * Currently, we have two places where we put private browsing indicators on
5310 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5311 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5312 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5313 * want the bottom border of the image to line up with the bottom of the window
5314 * caption buttons. That's why there's so much special-casing going on in here.
5316 .private-browsing-indicator {
5318 pointer-events: none;
5321 #private-browsing-indicator-titlebar {
5326 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5330 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5334 #TabsToolbar > .private-browsing-indicator {
5335 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5336 -moz-margin-start: 4px;
5340 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5341 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5342 * min/max/close window buttons.
5344 #private-browsing-indicator-titlebar > .private-browsing-indicator,
5345 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5346 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5347 -moz-margin-end: 4px;
5353 /* This one is for Linux */
5354 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5355 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5359 /* End private browsing indicators */
5361 /* === BEGIN UITour.inc.css === */
5365 #UITourHighlightContainer {
5366 -moz-appearance: none;
5368 background-color: transparent;
5369 /* This is a buffer to compensate for the movement in the "wobble" effect */
5374 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5375 border-radius: 40px;
5376 border: 1px solid #9C9CFF;
5377 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5378 on Linux without an X compositor where opacity is either 0 or 1. */
5379 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5384 #UITourTooltipBody {
5385 -moz-margin-end: 14px;
5388 #UITourTooltipBody > vbox {
5392 #UITourTooltipIconContainer {
5393 -moz-margin-start: -16px;
5396 #UITourTooltipIcon {
5399 -moz-margin-start: 28px;
5400 -moz-margin-end: 28px;
5403 #UITourTooltipTitle,
5404 #UITourTooltipDescription {
5408 #UITourTooltipTitle {
5411 -moz-margin-start: 0;
5416 #UITourTooltipDescription {
5417 -moz-margin-start: 0;
5420 line-height: 1.8rem;
5421 margin-bottom: 0; /* Override global.css */
5424 #UITourTooltipClose {
5425 -moz-appearance: none;
5427 background-color: transparent;
5429 -moz-margin-start: 4px;
5433 #UITourTooltipClose > .toolbarbutton-text {
5437 #UITourTooltipButtons {
5439 background-color: rgba(0,0,0,.2);
5440 border-top: 1px solid rgba(0,0,0,.4);
5441 margin: 24px -16px -16px;
5445 #UITourTooltipButtons > button {
5449 #UITourTooltipButtons > button:first-child {
5450 -moz-margin-start: 0;
5453 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5456 -moz-margin-end: 5px;
5459 #UITourTooltipButtons > button .button-text {
5463 #UITourTooltipButtons > button:not(.button-link) {
5464 -moz-appearance: none;
5465 background-color: #C09070;
5466 border-radius: 3000px;
5470 transition-property: background-color, color;
5471 transition-duration: 150ms;
5474 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5475 background-color: #FFCF00;
5479 #UITourTooltipButtons > button.button-link {
5480 -moz-appearance: none;
5481 background: transparent;
5484 color: rgba(0,0,0,0.35);
5486 padding-right: 10px;
5489 #UITourTooltipButtons > button.button-link:hover {
5493 /* The primary button gets the same color as the customize button. */
5494 #UITourTooltipButtons > button.button-primary {
5495 background-color: #A06060; /* LCARS default button background color */
5498 padding-right: 30px;
5501 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5502 background-color: #FFCF00;
5507 -moz-margin-end: 6px;
5512 .SearchHighlight label,
5513 .SearchHighlight description {
5519 .SearchHighlightTitle {
5523 .SearchHighlight .dot {
5526 background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 100%, 100%, 9);
5527 background-size: 7px;
5528 background-position: center center;
5529 background-repeat: no-repeat;
5530 -moz-margin-end: 2px;
5533 .SearchHighlight .dot.filled {
5534 background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 7, 100%, 0);
5537 .SearchHighlight button {
5539 /* On some platforms clicking the button will steal focus from the search box
5540 causing the popup to close. */
5541 -moz-user-focus: ignore;
5544 @media not all and (max-resolution: 1dppx) {
5545 .SearchHighlight .dot {
5546 background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 100%, 100%, 18);
5549 .SearchHighlight .dot.filled {
5550 background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 14, 100%, 0);
5554 /* === END UITour.inc.css === */
5556 #UITourTooltipButtons {
5557 margin: 24px -4px -4px;
5560 /* === BEGIN contextmenu.inc.css === */
5562 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5565 #context-navigation > .menuitem-iconic {
5567 -moz-box-pack: center;
5568 -moz-box-align: center;
5571 #context-navigation > .menuitem-iconic[disabled="true"] {
5572 background-color: transparent;
5575 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5576 -moz-appearance: none;
5579 #context-back > .menu-iconic-left {
5580 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5581 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5582 -moz-image-region: rect(0, 54px, 18px, 36px);
5585 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5586 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5587 -moz-image-region: rect(18px, 54px, 36px, 36px);
5590 #context-back[disabled="true"] > .menu-iconic-left {
5591 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5592 -moz-image-region: rect(36px, 54px, 54px, 36px);
5595 #context-forward > .menu-iconic-left {
5596 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5597 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5598 -moz-image-region: rect(0, 72px, 18px, 54px);
5601 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5602 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5603 -moz-image-region: rect(18px, 72px, 36px, 54px);
5606 #context-forward[disabled="true"] > .menu-iconic-left {
5607 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5608 -moz-image-region: rect(36px, 72px, 54px, 54px);
5611 #context-reload > .menu-iconic-left {
5612 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5613 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5614 -moz-image-region: rect(0, 14px, 14px, 0);
5617 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5618 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5619 -moz-image-region: rect(14px, 14px, 28px, 0);
5622 #context-reload[disabled="true"] > .menu-iconic-left {
5623 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5624 -moz-image-region: rect(28px, 14px, 42px, 0);
5627 #context-stop > .menu-iconic-left {
5628 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5629 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5630 -moz-image-region: rect(0, 28px, 14px, 14px);
5633 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5634 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5635 -moz-image-region: rect(14px, 28px, 28px, 14px);
5638 #context-stop[disabled="true"] > .menu-iconic-left {
5639 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5640 -moz-image-region: rect(28px, 28px, 42px, 14px);
5643 #context-bookmarkpage > .menu-iconic-left {
5644 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5645 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5646 -moz-image-region: rect(0, 144px, 18px, 126px);
5649 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5650 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5651 -moz-image-region: rect(18px, 144px, 36px, 126px);
5654 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5655 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
5656 -moz-image-region: rect(36px, 144px, 54px, 126px);
5659 #context-back:-moz-locale-dir(rtl),
5660 #context-forward:-moz-locale-dir(rtl),
5661 #context-reload:-moz-locale-dir(rtl) {
5662 transform: scaleX(-1);
5665 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
5666 width: 18px; /*16px;*/
5667 height: 18px; /*16px;*/
5671 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5672 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5678 /* === END contextmenu.inc.css === */
5680 #context-navigation {
5683 #context-sep-navigation {
5684 /* margin-top: -4px; */