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 @supports ( -moz-appearance: -moz-mac-unified-toolbar ) {
21 /* this is a usable workaround to detect we're on Mac OS */
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 @supports ( not(-moz-appearance: -moz-mac-unified-toolbar) ) {
78 /* this is a usable workaround to detect we're on Mac OS */
79 #toolbar-menubar:not([autohide="true"]) {
80 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
84 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
85 /* 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 */
89 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
90 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
91 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
92 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
93 outline-color: #A09090;
99 #navigator-toolbox::after {
102 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
106 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
109 @supports ( not(-moz-appearance: -moz-mac-unified-toolbar) ) {
110 /* this is a usable workaround to detect we're not on Mac OS */
111 /* indent also due to non-applicable aero rule */
113 background-color: transparent !important;
116 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
117 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
119 background-color: #6000CF;
123 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
124 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
125 background-color: #8050B0;
129 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
133 #TabsToolbar:-moz-lwtheme {
134 /*background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);*/
137 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
141 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
142 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
147 @supports ( -moz-appearance: -moz-mac-unified-toolbar ) {
148 /* this is a usable workaround to detect we're on Mac OS */
149 #titlebar-buttonbox > .titlebar-button {
152 #titlebar-buttonbox {
158 /* Position the toolbar above the bottom of background tabs */
163 #personal-bookmarks {
164 /* min-height: 24px; */
167 #print-preview-toolbar:not(:-moz-lwtheme) {
168 /* -moz-appearance: toolbox; */
171 #browser-bottombox:not(:-moz-lwtheme) {
174 /* ::::: titlebar ::::: */
178 background-color: #6000CF;
181 #titlebar:-moz-window-inactive {
182 background-color: #8050B0;
186 #main-window[sizemode="normal"] > #titlebar {
191 #main-window[sizemode="maximized"] > #titlebar {
195 /* The button box must appear on top of the navigator-toolbox in order for
196 * click and hover mouse events to work properly for the button in the restored
197 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
198 * can swallow those events. It will also place the buttons above the fog on
199 * themes with Aero Glass.
201 #titlebar-buttonbox {
202 -moz-appearance: none;
205 -moz-margin-end: 3px;
209 .titlebar-placeholder[type="appmenu-button"] {
213 .titlebar-placeholder[type="caption-buttons"] {
217 /* titlebar command buttons */
220 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
223 #titlebar-min:hover {
224 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
228 list-style-image: url("chrome://browser/skin/win-maximize.gif");
231 #titlebar-max:hover {
232 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
235 #main-window[sizemode="maximized"] #titlebar-max {
236 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
239 #main-window[sizemode="maximized"] #titlebar-max:hover {
240 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
244 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
247 #titlebar-close:hover {
248 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
251 /* ::::: bookmark buttons ::::: */
253 toolbarbutton.bookmark-item:not(.subviewbutton),
254 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
259 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
260 toolbarbutton.bookmark-item[open="true"] {
263 -moz-padding-start: 4px;
264 -moz-padding-end: 2px;*/
267 .bookmark-item > .toolbarbutton-icon,
268 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
273 /* Force the display of the label for bookmarks */
274 .bookmark-item > .toolbarbutton-text,
275 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
276 display: -moz-box !important;
279 .bookmark-item > .toolbarbutton-menu-dropmarker {
283 #bookmarks-toolbar-placeholder {
284 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
287 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
288 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
289 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
292 /* ----- BOOKMARK STAR ANIMATION ----- */
294 @keyframes animation-bookmarkAdded {
295 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
296 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
298 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
301 @keyframes animation-bookmarkPulse {
302 from { transform: scale(1); }
303 50% { transform: scale(1.3); }
304 to { transform: scale(1); }
307 #bookmarked-notification-container {
316 #bookmarked-notification {
317 background-size: 16px;
318 background-position: center;
319 background-repeat: no-repeat;
325 #bookmarked-notification-dropmarker-anchor {
330 #bookmarked-notification-dropmarker-icon {
336 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
337 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
338 animation: animation-bookmarkAdded 800ms;
339 animation-timing-function: ease, ease, ease;
342 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
343 list-style-image: none !important;
346 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
348 animation: animation-bookmarkPulse 300ms;
349 animation-delay: 600ms;
350 animation-timing-function: ease-out;
353 /* ::::: bookmark menus ::::: */
356 menuitem.bookmark-item {
361 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
366 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
367 -moz-padding-start: 0px;
370 /* ::::: bookmark items ::::: */
373 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
374 -moz-image-region: auto;
377 .bookmark-item[container] {
378 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
379 -moz-image-region: auto;
382 .bookmark-item[container][open] {
383 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
384 -moz-image-region: auto;
387 .bookmark-item[container][livemark] {
388 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
389 -moz-image-region: auto;
392 .bookmark-item[container][livemark] .bookmark-item {
393 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
394 -moz-image-region: rect(0px, 16px, 16px, 0px);
397 .bookmark-item[container][livemark] .bookmark-item[visited] {
398 -moz-image-region: rect(0px, 32px, 16px, 16px);
401 .bookmark-item[container][query] {
402 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
403 -moz-image-region: auto;
406 .bookmark-item[query][tagContainer] {
407 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
408 -moz-image-region: auto;
411 .bookmark-item[query][dayContainer] {
412 list-style-image: url("chrome://communicator/skin/history/calendar.png");
413 -moz-image-region: auto;
416 .bookmark-item[query][hostContainer] {
417 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
418 -moz-image-region: auto;
421 .bookmark-item[query][hostContainer][open] {
422 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
423 -moz-image-region: auto;
426 .bookmark-item[cutting] > .toolbarbutton-icon,
427 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
431 .bookmark-item[cutting] > .toolbarbutton-text,
432 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
436 /* ::::: primary toolbar buttons ::::: */
438 /* === BEGIN toolbarbuttons.inc.css === */
440 /* Whole section of this included file: */
441 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
442 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
443 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
444 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
445 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
446 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
447 #copy-button, #paste-button, #e10s-button),
449 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
450 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
454 -moz-image-region: rect(0, 36px, 18px, 18px);
457 #back-button:hover:not([disabled="true"]) {
458 -moz-image-region: rect(18px, 36px, 36px, 18px);
461 #back-button[disabled="true"] {
462 -moz-image-region: rect(36px, 36px, 54px, 18px);
466 -moz-image-region: rect(0, 72px, 18px, 54px);
469 #forward-button:hover:not([disabled="true"]) {
470 -moz-image-region: rect(18px, 72px, 36px, 54px);
473 #forward-button[disabled="true"] {
474 -moz-image-region: rect(36px, 72px, 54px, 54px);
477 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
478 #forward-button:-moz-locale-dir(rtl) {
479 transform: scaleX(-1);
482 #home-button[cui-areatype="toolbar"] {
483 -moz-image-region: rect(0, 126px, 18px, 108px);
486 #home-button[cui-areatype="toolbar"]:hover {
487 -moz-image-region: rect(18px, 126px, 36px, 108px);
490 #bookmarks-menu-button[cui-areatype="toolbar"] {
491 -moz-image-region: rect(0, 144px, 18px, 126px);
494 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
495 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
496 -moz-image-region: rect(18px, 144px, 36px, 126px);
499 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
500 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
501 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
502 background-color: transparent !important;
505 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
506 -moz-image-region: rect(0, 162px, 18px, 144px);
509 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
510 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
511 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
512 /* When starred and clicked (for edit/delete dialog),
513 * then only the menubutton-button itself is open, but not the whole menubutton. */
514 -moz-image-region: rect(18px, 162px, 36px, 144px);
517 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
518 -moz-image-region: rect(0, 630px, 18px, 612px);
521 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
523 -moz-box-align: center;
526 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
527 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
528 -moz-image-region: rect(18px, 630px, 36px, 612px);
531 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
532 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
535 -moz-padding-start: 2px;
536 -moz-padding-end: 0px;
539 #history-panelmenu[cui-areatype="toolbar"] {
540 -moz-image-region: rect(0, 180px, 18px, 162px);
543 #history-panelmenu[cui-areatype="toolbar"]:hover,
544 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
545 -moz-image-region: rect(18px, 180px, 36px, 162px);
548 #downloads-button[cui-areatype="toolbar"] {
549 -moz-image-region: rect(0, 198px, 18px, 180px);
552 #downloads-button[cui-areatype="toolbar"]:hover,
553 #downloads-button[cui-areatype="toolbar"][open="true"] {
554 -moz-image-region: rect(18px, 198px, 36px, 180px);
557 #add-ons-button[cui-areatype="toolbar"] {
558 -moz-image-region: rect(0, 216px, 18px, 198px);
561 #add-ons-button[cui-areatype="toolbar"]:hover {
562 -moz-image-region: rect(18px, 216px, 36px, 198px);
565 #open-file-button[cui-areatype="toolbar"] {
566 -moz-image-region: rect(0, 234px, 18px, 216px);
569 #open-file-button[cui-areatype="toolbar"]:hover {
570 -moz-image-region: rect(18px, 234px, 36px, 216px);
573 #save-page-button[cui-areatype="toolbar"] {
574 -moz-image-region: rect(0, 252px, 18px, 234px);
577 #save-page-button[cui-areatype="toolbar"]:hover {
578 -moz-image-region: rect(18px, 252px, 36px, 234px);
581 #sync-button[cui-areatype="toolbar"] {
582 -moz-image-region: rect(0, 270px, 18px, 252px);
585 #sync-button[cui-areatype="toolbar"]:hover {
586 -moz-image-region: rect(18px, 270px, 36px, 252px);
589 #sync-button[cui-areatype="toolbar"][status="active"],
590 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
591 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
592 -moz-image-region: rect(0, 18px, 18px, 0px);
596 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
597 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
598 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
602 #feed-button[cui-areatype="toolbar"] {
603 -moz-image-region: rect(0, 288px, 18px, 270px);
606 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
607 -moz-image-region: rect(18px, 288px, 36px, 270px);
610 #feed-button[cui-areatype="toolbar"][disabled="true"] {
611 -moz-image-region: rect(36px, 288px, 54px, 270px);
614 #social-share-button[cui-areatype="toolbar"] {
615 -moz-image-region: rect(0px, 306px, 18px, 288px);
618 #social-share-button[cui-areatype="toolbar"]:hover {
619 -moz-image-region: rect(18px, 306px, 36px, 288px);
622 #characterencoding-button[cui-areatype="toolbar"] {
623 -moz-image-region: rect(0, 324px, 18px, 306px);
626 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
627 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
628 -moz-image-region: rect(18px, 324px, 36px, 306px);
631 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
632 -moz-image-region: rect(36px, 324px, 54px, 306px);
635 #new-window-button[cui-areatype="toolbar"] {
636 -moz-image-region: rect(0, 342px, 18px, 324px);
639 #new-window-button[cui-areatype="toolbar"]:hover {
640 -moz-image-region: rect(18px, 342px, 36px, 324px);
643 #e10s-button[cui-areatype="toolbar"] {
644 -moz-image-region: rect(0, 342px, 18px, 324px);
647 #e10s-button[cui-areatype="toolbar"]:hover {
648 -moz-image-region: rect(18px, 342px, 36px, 324px);
651 #e10s-button > .toolbarbutton-icon {
652 transform: scaleY(-1);
655 #new-tab-button[cui-areatype="toolbar"] {
656 -moz-image-region: rect(0, 360px, 18px, 342px);
659 #new-tab-button[cui-areatype="toolbar"]:hover {
660 -moz-image-region: rect(18px, 360px, 36px, 342px);
663 #privatebrowsing-button[cui-areatype="toolbar"] {
664 -moz-image-region: rect(0, 378px, 18px, 360px);
667 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
668 -moz-image-region: rect(18px, 378px, 36px, 360px);
671 #find-button[cui-areatype="toolbar"] {
672 -moz-image-region: rect(0, 396px, 18px, 378px);
675 #find-button[cui-areatype="toolbar"]:hover {
676 -moz-image-region: rect(18px, 396px, 36px, 378px);
679 #print-button[cui-areatype="toolbar"] {
680 -moz-image-region: rect(0, 414px, 18px, 396px);
683 #print-button[cui-areatype="toolbar"]:hover {
684 -moz-image-region: rect(18px, 414px, 36px, 396px);
687 #fullscreen-button[cui-areatype="toolbar"] {
688 -moz-image-region: rect(0, 432px, 18px, 414px);
691 #fullscreen-button[cui-areatype="toolbar"]:hover {
692 -moz-image-region: rect(18px, 432px, 36px, 414px);
695 #developer-button[cui-areatype="toolbar"] {
696 -moz-image-region: rect(0, 450px, 18px, 432px);
699 #developer-button[cui-areatype="toolbar"]:hover,
700 #developer-button[cui-areatype="toolbar"][open="true"] {
701 -moz-image-region: rect(18px, 450px, 36px, 432px);
704 #preferences-button[cui-areatype="toolbar"] {
705 -moz-image-region: rect(0, 468px, 18px, 450px);
708 #preferences-button[cui-areatype="toolbar"]:hover {
709 -moz-image-region: rect(18px, 468px, 36px, 450px);
712 #PanelUI-menu-button {
713 -moz-image-region: rect(0, 486px, 18px, 468px);
716 #PanelUI-menu-button:hover,
717 #PanelUI-menu-button[open="true"] {
718 -moz-image-region: rect(18px, 486px, 36px, 468px);
721 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
722 -moz-image-region: rect(0, 504px, 18px, 486px);
725 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
726 -moz-image-region: rect(18px, 504px, 36px, 486px);
729 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
730 -moz-image-region: rect(36px, 504px, 54px, 486px);
733 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
734 -moz-image-region: rect(0, 522px, 18px, 504px);
737 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
738 -moz-image-region: rect(18px, 522px, 36px, 504px);
741 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
742 -moz-image-region: rect(36px, 522px, 54px, 504px);
745 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
746 -moz-image-region: rect(0, 540px, 18px, 522px);
749 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
750 -moz-image-region: rect(18px, 540px, 36px, 522px);
753 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
754 -moz-image-region: rect(36px, 540px, 54px, 522px);
757 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
758 -moz-image-region: rect(0, 558px, 18px, 540px);
761 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
762 -moz-image-region: rect(18px, 558px, 36px, 540px);
765 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
766 -moz-image-region: rect(36px, 558px, 54px, 540px);
769 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
770 -moz-image-region: rect(0, 576px, 18px, 558px);
773 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
774 -moz-image-region: rect(18px, 576px, 36px, 558px);
777 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
778 -moz-image-region: rect(36px, 576px, 54px, 558px);
781 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) {
782 -moz-image-region: rect(0, 594px, 18px, 576px);
785 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])):hover,
786 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]))[open="true"] {
787 -moz-image-region: rect(18px, 594px, 36px, 576px);
790 #nav-bar-overflow-button {
791 -moz-image-region: rect(0, 612px, 18px, 594px);
794 #nav-bar-overflow-button:hover,
795 #nav-bar-overflow-button[open="true"] {
796 -moz-image-region: rect(18px, 612px, 36px, 594px);
799 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
800 transform: scaleX(-1);
804 -moz-image-region: rect(0, 648px, 18px, 630px);
807 #tabview-button:hover {
808 -moz-image-region: rect(18px, 648px, 36px, 630px);
811 #email-link-button[cui-areatype="toolbar"] {
812 -moz-image-region: rect(0, 666px, 18px, 648px);
815 #email-button[cui-areatype="toolbar"]:hover {
816 -moz-image-region: rect(18px, 666px, 36px, 648px);
819 #sidebar-button[cui-areatype="toolbar"] {
820 -moz-image-region: rect(0, 684px, 18px, 666px);
823 #sidebar-button[cui-areatype="toolbar"]:hover {
824 -moz-image-region: rect(18px, 684px, 36px, 666px);
827 #loop-call-button > .toolbarbutton-badge-container {
828 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
829 -moz-image-region: rect(0, 18px, 18px, 0);
832 #loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
833 -moz-image-region: rect(0, 90px, 18px, 72px);
836 #loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
837 -moz-image-region: rect(0, 36px, 18px, 18px);
840 #loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
841 -moz-image-region: rect(0, 126px, 18px, 108px);
844 #loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
845 -moz-image-region: rect(0, 54px, 18px, 36px);
848 #loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
849 -moz-image-region: rect(0, 72px, 18px, 54px);
852 #loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
853 -moz-image-region: rect(0, 108px, 18px, 90px);
856 /* === END toolbarbuttons.inc.css === */
858 /* === BEGIN menupanel.inc.css === */
860 /* Menu panel and palette styles */
862 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
863 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
864 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
865 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
866 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
867 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
868 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
869 #copy-button, #paste-button, #e10s-button)[cui-areatype="menu-panel"],
870 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
871 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
872 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
873 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
874 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
875 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
876 #copy-button, #paste-button, #e10s-button) {
877 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
880 #home-button[cui-areatype="menu-panel"],
881 toolbarpaletteitem[place="palette"] > #home-button {
882 -moz-image-region: rect(0px, 128px, 32px, 96px);
885 #home-button[cui-areatype="menu-panel"]:hover,
886 toolbarpaletteitem[place="palette"] > #home-button:hover {
887 -moz-image-region: rect(32px, 128px, 64px, 96px);
890 #bookmarks-menu-button[cui-areatype="menu-panel"],
891 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
892 -moz-image-region: rect(0px, 192px, 32px, 160px);
895 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
896 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
897 -moz-image-region: rect(32px, 192px, 64px, 160px);
900 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
901 -moz-image-region: rect(32px, 192px, 64px, 160px);
904 #history-panelmenu[cui-areatype="menu-panel"],
905 toolbarpaletteitem[place="palette"] > #history-panelmenu {
906 -moz-image-region: rect(0px, 224px, 32px, 192px);
909 #history-panelmenu[cui-areatype="menu-panel"]:hover,
910 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
911 -moz-image-region: rect(32px, 224px, 64px, 192px);
914 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
915 -moz-image-region: rect(32px, 224px, 64px, 192px);
918 #downloads-button[cui-areatype="menu-panel"],
919 toolbarpaletteitem[place="palette"] > #downloads-button {
920 -moz-image-region: rect(0px, 256px, 32px, 224px);
923 #downloads-button[cui-areatype="menu-panel"]:hover,
924 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
925 -moz-image-region: rect(32px, 256px, 64px, 224px);
928 #add-ons-button[cui-areatype="menu-panel"],
929 toolbarpaletteitem[place="palette"] > #add-ons-button {
930 -moz-image-region: rect(0px, 288px, 32px, 256px);
933 #add-ons-button[cui-areatype="menu-panel"]:hover,
934 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
935 -moz-image-region: rect(32px, 288px, 64px, 256px);
938 #open-file-button[cui-areatype="menu-panel"],
939 toolbarpaletteitem[place="palette"] > #open-file-button {
940 -moz-image-region: rect(0px, 320px, 32px, 288px);
943 #open-file-button[cui-areatype="menu-panel"]:hover,
944 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
945 -moz-image-region: rect(32px, 320px, 64px, 288px);
948 #save-page-button[cui-areatype="menu-panel"],
949 toolbarpaletteitem[place="palette"] > #save-page-button {
950 -moz-image-region: rect(0px, 352px, 32px, 320px);
953 #save-page-button[cui-areatype="menu-panel"]:hover,
954 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
955 -moz-image-region: rect(32px, 352px, 64px, 320px);
958 #sync-button[cui-areatype="menu-panel"],
959 toolbarpaletteitem[place="palette"] > #sync-button {
960 -moz-image-region: rect(0px, 384px, 32px, 352px);
963 #sync-button[cui-areatype="menu-panel"]:hover,
964 toolbarpaletteitem[place="palette"] > #sync-button:hover {
965 -moz-image-region: rect(32px, 384px, 64px, 352px);
968 #sync-button[cui-areatype="menu-panel"][status="active"] {
969 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
970 -moz-image-region: rect(0px, 32px, 32px, 0px);
973 #feed-button[cui-areatype="menu-panel"],
974 toolbarpaletteitem[place="palette"] > #feed-button {
975 -moz-image-region: rect(0px, 416px, 32px, 384px);
978 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
979 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
980 -moz-image-region: rect(32px, 416px, 64px, 384px);
983 #feed-button[cui-areatype="menu-panel"][disabled="true"],
984 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
985 -moz-image-region: rect(64px, 416px, 96px, 384px);
988 #social-share-button[cui-areatype="menu-panel"],
989 toolbarpaletteitem[place="palette"] > #social-share-button {
990 -moz-image-region: rect(0px, 448px, 32px, 416px);
993 #social-share-button[cui-areatype="menu-panel"]:hover,
994 toolbarpaletteitem[place="palette"] > #social-share-button:hover {
995 -moz-image-region: rect(32px, 448px, 64px, 416px);
998 #characterencoding-button[cui-areatype="menu-panel"],
999 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1000 -moz-image-region: rect(0px, 480px, 32px, 448px);
1003 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1004 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1005 -moz-image-region: rect(32px, 480px, 64px, 448px);
1008 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1009 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1010 -moz-image-region: rect(64px, 480px, 96px, 448px);
1013 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1014 -moz-image-region: rect(32px, 480px, 64px, 448px);
1017 #new-window-button[cui-areatype="menu-panel"],
1018 toolbarpaletteitem[place="palette"] > #new-window-button {
1019 -moz-image-region: rect(0px, 512px, 32px, 480px);
1022 #new-window-button[cui-areatype="menu-panel"]:hover,
1023 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1024 -moz-image-region: rect(32px, 512px, 64px, 480px);
1027 #e10s-button[cui-areatype="menu-panel"],
1028 toolbarpaletteitem[place="palette"] > #e10s-button {
1029 -moz-image-region: rect(0px, 512px, 32px, 480px);
1032 #e10s-button[cui-areatype="menu-panel"]:hover,
1033 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1034 -moz-image-region: rect(32px, 512px, 64px, 480px);
1037 #new-tab-button[cui-areatype="menu-panel"],
1038 toolbarpaletteitem[place="palette"] > #new-tab-button {
1039 -moz-image-region: rect(0px, 544px, 32px, 512px);
1042 #new-tab-button[cui-areatype="menu-panel"]:hover,
1043 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1044 -moz-image-region: rect(32px, 544px, 64px, 512px);
1047 #privatebrowsing-button[cui-areatype="menu-panel"],
1048 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1049 -moz-image-region: rect(0px, 576px, 32px, 544px);
1052 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1053 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1054 -moz-image-region: rect(32px, 576px, 64px, 544px);
1057 #tabview-button[cui-areatype="menu-panel"],
1058 toolbarpaletteitem[place="palette"] > #tabview-button {
1059 -moz-image-region: rect(0px, 608px, 32px, 576px);
1062 #tabview-button[cui-areatype="menu-panel"]:hover,
1063 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1064 -moz-image-region: rect(32px, 608px, 64px, 576px);
1067 #find-button[cui-areatype="menu-panel"],
1068 toolbarpaletteitem[place="palette"] > #find-button {
1069 -moz-image-region: rect(0px, 640px, 32px, 608px);
1072 #find-button[cui-areatype="menu-panel"]:hover,
1073 toolbarpaletteitem[place="palette"] > #find-button:hover {
1074 -moz-image-region: rect(32px, 640px, 64px, 608px);
1077 #print-button[cui-areatype="menu-panel"],
1078 toolbarpaletteitem[place="palette"] > #print-button {
1079 -moz-image-region: rect(0px, 672px, 32px, 640px);
1082 #print-button[cui-areatype="menu-panel"]:hover,
1083 toolbarpaletteitem[place="palette"] > #print-button:hover {
1084 -moz-image-region: rect(32px, 672px, 64px, 640px);
1087 #fullscreen-button[cui-areatype="menu-panel"],
1088 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1089 -moz-image-region: rect(0px, 704px, 32px, 672px);
1092 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1093 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1094 -moz-image-region: rect(32px, 704px, 64px, 672px);
1097 #developer-button[cui-areatype="menu-panel"],
1098 toolbarpaletteitem[place="palette"] > #developer-button {
1099 -moz-image-region: rect(0px, 736px, 32px, 704px);
1102 #developer-button[cui-areatype="menu-panel"]:hover,
1103 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1104 -moz-image-region: rect(32px, 736px, 64px, 704px);
1107 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1108 -moz-image-region: rect(32px, 736px, 64px, 704px);
1111 #preferences-button[cui-areatype="menu-panel"],
1112 toolbarpaletteitem[place="palette"] > #preferences-button {
1113 -moz-image-region: rect(0px, 768px, 32px, 736px);
1116 #preferences-button[cui-areatype="menu-panel"]:hover,
1117 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1118 -moz-image-region: rect(32px, 768px, 64px, 736px);
1121 #email-link-button[cui-areatype="menu-panel"],
1122 toolbarpaletteitem[place="palette"] > #email-link-button {
1123 -moz-image-region: rect(0, 800px, 32px, 768px);
1126 #email-link-button[cui-areatype="menu-panel"]:hover,
1127 toolbarpaletteitem[place="palette"] > #email-link-button:hover {
1128 -moz-image-region: rect(32px, 800px, 64px, 768px);
1131 #sidebar-button[cui-areatype="menu-panel"],
1132 toolbarpaletteitem[place="palette"] > #sidebar-button {
1133 -moz-image-region: rect(0, 864px, 32px, 832px);
1136 #sidebar-button[cui-areatype="menu-panel"]:hover,
1137 toolbarpaletteitem[place="palette"] > #sidebar-button:hover {
1138 -moz-image-region: rect(32px, 864px, 64px, 832px);
1141 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1142 -moz-image-region: rect(32px, 864px, 64px, 832px);
1145 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1146 -moz-image-region: rect(0, 832px, 32px, 800px);
1149 #loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1150 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1151 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1152 -moz-image-region: rect(0, 32px, 32px, 0);
1155 /* Make sure that the state icons are not shown in the customization palette. */
1156 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1157 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1160 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1161 -moz-image-region: rect(0, 160px, 32px, 128px);
1164 #loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1165 -moz-image-region: rect(0, 64px, 32px, 32px);
1168 #loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1169 -moz-image-region: rect(0, 224px, 32px, 192px);
1172 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1173 -moz-image-region: rect(0, 96px, 32px, 64px);
1176 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1177 -moz-image-region: rect(0, 128px, 32px, 96px);
1180 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1181 -moz-image-region: rect(0, 192px, 32px, 160px);
1184 /* Wide panel control icons */
1186 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1187 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1188 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1189 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1190 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
1193 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1194 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1195 -moz-image-region: rect(0px, 32px, 16px, 16px);
1198 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1199 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1200 -moz-image-region: rect(16px, 32px, 32px, 16px);
1203 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1204 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1205 -moz-image-region: rect(32px, 32px, 48px, 16px);
1208 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1209 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1210 -moz-image-region: rect(0px, 48px, 16px, 32px);
1213 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1214 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1215 -moz-image-region: rect(16px, 48px, 32px, 32px);
1218 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1219 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1220 -moz-image-region: rect(32px, 48px, 48px, 32px);
1223 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1224 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1225 -moz-image-region: rect(0px, 64px, 16px, 48px);
1228 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1229 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1230 -moz-image-region: rect(16px, 64px, 32px, 48px);
1233 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1234 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1235 -moz-image-region: rect(32px, 64px, 48px, 48px);
1238 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1239 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1240 -moz-image-region: rect(0px, 80px, 16px, 64px);
1243 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1244 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1245 -moz-image-region: rect(16px, 80px, 32px, 64px);
1248 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1249 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1250 -moz-image-region: rect(32px, 80px, 48px, 64px);
1253 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1254 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1255 -moz-image-region: rect(0px, 96px, 16px, 80px);
1258 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1259 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1260 -moz-image-region: rect(16px, 96px, 32px, 80px);
1263 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1264 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1265 -moz-image-region: rect(32px, 96px, 48px, 80px);
1268 /* === END menupanel.inc.css === */
1270 .toolbarbutton-1:not([type="menu-button"]) {
1271 -moz-box-orient: vertical;
1275 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1281 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1282 .toolbarbutton-1[disabled="true"]:hover:active,
1283 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1287 .toolbarbutton-1:hover:active,
1288 .toolbarbutton-1[open="true"],
1289 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1291 padding-bottom: 0px;
1292 -moz-padding-start: 3px;
1293 -moz-padding-end: 1px;
1296 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1297 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1298 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1299 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1300 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1303 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1304 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1307 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1308 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1311 .toolbarbutton-1 > .toolbarbutton-icon,
1312 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1315 #nav-bar .toolbarbutton-1,
1316 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1319 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1320 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1321 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1324 #nav-bar #PanelUI-menu-button {
1325 /* -moz-padding-start: 7px;
1326 -moz-padding-end: 5px;*/
1329 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1330 /* padding-left: 5px;
1331 padding-right: 5px;*/
1334 #nav-bar .toolbarbutton-1 > menupopup {
1335 /* margin-top: -3px;*/
1338 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1342 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1343 /* -moz-padding-end: 0;*/
1346 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1347 /* -moz-padding-start: 0;
1348 -moz-box-align: center;*/
1351 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1352 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1353 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1354 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1355 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1356 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1357 /* padding: 2px 6px;
1359 border-color: transparent;
1360 transition-property: background-color, border-color;
1361 transition-duration: 150ms;*/
1364 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1365 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1366 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1371 /* Help SDK icons fit: */
1372 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1376 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1377 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1381 #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,
1382 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1383 /* -moz-padding-end: 17px;*/
1386 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1389 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1392 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1395 #nav-bar .toolbaritem-combined-buttons {
1396 /* margin-left: 2px;
1397 margin-right: 2px;*/
1400 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1405 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1406 #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 {
1412 -moz-margin-end: -1px;
1416 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1419 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1420 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1421 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1422 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1423 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1424 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1425 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1426 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1429 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1430 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1431 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1432 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1433 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1436 #TabsToolbar .toolbarbutton-1,
1437 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1438 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1439 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1442 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1443 #TabsToolbar .toolbarbutton-1[open],
1444 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1445 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1446 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1449 /* unified back/forward button */
1452 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1455 #forward-button > menupopup {
1456 margin-top: 1px !important;
1459 #forward-button > .toolbarbutton-icon {
1460 background-clip: padding-box !important;
1461 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1462 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1466 -moz-margin-start: -4px !important;
1471 border-radius: 0 10000px 10000px 0;
1474 #forward-button:-moz-locale-dir(rtl) {
1475 border-radius: 10000px 0 0 10000px;
1478 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1479 transition: margin-left 150ms ease-out;
1482 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1483 margin-left: -27px !important;
1486 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1487 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1488 transition-delay: 100s;
1491 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1492 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1493 margin-left: -27.01px !important;
1497 /* padding-top: 3px !important;
1498 padding-bottom: 3px !important;
1499 -moz-padding-start: 5px !important;
1500 -moz-padding-end: 0 !important;*/
1503 border-radius: 10000px;
1507 margin-bottom: -2px;
1510 #back-button:-moz-locale-dir(rtl) {
1513 #back-button > menupopup {
1514 margin-top: -1px !important;
1517 #back-button > .toolbarbutton-icon {
1518 border-radius: 10000px !important;
1519 background-clip: padding-box !important;
1520 /* background-color: hsla(210,25%,98%,.08) !important;
1521 padding: 6px !important;
1522 border-style: none !important;
1523 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1524 0 0 0 1px hsla(210,4%,10%,.25);*/
1525 transition-property: background-color, box-shadow !important;
1526 transition-duration: 250ms !important;
1529 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1530 /* background-color: hsla(210,4%,10%,.08) !important;*/
1533 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1534 #back-button[open="true"] > .toolbarbutton-icon {
1535 /* background-color: hsla(210,4%,10%,.12) !important;
1536 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1537 0 0 0 1px hsla(210,4%,10%,.25),
1538 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1541 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1542 transform: scaleX(-1);
1545 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1546 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1547 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1550 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1551 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1552 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1555 #home-button.bookmark-item {
1556 list-style-image: url("chrome://browser/skin/Toolbar.png");
1559 #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),
1560 #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),
1561 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1562 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1563 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1564 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1565 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1568 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1571 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1572 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1573 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1577 #downloads-button > .toolbarbutton-icon {
1581 /* tabview button & menu item */
1584 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1585 -moz-image-region: rect(1px, 89px, 17px, 73px);
1588 #menu_tabview[groups="0"] {
1589 -moz-image-region: rect(1px, 17px, 17px, 1px);
1592 #menu_tabview[groups="1"] {
1593 -moz-image-region: rect(1px, 35px, 17px, 19px);
1596 #menu_tabview[groups="2"] {
1597 -moz-image-region: rect(1px, 53px, 17px, 37px);
1600 #menu_tabview[groups="3"] {
1601 -moz-image-region: rect(1px, 71px, 17px, 55px);
1604 /* zoom control text (reset) button special case: */
1606 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1607 /* To make this line up with the icons, it needs the same height (18px) +
1608 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1609 * increase in text sizes would break things...
1614 /* ::::: fullscreen window controls ::::: */
1617 -moz-margin-start: 4px;
1623 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1628 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1631 #minimize-button:hover {
1632 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1636 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1639 #restore-button:hover {
1640 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1644 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1647 #close-button:hover {
1648 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1651 /* ::::: Location Bar ::::: */
1654 .searchbar-textbox {
1657 -moz-margin-start: 3px;
1661 /* make color as light as possible to deal with dark non-domain parts */
1665 #urlbar:-moz-lwtheme,
1666 .searchbar-textbox:-moz-lwtheme {
1667 /* background-color: rgba(255,255,255,.8);
1668 @navbarTextboxCustomBorder@
1672 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1673 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1674 /* background-color: rgba(255,255,255,.9);*/
1677 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1678 .searchbar-textbox:-moz-lwtheme[focused] {
1679 /* background-color: white;*/
1682 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1683 /* -moz-border-start: none;
1687 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1688 /* border-top-left-radius: 0;
1689 border-bottom-left-radius: 0; */
1692 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1693 /* border-top-right-radius: 0;
1694 border-bottom-right-radius: 0; */
1697 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1698 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1699 /* -moz-margin-start: -5px; */
1702 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1703 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1704 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1705 transform: scaleX(-1);
1708 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1709 -moz-box-direction: reverse;
1712 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1713 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1718 -moz-box-orient: horizontal;
1719 -moz-box-align: stretch;
1722 .urlbar-textbox-container {
1723 -moz-box-align: stretch;
1727 -moz-margin-start: 0;
1731 -moz-box-align: center;
1738 .searchbar-engine-button,
1739 .search-go-container {
1743 .search-go-container > .search-go-button {
1747 .urlbar-icon:hover {
1750 .urlbar-icon[open="true"],
1751 .urlbar-icon:hover:active {
1754 #urlbar-search-splitter {
1756 -moz-margin-start: -3px;
1758 background: transparent;
1761 #urlbar-search-splitter + #urlbar-container > #urlbar,
1762 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1763 -moz-margin-start: 0;
1766 #urlbar-display-box {
1770 -moz-border-end: 1px solid #9C9CFF;
1771 -moz-margin-end: 3px;
1774 -moz-margin-start: 0;
1779 min-width: calc(54px + 11ch);
1789 #identity-box:-moz-locale-dir(ltr) {
1790 /* border-top-left-radius: 1.5px;
1791 border-bottom-left-radius: 1.5px;*/
1794 #identity-box:-moz-locale-dir(rtl) {
1795 /* border-top-right-radius: 1.5px;
1796 border-bottom-right-radius: 1.5px;*/
1799 #notification-popup-box:not([hidden]) + #identity-box {
1800 -moz-padding-start: 10px !important;
1804 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1805 /* border-radius: 0; */
1806 -moz-padding-start: 2px;
1807 -moz-padding-end: 2px;
1808 -moz-margin-end: 1px;
1811 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1812 transition: padding-left, padding-right;
1815 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1816 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1820 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1821 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1825 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1826 #notification-popup-box[hidden] + #identity-box {
1827 /* forward button hiding is delayed when hovered */
1828 transition-delay: 100s;
1831 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1832 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1833 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1834 padding-left: 2.01px;
1837 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1838 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1839 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1840 padding-right: 2.01px;
1843 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1844 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1845 -moz-margin-end: 3px;
1848 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
1849 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1850 border-top-right-radius: 0;
1851 border-bottom-right-radius: 0;
1854 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
1855 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1856 border-top-left-radius: 0;
1857 border-bottom-left-radius: 0;
1860 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1861 background-color: #000000;
1864 #identity-box:-moz-focusring {
1865 outline: 1px dotted #008484;
1866 outline-offset: -1px;
1869 #identity-box.verifiedDomain:-moz-focusring,
1870 #identity-box.verifiedIdentity:-moz-focusring {
1871 outline-color: #000000;
1874 #identity-icon-labels {
1875 -moz-margin-start: 1px;
1876 -moz-margin-end: 3px;
1879 /* Location bar dropmarker */
1881 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1882 background-color: transparent;
1885 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1886 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
1891 .urlbar-history-dropmarker:hover {
1894 .urlbar-history-dropmarker:hover:active,
1895 .urlbar-history-dropmarker[open="true"] {
1898 /* page proxy icon */
1900 /* === BEGIN identity-block.inc.css === */
1902 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1903 /* Default theme does different color per channel, we can't as they do it build-time. */
1905 -moz-border-end: 1px solid #9C9CFF;
1908 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1910 -moz-border-end: 1px solid #008484;
1913 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1914 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1915 background-position: right;
1916 background-size: 1px;
1917 background-repeat: no-repeat;
1920 /* page proxy icon */
1922 #page-proxy-favicon {
1925 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1929 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1930 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
1933 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
1934 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1937 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1938 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1941 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1942 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1945 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1946 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1949 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1950 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1953 #page-proxy-favicon[pageproxystate="invalid"] {
1957 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1958 list-style-image: url("chrome://branding/content/icon64.png");
1961 #identity-popup-brandName {
1965 margin-bottom: .5em;
1968 #identity-popup-content-box {
1972 /* === END identity-block.inc.css === */
1974 #page-proxy-favicon {
1975 -moz-image-region: rect(0, 16px, 16px, 0);
1978 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
1979 /* -moz-margin-end: 1px;*/
1982 #identity-box:hover > #page-proxy-favicon {
1983 -moz-image-region: rect(0, 32px, 16px, 16px);
1986 #identity-box:hover:active > #page-proxy-favicon,
1987 #identity-box[open=true] > #page-proxy-favicon {
1988 -moz-image-region: rect(0, 48px, 16px, 32px);
1991 #identity-box:hover {
1992 background-color: #FFCF00;
1996 #identity-box:hover:active,
1997 #identity-box[open=true] {
1998 background-color: #FF9F00;
2002 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2003 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2004 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2005 background-color: #9C9CFF;
2009 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2010 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2011 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2012 background-color: #008484;
2018 #treecolAutoCompleteImage {
2022 .ac-result-type-bookmark,
2023 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2024 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2025 -moz-image-region: rect(0px 16px 16px 0px);
2030 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2031 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2032 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2035 .ac-result-type-keyword,
2036 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2037 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2038 -moz-image-region: rect(0px 32px 16px 16px);
2043 .ac-result-type-tag,
2044 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2045 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2054 .ac-extra > .ac-comment {
2064 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2065 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2066 -moz-image-region: rect(0, 16px, 16px, 0);
2070 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2071 -moz-image-region: rect(16px, 16px, 32px, 0);
2074 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2078 .ac-comment[selected="true"],
2079 .ac-url-text[selected="true"],
2080 .ac-action-text[selected="true"] {
2081 color: inherit !important;
2084 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2085 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2091 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2092 border-top: 1px solid #9C9CFF;
2095 /* combined go/reload/stop button in location bar */
2097 #urlbar > toolbarbutton {
2098 -moz-margin-start: 0;
2100 background-origin: border-box;
2102 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2103 -moz-border-start: 1px solid #9C9CFF;
2106 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2107 border-top-left-radius: 0px;
2108 border-bottom-left-radius: 0px;
2111 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2112 border-top-right-radius: 0px;
2113 border-bottom-right-radius: 0px;
2116 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2117 #urlbar-reload-button:not(:hover) {
2118 -moz-border-start-style: none;
2119 -moz-padding-start: 3px;
2122 #urlbar-reload-button {
2123 -moz-image-region: rect(0px, 14px, 14px, 0px);
2126 #urlbar-reload-button[disabled=true] {
2127 -moz-image-region: rect(28px, 14px, 42px, 0px);
2130 #urlbar-reload-button:not([disabled=true]):hover {
2131 -moz-image-region: rect(14px, 14px, 28px, 0px);
2134 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2135 transform: scaleX(-1);
2139 -moz-image-region: rect(0, 42px, 14px, 28px);
2142 #urlbar-go-button:hover {
2143 -moz-image-region: rect(14px, 42px, 28px, 28px);
2146 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2147 transform: scaleX(-1);
2150 #urlbar-stop-button {
2151 -moz-image-region: rect(0px, 28px, 14px, 14px);
2154 #urlbar-stop-button:hover {
2155 -moz-image-region: rect(14px, 28px, 28px, 14px);
2158 /* popup blocker button */
2160 #page-report-button {
2161 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2162 -moz-image-region: rect(0, 16px, 16px, 0);
2165 #page-report-button:hover ,
2166 #page-report-button:hover:active,
2167 #page-report-button[open="true"] {
2168 -moz-image-region: rect(0, 32px, 16px, 16px);
2171 /* social share panel */
2173 #social-share-panel > iframe {
2174 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2179 .social-share-toolbar {
2180 border-right: 1px solid #9C9CFF;
2181 /* background-color: #000000; */
2184 #social-share-provider-buttons {
2188 #social-share-provider-buttons > .share-provider-button {
2189 -moz-appearance: none;
2197 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2198 #social-share-provider-buttons > .share-provider-button:hover,
2199 #social-share-provider-buttons > .share-provider-button:active {
2203 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2206 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2209 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2215 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2222 /* fixup corners for share panel */
2223 .social-panel > .social-panel-frame {
2224 border-radius: inherit;
2227 #social-share-panel {
2234 .social-share-frame {
2235 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2238 /* we resize our panels dynamically, make it look nice */
2239 transition: height 100ms ease-out, width 100ms ease-out;
2242 .social-share-frame:-moz-locale-dir(ltr) {
2243 border-top-left-radius: 0;
2244 border-bottom-left-radius: 0;
2245 border-top-right-radius: inherit;
2246 border-bottom-right-radius: inherit;
2249 .social-share-frame:-moz-locale-dir(rtl) {
2250 border-top-left-radius: inherit;
2251 border-bottom-left-radius: inherit;
2252 border-top-right-radius: 0;
2253 border-bottom-right-radius: 0;
2256 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2257 border-top-left-radius: inherit;
2258 border-bottom-left-radius: inherit;
2261 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2262 border-top-right-radius: inherit;
2263 border-bottom-right-radius: inherit;
2266 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2267 border-top-left-radius: inherit;
2268 border-bottom-left-radius: inherit;
2271 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2272 border-top-right-radius: inherit;
2273 border-bottom-right-radius: inherit;
2276 /* social recommending panel */
2278 #social-mark-button {
2279 -moz-image-region: rect(0, 16px, 16px, 0);
2282 /* bookmarks menu-button */
2284 #bookmarks-menu-button.bookmark-item {
2285 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2286 -moz-image-region: rect(0px 16px 16px 0px);
2289 #bookmarks-menu-button.bookmark-item[starred] {
2290 -moz-image-region: rect(0px 32px 16px 16px);
2293 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2294 -moz-margin-start: 5px;
2297 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2299 padding-bottom: 2px;
2302 #BMB_bookmarksPopup[side="top"],
2303 #BMB_bookmarksPopup[side="bottom"] {
2305 margin-right: -20px;
2308 #BMB_bookmarksPopup[side="left"],
2309 #BMB_bookmarksPopup[side="right"] {
2311 margin-bottom: -20px;
2314 /* bookmarking panel */
2316 #editBookmarkPanelStarIcon {
2317 list-style-image: url("chrome://browser/skin/places/starred48.png");
2322 #editBookmarkPanelStarIcon[unstarred] {
2323 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2326 #editBookmarkPanelTitle {
2330 #editBookmarkPanelHeader,
2331 #editBookmarkPanelContent {
2332 margin-bottom: .5em;
2335 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2336 #editBMPanel_folderTree {
2343 border-top: 1px solid #9C9CFF;
2344 border-bottom-left-radius: 5px;
2345 border-bottom-right-radius: 5px;
2349 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2350 -moz-margin-end: 10px;
2351 vertical-align: middle;
2354 .panel-promo-closebutton {
2355 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2356 -moz-margin-end: -3px;
2360 .panel-promo-closebutton:hover {
2361 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2364 .panel-promo-closebutton:hover:active {
2365 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2368 .panel-promo-closebutton > .toolbarbutton-text {
2373 /* ::::: content area ::::: */
2376 background-color: Window;
2380 -moz-padding-start: 0px;
2383 #sidebar-header > .close-icon {
2384 /* padding: 4px 2px;
2387 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2390 #sidebar-header > .close-icon:hover,
2391 #sidebar-header > .close-icon:hover:active {
2392 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2395 .browserContainer > findbar {
2397 background-color: -moz-dialog;
2398 color: -moz-DialogText;
2407 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2410 #TabsToolbar .toolbar-holder {
2411 background-color: #000000; /* correct effect of being an actual toolbar */
2414 #main-window[disablechrome] #TabsToolbar,
2415 #TabsToolbar[tabsontop="false"] {
2416 border-bottom: 1px solid #008484;
2419 #main-window:not([customizing]) #TabsToolbar:not(:-moz-lwtheme) {
2422 #main-window[tabsintitlebar] #TabsToolbar {
2423 background-color: transparent;
2426 /* === BEGIN tabs.inc.css === */
2429 .tabs-newtab-button,
2430 #TabsToolbar > #new-tab-button {
2435 padding: 1px 4px 2px;
2438 .tabbrowser-tab:first-of-type {
2439 -moz-margin-start: 2px;
2442 .tabs-newtab-button,
2443 #TabsToolbar > #new-tab-button {
2444 border-radius: 8px 8px 0px 0px;
2445 -moz-margin-start: 0;
2448 .tabs-newtab-button:not(:hover),
2449 #TabsToolbar > #new-tab-button:not(:hover) {
2450 background-color: #C09070;
2453 .tabbrowser-tab[remote] {
2454 text-decoration: underline;
2457 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2458 .tabbrowser-tab[selected=true] {
2459 /* position: relative;
2463 .tab-background-middle {
2481 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2485 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2488 .tab-throbber[progress] {
2489 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2492 .tab-throbber:not([pinned]),
2493 .tab-icon-image:not([pinned]) {
2494 -moz-margin-end: 3px;
2497 .tab-throbber[pinned],
2498 .tab-icon-image[pinned] {
2499 -moz-margin-start: 2px;
2500 -moz-margin-end: 2px;
2504 /* this needs to add up to the 16px of the icon image */
2506 margin-top: 2px !important;
2507 margin-bottom: 2px !important;
2516 .tabs-newtab-button {
2517 /* overlap the tab curves */
2520 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2523 .tab-background-start[selected=true]::after,
2524 .tab-background-start[selected=true]::before,
2525 .tab-background-start,
2526 .tab-background-end,
2527 .tab-background-end[selected=true]::after,
2528 .tab-background-end[selected=true]::before {
2531 .tabbrowser-tab:not([selected=true]),
2532 .tabbrowser-tab:-moz-lwtheme {
2535 /* tabbrowser-tab focus ring */
2536 .tabbrowser-tab:focus {
2537 outline: 1px dotted;
2542 .tabbrowser-tab[selected="true"] {
2545 /* End selected tab */
2547 /* Tab pointer-events */
2550 pointer-events: none;
2553 .tab-background-middle,
2554 .tabs-newtab-button,
2556 pointer-events: auto;
2561 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2562 background-color: #E7ADE7;
2565 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2566 background-color: #3333FF;
2570 /* New tab button */
2572 .tabs-newtab-button {
2576 /* === END tabs.inc.css === */
2580 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2581 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2582 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2584 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2585 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2588 /* Tab DnD indicator */
2589 .tab-drop-indicator {
2590 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2591 margin-bottom: -11px;
2594 /* Tab close button */
2596 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2599 .tab-close-button:hover,
2600 .tab-close-button:hover[selected="true"] {
2601 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2604 .tab-close-button:hover:active,
2605 .tab-close-button:hover:active[selected="true"] {
2606 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2609 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2611 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2612 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2616 background-origin: border-box;
2619 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2620 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2621 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2622 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2625 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2626 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2629 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2630 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2631 /* transform: scaleX(-1);*/
2634 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2635 transition: 1s background-color ease-out;
2638 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2639 background-color: #008484;
2642 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2643 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2644 /* border-width: 0 2px 0 0;
2645 border-style: solid;
2646 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2649 .tabs-newtab-button > .toolbarbutton-icon {
2651 margin-bottom: -1px;
2654 .tabs-newtab-button,
2655 #TabsToolbar > #new-tab-button,
2656 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2657 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2658 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2659 -moz-image-region: rect(0, 16px, 18px, 0);
2662 .tabs-newtab-button,
2663 .tabs-newtab-button:hover,
2664 #TabsToolbar > #new-tab-button,
2665 #TabsToolbar > #new-tab-button:hover {
2666 -moz-image-region: rect(0, 32px, 18px, 16px);
2669 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2670 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2671 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2672 .tabs-newtab-button:-moz-lwtheme-brighttext,
2673 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2674 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2677 #TabsToolbar > #new-tab-button {
2682 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2685 #alltabs-button:hover,
2686 #alltabs-button:hover:active,
2687 #alltabs-button[open="true"] {
2688 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2691 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2692 #alltabs-button:-moz-lwtheme-brighttext {
2695 #alltabs-button > .toolbarbutton-icon {
2699 #alltabs-button > .toolbarbutton-menu-dropmarker {
2703 /* All tabs menupopup */
2704 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2705 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2706 -moz-image-region: auto;
2709 .alltabs-item[selected="true"] {
2713 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2714 list-style-image: url("chrome://global/skin/icons/loading.gif");
2717 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2718 background-color: #402800;
2721 toolbarbutton.chevron {
2722 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2725 toolbarbutton.chevron:hover {
2726 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2729 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2730 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2731 transform: scaleX(-1);
2734 toolbarbutton.chevron > .toolbarbutton-text,
2735 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2739 toolbarbutton.chevron > .toolbarbutton-icon {
2743 #sidebar-throbber[loading="true"] {
2744 list-style-image: url("chrome://global/skin/icons/loading.gif");
2745 -moz-margin-end: 4px;
2748 /* Bookmarks toolbar */
2749 #PlacesToolbarDropIndicator {
2750 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2753 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2754 background-color: #008484 !important;
2755 color: #FFCF00 !important;
2758 /* rules for menupopup drop indicators */
2759 .menupopup-drop-indicator-bar {
2761 /* these two margins must together compensate the indicator's height */
2763 margin-bottom: -1px;
2766 .menupopup-drop-indicator {
2767 list-style-image: none;
2769 -moz-margin-end: -4em;
2770 background-color: #008484;
2773 /* ::::: Identity Indicator Styling ::::: */
2776 #identity-popup-icon {
2780 list-style-image: url("chrome://browser/skin/identity.png");
2781 -moz-image-region: rect(0px, 64px, 64px, 0px);
2784 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2785 -moz-image-region: rect(64px, 64px, 128px, 0px);
2788 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2789 -moz-image-region: rect(128px, 64px, 192px, 0px);
2792 /* Popup Body Text */
2793 .identity-popup-description {
2794 white-space: pre-wrap;
2795 -moz-padding-start: 15px;
2799 .identity-popup-label {
2800 white-space: pre-wrap;
2801 -moz-padding-start: 15px;
2805 #identity-popup-content-host,
2806 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2810 #identity-popup-content-host {
2817 #identity-popup-content-owner {
2819 margin-bottom: 0 !important;
2824 .verifiedDomain > #identity-popup-content-owner {
2825 font-weight: normal;
2828 #identity-popup-content-verifier {
2832 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2833 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2835 -moz-margin-start: -24px;
2838 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2839 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2840 list-style-image: url("chrome://browser/skin/Secure24.png");
2843 #identity-popup-help-icon {
2845 margin: 7px 0 0 -3px;
2848 list-style-image: url("chrome://global/skin/icons/question-16.png");
2852 #identity-popup-help-icon > .button-box > .button-text {
2856 #identity-popup-help-icon > .button-box > .button-icon {
2861 #identity-popup-more-info-button {
2867 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2871 #identity-popup-container {
2876 #identity-popup-button-container {
2877 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2882 .popup-notification-icon {
2885 -moz-margin-end: 10px;
2888 .popup-notification-icon[popupid="geolocation"] {
2889 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2892 .popup-notification-icon[popupid="xpinstall-disabled"],
2893 .popup-notification-icon[popupid="addon-progress"],
2894 .popup-notification-icon[popupid="addon-install-cancelled"],
2895 .popup-notification-icon[popupid="addon-install-blocked"],
2896 .popup-notification-icon[popupid="addon-install-failed"],
2897 .popup-notification-icon[popupid="addon-install-complete"] {
2898 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2903 .popup-notification-icon[popupid="click-to-play-plugins"] {
2904 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
2907 .popup-notification-icon[popupid="plugins-not-found"] {
2908 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2911 .popup-notification-icon[popupid="web-notifications"] {
2912 list-style-image: url("chrome://browser/skin/notification-64.png");
2915 .addon-progress-description {
2920 .popup-progress-label,
2921 .popup-progress-meter {
2922 -moz-margin-start: 0;
2926 .popup-progress-cancel {
2927 -moz-appearance: none;
2928 background: transparent;
2934 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2935 -moz-image-region: rect(0px, 32px, 16px, 16px);
2938 .popup-progress-cancel:hover {
2939 -moz-image-region: rect(16px, 32px, 32px, 16px);
2942 .popup-progress-cancel:active {
2943 -moz-image-region: rect(32px, 32px, 48px, 16px);
2946 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2947 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
2948 .popup-notification-icon[popupid*="offline-app-requested"],
2949 .popup-notification-icon[popupid="offline-app-usage"] {
2950 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2953 .popup-notification-icon[popupid="password-save"],
2954 .popup-notification-icon[popupid="password-change"] {
2955 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2958 .popup-notification-icon[popupid="webapps-install-progress"],
2959 .popup-notification-icon[popupid="webapps-install"] {
2960 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
2963 .popup-notification-icon[popupid="mixed-content-blocked"] {
2964 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2967 .popup-notification-icon[popupid="webRTC-sharingDevices"],
2968 .popup-notification-icon[popupid="webRTC-shareDevices"] {
2969 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2972 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
2973 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
2974 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
2977 .popup-notification-icon[popupid="pointerLock"] {
2978 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
2981 /* Notification icon box */
2982 #notification-popup .panel-promo-box {
2983 /* margin: 10px -10px -10px; */
2986 #notification-popup-box {
2988 background-color: #000000;
2989 background-clip: padding-box;
2992 border-radius: 3px 0 0 3px;
2993 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2994 -moz-margin-end: -8px;
2995 border-right-width: 8px;
2998 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
2999 /* padding-left: 7px; */
3002 #notification-popup-box:-moz-locale-dir(rtl),
3003 .notification-anchor-icon:-moz-locale-dir(rtl) {
3004 transform: scaleX(-1);
3007 .notification-anchor-icon {
3013 .notification-anchor-icon:-moz-focusring {
3014 outline: 1px dotted #008484;
3015 /* outline-offset: -3px; */
3018 .default-notification-icon,
3019 #default-notification-icon {
3020 list-style-image: url("chrome://global/skin/icons/information-16.png");
3023 .identity-notification-icon,
3024 #identity-notification-icon {
3025 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3028 .geo-notification-icon,
3029 #geo-notification-icon {
3030 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3033 #addons-notification-icon {
3034 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3037 .indexedDB-notification-icon,
3038 #indexedDB-notification-icon {
3039 list-style-image: url("chrome://global/skin/icons/question-16.png");
3042 #password-notification-icon {
3043 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3046 #webapps-notification-icon {
3047 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3050 #plugins-notification-icon {
3051 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3054 #plugins-notification-icon.plugin-hidden {
3055 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3058 #plugins-notification-icon.plugin-blocked {
3059 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3062 #plugins-notification-icon {
3063 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3066 #plugins-notification-icon:hover {
3067 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3070 #plugin-install-notification-icon {
3071 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3074 #notification-popup-box[hidden] {
3075 /* Override display:none to make the pluginBlockedNotification animation work
3076 when showing the notification repeatedly. */
3078 visibility: collapse;
3081 #plugins-notification-icon.plugin-blocked[showing] {
3082 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3085 @keyframes pluginBlockedNotification {
3094 .mixed-content-blocked-notification-icon,
3095 #mixed-content-blocked-notification-icon {
3096 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3099 .webRTC-shareDevices-notification-icon,
3100 #webRTC-shareDevices-notification-icon {
3101 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3104 .webRTC-sharingDevices-notification-icon,
3105 #webRTC-sharingDevices-notification-icon {
3106 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3109 .webRTC-shareMicrophone-notification-icon,
3110 #webRTC-shareMicrophone-notification-icon {
3111 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3114 .webRTC-sharingMicrophone-notification-icon,
3115 #webRTC-sharingMicrophone-notification-icon {
3116 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3119 .web-notifications-notification-icon,
3120 #web-notifications-notification-icon {
3121 list-style-image: url("chrome://browser/skin/notification-16.png");
3124 #pointerLock-notification-icon {
3125 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3127 #pointerLock-cancel {
3131 /* Bookmarks roots menu-items */
3132 #subscribeToPageMenuitem:not([disabled]),
3133 #subscribeToPageMenupopup,
3134 #BMB_subscribeToPageMenuitem:not([disabled]),
3135 #BMB_subscribeToPageMenupopup {
3136 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3139 #bookmarksToolbarFolderMenu,
3140 #BMB_bookmarksToolbar,
3141 #panelMenu_bookmarksToolbar {
3142 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3143 -moz-image-region: auto;
3146 #BMB_unsortedBookmarks,
3147 #panelMenu_unsortedBookmarks {
3148 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3149 -moz-image-region: auto;
3152 /* ::::: Keyboard UI Panel ::::: */
3157 border-radius: 20px;
3160 .KUI-panel[level="top"] {
3161 /*background-color: rgba(27%,27%,27%,.65);*/
3167 padding: 20px 10px 10px;
3171 .ctrlTab-favicon[src] {
3172 background-color: #000000;
3178 .ctrlTab-preview-inner > .tabPreview-canvas {
3181 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3185 .ctrlTab-preview-inner {
3186 padding-bottom: 10px;
3189 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3191 background-color: #000000;
3192 border-radius: .5em;
3195 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3197 background-color: #000000;
3200 border: 2px solid #9C9CFF;
3201 border-radius: .5em;
3204 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3205 margin: -10px -10px 0;
3217 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3225 .sync-panel-button-box {
3229 #sync-error-panel-title,
3230 #sync-start-panel-title {
3236 #sync-start-panel-subtitle,
3237 #sync-error-panel-subtitle {
3243 .statuspanel-label {
3246 background: #404000;
3247 border: 1px none #9C9CFF;
3248 border-top-style: solid;
3253 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3254 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3255 border-right-style: solid;
3256 border-top-right-radius: .3em;
3260 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3261 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3262 border-left-style: solid;
3263 border-top-left-radius: .3em;
3267 /* HACK to abolish devily color on main content */
3270 background-color: transparent !important;
3273 /* === BEGIN highlighter.inc.css === */
3275 /* Box model highlighter */
3276 svg|g.box-model-container {
3280 svg|polygon.box-model-content {
3284 svg|polygon.box-model-padding {
3288 svg|polygon.box-model-border {
3292 svg|polygon.box-model-margin {
3296 svg|polygon.box-model-content,
3297 svg|polygon.box-model-padding,
3298 svg|polygon.box-model-border,
3299 svg|polygon.box-model-margin {
3303 svg|line.box-model-guide-top,
3304 svg|line.box-model-guide-right,
3305 svg|line.box-model-guide-bottom,
3306 svg|line.box-model-guide-left {
3308 stroke-dasharray: 5 3;
3311 /* Highlighter - Node Infobar */
3313 .highlighter-nodeinfobar {
3316 background-color: #000000;
3317 background-clip: padding-box;
3318 border: 1px solid #008484;
3320 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3325 /* Highlighter - Node Infobar - text */
3327 .highlighter-nodeinfobar-text {
3329 /* 100% - size of the buttons and margins */
3330 max-width: calc(100% - 2 * (26px + 6px));
3331 padding-bottom: 1px;
3334 html|*.highlighter-nodeinfobar-tagname {
3338 html|*.highlighter-nodeinfobar-id {
3342 html|*.highlighter-nodeinfobar-pseudo-classes {
3346 /* Highlighter - Node Infobar - box & arrow */
3348 .highlighter-nodeinfobar-arrow {
3351 -moz-margin-start: calc(50% - 7px);
3352 transform: rotate(-45deg);
3353 background-clip: padding-box;
3354 background-repeat: no-repeat;
3357 .highlighter-nodeinfobar-arrow-top {
3358 margin-bottom: -8px;
3360 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3363 .highlighter-nodeinfobar-arrow-bottom {
3366 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3369 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3373 /* === END highlighter.inc.css === */
3375 #full-screen-warning-message {
3376 background-color: #000000;
3381 box-shadow: 0 0 2px #9C9CFF;
3384 #full-screen-warning-container[obscure-browser] {
3385 background-color: rgba(0,0,0,0.3);
3388 .full-screen-description {
3392 #full-screen-domain-text {
3396 .full-screen-approval-button,
3397 #full-screen-remember-decision {
3401 /* === BEGIN commandline.inc.css === */
3403 /* Developer toolbar */
3405 #developer-toolbar {
3406 border-top: 3px solid #000000;
3407 border-bottom: none;
3410 #developer-toolbar .toolbar-holder {
3411 background-color: #8050B0;
3415 #developer-toolbar .toolbar-holder {
3416 background-color: #8050B0;
3420 #developer-toolbar .toolbar-startcap,
3421 #developer-toolbar .toolbar-endcap{
3422 background-color: #6000CF;
3425 #developer-toolbar {
3427 min-height: 32px; */
3430 #developer-toolbar > toolbarbutton {
3436 .developer-toolbar-button > image {
3437 /* margin: auto 10px; */
3440 #developer-toolbar-toolbox-button > label {
3444 #developer-toolbar-toolbox-button {
3445 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3446 -moz-image-region: rect(0px, 16px, 16px, 0px);
3449 #developer-toolbar-toolbox-button > label {
3453 #developer-toolbar-toolbox-button:hover,
3454 #developer-toolbar-toolbox-button:hover:active,
3455 #developer-toolbar-toolbox-button[checked=true] {
3456 -moz-image-region: rect(0px, 32px, 16px, 16px);
3459 #developer-toolbar-closebutton {
3460 list-style-image: url("chrome://browser/skin/devtools/close.png");
3461 -moz-image-region: rect(0px, 16px, 16px, 0px);
3466 #developer-toolbar-closebutton > .toolbarbutton-icon {
3469 #developer-toolbar-closebutton > .toolbarbutton-text {
3473 #developer-toolbar-closebutton:hover,
3474 #developer-toolbar-closebutton:hover:active {
3475 -moz-image-region: rect(0px, 32px, 16px, 16px);
3480 html|*#gcli-tooltip-frame,
3481 html|*#gcli-output-frame {
3484 background-color: transparent;
3490 background-color: transparent;
3493 .gclitoolbar-input-node,
3494 .gclitoolbar-complete-node {
3496 -moz-box-align: center;
3500 background-color: transparent;
3503 .gclitoolbar-input-node {
3505 /* line-height: 32px;
3506 outline-style: none; */
3507 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
3508 background-repeat: no-repeat;
3509 background-color: rgba(0, 0, 0, .75);
3512 .gclitoolbar-input-node[focused="true"] {
3513 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
3514 background-color: #000000;
3517 .gclitoolbar-input-node:not([focused="true"]) {
3518 border-color: transparent;
3521 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3522 background-color: #008484;
3527 .gclitoolbar-complete-node {
3529 background-color: transparent;
3532 pointer-events: none;
3535 .gcli-in-incomplete,
3539 .gcli-in-closebrace,
3546 .gcli-in-incomplete {
3547 border-bottom: 2px dotted #8050B0;
3551 border-bottom: 2px dotted #FF0000;
3562 .gcli-in-closebrace {
3566 /* === END commandline.inc.css === */
3568 /* === BEGIN responsivedesign.inc.css === */
3570 /* Responsive Mode */
3572 .browserContainer[responsivemode] {
3573 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
3574 padding: 0 20px 20px 20px;
3577 .browserStack[responsivemode] {
3578 box-shadow: 0 0 7px #9C9CFF;
3581 .devtools-responsiveui-toolbar {
3582 background: transparent;
3583 /* text color is textColor from dark theme, since no theme is applied to
3584 * the responsive toolbar.
3590 border-bottom-width: 0;
3593 .devtools-responsiveui-menulist,
3594 .devtools-responsiveui-toolbarbutton {
3595 -moz-box-align: center;
3597 /* min-height: 22px;*/
3598 /* margin: 0 3px; */
3601 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3602 -moz-box-orient: horizontal;
3605 .devtools-responsiveui-menulist:-moz-focusring,
3606 .devtools-responsiveui-toolbarbutton:-moz-focusring {
3607 /* outline: 1px dotted hsla(210,30%,85%,0.7);
3608 outline-offset: -4px;*/
3611 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3615 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3616 /* border-color: hsla(210,8%,5%,.6);
3617 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3618 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); */
3621 .devtools-responsiveui-menulist[open=true],
3622 .devtools-responsiveui-toolbarbutton[open=true],
3623 .devtools-responsiveui-toolbarbutton[checked=true] {
3624 /* border-color: hsla(210,8%,5%,.6) !important;
3625 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3626 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); */
3629 .devtools-responsiveui-toolbarbutton[checked=true] {
3630 /* color: hsl(208,100%,60%); */
3633 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
3634 /* background-color: transparent !important;*/
3637 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3638 /* background-color: hsla(210,8%,5%,.2) !important;*/
3641 .devtools-responsiveui-menulist > .menulist-label-box {
3645 .devtools-responsiveui-menulist > .menulist-dropmarker {
3646 /* display: -moz-box;
3647 background-color: transparent;
3648 list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3649 -moz-box-align: center;
3654 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3657 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3658 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3661 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3662 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3665 .devtools-responsiveui-toolbarbutton[type=menu-button] {
3666 /* padding: 0 1px;*/
3667 -moz-box-align: stretch;
3670 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3671 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3672 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3673 -moz-box-align: center;
3677 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3678 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3682 .devtools-responsiveui-close {
3683 list-style-image: url("chrome://browser/skin/devtools/close.png");
3684 -moz-image-region: rect(0px,16px,16px,0px);
3687 .devtools-responsiveui-close:hover {
3688 -moz-image-region: rect(0px,32px,16px,16px);
3691 .devtools-responsiveui-rotate {
3692 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3693 -moz-image-region: rect(0px,16px,16px,0px);
3696 .devtools-responsiveui-rotate:hover {
3697 -moz-image-region: rect(0px,32px,16px,16px);
3700 .devtools-responsiveui-touch {
3701 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3702 -moz-image-region: rect(0px,16px,16px,0px);
3705 .devtools-responsiveui-touch:hover,
3706 .devtools-responsiveui-touch[checked],
3707 .devtools-responsiveui-touch[checked]:hover {
3708 -moz-image-region: rect(0px,32px,16px,16px);
3711 .devtools-responsiveui-screenshot {
3712 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3713 -moz-image-region: rect(0px,16px,16px,0px);
3716 .devtools-responsiveui-screenshot:hover {
3717 -moz-image-region: rect(0px,32px,16px,16px);
3720 .devtools-responsiveui-resizebarV {
3724 transform: translate(12px, -12px);
3725 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3728 .devtools-responsiveui-resizebarH {
3732 transform: translate(-12px, 12px);
3733 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3736 .devtools-responsiveui-resizehandle {
3740 transform: translate(12px, 12px);
3741 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
3744 /* === END responsivedesign.inc.css === */
3746 /* === including indicator.css is done at the start of the file === */
3750 #developer-toolbar-toolbox-button[error-count]:before {
3754 background-color: #FF0000;
3756 -moz-margin-end: 5px;
3759 /* Social toolbar item */
3761 #social-provider-button {
3762 -moz-image-region: rect(0, 16px, 16px, 0);
3763 list-style-image: url("chrome://browser/skin/social/services-16.png");
3766 #social-provider-button > .toolbarbutton-menu-dropmarker {
3770 .toolbarbutton-badge-container {
3776 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
3780 .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
3786 .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
3790 .toolbarbutton-badge[badge=""] {
3793 .toolbarbutton-badge[badge]:not([badge=""])::after {
3794 /* The |content| property is set in the content stylesheet. */
3799 background-color: #000000;
3800 border: 1px solid #9C9CFF;
3807 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
3812 .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3817 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3822 #social-notification-icon-mentions {
3823 background-color: #000000;
3825 -moz-margin-start: 2px;
3828 #social-notification-icon-mentions:hover {
3829 background-color: #FFCF00;
3832 #social-notification-icon-mentions[open="true"] {
3833 background-color: #FF9F00;
3836 #social-sidebar-splitter {
3840 .popup-notification-icon[popupid="servicesInstall"] {
3841 list-style-image: url("chrome://browser/skin/social/services-64.png");
3843 #servicesInstall-notification-icon {
3844 list-style-image: url("chrome://browser/skin/social/services-16.png");
3846 #social-undoactivation-button {
3847 -moz-margin-start: 0; /* override default label margin to match description margin */
3850 #socialActivatedNotification .popup-notification-button-container {
3854 .social-activation-icon {
3861 #social-activation-message {
3865 #social-activation-message > label {
3869 /* social toolbar provider menu */
3870 .social-statusarea-popup {
3873 margin-right: -12px;
3876 .social-statusarea-user {
3877 border-bottom: 1px solid #9C9CFF;
3878 background-color: #000000;
3884 .social-statusarea-user-portrait {
3891 .social-statusarea-loggedInStatus {
3892 background: transparent;
3897 list-style-image: none;
3900 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
3901 text-decoration: underline;
3904 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3908 .social-panel-frame {
3909 border-radius: inherit;
3912 /* === BEGIN chat.inc.css === */
3914 #social-sidebar-header {
3918 #social-sidebar-button {
3919 -moz-appearance: none;
3920 list-style-image: url("chrome://browser/skin/social/gear_default.png");
3925 #social-sidebar-button > .toolbarbutton-icon {
3929 #social-sidebar-button:hover,
3930 #social-sidebar-button:hover:active {
3931 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
3933 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
3937 #social-sidebar-button[loading="true"] {
3938 list-style-image: url("chrome://global/skin/icons/loading.gif");
3941 #social-sidebar-favico {
3954 .chat-toolbarbutton {
3955 -moz-appearance: none;
3963 .chat-toolbarbutton > .toolbarbutton-text {
3967 .chat-toolbarbutton > .toolbarbutton-icon {
3971 .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
3976 .chat-close-button {
3977 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3978 -moz-image-region: rect(0, 16px, 16px, 0);
3981 .chat-close-button:hover,
3982 .chat-close-button:hover:active {
3983 -moz-image-region: rect(0, 32px, 16px, 16px);
3986 .chat-minimize-button {
3987 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3988 -moz-image-region: rect(16px, 16px, 32px, 0);
3991 .chat-minimize-button:hover:active,
3992 .chat-minimize-button:hover {
3993 -moz-image-region: rect(16px, 32px, 32px, 16px);
3997 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3998 -moz-image-region: rect(48px, 16px, 64px, 0);
4001 .chat-swap-button:hover:active,
4002 .chat-swap-button:hover {
4003 -moz-image-region: rect(48px, 32px, 64px, 16px);
4006 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4007 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4008 -moz-image-region: rect(32px, 16px, 48px, 0);
4011 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
4012 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
4013 -moz-image-region: rect(32px, 32px, 48px, 16px);
4018 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4024 background-color: #9C9CFF;
4031 -moz-padding-start: 6px;
4033 border-bottom: 1px solid #008484;
4037 .chat-titlebar > .notification-anchor-icon {
4042 .chat-titlebar[minimized="true"] {
4043 border-bottom: none;
4046 .chat-titlebar[selected] {
4047 background-color: #008484;
4050 .chat-titlebar[activity] {
4051 background-color: #E7ADE7;
4061 list-style-image: url("chrome://browser/skin/social/services-16.png");
4062 background-color: #000000;
4068 border-top: 1px solid #008484;
4069 -moz-border-end: 1px solid #008484;
4072 @media (min-resolution: 2dppx) {
4074 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4078 .chatbar-button > .toolbarbutton-icon {
4082 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4089 .chatbar-button > .toolbarbutton-icon {
4093 .chatbar-button:hover > .toolbarbutton-icon,
4094 .chatbar-button[open="true"] > .toolbarbutton-icon {
4098 .chatbar-button:hover,
4099 .chatbar-button[open="true"] {
4102 .chatbar-button > .toolbarbutton-text,
4103 .chatbar-button > .toolbarbutton-menu-dropmarker {
4107 .chatbar-button[activity]:not([open="true"]) {
4108 background-color: #E7ADE7;
4111 .chatbar-button > menupopup > menuitem[activity] {
4116 background: transparent;
4122 -moz-margin-end: 20px;
4128 -moz-margin-start: 4px;
4129 background-color: #000000;
4130 border: 1px solid #9C9CFF;
4131 border-bottom: none;
4132 border-top-left-radius: 2.5px;
4133 border-top-right-radius: 2.5px;
4136 chatbox[minimized="true"] {
4142 -moz-margin-start: 0px;
4148 /* === END chat.inc.css === */
4151 /* background-color: #c4cfde; */
4154 .chat-titlebar[selected] {
4155 /* background-color: #dae3f0; */
4159 -moz-appearance: none;
4160 /* background-color: #c4cfde; */
4163 .chatbar-button > .toolbarbutton-icon {
4164 /* -moz-margin-end: 0; */
4167 .chatbar-button:hover,
4168 .chatbar-button[open="true"] {
4169 /* background-color: #dae3f0; */
4172 .chatbar-button[activity]:not([open="true"]) {
4176 /* border-top-left-radius: 2.5px;
4177 border-top-right-radius: 2.5px; */
4180 /* === BEGIN plugin-doorhanger.inc.css === */
4183 * Plugin Doorhanger Styles
4186 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4187 padding: 6px 1px 2px;
4190 .click-to-play-plugins-notification-center-box {
4193 .plugin-popupnotification-centeritem:nth-child(odd) {
4194 /* background-color: rgba(0,0,0,0.1);*/
4197 .center-item-label {
4199 text-overflow: ellipsis;
4202 .center-item-warning-icon {
4203 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4204 background-repeat: no-repeat;
4207 -moz-margin-start: 6px;
4210 .click-to-play-plugins-notification-button-container {
4213 .click-to-play-popup-button {
4217 .click-to-play-plugins-notification-description-box {
4221 padding-bottom: 3px;
4224 .click-to-play-plugins-outer-description {
4228 .click-to-play-plugins-notification-link,
4233 .messageImage[value="plugin-hidden"] {
4234 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4237 /* Keep any changes to this style in sync with pluginProblem.css */
4238 notification.pluginVulnerable {
4241 notification.pluginVulnerable .messageImage {
4242 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4245 /* === END plugin-doorhanger.inc.css === */
4247 /* === BEGIN customizeMode.inc.css === */
4249 /* Customization mode */
4251 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4255 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4256 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4257 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4262 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4263 pointer-events: none;
4266 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4267 #PanelUI-contents > .panel-customization-placeholder {
4268 -moz-outline-radius: 2.5px;
4269 outline: 1px dashed transparent;
4272 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4273 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4274 -moz-box-ordinal-group: 0;
4279 outline-offset: -2px;
4280 pointer-events: none;
4286 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4287 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4288 offset from the bottom effectively the same as other targets (-2px). */
4289 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4293 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4294 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4295 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4296 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4300 /* Most target outlines are shown on hover and drag over but the panel menu uses
4301 placeholders instead. */
4302 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4303 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4304 /* nav-bar and panel outlines are always shown */
4305 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4306 outline-color: #A09090;
4309 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4310 transition: outline-color 250ms linear;
4313 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4314 transition: outline-color 250ms linear;
4315 outline-color: #9C9CFF;
4318 #PanelUI-contents > .panel-customization-placeholder {
4320 outline-offset: -5px;
4323 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4325 /* padding-left: 10px;
4326 padding-right: 10px;*/
4329 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4333 #customization-container {
4334 background-color: #000000;
4337 #customization-palette,
4338 #customization-empty {
4339 padding: 0 15px 15px;
4342 #customization-header {
4346 font-weight: lighter;
4348 padding: 15px 15px 0;
4351 #customization-panel-container {
4352 padding: 10px 10px 0px;
4355 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4356 #customization-footer {
4357 /*background-color: rgb(236,236,236);*/
4360 #customization-footer {
4361 border-top: 1px solid #9C9CFF;
4365 .customizationmode-button {
4369 .customizationmode-button:hover {
4372 .customizationmode-button[disabled="true"] {
4375 #customization-titlebar-visibility-button {
4376 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4377 -moz-image-region: rect(0, 16px, 16px, 0);
4379 -moz-margin-end: 10px;
4382 #customization-titlebar-visibility-button:hover {
4383 -moz-image-region: rect(16px, 16px, 32px, 0);
4386 #customization-titlebar-visibility-button > .button-box {
4388 padding-bottom: 1px;
4391 #customization-titlebar-visibility-button:hover:active > .button-box {
4396 #customization-titlebar-visibility-button > .button-box > .button-text {
4397 /* Sadly, button.css thinks its margins are perfect for everyone. */
4398 -moz-margin-start: 5px !important;
4401 #customization-titlebar-visibility-button[checked] {
4402 -moz-image-region: rect(0, 32px, 16px, 16px);
4403 background-color: #008484;
4406 #customization-titlebar-visibility-button[checked]:hover {
4407 -moz-image-region: rect(16px, 32px, 32px, 16px);
4408 background-color: #FFCF00;
4411 #customization-titlebar-visibility-button[checked]:hover:active {
4412 background-color: #FF9F00;
4415 #customization-undo-reset-button {
4416 -moz-margin-end: 10px;
4419 #main-window[customize-entered] #customization-panel-container {
4420 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4421 background-position: left top;
4422 background-repeat: repeat;
4423 background-size: auto;
4424 background-attachment: fixed;
4427 toolbarpaletteitem[place="toolbar"] {
4428 transition: border-width 250ms ease-in-out;
4431 toolbarpaletteitem[mousedown] {
4432 outline: 1px solid #008484;
4433 cursor: -moz-grabbing;
4437 .panel-customization-placeholder,
4438 toolbarpaletteitem[place="palette"],
4439 toolbarpaletteitem[place="panel"] {
4440 transition: transform .3s ease-in-out;
4443 #customization-palette {
4444 transition: opacity .3s ease-in-out;
4448 #customization-palette[showing="true"] {
4452 toolbarpaletteitem[notransition].panel-customization-placeholder,
4453 toolbarpaletteitem[notransition][place="toolbar"],
4454 toolbarpaletteitem[notransition][place="palette"],
4455 toolbarpaletteitem[notransition][place="panel"] {
4459 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4460 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
4461 toolbarpaletteitem > toolbaritem.panel-wide-item,
4462 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4463 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
4466 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4467 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
4468 transform: scale(1.3);
4471 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4472 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
4473 transform: scale(1.1);
4476 /* Override the toolkit styling for items being dragged over. */
4477 toolbarpaletteitem[place="toolbar"] {
4478 border-left-width: 0;
4479 border-right-width: 0;
4484 #customization-palette:not([hidden]) {
4485 margin-bottom: 25px;
4488 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4489 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4490 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4491 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4495 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4496 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4506 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4507 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4511 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4512 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4515 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4516 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
4520 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4521 -moz-box-pack: center;
4525 #customization-palette > toolbarpaletteitem > label {
4531 /* === END customizeMode.inc.css === */
4533 /* === BEGIN customizeTip.inc.css === */
4535 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
4542 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
4543 border: 1px solid #9C9CFF;
4546 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
4547 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
4550 .customization-tipPanel-infoBox {
4551 margin: 20px 25px 25px;
4553 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
4554 background-repeat: no-repeat;
4557 .customization-tipPanel-content {
4563 .customization-tipPanel-em {
4568 .customization-tipPanel-contentImage {
4570 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
4578 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
4579 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
4582 .customization-tipPanel-link {
4583 -moz-appearance: none;
4584 background: transparent;
4592 .customization-tipPanel-link > .button-box > .button-text {
4593 margin: 0 !important;
4596 .customization-tipPanel-closeBox > .close-icon {
4597 -moz-appearance: none;
4599 -moz-margin-end: -25px;
4602 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
4603 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4604 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
4607 /* === END customizeTip.inc.css === */
4610 * This next rule is a hack to disable subpixel anti-aliasing on all
4611 * labels during the customize mode transition. Subpixel anti-aliasing
4612 * on Windows with Direct2D layers acceleration is particularly slow to
4613 * paint, so this hack is how we sidestep that performance bottleneck.
4615 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
4616 transform: perspective(0.01px);
4619 #main-window[customize-entered] {
4620 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4621 background-attachment: fixed;
4624 #main-window[customize-entered] #browser-bottombox,
4625 #main-window[customize-entered] #customization-container {
4626 border-left: 1px solid #9C9CFF;
4627 border-right: 1px solid #9C9CFF;
4628 background-clip: padding-box;
4631 #main-window[customize-entered] #browser-bottombox {
4632 border-bottom: 1px solid #9C9CFF;
4635 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
4639 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4643 /* End customization mode */
4645 /* Private browsing indicators */
4648 * Currently, we have two places where we put private browsing indicators on
4649 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
4650 * When tabsintitlebar is disabled, we draw the indicator at the end of the
4651 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
4652 * want the bottom border of the image to line up with the bottom of the window
4653 * caption buttons. That's why there's so much special-casing going on in here.
4655 .private-browsing-indicator {
4657 pointer-events: none;
4660 #private-browsing-indicator-titlebar {
4665 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
4669 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
4673 #TabsToolbar > .private-browsing-indicator {
4674 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
4675 -moz-margin-start: 4px;
4679 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
4680 * mode, since the tabstrip "mimics" the titlebar in that case with its own
4681 * min/max/close window buttons.
4683 #private-browsing-indicator-titlebar > .private-browsing-indicator,
4684 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
4685 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
4686 -moz-margin-end: 4px;
4692 /* This one is for Linux */
4693 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
4694 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
4698 /* End private browsing indicators */
4700 /* === BEGIN UITour.inc.css === */
4704 #UITourHighlightContainer {
4705 -moz-appearance: none;
4707 background-color: transparent;
4708 /* This is a buffer to compensate for the movement in the "wobble" effect */
4713 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
4714 border-radius: 40px;
4715 border: 1px solid #9C9CFF;
4716 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
4717 on Linux without an X compositor where opacity is either 0 or 1. */
4718 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
4723 #UITourTooltipBody {
4724 -moz-margin-end: 14px;
4727 #UITourTooltipBody > vbox {
4731 #UITourTooltipIconContainer {
4732 -moz-margin-start: -16px;
4735 #UITourTooltipIcon {
4738 -moz-margin-start: 28px;
4739 -moz-margin-end: 28px;
4742 #UITourTooltipTitle,
4743 #UITourTooltipDescription {
4747 #UITourTooltipTitle {
4750 -moz-margin-start: 0;
4755 #UITourTooltipDescription {
4756 -moz-margin-start: 0;
4759 line-height: 1.8rem;
4760 margin-bottom: 0; /* Override global.css */
4763 #UITourTooltipClose {
4764 -moz-appearance: none;
4766 background-color: transparent;
4768 -moz-margin-start: 4px;
4772 #UITourTooltipClose > .toolbarbutton-text {
4776 #UITourTooltipButtons {
4778 background-color: rgba(0,0,0,.2);
4779 border-top: 1px solid rgba(0,0,0,.4);
4780 margin: 24px -16px -16px;
4784 #UITourTooltipButtons > button {
4788 #UITourTooltipButtons > button:first-child {
4789 -moz-margin-start: 0;
4792 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
4795 -moz-margin-end: 5px;
4798 #UITourTooltipButtons > button .button-text {
4802 #UITourTooltipButtons > button:not(.button-link) {
4803 -moz-appearance: none;
4804 background-color: #C09070;
4805 border-radius: 3000px;
4809 transition-property: background-color, color;
4810 transition-duration: 150ms;
4813 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
4814 background-color: #FFCF00;
4818 #UITourTooltipButtons > button.button-link {
4819 -moz-appearance: none;
4820 background: transparent;
4823 color: rgba(0,0,0,0.35);
4825 padding-right: 10px;
4828 #UITourTooltipButtons > button.button-link:hover {
4832 /* The primary button gets the same color as the customize button. */
4833 #UITourTooltipButtons > button.button-primary {
4834 background-color: #A06060; /* LCARS default button background color */
4837 padding-right: 30px;
4840 #UITourTooltipButtons > button.button-primary:not(:active):hover {
4841 background-color: #FFCF00;
4845 /* === END UITour.inc.css === */
4847 #UITourTooltipButtons {
4848 margin: 24px -4px -4px;
4851 /* === BEGIN contextmenu.inc.css === */
4853 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
4856 #context-navigation > .menuitem-iconic {
4858 -moz-box-pack: center;
4859 -moz-box-align: center;
4862 #context-navigation > .menuitem-iconic[disabled="true"] {
4863 background-color: transparent;
4866 #context-navigation > .menuitem-iconic > .menu-iconic-left {
4867 -moz-appearance: none;
4870 #context-navigation > #context-back > .menu-iconic-left {
4871 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4872 -moz-image-region: rect(0, 54px, 18px, 36px);
4875 #context-navigation > #context-back:not([disabled="true"]):hover > .menu-iconic-left {
4876 -moz-image-region: rect(18px, 54px, 36px, 36px);
4879 #context-navigation > #context-back[disabled="true"] > .menu-iconic-left {
4880 -moz-image-region: rect(36px, 54px, 54px, 36px);
4883 #context-navigation > #context-forward > .menu-iconic-left {
4884 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4885 -moz-image-region: rect(0, 72px, 18px, 54px);
4888 #context-navigation > #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
4889 -moz-image-region: rect(18px, 72px, 36px, 54px);
4892 #context-navigation > #context-forward[disabled="true"] > .menu-iconic-left {
4893 -moz-image-region: rect(36px, 72px, 54px, 54px);
4896 #context-navigation > #context-reload > .menu-iconic-left {
4897 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4898 -moz-image-region: rect(0, 14px, 14px, 0);
4901 #context-navigation > #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
4902 -moz-image-region: rect(14px, 14px, 28px, 0);
4905 #context-navigation > #context-reload[disabled="true"] > .menu-iconic-left {
4906 -moz-image-region: rect(28px, 14px, 42px, 0);
4909 #context-navigation > #context-stop > .menu-iconic-left {
4910 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4911 -moz-image-region: rect(0, 28px, 14px, 14px);
4914 #context-navigation > #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
4915 -moz-image-region: rect(14px, 28px, 28px, 14px);
4918 #context-navigation > #context-stop[disabled="true"] > .menu-iconic-left {
4919 -moz-image-region: rect(28px, 28px, 42px, 14px);
4922 #context-navigation > #context-bookmarkpage > .menu-iconic-left {
4923 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4924 -moz-image-region: rect(0, 144px, 18px, 126px);
4927 #context-navigation > #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
4928 -moz-image-region: rect(18px, 144px, 36px, 126px);
4931 #context-navigation > #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
4932 -moz-image-region: rect(36px, 144px, 54px, 126px);
4935 #context-back:-moz-locale-dir(rtl),
4936 #context-forward:-moz-locale-dir(rtl),
4937 #context-reload:-moz-locale-dir(rtl) {
4938 transform: scaleX(-1);
4941 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4947 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
4948 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
4954 /* === END contextmenu.inc.css === */