1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
6 @import url("downloads/indicator.css");
8 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9 @namespace html url("http://www.w3.org/1999/xhtml");
10 @namespace svg url("http://www.w3.org/2000/svg");
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
16 toolbar[customizable="true"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
20 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
21 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
22 toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
27 toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
31 #toolbar-menubar[autohide="true"] {
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
40 -moz-box-orient: vertical; /* for flex hack */
44 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
47 /* ::::: primary toolbar ::::: */
49 .toolbar-primary > .toolbar-box > .toolbar-holder {
50 background-color: #A09090;
53 .toolbar-primary > .toolbar-box > .toolbar-startcap,
54 .toolbar-primary > .toolbar-box > .toolbar-endcap {
55 background-color: #9C9CFF;
58 /* Hides the titlebar-placeholder underneath the window caption buttons when we
59 are not autohiding the menubar. */
60 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
64 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
65 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
66 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
67 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
68 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
72 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
73 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
74 /* margin-top: 15px;*/
77 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
78 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
79 #toolbar-menubar:not([autohide="true"]) {
80 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
84 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
85 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
86 #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar {
91 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
92 /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
96 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
97 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
98 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
99 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
100 outline-color: #A09090;
106 #navigator-toolbox::after {
109 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
113 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
116 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
119 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
120 overflow: -moz-hidden-unscrollable;
122 transition: min-height 170ms ease-out, max-height 170ms ease-out;
125 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar)[collapsed=true] {
128 transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
131 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
132 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
133 /* Indent also due to non-applicable aero rule in original Windows theme. */
134 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
135 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
137 background-color: #6000CF;
141 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
142 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
143 background-color: #8050B0;
147 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
151 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
155 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
156 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
161 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
162 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
163 #titlebar-buttonbox > .titlebar-button {
169 /* Position the toolbar above the bottom of background tabs */
174 #personal-bookmarks {
175 /* min-height: 24px; */
178 #print-preview-toolbar:not(:-moz-lwtheme) {
179 /* -moz-appearance: toolbox; */
182 #browser-bottombox:not(:-moz-lwtheme) {
185 /* ::::: titlebar ::::: */
189 background-color: #6000CF;
192 #titlebar:-moz-window-inactive {
193 background-color: #8050B0;
197 #main-window[sizemode="normal"] > #titlebar {
202 #main-window[sizemode="maximized"] > #titlebar {
206 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
207 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
208 #main-window[sizemode="normal"] > #titlebar,
209 #main-window[sizemode="maximized"] > #titlebar {
211 /* There is a margin-bottom set to -23 by code. */
215 /* The button box must appear on top of the navigator-toolbox in order for
216 * click and hover mouse events to work properly for the button in the restored
217 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
218 * can swallow those events. It will also place the buttons above the fog on
219 * themes with Aero Glass.
221 #titlebar-buttonbox {
222 -moz-appearance: none;
225 -moz-margin-end: 3px;
229 .titlebar-placeholder[type="appmenu-button"] {
233 .titlebar-placeholder[type="caption-buttons"] {
237 /* titlebar command buttons */
240 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
243 #titlebar-min:hover {
244 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
248 list-style-image: url("chrome://browser/skin/win-maximize.gif");
251 #titlebar-max:hover {
252 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
255 #main-window[sizemode="maximized"] #titlebar-max {
256 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
259 #main-window[sizemode="maximized"] #titlebar-max:hover {
260 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
264 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
267 #titlebar-close:hover {
268 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
271 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
272 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
273 #titlebar-fullscreen-button {
274 -moz-appearance: none;
275 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
276 -moz-image-region: rect(0px, 16px, 16px, 0px);
279 #titlebar-fullscreen-button:hover {
280 -moz-image-region: rect(0px, 32px, 16px, 16px);
283 @media (min-resolution: 2dppx) {
284 #titlebar-fullscreen-button {
285 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
286 -moz-image-region: rect(0px, 32px, 32px, 0px);
289 #titlebar-fullscreen-button:hover {
290 -moz-image-region: rect(0px, 64px, 32px, 32px);
296 /* ::::: bookmark buttons ::::: */
298 toolbarbutton.bookmark-item:not(.subviewbutton),
299 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
304 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
305 toolbarbutton.bookmark-item[open="true"] {
308 -moz-padding-start: 4px;
309 -moz-padding-end: 2px;*/
312 .bookmark-item > .toolbarbutton-icon,
313 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
318 /* Force the display of the label for bookmarks */
319 .bookmark-item > .toolbarbutton-text,
320 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
321 display: -moz-box !important;
324 .bookmark-item > .toolbarbutton-menu-dropmarker {
328 #bookmarks-toolbar-placeholder {
329 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
332 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
333 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
334 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
337 /* ----- BOOKMARK STAR ANIMATION ----- */
339 @keyframes animation-bookmarkAdded {
340 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
341 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
343 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
346 @keyframes animation-bookmarkPulse {
347 from { transform: scale(1); }
348 50% { transform: scale(1.3); }
349 to { transform: scale(1); }
352 #bookmarked-notification-container {
361 #bookmarked-notification {
362 background-size: 16px;
363 background-position: center;
364 background-repeat: no-repeat;
370 #bookmarked-notification-dropmarker-anchor {
375 #bookmarked-notification-dropmarker-icon {
381 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
382 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
383 animation: animation-bookmarkAdded 800ms;
384 animation-timing-function: ease, ease, ease;
387 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
388 list-style-image: none !important;
391 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
393 animation: animation-bookmarkPulse 300ms;
394 animation-delay: 600ms;
395 animation-timing-function: ease-out;
398 /* ::::: bookmark menus ::::: */
401 menuitem.bookmark-item {
406 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
411 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
412 -moz-padding-start: 0px;
415 /* ::::: bookmark items ::::: */
418 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
419 -moz-image-region: auto;
422 .bookmark-item[container] {
423 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
424 -moz-image-region: auto;
427 .bookmark-item[container][open] {
428 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
429 -moz-image-region: auto;
432 .bookmark-item[container][livemark] {
433 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
434 -moz-image-region: auto;
437 .bookmark-item[container][livemark] .bookmark-item {
438 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
439 -moz-image-region: rect(0px, 16px, 16px, 0px);
442 .bookmark-item[container][livemark] .bookmark-item[visited] {
443 -moz-image-region: rect(0px, 32px, 16px, 16px);
446 .bookmark-item[container][query] {
447 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
448 -moz-image-region: auto;
451 .bookmark-item[query][tagContainer] {
452 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
453 -moz-image-region: auto;
456 .bookmark-item[query][dayContainer] {
457 list-style-image: url("chrome://communicator/skin/history/calendar.png");
458 -moz-image-region: auto;
461 .bookmark-item[query][hostContainer] {
462 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
463 -moz-image-region: auto;
466 .bookmark-item[query][hostContainer][open] {
467 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
468 -moz-image-region: auto;
471 .bookmark-item[cutting] > .toolbarbutton-icon,
472 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
476 .bookmark-item[cutting] > .toolbarbutton-text,
477 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
481 /* ::::: primary toolbar buttons ::::: */
483 /* === BEGIN toolbarbuttons.inc.css === */
485 /* Whole section of this included file: */
486 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
487 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
488 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
489 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
490 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
491 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
492 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button),
494 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
495 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
499 -moz-image-region: rect(0, 36px, 18px, 18px);
502 #back-button:hover:not([disabled="true"]) {
503 -moz-image-region: rect(18px, 36px, 36px, 18px);
506 #back-button[disabled="true"] {
507 -moz-image-region: rect(36px, 36px, 54px, 18px);
511 -moz-image-region: rect(0, 72px, 18px, 54px);
514 #forward-button:hover:not([disabled="true"]) {
515 -moz-image-region: rect(18px, 72px, 36px, 54px);
518 #forward-button[disabled="true"] {
519 -moz-image-region: rect(36px, 72px, 54px, 54px);
522 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
523 #forward-button:-moz-locale-dir(rtl) {
524 transform: scaleX(-1);
527 #home-button[cui-areatype="toolbar"] {
528 -moz-image-region: rect(0, 126px, 18px, 108px);
531 #home-button[cui-areatype="toolbar"]:hover {
532 -moz-image-region: rect(18px, 126px, 36px, 108px);
535 #bookmarks-menu-button[cui-areatype="toolbar"] {
536 -moz-image-region: rect(0, 144px, 18px, 126px);
539 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
540 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
541 -moz-image-region: rect(18px, 144px, 36px, 126px);
544 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
545 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
546 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
547 background-color: transparent !important;
550 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
551 -moz-image-region: rect(0, 162px, 18px, 144px);
554 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
555 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
556 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
557 /* When starred and clicked (for edit/delete dialog),
558 * then only the menubutton-button itself is open, but not the whole menubutton. */
559 -moz-image-region: rect(18px, 162px, 36px, 144px);
562 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
563 -moz-image-region: rect(0, 630px, 18px, 612px);
566 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
568 -moz-box-align: center;
571 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
572 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
573 -moz-image-region: rect(18px, 630px, 36px, 612px);
576 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
577 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
580 -moz-padding-start: 2px;
581 -moz-padding-end: 0px;
584 #history-panelmenu[cui-areatype="toolbar"] {
585 -moz-image-region: rect(0, 180px, 18px, 162px);
588 #history-panelmenu[cui-areatype="toolbar"]:hover,
589 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
590 -moz-image-region: rect(18px, 180px, 36px, 162px);
593 #downloads-button[cui-areatype="toolbar"] {
594 -moz-image-region: rect(0, 198px, 18px, 180px);
597 #downloads-button[cui-areatype="toolbar"]:hover,
598 #downloads-button[cui-areatype="toolbar"][open="true"] {
599 -moz-image-region: rect(18px, 198px, 36px, 180px);
602 #add-ons-button[cui-areatype="toolbar"] {
603 -moz-image-region: rect(0, 216px, 18px, 198px);
606 #add-ons-button[cui-areatype="toolbar"]:hover {
607 -moz-image-region: rect(18px, 216px, 36px, 198px);
610 #open-file-button[cui-areatype="toolbar"] {
611 -moz-image-region: rect(0, 234px, 18px, 216px);
614 #open-file-button[cui-areatype="toolbar"]:hover {
615 -moz-image-region: rect(18px, 234px, 36px, 216px);
618 #save-page-button[cui-areatype="toolbar"] {
619 -moz-image-region: rect(0, 252px, 18px, 234px);
622 #save-page-button[cui-areatype="toolbar"]:hover {
623 -moz-image-region: rect(18px, 252px, 36px, 234px);
626 #sync-button[cui-areatype="toolbar"] {
627 -moz-image-region: rect(0, 270px, 18px, 252px);
630 #sync-button[cui-areatype="toolbar"]:hover {
631 -moz-image-region: rect(18px, 270px, 36px, 252px);
634 #sync-button[cui-areatype="toolbar"][status="active"],
635 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
636 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
637 -moz-image-region: rect(0, 18px, 18px, 0px);
641 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
642 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
643 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
647 #feed-button[cui-areatype="toolbar"] {
648 -moz-image-region: rect(0, 288px, 18px, 270px);
651 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
652 -moz-image-region: rect(18px, 288px, 36px, 270px);
655 #feed-button[cui-areatype="toolbar"][disabled="true"] {
656 -moz-image-region: rect(36px, 288px, 54px, 270px);
659 #social-share-button[cui-areatype="toolbar"] {
660 -moz-image-region: rect(0px, 306px, 18px, 288px);
663 #social-share-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
664 #social-share-button[cui-areatype="toolbar"][open="true"] {
665 -moz-image-region: rect(18px, 306px, 36px, 288px);
668 #social-share-button[cui-areatype="toolbar"][disabled="true"] {
669 -moz-image-region: rect(36px, 306px, 54px, 288px);
672 #characterencoding-button[cui-areatype="toolbar"] {
673 -moz-image-region: rect(0, 324px, 18px, 306px);
676 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
677 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
678 -moz-image-region: rect(18px, 324px, 36px, 306px);
681 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
682 -moz-image-region: rect(36px, 324px, 54px, 306px);
685 #new-window-button[cui-areatype="toolbar"] {
686 -moz-image-region: rect(0, 342px, 18px, 324px);
689 #new-window-button[cui-areatype="toolbar"]:hover {
690 -moz-image-region: rect(18px, 342px, 36px, 324px);
693 #e10s-button[cui-areatype="toolbar"] {
694 -moz-image-region: rect(0, 342px, 18px, 324px);
697 #e10s-button[cui-areatype="toolbar"]:hover {
698 -moz-image-region: rect(18px, 342px, 36px, 324px);
701 #e10s-button > .toolbarbutton-icon {
702 transform: scaleY(-1);
705 #new-tab-button[cui-areatype="toolbar"] {
706 -moz-image-region: rect(0, 360px, 18px, 342px);
709 #new-tab-button[cui-areatype="toolbar"]:hover {
710 -moz-image-region: rect(18px, 360px, 36px, 342px);
713 #privatebrowsing-button[cui-areatype="toolbar"] {
714 -moz-image-region: rect(0, 378px, 18px, 360px);
717 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
718 -moz-image-region: rect(18px, 378px, 36px, 360px);
721 #find-button[cui-areatype="toolbar"] {
722 -moz-image-region: rect(0, 396px, 18px, 378px);
725 #find-button[cui-areatype="toolbar"]:hover {
726 -moz-image-region: rect(18px, 396px, 36px, 378px);
729 #print-button[cui-areatype="toolbar"] {
730 -moz-image-region: rect(0, 414px, 18px, 396px);
733 #print-button[cui-areatype="toolbar"]:hover {
734 -moz-image-region: rect(18px, 414px, 36px, 396px);
737 #fullscreen-button[cui-areatype="toolbar"] {
738 -moz-image-region: rect(0, 432px, 18px, 414px);
741 #fullscreen-button[cui-areatype="toolbar"]:hover {
742 -moz-image-region: rect(18px, 432px, 36px, 414px);
745 #developer-button[cui-areatype="toolbar"] {
746 -moz-image-region: rect(0, 450px, 18px, 432px);
749 #developer-button[cui-areatype="toolbar"]:hover,
750 #developer-button[cui-areatype="toolbar"][open="true"] {
751 -moz-image-region: rect(18px, 450px, 36px, 432px);
754 #preferences-button[cui-areatype="toolbar"] {
755 -moz-image-region: rect(0, 468px, 18px, 450px);
758 #preferences-button[cui-areatype="toolbar"]:hover {
759 -moz-image-region: rect(18px, 468px, 36px, 450px);
762 #PanelUI-menu-button {
763 -moz-image-region: rect(0, 486px, 18px, 468px);
766 #PanelUI-menu-button:hover,
767 #PanelUI-menu-button[open="true"] {
768 -moz-image-region: rect(18px, 486px, 36px, 468px);
771 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
772 -moz-image-region: rect(0, 504px, 18px, 486px);
775 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
776 -moz-image-region: rect(18px, 504px, 36px, 486px);
779 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
780 -moz-image-region: rect(36px, 504px, 54px, 486px);
783 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
784 -moz-image-region: rect(0, 522px, 18px, 504px);
787 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
788 -moz-image-region: rect(18px, 522px, 36px, 504px);
791 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
792 -moz-image-region: rect(36px, 522px, 54px, 504px);
795 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
796 -moz-image-region: rect(0, 540px, 18px, 522px);
799 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
800 -moz-image-region: rect(18px, 540px, 36px, 522px);
803 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
804 -moz-image-region: rect(36px, 540px, 54px, 522px);
807 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
808 -moz-image-region: rect(0, 558px, 18px, 540px);
811 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
812 -moz-image-region: rect(18px, 558px, 36px, 540px);
815 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
816 -moz-image-region: rect(36px, 558px, 54px, 540px);
819 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
820 -moz-image-region: rect(0, 576px, 18px, 558px);
823 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
824 -moz-image-region: rect(18px, 576px, 36px, 558px);
827 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
828 -moz-image-region: rect(36px, 576px, 54px, 558px);
831 #nav-bar-overflow-button {
832 -moz-image-region: rect(0, 612px, 18px, 594px);
835 #nav-bar-overflow-button:hover,
836 #nav-bar-overflow-button[open="true"] {
837 -moz-image-region: rect(18px, 612px, 36px, 594px);
840 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
841 transform: scaleX(-1);
845 -moz-image-region: rect(0, 648px, 18px, 630px);
848 #tabview-button:hover {
849 -moz-image-region: rect(18px, 648px, 36px, 630px);
852 #email-link-button[cui-areatype="toolbar"] {
853 -moz-image-region: rect(0, 666px, 18px, 648px);
856 #email-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
857 -moz-image-region: rect(18px, 666px, 36px, 648px);
860 #email-button[cui-areatype="toolbar"][disabled="true"] {
861 -moz-image-region: rect(36px, 666px, 54px, 648px);
864 #sidebar-button[cui-areatype="toolbar"] {
865 -moz-image-region: rect(0, 684px, 18px, 666px);
868 #sidebar-button[cui-areatype="toolbar"]:hover {
869 -moz-image-region: rect(18px, 684px, 36px, 666px);
872 #panic-button[cui-areatype="toolbar"] {
873 -moz-image-region: rect(0, 702px, 18px, 684px);
876 #panic-button[cui-areatype="toolbar"]:hover,
877 #panic-button[cui-areatype="toolbar"][open] {
878 -moz-image-region: rect(18px, 702px, 36px, 684px);
881 #panic-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
882 transform: scaleX(-1);
885 #web-apps-button[cui-areatype="toolbar"] {
886 -moz-image-region: rect(0, 720px, 18px, 702px);
889 #web-apps-button[cui-areatype="toolbar"]:hover {
890 -moz-image-region: rect(18px, 720px, 36px, 702px);
893 #loop-call-button > .toolbarbutton-badge-container {
894 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
895 -moz-image-region: rect(0, 18px, 18px, 0);
898 #loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
899 -moz-image-region: rect(0, 90px, 18px, 72px);
902 #loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
903 -moz-image-region: rect(0, 36px, 18px, 18px);
906 #loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
907 -moz-image-region: rect(0, 126px, 18px, 108px);
910 #loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
911 -moz-image-region: rect(0, 54px, 18px, 36px);
914 #loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
915 -moz-image-region: rect(0, 72px, 18px, 54px);
918 #loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
919 -moz-image-region: rect(0, 108px, 18px, 90px);
922 /* === END toolbarbuttons.inc.css === */
924 /* === BEGIN menupanel.inc.css === */
926 /* Menu panel and palette styles */
928 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
929 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
930 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
931 #social-share-button, #open-file-button, #find-button, #developer-button,
932 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
933 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
934 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
935 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button)[cui-areatype="menu-panel"],
936 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
937 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
938 #social-share-button, #open-file-button, #find-button, #developer-button,
939 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
940 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
941 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
942 #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button) {
943 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
946 #home-button[cui-areatype="menu-panel"],
947 toolbarpaletteitem[place="palette"] > #home-button {
948 -moz-image-region: rect(0px, 128px, 32px, 96px);
951 #home-button[cui-areatype="menu-panel"]:hover,
952 toolbarpaletteitem[place="palette"] > #home-button:hover {
953 -moz-image-region: rect(32px, 128px, 64px, 96px);
956 #bookmarks-menu-button[cui-areatype="menu-panel"],
957 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
958 -moz-image-region: rect(0px, 192px, 32px, 160px);
961 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
962 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
963 -moz-image-region: rect(32px, 192px, 64px, 160px);
966 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
967 -moz-image-region: rect(32px, 192px, 64px, 160px);
970 #history-panelmenu[cui-areatype="menu-panel"],
971 toolbarpaletteitem[place="palette"] > #history-panelmenu {
972 -moz-image-region: rect(0px, 224px, 32px, 192px);
975 #history-panelmenu[cui-areatype="menu-panel"]:hover,
976 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
977 -moz-image-region: rect(32px, 224px, 64px, 192px);
980 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
981 -moz-image-region: rect(32px, 224px, 64px, 192px);
984 #downloads-button[cui-areatype="menu-panel"],
985 toolbarpaletteitem[place="palette"] > #downloads-button {
986 -moz-image-region: rect(0px, 256px, 32px, 224px);
989 #downloads-button[cui-areatype="menu-panel"]:hover,
990 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
991 -moz-image-region: rect(32px, 256px, 64px, 224px);
994 #add-ons-button[cui-areatype="menu-panel"],
995 toolbarpaletteitem[place="palette"] > #add-ons-button {
996 -moz-image-region: rect(0px, 288px, 32px, 256px);
999 #add-ons-button[cui-areatype="menu-panel"]:hover,
1000 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
1001 -moz-image-region: rect(32px, 288px, 64px, 256px);
1004 #open-file-button[cui-areatype="menu-panel"],
1005 toolbarpaletteitem[place="palette"] > #open-file-button {
1006 -moz-image-region: rect(0px, 320px, 32px, 288px);
1009 #open-file-button[cui-areatype="menu-panel"]:hover,
1010 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
1011 -moz-image-region: rect(32px, 320px, 64px, 288px);
1014 #save-page-button[cui-areatype="menu-panel"],
1015 toolbarpaletteitem[place="palette"] > #save-page-button {
1016 -moz-image-region: rect(0px, 352px, 32px, 320px);
1019 #save-page-button[cui-areatype="menu-panel"]:hover,
1020 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
1021 -moz-image-region: rect(32px, 352px, 64px, 320px);
1024 #sync-button[cui-areatype="menu-panel"],
1025 toolbarpaletteitem[place="palette"] > #sync-button {
1026 -moz-image-region: rect(0px, 384px, 32px, 352px);
1029 #sync-button[cui-areatype="menu-panel"]:hover,
1030 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1031 -moz-image-region: rect(32px, 384px, 64px, 352px);
1034 #sync-button[cui-areatype="menu-panel"][status="active"] {
1035 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1036 -moz-image-region: rect(0px, 32px, 32px, 0px);
1039 #feed-button[cui-areatype="menu-panel"],
1040 toolbarpaletteitem[place="palette"] > #feed-button {
1041 -moz-image-region: rect(0px, 416px, 32px, 384px);
1044 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1045 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1046 -moz-image-region: rect(32px, 416px, 64px, 384px);
1049 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1050 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1051 -moz-image-region: rect(64px, 416px, 96px, 384px);
1054 #social-share-button[cui-areatype="menu-panel"],
1055 toolbarpaletteitem[place="palette"] > #social-share-button {
1056 -moz-image-region: rect(0px, 448px, 32px, 416px);
1059 #social-share-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1060 toolbarpaletteitem[place="palette"] > #social-share-button:hover:not([disabled="true"]) {
1061 -moz-image-region: rect(32px, 448px, 64px, 416px);
1064 #social-share-button[cui-areatype="menu-panel"][disabled="true"],
1065 toolbarpaletteitem[place="palette"] > #social-share-button[disabled="true"] {
1066 -moz-image-region: rect(64px, 448px, 96px, 416px);
1069 #characterencoding-button[cui-areatype="menu-panel"],
1070 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1071 -moz-image-region: rect(0px, 480px, 32px, 448px);
1074 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1075 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1076 -moz-image-region: rect(32px, 480px, 64px, 448px);
1079 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1080 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1081 -moz-image-region: rect(64px, 480px, 96px, 448px);
1084 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1085 -moz-image-region: rect(32px, 480px, 64px, 448px);
1088 #new-window-button[cui-areatype="menu-panel"],
1089 toolbarpaletteitem[place="palette"] > #new-window-button {
1090 -moz-image-region: rect(0px, 512px, 32px, 480px);
1093 #new-window-button[cui-areatype="menu-panel"]:hover,
1094 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1095 -moz-image-region: rect(32px, 512px, 64px, 480px);
1098 #e10s-button[cui-areatype="menu-panel"],
1099 toolbarpaletteitem[place="palette"] > #e10s-button {
1100 -moz-image-region: rect(0px, 512px, 32px, 480px);
1103 #e10s-button[cui-areatype="menu-panel"]:hover,
1104 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1105 -moz-image-region: rect(32px, 512px, 64px, 480px);
1108 #new-tab-button[cui-areatype="menu-panel"],
1109 toolbarpaletteitem[place="palette"] > #new-tab-button {
1110 -moz-image-region: rect(0px, 544px, 32px, 512px);
1113 #new-tab-button[cui-areatype="menu-panel"]:hover,
1114 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1115 -moz-image-region: rect(32px, 544px, 64px, 512px);
1118 #privatebrowsing-button[cui-areatype="menu-panel"],
1119 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1120 -moz-image-region: rect(0px, 576px, 32px, 544px);
1123 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1124 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1125 -moz-image-region: rect(32px, 576px, 64px, 544px);
1128 #tabview-button[cui-areatype="menu-panel"],
1129 toolbarpaletteitem[place="palette"] > #tabview-button {
1130 -moz-image-region: rect(0px, 608px, 32px, 576px);
1133 #tabview-button[cui-areatype="menu-panel"]:hover,
1134 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1135 -moz-image-region: rect(32px, 608px, 64px, 576px);
1138 #find-button[cui-areatype="menu-panel"],
1139 toolbarpaletteitem[place="palette"] > #find-button {
1140 -moz-image-region: rect(0px, 640px, 32px, 608px);
1143 #find-button[cui-areatype="menu-panel"]:hover,
1144 toolbarpaletteitem[place="palette"] > #find-button:hover {
1145 -moz-image-region: rect(32px, 640px, 64px, 608px);
1148 #print-button[cui-areatype="menu-panel"],
1149 toolbarpaletteitem[place="palette"] > #print-button {
1150 -moz-image-region: rect(0px, 672px, 32px, 640px);
1153 #print-button[cui-areatype="menu-panel"]:hover,
1154 toolbarpaletteitem[place="palette"] > #print-button:hover {
1155 -moz-image-region: rect(32px, 672px, 64px, 640px);
1158 #fullscreen-button[cui-areatype="menu-panel"],
1159 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1160 -moz-image-region: rect(0px, 704px, 32px, 672px);
1163 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1164 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1165 -moz-image-region: rect(32px, 704px, 64px, 672px);
1168 #developer-button[cui-areatype="menu-panel"],
1169 toolbarpaletteitem[place="palette"] > #developer-button {
1170 -moz-image-region: rect(0px, 736px, 32px, 704px);
1173 #developer-button[cui-areatype="menu-panel"]:hover,
1174 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1175 -moz-image-region: rect(32px, 736px, 64px, 704px);
1178 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1179 -moz-image-region: rect(32px, 736px, 64px, 704px);
1182 #preferences-button[cui-areatype="menu-panel"],
1183 toolbarpaletteitem[place="palette"] > #preferences-button {
1184 -moz-image-region: rect(0px, 768px, 32px, 736px);
1187 #preferences-button[cui-areatype="menu-panel"]:hover,
1188 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1189 -moz-image-region: rect(32px, 768px, 64px, 736px);
1192 #email-link-button[cui-areatype="menu-panel"],
1193 toolbarpaletteitem[place="palette"] > #email-link-button {
1194 -moz-image-region: rect(0, 800px, 32px, 768px);
1197 #email-link-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1198 toolbarpaletteitem[place="palette"] > #email-link-button:hover:not([disabled="true"]) {
1199 -moz-image-region: rect(32px, 800px, 64px, 768px);
1202 #email-link-button[cui-areatype="menu-panel"][disabled="true"],
1203 toolbarpaletteitem[place="palette"] > #email-link-button[disabled="true"] {
1204 -moz-image-region: rect(64px, 800px, 96px, 768px);
1207 #sidebar-button[cui-areatype="menu-panel"],
1208 toolbarpaletteitem[place="palette"] > #sidebar-button {
1209 -moz-image-region: rect(0, 864px, 32px, 832px);
1212 #sidebar-button[cui-areatype="menu-panel"]:hover,
1213 toolbarpaletteitem[place="palette"] > #sidebar-button:hover,
1214 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1215 -moz-image-region: rect(32px, 864px, 64px, 832px);
1218 #panic-button[cui-areatype="menu-panel"],
1219 toolbarpaletteitem[place="palette"] > #panic-button {
1220 -moz-image-region: rect(0, 896px, 32px, 864px);
1223 #panic-button[cui-areatype="menu-panel"]:hover,
1224 toolbarpaletteitem[place="palette"] > #panic-button:hover,
1225 #panic-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1226 -moz-image-region: rect(32px, 896px, 64px, 864px);
1229 #web-apps-button[cui-areatype="menu-panel"],
1230 toolbarpaletteitem[place="palette"] > #web-apps-button {
1231 -moz-image-region: rect(0, 928px, 32px, 896px);
1234 #web-apps-button[cui-areatype="menu-panel"]:hover,
1235 toolbarpaletteitem[place="palette"] > #web-apps-button:hover {
1236 -moz-image-region: rect(32px, 928px, 64px, 896px);
1239 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1240 -moz-image-region: rect(0, 832px, 32px, 800px);
1243 #loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1244 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1245 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1246 -moz-image-region: rect(0, 32px, 32px, 0);
1249 /* Make sure that the state icons are not shown in the customization palette. */
1250 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1251 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1254 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1255 -moz-image-region: rect(0, 160px, 32px, 128px);
1258 #loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1259 -moz-image-region: rect(0, 64px, 32px, 32px);
1262 #loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1263 -moz-image-region: rect(0, 224px, 32px, 192px);
1266 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1267 -moz-image-region: rect(0, 96px, 32px, 64px);
1270 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1271 -moz-image-region: rect(0, 128px, 32px, 96px);
1274 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1275 -moz-image-region: rect(0, 192px, 32px, 160px);
1278 /* Wide panel control icons */
1280 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1281 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1282 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1283 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1284 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
1287 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1288 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1289 -moz-image-region: rect(0px, 32px, 16px, 16px);
1292 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1293 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1294 -moz-image-region: rect(16px, 32px, 32px, 16px);
1297 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1298 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1299 -moz-image-region: rect(32px, 32px, 48px, 16px);
1302 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1303 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1304 -moz-image-region: rect(0px, 48px, 16px, 32px);
1307 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1308 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1309 -moz-image-region: rect(16px, 48px, 32px, 32px);
1312 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1313 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1314 -moz-image-region: rect(32px, 48px, 48px, 32px);
1317 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1318 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1319 -moz-image-region: rect(0px, 64px, 16px, 48px);
1322 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1323 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1324 -moz-image-region: rect(16px, 64px, 32px, 48px);
1327 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1328 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1329 -moz-image-region: rect(32px, 64px, 48px, 48px);
1332 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1333 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1334 -moz-image-region: rect(0px, 80px, 16px, 64px);
1337 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1338 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1339 -moz-image-region: rect(16px, 80px, 32px, 64px);
1342 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1343 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1344 -moz-image-region: rect(32px, 80px, 48px, 64px);
1347 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1348 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1349 -moz-image-region: rect(0px, 96px, 16px, 80px);
1352 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1353 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1354 -moz-image-region: rect(16px, 96px, 32px, 80px);
1357 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1358 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1359 -moz-image-region: rect(32px, 96px, 48px, 80px);
1362 /* === END menupanel.inc.css === */
1364 .toolbarbutton-1:not([type="menu-button"]) {
1365 -moz-box-orient: vertical;
1369 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1375 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1376 .toolbarbutton-1[disabled="true"]:hover:active,
1377 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1381 .toolbarbutton-1:hover:active,
1382 .toolbarbutton-1[open="true"],
1383 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1385 padding-bottom: 0px;
1386 -moz-padding-start: 3px;
1387 -moz-padding-end: 1px;
1390 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1391 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1392 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1393 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1394 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1397 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1398 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1401 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1402 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1405 .toolbarbutton-1 > .toolbarbutton-icon,
1406 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1409 #nav-bar .toolbarbutton-1,
1410 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1413 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1414 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1415 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1418 #nav-bar #PanelUI-menu-button {
1419 /* -moz-padding-start: 7px;
1420 -moz-padding-end: 5px;*/
1423 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1424 /* padding-left: 5px;
1425 padding-right: 5px;*/
1428 #nav-bar .toolbarbutton-1 > menupopup {
1429 /* margin-top: -3px;*/
1432 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1436 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1437 /* -moz-padding-end: 0;*/
1440 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1441 /* -moz-padding-start: 0;
1442 -moz-box-align: center;*/
1445 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1446 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1447 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1448 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1449 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1450 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1451 /* padding: 2px 6px;
1453 border-color: transparent;
1454 transition-property: background-color, border-color;
1455 transition-duration: 150ms;*/
1458 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1459 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1460 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1465 /* Help SDK icons fit: */
1466 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1470 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1471 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1475 #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,
1476 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1477 /* -moz-padding-end: 17px;*/
1480 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1483 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1486 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1489 #nav-bar .toolbaritem-combined-buttons {
1490 /* margin-left: 2px;
1491 margin-right: 2px;*/
1494 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1499 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1500 #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 {
1506 -moz-margin-end: -1px;
1510 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1513 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1514 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1515 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1516 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1517 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1518 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1519 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1520 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1523 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1524 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1525 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1526 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1527 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1530 #TabsToolbar .toolbarbutton-1,
1531 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1532 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1533 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1536 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1537 #TabsToolbar .toolbarbutton-1[open],
1538 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1539 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1540 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1543 /* unified back/forward button */
1546 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1549 #forward-button > menupopup {
1550 margin-top: 1px !important;
1553 #forward-button > .toolbarbutton-icon {
1554 background-clip: padding-box !important;
1555 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1556 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1560 -moz-margin-start: -4px !important;
1565 border-radius: 0 10000px 10000px 0;
1568 #forward-button:-moz-locale-dir(rtl) {
1569 border-radius: 10000px 0 0 10000px;
1572 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1573 transition: margin-left 150ms ease-out;
1576 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1577 margin-left: -27px !important;
1580 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1581 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1582 transition-delay: 100s;
1585 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1586 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1587 margin-left: -27.01px !important;
1591 /* padding-top: 3px !important;
1592 padding-bottom: 3px !important;
1593 -moz-padding-start: 5px !important;
1594 -moz-padding-end: 0 !important;*/
1597 border-radius: 10000px;
1601 margin-bottom: -2px;
1604 #back-button:-moz-locale-dir(rtl) {
1607 #back-button > menupopup {
1608 margin-top: -1px !important;
1611 #back-button > .toolbarbutton-icon {
1612 border-radius: 10000px !important;
1613 background-clip: padding-box !important;
1614 /* background-color: hsla(210,25%,98%,.08) !important;
1615 padding: 6px !important;
1616 border-style: none !important;
1617 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1618 0 0 0 1px hsla(210,4%,10%,.25);*/
1619 transition-property: background-color, box-shadow !important;
1620 transition-duration: 250ms !important;
1623 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1624 /* background-color: hsla(210,4%,10%,.08) !important;*/
1627 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1628 #back-button[open="true"] > .toolbarbutton-icon {
1629 /* background-color: hsla(210,4%,10%,.12) !important;
1630 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1631 0 0 0 1px hsla(210,4%,10%,.25),
1632 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1635 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1636 transform: scaleX(-1);
1639 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1640 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1641 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1644 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1645 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1646 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1649 #home-button.bookmark-item {
1650 list-style-image: url("chrome://browser/skin/Toolbar.png");
1653 #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),
1654 #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),
1655 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1656 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1657 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1658 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1659 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1662 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1665 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1666 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1667 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1671 #downloads-button > .toolbarbutton-icon {
1675 /* tabview menu item */
1678 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1679 -moz-image-region: rect(1px, 89px, 17px, 73px);
1682 #menu_tabview[groups="0"] {
1683 -moz-image-region: rect(1px, 17px, 17px, 1px);
1686 #menu_tabview[groups="1"] {
1687 -moz-image-region: rect(1px, 35px, 17px, 19px);
1690 #menu_tabview[groups="2"] {
1691 -moz-image-region: rect(1px, 53px, 17px, 37px);
1694 #menu_tabview[groups="3"] {
1695 -moz-image-region: rect(1px, 71px, 17px, 55px);
1698 /* undo close tab menu item */
1699 #alltabs_undoCloseTab {
1700 list-style-image: url(chrome://browser/skin/undoCloseTab.png);
1703 @media (min-resolution: 1.25dppx) {
1704 #alltabs_undoCloseTab {
1705 list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
1707 #alltabs_undoCloseTab > .toolbarbutton-icon {
1712 /* zoom control text (reset) button special case: */
1714 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1715 /* To make this line up with the icons, it needs the same height (18px) +
1716 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1717 * increase in text sizes would break things...
1722 /* ::::: fullscreen window controls ::::: */
1725 -moz-margin-start: 4px;
1731 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1736 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1739 #minimize-button:hover {
1740 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1744 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1747 #restore-button:hover {
1748 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1752 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1755 #close-button:hover {
1756 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1759 /* ::::: Location Bar ::::: */
1762 .searchbar-textbox {
1765 -moz-margin-start: 3px;
1769 /* make color as light as possible to deal with dark non-domain parts */
1773 #urlbar:-moz-lwtheme,
1774 .searchbar-textbox:-moz-lwtheme {
1775 /* background-color: rgba(255,255,255,.8);
1776 @navbarTextboxCustomBorder@
1780 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1781 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1782 /* background-color: rgba(255,255,255,.9);*/
1785 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1786 .searchbar-textbox:-moz-lwtheme[focused] {
1787 /* background-color: white;*/
1790 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1791 /* -moz-border-start: none;
1795 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1796 /* border-top-left-radius: 0;
1797 border-bottom-left-radius: 0; */
1800 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1801 /* border-top-right-radius: 0;
1802 border-bottom-right-radius: 0; */
1805 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1806 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1807 /* -moz-margin-start: -5px; */
1810 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1811 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1812 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1813 transform: scaleX(-1);
1816 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1817 -moz-box-direction: reverse;
1820 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1821 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1826 -moz-box-orient: horizontal;
1827 -moz-box-align: stretch;
1830 .urlbar-textbox-container {
1831 -moz-box-align: stretch;
1835 -moz-margin-start: 0;
1839 -moz-box-align: center;
1846 .searchbar-engine-button,
1847 .search-go-container {
1851 .search-go-container > .search-go-button {
1855 .urlbar-icon:hover {
1858 .urlbar-icon[open="true"],
1859 .urlbar-icon:hover:active {
1862 #urlbar-search-splitter {
1864 -moz-margin-start: -3px;
1866 background: transparent;
1869 #urlbar-search-splitter + #urlbar-container > #urlbar,
1870 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1871 -moz-margin-start: 0;
1874 #urlbar-display-box {
1878 -moz-border-end: 1px solid #9C9CFF;
1879 -moz-margin-end: 3px;
1882 -moz-margin-start: 0;
1887 min-width: calc(54px + 11ch);
1897 #identity-box:-moz-locale-dir(ltr) {
1898 /* border-top-left-radius: 1.5px;
1899 border-bottom-left-radius: 1.5px;*/
1902 #identity-box:-moz-locale-dir(rtl) {
1903 /* border-top-right-radius: 1.5px;
1904 border-bottom-right-radius: 1.5px;*/
1907 #notification-popup-box:not([hidden]) + #identity-box {
1908 -moz-padding-start: 10px !important;
1912 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1913 /* border-radius: 0; */
1914 -moz-padding-start: 2px;
1915 -moz-padding-end: 2px;
1916 -moz-margin-end: 1px;
1919 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1920 transition: padding-left, padding-right;
1923 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1924 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1928 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1929 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1933 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1934 #notification-popup-box[hidden] + #identity-box {
1935 /* forward button hiding is delayed when hovered */
1936 transition-delay: 100s;
1939 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1940 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1941 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1942 padding-left: 2.01px;
1945 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1946 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1947 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1948 padding-right: 2.01px;
1951 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1952 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1953 -moz-margin-end: 3px;
1956 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
1957 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1958 border-top-right-radius: 0;
1959 border-bottom-right-radius: 0;
1962 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
1963 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1964 border-top-left-radius: 0;
1965 border-bottom-left-radius: 0;
1968 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1969 background-color: #000000;
1972 #identity-box:-moz-focusring {
1973 outline: 1px dotted #008484;
1974 outline-offset: -1px;
1977 #identity-box.verifiedDomain:-moz-focusring,
1978 #identity-box.verifiedIdentity:-moz-focusring {
1979 outline-color: #000000;
1982 #identity-icon-labels {
1983 -moz-margin-start: 1px;
1984 -moz-margin-end: 3px;
1987 /* Location bar dropmarker */
1989 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1990 background-color: transparent;
1993 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1994 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
1999 .urlbar-history-dropmarker:hover {
2002 .urlbar-history-dropmarker:hover:active,
2003 .urlbar-history-dropmarker[open="true"] {
2006 /* page proxy icon */
2008 /* === BEGIN identity-block.inc.css === */
2010 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
2011 /* Default theme does different color per channel, we can't as they do it build-time. */
2013 -moz-border-end: 1px solid #9C9CFF;
2016 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2018 -moz-border-end: 1px solid #008484;
2021 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
2022 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
2023 background-position: right;
2024 background-size: 1px;
2025 background-repeat: no-repeat;
2028 /* page proxy icon */
2030 #page-proxy-favicon {
2033 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
2037 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
2038 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
2041 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
2042 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
2045 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
2046 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
2049 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
2050 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
2053 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
2054 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2057 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
2058 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
2061 #page-proxy-favicon[pageproxystate="invalid"] {
2065 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
2066 list-style-image: url("chrome://branding/content/icon64.png");
2069 #identity-popup-brandName {
2073 margin-bottom: .5em;
2076 #identity-popup-content-box {
2080 /* === END identity-block.inc.css === */
2082 #page-proxy-favicon {
2083 -moz-image-region: rect(0, 16px, 16px, 0);
2086 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2087 /* -moz-margin-end: 1px;*/
2090 #identity-box:hover > #page-proxy-favicon {
2091 -moz-image-region: rect(0, 32px, 16px, 16px);
2094 #identity-box:hover:active > #page-proxy-favicon,
2095 #identity-box[open=true] > #page-proxy-favicon {
2096 -moz-image-region: rect(0, 48px, 16px, 32px);
2099 #identity-box:hover {
2100 background-color: #FFCF00;
2104 #identity-box:hover:active,
2105 #identity-box[open=true] {
2106 background-color: #FF9F00;
2110 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2111 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2112 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2113 background-color: #9C9CFF;
2117 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2118 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2119 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2120 background-color: #008484;
2126 #treecolAutoCompleteImage {
2130 .ac-result-type-bookmark,
2131 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2132 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2133 -moz-image-region: rect(0px 16px 16px 0px);
2138 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2139 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2140 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2143 .ac-result-type-keyword,
2144 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2145 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2146 -moz-image-region: rect(0px 32px 16px 16px);
2151 .ac-result-type-tag,
2152 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2153 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2162 .ac-extra > .ac-comment {
2172 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2173 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2174 -moz-image-region: rect(0, 16px, 16px, 0);
2178 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2179 -moz-image-region: rect(16px, 16px, 32px, 0);
2182 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2186 .ac-comment[selected="true"],
2187 .ac-url-text[selected="true"],
2188 .ac-action-text[selected="true"] {
2189 color: inherit !important;
2192 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2193 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2199 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2200 border-top: 1px solid #9C9CFF;
2203 /* combined go/reload/stop button in location bar */
2205 #urlbar > toolbarbutton {
2206 -moz-margin-start: 0;
2208 background-origin: border-box;
2210 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2211 -moz-border-start: 1px solid #9C9CFF;
2214 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2215 border-top-left-radius: 0px;
2216 border-bottom-left-radius: 0px;
2219 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2220 border-top-right-radius: 0px;
2221 border-bottom-right-radius: 0px;
2224 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2225 #urlbar-reload-button:not(:hover) {
2226 -moz-border-start-style: none;
2227 -moz-padding-start: 3px;
2230 #urlbar-reload-button {
2231 -moz-image-region: rect(0px, 14px, 14px, 0px);
2234 #urlbar-reload-button[disabled=true] {
2235 -moz-image-region: rect(28px, 14px, 42px, 0px);
2238 #urlbar-reload-button:not([disabled=true]):hover {
2239 -moz-image-region: rect(14px, 14px, 28px, 0px);
2242 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2243 transform: scaleX(-1);
2247 -moz-image-region: rect(0, 42px, 14px, 28px);
2250 #urlbar-go-button:hover {
2251 -moz-image-region: rect(14px, 42px, 28px, 28px);
2254 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2255 transform: scaleX(-1);
2258 #urlbar-stop-button {
2259 -moz-image-region: rect(0px, 28px, 14px, 14px);
2262 #urlbar-stop-button:hover {
2263 -moz-image-region: rect(14px, 28px, 28px, 14px);
2266 /* popup blocker button */
2268 #page-report-button {
2269 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2270 -moz-image-region: rect(0, 16px, 16px, 0);
2273 #page-report-button:hover ,
2274 #page-report-button:hover:active,
2275 #page-report-button[open="true"] {
2276 -moz-image-region: rect(0, 32px, 16px, 16px);
2279 /* social share panel */
2281 #social-share-panel > iframe {
2282 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2287 .social-share-toolbar {
2288 border-right: 1px solid #9C9CFF;
2289 /* background-color: #000000; */
2292 #social-share-provider-buttons {
2296 #social-share-provider-buttons > .share-provider-button {
2297 -moz-appearance: none;
2305 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2306 #social-share-provider-buttons > .share-provider-button:hover,
2307 #social-share-provider-buttons > .share-provider-button:active {
2311 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2314 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2317 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2323 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2330 /* fixup corners for share panel */
2331 .social-panel > .social-panel-frame {
2332 border-radius: inherit;
2335 #social-share-panel {
2342 .social-share-frame {
2343 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2346 /* we resize our panels dynamically, make it look nice */
2347 transition: height 100ms ease-out, width 100ms ease-out;
2350 .social-share-frame:-moz-locale-dir(ltr) {
2351 border-top-left-radius: 0;
2352 border-bottom-left-radius: 0;
2353 border-top-right-radius: inherit;
2354 border-bottom-right-radius: inherit;
2357 .social-share-frame:-moz-locale-dir(rtl) {
2358 border-top-left-radius: inherit;
2359 border-bottom-left-radius: inherit;
2360 border-top-right-radius: 0;
2361 border-bottom-right-radius: 0;
2364 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2365 border-top-left-radius: inherit;
2366 border-bottom-left-radius: inherit;
2369 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2370 border-top-right-radius: inherit;
2371 border-bottom-right-radius: inherit;
2374 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2375 border-top-left-radius: inherit;
2376 border-bottom-left-radius: inherit;
2379 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2380 border-top-right-radius: inherit;
2381 border-bottom-right-radius: inherit;
2384 /* social recommending panel */
2386 #social-mark-button {
2387 -moz-image-region: rect(0, 16px, 16px, 0);
2390 /* bookmarks menu-button */
2392 #bookmarks-menu-button.bookmark-item {
2393 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2394 -moz-image-region: rect(0px 16px 16px 0px);
2397 #bookmarks-menu-button.bookmark-item[starred] {
2398 -moz-image-region: rect(0px 32px 16px 16px);
2401 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2402 -moz-margin-start: 5px;
2405 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2407 padding-bottom: 2px;
2410 #BMB_bookmarksPopup[side="top"],
2411 #BMB_bookmarksPopup[side="bottom"] {
2413 margin-right: -20px;
2416 #BMB_bookmarksPopup[side="left"],
2417 #BMB_bookmarksPopup[side="right"] {
2419 margin-bottom: -20px;
2422 /* bookmarking panel */
2424 #editBookmarkPanelStarIcon {
2425 list-style-image: url("chrome://browser/skin/places/starred48.png");
2430 #editBookmarkPanelStarIcon[unstarred] {
2431 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2434 #editBookmarkPanelTitle {
2438 #editBookmarkPanelHeader,
2439 #editBookmarkPanelContent {
2440 margin-bottom: .5em;
2443 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2444 #editBMPanel_folderTree {
2451 border-top: 1px solid #9C9CFF;
2452 border-bottom-left-radius: 5px;
2453 border-bottom-right-radius: 5px;
2457 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2458 -moz-margin-end: 10px;
2459 vertical-align: middle;
2462 .panel-promo-closebutton {
2463 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2464 -moz-margin-end: -3px;
2468 .panel-promo-closebutton:hover {
2469 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2472 .panel-promo-closebutton:hover:active {
2473 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2476 .panel-promo-closebutton > .toolbarbutton-text {
2480 /* ::::: content area ::::: */
2483 background-color: Window;
2487 -moz-padding-start: 0px;
2490 #sidebar-header > .close-icon {
2491 /* padding: 4px 2px;
2494 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2497 #sidebar-header > .close-icon:hover,
2498 #sidebar-header > .close-icon:hover:active {
2499 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2502 .browserContainer > findbar {
2504 background-color: -moz-dialog;
2505 color: -moz-DialogText;
2514 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2517 #TabsToolbar .toolbar-holder {
2518 background-color: #000000; /* correct effect of being an actual toolbar */
2521 #main-window[disablechrome] #TabsToolbar,
2522 #TabsToolbar[tabsontop="false"] {
2523 border-bottom: 1px solid #008484;
2526 /* === BEGIN tabs.inc.css === */
2529 .tabs-newtab-button,
2530 #TabsToolbar > #new-tab-button {
2535 padding: 1px 4px 2px;
2538 .tabbrowser-tab:first-of-type {
2539 -moz-margin-start: 2px;
2542 .tabs-newtab-button,
2543 #TabsToolbar > #new-tab-button {
2544 border-radius: 8px 8px 0px 0px;
2545 -moz-margin-start: 0;
2548 .tabs-newtab-button:not(:hover),
2549 #TabsToolbar > #new-tab-button:not(:hover) {
2550 background-color: #C09070;
2553 .tabbrowser-tab[remote] {
2554 text-decoration: underline;
2557 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2558 .tabbrowser-tab[selected=true] {
2559 /* position: relative;
2563 .tab-background-middle {
2581 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2584 .tab-throbber[busy] {
2585 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2588 .tab-throbber[progress] {
2589 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2592 .tab-throbber:not([pinned]),
2593 .tab-icon-image:not([pinned]) {
2594 -moz-margin-end: 3px;
2597 .tab-throbber[pinned],
2598 .tab-icon-image[pinned] {
2599 -moz-margin-start: 2px;
2600 -moz-margin-end: 2px;
2604 /* this needs to add up to the 16px of the icon image */
2606 margin-top: 2px !important;
2607 margin-bottom: 2px !important;
2616 .tabs-newtab-button {
2617 /* overlap the tab curves */
2620 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2624 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2625 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2628 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2629 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2632 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2635 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2638 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2639 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2642 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2643 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2646 .tab-background-start[selected=true]::after,
2647 .tab-background-start[selected=true]::before,
2648 .tab-background-start,
2649 .tab-background-end,
2650 .tab-background-end[selected=true]::after,
2651 .tab-background-end[selected=true]::before {
2654 .tabbrowser-tab:not([selected=true]),
2655 .tabbrowser-tab:-moz-lwtheme {
2658 /* tabbrowser-tab focus ring */
2659 .tabbrowser-tab:focus {
2660 outline: 1px dotted;
2665 .tabbrowser-tab[selected="true"] {
2668 /* End selected tab */
2670 /* Tab pointer-events */
2673 pointer-events: none;
2676 .tab-background-middle,
2677 .tabs-newtab-button,
2679 pointer-events: auto;
2684 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2685 background-color: #E7ADE7;
2688 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2689 background-color: #3333FF;
2693 /* New tab button */
2695 .tabs-newtab-button {
2699 /* === END tabs.inc.css === */
2703 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2704 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2705 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2707 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2708 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2711 /* Tab DnD indicator */
2712 .tab-drop-indicator {
2713 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2714 margin-bottom: -11px;
2717 /* Tab close button */
2719 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2722 .tab-close-button:hover,
2723 .tab-close-button:hover[selected="true"] {
2724 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2727 .tab-close-button:hover:active,
2728 .tab-close-button:hover:active[selected="true"] {
2729 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2732 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2734 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2735 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2739 background-origin: border-box;
2742 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2743 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2744 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2745 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2748 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2749 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2752 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2753 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2754 /* transform: scaleX(-1);*/
2757 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2758 transition: 1s background-color ease-out;
2761 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2762 background-color: #008484;
2765 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2766 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2767 /* border-width: 0 2px 0 0;
2768 border-style: solid;
2769 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2772 .tabs-newtab-button > .toolbarbutton-icon {
2774 margin-bottom: -1px;
2777 .tabs-newtab-button,
2778 #TabsToolbar > #new-tab-button,
2779 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2780 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2781 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2782 -moz-image-region: rect(0, 16px, 18px, 0);
2785 .tabs-newtab-button,
2786 .tabs-newtab-button:hover,
2787 #TabsToolbar > #new-tab-button,
2788 #TabsToolbar > #new-tab-button:hover {
2789 -moz-image-region: rect(0, 32px, 18px, 16px);
2792 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2793 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2794 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2795 .tabs-newtab-button:-moz-lwtheme-brighttext,
2796 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2797 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2800 #TabsToolbar > #new-tab-button {
2805 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2808 #alltabs-button:hover,
2809 #alltabs-button:hover:active,
2810 #alltabs-button[open="true"] {
2811 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2814 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2815 #alltabs-button:-moz-lwtheme-brighttext {
2818 #alltabs-button > .toolbarbutton-icon {
2822 #alltabs-button > .toolbarbutton-menu-dropmarker {
2826 /* All tabs menupopup */
2827 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2828 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2829 -moz-image-region: auto;
2832 .alltabs-item[selected="true"] {
2836 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2837 list-style-image: url("chrome://global/skin/icons/loading.gif");
2840 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2841 background-color: #402800;
2844 toolbarbutton.chevron {
2845 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2848 toolbarbutton.chevron:hover {
2849 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2852 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2853 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2854 transform: scaleX(-1);
2857 toolbarbutton.chevron > .toolbarbutton-text,
2858 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2862 toolbarbutton.chevron > .toolbarbutton-icon {
2866 #sidebar-throbber[loading="true"] {
2867 list-style-image: url("chrome://global/skin/icons/loading.gif");
2868 -moz-margin-end: 4px;
2871 /* Bookmarks toolbar */
2872 #PlacesToolbarDropIndicator {
2873 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2876 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2877 background-color: #008484 !important;
2878 color: #FFCF00 !important;
2881 /* rules for menupopup drop indicators */
2882 .menupopup-drop-indicator-bar {
2884 /* these two margins must together compensate the indicator's height */
2886 margin-bottom: -1px;
2889 .menupopup-drop-indicator {
2890 list-style-image: none;
2892 -moz-margin-end: -4em;
2893 background-color: #008484;
2896 /* ::::: Identity Indicator Styling ::::: */
2899 #identity-popup-icon {
2903 list-style-image: url("chrome://browser/skin/identity.png");
2904 -moz-image-region: rect(0px, 64px, 64px, 0px);
2907 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2908 -moz-image-region: rect(64px, 64px, 128px, 0px);
2911 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2912 -moz-image-region: rect(128px, 64px, 192px, 0px);
2915 /* Popup Body Text */
2916 .identity-popup-description {
2917 white-space: pre-wrap;
2918 -moz-padding-start: 15px;
2922 .identity-popup-label {
2923 white-space: pre-wrap;
2924 -moz-padding-start: 15px;
2928 #identity-popup-content-host,
2929 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2933 #identity-popup-content-host {
2940 #identity-popup-content-owner {
2942 margin-bottom: 0 !important;
2947 .verifiedDomain > #identity-popup-content-owner {
2948 font-weight: normal;
2951 #identity-popup-content-verifier {
2955 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2956 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2958 -moz-margin-start: -24px;
2961 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2962 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2963 list-style-image: url("chrome://browser/skin/Secure24.png");
2966 #identity-popup-help-icon {
2968 margin: 7px 0 0 -3px;
2971 list-style-image: url("chrome://global/skin/icons/question-16.png");
2975 #identity-popup-help-icon > .button-box > .button-text {
2979 #identity-popup-help-icon > .button-box > .button-icon {
2984 #identity-popup-more-info-button {
2990 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2994 #identity-popup-container {
2999 #identity-popup-button-container {
3000 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
3005 .popup-notification-icon {
3008 -moz-margin-end: 10px;
3011 .popup-notification-icon[popupid="geolocation"] {
3012 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
3015 .popup-notification-icon[popupid="xpinstall-disabled"],
3016 .popup-notification-icon[popupid="addon-progress"],
3017 .popup-notification-icon[popupid="addon-install-cancelled"],
3018 .popup-notification-icon[popupid="addon-install-blocked"],
3019 .popup-notification-icon[popupid="addon-install-failed"],
3020 .popup-notification-icon[popupid="addon-install-complete"] {
3021 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
3026 .popup-notification-icon[popupid="click-to-play-plugins"] {
3027 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
3030 .popup-notification-icon[popupid="plugins-not-found"] {
3031 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
3034 .popup-notification-icon[popupid="web-notifications"] {
3035 list-style-image: url("chrome://browser/skin/notification-64.png");
3038 .addon-progress-description {
3043 .popup-progress-label,
3044 .popup-progress-meter {
3045 -moz-margin-start: 0;
3049 .popup-progress-cancel {
3050 -moz-appearance: none;
3051 background: transparent;
3057 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
3058 -moz-image-region: rect(0px, 32px, 16px, 16px);
3061 .popup-progress-cancel:hover {
3062 -moz-image-region: rect(16px, 32px, 32px, 16px);
3065 .popup-progress-cancel:active {
3066 -moz-image-region: rect(32px, 32px, 48px, 16px);
3069 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
3070 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
3071 .popup-notification-icon[popupid*="offline-app-requested"],
3072 .popup-notification-icon[popupid="offline-app-usage"] {
3073 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3076 .popup-notification-icon[popupid="password-save"],
3077 .popup-notification-icon[popupid="password-change"] {
3078 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3081 .popup-notification-icon[popupid="webapps-install-progress"],
3082 .popup-notification-icon[popupid="webapps-install"] {
3083 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3086 .popup-notification-icon[popupid="mixed-content-blocked"],
3087 .popup-notification-icon[popupid="bad-content"] {
3088 list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
3091 .popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
3092 .popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
3093 list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
3096 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3097 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3098 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3101 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3102 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3103 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3106 .popup-notification-icon[popupid="webRTC-sharingScreen"],
3107 .popup-notification-icon[popupid="webRTC-shareScreen"] {
3108 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
3111 .popup-notification-icon[popupid="pointerLock"] {
3112 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3115 /* Notification icon box */
3116 #notification-popup .panel-promo-box {
3117 /* margin: 10px -10px -10px; */
3120 #notification-popup-box {
3122 background-color: #000000;
3123 background-clip: padding-box;
3126 border-radius: 3px 0 0 3px;
3127 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3128 -moz-margin-end: -8px;
3129 border-right-width: 8px;
3132 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3133 /* padding-left: 7px; */
3136 #notification-popup-box:-moz-locale-dir(rtl),
3137 .notification-anchor-icon:-moz-locale-dir(rtl) {
3138 transform: scaleX(-1);
3141 .notification-anchor-icon {
3147 .notification-anchor-icon:-moz-focusring {
3148 outline: 1px dotted #008484;
3151 .default-notification-icon,
3152 #default-notification-icon {
3153 list-style-image: url("chrome://global/skin/icons/information-16.png");
3156 .identity-notification-icon,
3157 #identity-notification-icon {
3158 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3161 .geo-notification-icon,
3162 #geo-notification-icon {
3163 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3166 #addons-notification-icon {
3167 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3170 .indexedDB-notification-icon,
3171 #indexedDB-notification-icon {
3172 list-style-image: url("chrome://global/skin/icons/question-16.png");
3175 #password-notification-icon {
3176 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3179 #webapps-notification-icon {
3180 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3183 #plugins-notification-icon {
3184 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3187 #plugins-notification-icon.plugin-hidden {
3188 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3191 #plugins-notification-icon.plugin-blocked {
3192 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3195 #plugins-notification-icon {
3196 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3199 #plugins-notification-icon:hover {
3200 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3203 #plugin-install-notification-icon {
3204 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3207 #notification-popup-box[hidden] {
3208 /* Override display:none to make the pluginBlockedNotification animation work
3209 when showing the notification repeatedly. */
3211 visibility: collapse;
3214 #plugins-notification-icon.plugin-blocked[showing] {
3215 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3218 @keyframes pluginBlockedNotification {
3227 .mixed-content-blocked-notification-icon,
3228 #mixed-content-blocked-notification-icon,
3229 .bad-content-blocked-notification-icon,
3230 #bad-content-blocked-notification-icon {
3231 list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
3234 .bad-content-unblocked-notification-icon,
3235 #bad-content-unblocked-notification-icon {
3236 list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png);
3239 .webRTC-shareDevices-notification-icon,
3240 #webRTC-shareDevices-notification-icon {
3241 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3244 .webRTC-sharingDevices-notification-icon,
3245 #webRTC-sharingDevices-notification-icon {
3246 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3249 .webRTC-shareMicrophone-notification-icon,
3250 #webRTC-shareMicrophone-notification-icon {
3251 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3254 .webRTC-sharingMicrophone-notification-icon,
3255 #webRTC-sharingMicrophone-notification-icon {
3256 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3259 .webRTC-shareScreen-notification-icon,
3260 #webRTC-shareScreen-notification-icon {
3261 list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
3264 .webRTC-sharingScreen-notification-icon,
3265 #webRTC-sharingScreen-notification-icon {
3266 list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
3269 .web-notifications-notification-icon,
3270 #web-notifications-notification-icon {
3271 list-style-image: url("chrome://browser/skin/notification-16.png");
3274 #pointerLock-notification-icon {
3275 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3277 #pointerLock-cancel {
3281 /* Translation infobar */
3283 /* === BEGIN infobar.inc.css === */
3285 notification[value="translation"] .messageImage {
3286 list-style-image: url("chrome://browser/skin/translation-16.png");
3287 -moz-image-region: rect(0, 32px, 16px, 16px);
3290 @media (min-resolution: 1.25dppx) {
3291 notification[value="translation"] .messageImage {
3292 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3293 -moz-image-region: rect(0, 64px, 32px, 32px);
3297 notification[value="translation"][state="translating"] .messageImage {
3298 list-style-image: url("chrome://browser/skin/translating-16.png");
3299 -moz-image-region: auto;
3302 @media (min-resolution: 1.25dppx) {
3303 notification[value="translation"][state="translating"] .messageImage {
3304 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3308 notification[value="translation"] button,
3309 notification[value="translation"] menulist {
3313 notification[value="translation"] menulist > .menulist-dropmarker {
3316 .translation-menupopup arrowscrollbox {
3320 .translation-attribution {
3322 -moz-box-align: end;
3326 .translation-attribution > label {
3330 .translation-attribution > image {
3334 /* === END infobar.inc.css === */
3336 notification[value="translation"] {
3340 .translate-notification-icon,
3341 #translate-notification-icon {
3342 list-style-image: url("chrome://browser/skin/translation-16.png");
3343 -moz-image-region: rect(0px, 16px, 16px, 0px);
3346 .translated-notification-icon,
3347 #translated-notification-icon {
3348 list-style-image: url("chrome://browser/skin/translation-16.png");
3349 -moz-image-region: rect(0px, 32px, 16px, 16px);
3352 .translation-menupopup {
3353 -moz-appearance: none;
3356 /* Bookmarks roots menu-items */
3357 #subscribeToPageMenuitem:not([disabled]),
3358 #subscribeToPageMenupopup,
3359 #BMB_subscribeToPageMenuitem:not([disabled]),
3360 #BMB_subscribeToPageMenupopup {
3361 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3364 #bookmarksToolbarFolderMenu,
3365 #BMB_bookmarksToolbar,
3366 #panelMenu_bookmarksToolbar {
3367 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3368 -moz-image-region: auto;
3371 #BMB_unsortedBookmarks,
3372 #panelMenu_unsortedBookmarks {
3373 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3374 -moz-image-region: auto;
3377 /* ::::: Keyboard UI Panel ::::: */
3382 border-radius: 20px;
3385 .KUI-panel[level="top"] {
3386 /*background-color: rgba(27%,27%,27%,.65);*/
3392 padding: 20px 10px 10px;
3396 .ctrlTab-favicon[src] {
3397 background-color: #000000;
3403 .ctrlTab-preview-inner > .tabPreview-canvas {
3406 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3410 .ctrlTab-preview-inner {
3411 padding-bottom: 10px;
3414 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3416 background-color: #000000;
3417 border-radius: .5em;
3420 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3422 background-color: #000000;
3425 border: 2px solid #9C9CFF;
3426 border-radius: .5em;
3429 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3430 margin: -10px -10px 0;
3442 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3450 .sync-panel-button-box {
3454 #sync-error-panel-title,
3455 #sync-start-panel-title {
3461 #sync-start-panel-subtitle,
3462 #sync-error-panel-subtitle {
3468 .statuspanel-label {
3471 background: #404000;
3472 border: 1px none #9C9CFF;
3473 border-top-style: solid;
3478 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3479 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3480 border-right-style: solid;
3481 border-top-right-radius: .3em;
3485 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3486 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3487 border-left-style: solid;
3488 border-top-left-radius: .3em;
3492 /* HACK to abolish devily color on main content */
3495 background-color: transparent !important;
3498 /* === BEGIN highlighter.inc.css === */
3500 /* Box model highlighter */
3501 svg|g.box-model-container {
3505 svg|polygon.box-model-content {
3509 svg|polygon.box-model-padding {
3513 svg|polygon.box-model-border {
3517 svg|polygon.box-model-margin {
3521 svg|polygon.box-model-content,
3522 svg|polygon.box-model-padding,
3523 svg|polygon.box-model-border,
3524 svg|polygon.box-model-margin {
3528 svg|line.box-model-guide-top,
3529 svg|line.box-model-guide-right,
3530 svg|line.box-model-guide-bottom,
3531 svg|line.box-model-guide-left {
3533 stroke-dasharray: 5 3;
3534 shape-rendering: crispEdges;
3537 /* Highlighter - Node Infobar */
3539 .highlighter-nodeinfobar {
3542 background-color: #000000;
3543 background-clip: padding-box;
3544 border: 1px solid #008484;
3546 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3551 /* Highlighter - Node Infobar - text */
3553 .highlighter-nodeinfobar-text {
3555 /* 100% - size of the buttons and margins */
3556 max-width: calc(100% - 2 * (26px + 6px));
3557 padding-bottom: 1px;
3560 html|*.highlighter-nodeinfobar-tagname {
3564 html|*.highlighter-nodeinfobar-id {
3568 html|*.highlighter-nodeinfobar-pseudo-classes {
3572 html|*.highlighter-nodeinfobar-dimensions {
3574 -moz-border-start: 1px solid #9C9CFF;
3575 -moz-margin-start: 6px;
3576 -moz-padding-start: 6px;
3579 /* Highlighter - Node Infobar - box & arrow */
3581 .highlighter-nodeinfobar-arrow {
3584 -moz-margin-start: calc(50% - 7px);
3585 transform: rotate(-45deg);
3586 background-clip: padding-box;
3587 background-repeat: no-repeat;
3590 .highlighter-nodeinfobar-arrow-top {
3591 margin-bottom: -8px;
3593 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3596 .highlighter-nodeinfobar-arrow-bottom {
3599 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3602 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3606 /* Css transform highlighter */
3608 svg|polygon.css-transform-transformed {
3613 svg|polygon.css-transform-untransformed {
3618 svg|polygon.css-transform-transformed,
3619 svg|polygon.css-transform-untransformed,
3620 svg|line.css-transform-line {
3622 stroke-dasharray: 5 3;
3626 /* === END highlighter.inc.css === */
3628 #full-screen-warning-message {
3629 background-color: #000000;
3634 box-shadow: 0 0 2px #9C9CFF;
3637 #full-screen-warning-container[obscure-browser] {
3638 background-color: rgba(0,0,0,0.3);
3641 .full-screen-description {
3645 #full-screen-domain-text {
3649 .full-screen-approval-button,
3650 #full-screen-remember-decision {
3654 /* === BEGIN commandline.inc.css === */
3656 /* Developer toolbar */
3658 #developer-toolbar {
3659 border-top: 3px solid #000000;
3660 border-bottom: none;
3663 #developer-toolbar .toolbar-holder {
3664 background-color: #8050B0;
3668 #developer-toolbar .toolbar-holder {
3669 background-color: #8050B0;
3673 #developer-toolbar .toolbar-startcap,
3674 #developer-toolbar .toolbar-endcap{
3675 background-color: #6000CF;
3678 #developer-toolbar {
3680 min-height: 32px; */
3683 #developer-toolbar > toolbarbutton {
3689 .developer-toolbar-button > image {
3690 /* margin: auto 10px; */
3693 #developer-toolbar-toolbox-button > label {
3697 .developer-toolbar-button > .toolbarbutton-icon,
3698 #developer-toolbar-closebutton > .toolbarbutton-icon {
3703 #developer-toolbar-toolbox-button {
3704 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3705 -moz-image-region: rect(0px, 16px, 16px, 0px);
3708 #developer-toolbar-toolbox-button > label {
3712 #developer-toolbar-toolbox-button:hover,
3713 #developer-toolbar-toolbox-button:hover:active,
3714 #developer-toolbar-toolbox-button[checked=true] {
3715 -moz-image-region: rect(0px, 32px, 16px, 16px);
3718 @media (min-resolution: 2dppx) {
3719 #developer-toolbar-toolbox-button {
3720 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3721 -moz-image-region: rect(0px, 32px, 32px, 0px);
3724 #developer-toolbar-toolbox-button:hover,
3725 #developer-toolbar-toolbox-button:hover:active,
3726 #developer-toolbar-toolbox-button[checked=true] {
3727 -moz-image-region: rect(0px, 64px, 32px, 32px);
3731 #developer-toolbar-closebutton {
3732 list-style-image: url("chrome://browser/skin/devtools/close.png");
3733 -moz-image-region: rect(0px, 16px, 16px, 0px);
3738 #developer-toolbar-closebutton > .toolbarbutton-icon {
3741 #developer-toolbar-closebutton > .toolbarbutton-text {
3745 #developer-toolbar-closebutton:hover,
3746 #developer-toolbar-closebutton:hover:active {
3747 -moz-image-region: rect(0px, 32px, 16px, 16px);
3750 @media (min-resolution: 2dppx) {
3751 #developer-toolbar-closebutton {
3752 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3753 -moz-image-region: rect(0px, 32px, 32px, 0px);
3756 #developer-toolbar-closebutton:hover,
3757 #developer-toolbar-closebutton:hover:active {
3758 -moz-image-region: rect(0px, 64px, 32px, 32px);
3764 html|*#gcli-tooltip-frame,
3765 html|*#gcli-output-frame {
3768 background-color: transparent;
3774 background-color: transparent;
3777 .gclitoolbar-input-node,
3778 .gclitoolbar-complete-node {
3780 -moz-box-align: center;
3784 background-color: transparent;
3787 .gclitoolbar-input-node {
3788 /* line-height: 32px;
3789 outline-style: none; */
3790 background-repeat: no-repeat;
3791 background-color: rgba(0, 0, 0, .75);
3794 .gclitoolbar-input-node[focused="true"] {
3795 background-color: #000000;
3798 .gclitoolbar-input-node::before {
3800 display: inline-block;
3801 -moz-box-ordinal-group: 0;
3805 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3806 background-position: 0 center;
3807 background-size: 32px 16px;
3810 .gclitoolbar-input-node[focused="true"]::before {
3811 background-position: -16px center;
3814 @media (min-resolution: 2dppx) {
3815 .gclitoolbar-input-node::before {
3816 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3820 .gclitoolbar-input-node:not([focused="true"]) {
3821 border-color: transparent;
3824 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3825 background-color: #008484;
3830 .gclitoolbar-complete-node {
3832 background-color: transparent;
3835 pointer-events: none;
3838 .gcli-in-incomplete,
3842 .gcli-in-closebrace,
3849 .gcli-in-incomplete {
3850 border-bottom: 2px dotted #8050B0;
3854 border-bottom: 2px dotted #FF0000;
3865 .gcli-in-closebrace {
3869 /* === END commandline.inc.css === */
3871 /* === BEGIN responsivedesign.inc.css === */
3873 /* Responsive Mode */
3875 .browserContainer[responsivemode] {
3876 background-color: #221500;
3877 padding: 0 20px 20px 20px;
3880 .browserStack[responsivemode] {
3881 box-shadow: 0 0 7px #9C9CFF;
3884 .devtools-responsiveui-toolbar {
3885 background: transparent;
3886 /* text color is textColor from dark theme, since no theme is applied to
3887 * the responsive toolbar.
3893 border-bottom-width: 0;
3896 .devtools-responsiveui-menulist,
3897 .devtools-responsiveui-toolbarbutton {
3898 -moz-box-align: center;
3900 /* min-height: 22px;*/
3901 /* margin: 0 3px; */
3904 .devtools-responsiveui-menulist .menulist-editable-box {
3905 background-color: transparent;
3908 .devtools-responsiveui-menulist html|*.menulist-editable-input {
3913 .devtools-responsiveui-menulist html|*.menulist-editable-input::-moz-selection {
3914 /* background: hsla(212,7%,57%,.35);*/
3917 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
3922 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3923 -moz-box-orient: horizontal;
3926 .devtools-responsiveui-menulist:-moz-focusring,
3927 .devtools-responsiveui-toolbarbutton:-moz-focusring {
3928 /* outline: 1px dotted hsla(210,30%,85%,0.7);
3929 outline-offset: -4px;*/
3932 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3936 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3937 /* border-color: hsla(210,8%,5%,.6);
3938 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3939 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); */
3942 .devtools-responsiveui-menulist[open=true],
3943 .devtools-responsiveui-toolbarbutton[open=true],
3944 .devtools-responsiveui-toolbarbutton[checked=true] {
3945 /* border-color: hsla(210,8%,5%,.6) !important;
3946 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3947 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); */
3950 .devtools-responsiveui-toolbarbutton[checked=true] {
3951 /* color: hsl(208,100%,60%); */
3954 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
3955 /* background-color: transparent !important;*/
3958 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3959 /* background-color: hsla(210,8%,5%,.2) !important;*/
3962 .devtools-responsiveui-menulist > .menulist-label-box {
3966 .devtools-responsiveui-menulist > .menulist-dropmarker {
3967 /* display: -moz-box;
3968 background-color: transparent;
3969 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
3970 -moz-box-align: center;
3975 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3978 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3979 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3982 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3983 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3986 .devtools-responsiveui-toolbarbutton[type=menu-button] {
3987 /* padding: 0 1px;*/
3988 -moz-box-align: stretch;
3991 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3992 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3993 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
3994 -moz-box-align: center;
3998 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3999 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
4003 .devtools-responsiveui-close {
4004 list-style-image: url("chrome://browser/skin/devtools/close.png");
4005 -moz-image-region: rect(0px,16px,16px,0px);
4008 .devtools-responsiveui-close:hover {
4009 -moz-image-region: rect(0px,32px,16px,16px);
4012 .devtools-responsiveui-rotate {
4013 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
4014 -moz-image-region: rect(0px,16px,16px,0px);
4017 .devtools-responsiveui-rotate:hover {
4018 -moz-image-region: rect(0px,32px,16px,16px);
4021 @media (min-resolution: 2dppx) {
4022 .devtools-responsiveui-close {
4023 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
4026 .devtools-responsiveui-close:hover {
4027 -moz-image-region: rect(0px,64px,32px,32px);
4030 .devtools-responsiveui-rotate {
4031 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
4034 .devtools-responsiveui-rotate:hover {
4035 -moz-image-region: rect(0px,64px,32px,32px);
4039 .devtools-responsiveui-touch {
4040 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
4041 -moz-image-region: rect(0px,16px,16px,0px);
4044 .devtools-responsiveui-touch:hover,
4045 .devtools-responsiveui-touch[checked],
4046 .devtools-responsiveui-touch[checked]:hover {
4047 -moz-image-region: rect(0px,32px,16px,16px);
4050 @media (min-resolution: 2dppx) {
4051 .devtools-responsiveui-touch {
4052 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
4053 -moz-image-region: rect(0px,32px,32px,0px);
4056 .devtools-responsiveui-touch:hover,
4057 .devtools-responsiveui-touch[checked],
4058 .devtools-responsiveui-touch[checked]:hover {
4059 -moz-image-region: rect(0px,64px,32px,32px);
4063 .devtools-responsiveui-screenshot {
4064 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
4065 -moz-image-region: rect(0px,16px,16px,0px);
4068 .devtools-responsiveui-screenshot:hover {
4069 -moz-image-region: rect(0px,32px,16px,16px);
4072 @media (min-resolution: 2dppx) {
4073 .devtools-responsiveui-screenshot {
4074 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
4077 .devtools-responsiveui-screenshot:hover {
4078 -moz-image-region: rect(0px,64px,32px,32px);
4082 .devtools-responsiveui-resizebarV {
4086 transform: translate(12px, -12px);
4087 background-size: cover;
4088 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
4091 .devtools-responsiveui-resizebarH {
4095 transform: translate(-12px, 12px);
4096 background-size: cover;
4097 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
4100 .devtools-responsiveui-resizehandle {
4104 transform: translate(12px, 12px);
4105 background-size: cover;
4106 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
4109 @media (min-resolution: 2dppx) {
4110 .devtools-responsiveui-resizebarV {
4111 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
4114 .devtools-responsiveui-resizebarH {
4115 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
4118 .devtools-responsiveui-resizehandle {
4119 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
4123 /* === END responsivedesign.inc.css === */
4125 /* === including indicator.css is done at the start of the file === */
4129 #developer-toolbar-toolbox-button[error-count]:before {
4133 background-color: #FF0000;
4135 -moz-margin-end: 5px;
4138 /* Social toolbar item */
4140 #social-provider-button {
4141 -moz-image-region: rect(0, 16px, 16px, 0);
4142 list-style-image: url("chrome://browser/skin/social/services-16.png");
4145 #social-provider-button > .toolbarbutton-menu-dropmarker {
4149 .toolbarbutton-badge-container {
4155 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
4159 .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
4165 .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
4169 .toolbarbutton-badge[badge=""] {
4172 .toolbarbutton-badge[badge]:not([badge=""])::after {
4173 /* The |content| property is set in the content stylesheet. */
4178 background-color: #000000;
4179 border: 1px solid #9C9CFF;
4186 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
4191 .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
4196 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
4201 #social-notification-icon-mentions {
4202 background-color: #000000;
4204 -moz-margin-start: 2px;
4207 #social-notification-icon-mentions:hover {
4208 background-color: #FFCF00;
4211 #social-notification-icon-mentions[open="true"] {
4212 background-color: #FF9F00;
4215 #social-sidebar-splitter {
4219 .popup-notification-icon[popupid="servicesInstall"] {
4220 list-style-image: url("chrome://browser/skin/social/services-64.png");
4222 #servicesInstall-notification-icon {
4223 list-style-image: url("chrome://browser/skin/social/services-16.png");
4225 #social-undoactivation-button {
4226 -moz-margin-start: 0; /* override default label margin to match description margin */
4229 #socialActivatedNotification .popup-notification-button-container {
4233 .social-activation-icon {
4240 #social-activation-message {
4244 #social-activation-message > label {
4248 /* social toolbar provider menu */
4249 .social-statusarea-popup {
4252 margin-right: -12px;
4255 .social-statusarea-user {
4256 border-bottom: 1px solid #9C9CFF;
4257 background-color: #000000;
4263 .social-statusarea-user-portrait {
4270 .social-statusarea-loggedInStatus {
4271 background: transparent;
4276 list-style-image: none;
4279 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4280 text-decoration: underline;
4283 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4287 .social-panel-frame {
4288 border-radius: inherit;
4291 /* === BEGIN chat.inc.css === */
4293 #social-sidebar-header {
4297 #social-sidebar-button {
4298 -moz-appearance: none;
4299 list-style-image: url("chrome://browser/skin/social/gear_default.png");
4304 #social-sidebar-button > .toolbarbutton-icon {
4308 #social-sidebar-button:hover,
4309 #social-sidebar-button:hover:active {
4310 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
4312 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4316 #social-sidebar-button[loading="true"] {
4317 list-style-image: url("chrome://global/skin/icons/loading.gif");
4320 #social-sidebar-favico {
4333 .chat-toolbarbutton {
4334 -moz-appearance: none;
4342 .chat-toolbarbutton > .toolbarbutton-text {
4346 .chat-toolbarbutton > .toolbarbutton-icon {
4350 .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
4355 .chat-close-button {
4356 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4357 -moz-image-region: rect(0, 16px, 16px, 0);
4360 .chat-close-button:hover,
4361 .chat-close-button:hover:active {
4362 -moz-image-region: rect(0, 32px, 16px, 16px);
4365 .chat-minimize-button {
4366 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4367 -moz-image-region: rect(16px, 16px, 32px, 0);
4370 .chat-minimize-button:hover:active,
4371 .chat-minimize-button:hover {
4372 -moz-image-region: rect(16px, 32px, 32px, 16px);
4376 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4377 -moz-image-region: rect(48px, 16px, 64px, 0);
4380 .chat-swap-button:hover:active,
4381 .chat-swap-button:hover {
4382 -moz-image-region: rect(48px, 32px, 64px, 16px);
4385 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4386 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4387 -moz-image-region: rect(32px, 16px, 48px, 0);
4390 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
4391 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
4392 -moz-image-region: rect(32px, 32px, 48px, 16px);
4397 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4403 background-color: #9C9CFF;
4410 -moz-padding-start: 6px;
4412 border-bottom: 1px solid #008484;
4416 .chat-titlebar > .notification-anchor-icon {
4421 .chat-titlebar[minimized="true"] {
4422 border-bottom: none;
4425 .chat-titlebar[selected] {
4426 background-color: #008484;
4429 .chat-titlebar[activity] {
4430 background-color: #E7ADE7;
4440 list-style-image: url("chrome://browser/skin/social/services-16.png");
4441 background-color: #000000;
4447 border-top: 1px solid #008484;
4448 -moz-border-end: 1px solid #008484;
4451 @media (min-resolution: 2dppx) {
4453 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4457 .chatbar-button > .toolbarbutton-icon {
4461 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4468 .chatbar-button > .toolbarbutton-icon {
4472 .chatbar-button:hover > .toolbarbutton-icon,
4473 .chatbar-button[open="true"] > .toolbarbutton-icon {
4477 .chatbar-button:hover,
4478 .chatbar-button[open="true"] {
4481 .chatbar-button > .toolbarbutton-text,
4482 .chatbar-button > .toolbarbutton-menu-dropmarker {
4486 .chatbar-button[activity]:not([open="true"]) {
4487 background-color: #E7ADE7;
4490 .chatbar-button > menupopup > menuitem[activity] {
4495 background: transparent;
4501 -moz-margin-end: 20px;
4507 -moz-margin-start: 4px;
4508 background-color: #000000;
4509 border: 1px solid #9C9CFF;
4510 border-bottom: none;
4511 border-top-left-radius: 2.5px;
4512 border-top-right-radius: 2.5px;
4515 chatbox[minimized="true"] {
4521 -moz-margin-start: 0px;
4527 /* === END chat.inc.css === */
4530 /* background-color: #c4cfde; */
4533 .chat-titlebar[selected] {
4534 /* background-color: #dae3f0; */
4538 -moz-appearance: none;
4539 /* background-color: #c4cfde; */
4542 .chatbar-button > .toolbarbutton-icon {
4543 /* -moz-margin-end: 0; */
4546 .chatbar-button:hover,
4547 .chatbar-button[open="true"] {
4548 /* background-color: #dae3f0; */
4551 .chatbar-button[activity]:not([open="true"]) {
4555 /* border-top-left-radius: 2.5px;
4556 border-top-right-radius: 2.5px; */
4559 /* === BEGIN plugin-doorhanger.inc.css === */
4562 * Plugin Doorhanger Styles
4565 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4566 padding: 6px 1px 2px;
4569 .click-to-play-plugins-notification-center-box {
4572 .plugin-popupnotification-centeritem:nth-child(odd) {
4573 /* background-color: rgba(0,0,0,0.1);*/
4576 .center-item-label {
4578 text-overflow: ellipsis;
4581 .center-item-warning-icon {
4582 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4583 background-repeat: no-repeat;
4586 -moz-margin-start: 6px;
4589 .click-to-play-plugins-notification-button-container {
4592 .click-to-play-popup-button {
4596 .click-to-play-plugins-notification-description-box {
4600 padding-bottom: 3px;
4603 .click-to-play-plugins-outer-description {
4607 .click-to-play-plugins-notification-link,
4612 .messageImage[value="plugin-hidden"] {
4613 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4616 /* Keep any changes to this style in sync with pluginProblem.css */
4617 notification.pluginVulnerable {
4620 notification.pluginVulnerable .messageImage {
4621 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4624 /* === END plugin-doorhanger.inc.css === */
4626 /* === BEGIN badcontent-doorhanger.inc.css === */
4628 .popup-notification-item-title[popupid="bad-content"] {
4632 .popup-notification-item-message[popupid="bad-content"] {
4636 .popup-notification-item-message-critical[popupid="bad-content"] {
4641 .popup-notification-footer[popupid="bad-content"] {
4645 /* === END badcontent-doorhanger.inc.css === */
4647 /* === BEGIN customizeMode.inc.css === */
4649 /* Customization mode */
4651 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4655 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4656 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4657 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4662 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4663 pointer-events: none;
4666 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4667 #PanelUI-contents > .panel-customization-placeholder {
4668 -moz-outline-radius: 2.5px;
4669 outline: 1px dashed transparent;
4672 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4673 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4674 -moz-box-ordinal-group: 0;
4679 outline-offset: -2px;
4680 pointer-events: none;
4686 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4687 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4688 offset from the bottom effectively the same as other targets (-2px). */
4689 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4693 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4694 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4695 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4696 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4700 /* Most target outlines are shown on hover and drag over but the panel menu uses
4701 placeholders instead. */
4702 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4703 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4704 /* nav-bar and panel outlines are always shown */
4705 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4706 outline-color: #A09090;
4709 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4710 transition: outline-color 250ms linear;
4713 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4714 transition: outline-color 250ms linear;
4715 outline-color: #9C9CFF;
4718 #PanelUI-contents > .panel-customization-placeholder {
4720 outline-offset: -5px;
4723 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4725 /* padding-left: 10px;
4726 padding-right: 10px;*/
4729 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4733 #customization-container {
4734 background-color: #000000;
4738 #customization-palette,
4739 #customization-empty {
4740 padding: 0 15px 15px;
4743 #customization-header {
4747 font-weight: lighter;
4749 padding: 15px 15px 0;
4752 #customization-panel-container {
4753 padding: 10px 10px 0px;
4756 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4757 #customization-footer {
4758 /*background-color: rgb(236,236,236);*/
4761 #customization-footer {
4762 border-top: 1px solid #9C9CFF;
4766 .customizationmode-button {
4770 .customizationmode-button:hover {
4773 .customizationmode-button[disabled="true"] {
4776 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
4777 .customizationmode-button > .button-box > .button-icon {
4781 #customization-titlebar-visibility-button {
4782 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4783 -moz-image-region: rect(0, 16px, 16px, 0);
4787 #customization-titlebar-visibility-button:hover {
4788 -moz-image-region: rect(16px, 16px, 32px, 0);
4791 #customization-titlebar-visibility-button > .button-box {
4793 padding-bottom: 1px;
4796 #customization-titlebar-visibility-button:hover:active > .button-box {
4801 #customization-titlebar-visibility-button > .button-box > .button-text {
4802 /* Sadly, button.css thinks its margins are perfect for everyone. */
4803 -moz-margin-start: 5px !important;
4806 #customization-titlebar-visibility-button > .button-box > .button-icon {
4807 vertical-align: middle;
4810 #customization-titlebar-visibility-button[checked] {
4811 -moz-image-region: rect(0, 32px, 16px, 16px);
4812 background-color: #008484;
4815 #customization-titlebar-visibility-button[checked]:hover {
4816 -moz-image-region: rect(16px, 32px, 32px, 16px);
4817 background-color: #FFCF00;
4820 #customization-titlebar-visibility-button[checked]:hover:active {
4821 background-color: #FF9F00;
4824 #main-window[customize-entered] #customization-panel-container {
4825 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4826 background-position: left top;
4827 background-repeat: repeat;
4828 background-size: auto;
4829 background-attachment: fixed;
4832 toolbarpaletteitem[place="toolbar"] {
4833 transition: border-width 250ms ease-in-out;
4836 toolbarpaletteitem[mousedown] {
4837 outline: 1px solid #008484;
4838 cursor: -moz-grabbing;
4842 .panel-customization-placeholder,
4843 toolbarpaletteitem[place="palette"],
4844 toolbarpaletteitem[place="panel"] {
4845 transition: transform .3s ease-in-out;
4848 #customization-palette {
4849 transition: opacity .3s ease-in-out;
4853 #customization-palette[showing="true"] {
4857 toolbarpaletteitem[notransition].panel-customization-placeholder,
4858 toolbarpaletteitem[notransition][place="toolbar"],
4859 toolbarpaletteitem[notransition][place="palette"],
4860 toolbarpaletteitem[notransition][place="panel"] {
4864 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4865 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
4866 toolbarpaletteitem > toolbaritem.panel-wide-item,
4867 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4868 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
4871 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4872 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
4873 transform: scale(1.3);
4876 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4877 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
4878 transform: scale(1.1);
4881 /* Override the toolkit styling for items being dragged over. */
4882 toolbarpaletteitem[place="toolbar"] {
4883 border-left-width: 0;
4884 border-right-width: 0;
4889 #customization-palette:not([hidden]) {
4890 margin-bottom: 25px;
4893 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4894 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4895 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4896 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4900 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4901 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4911 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4912 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4916 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4917 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4920 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4921 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
4925 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4926 -moz-box-pack: center;
4930 #customization-palette > toolbarpaletteitem > label {
4936 /* === END customizeMode.inc.css === */
4938 /* === BEGIN customizeTip.inc.css === */
4940 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
4947 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
4948 border: 1px solid #9C9CFF;
4951 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
4952 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
4955 .customization-tipPanel-infoBox {
4956 margin: 20px 25px 25px;
4958 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
4959 background-repeat: no-repeat;
4962 .customization-tipPanel-content {
4968 .customization-tipPanel-em {
4973 .customization-tipPanel-contentImage {
4975 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
4983 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
4984 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
4987 .customization-tipPanel-link {
4988 -moz-appearance: none;
4989 background: transparent;
4997 .customization-tipPanel-link > .button-box > .button-text {
4998 margin: 0 !important;
5001 .customization-tipPanel-closeBox > .close-icon {
5002 -moz-appearance: none;
5004 -moz-margin-end: -25px;
5007 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
5008 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5009 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
5012 /* === END customizeTip.inc.css === */
5015 * This next rule is a hack to disable subpixel anti-aliasing on all
5016 * labels during the customize mode transition. Subpixel anti-aliasing
5017 * on Windows with Direct2D layers acceleration is particularly slow to
5018 * paint, so this hack is how we sidestep that performance bottleneck.
5020 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
5021 transform: perspective(0.01px);
5024 #main-window[customize-entered] > #tab-view-deck {
5025 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5026 background-attachment: fixed;
5029 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
5030 background-repeat: no-repeat;
5031 background-position: right top;
5032 background-attachment: fixed;
5033 /* The image will get set from CustomizeMode.jsm */
5034 background-image: none;
5035 background-color: transparent;
5038 #main-window[customization-lwtheme]:-moz-lwtheme {
5039 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
5040 background-repeat: repeat;
5041 background-attachment: fixed;
5042 background-position: left top;
5045 #main-window[customize-entered] #browser-bottombox,
5046 #main-window[customize-entered] #customization-container {
5047 border-left: 1px solid #9C9CFF;
5048 border-right: 1px solid #9C9CFF;
5049 background-clip: padding-box;
5052 #main-window[customize-entered] #browser-bottombox {
5053 border-bottom: 1px solid #9C9CFF;
5056 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
5060 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
5064 /* End customization mode */
5066 /* Private browsing indicators */
5069 * Currently, we have two places where we put private browsing indicators on
5070 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
5071 * When tabsintitlebar is disabled, we draw the indicator at the end of the
5072 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
5073 * want the bottom border of the image to line up with the bottom of the window
5074 * caption buttons. That's why there's so much special-casing going on in here.
5076 .private-browsing-indicator {
5078 pointer-events: none;
5081 #private-browsing-indicator-titlebar {
5086 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
5090 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
5094 #TabsToolbar > .private-browsing-indicator {
5095 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
5096 -moz-margin-start: 4px;
5100 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
5101 * mode, since the tabstrip "mimics" the titlebar in that case with its own
5102 * min/max/close window buttons.
5104 #private-browsing-indicator-titlebar > .private-browsing-indicator,
5105 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
5106 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
5107 -moz-margin-end: 4px;
5113 /* This one is for Linux */
5114 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
5115 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
5119 /* End private browsing indicators */
5121 /* === BEGIN UITour.inc.css === */
5125 #UITourHighlightContainer {
5126 -moz-appearance: none;
5128 background-color: transparent;
5129 /* This is a buffer to compensate for the movement in the "wobble" effect */
5134 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
5135 border-radius: 40px;
5136 border: 1px solid #9C9CFF;
5137 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
5138 on Linux without an X compositor where opacity is either 0 or 1. */
5139 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
5144 #UITourTooltipBody {
5145 -moz-margin-end: 14px;
5148 #UITourTooltipBody > vbox {
5152 #UITourTooltipIconContainer {
5153 -moz-margin-start: -16px;
5156 #UITourTooltipIcon {
5159 -moz-margin-start: 28px;
5160 -moz-margin-end: 28px;
5163 #UITourTooltipTitle,
5164 #UITourTooltipDescription {
5168 #UITourTooltipTitle {
5171 -moz-margin-start: 0;
5176 #UITourTooltipDescription {
5177 -moz-margin-start: 0;
5180 line-height: 1.8rem;
5181 margin-bottom: 0; /* Override global.css */
5184 #UITourTooltipClose {
5185 -moz-appearance: none;
5187 background-color: transparent;
5189 -moz-margin-start: 4px;
5193 #UITourTooltipClose > .toolbarbutton-text {
5197 #UITourTooltipButtons {
5199 background-color: rgba(0,0,0,.2);
5200 border-top: 1px solid rgba(0,0,0,.4);
5201 margin: 24px -16px -16px;
5205 #UITourTooltipButtons > button {
5209 #UITourTooltipButtons > button:first-child {
5210 -moz-margin-start: 0;
5213 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5216 -moz-margin-end: 5px;
5219 #UITourTooltipButtons > button .button-text {
5223 #UITourTooltipButtons > button:not(.button-link) {
5224 -moz-appearance: none;
5225 background-color: #C09070;
5226 border-radius: 3000px;
5230 transition-property: background-color, color;
5231 transition-duration: 150ms;
5234 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5235 background-color: #FFCF00;
5239 #UITourTooltipButtons > button.button-link {
5240 -moz-appearance: none;
5241 background: transparent;
5244 color: rgba(0,0,0,0.35);
5246 padding-right: 10px;
5249 #UITourTooltipButtons > button.button-link:hover {
5253 /* The primary button gets the same color as the customize button. */
5254 #UITourTooltipButtons > button.button-primary {
5255 background-color: #A06060; /* LCARS default button background color */
5258 padding-right: 30px;
5261 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5262 background-color: #FFCF00;
5266 /* === END UITour.inc.css === */
5268 #UITourTooltipButtons {
5269 margin: 24px -4px -4px;
5272 /* === BEGIN contextmenu.inc.css === */
5274 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5277 #context-navigation > .menuitem-iconic {
5279 -moz-box-pack: center;
5280 -moz-box-align: center;
5283 #context-navigation > .menuitem-iconic[disabled="true"] {
5284 background-color: transparent;
5287 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5288 -moz-appearance: none;
5291 #context-back > .menu-iconic-left {
5292 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5293 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5294 -moz-image-region: rect(0, 54px, 18px, 36px);
5297 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5298 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5299 -moz-image-region: rect(18px, 54px, 36px, 36px);
5302 #context-back[disabled="true"] > .menu-iconic-left {
5303 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5304 -moz-image-region: rect(36px, 54px, 54px, 36px);
5307 #context-forward > .menu-iconic-left {
5308 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5309 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5310 -moz-image-region: rect(0, 72px, 18px, 54px);
5313 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5314 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5315 -moz-image-region: rect(18px, 72px, 36px, 54px);
5318 #context-forward[disabled="true"] > .menu-iconic-left {
5319 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5320 -moz-image-region: rect(36px, 72px, 54px, 54px);
5323 #context-reload > .menu-iconic-left {
5324 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5325 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5326 -moz-image-region: rect(0, 14px, 14px, 0);
5329 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5330 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5331 -moz-image-region: rect(14px, 14px, 28px, 0);
5334 #context-reload[disabled="true"] > .menu-iconic-left {
5335 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5336 -moz-image-region: rect(28px, 14px, 42px, 0);
5339 #context-stop > .menu-iconic-left {
5340 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5341 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5342 -moz-image-region: rect(0, 28px, 14px, 14px);
5345 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5346 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5347 -moz-image-region: rect(14px, 28px, 28px, 14px);
5350 #context-stop[disabled="true"] > .menu-iconic-left {
5351 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5352 -moz-image-region: rect(28px, 28px, 42px, 14px);
5355 #context-bookmarkpage > .menu-iconic-left {
5356 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5357 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5358 -moz-image-region: rect(0, 144px, 18px, 126px);
5361 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5362 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5363 -moz-image-region: rect(18px, 144px, 36px, 126px);
5366 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5367 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
5368 -moz-image-region: rect(36px, 144px, 54px, 126px);
5371 #context-back:-moz-locale-dir(rtl),
5372 #context-forward:-moz-locale-dir(rtl),
5373 #context-reload:-moz-locale-dir(rtl) {
5374 transform: scaleX(-1);
5377 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
5378 width: 18px; /*16px;*/
5379 height: 18px; /*16px;*/
5383 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5384 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5390 /* === END contextmenu.inc.css === */
5392 #context-navigation {
5395 #context-sep-navigation {
5396 /* margin-top: -4px; */