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 -moz-box-orient: vertical; /* for flex hack */
44 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
47 /* ::::: primary toolbar ::::: */
49 .toolbar-primary > .toolbar-box > .toolbar-holder {
50 background-color: #A09090;
53 .toolbar-primary > .toolbar-box > .toolbar-startcap,
54 .toolbar-primary > .toolbar-box > .toolbar-endcap {
55 background-color: #9C9CFF;
58 /* Hides the titlebar-placeholder underneath the window caption buttons when we
59 are not autohiding the menubar. */
60 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
64 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
65 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
66 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
67 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
68 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
72 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
73 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
74 /* margin-top: 15px;*/
77 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
78 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
79 #toolbar-menubar:not([autohide="true"]) {
80 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
84 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
85 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
86 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
91 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
92 /* 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 */
96 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
97 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
98 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
99 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
100 outline-color: #A09090;
106 #navigator-toolbox::after {
109 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
113 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
116 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
119 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
120 overflow: -moz-hidden-unscrollable;
122 transition: min-height 170ms ease-out, max-height 170ms ease-out;
125 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
128 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
131 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
132 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
133 /* Indent also due to non-applicable aero rule in original Windows theme. */
134 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
135 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
137 background-color: #6000CF;
141 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
142 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
143 background-color: #8050B0;
147 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
151 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
155 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
156 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
161 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
162 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
163 #titlebar-buttonbox > .titlebar-button {
169 /* Position the toolbar above the bottom of background tabs */
174 #personal-bookmarks {
175 /* min-height: 24px; */
178 #print-preview-toolbar:not(:-moz-lwtheme) {
179 /* -moz-appearance: toolbox; */
182 #browser-bottombox:not(:-moz-lwtheme) {
185 /* ::::: titlebar ::::: */
189 background-color: #6000CF;
192 #titlebar:-moz-window-inactive {
193 background-color: #8050B0;
197 #main-window[sizemode="normal"] > #titlebar {
202 #main-window[sizemode="maximized"] > #titlebar {
206 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
207 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
208 #main-window[sizemode="normal"] > #titlebar,
209 #main-window[sizemode="maximized"] > #titlebar {
211 /* There is a margin-bottom set to -23 by code. */
215 /* The button box must appear on top of the navigator-toolbox in order for
216 * click and hover mouse events to work properly for the button in the restored
217 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
218 * can swallow those events. It will also place the buttons above the fog on
219 * themes with Aero Glass.
222 #main-window[sizemode="maximized"] #titlebar-buttonbox {
223 -moz-appearance: none;
226 -moz-margin-end: 3px;
230 .titlebar-placeholder[type="appmenu-button"] {
234 .titlebar-placeholder[type="caption-buttons"] {
238 /* titlebar command buttons */
241 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
244 #titlebar-min:hover {
245 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
249 list-style-image: url("chrome://browser/skin/win-maximize.gif");
252 #titlebar-max:hover {
253 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
256 #main-window[sizemode="maximized"] #titlebar-max {
257 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
260 #main-window[sizemode="maximized"] #titlebar-max:hover {
261 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
265 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
268 #titlebar-close:hover {
269 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
272 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
273 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
274 #titlebar-fullscreen-button {
275 -moz-appearance: none;
276 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
277 -moz-image-region: rect(0px, 16px, 16px, 0px);
280 #titlebar-fullscreen-button:hover {
281 -moz-image-region: rect(0px, 32px, 16px, 16px);
284 @media (min-resolution: 2dppx) {
285 #titlebar-fullscreen-button {
286 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
287 -moz-image-region: rect(0px, 32px, 32px, 0px);
290 #titlebar-fullscreen-button:hover {
291 -moz-image-region: rect(0px, 64px, 32px, 32px);
297 /* ::::: bookmark buttons ::::: */
299 toolbarbutton.bookmark-item:not(.subviewbutton),
300 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
305 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
306 toolbarbutton.bookmark-item[open="true"] {
309 -moz-padding-start: 4px;
310 -moz-padding-end: 2px;*/
313 .bookmark-item > .toolbarbutton-icon,
314 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
319 /* Force the display of the label for bookmarks */
320 .bookmark-item > .toolbarbutton-text,
321 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
322 display: -moz-box !important;
325 .bookmark-item > .toolbarbutton-menu-dropmarker {
329 #bookmarks-toolbar-placeholder {
330 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
333 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
334 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
335 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
338 /* ----- BOOKMARK STAR ANIMATION ----- */
340 @keyframes animation-bookmarkAdded {
341 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
342 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
344 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
347 @keyframes animation-bookmarkPulse {
348 from { transform: scale(1); }
349 50% { transform: scale(1.3); }
350 to { transform: scale(1); }
353 #bookmarked-notification-container {
362 #bookmarked-notification {
363 background-size: 16px;
364 background-position: center;
365 background-repeat: no-repeat;
371 #bookmarked-notification-dropmarker-anchor {
376 #bookmarked-notification-dropmarker-icon {
382 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
383 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
384 animation: animation-bookmarkAdded 800ms;
385 animation-timing-function: ease, ease, ease;
388 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
389 list-style-image: none !important;
392 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
394 animation: animation-bookmarkPulse 300ms;
395 animation-delay: 600ms;
396 animation-timing-function: ease-out;
399 /* ::::: bookmark menus ::::: */
402 menuitem.bookmark-item {
407 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
412 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
413 -moz-padding-start: 0px;
416 /* ::::: bookmark items ::::: */
419 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
420 -moz-image-region: auto;
423 .bookmark-item[container] {
424 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
425 -moz-image-region: auto;
428 .bookmark-item[container][open] {
429 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
430 -moz-image-region: auto;
433 .bookmark-item[container][livemark] {
434 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
435 -moz-image-region: auto;
438 .bookmark-item[container][livemark] .bookmark-item {
439 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
440 -moz-image-region: rect(0px, 16px, 16px, 0px);
443 .bookmark-item[container][livemark] .bookmark-item[visited] {
444 -moz-image-region: rect(0px, 32px, 16px, 16px);
447 .bookmark-item[container][query] {
448 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
449 -moz-image-region: auto;
452 .bookmark-item[query][tagContainer] {
453 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
454 -moz-image-region: auto;
457 .bookmark-item[query][dayContainer] {
458 list-style-image: url("chrome://communicator/skin/history/calendar.png");
459 -moz-image-region: auto;
462 .bookmark-item[query][hostContainer] {
463 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
464 -moz-image-region: auto;
467 .bookmark-item[query][hostContainer][open] {
468 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
469 -moz-image-region: auto;
472 .bookmark-item[cutting] > .toolbarbutton-icon,
473 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
477 .bookmark-item[cutting] > .toolbarbutton-text,
478 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
482 /* ::::: primary toolbar buttons ::::: */
484 /* === BEGIN toolbarbuttons.inc.css === */
486 /* Whole section of this included file: */
487 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
488 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
489 #social-share-button, #open-file-button, #find-button, #developer-button,
490 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
491 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
492 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
493 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button),
495 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
496 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
500 -moz-image-region: rect(0, 36px, 18px, 18px);
503 #back-button:hover:not([disabled="true"]) {
504 -moz-image-region: rect(18px, 36px, 36px, 18px);
507 #back-button[disabled="true"] {
508 -moz-image-region: rect(36px, 36px, 54px, 18px);
512 -moz-image-region: rect(0, 72px, 18px, 54px);
515 #forward-button:hover:not([disabled="true"]) {
516 -moz-image-region: rect(18px, 72px, 36px, 54px);
519 #forward-button[disabled="true"] {
520 -moz-image-region: rect(36px, 72px, 54px, 54px);
523 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
524 #forward-button:-moz-locale-dir(rtl) {
525 transform: scaleX(-1);
528 #home-button[cui-areatype="toolbar"] {
529 -moz-image-region: rect(0, 126px, 18px, 108px);
532 #home-button[cui-areatype="toolbar"]:hover {
533 -moz-image-region: rect(18px, 126px, 36px, 108px);
536 #bookmarks-menu-button[cui-areatype="toolbar"] {
537 -moz-image-region: rect(0, 144px, 18px, 126px);
540 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
541 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
542 -moz-image-region: rect(18px, 144px, 36px, 126px);
545 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
546 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
547 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
548 background-color: transparent !important;
551 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
552 -moz-image-region: rect(0, 162px, 18px, 144px);
555 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
556 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
557 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
558 /* When starred and clicked (for edit/delete dialog),
559 * then only the menubutton-button itself is open, but not the whole menubutton. */
560 -moz-image-region: rect(18px, 162px, 36px, 144px);
563 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
564 -moz-image-region: rect(0, 630px, 18px, 612px);
567 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
569 -moz-box-align: center;
572 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
573 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
574 -moz-image-region: rect(18px, 630px, 36px, 612px);
577 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
578 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
581 -moz-padding-start: 2px;
582 -moz-padding-end: 0px;
585 #history-panelmenu[cui-areatype="toolbar"] {
586 -moz-image-region: rect(0, 180px, 18px, 162px);
589 #history-panelmenu[cui-areatype="toolbar"]:hover,
590 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
591 -moz-image-region: rect(18px, 180px, 36px, 162px);
594 #downloads-button[cui-areatype="toolbar"] {
595 -moz-image-region: rect(0, 198px, 18px, 180px);
598 #downloads-button[cui-areatype="toolbar"]:hover,
599 #downloads-button[cui-areatype="toolbar"][open="true"] {
600 -moz-image-region: rect(18px, 198px, 36px, 180px);
603 #add-ons-button[cui-areatype="toolbar"] {
604 -moz-image-region: rect(0, 216px, 18px, 198px);
607 #add-ons-button[cui-areatype="toolbar"]:hover {
608 -moz-image-region: rect(18px, 216px, 36px, 198px);
611 #open-file-button[cui-areatype="toolbar"] {
612 -moz-image-region: rect(0, 234px, 18px, 216px);
615 #open-file-button[cui-areatype="toolbar"]:hover {
616 -moz-image-region: rect(18px, 234px, 36px, 216px);
619 #save-page-button[cui-areatype="toolbar"] {
620 -moz-image-region: rect(0, 252px, 18px, 234px);
623 #save-page-button[cui-areatype="toolbar"]:hover {
624 -moz-image-region: rect(18px, 252px, 36px, 234px);
627 #sync-button[cui-areatype="toolbar"] {
628 -moz-image-region: rect(0, 270px, 18px, 252px);
631 #sync-button[cui-areatype="toolbar"]:hover {
632 -moz-image-region: rect(18px, 270px, 36px, 252px);
635 #sync-button[cui-areatype="toolbar"][status="active"],
636 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
637 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
638 -moz-image-region: rect(0, 18px, 18px, 0px);
642 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
643 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
644 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
648 #feed-button[cui-areatype="toolbar"] {
649 -moz-image-region: rect(0, 288px, 18px, 270px);
652 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
653 -moz-image-region: rect(18px, 288px, 36px, 270px);
656 #feed-button[cui-areatype="toolbar"][disabled="true"] {
657 -moz-image-region: rect(36px, 288px, 54px, 270px);
660 #social-share-button[cui-areatype="toolbar"] {
661 -moz-image-region: rect(0px, 306px, 18px, 288px);
664 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
665 #social-share-button[cui-areatype="toolbar"][open="true"] {
666 -moz-image-region: rect(18px, 306px, 36px, 288px);
669 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
670 -moz-image-region: rect(36px, 306px, 54px, 288px);
673 #characterencoding-button[cui-areatype="toolbar"] {
674 -moz-image-region: rect(0, 324px, 18px, 306px);
677 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
678 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
679 -moz-image-region: rect(18px, 324px, 36px, 306px);
682 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
683 -moz-image-region: rect(36px, 324px, 54px, 306px);
686 #new-window-button[cui-areatype="toolbar"] {
687 -moz-image-region: rect(0, 342px, 18px, 324px);
690 #new-window-button[cui-areatype="toolbar"]:hover {
691 -moz-image-region: rect(18px, 342px, 36px, 324px);
694 #e10s-button[cui-areatype="toolbar"] {
695 -moz-image-region: rect(0, 342px, 18px, 324px);
698 #e10s-button[cui-areatype="toolbar"]:hover {
699 -moz-image-region: rect(18px, 342px, 36px, 324px);
702 #e10s-button > .toolbarbutton-icon {
703 transform: scaleY(-1);
706 #new-tab-button[cui-areatype="toolbar"] {
707 -moz-image-region: rect(0, 360px, 18px, 342px);
710 #new-tab-button[cui-areatype="toolbar"]:hover {
711 -moz-image-region: rect(18px, 360px, 36px, 342px);
714 #privatebrowsing-button[cui-areatype="toolbar"] {
715 -moz-image-region: rect(0, 378px, 18px, 360px);
718 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
719 -moz-image-region: rect(18px, 378px, 36px, 360px);
722 #find-button[cui-areatype="toolbar"] {
723 -moz-image-region: rect(0, 396px, 18px, 378px);
726 #find-button[cui-areatype="toolbar"]:hover {
727 -moz-image-region: rect(18px, 396px, 36px, 378px);
730 #print-button[cui-areatype="toolbar"] {
731 -moz-image-region: rect(0, 414px, 18px, 396px);
734 #print-button[cui-areatype="toolbar"]:hover {
735 -moz-image-region: rect(18px, 414px, 36px, 396px);
738 #fullscreen-button[cui-areatype="toolbar"] {
739 -moz-image-region: rect(0, 432px, 18px, 414px);
742 #fullscreen-button[cui-areatype="toolbar"]:hover {
743 -moz-image-region: rect(18px, 432px, 36px, 414px);
746 #developer-button[cui-areatype="toolbar"] {
747 -moz-image-region: rect(0, 450px, 18px, 432px);
750 #developer-button[cui-areatype="toolbar"]:hover,
751 #developer-button[cui-areatype="toolbar"][open="true"] {
752 -moz-image-region: rect(18px, 450px, 36px, 432px);
755 #preferences-button[cui-areatype="toolbar"] {
756 -moz-image-region: rect(0, 468px, 18px, 450px);
759 #preferences-button[cui-areatype="toolbar"]:hover {
760 -moz-image-region: rect(18px, 468px, 36px, 450px);
763 #PanelUI-menu-button {
764 -moz-image-region: rect(0, 486px, 18px, 468px);
767 #PanelUI-menu-button:hover,
768 #PanelUI-menu-button[open="true"] {
769 -moz-image-region: rect(18px, 486px, 36px, 468px);
772 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
773 -moz-image-region: rect(0, 504px, 18px, 486px);
776 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
777 -moz-image-region: rect(18px, 504px, 36px, 486px);
780 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
781 -moz-image-region: rect(36px, 504px, 54px, 486px);
784 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
785 -moz-image-region: rect(0, 522px, 18px, 504px);
788 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
789 -moz-image-region: rect(18px, 522px, 36px, 504px);
792 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
793 -moz-image-region: rect(36px, 522px, 54px, 504px);
796 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
797 -moz-image-region: rect(0, 540px, 18px, 522px);
800 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
801 -moz-image-region: rect(18px, 540px, 36px, 522px);
804 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
805 -moz-image-region: rect(36px, 540px, 54px, 522px);
808 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
809 -moz-image-region: rect(0, 558px, 18px, 540px);
812 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
813 -moz-image-region: rect(18px, 558px, 36px, 540px);
816 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
817 -moz-image-region: rect(36px, 558px, 54px, 540px);
820 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
821 -moz-image-region: rect(0, 576px, 18px, 558px);
824 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
825 -moz-image-region: rect(18px, 576px, 36px, 558px);
828 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
829 -moz-image-region: rect(36px, 576px, 54px, 558px);
832 #nav-bar-overflow-button {
833 -moz-image-region: rect(0, 612px, 18px, 594px);
836 #nav-bar-overflow-button:hover,
837 #nav-bar-overflow-button[open="true"] {
838 -moz-image-region: rect(18px, 612px, 36px, 594px);
841 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
842 transform: scaleX(-1);
846 -moz-image-region: rect(0, 648px, 18px, 630px);
849 #tabview-button:hover {
850 -moz-image-region: rect(18px, 648px, 36px, 630px);
853 #email-link-button[cui-areatype="toolbar"] {
854 -moz-image-region: rect(0, 666px, 18px, 648px);
857 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
858 -moz-image-region: rect(18px, 666px, 36px, 648px);
861 #email-button[cui-areatype="toolbar"][disabled="true"] {
862 -moz-image-region: rect(36px, 666px, 54px, 648px);
865 #sidebar-button[cui-areatype="toolbar"] {
866 -moz-image-region: rect(0, 684px, 18px, 666px);
869 #sidebar-button[cui-areatype="toolbar"]:hover {
870 -moz-image-region: rect(18px, 684px, 36px, 666px);
873 #panic-button[cui-areatype="toolbar"] {
874 -moz-image-region: rect(0, 702px, 18px, 684px);
877 #panic-button[cui-areatype="toolbar"]:hover,
878 #panic-button[cui-areatype="toolbar"][open] {
879 -moz-image-region: rect(18px, 702px, 36px, 684px);
882 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
883 transform: scaleX(-1);
886 #web-apps-button[cui-areatype="toolbar"] {
887 -moz-image-region: rect(0, 720px, 18px, 702px);
890 #web-apps-button[cui-areatype="toolbar"]:hover {
891 -moz-image-region: rect(18px, 720px, 36px, 702px);
894 #loop-button-throttled > .toolbarbutton-badge-container,
895 #loop-button > .toolbarbutton-badge-container {
896 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
897 -moz-image-region: rect(0, 18px, 18px, 0);
900 #loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
901 #loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
902 -moz-image-region: rect(0, 90px, 18px, 72px);
905 #loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container,
906 #loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container,
907 #loop-button[state="disabled"] > .toolbarbutton-badge-container,
908 #loop-button[disabled="true"] > .toolbarbutton-badge-container {
909 -moz-image-region: rect(0, 36px, 18px, 18px);
912 #loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
913 #loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
914 -moz-image-region: rect(0, 126px, 18px, 108px);
917 #loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
918 #loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
919 -moz-image-region: rect(0, 54px, 18px, 36px);
922 #loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
923 #loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
924 -moz-image-region: rect(0, 72px, 18px, 54px);
927 #loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
928 #loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
929 -moz-image-region: rect(0, 108px, 18px, 90px);
932 /* === END toolbarbuttons.inc.css === */
934 /* === BEGIN menupanel.inc.css === */
936 /* Menu panel and palette styles */
938 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
939 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
940 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
941 #social-share-button, #open-file-button, #find-button, #developer-button,
942 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
943 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
944 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
945 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button)[cui-areatype="menu-panel"],
946 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
947 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
948 #social-share-button, #open-file-button, #find-button, #developer-button,
949 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
950 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
951 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
952 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button) {
953 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
956 #home-button[cui-areatype="menu-panel"],
957 toolbarpaletteitem[place="palette"] > #home-button {
958 -moz-image-region: rect(0px, 128px, 32px, 96px);
961 #home-button[cui-areatype="menu-panel"]:hover,
962 toolbarpaletteitem[place="palette"] > #home-button:hover {
963 -moz-image-region: rect(32px, 128px, 64px, 96px);
966 #bookmarks-menu-button[cui-areatype="menu-panel"],
967 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
968 -moz-image-region: rect(0px, 192px, 32px, 160px);
971 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
972 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
973 -moz-image-region: rect(32px, 192px, 64px, 160px);
976 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
977 -moz-image-region: rect(32px, 192px, 64px, 160px);
980 #history-panelmenu[cui-areatype="menu-panel"],
981 toolbarpaletteitem[place="palette"] > #history-panelmenu {
982 -moz-image-region: rect(0px, 224px, 32px, 192px);
985 #history-panelmenu[cui-areatype="menu-panel"]:hover,
986 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
987 -moz-image-region: rect(32px, 224px, 64px, 192px);
990 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
991 -moz-image-region: rect(32px, 224px, 64px, 192px);
994 #downloads-button[cui-areatype="menu-panel"],
995 toolbarpaletteitem[place="palette"] > #downloads-button {
996 -moz-image-region: rect(0px, 256px, 32px, 224px);
999 #downloads-button[cui-areatype="menu-panel"]:hover,
1000 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
1001 -moz-image-region: rect(32px, 256px, 64px, 224px);
1004 #add-ons-button[cui-areatype="menu-panel"],
1005 toolbarpaletteitem[place="palette"] > #add-ons-button {
1006 -moz-image-region: rect(0px, 288px, 32px, 256px);
1009 #add-ons-button[cui-areatype="menu-panel"]:hover,
1010 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1011 -moz-image-region: rect(32px, 288px, 64px, 256px);
1014 #open-file-button[cui-areatype="menu-panel"],
1015 toolbarpaletteitem[place="palette"] > #open-file-button {
1016 -moz-image-region: rect(0px, 320px, 32px, 288px);
1019 #open-file-button[cui-areatype="menu-panel"]:hover,
1020 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1021 -moz-image-region: rect(32px, 320px, 64px, 288px);
1024 #save-page-button[cui-areatype="menu-panel"],
1025 toolbarpaletteitem[place="palette"] > #save-page-button {
1026 -moz-image-region: rect(0px, 352px, 32px, 320px);
1029 #save-page-button[cui-areatype="menu-panel"]:hover,
1030 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1031 -moz-image-region: rect(32px, 352px, 64px, 320px);
1034 #sync-button[cui-areatype="menu-panel"],
1035 toolbarpaletteitem[place="palette"] > #sync-button {
1036 -moz-image-region: rect(0px, 384px, 32px, 352px);
1039 #sync-button[cui-areatype="menu-panel"]:hover,
1040 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1041 -moz-image-region: rect(32px, 384px, 64px, 352px);
1044 #sync-button[cui-areatype="menu-panel"][status="active"] {
1045 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1046 -moz-image-region: rect(0px, 32px, 32px, 0px);
1049 #feed-button[cui-areatype="menu-panel"],
1050 toolbarpaletteitem[place="palette"] > #feed-button {
1051 -moz-image-region: rect(0px, 416px, 32px, 384px);
1054 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1055 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1056 -moz-image-region: rect(32px, 416px, 64px, 384px);
1059 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1060 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1061 -moz-image-region: rect(64px, 416px, 96px, 384px);
1064 #social-share-button[cui-areatype="menu-panel"],
1065 toolbarpaletteitem[place="palette"] > #social-share-button {
1066 -moz-image-region: rect(0px, 448px, 32px, 416px);
1069 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1070 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1071 -moz-image-region: rect(32px, 448px, 64px, 416px);
1074 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1075 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1076 -moz-image-region: rect(64px, 448px, 96px, 416px);
1079 #characterencoding-button[cui-areatype="menu-panel"],
1080 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1081 -moz-image-region: rect(0px, 480px, 32px, 448px);
1084 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1085 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1086 -moz-image-region: rect(32px, 480px, 64px, 448px);
1089 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1090 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1091 -moz-image-region: rect(64px, 480px, 96px, 448px);
1094 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1095 -moz-image-region: rect(32px, 480px, 64px, 448px);
1098 #new-window-button[cui-areatype="menu-panel"],
1099 toolbarpaletteitem[place="palette"] > #new-window-button {
1100 -moz-image-region: rect(0px, 512px, 32px, 480px);
1103 #new-window-button[cui-areatype="menu-panel"]:hover,
1104 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1105 -moz-image-region: rect(32px, 512px, 64px, 480px);
1108 #e10s-button[cui-areatype="menu-panel"],
1109 toolbarpaletteitem[place="palette"] > #e10s-button {
1110 -moz-image-region: rect(0px, 512px, 32px, 480px);
1113 #e10s-button[cui-areatype="menu-panel"]:hover,
1114 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1115 -moz-image-region: rect(32px, 512px, 64px, 480px);
1118 #new-tab-button[cui-areatype="menu-panel"],
1119 toolbarpaletteitem[place="palette"] > #new-tab-button {
1120 -moz-image-region: rect(0px, 544px, 32px, 512px);
1123 #new-tab-button[cui-areatype="menu-panel"]:hover,
1124 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1125 -moz-image-region: rect(32px, 544px, 64px, 512px);
1128 #privatebrowsing-button[cui-areatype="menu-panel"],
1129 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1130 -moz-image-region: rect(0px, 576px, 32px, 544px);
1133 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1134 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1135 -moz-image-region: rect(32px, 576px, 64px, 544px);
1138 #tabview-button[cui-areatype="menu-panel"],
1139 toolbarpaletteitem[place="palette"] > #tabview-button {
1140 -moz-image-region: rect(0px, 608px, 32px, 576px);
1143 #tabview-button[cui-areatype="menu-panel"]:hover,
1144 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1145 -moz-image-region: rect(32px, 608px, 64px, 576px);
1148 #find-button[cui-areatype="menu-panel"],
1149 toolbarpaletteitem[place="palette"] > #find-button {
1150 -moz-image-region: rect(0px, 640px, 32px, 608px);
1153 #find-button[cui-areatype="menu-panel"]:hover,
1154 toolbarpaletteitem[place="palette"] > #find-button:hover {
1155 -moz-image-region: rect(32px, 640px, 64px, 608px);
1158 #print-button[cui-areatype="menu-panel"],
1159 toolbarpaletteitem[place="palette"] > #print-button {
1160 -moz-image-region: rect(0px, 672px, 32px, 640px);
1163 #print-button[cui-areatype="menu-panel"]:hover,
1164 toolbarpaletteitem[place="palette"] > #print-button:hover {
1165 -moz-image-region: rect(32px, 672px, 64px, 640px);
1168 #fullscreen-button[cui-areatype="menu-panel"],
1169 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1170 -moz-image-region: rect(0px, 704px, 32px, 672px);
1173 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1174 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1175 -moz-image-region: rect(32px, 704px, 64px, 672px);
1178 #developer-button[cui-areatype="menu-panel"],
1179 toolbarpaletteitem[place="palette"] > #developer-button {
1180 -moz-image-region: rect(0px, 736px, 32px, 704px);
1183 #developer-button[cui-areatype="menu-panel"]:hover,
1184 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1185 -moz-image-region: rect(32px, 736px, 64px, 704px);
1188 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1189 -moz-image-region: rect(32px, 736px, 64px, 704px);
1192 #preferences-button[cui-areatype="menu-panel"],
1193 toolbarpaletteitem[place="palette"] > #preferences-button {
1194 -moz-image-region: rect(0px, 768px, 32px, 736px);
1197 #preferences-button[cui-areatype="menu-panel"]:hover,
1198 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1199 -moz-image-region: rect(32px, 768px, 64px, 736px);
1202 #email-link-button[cui-areatype="menu-panel"],
1203 toolbarpaletteitem[place="palette"] > #email-link-button {
1204 -moz-image-region: rect(0, 800px, 32px, 768px);
1207 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1208 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1209 -moz-image-region: rect(32px, 800px, 64px, 768px);
1212 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1213 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1214 -moz-image-region: rect(64px, 800px, 96px, 768px);
1217 #sidebar-button[cui-areatype="menu-panel"],
1218 toolbarpaletteitem[place="palette"] > #sidebar-button {
1219 -moz-image-region: rect(0, 864px, 32px, 832px);
1222 #sidebar-button[cui-areatype="menu-panel"]:hover,
1223 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1224 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1225 -moz-image-region: rect(32px, 864px, 64px, 832px);
1228 #panic-button[cui-areatype="menu-panel"],
1229 toolbarpaletteitem[place="palette"] > #panic-button {
1230 -moz-image-region: rect(0, 896px, 32px, 864px);
1233 #panic-button[cui-areatype="menu-panel"]:hover,
1234 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1235 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1236 -moz-image-region: rect(32px, 896px, 64px, 864px);
1239 #web-apps-button[cui-areatype="menu-panel"],
1240 toolbarpaletteitem[place="palette"] > #web-apps-button {
1241 -moz-image-region: rect(0, 928px, 32px, 896px);
1244 #web-apps-button[cui-areatype="menu-panel"]:hover,
1245 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1246 -moz-image-region: rect(32px, 928px, 64px, 896px);
1249 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1250 -moz-image-region: rect(0, 832px, 32px, 800px);
1253 #loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1254 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1255 #loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1256 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1257 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1258 -moz-image-region: rect(0, 32px, 32px, 0);
1261 /* Make sure that the state icons are not shown in the customization palette. */
1262 toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
1263 toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
1264 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1267 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1268 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1269 -moz-image-region: rect(0, 160px, 32px, 128px);
1272 #loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1273 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container,
1274 #loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
1275 #loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1276 -moz-image-region: rect(0, 64px, 32px, 32px);
1279 #loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
1280 #loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1281 -moz-image-region: rect(0, 224px, 32px, 192px);
1284 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
1285 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1286 -moz-image-region: rect(0, 96px, 32px, 64px);
1289 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
1290 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1291 -moz-image-region: rect(0, 128px, 32px, 96px);
1294 #loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
1295 #loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1296 -moz-image-region: rect(0, 192px, 32px, 160px);
1299 /* Wide panel control icons */
1301 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1302 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1303 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1304 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1305 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
1308 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1309 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1310 -moz-image-region: rect(0px, 32px, 16px, 16px);
1313 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1314 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1315 -moz-image-region: rect(16px, 32px, 32px, 16px);
1318 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1319 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1320 -moz-image-region: rect(32px, 32px, 48px, 16px);
1323 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1324 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1325 -moz-image-region: rect(0px, 48px, 16px, 32px);
1328 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1329 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1330 -moz-image-region: rect(16px, 48px, 32px, 32px);
1333 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1334 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1335 -moz-image-region: rect(32px, 48px, 48px, 32px);
1338 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1339 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1340 -moz-image-region: rect(0px, 64px, 16px, 48px);
1343 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1344 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1345 -moz-image-region: rect(16px, 64px, 32px, 48px);
1348 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1349 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1350 -moz-image-region: rect(32px, 64px, 48px, 48px);
1353 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1354 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1355 -moz-image-region: rect(0px, 80px, 16px, 64px);
1358 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1359 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1360 -moz-image-region: rect(16px, 80px, 32px, 64px);
1363 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1364 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1365 -moz-image-region: rect(32px, 80px, 48px, 64px);
1368 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1369 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1370 -moz-image-region: rect(0px, 96px, 16px, 80px);
1373 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1374 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1375 -moz-image-region: rect(16px, 96px, 32px, 80px);
1378 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1379 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1380 -moz-image-region: rect(32px, 96px, 48px, 80px);
1383 /* === END menupanel.inc.css === */
1385 .toolbarbutton-1:not([type="menu-button"]) {
1386 -moz-box-orient: vertical;
1390 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1396 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1397 .toolbarbutton-1[disabled="true"]:hover:active,
1398 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1402 .toolbarbutton-1:hover:active,
1403 .toolbarbutton-1[open="true"],
1404 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1406 padding-bottom: 0px;
1407 -moz-padding-start: 3px;
1408 -moz-padding-end: 1px;
1411 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1412 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1413 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1414 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1415 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1418 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1419 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1422 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1423 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1426 .toolbarbutton-1 > .toolbarbutton-icon,
1427 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1430 #nav-bar .toolbarbutton-1,
1431 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1434 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1435 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1436 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1439 #nav-bar #PanelUI-menu-button {
1440 /* -moz-padding-start: 7px;
1441 -moz-padding-end: 5px;*/
1444 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1445 /* padding-left: 5px;
1446 padding-right: 5px;*/
1449 #nav-bar .toolbarbutton-1 > menupopup {
1450 /* margin-top: -3px;*/
1453 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1457 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1458 /* -moz-padding-end: 0;*/
1461 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1462 /* -moz-padding-start: 0;
1463 -moz-box-align: center;*/
1466 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1467 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1468 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1469 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1470 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1471 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1472 /* padding: 2px 6px;
1474 border-color: transparent;
1475 transition-property: background-color, border-color;
1476 transition-duration: 150ms;*/
1479 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1480 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1481 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1486 /* Help SDK icons fit: */
1487 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1491 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1492 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1496 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1497 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1498 /* -moz-padding-end: 17px;*/
1501 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1504 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1507 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1510 #nav-bar .toolbaritem-combined-buttons {
1511 /* margin-left: 2px;
1512 margin-right: 2px;*/
1515 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1520 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1521 #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 {
1527 -moz-margin-end: -1px;
1531 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1534 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1535 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1536 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1537 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1538 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1539 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1540 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1541 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1544 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1545 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1546 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1547 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1548 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1551 #TabsToolbar .toolbarbutton-1,
1552 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1553 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1554 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1557 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1558 #TabsToolbar .toolbarbutton-1[open],
1559 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1560 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1561 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1564 /* unified back/forward button */
1567 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1570 #forward-button > menupopup {
1571 margin-top: 1px !important;
1574 #forward-button > .toolbarbutton-icon {
1575 background-clip: padding-box !important;
1576 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1577 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1581 -moz-margin-start: -4px !important;
1586 border-radius: 0 10000px 10000px 0;
1589 #forward-button:-moz-locale-dir(rtl) {
1590 border-radius: 10000px 0 0 10000px;
1593 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1594 transition: margin-left 150ms ease-out;
1597 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1598 margin-left: -27px !important;
1601 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1602 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1603 transition-delay: 100s;
1606 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1607 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1608 margin-left: -27.01px !important;
1612 /* padding-top: 3px !important;
1613 padding-bottom: 3px !important;
1614 -moz-padding-start: 5px !important;
1615 -moz-padding-end: 0 !important;*/
1618 border-radius: 10000px;
1622 margin-bottom: -2px;
1625 #back-button:-moz-locale-dir(rtl) {
1628 #back-button > menupopup {
1629 margin-top: -1px !important;
1632 #back-button > .toolbarbutton-icon {
1633 border-radius: 10000px !important;
1634 background-clip: padding-box !important;
1635 /* background-color: hsla(210,25%,98%,.08) !important;
1636 padding: 6px !important;
1637 border-style: none !important;
1638 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1639 0 0 0 1px hsla(210,4%,10%,.25);*/
1640 transition-property: background-color, box-shadow !important;
1641 transition-duration: 250ms !important;
1644 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1645 /* background-color: hsla(210,4%,10%,.08) !important;*/
1648 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1649 #back-button[open="true"] > .toolbarbutton-icon {
1650 /* background-color: hsla(210,4%,10%,.12) !important;
1651 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1652 0 0 0 1px hsla(210,4%,10%,.25),
1653 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1656 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1657 transform: scaleX(-1);
1660 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1661 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1662 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1665 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1666 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1667 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1670 #home-button.bookmark-item {
1671 list-style-image: url("chrome://browser/skin/Toolbar.png");
1674 #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),
1675 #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),
1676 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1677 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1678 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1679 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1680 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1683 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1686 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1687 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1688 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1692 #downloads-button > .toolbarbutton-icon {
1696 /* tabview menu item */
1699 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1700 -moz-image-region: rect(1px, 89px, 17px, 73px);
1703 #menu_tabview[groups="0"] {
1704 -moz-image-region: rect(1px, 17px, 17px, 1px);
1707 #menu_tabview[groups="1"] {
1708 -moz-image-region: rect(1px, 35px, 17px, 19px);
1711 #menu_tabview[groups="2"] {
1712 -moz-image-region: rect(1px, 53px, 17px, 37px);
1715 #menu_tabview[groups="3"] {
1716 -moz-image-region: rect(1px, 71px, 17px, 55px);
1719 /* undo close tab menu item */
1720 #alltabs_undoCloseTab {
1721 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1724 @media (min-resolution: 1.25dppx) {
1725 #alltabs_undoCloseTab {
1726 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1728 #alltabs_undoCloseTab > .toolbarbutton-icon {
1733 /* zoom control text (reset) button special case: */
1735 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1736 /* To make this line up with the icons, it needs the same height (18px) +
1737 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1738 * increase in text sizes would break things...
1743 /* ::::: fullscreen window controls ::::: */
1746 -moz-margin-start: 4px;
1752 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1757 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1760 #minimize-button:hover {
1761 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1765 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1768 #restore-button:hover {
1769 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1773 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1776 #close-button:hover {
1777 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1780 /* ::::: Location Bar ::::: */
1783 .searchbar-textbox {
1786 -moz-margin-start: 3px;
1790 /* make color as light as possible to deal with dark non-domain parts */
1794 #urlbar:-moz-lwtheme,
1795 .searchbar-textbox:-moz-lwtheme {
1796 /* background-color: rgba(255,255,255,.8);
1797 @navbarTextboxCustomBorder@
1801 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1802 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1803 /* background-color: rgba(255,255,255,.9);*/
1806 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1807 .searchbar-textbox:-moz-lwtheme[focused] {
1808 /* background-color: white;*/
1811 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1812 /* -moz-border-start: none;
1816 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1817 /* border-top-left-radius: 0;
1818 border-bottom-left-radius: 0; */
1821 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1822 /* border-top-right-radius: 0;
1823 border-bottom-right-radius: 0; */
1826 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1827 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1828 /* -moz-margin-start: -5px; */
1831 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1832 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1833 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1834 transform: scaleX(-1);
1837 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1838 -moz-box-direction: reverse;
1841 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1842 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1847 -moz-box-orient: horizontal;
1848 -moz-box-align: stretch;
1851 .urlbar-textbox-container {
1852 -moz-box-align: stretch;
1856 -moz-margin-start: 0;
1860 -moz-box-align: center;
1867 .searchbar-engine-button,
1868 .search-go-container {
1872 .search-go-container > .search-go-button {
1876 .urlbar-icon:hover {
1879 .urlbar-icon[open="true"],
1880 .urlbar-icon:hover:active {
1883 #urlbar-search-splitter {
1885 -moz-margin-start: -3px;
1887 background: transparent;
1890 #urlbar-search-splitter + #urlbar-container > #urlbar,
1891 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1892 -moz-margin-start: 0;
1895 #urlbar-display-box {
1899 -moz-border-end: 1px solid #9C9CFF;
1900 -moz-margin-end: 3px;
1903 -moz-margin-start: 0;
1908 min-width: calc(54px + 11ch);
1918 #identity-box:-moz-locale-dir(ltr) {
1919 /* border-top-left-radius: 1.5px;
1920 border-bottom-left-radius: 1.5px;*/
1923 #identity-box:-moz-locale-dir(rtl) {
1924 /* border-top-right-radius: 1.5px;
1925 border-bottom-right-radius: 1.5px;*/
1928 #notification-popup-box:not([hidden]) + #identity-box {
1929 -moz-padding-start: 10px !important;
1933 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1934 /* border-radius: 0; */
1935 -moz-padding-start: 2px;
1936 -moz-padding-end: 2px;
1937 -moz-margin-end: 1px;
1940 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1941 transition: padding-left, padding-right;
1944 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1945 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1949 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1950 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1954 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1955 #notification-popup-box[hidden] + #identity-box {
1956 /* forward button hiding is delayed when hovered */
1957 transition-delay: 100s;
1960 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1961 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1962 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1963 padding-left: 2.01px;
1966 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1967 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1968 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1969 padding-right: 2.01px;
1972 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1973 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1974 -moz-margin-end: 3px;
1977 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
1978 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1979 border-top-right-radius: 0;
1980 border-bottom-right-radius: 0;
1983 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
1984 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1985 border-top-left-radius: 0;
1986 border-bottom-left-radius: 0;
1989 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1990 background-color: #000000;
1993 #identity-box:-moz-focusring {
1994 outline: 1px dotted #008484;
1995 outline-offset: -1px;
1998 #identity-box.verifiedDomain:-moz-focusring,
1999 #identity-box.verifiedIdentity:-moz-focusring {
2000 outline-color: #000000;
2003 #identity-icon-labels {
2004 -moz-margin-start: 1px;
2005 -moz-margin-end: 3px;
2008 /* Location bar dropmarker */
2010 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
2011 background-color: transparent;
2014 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
2015 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
2020 .urlbar-history-dropmarker:hover {
2023 .urlbar-history-dropmarker:hover:active,
2024 .urlbar-history-dropmarker[open="true"] {
2027 /* page proxy icon */
2029 /* === BEGIN identity-block.inc.css === */
2031 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2032 /* Default theme does different color per channel, we can't as they do it build-time. */
2034 -moz-border-end: 1px solid #9C9CFF;
2037 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2039 -moz-border-end: 1px solid #008484;
2042 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2043 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2044 background-position: right;
2045 background-size: 1px;
2046 background-repeat: no-repeat;
2049 /* page proxy icon */
2051 #page-proxy-favicon {
2054 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2058 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2059 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2062 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2063 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2066 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2067 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2070 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2071 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2074 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2075 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2078 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2079 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2082 #page-proxy-favicon[pageproxystate="invalid"] {
2086 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2087 list-style-image: url("chrome://branding/content/icon64.png");
2090 #identity-popup-brandName {
2094 margin-bottom: .5em;
2097 #identity-popup-content-box {
2101 /* === END identity-block.inc.css === */
2103 #page-proxy-favicon {
2104 -moz-image-region: rect(0, 16px, 16px, 0);
2107 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2108 /* -moz-margin-end: 1px;*/
2111 #identity-box:hover > #page-proxy-favicon {
2112 -moz-image-region: rect(0, 32px, 16px, 16px);
2115 #identity-box:hover:active > #page-proxy-favicon,
2116 #identity-box[open=true] > #page-proxy-favicon {
2117 -moz-image-region: rect(0, 48px, 16px, 32px);
2120 #identity-box:hover {
2121 background-color: #FFCF00;
2125 #identity-box:hover:active,
2126 #identity-box[open=true] {
2127 background-color: #FF9F00;
2131 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2132 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2133 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2134 background-color: #9C9CFF;
2138 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2139 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2140 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2141 background-color: #008484;
2147 #treecolAutoCompleteImage {
2151 .ac-result-type-bookmark,
2152 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2153 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2154 -moz-image-region: rect(0px 16px 16px 0px);
2159 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2160 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2161 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2164 .ac-result-type-keyword,
2165 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2166 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2167 -moz-image-region: rect(0px 32px 16px 16px);
2172 .ac-result-type-tag,
2173 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2174 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2183 .ac-extra > .ac-comment {
2193 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2194 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2195 -moz-image-region: rect(0, 16px, 16px, 0);
2199 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2200 -moz-image-region: rect(16px, 16px, 32px, 0);
2203 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2207 .ac-comment[selected="true"],
2208 .ac-url-text[selected="true"],
2209 .ac-action-text[selected="true"] {
2210 color: inherit !important;
2213 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2214 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2220 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2221 border-top: 1px solid #9C9CFF;
2224 /* combined go/reload/stop button in location bar */
2226 #urlbar > toolbarbutton {
2227 -moz-margin-start: 0;
2229 background-origin: border-box;
2231 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2232 -moz-border-start: 1px solid #9C9CFF;
2235 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2236 border-top-left-radius: 0px;
2237 border-bottom-left-radius: 0px;
2240 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2241 border-top-right-radius: 0px;
2242 border-bottom-right-radius: 0px;
2245 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2246 #urlbar-reload-button:not(:hover) {
2247 -moz-border-start-style: none;
2248 -moz-padding-start: 3px;
2251 #urlbar-reload-button {
2252 -moz-image-region: rect(0px, 14px, 14px, 0px);
2255 #urlbar-reload-button[disabled=true] {
2256 -moz-image-region: rect(28px, 14px, 42px, 0px);
2259 #urlbar-reload-button:not([disabled=true]):hover {
2260 -moz-image-region: rect(14px, 14px, 28px, 0px);
2263 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2264 transform: scaleX(-1);
2268 -moz-image-region: rect(0, 42px, 14px, 28px);
2271 #urlbar-go-button:hover {
2272 -moz-image-region: rect(14px, 42px, 28px, 28px);
2275 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2276 transform: scaleX(-1);
2279 #urlbar-stop-button {
2280 -moz-image-region: rect(0px, 28px, 14px, 14px);
2283 #urlbar-stop-button:hover {
2284 -moz-image-region: rect(14px, 28px, 28px, 14px);
2287 /* popup blocker button */
2289 #page-report-button {
2290 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2291 -moz-image-region: rect(0, 16px, 16px, 0);
2294 #page-report-button:hover ,
2295 #page-report-button:hover:active,
2296 #page-report-button[open="true"] {
2297 -moz-image-region: rect(0, 32px, 16px, 16px);
2300 /* social share panel */
2302 #social-share-panel > iframe {
2303 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2308 .social-share-toolbar {
2309 border-right: 1px solid #9C9CFF;
2310 /* background-color: #000000; */
2313 #social-share-provider-buttons {
2317 #social-share-provider-buttons > .share-provider-button {
2318 -moz-appearance: none;
2326 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2327 #social-share-provider-buttons > .share-provider-button:hover,
2328 #social-share-provider-buttons > .share-provider-button:active {
2332 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2335 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2338 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2344 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2351 /* fixup corners for share panel */
2352 .social-panel > .social-panel-frame {
2353 border-radius: inherit;
2356 #social-share-panel {
2363 .social-share-frame {
2364 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2367 /* we resize our panels dynamically, make it look nice */
2368 transition: height 100ms ease-out, width 100ms ease-out;
2371 .social-share-frame:-moz-locale-dir(ltr) {
2372 border-top-left-radius: 0;
2373 border-bottom-left-radius: 0;
2374 border-top-right-radius: inherit;
2375 border-bottom-right-radius: inherit;
2378 .social-share-frame:-moz-locale-dir(rtl) {
2379 border-top-left-radius: inherit;
2380 border-bottom-left-radius: inherit;
2381 border-top-right-radius: 0;
2382 border-bottom-right-radius: 0;
2385 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2386 border-top-left-radius: inherit;
2387 border-bottom-left-radius: inherit;
2390 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2391 border-top-right-radius: inherit;
2392 border-bottom-right-radius: inherit;
2395 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2396 border-top-left-radius: inherit;
2397 border-bottom-left-radius: inherit;
2400 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2401 border-top-right-radius: inherit;
2402 border-bottom-right-radius: inherit;
2405 /* social recommending panel */
2407 #social-mark-button {
2408 -moz-image-region: rect(0, 16px, 16px, 0);
2411 /* bookmarks menu-button */
2413 #bookmarks-menu-button.bookmark-item {
2414 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2415 -moz-image-region: rect(0px 16px 16px 0px);
2418 #bookmarks-menu-button.bookmark-item[starred] {
2419 -moz-image-region: rect(0px 32px 16px 16px);
2422 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2423 -moz-margin-start: 5px;
2426 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2428 padding-bottom: 2px;
2431 #BMB_bookmarksPopup[side="top"],
2432 #BMB_bookmarksPopup[side="bottom"] {
2434 margin-right: -20px;
2437 #BMB_bookmarksPopup[side="left"],
2438 #BMB_bookmarksPopup[side="right"] {
2440 margin-bottom: -20px;
2443 /* bookmarking panel */
2445 #editBookmarkPanelStarIcon {
2446 list-style-image: url("chrome://browser/skin/places/starred48.png");
2451 #editBookmarkPanelStarIcon[unstarred] {
2452 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2455 #editBookmarkPanelTitle {
2459 #editBookmarkPanelHeader,
2460 #editBookmarkPanelContent {
2461 margin-bottom: .5em;
2464 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2465 #editBMPanel_folderTree {
2472 border-top: 1px solid #9C9CFF;
2473 border-bottom-left-radius: 5px;
2474 border-bottom-right-radius: 5px;
2478 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2479 -moz-margin-end: 10px;
2480 vertical-align: middle;
2483 .panel-promo-closebutton {
2484 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2485 -moz-margin-end: -3px;
2489 .panel-promo-closebutton:hover {
2490 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2493 .panel-promo-closebutton:hover:active {
2494 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2497 .panel-promo-closebutton > .toolbarbutton-text {
2501 /* ::::: content area ::::: */
2504 background-color: Window;
2508 -moz-padding-start: 0px;
2511 #sidebar-header > .close-icon {
2512 /* padding: 4px 2px;
2515 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2518 #sidebar-header > .close-icon:hover,
2519 #sidebar-header > .close-icon:hover:active {
2520 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2523 .browserContainer > findbar {
2525 background-color: -moz-dialog;
2526 color: -moz-DialogText;
2535 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2538 #TabsToolbar .toolbar-holder {
2539 background-color: #000000; /* correct effect of being an actual toolbar */
2542 #main-window[disablechrome] #TabsToolbar,
2543 #TabsToolbar[tabsontop="false"] {
2544 border-bottom: 1px solid #008484;
2547 /* === BEGIN tabs.inc.css === */
2550 .tabs-newtab-button,
2551 #TabsToolbar > #new-tab-button {
2556 padding: 1px 4px 2px;
2559 .tabbrowser-tab:first-of-type {
2560 -moz-margin-start: 2px;
2563 .tabs-newtab-button,
2564 #TabsToolbar > #new-tab-button {
2565 border-radius: 8px 8px 0px 0px;
2566 -moz-margin-start: 0;
2569 .tabs-newtab-button:not(:hover),
2570 #TabsToolbar > #new-tab-button:not(:hover) {
2571 background-color: #C09070;
2574 .tabbrowser-tab[remote] {
2575 text-decoration: underline;
2578 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2579 .tabbrowser-tab[selected=true] {
2580 /* position: relative;
2584 .tab-background-middle {
2602 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2605 .tab-throbber[busy] {
2606 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2609 .tab-throbber[progress] {
2610 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2613 .tab-throbber:not([pinned]),
2614 .tab-icon-image:not([pinned]) {
2615 -moz-margin-end: 3px;
2618 .tab-throbber[pinned],
2619 .tab-icon-image[pinned] {
2620 -moz-margin-start: 2px;
2621 -moz-margin-end: 2px;
2625 /* this needs to add up to the 16px of the icon image */
2627 margin-top: 2px !important;
2628 margin-bottom: 2px !important;
2637 .tabs-newtab-button {
2638 /* overlap the tab curves */
2641 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2645 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2646 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2649 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2650 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2653 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2656 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2659 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2660 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2663 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2664 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2667 .tab-background-start[selected=true]::after,
2668 .tab-background-start[selected=true]::before,
2669 .tab-background-start,
2670 .tab-background-end,
2671 .tab-background-end[selected=true]::after,
2672 .tab-background-end[selected=true]::before {
2675 .tabbrowser-tab:not([selected=true]),
2676 .tabbrowser-tab:-moz-lwtheme {
2679 /* tabbrowser-tab focus ring */
2680 .tabbrowser-tab:focus {
2681 outline: 1px dotted;
2686 .tabbrowser-tab[selected="true"] {
2689 /* End selected tab */
2691 /* Tab pointer-events */
2694 pointer-events: none;
2697 .tab-background-middle,
2698 .tabs-newtab-button,
2700 pointer-events: auto;
2705 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2706 background-color: #E7ADE7;
2709 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2710 background-color: #3333FF;
2714 /* New tab button */
2716 .tabs-newtab-button {
2720 /* === END tabs.inc.css === */
2724 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2725 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2726 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2728 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2729 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2732 /* Tab DnD indicator */
2733 .tab-drop-indicator {
2734 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2735 margin-bottom: -11px;
2738 /* Tab close button */
2740 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2743 .tab-close-button:hover,
2744 .tab-close-button:hover[selected="true"] {
2745 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2748 .tab-close-button:hover:active,
2749 .tab-close-button:hover:active[selected="true"] {
2750 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2753 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2755 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2756 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2760 background-origin: border-box;
2763 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2764 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2765 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2766 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2769 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2770 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2773 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2774 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2775 /* transform: scaleX(-1);*/
2778 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2779 transition: 1s background-color ease-out;
2782 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2783 background-color: #008484;
2786 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2787 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2788 /* border-width: 0 2px 0 0;
2789 border-style: solid;
2790 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2793 .tabs-newtab-button > .toolbarbutton-icon {
2795 margin-bottom: -1px;
2798 .tabs-newtab-button,
2799 #TabsToolbar > #new-tab-button,
2800 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2801 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2802 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2803 -moz-image-region: rect(0, 16px, 18px, 0);
2806 .tabs-newtab-button,
2807 .tabs-newtab-button:hover,
2808 #TabsToolbar > #new-tab-button,
2809 #TabsToolbar > #new-tab-button:hover {
2810 -moz-image-region: rect(0, 32px, 18px, 16px);
2813 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2814 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2815 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2816 .tabs-newtab-button:-moz-lwtheme-brighttext,
2817 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2818 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2821 #TabsToolbar > #new-tab-button {
2826 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2829 #alltabs-button:hover,
2830 #alltabs-button:hover:active,
2831 #alltabs-button[open="true"] {
2832 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2835 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2836 #alltabs-button:-moz-lwtheme-brighttext {
2839 #alltabs-button > .toolbarbutton-icon {
2843 #alltabs-button > .toolbarbutton-menu-dropmarker {
2847 /* All tabs menupopup */
2848 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2849 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2850 -moz-image-region: auto;
2853 .alltabs-item[selected="true"] {
2857 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2858 list-style-image: url("chrome://global/skin/icons/loading.gif");
2861 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2862 background-color: #402800;
2865 toolbarbutton.chevron {
2866 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2869 toolbarbutton.chevron:hover {
2870 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2873 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2874 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2875 transform: scaleX(-1);
2878 toolbarbutton.chevron > .toolbarbutton-text,
2879 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2883 toolbarbutton.chevron > .toolbarbutton-icon {
2887 #sidebar-throbber[loading="true"] {
2888 list-style-image: url("chrome://global/skin/icons/loading.gif");
2889 -moz-margin-end: 4px;
2892 /* Bookmarks toolbar */
2893 #PlacesToolbarDropIndicator {
2894 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2897 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2898 background-color: #008484 !important;
2899 color: #FFCF00 !important;
2902 /* rules for menupopup drop indicators */
2903 .menupopup-drop-indicator-bar {
2905 /* these two margins must together compensate the indicator's height */
2907 margin-bottom: -1px;
2910 .menupopup-drop-indicator {
2911 list-style-image: none;
2913 -moz-margin-end: -4em;
2914 background-color: #008484;
2917 /* ::::: Identity Indicator Styling ::::: */
2920 #identity-popup-icon {
2924 list-style-image: url("chrome://browser/skin/identity.png");
2925 -moz-image-region: rect(0px, 64px, 64px, 0px);
2928 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2929 -moz-image-region: rect(64px, 64px, 128px, 0px);
2932 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2933 -moz-image-region: rect(128px, 64px, 192px, 0px);
2936 /* Popup Body Text */
2937 .identity-popup-description {
2938 white-space: pre-wrap;
2939 -moz-padding-start: 15px;
2943 .identity-popup-label {
2944 white-space: pre-wrap;
2945 -moz-padding-start: 15px;
2949 #identity-popup-content-host,
2950 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2954 #identity-popup-content-host {
2961 #identity-popup-content-owner {
2963 margin-bottom: 0 !important;
2968 .verifiedDomain > #identity-popup-content-owner {
2969 font-weight: normal;
2972 #identity-popup-content-verifier {
2976 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2977 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2979 -moz-margin-start: -24px;
2982 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2983 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2984 list-style-image: url("chrome://browser/skin/Secure24.png");
2987 #identity-popup-help-icon {
2989 margin: 7px 0 0 -3px;
2992 list-style-image: url("chrome://global/skin/icons/question-16.png");
2996 #identity-popup-help-icon > .button-box > .button-text {
3000 #identity-popup-help-icon > .button-box > .button-icon {
3005 #identity-popup-more-info-button {
3011 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
3015 #identity-popup-container {
3020 #identity-popup-button-container {
3021 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3026 .popup-notification-icon {
3029 -moz-margin-end: 10px;
3032 .popup-notification-icon[popupid="geolocation"] {
3033 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3036 .popup-notification-icon[popupid="xpinstall-disabled"],
3037 .popup-notification-icon[popupid="addon-progress"],
3038 .popup-notification-icon[popupid="addon-install-cancelled"],
3039 .popup-notification-icon[popupid="addon-install-blocked"],
3040 .popup-notification-icon[popupid="addon-install-failed"],
3041 .popup-notification-icon[popupid="addon-install-complete"] {
3042 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3047 .popup-notification-icon[popupid="click-to-play-plugins"] {
3048 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3051 .popup-notification-icon[popupid="plugins-not-found"] {
3052 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
3055 .popup-notification-icon[popupid="web-notifications"] {
3056 list-style-image: url("chrome://browser/skin/notification-64.png");
3059 .addon-progress-description {
3064 .popup-progress-label,
3065 .popup-progress-meter {
3066 -moz-margin-start: 0;
3070 .popup-progress-cancel {
3071 -moz-appearance: none;
3072 background: transparent;
3078 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
3079 -moz-image-region: rect(0px, 32px, 16px, 16px);
3082 .popup-progress-cancel:hover {
3083 -moz-image-region: rect(16px, 32px, 32px, 16px);
3086 .popup-progress-cancel:active {
3087 -moz-image-region: rect(32px, 32px, 48px, 16px);
3090 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3091 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
3092 .popup-notification-icon[popupid*="offline-app-requested"],
3093 .popup-notification-icon[popupid="offline-app-usage"] {
3094 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3097 .popup-notification-icon[popupid="password-save"],
3098 .popup-notification-icon[popupid="password-change"] {
3099 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3102 .popup-notification-icon[popupid="webapps-install-progress"],
3103 .popup-notification-icon[popupid="webapps-install"] {
3104 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3107 .popup-notification-icon[popupid="bad-content"] {
3108 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3111 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3112 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3113 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3116 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3117 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3118 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3121 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3122 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3123 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3126 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3127 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3128 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3131 .popup-notification-icon[popupid="pointerLock"] {
3132 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3135 /* Notification icon box */
3136 #notification-popup .panel-promo-box {
3137 /* margin: 10px -10px -10px; */
3140 #notification-popup-box {
3142 background-color: #000000;
3143 background-clip: padding-box;
3146 border-radius: 3px 0 0 3px;
3147 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3148 -moz-margin-end: -8px;
3149 border-right-width: 8px;
3152 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3153 /* padding-left: 7px; */
3156 #notification-popup-box:-moz-locale-dir(rtl),
3157 .notification-anchor-icon:-moz-locale-dir(rtl) {
3158 transform: scaleX(-1);
3161 .notification-anchor-icon {
3167 .notification-anchor-icon:-moz-focusring {
3168 outline: 1px dotted #008484;
3171 .default-notification-icon,
3172 #default-notification-icon {
3173 list-style-image: url("chrome://global/skin/icons/information-16.png");
3176 .identity-notification-icon,
3177 #identity-notification-icon {
3178 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3181 .geo-notification-icon,
3182 #geo-notification-icon {
3183 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3186 #addons-notification-icon {
3187 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3190 .indexedDB-notification-icon,
3191 #indexedDB-notification-icon {
3192 list-style-image: url("chrome://global/skin/icons/question-16.png");
3195 #password-notification-icon {
3196 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3199 #webapps-notification-icon {
3200 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3203 #plugins-notification-icon {
3204 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3207 #plugins-notification-icon.plugin-hidden {
3208 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3211 #plugins-notification-icon.plugin-blocked {
3212 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3215 #plugins-notification-icon {
3216 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3219 #plugins-notification-icon:hover {
3220 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3223 #plugin-install-notification-icon {
3224 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3227 #notification-popup-box[hidden] {
3228 /* Override display:none to make the pluginBlockedNotification animation work
3229 when showing the notification repeatedly. */
3231 visibility: collapse;
3234 #plugins-notification-icon.plugin-blocked[showing] {
3235 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3238 @keyframes pluginBlockedNotification {
3247 .bad-content-blocked-notification-icon,
3248 #bad-content-blocked-notification-icon {
3249 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3252 .bad-content-unblocked-notification-icon,
3253 #bad-content-unblocked-notification-icon {
3254 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3257 .webRTC-shareDevices-notification-icon,
3258 #webRTC-shareDevices-notification-icon {
3259 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3262 .webRTC-sharingDevices-notification-icon,
3263 #webRTC-sharingDevices-notification-icon {
3264 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3267 .webRTC-shareMicrophone-notification-icon,
3268 #webRTC-shareMicrophone-notification-icon {
3269 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3272 .webRTC-sharingMicrophone-notification-icon,
3273 #webRTC-sharingMicrophone-notification-icon {
3274 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3277 .webRTC-shareScreen-notification-icon,
3278 #webRTC-shareScreen-notification-icon {
3279 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3282 .webRTC-sharingScreen-notification-icon,
3283 #webRTC-sharingScreen-notification-icon {
3284 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3287 .web-notifications-notification-icon,
3288 #web-notifications-notification-icon {
3289 list-style-image: url("chrome://browser/skin/notification-16.png");
3292 #pointerLock-notification-icon {
3293 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3295 #pointerLock-cancel {
3299 /* Translation infobar */
3301 /* === BEGIN infobar.inc.css === */
3303 notification[value="translation"] .messageImage {
3304 list-style-image: url("chrome://browser/skin/translation-16.png");
3305 -moz-image-region: rect(0, 32px, 16px, 16px);
3308 @media (min-resolution: 1.25dppx) {
3309 notification[value="translation"] .messageImage {
3310 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3311 -moz-image-region: rect(0, 64px, 32px, 32px);
3315 notification[value="translation"][state="translating"] .messageImage {
3316 list-style-image: url("chrome://browser/skin/translating-16.png");
3317 -moz-image-region: auto;
3320 @media (min-resolution: 1.25dppx) {
3321 notification[value="translation"][state="translating"] .messageImage {
3322 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3326 notification[value="translation"] button,
3327 notification[value="translation"] menulist {
3331 notification[value="translation"] menulist > .menulist-dropmarker {
3334 .translation-menupopup arrowscrollbox {
3338 .translation-attribution {
3340 -moz-box-align: end;
3344 .translation-attribution > label {
3348 .translation-attribution > image {
3352 .translation-welcome-panel {
3356 .translation-welcome-logo {
3359 list-style-image: url(chrome://browser/skin/translation-16@2x.png);
3360 -moz-image-region: rect(0, 64px, 32px, 32px);
3363 .translation-welcome-content {
3364 -moz-margin-start: 16px;
3367 .translation-welcome-headline {
3372 .translation-welcome-body {
3377 /* === END infobar.inc.css === */
3379 notification[value="translation"] {
3383 .translate-notification-icon,
3384 #translate-notification-icon {
3385 list-style-image: url("chrome://browser/skin/translation-16.png");
3386 -moz-image-region: rect(0px, 16px, 16px, 0px);
3389 .translated-notification-icon,
3390 #translated-notification-icon {
3391 list-style-image: url("chrome://browser/skin/translation-16.png");
3392 -moz-image-region: rect(0px, 32px, 16px, 16px);
3395 .translation-menupopup {
3396 -moz-appearance: none;
3399 /* Bookmarks roots menu-items */
3400 #subscribeToPageMenuitem:not([disabled]),
3401 #subscribeToPageMenupopup,
3402 #BMB_subscribeToPageMenuitem:not([disabled]),
3403 #BMB_subscribeToPageMenupopup {
3404 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3407 #bookmarksToolbarFolderMenu,
3408 #BMB_bookmarksToolbar,
3409 #panelMenu_bookmarksToolbar {
3410 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3411 -moz-image-region: auto;
3414 #BMB_unsortedBookmarks,
3415 #panelMenu_unsortedBookmarks {
3416 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3417 -moz-image-region: auto;
3420 /* ::::: Keyboard UI Panel ::::: */
3425 border-radius: 20px;
3428 .KUI-panel[level="top"] {
3429 /*background-color: rgba(27%,27%,27%,.65);*/
3435 padding: 20px 10px 10px;
3439 .ctrlTab-favicon[src] {
3440 background-color: #000000;
3446 .ctrlTab-preview-inner > .tabPreview-canvas {
3449 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3453 .ctrlTab-preview-inner {
3454 padding-bottom: 10px;
3457 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3459 background-color: #000000;
3460 border-radius: .5em;
3463 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3465 background-color: #000000;
3468 border: 2px solid #9C9CFF;
3469 border-radius: .5em;
3472 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3473 margin: -10px -10px 0;
3485 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3493 .sync-panel-button-box {
3497 #sync-error-panel-title,
3498 #sync-start-panel-title {
3504 #sync-start-panel-subtitle,
3505 #sync-error-panel-subtitle {
3511 .statuspanel-label {
3514 background: #404000;
3515 border: 1px none #9C9CFF;
3516 border-top-style: solid;
3521 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3522 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3523 border-right-style: solid;
3524 border-top-right-radius: .3em;
3528 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3529 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3530 border-left-style: solid;
3531 border-top-left-radius: .3em;
3535 /* HACK to abolish devily color on main content */
3538 background-color: transparent !important;
3541 /* === BEGIN highlighter.inc.css === */
3543 /* Box model highlighter */
3544 svg|g.box-model-container {
3548 svg|polygon.box-model-content {
3552 svg|polygon.box-model-padding {
3556 svg|polygon.box-model-border {
3560 svg|polygon.box-model-margin {
3564 svg|polygon.box-model-content,
3565 svg|polygon.box-model-padding,
3566 svg|polygon.box-model-border,
3567 svg|polygon.box-model-margin {
3571 svg|line.box-model-guide-top,
3572 svg|line.box-model-guide-right,
3573 svg|line.box-model-guide-bottom,
3574 svg|line.box-model-guide-left {
3576 stroke-dasharray: 5 3;
3577 shape-rendering: crispEdges;
3580 /* Highlighter - Node Infobar */
3582 .highlighter-nodeinfobar {
3585 background-color: #000000;
3586 background-clip: padding-box;
3587 border: 1px solid #008484;
3589 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3594 /* Highlighter - Node Infobar - text */
3596 .highlighter-nodeinfobar-text {
3598 /* 100% - size of the buttons and margins */
3599 max-width: calc(100% - 2 * (26px + 6px));
3600 padding-bottom: 1px;
3603 html|*.highlighter-nodeinfobar-tagname {
3607 html|*.highlighter-nodeinfobar-id {
3611 html|*.highlighter-nodeinfobar-pseudo-classes {
3615 html|*.highlighter-nodeinfobar-dimensions {
3617 -moz-border-start: 1px solid #9C9CFF;
3618 -moz-margin-start: 6px;
3619 -moz-padding-start: 6px;
3622 /* Highlighter - Node Infobar - box & arrow */
3624 .highlighter-nodeinfobar-arrow {
3627 -moz-margin-start: calc(50% - 7px);
3628 transform: rotate(-45deg);
3629 background-clip: padding-box;
3630 background-repeat: no-repeat;
3633 .highlighter-nodeinfobar-arrow-top {
3634 margin-bottom: -8px;
3636 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3639 .highlighter-nodeinfobar-arrow-bottom {
3642 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3645 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3649 /* Css transform highlighter */
3651 svg|polygon.css-transform-transformed {
3656 svg|polygon.css-transform-untransformed {
3661 svg|polygon.css-transform-transformed,
3662 svg|polygon.css-transform-untransformed,
3663 svg|line.css-transform-line {
3665 stroke-dasharray: 5 3;
3669 /* === END highlighter.inc.css === */
3671 #full-screen-warning-message {
3672 background-color: #000000;
3677 box-shadow: 0 0 2px #9C9CFF;
3680 #full-screen-warning-container[obscure-browser] {
3681 background-color: rgba(0,0,0,0.3);
3684 .full-screen-description {
3688 #full-screen-domain-text {
3692 .full-screen-approval-button,
3693 #full-screen-remember-decision {
3697 /* === BEGIN commandline.inc.css === */
3699 /* Developer toolbar */
3701 #developer-toolbar {
3702 border-top: 3px solid #000000;
3703 border-bottom: none;
3706 #developer-toolbar .toolbar-holder {
3707 background-color: #8050B0;
3711 #developer-toolbar .toolbar-holder {
3712 background-color: #8050B0;
3716 #developer-toolbar .toolbar-startcap,
3717 #developer-toolbar .toolbar-endcap{
3718 background-color: #6000CF;
3721 #developer-toolbar {
3723 min-height: 32px; */
3726 #developer-toolbar > toolbarbutton {
3732 .developer-toolbar-button > image {
3733 /* margin: auto 10px; */
3736 #developer-toolbar-toolbox-button > label {
3740 .developer-toolbar-button > .toolbarbutton-icon,
3741 #developer-toolbar-closebutton > .toolbarbutton-icon {
3746 #developer-toolbar-toolbox-button {
3747 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3748 -moz-image-region: rect(0px, 16px, 16px, 0px);
3751 #developer-toolbar-toolbox-button > label {
3755 #developer-toolbar-toolbox-button:hover,
3756 #developer-toolbar-toolbox-button:hover:active,
3757 #developer-toolbar-toolbox-button[checked=true] {
3758 -moz-image-region: rect(0px, 32px, 16px, 16px);
3761 @media (min-resolution: 2dppx) {
3762 #developer-toolbar-toolbox-button {
3763 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3764 -moz-image-region: rect(0px, 32px, 32px, 0px);
3767 #developer-toolbar-toolbox-button:hover,
3768 #developer-toolbar-toolbox-button:hover:active,
3769 #developer-toolbar-toolbox-button[checked=true] {
3770 -moz-image-region: rect(0px, 64px, 32px, 32px);
3774 #developer-toolbar-closebutton {
3775 list-style-image: url("chrome://browser/skin/devtools/close.png");
3776 -moz-image-region: rect(0px, 16px, 16px, 0px);
3781 #developer-toolbar-closebutton > .toolbarbutton-icon {
3784 #developer-toolbar-closebutton > .toolbarbutton-text {
3788 #developer-toolbar-closebutton:hover,
3789 #developer-toolbar-closebutton:hover:active {
3790 -moz-image-region: rect(0px, 32px, 16px, 16px);
3793 @media (min-resolution: 2dppx) {
3794 #developer-toolbar-closebutton {
3795 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3796 -moz-image-region: rect(0px, 32px, 32px, 0px);
3799 #developer-toolbar-closebutton:hover,
3800 #developer-toolbar-closebutton:hover:active {
3801 -moz-image-region: rect(0px, 64px, 32px, 32px);
3807 html|*#gcli-tooltip-frame,
3808 html|*#gcli-output-frame {
3811 background-color: transparent;
3817 background-color: transparent;
3820 .gclitoolbar-input-node,
3821 .gclitoolbar-complete-node {
3823 -moz-box-align: center;
3827 background-color: transparent;
3830 .gclitoolbar-input-node {
3831 /* line-height: 32px;
3832 outline-style: none; */
3833 background-repeat: no-repeat;
3834 background-color: rgba(0, 0, 0, .75);
3837 .gclitoolbar-input-node[focused="true"] {
3838 background-color: #000000;
3841 .gclitoolbar-input-node::before {
3843 display: inline-block;
3844 -moz-box-ordinal-group: 0;
3848 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3849 background-position: 0 center;
3850 background-size: 32px 16px;
3853 .gclitoolbar-input-node[focused="true"]::before {
3854 background-position: -16px center;
3857 @media (min-resolution: 2dppx) {
3858 .gclitoolbar-input-node::before {
3859 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3863 .gclitoolbar-input-node:not([focused="true"]) {
3864 border-color: transparent;
3867 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3868 background-color: #008484;
3873 .gclitoolbar-complete-node {
3875 background-color: transparent;
3878 pointer-events: none;
3881 .gcli-in-incomplete,
3885 .gcli-in-closebrace,
3892 .gcli-in-incomplete {
3893 border-bottom: 2px dotted #8050B0;
3897 border-bottom: 2px dotted #FF0000;
3908 .gcli-in-closebrace {
3912 /* === END commandline.inc.css === */
3914 /* === BEGIN responsivedesign.inc.css === */
3916 /* Responsive Mode */
3918 .browserContainer[responsivemode] {
3919 background-color: #221500;
3920 padding: 0 20px 20px 20px;
3923 .browserStack[responsivemode] {
3924 box-shadow: 0 0 7px #9C9CFF;
3927 .devtools-responsiveui-toolbar {
3928 background: transparent;
3929 /* text color is textColor from dark theme, since no theme is applied to
3930 * the responsive toolbar.
3936 border-bottom-width: 0;
3939 .devtools-responsiveui-menulist,
3940 .devtools-responsiveui-toolbarbutton {
3941 -moz-box-align: center;
3943 /* min-height: 22px;*/
3944 /* margin: 0 3px; */
3947 .devtools-responsiveui-menulist .menulist-editable-box {
3948 background-color: transparent;
3951 .devtools-responsiveui-menulist html|*.menulist-editable-input {
3956 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
3957 /* background: hsla(212,7%,57%,.35);*/
3960 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
3965 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3966 -moz-box-orient: horizontal;
3969 .devtools-responsiveui-menulist:-moz-focusring,
3970 .devtools-responsiveui-toolbarbutton:-moz-focusring {
3971 /* outline: 1px dotted hsla(210,30%,85%,0.7);
3972 outline-offset: -4px;*/
3975 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3979 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3980 /* border-color: hsla(210,8%,5%,.6);
3981 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3982 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); */
3985 .devtools-responsiveui-menulist[open=true],
3986 .devtools-responsiveui-toolbarbutton[open=true],
3987 .devtools-responsiveui-toolbarbutton[checked=true] {
3988 /* border-color: hsla(210,8%,5%,.6) !important;
3989 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3990 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); */
3993 .devtools-responsiveui-toolbarbutton[checked=true] {
3994 /* color: hsl(208,100%,60%); */
3997 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
3998 /* background-color: transparent !important;*/
4001 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
4002 /* background-color: hsla(210,8%,5%,.2) !important;*/
4005 .devtools-responsiveui-menulist > .menulist-label-box {
4009 .devtools-responsiveui-menulist > .menulist-dropmarker {
4010 /* display: -moz-box;
4011 background-color: transparent;
4012 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4013 -moz-box-align: center;
4018 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
4021 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
4022 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
4025 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
4026 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
4029 .devtools-responsiveui-toolbarbutton[type=menu-button] {
4030 /* padding: 0 1px;*/
4031 -moz-box-align: stretch;
4034 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
4035 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
4036 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
4037 -moz-box-align: center;
4041 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
4042 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4046 .devtools-responsiveui-close {
4047 list-style-image: url("chrome://browser/skin/devtools/close.png");
4048 -moz-image-region: rect(0px,16px,16px,0px);
4051 .devtools-responsiveui-close:hover {
4052 -moz-image-region: rect(0px,32px,16px,16px);
4055 .devtools-responsiveui-rotate {
4056 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4057 -moz-image-region: rect(0px,16px,16px,0px);
4060 .devtools-responsiveui-rotate:hover {
4061 -moz-image-region: rect(0px,32px,16px,16px);
4064 @media (min-resolution: 2dppx) {
4065 .devtools-responsiveui-close {
4066 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4069 .devtools-responsiveui-close:hover {
4070 -moz-image-region: rect(0px,64px,32px,32px);