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 {
321 -moz-margin-start: 1px;
322 -moz-margin-end: 2px;
325 /* Force the display of the label for bookmarks */
326 .bookmark-item > .toolbarbutton-text,
327 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
328 display: -moz-box !important;
331 .bookmark-item > .toolbarbutton-menu-dropmarker {
335 #bookmarks-toolbar-placeholder {
336 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
339 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
340 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
341 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
344 /* ----- BOOKMARK STAR ANIMATION ----- */
346 @keyframes animation-bookmarkAdded {
347 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
348 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
350 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
353 @keyframes animation-bookmarkPulse {
354 from { transform: scale(1); }
355 50% { transform: scale(1.3); }
356 to { transform: scale(1); }
359 #bookmarked-notification-container {
368 #bookmarked-notification {
369 background-size: 16px;
370 background-position: center;
371 background-repeat: no-repeat;
377 #bookmarked-notification-dropmarker-anchor {
382 #bookmarked-notification-dropmarker-icon {
388 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
389 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
390 animation: animation-bookmarkAdded 800ms;
391 animation-timing-function: ease, ease, ease;
394 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
395 list-style-image: none !important;
398 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
400 animation: animation-bookmarkPulse 300ms;
401 animation-delay: 600ms;
402 animation-timing-function: ease-out;
405 /* ::::: bookmark menus ::::: */
408 menuitem.bookmark-item {
413 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
418 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
419 -moz-padding-start: 0px;
422 /* ::::: bookmark items ::::: */
425 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
426 -moz-image-region: auto;
429 .bookmark-item[container] {
430 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
431 -moz-image-region: auto;
434 .bookmark-item[container][open] {
435 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
436 -moz-image-region: auto;
439 .bookmark-item[container][livemark] {
440 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
441 -moz-image-region: auto;
444 .bookmark-item[container][livemark] .bookmark-item {
445 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
446 -moz-image-region: rect(0px, 16px, 16px, 0px);
449 .bookmark-item[container][livemark] .bookmark-item[visited] {
450 -moz-image-region: rect(0px, 32px, 16px, 16px);
453 .bookmark-item[container][query] {
454 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
455 -moz-image-region: auto;
458 .bookmark-item[query][tagContainer] {
459 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
460 -moz-image-region: auto;
463 .bookmark-item[query][dayContainer] {
464 list-style-image: url("chrome://communicator/skin/history/calendar.png");
465 -moz-image-region: auto;
468 .bookmark-item[query][hostContainer] {
469 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
470 -moz-image-region: auto;
473 .bookmark-item[query][hostContainer][open] {
474 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
475 -moz-image-region: auto;
478 .bookmark-item[cutting] > .toolbarbutton-icon,
479 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
483 .bookmark-item[cutting] > .toolbarbutton-text,
484 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
488 /* ::::: primary toolbar buttons ::::: */
490 /* === BEGIN toolbarbuttons.inc.css === */
492 /* Whole section of this included file: */
493 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
494 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
495 #social-share-button, #open-file-button, #find-button, #developer-button,
496 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
497 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
498 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
499 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button),
501 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
502 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
506 -moz-image-region: rect(0, 36px, 18px, 18px);
509 #back-button:hover:not([disabled="true"]) {
510 -moz-image-region: rect(18px, 36px, 36px, 18px);
513 #back-button[disabled="true"] {
514 -moz-image-region: rect(36px, 36px, 54px, 18px);
518 -moz-image-region: rect(0, 72px, 18px, 54px);
521 #forward-button:hover:not([disabled="true"]) {
522 -moz-image-region: rect(18px, 72px, 36px, 54px);
525 #forward-button[disabled="true"] {
526 -moz-image-region: rect(36px, 72px, 54px, 54px);
529 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
530 #forward-button:-moz-locale-dir(rtl) {
531 transform: scaleX(-1);
534 #home-button[cui-areatype="toolbar"] {
535 -moz-image-region: rect(0, 126px, 18px, 108px);
538 #home-button[cui-areatype="toolbar"]:hover {
539 -moz-image-region: rect(18px, 126px, 36px, 108px);
542 #bookmarks-menu-button[cui-areatype="toolbar"] {
543 -moz-image-region: rect(0, 144px, 18px, 126px);
546 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
547 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
548 -moz-image-region: rect(18px, 144px, 36px, 126px);
551 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
552 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
553 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
554 background-color: transparent !important;
557 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
558 -moz-image-region: rect(0, 162px, 18px, 144px);
561 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
562 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
563 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
564 /* When starred and clicked (for edit/delete dialog),
565 * then only the menubutton-button itself is open, but not the whole menubutton. */
566 -moz-image-region: rect(18px, 162px, 36px, 144px);
569 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
570 -moz-image-region: rect(0, 630px, 18px, 612px);
573 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
575 -moz-box-align: center;
578 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
579 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
580 -moz-image-region: rect(18px, 630px, 36px, 612px);
583 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
584 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
587 -moz-padding-start: 2px;
588 -moz-padding-end: 0px;
591 #history-panelmenu[cui-areatype="toolbar"] {
592 -moz-image-region: rect(0, 180px, 18px, 162px);
595 #history-panelmenu[cui-areatype="toolbar"]:hover,
596 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
597 -moz-image-region: rect(18px, 180px, 36px, 162px);
600 #downloads-button[cui-areatype="toolbar"] {
601 -moz-image-region: rect(0, 198px, 18px, 180px);
604 #downloads-button[cui-areatype="toolbar"]:hover,
605 #downloads-button[cui-areatype="toolbar"][open="true"] {
606 -moz-image-region: rect(18px, 198px, 36px, 180px);
609 #add-ons-button[cui-areatype="toolbar"] {
610 -moz-image-region: rect(0, 216px, 18px, 198px);
613 #add-ons-button[cui-areatype="toolbar"]:hover {
614 -moz-image-region: rect(18px, 216px, 36px, 198px);
617 #open-file-button[cui-areatype="toolbar"] {
618 -moz-image-region: rect(0, 234px, 18px, 216px);
621 #open-file-button[cui-areatype="toolbar"]:hover {
622 -moz-image-region: rect(18px, 234px, 36px, 216px);
625 #save-page-button[cui-areatype="toolbar"] {
626 -moz-image-region: rect(0, 252px, 18px, 234px);
629 #save-page-button[cui-areatype="toolbar"]:hover {
630 -moz-image-region: rect(18px, 252px, 36px, 234px);
633 #sync-button[cui-areatype="toolbar"] {
634 -moz-image-region: rect(0, 270px, 18px, 252px);
637 #sync-button[cui-areatype="toolbar"]:hover {
638 -moz-image-region: rect(18px, 270px, 36px, 252px);
641 #sync-button[cui-areatype="toolbar"][status="active"],
642 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
643 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
644 -moz-image-region: rect(0, 18px, 18px, 0px);
648 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
649 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
650 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
654 #feed-button[cui-areatype="toolbar"] {
655 -moz-image-region: rect(0, 288px, 18px, 270px);
658 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
659 -moz-image-region: rect(18px, 288px, 36px, 270px);
662 #feed-button[cui-areatype="toolbar"][disabled="true"] {
663 -moz-image-region: rect(36px, 288px, 54px, 270px);
666 #social-share-button[cui-areatype="toolbar"] {
667 -moz-image-region: rect(0px, 306px, 18px, 288px);
670 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
671 #social-share-button[cui-areatype="toolbar"][open="true"] {
672 -moz-image-region: rect(18px, 306px, 36px, 288px);
675 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
676 -moz-image-region: rect(36px, 306px, 54px, 288px);
679 #characterencoding-button[cui-areatype="toolbar"] {
680 -moz-image-region: rect(0, 324px, 18px, 306px);
683 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
684 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
685 -moz-image-region: rect(18px, 324px, 36px, 306px);
688 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
689 -moz-image-region: rect(36px, 324px, 54px, 306px);
692 #new-window-button[cui-areatype="toolbar"] {
693 -moz-image-region: rect(0, 342px, 18px, 324px);
696 #new-window-button[cui-areatype="toolbar"]:hover {
697 -moz-image-region: rect(18px, 342px, 36px, 324px);
700 #e10s-button[cui-areatype="toolbar"] {
701 -moz-image-region: rect(0, 342px, 18px, 324px);
704 #e10s-button[cui-areatype="toolbar"]:hover {
705 -moz-image-region: rect(18px, 342px, 36px, 324px);
708 #e10s-button > .toolbarbutton-icon {
709 transform: scaleY(-1);
712 #new-tab-button[cui-areatype="toolbar"] {
713 -moz-image-region: rect(0, 360px, 18px, 342px);
716 #new-tab-button[cui-areatype="toolbar"]:hover {
717 -moz-image-region: rect(18px, 360px, 36px, 342px);
720 #privatebrowsing-button[cui-areatype="toolbar"] {
721 -moz-image-region: rect(0, 378px, 18px, 360px);
724 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
725 -moz-image-region: rect(18px, 378px, 36px, 360px);
728 #find-button[cui-areatype="toolbar"] {
729 -moz-image-region: rect(0, 396px, 18px, 378px);
732 #find-button[cui-areatype="toolbar"]:hover {
733 -moz-image-region: rect(18px, 396px, 36px, 378px);
736 #print-button[cui-areatype="toolbar"] {
737 -moz-image-region: rect(0, 414px, 18px, 396px);
740 #print-button[cui-areatype="toolbar"]:hover {
741 -moz-image-region: rect(18px, 414px, 36px, 396px);
744 #fullscreen-button[cui-areatype="toolbar"] {
745 -moz-image-region: rect(0, 432px, 18px, 414px);
748 #fullscreen-button[cui-areatype="toolbar"]:hover {
749 -moz-image-region: rect(18px, 432px, 36px, 414px);
752 #developer-button[cui-areatype="toolbar"] {
753 -moz-image-region: rect(0, 450px, 18px, 432px);
756 #developer-button[cui-areatype="toolbar"]:hover,
757 #developer-button[cui-areatype="toolbar"][open="true"] {
758 -moz-image-region: rect(18px, 450px, 36px, 432px);
761 #preferences-button[cui-areatype="toolbar"] {
762 -moz-image-region: rect(0, 468px, 18px, 450px);
765 #preferences-button[cui-areatype="toolbar"]:hover {
766 -moz-image-region: rect(18px, 468px, 36px, 450px);
769 #PanelUI-menu-button {
770 -moz-image-region: rect(0, 486px, 18px, 468px);
773 #PanelUI-menu-button:hover,
774 #PanelUI-menu-button[open="true"] {
775 -moz-image-region: rect(18px, 486px, 36px, 468px);
778 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
779 -moz-image-region: rect(0, 504px, 18px, 486px);
782 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
783 -moz-image-region: rect(18px, 504px, 36px, 486px);
786 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
787 -moz-image-region: rect(36px, 504px, 54px, 486px);
790 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
791 -moz-image-region: rect(0, 522px, 18px, 504px);
794 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
795 -moz-image-region: rect(18px, 522px, 36px, 504px);
798 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
799 -moz-image-region: rect(36px, 522px, 54px, 504px);
802 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
803 -moz-image-region: rect(0, 540px, 18px, 522px);
806 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
807 -moz-image-region: rect(18px, 540px, 36px, 522px);
810 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
811 -moz-image-region: rect(36px, 540px, 54px, 522px);
814 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
815 -moz-image-region: rect(0, 558px, 18px, 540px);
818 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
819 -moz-image-region: rect(18px, 558px, 36px, 540px);
822 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
823 -moz-image-region: rect(36px, 558px, 54px, 540px);
826 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
827 -moz-image-region: rect(0, 576px, 18px, 558px);
830 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
831 -moz-image-region: rect(18px, 576px, 36px, 558px);
834 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
835 -moz-image-region: rect(36px, 576px, 54px, 558px);
838 #nav-bar-overflow-button {
839 -moz-image-region: rect(0, 612px, 18px, 594px);
842 #nav-bar-overflow-button:hover,
843 #nav-bar-overflow-button[open="true"] {
844 -moz-image-region: rect(18px, 612px, 36px, 594px);
847 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
848 transform: scaleX(-1);
852 -moz-image-region: rect(0, 648px, 18px, 630px);
855 #tabview-button:hover {
856 -moz-image-region: rect(18px, 648px, 36px, 630px);
859 #email-link-button[cui-areatype="toolbar"] {
860 -moz-image-region: rect(0, 666px, 18px, 648px);
863 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
864 -moz-image-region: rect(18px, 666px, 36px, 648px);
867 #email-button[cui-areatype="toolbar"][disabled="true"] {
868 -moz-image-region: rect(36px, 666px, 54px, 648px);
871 #sidebar-button[cui-areatype="toolbar"] {
872 -moz-image-region: rect(0, 684px, 18px, 666px);
875 #sidebar-button[cui-areatype="toolbar"]:hover {
876 -moz-image-region: rect(18px, 684px, 36px, 666px);
879 #panic-button[cui-areatype="toolbar"] {
880 -moz-image-region: rect(0, 702px, 18px, 684px);
883 #panic-button[cui-areatype="toolbar"]:hover,
884 #panic-button[cui-areatype="toolbar"][open] {
885 -moz-image-region: rect(18px, 702px, 36px, 684px);
888 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
889 transform: scaleX(-1);
892 #web-apps-button[cui-areatype="toolbar"] {
893 -moz-image-region: rect(0, 720px, 18px, 702px);
896 #web-apps-button[cui-areatype="toolbar"]:hover {
897 -moz-image-region: rect(18px, 720px, 36px, 702px);
900 #loop-button-throttled > .toolbarbutton-badge-container,
901 #loop-button > .toolbarbutton-badge-container {
902 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
903 -moz-image-region: rect(0, 18px, 18px, 0);
906 #loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
907 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
908 -moz-image-region: rect(0, 90px, 18px, 72px);
911 #loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container,
912 #loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container,
913 #loop-button[state="disabled"] > .toolbarbutton-badge-container,
914 #loop-button[disabled="true"] > .toolbarbutton-badge-container {
915 -moz-image-region: rect(0, 36px, 18px, 18px);
918 #loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
919 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
920 -moz-image-region: rect(0, 126px, 18px, 108px);
923 #loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
924 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
925 -moz-image-region: rect(0, 54px, 18px, 36px);
928 #loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
929 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
930 -moz-image-region: rect(0, 72px, 18px, 54px);
933 #loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
934 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
935 -moz-image-region: rect(0, 108px, 18px, 90px);
938 #webide-button[cui-areatype="toolbar"] {
939 -moz-image-region: rect(0, 738px, 18px, 720px);
942 #webide-button[cui-areatype="toolbar"]:hover {
943 -moz-image-region: rect(18px, 738px, 36px, 720px);
946 /* === END toolbarbuttons.inc.css === */
948 /* === BEGIN menupanel.inc.css === */
950 /* Menu panel and palette styles */
953 /* avoid aero overrides with changed filenames */
954 --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png);
955 --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png);
958 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
959 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
960 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
961 #social-share-button, #open-file-button, #find-button, #developer-button,
962 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
963 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
964 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
965 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[cui-areatype="menu-panel"],
966 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
967 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
968 #social-share-button, #open-file-button, #find-button, #developer-button,
969 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
970 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
971 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
972 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) {
973 list-style-image: var(--menupanel-list-style-image);
976 #home-button[cui-areatype="menu-panel"],
977 toolbarpaletteitem[place="palette"] > #home-button {
978 -moz-image-region: rect(0px, 128px, 32px, 96px);
981 #home-button[cui-areatype="menu-panel"]:hover,
982 toolbarpaletteitem[place="palette"] > #home-button:hover {
983 -moz-image-region: rect(32px, 128px, 64px, 96px);
986 #bookmarks-menu-button[cui-areatype="menu-panel"],
987 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
988 -moz-image-region: rect(0px, 192px, 32px, 160px);
991 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
992 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
993 -moz-image-region: rect(32px, 192px, 64px, 160px);
996 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
997 -moz-image-region: rect(32px, 192px, 64px, 160px);
1000 #history-panelmenu[cui-areatype="menu-panel"],
1001 toolbarpaletteitem[place="palette"] > #history-panelmenu {
1002 -moz-image-region: rect(0px, 224px, 32px, 192px);
1005 #history-panelmenu[cui-areatype="menu-panel"]:hover,
1006 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
1007 -moz-image-region: rect(32px, 224px, 64px, 192px);
1010 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1011 -moz-image-region: rect(32px, 224px, 64px, 192px);
1014 #downloads-button[cui-areatype="menu-panel"],
1015 toolbarpaletteitem[place="palette"] > #downloads-button {
1016 -moz-image-region: rect(0px, 256px, 32px, 224px);
1019 #downloads-button[cui-areatype="menu-panel"]:hover,
1020 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1021 -moz-image-region: rect(32px, 256px, 64px, 224px);
1024 #add-ons-button[cui-areatype="menu-panel"],
1025 toolbarpaletteitem[place="palette"] > #add-ons-button {
1026 -moz-image-region: rect(0px, 288px, 32px, 256px);
1029 #add-ons-button[cui-areatype="menu-panel"]:hover,
1030 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1031 -moz-image-region: rect(32px, 288px, 64px, 256px);
1034 #open-file-button[cui-areatype="menu-panel"],
1035 toolbarpaletteitem[place="palette"] > #open-file-button {
1036 -moz-image-region: rect(0px, 320px, 32px, 288px);
1039 #open-file-button[cui-areatype="menu-panel"]:hover,
1040 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1041 -moz-image-region: rect(32px, 320px, 64px, 288px);
1044 #save-page-button[cui-areatype="menu-panel"],
1045 toolbarpaletteitem[place="palette"] > #save-page-button {
1046 -moz-image-region: rect(0px, 352px, 32px, 320px);
1049 #save-page-button[cui-areatype="menu-panel"]:hover,
1050 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1051 -moz-image-region: rect(32px, 352px, 64px, 320px);
1054 #sync-button[cui-areatype="menu-panel"],
1055 toolbarpaletteitem[place="palette"] > #sync-button {
1056 -moz-image-region: rect(0px, 384px, 32px, 352px);
1059 #sync-button[cui-areatype="menu-panel"]:hover,
1060 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1061 -moz-image-region: rect(32px, 384px, 64px, 352px);
1064 #sync-button[cui-areatype="menu-panel"][status="active"] {
1065 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1066 -moz-image-region: rect(0px, 32px, 32px, 0px);
1069 #feed-button[cui-areatype="menu-panel"],
1070 toolbarpaletteitem[place="palette"] > #feed-button {
1071 -moz-image-region: rect(0px, 416px, 32px, 384px);
1074 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1075 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1076 -moz-image-region: rect(32px, 416px, 64px, 384px);
1079 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1080 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1081 -moz-image-region: rect(64px, 416px, 96px, 384px);
1084 #social-share-button[cui-areatype="menu-panel"],
1085 toolbarpaletteitem[place="palette"] > #social-share-button {
1086 -moz-image-region: rect(0px, 448px, 32px, 416px);
1089 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1090 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1091 -moz-image-region: rect(32px, 448px, 64px, 416px);
1094 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1095 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1096 -moz-image-region: rect(64px, 448px, 96px, 416px);
1099 #characterencoding-button[cui-areatype="menu-panel"],
1100 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1101 -moz-image-region: rect(0px, 480px, 32px, 448px);
1104 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1105 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1106 -moz-image-region: rect(32px, 480px, 64px, 448px);
1109 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1110 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1111 -moz-image-region: rect(64px, 480px, 96px, 448px);
1114 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1115 -moz-image-region: rect(32px, 480px, 64px, 448px);
1118 #new-window-button[cui-areatype="menu-panel"],
1119 toolbarpaletteitem[place="palette"] > #new-window-button {
1120 -moz-image-region: rect(0px, 512px, 32px, 480px);
1123 #new-window-button[cui-areatype="menu-panel"]:hover,
1124 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1125 -moz-image-region: rect(32px, 512px, 64px, 480px);
1128 #e10s-button[cui-areatype="menu-panel"],
1129 toolbarpaletteitem[place="palette"] > #e10s-button {
1130 -moz-image-region: rect(0px, 512px, 32px, 480px);
1133 #e10s-button[cui-areatype="menu-panel"]:hover,
1134 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1135 -moz-image-region: rect(32px, 512px, 64px, 480px);
1138 #new-tab-button[cui-areatype="menu-panel"],
1139 toolbarpaletteitem[place="palette"] > #new-tab-button {
1140 -moz-image-region: rect(0px, 544px, 32px, 512px);
1143 #new-tab-button[cui-areatype="menu-panel"]:hover,
1144 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1145 -moz-image-region: rect(32px, 544px, 64px, 512px);
1148 #privatebrowsing-button[cui-areatype="menu-panel"],
1149 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1150 -moz-image-region: rect(0px, 576px, 32px, 544px);
1153 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1154 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1155 -moz-image-region: rect(32px, 576px, 64px, 544px);
1158 #tabview-button[cui-areatype="menu-panel"],
1159 toolbarpaletteitem[place="palette"] > #tabview-button {
1160 -moz-image-region: rect(0px, 608px, 32px, 576px);
1163 #tabview-button[cui-areatype="menu-panel"]:hover,
1164 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1165 -moz-image-region: rect(32px, 608px, 64px, 576px);
1168 #find-button[cui-areatype="menu-panel"],
1169 toolbarpaletteitem[place="palette"] > #find-button {
1170 -moz-image-region: rect(0px, 640px, 32px, 608px);
1173 #find-button[cui-areatype="menu-panel"]:hover,
1174 toolbarpaletteitem[place="palette"] > #find-button:hover {
1175 -moz-image-region: rect(32px, 640px, 64px, 608px);
1178 #print-button[cui-areatype="menu-panel"],
1179 toolbarpaletteitem[place="palette"] > #print-button {
1180 -moz-image-region: rect(0px, 672px, 32px, 640px);
1183 #print-button[cui-areatype="menu-panel"]:hover,
1184 toolbarpaletteitem[place="palette"] > #print-button:hover {
1185 -moz-image-region: rect(32px, 672px, 64px, 640px);
1188 #fullscreen-button[cui-areatype="menu-panel"],
1189 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1190 -moz-image-region: rect(0px, 704px, 32px, 672px);
1193 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1194 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1195 -moz-image-region: rect(32px, 704px, 64px, 672px);
1198 #developer-button[cui-areatype="menu-panel"],
1199 toolbarpaletteitem[place="palette"] > #developer-button {
1200 -moz-image-region: rect(0px, 736px, 32px, 704px);
1203 #developer-button[cui-areatype="menu-panel"]:hover,
1204 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1205 -moz-image-region: rect(32px, 736px, 64px, 704px);
1208 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1209 -moz-image-region: rect(32px, 736px, 64px, 704px);
1212 #preferences-button[cui-areatype="menu-panel"],
1213 toolbarpaletteitem[place="palette"] > #preferences-button {
1214 -moz-image-region: rect(0px, 768px, 32px, 736px);
1217 #preferences-button[cui-areatype="menu-panel"]:hover,
1218 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1219 -moz-image-region: rect(32px, 768px, 64px, 736px);
1222 #email-link-button[cui-areatype="menu-panel"],
1223 toolbarpaletteitem[place="palette"] > #email-link-button {
1224 -moz-image-region: rect(0, 800px, 32px, 768px);
1227 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1228 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1229 -moz-image-region: rect(32px, 800px, 64px, 768px);
1232 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1233 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1234 -moz-image-region: rect(64px, 800px, 96px, 768px);
1237 #sidebar-button[cui-areatype="menu-panel"],
1238 toolbarpaletteitem[place="palette"] > #sidebar-button {
1239 -moz-image-region: rect(0, 864px, 32px, 832px);
1242 #sidebar-button[cui-areatype="menu-panel"]:hover,
1243 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1244 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1245 -moz-image-region: rect(32px, 864px, 64px, 832px);
1248 #panic-button[cui-areatype="menu-panel"],
1249 toolbarpaletteitem[place="palette"] > #panic-button {
1250 -moz-image-region: rect(0, 896px, 32px, 864px);
1253 #panic-button[cui-areatype="menu-panel"]:hover,
1254 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1255 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1256 -moz-image-region: rect(32px, 896px, 64px, 864px);
1259 #web-apps-button[cui-areatype="menu-panel"],
1260 toolbarpaletteitem[place="palette"] > #web-apps-button {
1261 -moz-image-region: rect(0, 928px, 32px, 896px);
1264 #web-apps-button[cui-areatype="menu-panel"]:hover,
1265 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1266 -moz-image-region: rect(32px, 928px, 64px, 896px);
1269 #webide-button[cui-areatype="menu-panel"],
1270 toolbarpaletteitem[place="palette"] > #webide-button {
1271 -moz-image-region: rect(0px, 960px, 32px, 928px);
1274 #webide-button[cui-areatype="menu-panel"]:hover,
1275 toolbarpaletteitem[place="palette"] > #webide-button:hover {
1276 -moz-image-region: rect(32px, 960px, 64px, 928px);
1279 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1280 -moz-image-region: rect(0, 832px, 32px, 800px);
1283 #loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1284 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1285 #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1286 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1287 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1288 -moz-image-region: rect(0, 32px, 32px, 0);
1291 /* Make sure that the state icons are not shown in the customization palette. */
1292 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1293 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1294 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1297 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1298 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1299 -moz-image-region: rect(0, 160px, 32px, 128px);
1302 #loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1303 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container,
1304 #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1305 #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1306 -moz-image-region: rect(0, 64px, 32px, 32px);
1309 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1310 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1311 -moz-image-region: rect(0, 224px, 32px, 192px);
1314 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
1315 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1316 -moz-image-region: rect(0, 96px, 32px, 64px);
1319 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
1320 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1321 -moz-image-region: rect(0, 128px, 32px, 96px);
1324 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
1325 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1326 -moz-image-region: rect(0, 192px, 32px, 160px);
1329 /* Wide panel control icons */
1331 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1332 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1333 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1334 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1335 list-style-image: var(--menupanel-small-list-style-image);
1338 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1339 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1340 -moz-image-region: rect(0px, 32px, 16px, 16px);
1343 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1344 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1345 -moz-image-region: rect(16px, 32px, 32px, 16px);
1348 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1349 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1350 -moz-image-region: rect(32px, 32px, 48px, 16px);
1353 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1354 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1355 -moz-image-region: rect(0px, 48px, 16px, 32px);
1358 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1359 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1360 -moz-image-region: rect(16px, 48px, 32px, 32px);
1363 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1364 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1365 -moz-image-region: rect(32px, 48px, 48px, 32px);
1368 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1369 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1370 -moz-image-region: rect(0px, 64px, 16px, 48px);
1373 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1374 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1375 -moz-image-region: rect(16px, 64px, 32px, 48px);
1378 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1379 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1380 -moz-image-region: rect(32px, 64px, 48px, 48px);
1383 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1384 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1385 -moz-image-region: rect(0px, 80px, 16px, 64px);
1388 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1389 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1390 -moz-image-region: rect(16px, 80px, 32px, 64px);
1393 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1394 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1395 -moz-image-region: rect(32px, 80px, 48px, 64px);
1398 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1399 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1400 -moz-image-region: rect(0px, 96px, 16px, 80px);
1403 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1404 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1405 -moz-image-region: rect(16px, 96px, 32px, 80px);
1408 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1409 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1410 -moz-image-region: rect(32px, 96px, 48px, 80px);
1413 #add-share-provider {
1414 list-style-image: var(--menupanel-small-list-style-image);
1415 -moz-image-region: rect(0px, 96px, 16px, 80px);
1418 /* === END menupanel.inc.css === */
1420 .toolbarbutton-1:not([type="menu-button"]) {
1421 -moz-box-orient: vertical;
1425 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1431 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1432 .toolbarbutton-1[disabled="true"]:hover:active,
1433 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1437 .toolbarbutton-1:hover:active,
1438 .toolbarbutton-1[open="true"],
1439 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1441 padding-bottom: 0px;
1442 -moz-padding-start: 3px;
1443 -moz-padding-end: 1px;
1446 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1447 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1448 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1449 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1450 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1453 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1454 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1457 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1458 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1461 .toolbarbutton-1 > .toolbarbutton-icon,
1462 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1465 #nav-bar .toolbarbutton-1,
1466 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1469 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1470 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1471 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1474 #nav-bar #PanelUI-menu-button {
1475 /* -moz-padding-start: 7px;
1476 -moz-padding-end: 5px;*/
1479 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
1480 /* padding-left: 5px;
1481 padding-right: 5px;*/
1484 #nav-bar .toolbarbutton-1 > menupopup {
1485 /* margin-top: -3px;*/
1488 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1492 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1493 /* -moz-padding-end: 0;*/
1496 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1497 /* -moz-padding-start: 0;
1498 -moz-box-align: center;*/
1501 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1502 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1503 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1504 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1505 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1506 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1507 /* padding: 2px 6px;
1509 border-color: transparent;
1510 transition-property: background-color, border-color;
1511 transition-duration: 150ms;*/
1514 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1515 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1516 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1521 /* Help SDK icons fit: */
1522 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1526 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1527 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1531 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1532 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1533 /* -moz-padding-end: 17px;*/
1536 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1539 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1542 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1545 #nav-bar .toolbaritem-combined-buttons {
1546 /* margin-left: 2px;
1547 margin-right: 2px;*/
1550 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1555 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1556 #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 {
1562 -moz-margin-end: -1px;
1566 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1569 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1570 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1571 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1572 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1573 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1574 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1575 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1576 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1579 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1580 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1581 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1582 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1583 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1586 #TabsToolbar .toolbarbutton-1,
1587 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1588 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1589 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1592 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1593 #TabsToolbar .toolbarbutton-1[open],
1594 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1595 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1596 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1599 /* unified back/forward button */
1602 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1605 #forward-button > menupopup {
1606 margin-top: 1px !important;
1609 #forward-button > .toolbarbutton-icon {
1610 background-clip: padding-box !important;
1611 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1612 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1616 -moz-margin-start: -4px !important;
1621 border-radius: 0 10000px 10000px 0;
1624 #forward-button:-moz-locale-dir(rtl) {
1625 border-radius: 10000px 0 0 10000px;
1628 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1629 transition: margin-left 150ms ease-out;
1632 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1633 margin-left: -27px !important;
1636 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1637 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1638 transition-delay: 100s;
1641 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1642 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1643 margin-left: -27.01px !important;
1647 /* padding-top: 3px !important;
1648 padding-bottom: 3px !important;
1649 -moz-padding-start: 5px !important;
1650 -moz-padding-end: 0 !important;*/
1653 border-radius: 10000px;
1657 margin-bottom: -2px;
1660 #back-button:-moz-locale-dir(rtl) {
1663 #back-button > menupopup {
1664 margin-top: -1px !important;
1667 #back-button > .toolbarbutton-icon {
1668 border-radius: 10000px !important;
1669 background-clip: padding-box !important;
1670 /* background-color: hsla(210,25%,98%,.08) !important;
1671 padding: 6px !important;
1672 border-style: none !important;
1673 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1674 0 0 0 1px hsla(210,4%,10%,.25);*/
1675 transition-property: background-color, box-shadow !important;
1676 transition-duration: 250ms !important;
1679 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1680 /* background-color: hsla(210,4%,10%,.08) !important;*/
1683 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1684 #back-button[open="true"] > .toolbarbutton-icon {
1685 /* background-color: hsla(210,4%,10%,.12) !important;
1686 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1687 0 0 0 1px hsla(210,4%,10%,.25),
1688 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1691 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1692 transform: scaleX(-1);
1695 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1696 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1697 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1700 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1701 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1702 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1705 #home-button.bookmark-item {
1706 list-style-image: url("chrome://browser/skin/Toolbar.png");
1709 #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),
1710 #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),
1711 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1712 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1713 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1714 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1715 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1718 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1721 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1722 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1723 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1727 #downloads-button > .toolbarbutton-icon {
1731 /* tabview menu item */
1734 list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png");
1735 -moz-image-region: rect(1px, 89px, 17px, 73px);
1738 #menu_tabview[groups="0"] {
1739 -moz-image-region: rect(1px, 17px, 17px, 1px);
1742 #menu_tabview[groups="1"] {
1743 -moz-image-region: rect(1px, 35px, 17px, 19px);
1746 #menu_tabview[groups="2"] {
1747 -moz-image-region: rect(1px, 53px, 17px, 37px);
1750 #menu_tabview[groups="3"] {
1751 -moz-image-region: rect(1px, 71px, 17px, 55px);
1754 /* undo close tab menu item */
1755 #alltabs_undoCloseTab {
1756 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1759 @media (min-resolution: 1.25dppx) {
1760 #alltabs_undoCloseTab {
1761 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1763 #alltabs_undoCloseTab > .toolbarbutton-icon {
1768 /* zoom control text (reset) button special case: */
1770 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1771 /* To make this line up with the icons, it needs the same height (18px) +
1772 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1773 * increase in text sizes would break things...
1778 /* ::::: fullscreen window controls ::::: */
1781 -moz-margin-start: 4px;
1787 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1792 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1795 #minimize-button:hover {
1796 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1800 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1803 #restore-button:hover {
1804 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1808 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1811 #close-button:hover {
1812 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1815 /* ::::: Location Bar ::::: */
1818 .searchbar-textbox {
1821 -moz-margin-start: 3px;
1825 /* make color as light as possible to deal with dark non-domain parts */
1829 #urlbar:-moz-lwtheme,
1830 .searchbar-textbox:-moz-lwtheme {
1831 /* background-color: rgba(255,255,255,.8);
1832 @navbarTextboxCustomBorder@
1836 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1837 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1838 /* background-color: rgba(255,255,255,.9);*/
1841 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1842 .searchbar-textbox:-moz-lwtheme[focused] {
1843 /* background-color: white;*/
1846 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1847 /* -moz-border-start: none;
1851 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1852 /* border-top-left-radius: 0;
1853 border-bottom-left-radius: 0; */
1856 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1857 /* border-top-right-radius: 0;
1858 border-bottom-right-radius: 0; */
1861 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1862 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1863 /* -moz-margin-start: -5px; */
1866 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1867 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1868 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1869 transform: scaleX(-1);
1872 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1873 -moz-box-direction: reverse;
1876 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1877 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1882 -moz-box-orient: horizontal;
1883 -moz-box-align: stretch;
1886 .urlbar-textbox-container {
1887 -moz-box-align: stretch;
1891 -moz-margin-start: 0;
1895 -moz-box-align: center;
1902 .searchbar-engine-button,
1903 .search-go-container {
1907 .search-go-container > .search-go-button {
1911 .urlbar-icon:hover {
1914 .urlbar-icon[open="true"],
1915 .urlbar-icon:hover:active {
1918 #urlbar-search-splitter {
1920 -moz-margin-start: -3px;
1922 background: transparent;
1925 #urlbar-search-splitter + #urlbar-container > #urlbar,
1926 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1927 -moz-margin-start: 0;
1930 #urlbar-display-box {
1934 -moz-border-end: 1px solid #9C9CFF;
1935 -moz-margin-end: 3px;
1938 -moz-margin-start: 0;
1943 min-width: calc(54px + 11ch);
1953 #identity-box:-moz-locale-dir(ltr) {
1954 /* border-top-left-radius: 1.5px;
1955 border-bottom-left-radius: 1.5px;*/
1958 #identity-box:-moz-locale-dir(rtl) {
1959 /* border-top-right-radius: 1.5px;
1960 border-bottom-right-radius: 1.5px;*/
1963 #notification-popup-box:not([hidden]) + #identity-box {
1964 -moz-padding-start: 10px !important;
1968 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1969 /* border-radius: 0; */
1970 -moz-padding-start: 2px;
1971 -moz-padding-end: 2px;
1972 -moz-margin-end: 1px;
1975 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1976 transition: padding-left, padding-right;
1979 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1980 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1984 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1985 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1989 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1990 #notification-popup-box[hidden] + #identity-box {
1991 /* forward button hiding is delayed when hovered */
1992 transition-delay: 100s;
1995 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1996 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1997 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1998 padding-left: 2.01px;
2001 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
2002 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2003 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2004 padding-right: 2.01px;
2007 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2008 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2009 -moz-margin-end: 3px;
2012 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
2013 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
2014 border-top-right-radius: 0;
2015 border-bottom-right-radius: 0;
2018 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
2019 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
2020 border-top-left-radius: 0;
2021 border-bottom-left-radius: 0;
2024 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
2025 var(--verified-identity-box-backgroundcolor);
2028 #identity-box:-moz-focusring {
2029 outline: 1px dotted #008484;
2030 outline-offset: -1px;
2033 #identity-box.verifiedDomain:-moz-focusring,
2034 #identity-box.verifiedIdentity:-moz-focusring {
2035 outline-color: #000000;
2038 #identity-icon-labels {
2039 -moz-margin-start: 1px;
2040 -moz-margin-end: 3px;
2043 /* Location bar dropmarker */
2045 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2046 background-color: transparent;
2049 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2050 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
2055 .urlbar-history-dropmarker:hover {
2058 .urlbar-history-dropmarker:hover:active,
2059 .urlbar-history-dropmarker[open="true"] {
2062 /* page proxy icon */
2064 /* === BEGIN identity-block.inc.css === */
2067 --identity-box-verified-color: #008484;
2068 /* Default theme does different color per channel, we can't as they do it build-time. */
2069 --identity-box-chrome-color: #9C9CFF;
2072 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2073 color: var(--identity-box-chrome-color);
2074 -moz-border-end: 1px solid var(--identity-box-chrome-color);
2077 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2078 color: var(--identity-box-verified-color);
2079 -moz-border-end: 1px solid var(--identity-box-verified-color);
2082 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2083 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2084 background-position: right;
2085 background-size: 1px;
2086 background-repeat: no-repeat;
2089 /* page proxy icon */
2091 #page-proxy-favicon {
2094 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2098 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2099 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2102 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2103 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2106 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2107 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2110 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2111 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2114 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2115 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2118 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2119 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2122 #page-proxy-favicon[pageproxystate="invalid"] {
2126 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2127 list-style-image: url("chrome://branding/content/icon64.png");
2130 #identity-popup-brandName {
2134 margin-bottom: .5em;
2137 #identity-popup-content-box {
2141 /* === END identity-block.inc.css === */
2143 #page-proxy-favicon {
2144 -moz-image-region: rect(0, 16px, 16px, 0);
2147 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2148 /* -moz-margin-end: 1px;*/
2151 #identity-box:hover > #page-proxy-favicon {
2152 -moz-image-region: rect(0, 32px, 16px, 16px);
2155 #identity-box:hover:active > #page-proxy-favicon,
2156 #identity-box[open=true] > #page-proxy-favicon {
2157 -moz-image-region: rect(0, 48px, 16px, 32px);
2160 #identity-box:hover {
2161 background-color: #FFCF00;
2165 #identity-box:hover:active,
2166 #identity-box[open=true] {
2167 background-color: #FF9F00;
2171 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2172 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2173 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2174 background-color: #9C9CFF;
2178 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2179 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2180 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2181 background-color: #008484;
2187 #treecolAutoCompleteImage {
2191 .ac-result-type-bookmark,
2192 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2193 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2194 -moz-image-region: rect(0px 16px 16px 0px);
2199 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2200 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2201 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2204 .ac-result-type-keyword,
2205 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage),
2206 richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon {
2207 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon");
2212 .ac-result-type-keyword[selected="true"],
2213 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected),
2214 richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon {
2215 list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted");
2218 .ac-result-type-tag,
2219 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2220 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2229 .ac-extra > .ac-comment {
2239 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2240 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2241 -moz-image-region: rect(0, 16px, 16px, 0);
2245 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2246 -moz-image-region: rect(16px, 16px, 32px, 0);
2249 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2253 .ac-comment[selected="true"],
2254 .ac-url-text[selected="true"],
2255 .ac-action-text[selected="true"] {
2256 color: inherit !important;
2259 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2260 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2266 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2267 border-top: 1px solid #9C9CFF;
2270 /* combined go/reload/stop button in location bar */
2272 #urlbar > toolbarbutton {
2273 -moz-margin-start: 0;
2275 background-origin: border-box;
2277 list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
2278 -moz-border-start: 1px solid #9C9CFF;
2281 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2282 border-top-left-radius: 0px;
2283 border-bottom-left-radius: 0px;
2286 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2287 border-top-right-radius: 0px;
2288 border-bottom-right-radius: 0px;
2291 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2292 #urlbar-reload-button:not(:hover) {
2293 -moz-border-start-style: none;
2294 -moz-padding-start: 3px;
2297 #urlbar-reload-button {
2298 -moz-image-region: rect(0px, 14px, 14px, 0px);
2301 #urlbar-reload-button[disabled=true] {
2302 -moz-image-region: rect(28px, 14px, 42px, 0px);
2305 #urlbar-reload-button:not([disabled=true]):hover {
2306 -moz-image-region: rect(14px, 14px, 28px, 0px);
2309 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2310 transform: scaleX(-1);
2314 -moz-image-region: rect(0, 42px, 14px, 28px);
2317 #urlbar-go-button:hover {
2318 -moz-image-region: rect(14px, 42px, 28px, 28px);
2321 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2322 transform: scaleX(-1);
2325 #urlbar-stop-button {
2326 -moz-image-region: rect(0px, 28px, 14px, 14px);
2329 #urlbar-stop-button:hover {
2330 -moz-image-region: rect(14px, 28px, 28px, 14px);
2333 /* popup blocker button */
2335 #page-report-button {
2336 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2337 -moz-image-region: rect(0, 16px, 16px, 0);
2340 #page-report-button:hover ,
2341 #page-report-button:hover:active,
2342 #page-report-button[open="true"] {
2343 -moz-image-region: rect(0, 32px, 16px, 16px);
2346 /* social share panel */
2348 #social-share-panel > iframe {
2349 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2354 .social-share-toolbar {
2355 border-right: 1px solid #9C9CFF;
2356 /* background-color: #000000; */
2359 #social-share-provider-buttons {
2363 #social-share-provider-buttons > .share-provider-button {
2364 -moz-appearance: none;
2372 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2373 #social-share-provider-buttons > .share-provider-button:hover,
2374 #social-share-provider-buttons > .share-provider-button:active {
2378 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2381 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2384 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2390 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2397 /* fixup corners for share panel */
2398 .social-panel > .social-panel-frame {
2399 border-radius: inherit;
2402 #social-share-panel {
2409 .social-share-frame {
2410 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2413 /* we resize our panels dynamically, make it look nice */
2414 transition: height 100ms ease-out, width 100ms ease-out;
2417 .social-share-frame:-moz-locale-dir(ltr) {
2418 border-top-left-radius: 0;
2419 border-bottom-left-radius: 0;
2420 border-top-right-radius: inherit;
2421 border-bottom-right-radius: inherit;
2424 .social-share-frame:-moz-locale-dir(rtl) {
2425 border-top-left-radius: inherit;
2426 border-bottom-left-radius: inherit;
2427 border-top-right-radius: 0;
2428 border-bottom-right-radius: 0;
2431 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2432 border-top-left-radius: inherit;
2433 border-bottom-left-radius: inherit;
2436 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2437 border-top-right-radius: inherit;
2438 border-bottom-right-radius: inherit;
2441 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2442 border-top-left-radius: inherit;
2443 border-bottom-left-radius: inherit;
2446 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2447 border-top-right-radius: inherit;
2448 border-bottom-right-radius: inherit;
2451 /* social recommending panel */
2453 #social-mark-button {
2454 -moz-image-region: rect(0, 16px, 16px, 0);
2457 /* bookmarks menu-button */
2459 #bookmarks-menu-button.bookmark-item {
2460 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2461 -moz-image-region: rect(0px 16px 16px 0px);
2464 #bookmarks-menu-button.bookmark-item[starred] {
2465 -moz-image-region: rect(0px 32px 16px 16px);
2468 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2469 -moz-margin-start: 5px;
2472 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2474 padding-bottom: 2px;
2477 #BMB_bookmarksPopup[side="top"],
2478 #BMB_bookmarksPopup[side="bottom"] {
2480 margin-right: -20px;
2483 #BMB_bookmarksPopup[side="left"],
2484 #BMB_bookmarksPopup[side="right"] {
2486 margin-bottom: -20px;
2489 /* bookmarking panel */
2491 #editBookmarkPanelStarIcon {
2492 list-style-image: url("chrome://browser/skin/places/starred48.png");
2497 #editBookmarkPanelStarIcon[unstarred] {
2498 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2501 #editBookmarkPanelTitle {
2505 #editBookmarkPanelHeader,
2506 #editBookmarkPanelContent {
2507 margin-bottom: .5em;
2510 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2511 #editBMPanel_folderTree {
2518 border-top: 1px solid #9C9CFF;
2519 border-bottom-left-radius: 5px;
2520 border-bottom-right-radius: 5px;
2524 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2525 -moz-margin-end: 10px;
2526 vertical-align: middle;
2529 .panel-promo-closebutton {
2530 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2531 -moz-margin-end: -3px;
2535 .panel-promo-closebutton:hover {
2536 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2539 .panel-promo-closebutton:hover:active {
2540 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2543 .panel-promo-closebutton > .toolbarbutton-text {
2547 /* ::::: content area ::::: */
2550 background-color: Window;
2554 -moz-padding-start: 0px;
2557 #sidebar-header > .close-icon {
2558 /* padding: 4px 2px;
2561 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2564 #sidebar-header > .close-icon:hover,
2565 #sidebar-header > .close-icon:hover:active {
2566 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2569 .browserContainer > findbar {
2571 background-color: -moz-dialog;
2572 color: -moz-DialogText;
2581 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2584 #TabsToolbar .toolbar-holder {
2585 background-color: #000000; /* correct effect of being an actual toolbar */
2588 #main-window[disablechrome] #TabsToolbar,
2589 #TabsToolbar[tabsontop="false"] {
2590 border-bottom: 1px solid #008484;
2593 /* === BEGIN tabs.inc.css === */
2596 .tabs-newtab-button,
2597 #TabsToolbar > #new-tab-button {
2602 padding: 1px 4px 2px;
2605 .tabbrowser-tab:first-of-type {
2606 -moz-margin-start: 2px;
2609 .tabs-newtab-button,
2610 #TabsToolbar > #new-tab-button {
2611 border-radius: 8px 8px 0px 0px;
2612 -moz-margin-start: 0;
2615 .tabs-newtab-button:not(:hover),
2616 #TabsToolbar > #new-tab-button:not(:hover) {
2617 background-color: #C09070;
2620 .tabbrowser-tab[remote] {
2621 text-decoration: underline;
2624 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2625 .tabbrowser-tab[selected=true] {
2626 /* position: relative;
2630 .tab-background-middle {
2648 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2651 .tab-throbber[busy] {
2652 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2655 .tab-throbber[progress] {
2656 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2659 .tab-throbber:not([pinned]),
2660 .tab-icon-image:not([pinned]) {
2661 -moz-margin-end: 3px;
2664 .tab-throbber[pinned],
2665 .tab-icon-image[pinned] {
2666 -moz-margin-start: 2px;
2667 -moz-margin-end: 2px;
2671 /* this needs to add up to the 16px of the icon image */
2673 margin-top: 2px !important;
2674 margin-bottom: 2px !important;
2683 .tabs-newtab-button {
2684 /* overlap the tab curves */
2687 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2691 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2692 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2695 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2696 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2699 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2702 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2705 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2706 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2709 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2710 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2713 .tab-background-start[selected=true]::after,
2714 .tab-background-start[selected=true]::before,
2715 .tab-background-start,
2716 .tab-background-end,
2717 .tab-background-end[selected=true]::after,
2718 .tab-background-end[selected=true]::before {
2721 .tabbrowser-tab:not([selected=true]),
2722 .tabbrowser-tab:-moz-lwtheme {
2725 /* tabbrowser-tab focus ring */
2726 .tabbrowser-tab:focus {
2727 outline: 1px dotted;
2732 .tabbrowser-tab[selected="true"] {
2735 /* End selected tab */
2737 /* Tab pointer-events */
2740 pointer-events: none;
2743 .tab-background-middle,
2744 .tabs-newtab-button,
2746 pointer-events: auto;
2751 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2752 background-color: #E7ADE7;
2755 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2756 background-color: #3333FF;
2760 /* New tab button */
2762 .tabs-newtab-button {
2766 /* === END tabs.inc.css === */
2770 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2771 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2772 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2774 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2775 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2778 /* Tab DnD indicator */
2779 .tab-drop-indicator {
2780 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2781 margin-bottom: -11px;
2784 /* Tab close button */
2786 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2789 .tab-close-button:hover,
2790 .tab-close-button:hover[selected="true"] {
2791 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2794 .tab-close-button:hover:active,
2795 .tab-close-button:hover:active[selected="true"] {
2796 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2799 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2801 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2802 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2806 background-origin: border-box;
2809 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2810 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2811 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2812 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2815 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2816 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2819 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2820 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2821 /* transform: scaleX(-1);*/
2824 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2825 transition: 1s background-color ease-out;
2828 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2829 background-color: #008484;
2832 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2833 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2834 /* border-width: 0 2px 0 0;
2835 border-style: solid;
2836 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2839 .tabs-newtab-button > .toolbarbutton-icon {
2841 margin-bottom: -1px;
2844 .tabs-newtab-button,
2845 #TabsToolbar > #new-tab-button,
2846 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2847 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2848 list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png");
2849 -moz-image-region: rect(0, 16px, 18px, 0);
2852 .tabs-newtab-button,
2853 .tabs-newtab-button:hover,
2854 #TabsToolbar > #new-tab-button,
2855 #TabsToolbar > #new-tab-button:hover {
2856 -moz-image-region: rect(0, 32px, 18px, 16px);
2859 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2860 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2861 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2862 .tabs-newtab-button:-moz-lwtheme-brighttext,
2863 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2864 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2867 #TabsToolbar > #new-tab-button {
2872 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2875 #alltabs-button:hover,
2876 #alltabs-button:hover:active,
2877 #alltabs-button[open="true"] {
2878 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2881 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2882 #alltabs-button:-moz-lwtheme-brighttext {
2885 #alltabs-button > .toolbarbutton-icon {
2889 #alltabs-button > .toolbarbutton-menu-dropmarker {
2893 /* All tabs menupopup */
2894 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2895 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2896 -moz-image-region: auto;
2899 .alltabs-item[selected="true"] {
2903 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2904 list-style-image: url("chrome://global/skin/icons/loading.gif");
2907 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2908 background-color: #402800;
2911 toolbarbutton.chevron {
2912 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2915 toolbarbutton.chevron:hover {
2916 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2919 toolbar[brighttext] toolbarbutton.chevron {
2920 list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important;
2923 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2924 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2925 transform: scaleX(-1);
2928 toolbarbutton.chevron > .toolbarbutton-text,
2929 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2933 toolbarbutton.chevron > .toolbarbutton-icon {
2937 #sidebar-throbber[loading="true"] {
2938 list-style-image: url("chrome://global/skin/icons/loading.gif");
2939 -moz-margin-end: 4px;
2942 /* Bookmarks toolbar */
2943 #PlacesToolbarDropIndicator {
2944 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2947 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2948 background-color: #008484 !important;
2949 color: #FFCF00 !important;
2952 /* rules for menupopup drop indicators */
2953 .menupopup-drop-indicator-bar {
2955 /* these two margins must together compensate the indicator's height */
2957 margin-bottom: -1px;
2960 .menupopup-drop-indicator {
2961 list-style-image: none;
2963 -moz-margin-end: -4em;
2964 background-color: #008484;
2967 /* ::::: Identity Indicator Styling ::::: */
2970 #identity-popup-icon {
2974 list-style-image: url("chrome://browser/skin/identity.png");
2975 -moz-image-region: rect(0px, 64px, 64px, 0px);
2978 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2979 -moz-image-region: rect(64px, 64px, 128px, 0px);
2982 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2983 -moz-image-region: rect(128px, 64px, 192px, 0px);
2986 /* Popup Body Text */
2987 .identity-popup-description {
2988 white-space: pre-wrap;
2989 -moz-padding-start: 15px;
2993 .identity-popup-label {
2994 white-space: pre-wrap;
2995 -moz-padding-start: 15px;
2999 #identity-popup-content-host,
3000 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
3004 #identity-popup-content-host {
3011 #identity-popup-content-owner {
3013 margin-bottom: 0 !important;
3018 .verifiedDomain > #identity-popup-content-owner {
3019 font-weight: normal;
3022 #identity-popup-content-verifier {
3026 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
3027 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
3029 -moz-margin-start: -24px;
3032 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
3033 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
3034 list-style-image: url("chrome://browser/skin/Secure24.png");
3037 #identity-popup-help-icon {
3039 margin: 7px 0 0 -3px;
3042 list-style-image: url("chrome://global/skin/icons/question-16.png");
3046 #identity-popup-help-icon > .button-box > .button-text {
3050 #identity-popup-help-icon > .button-box > .button-icon {
3055 #identity-popup-more-info-button {
3061 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
3065 #identity-popup-container {
3070 #identity-popup-button-container {
3071 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3076 .popup-notification-icon {
3079 -moz-margin-end: 10px;
3082 .popup-notification-icon[popupid="geolocation"] {
3083 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3086 .popup-notification-icon[popupid="xpinstall-disabled"],
3087 .popup-notification-icon[popupid="addon-progress"],
3088 .popup-notification-icon[popupid="addon-install-cancelled"],
3089 .popup-notification-icon[popupid="addon-install-blocked"],
3090 .popup-notification-icon[popupid="addon-install-failed"],
3091 .popup-notification-icon[popupid="addon-install-complete"] {
3092 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3097 .popup-notification-icon[popupid="click-to-play-plugins"] {
3098 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3101 .popup-notification-icon[popupid="web-notifications"] {
3102 list-style-image: url("chrome://browser/skin/notification-64.png");
3105 .addon-progress-description {
3110 .popup-progress-label,
3111 .popup-progress-meter {
3112 -moz-margin-start: 0;
3116 .popup-progress-cancel {
3117 -moz-appearance: none;
3118 background: transparent;
3124 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
3125 -moz-image-region: rect(0px, 32px, 16px, 16px);
3128 .popup-progress-cancel:hover {
3129 -moz-image-region: rect(16px, 32px, 32px, 16px);
3132 .popup-progress-cancel:active {
3133 -moz-image-region: rect(32px, 32px, 48px, 16px);
3136 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3137 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
3138 .popup-notification-icon[popupid*="offline-app-requested"],
3139 .popup-notification-icon[popupid="offline-app-usage"] {
3140 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3143 .popup-notification-icon[popupid="password-save"],
3144 .popup-notification-icon[popupid="password-change"] {
3145 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3148 .popup-notification-icon[popupid="webapps-install-progress"],
3149 .popup-notification-icon[popupid="webapps-install"] {
3150 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3153 .popup-notification-icon[popupid="bad-content"] {
3154 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3157 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3158 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3159 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3162 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3163 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3164 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3167 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3168 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3169 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3172 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3173 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3174 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3177 .popup-notification-icon[popupid="pointerLock"] {
3178 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3181 /* Notification icon box */
3182 #notification-popup .panel-promo-box {
3183 /* margin: 10px -10px -10px; */
3186 #notification-popup-box {
3188 background-color: #000000;
3189 background-clip: padding-box;
3192 border-radius: 3px 0 0 3px;
3193 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3194 -moz-margin-end: -8px;
3195 border-right-width: 8px;
3198 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3199 /* padding-left: 7px; */
3202 #notification-popup-box:-moz-locale-dir(rtl),
3203 .notification-anchor-icon:-moz-locale-dir(rtl) {
3204 transform: scaleX(-1);
3207 .notification-anchor-icon {
3213 .notification-anchor-icon:-moz-focusring {
3214 outline: 1px dotted #008484;
3217 .default-notification-icon,
3218 #default-notification-icon {
3219 list-style-image: url("chrome://global/skin/icons/information-16.png");
3222 .identity-notification-icon,
3223 #identity-notification-icon {
3224 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3227 .geo-notification-icon,
3228 #geo-notification-icon {
3229 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3232 #addons-notification-icon {
3233 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3236 .indexedDB-notification-icon,
3237 #indexedDB-notification-icon {
3238 list-style-image: url("chrome://global/skin/icons/question-16.png");
3241 #password-notification-icon {
3242 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3245 #webapps-notification-icon {
3246 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3249 #plugins-notification-icon {
3250 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3253 #plugins-notification-icon.plugin-hidden {
3254 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3257 #plugins-notification-icon.plugin-blocked {
3258 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3261 #plugins-notification-icon {
3262 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3265 #plugins-notification-icon:hover {
3266 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3269 #notification-popup-box[hidden] {
3270 /* Override display:none to make the pluginBlockedNotification animation work
3271 when showing the notification repeatedly. */
3273 visibility: collapse;
3276 #plugins-notification-icon.plugin-blocked[showing] {
3277 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3280 @keyframes pluginBlockedNotification {
3289 .bad-content-blocked-notification-icon,
3290 #bad-content-blocked-notification-icon {
3291 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3294 .bad-content-unblocked-notification-icon,
3295 #bad-content-unblocked-notification-icon {
3296 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3299 .webRTC-shareDevices-notification-icon,
3300 #webRTC-shareDevices-notification-icon {
3301 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3304 .webRTC-sharingDevices-notification-icon,
3305 #webRTC-sharingDevices-notification-icon {
3306 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3309 .webRTC-shareMicrophone-notification-icon,
3310 #webRTC-shareMicrophone-notification-icon {
3311 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3314 .webRTC-sharingMicrophone-notification-icon,
3315 #webRTC-sharingMicrophone-notification-icon {
3316 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3319 .webRTC-shareScreen-notification-icon,
3320 #webRTC-shareScreen-notification-icon {
3321 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3324 .webRTC-sharingScreen-notification-icon,
3325 #webRTC-sharingScreen-notification-icon {
3326 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3329 .web-notifications-notification-icon,
3330 #web-notifications-notification-icon {
3331 list-style-image: url("chrome://browser/skin/notification-16.png");
3334 #pointerLock-notification-icon {
3335 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3337 #pointerLock-cancel {
3341 /* Translation infobar */
3343 /* === BEGIN infobar.inc.css === */
3345 notification[value="translation"] .messageImage {
3346 list-style-image: url("chrome://browser/skin/translation-16.png");
3347 -moz-image-region: rect(0, 32px, 16px, 16px);
3350 @media (min-resolution: 1.25dppx) {
3351 notification[value="translation"] .messageImage {
3352 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3353 -moz-image-region: rect(0, 64px, 32px, 32px);
3357 notification[value="translation"][state="translating"] .messageImage {
3358 list-style-image: url("chrome://browser/skin/translating-16.png");
3359 -moz-image-region: auto;
3362 @media (min-resolution: 1.25dppx) {
3363 notification[value="translation"][state="translating"] .messageImage {
3364 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3368 notification[value="translation"] button,
3369 notification[value="translation"] menulist {
3373 notification[value="translation"] menulist > .menulist-dropmarker {
3376 .translation-menupopup arrowscrollbox {
3380 .translation-attribution {
3382 -moz-box-align: end;
3386 .translation-attribution > label {
3390 .translation-attribution > image {
3394 .translation-welcome-panel {
3398 .translation-welcome-logo {
3401 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3402 -moz-image-region: rect(0, 64px, 32px, 32px);
3405 .translation-welcome-content {
3406 -moz-margin-start: 16px;
3409 .translation-welcome-headline {
3414 .translation-welcome-body {
3419 /* === END infobar.inc.css === */
3421 notification[value="translation"] {
3425 .translate-notification-icon,
3426 #translate-notification-icon {
3427 list-style-image: url("chrome://browser/skin/translation-16.png");
3428 -moz-image-region: rect(0px, 16px, 16px, 0px);
3431 .translated-notification-icon,
3432 #translated-notification-icon {
3433 list-style-image: url("chrome://browser/skin/translation-16.png");
3434 -moz-image-region: rect(0px, 32px, 16px, 16px);
3437 .translation-menupopup {
3438 -moz-appearance: none;
3441 /* Bookmarks roots menu-items */
3442 #subscribeToPageMenuitem:not([disabled]),
3443 #subscribeToPageMenupopup,
3444 #BMB_subscribeToPageMenuitem:not([disabled]),
3445 #BMB_subscribeToPageMenupopup {
3446 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3449 #bookmarksToolbarFolderMenu,
3450 #BMB_bookmarksToolbar,
3451 #panelMenu_bookmarksToolbar {
3452 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3453 -moz-image-region: auto;
3456 #BMB_unsortedBookmarks,
3457 #panelMenu_unsortedBookmarks {
3458 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3459 -moz-image-region: auto;
3462 /* ::::: Keyboard UI Panel ::::: */
3467 border-radius: 20px;
3470 .KUI-panel[level="top"] {
3471 /*background-color: rgba(27%,27%,27%,.65);*/
3477 padding: 20px 10px 10px;
3481 .ctrlTab-favicon[src] {
3482 background-color: #000000;
3488 .ctrlTab-preview-inner > .tabPreview-canvas {
3491 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3495 .ctrlTab-preview-inner {
3496 padding-bottom: 10px;
3499 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3501 background-color: #000000;
3502 border-radius: .5em;
3505 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3507 background-color: #000000;
3510 border: 2px solid #9C9CFF;
3511 border-radius: .5em;
3514 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3515 margin: -10px -10px 0;
3527 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3535 .sync-panel-button-box {
3539 #sync-error-panel-title,
3540 #sync-start-panel-title {
3546 #sync-start-panel-subtitle,
3547 #sync-error-panel-subtitle {
3553 .statuspanel-label {
3556 background: #404000;
3557 border: 1px none #9C9CFF;
3558 border-top-style: solid;
3563 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3564 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3565 border-right-style: solid;
3566 border-top-right-radius: .3em;
3570 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3571 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3572 border-left-style: solid;
3573 border-top-left-radius: .3em;
3577 /* HACK to abolish devily color on main content */
3580 background-color: transparent !important;
3583 /* === BEGIN highlighter.inc.css === */
3585 /* Box model highlighter */
3586 svg|g.box-model-container {
3590 svg|polygon.box-model-content {
3594 svg|polygon.box-model-padding {
3598 svg|polygon.box-model-border {
3602 svg|polygon.box-model-margin {
3606 svg|polygon.box-model-content,
3607 svg|polygon.box-model-padding,
3608 svg|polygon.box-model-border,
3609 svg|polygon.box-model-margin {
3613 svg|line.box-model-guide-top,
3614 svg|line.box-model-guide-right,
3615 svg|line.box-model-guide-bottom,
3616 svg|line.box-model-guide-left {
3618 stroke-dasharray: 5 3;
3619 shape-rendering: crispEdges;
3622 /* Highlighter - Node Infobar */
3624 .highlighter-nodeinfobar {
3627 background-color: #000000;
3628 background-clip: padding-box;
3629 border: 1px solid #008484;
3631 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3636 /* Highlighter - Node Infobar - text */
3638 .highlighter-nodeinfobar-text {
3640 /* 100% - size of the buttons and margins */
3641 max-width: calc(100% - 2 * (26px + 6px));
3642 padding-bottom: 1px;
3645 html|*.highlighter-nodeinfobar-tagname {
3649 html|*.highlighter-nodeinfobar-id {
3653 html|*.highlighter-nodeinfobar-pseudo-classes {
3657 html|*.highlighter-nodeinfobar-dimensions {
3659 -moz-border-start: 1px solid #9C9CFF;
3660 -moz-margin-start: 6px;
3661 -moz-padding-start: 6px;
3664 /* Highlighter - Node Infobar - box & arrow */
3666 .highlighter-nodeinfobar-arrow {
3669 -moz-margin-start: calc(50% - 7px);
3670 transform: rotate(-45deg);
3671 background-clip: padding-box;
3672 background-repeat: no-repeat;
3675 .highlighter-nodeinfobar-arrow-top {
3676 margin-bottom: -8px;
3678 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3681 .highlighter-nodeinfobar-arrow-bottom {
3684 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3687 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3691 /* Css transform highlighter */
3693 svg|polygon.css-transform-transformed {
3698 svg|polygon.css-transform-untransformed {
3703 svg|polygon.css-transform-transformed,
3704 svg|polygon.css-transform-untransformed,
3705 svg|line.css-transform-line {
3707 stroke-dasharray: 5 3;
3711 /* === END highlighter.inc.css === */
3713 #full-screen-warning-message {
3714 background-color: #000000;
3719 box-shadow: 0 0 2px #9C9CFF;
3722 #full-screen-warning-container[obscure-browser] {
3723 background-color: rgba(0,0,0,0.3);
3726 .full-screen-description {
3730 #full-screen-domain-text {
3734 .full-screen-approval-button,
3735 #full-screen-remember-decision {
3739 /* === BEGIN commandline.inc.css === */
3741 /* Developer toolbar */
3743 #developer-toolbar {
3744 border-top: 3px solid #000000;
3745 border-bottom: none;
3748 #developer-toolbar .toolbar-holder {
3749 background-color: #8050B0;
3753 #developer-toolbar .toolbar-holder {
3754 background-color: #8050B0;
3758 #developer-toolbar .toolbar-startcap,
3759 #developer-toolbar .toolbar-endcap{
3760 background-color: #6000CF;
3763 #developer-toolbar {
3765 min-height: 32px; */
3768 #developer-toolbar > toolbarbutton {
3774 .developer-toolbar-button > image {
3775 /* margin: auto 10px; */
3778 #developer-toolbar-toolbox-button > label {
3782 .developer-toolbar-button > .toolbarbutton-icon,
3783 #developer-toolbar-closebutton > .toolbarbutton-icon {
3788 #developer-toolbar-toolbox-button {
3789 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3790 -moz-image-region: rect(0px, 16px, 16px, 0px);
3793 #developer-toolbar-toolbox-button > label {
3797 #developer-toolbar-toolbox-button:hover,
3798 #developer-toolbar-toolbox-button:hover:active,
3799 #developer-toolbar-toolbox-button[checked=true] {
3800 -moz-image-region: rect(0px, 32px, 16px, 16px);
3803 @media (min-resolution: 2dppx) {
3804 #developer-toolbar-toolbox-button {
3805 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3806 -moz-image-region: rect(0px, 32px, 32px, 0px);
3809 #developer-toolbar-toolbox-button:hover,
3810 #developer-toolbar-toolbox-button:hover:active,
3811 #developer-toolbar-toolbox-button[checked=true] {
3812 -moz-image-region: rect(0px, 64px, 32px, 32px);
3816 #developer-toolbar-closebutton {
3817 list-style-image: url("chrome://browser/skin/devtools/close.png");
3818 -moz-image-region: rect(0px, 16px, 16px, 0px);
3823 #developer-toolbar-closebutton > .toolbarbutton-icon {
3826 #developer-toolbar-closebutton > .toolbarbutton-text {
3830 #developer-toolbar-closebutton:hover,
3831 #developer-toolbar-closebutton:hover:active {
3832 -moz-image-region: rect(0px, 32px, 16px, 16px);
3835 @media (min-resolution: 2dppx) {
3836 #developer-toolbar-closebutton {
3837 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3838 -moz-image-region: rect(0px, 32px, 32px, 0px);
3841 #developer-toolbar-closebutton:hover,
3842 #developer-toolbar-closebutton:hover:active {
3843 -moz-image-region: rect(0px, 64px, 32px, 32px);
3849 html|*#gcli-tooltip-frame,
3850 html|*#gcli-output-frame {
3853 background-color: transparent;
3859 background-color: transparent;
3862 .gclitoolbar-input-node,
3863 .gclitoolbar-complete-node {
3865 -moz-box-align: center;
3869 background-color: transparent;
3872 .gclitoolbar-input-node {
3873 /* line-height: 32px;
3874 outline-style: none; */
3875 background-repeat: no-repeat;
3876 background-color: rgba(0, 0, 0, .75);
3879 .gclitoolbar-input-node[focused="true"] {
3880 background-color: #000000;
3883 .gclitoolbar-input-node::before {
3885 display: inline-block;
3886 -moz-box-ordinal-group: 0;
3890 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3891 background-position: 0 center;
3892 background-size: 32px 16px;
3895 .gclitoolbar-input-node[focused="true"]::before {
3896 background-position: -16px center;
3899 @media (min-resolution: 2dppx) {
3900 .gclitoolbar-input-node::before {
3901 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3905 .gclitoolbar-input-node:not([focused="true"]) {
3906 border-color: transparent;
3909 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3910 background-color: #008484;
3915 .gclitoolbar-complete-node {
3917 background-color: transparent;
3920 pointer-events: none;
3923 .gcli-in-incomplete,
3927 .gcli-in-closebrace,
3934 .gcli-in-incomplete {
3935 border-bottom: 2px dotted #8050B0;
3939 border-bottom: 2px dotted #FF0000;
3950 .gcli-in-closebrace {
3954 /* === END commandline.inc.css === */
3956 /* === BEGIN responsivedesign.inc.css === */
3958 /* Responsive Mode */
3960 .browserContainer[responsivemode] {
3961 background-color: #221500;
3962 padding: 0 20px 20px 20px;
3965 .browserStack[responsivemode] {
3966 box-shadow: 0 0 7px #9C9CFF;
3969 .devtools-responsiveui-toolbar {
3970 background: transparent;
3971 /* text color is textColor from dark theme, since no theme is applied to
3972 * the responsive toolbar.
3978 border-bottom-width: 0;
3981 .devtools-responsiveui-menulist,
3982 .devtools-responsiveui-toolbarbutton {
3983 -moz-box-align: center;
3985 /* min-height: 22px;*/
3986 /* margin: 0 3px; */
3989 .devtools-responsiveui-menulist .menulist-editable-box {
3990 background-color: transparent;
3993 .devtools-responsiveui-menulist html|*.menulist-editable-input {
3998 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
3999 /* background: hsla(212,7%,57%,.35);*/
4002 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
4007 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
4008 -moz-box-orient: horizontal;
4011 .devtools-responsiveui-menulist:-moz-focusring,
4012 .devtools-responsiveui-toolbarbutton:-moz-focusring {
4013 /* outline: 1px dotted hsla(210,30%,85%,0.7);
4014 outline-offset: -4px;*/
4017 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
4021 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
4022 /* border-color: hsla(210,8%,5%,.6);
4023 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
4024 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); */
4027 .devtools-responsiveui-menulist[open=true],
4028 .devtools-responsiveui-toolbarbutton[open=true],
4029 .devtools-responsiveui-toolbarbutton[checked=true] {
4030 /* border-color: hsla(210,8%,5%,.6) !important;
4031 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
4032 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); */
4035 .devtools-responsiveui-toolbarbutton[checked=true] {
4036 /* color: hsl(208,100%,60%); */
4039 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
4040 /* background-color: transparent !important;*/
4043 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4044 /* background-color: hsla(210,8%,5%,.2) !important;*/
4047 .devtools-responsiveui-menulist > .menulist-label-box {
4051 .devtools-responsiveui-menulist > .menulist-dropmarker {
4052 /* display: -moz-box;
4053 background-color: transparent;
4054 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4055 -moz-box-align: center;
4060 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4063 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4064 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4067 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4068 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/