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 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
120 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
121 /* Indent also due to non-applicable aero rule in original Windows theme. */
122 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
123 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
125 background-color: #6000CF;
129 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
130 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
131 background-color: #8050B0;
135 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
139 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
143 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
144 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
149 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
150 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
151 #titlebar-buttonbox > .titlebar-button {
157 /* Position the toolbar above the bottom of background tabs */
162 #personal-bookmarks {
163 /* min-height: 24px; */
166 #print-preview-toolbar:not(:-moz-lwtheme) {
167 /* -moz-appearance: toolbox; */
170 #browser-bottombox:not(:-moz-lwtheme) {
173 /* ::::: titlebar ::::: */
177 background-color: #6000CF;
180 #titlebar:-moz-window-inactive {
181 background-color: #8050B0;
185 #main-window[sizemode="normal"] > #titlebar {
190 #main-window[sizemode="maximized"] > #titlebar {
194 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
195 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
196 #main-window[sizemode="normal"] > #titlebar,
197 #main-window[sizemode="maximized"] > #titlebar {
199 /* There is a margin-bottom set to -23 by code. */
203 /* The button box must appear on top of the navigator-toolbox in order for
204 * click and hover mouse events to work properly for the button in the restored
205 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
206 * can swallow those events. It will also place the buttons above the fog on
207 * themes with Aero Glass.
209 #titlebar-buttonbox {
210 -moz-appearance: none;
213 -moz-margin-end: 3px;
217 .titlebar-placeholder[type="appmenu-button"] {
221 .titlebar-placeholder[type="caption-buttons"] {
225 /* titlebar command buttons */
228 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
231 #titlebar-min:hover {
232 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
236 list-style-image: url("chrome://browser/skin/win-maximize.gif");
239 #titlebar-max:hover {
240 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
243 #main-window[sizemode="maximized"] #titlebar-max {
244 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
247 #main-window[sizemode="maximized"] #titlebar-max:hover {
248 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
252 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
255 #titlebar-close:hover {
256 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
259 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
260 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
261 #titlebar-fullscreen-button {
262 -moz-appearance: none;
263 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
264 -moz-image-region: rect(0px, 16px, 16px, 0px);
267 #titlebar-fullscreen-button:hover {
268 -moz-image-region: rect(0px, 32px, 16px, 16px);
271 @media (min-resolution: 2dppx) {
272 #titlebar-fullscreen-button {
273 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
274 -moz-image-region: rect(0px, 32px, 32px, 0px);
277 #titlebar-fullscreen-button:hover {
278 -moz-image-region: rect(0px, 64px, 32px, 32px);
284 /* ::::: bookmark buttons ::::: */
286 toolbarbutton.bookmark-item:not(.subviewbutton),
287 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
292 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
293 toolbarbutton.bookmark-item[open="true"] {
296 -moz-padding-start: 4px;
297 -moz-padding-end: 2px;*/
300 .bookmark-item > .toolbarbutton-icon,
301 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
306 /* Force the display of the label for bookmarks */
307 .bookmark-item > .toolbarbutton-text,
308 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
309 display: -moz-box !important;
312 .bookmark-item > .toolbarbutton-menu-dropmarker {
316 #bookmarks-toolbar-placeholder {
317 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
320 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
321 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
322 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
325 /* ----- BOOKMARK STAR ANIMATION ----- */
327 @keyframes animation-bookmarkAdded {
328 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
329 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
331 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
334 @keyframes animation-bookmarkPulse {
335 from { transform: scale(1); }
336 50% { transform: scale(1.3); }
337 to { transform: scale(1); }
340 #bookmarked-notification-container {
349 #bookmarked-notification {
350 background-size: 16px;
351 background-position: center;
352 background-repeat: no-repeat;
358 #bookmarked-notification-dropmarker-anchor {
363 #bookmarked-notification-dropmarker-icon {
369 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
370 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
371 animation: animation-bookmarkAdded 800ms;
372 animation-timing-function: ease, ease, ease;
375 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
376 list-style-image: none !important;
379 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
381 animation: animation-bookmarkPulse 300ms;
382 animation-delay: 600ms;
383 animation-timing-function: ease-out;
386 /* ::::: bookmark menus ::::: */
389 menuitem.bookmark-item {
394 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
399 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
400 -moz-padding-start: 0px;
403 /* ::::: bookmark items ::::: */
406 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
407 -moz-image-region: auto;
410 .bookmark-item[container] {
411 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
412 -moz-image-region: auto;
415 .bookmark-item[container][open] {
416 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
417 -moz-image-region: auto;
420 .bookmark-item[container][livemark] {
421 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
422 -moz-image-region: auto;
425 .bookmark-item[container][livemark] .bookmark-item {
426 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
427 -moz-image-region: rect(0px, 16px, 16px, 0px);
430 .bookmark-item[container][livemark] .bookmark-item[visited] {
431 -moz-image-region: rect(0px, 32px, 16px, 16px);
434 .bookmark-item[container][query] {
435 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
436 -moz-image-region: auto;
439 .bookmark-item[query][tagContainer] {
440 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
441 -moz-image-region: auto;
444 .bookmark-item[query][dayContainer] {
445 list-style-image: url("chrome://communicator/skin/history/calendar.png");
446 -moz-image-region: auto;
449 .bookmark-item[query][hostContainer] {
450 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
451 -moz-image-region: auto;
454 .bookmark-item[query][hostContainer][open] {
455 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
456 -moz-image-region: auto;
459 .bookmark-item[cutting] > .toolbarbutton-icon,
460 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
464 .bookmark-item[cutting] > .toolbarbutton-text,
465 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
469 /* ::::: primary toolbar buttons ::::: */
471 /* === BEGIN toolbarbuttons.inc.css === */
473 /* Whole section of this included file: */
474 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
475 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
476 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
477 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
478 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
479 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
480 #copy-button, #paste-button, #e10s-button),
482 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
483 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
487 -moz-image-region: rect(0, 36px, 18px, 18px);
490 #back-button:hover:not([disabled="true"]) {
491 -moz-image-region: rect(18px, 36px, 36px, 18px);
494 #back-button[disabled="true"] {
495 -moz-image-region: rect(36px, 36px, 54px, 18px);
499 -moz-image-region: rect(0, 72px, 18px, 54px);
502 #forward-button:hover:not([disabled="true"]) {
503 -moz-image-region: rect(18px, 72px, 36px, 54px);
506 #forward-button[disabled="true"] {
507 -moz-image-region: rect(36px, 72px, 54px, 54px);
510 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
511 #forward-button:-moz-locale-dir(rtl) {
512 transform: scaleX(-1);
515 #home-button[cui-areatype="toolbar"] {
516 -moz-image-region: rect(0, 126px, 18px, 108px);
519 #home-button[cui-areatype="toolbar"]:hover {
520 -moz-image-region: rect(18px, 126px, 36px, 108px);
523 #bookmarks-menu-button[cui-areatype="toolbar"] {
524 -moz-image-region: rect(0, 144px, 18px, 126px);
527 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
528 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
529 -moz-image-region: rect(18px, 144px, 36px, 126px);
532 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
533 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
534 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
535 background-color: transparent !important;
538 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
539 -moz-image-region: rect(0, 162px, 18px, 144px);
542 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
543 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
544 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
545 /* When starred and clicked (for edit/delete dialog),
546 * then only the menubutton-button itself is open, but not the whole menubutton. */
547 -moz-image-region: rect(18px, 162px, 36px, 144px);
550 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
551 -moz-image-region: rect(0, 630px, 18px, 612px);
554 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
556 -moz-box-align: center;
559 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
560 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
561 -moz-image-region: rect(18px, 630px, 36px, 612px);
564 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
565 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
568 -moz-padding-start: 2px;
569 -moz-padding-end: 0px;
572 #history-panelmenu[cui-areatype="toolbar"] {
573 -moz-image-region: rect(0, 180px, 18px, 162px);
576 #history-panelmenu[cui-areatype="toolbar"]:hover,
577 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
578 -moz-image-region: rect(18px, 180px, 36px, 162px);
581 #downloads-button[cui-areatype="toolbar"] {
582 -moz-image-region: rect(0, 198px, 18px, 180px);
585 #downloads-button[cui-areatype="toolbar"]:hover,
586 #downloads-button[cui-areatype="toolbar"][open="true"] {
587 -moz-image-region: rect(18px, 198px, 36px, 180px);
590 #add-ons-button[cui-areatype="toolbar"] {
591 -moz-image-region: rect(0, 216px, 18px, 198px);
594 #add-ons-button[cui-areatype="toolbar"]:hover {
595 -moz-image-region: rect(18px, 216px, 36px, 198px);
598 #open-file-button[cui-areatype="toolbar"] {
599 -moz-image-region: rect(0, 234px, 18px, 216px);
602 #open-file-button[cui-areatype="toolbar"]:hover {
603 -moz-image-region: rect(18px, 234px, 36px, 216px);
606 #save-page-button[cui-areatype="toolbar"] {
607 -moz-image-region: rect(0, 252px, 18px, 234px);
610 #save-page-button[cui-areatype="toolbar"]:hover {
611 -moz-image-region: rect(18px, 252px, 36px, 234px);
614 #sync-button[cui-areatype="toolbar"] {
615 -moz-image-region: rect(0, 270px, 18px, 252px);
618 #sync-button[cui-areatype="toolbar"]:hover {
619 -moz-image-region: rect(18px, 270px, 36px, 252px);
622 #sync-button[cui-areatype="toolbar"][status="active"],
623 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
624 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
625 -moz-image-region: rect(0, 18px, 18px, 0px);
629 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
630 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
631 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
635 #feed-button[cui-areatype="toolbar"] {
636 -moz-image-region: rect(0, 288px, 18px, 270px);
639 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
640 -moz-image-region: rect(18px, 288px, 36px, 270px);
643 #feed-button[cui-areatype="toolbar"][disabled="true"] {
644 -moz-image-region: rect(36px, 288px, 54px, 270px);
647 #social-share-button[cui-areatype="toolbar"] {
648 -moz-image-region: rect(0px, 306px, 18px, 288px);
651 #social-share-button[cui-areatype="toolbar"]:hover {
652 -moz-image-region: rect(18px, 306px, 36px, 288px);
655 #characterencoding-button[cui-areatype="toolbar"] {
656 -moz-image-region: rect(0, 324px, 18px, 306px);
659 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
660 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
661 -moz-image-region: rect(18px, 324px, 36px, 306px);
664 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
665 -moz-image-region: rect(36px, 324px, 54px, 306px);
668 #new-window-button[cui-areatype="toolbar"] {
669 -moz-image-region: rect(0, 342px, 18px, 324px);
672 #new-window-button[cui-areatype="toolbar"]:hover {
673 -moz-image-region: rect(18px, 342px, 36px, 324px);
676 #e10s-button[cui-areatype="toolbar"] {
677 -moz-image-region: rect(0, 342px, 18px, 324px);
680 #e10s-button[cui-areatype="toolbar"]:hover {
681 -moz-image-region: rect(18px, 342px, 36px, 324px);
684 #e10s-button > .toolbarbutton-icon {
685 transform: scaleY(-1);
688 #new-tab-button[cui-areatype="toolbar"] {
689 -moz-image-region: rect(0, 360px, 18px, 342px);
692 #new-tab-button[cui-areatype="toolbar"]:hover {
693 -moz-image-region: rect(18px, 360px, 36px, 342px);
696 #privatebrowsing-button[cui-areatype="toolbar"] {
697 -moz-image-region: rect(0, 378px, 18px, 360px);
700 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
701 -moz-image-region: rect(18px, 378px, 36px, 360px);
704 #find-button[cui-areatype="toolbar"] {
705 -moz-image-region: rect(0, 396px, 18px, 378px);
708 #find-button[cui-areatype="toolbar"]:hover {
709 -moz-image-region: rect(18px, 396px, 36px, 378px);
712 #print-button[cui-areatype="toolbar"] {
713 -moz-image-region: rect(0, 414px, 18px, 396px);
716 #print-button[cui-areatype="toolbar"]:hover {
717 -moz-image-region: rect(18px, 414px, 36px, 396px);
720 #fullscreen-button[cui-areatype="toolbar"] {
721 -moz-image-region: rect(0, 432px, 18px, 414px);
724 #fullscreen-button[cui-areatype="toolbar"]:hover {
725 -moz-image-region: rect(18px, 432px, 36px, 414px);
728 #developer-button[cui-areatype="toolbar"] {
729 -moz-image-region: rect(0, 450px, 18px, 432px);
732 #developer-button[cui-areatype="toolbar"]:hover,
733 #developer-button[cui-areatype="toolbar"][open="true"] {
734 -moz-image-region: rect(18px, 450px, 36px, 432px);
737 #preferences-button[cui-areatype="toolbar"] {
738 -moz-image-region: rect(0, 468px, 18px, 450px);
741 #preferences-button[cui-areatype="toolbar"]:hover {
742 -moz-image-region: rect(18px, 468px, 36px, 450px);
745 #PanelUI-menu-button {
746 -moz-image-region: rect(0, 486px, 18px, 468px);
749 #PanelUI-menu-button:hover,
750 #PanelUI-menu-button[open="true"] {
751 -moz-image-region: rect(18px, 486px, 36px, 468px);
754 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
755 -moz-image-region: rect(0, 504px, 18px, 486px);
758 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
759 -moz-image-region: rect(18px, 504px, 36px, 486px);
762 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
763 -moz-image-region: rect(36px, 504px, 54px, 486px);
766 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
767 -moz-image-region: rect(0, 522px, 18px, 504px);
770 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
771 -moz-image-region: rect(18px, 522px, 36px, 504px);
774 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
775 -moz-image-region: rect(36px, 522px, 54px, 504px);
778 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
779 -moz-image-region: rect(0, 540px, 18px, 522px);
782 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
783 -moz-image-region: rect(18px, 540px, 36px, 522px);
786 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
787 -moz-image-region: rect(36px, 540px, 54px, 522px);
790 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
791 -moz-image-region: rect(0, 558px, 18px, 540px);
794 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
795 -moz-image-region: rect(18px, 558px, 36px, 540px);
798 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
799 -moz-image-region: rect(36px, 558px, 54px, 540px);
802 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
803 -moz-image-region: rect(0, 576px, 18px, 558px);
806 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
807 -moz-image-region: rect(18px, 576px, 36px, 558px);
810 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
811 -moz-image-region: rect(36px, 576px, 54px, 558px);
814 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) {
815 -moz-image-region: rect(0, 594px, 18px, 576px);
818 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])):hover,
819 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]))[open="true"] {
820 -moz-image-region: rect(18px, 594px, 36px, 576px);
823 #nav-bar-overflow-button {
824 -moz-image-region: rect(0, 612px, 18px, 594px);
827 #nav-bar-overflow-button:hover,
828 #nav-bar-overflow-button[open="true"] {
829 -moz-image-region: rect(18px, 612px, 36px, 594px);
832 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
833 transform: scaleX(-1);
837 -moz-image-region: rect(0, 648px, 18px, 630px);
840 #tabview-button:hover {
841 -moz-image-region: rect(18px, 648px, 36px, 630px);
844 #email-link-button[cui-areatype="toolbar"] {
845 -moz-image-region: rect(0, 666px, 18px, 648px);
848 #email-button[cui-areatype="toolbar"]:hover {
849 -moz-image-region: rect(18px, 666px, 36px, 648px);
852 #sidebar-button[cui-areatype="toolbar"] {
853 -moz-image-region: rect(0, 684px, 18px, 666px);
856 #sidebar-button[cui-areatype="toolbar"]:hover {
857 -moz-image-region: rect(18px, 684px, 36px, 666px);
860 #loop-call-button > .toolbarbutton-badge-container {
861 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
862 -moz-image-region: rect(0, 18px, 18px, 0);
865 #loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
866 -moz-image-region: rect(0, 90px, 18px, 72px);
869 #loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
870 -moz-image-region: rect(0, 36px, 18px, 18px);
873 #loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
874 -moz-image-region: rect(0, 126px, 18px, 108px);
877 #loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
878 -moz-image-region: rect(0, 54px, 18px, 36px);
881 #loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
882 -moz-image-region: rect(0, 72px, 18px, 54px);
885 #loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
886 -moz-image-region: rect(0, 108px, 18px, 90px);
889 /* === END toolbarbuttons.inc.css === */
891 /* === BEGIN menupanel.inc.css === */
893 /* Menu panel and palette styles */
895 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
896 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
897 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
898 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
899 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
900 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
901 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
902 #copy-button, #paste-button, #e10s-button)[cui-areatype="menu-panel"],
903 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
904 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
905 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
906 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
907 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
908 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
909 #copy-button, #paste-button, #e10s-button) {
910 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
913 #home-button[cui-areatype="menu-panel"],
914 toolbarpaletteitem[place="palette"] > #home-button {
915 -moz-image-region: rect(0px, 128px, 32px, 96px);
918 #home-button[cui-areatype="menu-panel"]:hover,
919 toolbarpaletteitem[place="palette"] > #home-button:hover {
920 -moz-image-region: rect(32px, 128px, 64px, 96px);
923 #bookmarks-menu-button[cui-areatype="menu-panel"],
924 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
925 -moz-image-region: rect(0px, 192px, 32px, 160px);
928 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
929 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
930 -moz-image-region: rect(32px, 192px, 64px, 160px);
933 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
934 -moz-image-region: rect(32px, 192px, 64px, 160px);
937 #history-panelmenu[cui-areatype="menu-panel"],
938 toolbarpaletteitem[place="palette"] > #history-panelmenu {
939 -moz-image-region: rect(0px, 224px, 32px, 192px);
942 #history-panelmenu[cui-areatype="menu-panel"]:hover,
943 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
944 -moz-image-region: rect(32px, 224px, 64px, 192px);
947 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
948 -moz-image-region: rect(32px, 224px, 64px, 192px);
951 #downloads-button[cui-areatype="menu-panel"],
952 toolbarpaletteitem[place="palette"] > #downloads-button {
953 -moz-image-region: rect(0px, 256px, 32px, 224px);
956 #downloads-button[cui-areatype="menu-panel"]:hover,
957 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
958 -moz-image-region: rect(32px, 256px, 64px, 224px);
961 #add-ons-button[cui-areatype="menu-panel"],
962 toolbarpaletteitem[place="palette"] > #add-ons-button {
963 -moz-image-region: rect(0px, 288px, 32px, 256px);
966 #add-ons-button[cui-areatype="menu-panel"]:hover,
967 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
968 -moz-image-region: rect(32px, 288px, 64px, 256px);
971 #open-file-button[cui-areatype="menu-panel"],
972 toolbarpaletteitem[place="palette"] > #open-file-button {
973 -moz-image-region: rect(0px, 320px, 32px, 288px);
976 #open-file-button[cui-areatype="menu-panel"]:hover,
977 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
978 -moz-image-region: rect(32px, 320px, 64px, 288px);
981 #save-page-button[cui-areatype="menu-panel"],
982 toolbarpaletteitem[place="palette"] > #save-page-button {
983 -moz-image-region: rect(0px, 352px, 32px, 320px);
986 #save-page-button[cui-areatype="menu-panel"]:hover,
987 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
988 -moz-image-region: rect(32px, 352px, 64px, 320px);
991 #sync-button[cui-areatype="menu-panel"],
992 toolbarpaletteitem[place="palette"] > #sync-button {
993 -moz-image-region: rect(0px, 384px, 32px, 352px);
996 #sync-button[cui-areatype="menu-panel"]:hover,
997 toolbarpaletteitem[place="palette"] > #sync-button:hover {
998 -moz-image-region: rect(32px, 384px, 64px, 352px);
1001 #sync-button[cui-areatype="menu-panel"][status="active"] {
1002 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1003 -moz-image-region: rect(0px, 32px, 32px, 0px);
1006 #feed-button[cui-areatype="menu-panel"],
1007 toolbarpaletteitem[place="palette"] > #feed-button {
1008 -moz-image-region: rect(0px, 416px, 32px, 384px);
1011 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1012 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1013 -moz-image-region: rect(32px, 416px, 64px, 384px);
1016 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1017 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1018 -moz-image-region: rect(64px, 416px, 96px, 384px);
1021 #social-share-button[cui-areatype="menu-panel"],
1022 toolbarpaletteitem[place="palette"] > #social-share-button {
1023 -moz-image-region: rect(0px, 448px, 32px, 416px);
1026 #social-share-button[cui-areatype="menu-panel"]:hover,
1027 toolbarpaletteitem[place="palette"] > #social-share-button:hover {
1028 -moz-image-region: rect(32px, 448px, 64px, 416px);
1031 #characterencoding-button[cui-areatype="menu-panel"],
1032 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1033 -moz-image-region: rect(0px, 480px, 32px, 448px);
1036 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1037 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1038 -moz-image-region: rect(32px, 480px, 64px, 448px);
1041 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1042 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1043 -moz-image-region: rect(64px, 480px, 96px, 448px);
1046 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1047 -moz-image-region: rect(32px, 480px, 64px, 448px);
1050 #new-window-button[cui-areatype="menu-panel"],
1051 toolbarpaletteitem[place="palette"] > #new-window-button {
1052 -moz-image-region: rect(0px, 512px, 32px, 480px);
1055 #new-window-button[cui-areatype="menu-panel"]:hover,
1056 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1057 -moz-image-region: rect(32px, 512px, 64px, 480px);
1060 #e10s-button[cui-areatype="menu-panel"],
1061 toolbarpaletteitem[place="palette"] > #e10s-button {
1062 -moz-image-region: rect(0px, 512px, 32px, 480px);
1065 #e10s-button[cui-areatype="menu-panel"]:hover,
1066 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1067 -moz-image-region: rect(32px, 512px, 64px, 480px);
1070 #new-tab-button[cui-areatype="menu-panel"],
1071 toolbarpaletteitem[place="palette"] > #new-tab-button {
1072 -moz-image-region: rect(0px, 544px, 32px, 512px);
1075 #new-tab-button[cui-areatype="menu-panel"]:hover,
1076 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1077 -moz-image-region: rect(32px, 544px, 64px, 512px);
1080 #privatebrowsing-button[cui-areatype="menu-panel"],
1081 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1082 -moz-image-region: rect(0px, 576px, 32px, 544px);
1085 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1086 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1087 -moz-image-region: rect(32px, 576px, 64px, 544px);
1090 #tabview-button[cui-areatype="menu-panel"],
1091 toolbarpaletteitem[place="palette"] > #tabview-button {
1092 -moz-image-region: rect(0px, 608px, 32px, 576px);
1095 #tabview-button[cui-areatype="menu-panel"]:hover,
1096 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1097 -moz-image-region: rect(32px, 608px, 64px, 576px);
1100 #find-button[cui-areatype="menu-panel"],
1101 toolbarpaletteitem[place="palette"] > #find-button {
1102 -moz-image-region: rect(0px, 640px, 32px, 608px);
1105 #find-button[cui-areatype="menu-panel"]:hover,
1106 toolbarpaletteitem[place="palette"] > #find-button:hover {
1107 -moz-image-region: rect(32px, 640px, 64px, 608px);
1110 #print-button[cui-areatype="menu-panel"],
1111 toolbarpaletteitem[place="palette"] > #print-button {
1112 -moz-image-region: rect(0px, 672px, 32px, 640px);
1115 #print-button[cui-areatype="menu-panel"]:hover,
1116 toolbarpaletteitem[place="palette"] > #print-button:hover {
1117 -moz-image-region: rect(32px, 672px, 64px, 640px);
1120 #fullscreen-button[cui-areatype="menu-panel"],
1121 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1122 -moz-image-region: rect(0px, 704px, 32px, 672px);
1125 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1126 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1127 -moz-image-region: rect(32px, 704px, 64px, 672px);
1130 #developer-button[cui-areatype="menu-panel"],
1131 toolbarpaletteitem[place="palette"] > #developer-button {
1132 -moz-image-region: rect(0px, 736px, 32px, 704px);
1135 #developer-button[cui-areatype="menu-panel"]:hover,
1136 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1137 -moz-image-region: rect(32px, 736px, 64px, 704px);
1140 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1141 -moz-image-region: rect(32px, 736px, 64px, 704px);
1144 #preferences-button[cui-areatype="menu-panel"],
1145 toolbarpaletteitem[place="palette"] > #preferences-button {
1146 -moz-image-region: rect(0px, 768px, 32px, 736px);
1149 #preferences-button[cui-areatype="menu-panel"]:hover,
1150 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1151 -moz-image-region: rect(32px, 768px, 64px, 736px);
1154 #email-link-button[cui-areatype="menu-panel"],
1155 toolbarpaletteitem[place="palette"] > #email-link-button {
1156 -moz-image-region: rect(0, 800px, 32px, 768px);
1159 #email-link-button[cui-areatype="menu-panel"]:hover,
1160 toolbarpaletteitem[place="palette"] > #email-link-button:hover {
1161 -moz-image-region: rect(32px, 800px, 64px, 768px);
1164 #sidebar-button[cui-areatype="menu-panel"],
1165 toolbarpaletteitem[place="palette"] > #sidebar-button {
1166 -moz-image-region: rect(0, 864px, 32px, 832px);
1169 #sidebar-button[cui-areatype="menu-panel"]:hover,
1170 toolbarpaletteitem[place="palette"] > #sidebar-button:hover {
1171 -moz-image-region: rect(32px, 864px, 64px, 832px);
1174 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1175 -moz-image-region: rect(32px, 864px, 64px, 832px);
1178 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1179 -moz-image-region: rect(0, 832px, 32px, 800px);
1182 #loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1183 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1184 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1185 -moz-image-region: rect(0, 32px, 32px, 0);
1188 /* Make sure that the state icons are not shown in the customization palette. */
1189 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1190 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1193 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1194 -moz-image-region: rect(0, 160px, 32px, 128px);
1197 #loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1198 -moz-image-region: rect(0, 64px, 32px, 32px);
1201 #loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1202 -moz-image-region: rect(0, 224px, 32px, 192px);
1205 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1206 -moz-image-region: rect(0, 96px, 32px, 64px);
1209 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1210 -moz-image-region: rect(0, 128px, 32px, 96px);
1213 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1214 -moz-image-region: rect(0, 192px, 32px, 160px);
1217 /* Wide panel control icons */
1219 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1220 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1221 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1222 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1223 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
1226 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1227 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1228 -moz-image-region: rect(0px, 32px, 16px, 16px);
1231 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1232 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1233 -moz-image-region: rect(16px, 32px, 32px, 16px);
1236 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1237 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1238 -moz-image-region: rect(32px, 32px, 48px, 16px);
1241 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1242 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1243 -moz-image-region: rect(0px, 48px, 16px, 32px);
1246 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1247 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1248 -moz-image-region: rect(16px, 48px, 32px, 32px);
1251 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1252 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1253 -moz-image-region: rect(32px, 48px, 48px, 32px);
1256 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1257 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1258 -moz-image-region: rect(0px, 64px, 16px, 48px);
1261 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1262 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1263 -moz-image-region: rect(16px, 64px, 32px, 48px);
1266 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1267 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1268 -moz-image-region: rect(32px, 64px, 48px, 48px);
1271 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1272 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1273 -moz-image-region: rect(0px, 80px, 16px, 64px);
1276 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1277 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1278 -moz-image-region: rect(16px, 80px, 32px, 64px);
1281 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1282 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1283 -moz-image-region: rect(32px, 80px, 48px, 64px);
1286 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1287 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1288 -moz-image-region: rect(0px, 96px, 16px, 80px);
1291 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1292 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1293 -moz-image-region: rect(16px, 96px, 32px, 80px);
1296 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1297 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1298 -moz-image-region: rect(32px, 96px, 48px, 80px);
1301 /* === END menupanel.inc.css === */
1303 .toolbarbutton-1:not([type="menu-button"]) {
1304 -moz-box-orient: vertical;
1308 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1314 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1315 .toolbarbutton-1[disabled="true"]:hover:active,
1316 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1320 .toolbarbutton-1:hover:active,
1321 .toolbarbutton-1[open="true"],
1322 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1324 padding-bottom: 0px;
1325 -moz-padding-start: 3px;
1326 -moz-padding-end: 1px;
1329 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1330 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1331 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1332 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1333 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1336 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1337 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1340 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1341 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1344 .toolbarbutton-1 > .toolbarbutton-icon,
1345 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1348 #nav-bar .toolbarbutton-1,
1349 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1352 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1353 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1354 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1357 #nav-bar #PanelUI-menu-button {
1358 /* -moz-padding-start: 7px;
1359 -moz-padding-end: 5px;*/
1362 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1363 /* padding-left: 5px;
1364 padding-right: 5px;*/
1367 #nav-bar .toolbarbutton-1 > menupopup {
1368 /* margin-top: -3px;*/
1371 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1375 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1376 /* -moz-padding-end: 0;*/
1379 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1380 /* -moz-padding-start: 0;
1381 -moz-box-align: center;*/
1384 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1385 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1386 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1387 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1388 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1389 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1390 /* padding: 2px 6px;
1392 border-color: transparent;
1393 transition-property: background-color, border-color;
1394 transition-duration: 150ms;*/
1397 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1398 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1399 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1404 /* Help SDK icons fit: */
1405 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1409 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1410 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1414 #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,
1415 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1416 /* -moz-padding-end: 17px;*/
1419 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1422 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1425 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1428 #nav-bar .toolbaritem-combined-buttons {
1429 /* margin-left: 2px;
1430 margin-right: 2px;*/
1433 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1438 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1439 #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 {
1445 -moz-margin-end: -1px;
1449 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1452 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1453 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1454 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1455 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1456 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1457 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1458 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1459 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1462 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1463 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1464 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1465 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1466 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1469 #TabsToolbar .toolbarbutton-1,
1470 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1471 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1472 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1475 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1476 #TabsToolbar .toolbarbutton-1[open],
1477 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1478 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1479 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1482 /* unified back/forward button */
1485 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1488 #forward-button > menupopup {
1489 margin-top: 1px !important;
1492 #forward-button > .toolbarbutton-icon {
1493 background-clip: padding-box !important;
1494 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1495 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1499 -moz-margin-start: -4px !important;
1504 border-radius: 0 10000px 10000px 0;
1507 #forward-button:-moz-locale-dir(rtl) {
1508 border-radius: 10000px 0 0 10000px;
1511 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1512 transition: margin-left 150ms ease-out;
1515 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1516 margin-left: -27px !important;
1519 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1520 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1521 transition-delay: 100s;
1524 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1525 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1526 margin-left: -27.01px !important;
1530 /* padding-top: 3px !important;
1531 padding-bottom: 3px !important;
1532 -moz-padding-start: 5px !important;
1533 -moz-padding-end: 0 !important;*/
1536 border-radius: 10000px;
1540 margin-bottom: -2px;
1543 #back-button:-moz-locale-dir(rtl) {
1546 #back-button > menupopup {
1547 margin-top: -1px !important;
1550 #back-button > .toolbarbutton-icon {
1551 border-radius: 10000px !important;
1552 background-clip: padding-box !important;
1553 /* background-color: hsla(210,25%,98%,.08) !important;
1554 padding: 6px !important;
1555 border-style: none !important;
1556 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1557 0 0 0 1px hsla(210,4%,10%,.25);*/
1558 transition-property: background-color, box-shadow !important;
1559 transition-duration: 250ms !important;
1562 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1563 /* background-color: hsla(210,4%,10%,.08) !important;*/
1566 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1567 #back-button[open="true"] > .toolbarbutton-icon {
1568 /* background-color: hsla(210,4%,10%,.12) !important;
1569 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1570 0 0 0 1px hsla(210,4%,10%,.25),
1571 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1574 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1575 transform: scaleX(-1);
1578 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1579 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1580 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1583 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1584 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1585 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1588 #home-button.bookmark-item {
1589 list-style-image: url("chrome://browser/skin/Toolbar.png");
1592 #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),
1593 #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),
1594 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1595 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1596 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1597 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1598 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1601 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1604 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1605 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1606 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1610 #downloads-button > .toolbarbutton-icon {
1614 /* tabview button & menu item */
1617 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1618 -moz-image-region: rect(1px, 89px, 17px, 73px);
1621 #menu_tabview[groups="0"] {
1622 -moz-image-region: rect(1px, 17px, 17px, 1px);
1625 #menu_tabview[groups="1"] {
1626 -moz-image-region: rect(1px, 35px, 17px, 19px);
1629 #menu_tabview[groups="2"] {
1630 -moz-image-region: rect(1px, 53px, 17px, 37px);
1633 #menu_tabview[groups="3"] {
1634 -moz-image-region: rect(1px, 71px, 17px, 55px);
1637 /* zoom control text (reset) button special case: */
1639 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1640 /* To make this line up with the icons, it needs the same height (18px) +
1641 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1642 * increase in text sizes would break things...
1647 /* ::::: fullscreen window controls ::::: */
1650 -moz-margin-start: 4px;
1656 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1661 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1664 #minimize-button:hover {
1665 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1669 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1672 #restore-button:hover {
1673 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1677 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1680 #close-button:hover {
1681 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1684 /* ::::: Location Bar ::::: */
1687 .searchbar-textbox {
1690 -moz-margin-start: 3px;
1694 /* make color as light as possible to deal with dark non-domain parts */
1698 #urlbar:-moz-lwtheme,
1699 .searchbar-textbox:-moz-lwtheme {
1700 /* background-color: rgba(255,255,255,.8);
1701 @navbarTextboxCustomBorder@
1705 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1706 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1707 /* background-color: rgba(255,255,255,.9);*/
1710 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1711 .searchbar-textbox:-moz-lwtheme[focused] {
1712 /* background-color: white;*/
1715 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1716 /* -moz-border-start: none;
1720 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1721 /* border-top-left-radius: 0;
1722 border-bottom-left-radius: 0; */
1725 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1726 /* border-top-right-radius: 0;
1727 border-bottom-right-radius: 0; */
1730 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1731 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1732 /* -moz-margin-start: -5px; */
1735 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1736 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1737 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1738 transform: scaleX(-1);
1741 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1742 -moz-box-direction: reverse;
1745 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1746 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1751 -moz-box-orient: horizontal;
1752 -moz-box-align: stretch;
1755 .urlbar-textbox-container {
1756 -moz-box-align: stretch;
1760 -moz-margin-start: 0;
1764 -moz-box-align: center;
1771 .searchbar-engine-button,
1772 .search-go-container {
1776 .search-go-container > .search-go-button {
1780 .urlbar-icon:hover {
1783 .urlbar-icon[open="true"],
1784 .urlbar-icon:hover:active {
1787 #urlbar-search-splitter {
1789 -moz-margin-start: -3px;
1791 background: transparent;
1794 #urlbar-search-splitter + #urlbar-container > #urlbar,
1795 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1796 -moz-margin-start: 0;
1799 #urlbar-display-box {
1803 -moz-border-end: 1px solid #9C9CFF;
1804 -moz-margin-end: 3px;
1807 -moz-margin-start: 0;
1812 min-width: calc(54px + 11ch);
1822 #identity-box:-moz-locale-dir(ltr) {
1823 /* border-top-left-radius: 1.5px;
1824 border-bottom-left-radius: 1.5px;*/
1827 #identity-box:-moz-locale-dir(rtl) {
1828 /* border-top-right-radius: 1.5px;
1829 border-bottom-right-radius: 1.5px;*/
1832 #notification-popup-box:not([hidden]) + #identity-box {
1833 -moz-padding-start: 10px !important;
1837 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1838 /* border-radius: 0; */
1839 -moz-padding-start: 2px;
1840 -moz-padding-end: 2px;
1841 -moz-margin-end: 1px;
1844 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1845 transition: padding-left, padding-right;
1848 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1849 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1853 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1854 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1858 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1859 #notification-popup-box[hidden] + #identity-box {
1860 /* forward button hiding is delayed when hovered */
1861 transition-delay: 100s;
1864 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1865 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1866 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1867 padding-left: 2.01px;
1870 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1871 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1872 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1873 padding-right: 2.01px;
1876 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1877 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1878 -moz-margin-end: 3px;
1881 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
1882 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1883 border-top-right-radius: 0;
1884 border-bottom-right-radius: 0;
1887 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
1888 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1889 border-top-left-radius: 0;
1890 border-bottom-left-radius: 0;
1893 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1894 background-color: #000000;
1897 #identity-box:-moz-focusring {
1898 outline: 1px dotted #008484;
1899 outline-offset: -1px;
1902 #identity-box.verifiedDomain:-moz-focusring,
1903 #identity-box.verifiedIdentity:-moz-focusring {
1904 outline-color: #000000;
1907 #identity-icon-labels {
1908 -moz-margin-start: 1px;
1909 -moz-margin-end: 3px;
1912 /* Location bar dropmarker */
1914 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1915 background-color: transparent;
1918 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1919 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
1924 .urlbar-history-dropmarker:hover {
1927 .urlbar-history-dropmarker:hover:active,
1928 .urlbar-history-dropmarker[open="true"] {
1931 /* page proxy icon */
1933 /* === BEGIN identity-block.inc.css === */
1935 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1936 /* Default theme does different color per channel, we can't as they do it build-time. */
1938 -moz-border-end: 1px solid #9C9CFF;
1941 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1943 -moz-border-end: 1px solid #008484;
1946 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1947 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1948 background-position: right;
1949 background-size: 1px;
1950 background-repeat: no-repeat;
1953 /* page proxy icon */
1955 #page-proxy-favicon {
1958 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1962 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1963 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
1966 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
1967 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1970 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1971 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1974 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1975 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1978 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1979 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1982 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1983 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1986 #page-proxy-favicon[pageproxystate="invalid"] {
1990 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1991 list-style-image: url("chrome://branding/content/icon64.png");
1994 #identity-popup-brandName {
1998 margin-bottom: .5em;
2001 #identity-popup-content-box {
2005 /* === END identity-block.inc.css === */
2007 #page-proxy-favicon {
2008 -moz-image-region: rect(0, 16px, 16px, 0);
2011 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2012 /* -moz-margin-end: 1px;*/
2015 #identity-box:hover > #page-proxy-favicon {
2016 -moz-image-region: rect(0, 32px, 16px, 16px);
2019 #identity-box:hover:active > #page-proxy-favicon,
2020 #identity-box[open=true] > #page-proxy-favicon {
2021 -moz-image-region: rect(0, 48px, 16px, 32px);
2024 #identity-box:hover {
2025 background-color: #FFCF00;
2029 #identity-box:hover:active,
2030 #identity-box[open=true] {
2031 background-color: #FF9F00;
2035 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2036 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2037 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2038 background-color: #9C9CFF;
2042 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2043 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2044 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2045 background-color: #008484;
2051 #treecolAutoCompleteImage {
2055 .ac-result-type-bookmark,
2056 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2057 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2058 -moz-image-region: rect(0px 16px 16px 0px);
2063 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2064 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2065 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2068 .ac-result-type-keyword,
2069 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2070 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2071 -moz-image-region: rect(0px 32px 16px 16px);
2076 .ac-result-type-tag,
2077 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2078 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2087 .ac-extra > .ac-comment {
2097 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2098 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2099 -moz-image-region: rect(0, 16px, 16px, 0);
2103 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2104 -moz-image-region: rect(16px, 16px, 32px, 0);
2107 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2111 .ac-comment[selected="true"],
2112 .ac-url-text[selected="true"],
2113 .ac-action-text[selected="true"] {
2114 color: inherit !important;
2117 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2118 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2124 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2125 border-top: 1px solid #9C9CFF;
2128 /* combined go/reload/stop button in location bar */
2130 #urlbar > toolbarbutton {
2131 -moz-margin-start: 0;
2133 background-origin: border-box;
2135 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2136 -moz-border-start: 1px solid #9C9CFF;
2139 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2140 border-top-left-radius: 0px;
2141 border-bottom-left-radius: 0px;
2144 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2145 border-top-right-radius: 0px;
2146 border-bottom-right-radius: 0px;
2149 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2150 #urlbar-reload-button:not(:hover) {
2151 -moz-border-start-style: none;
2152 -moz-padding-start: 3px;
2155 #urlbar-reload-button {
2156 -moz-image-region: rect(0px, 14px, 14px, 0px);
2159 #urlbar-reload-button[disabled=true] {
2160 -moz-image-region: rect(28px, 14px, 42px, 0px);
2163 #urlbar-reload-button:not([disabled=true]):hover {
2164 -moz-image-region: rect(14px, 14px, 28px, 0px);
2167 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2168 transform: scaleX(-1);
2172 -moz-image-region: rect(0, 42px, 14px, 28px);
2175 #urlbar-go-button:hover {
2176 -moz-image-region: rect(14px, 42px, 28px, 28px);
2179 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2180 transform: scaleX(-1);
2183 #urlbar-stop-button {
2184 -moz-image-region: rect(0px, 28px, 14px, 14px);
2187 #urlbar-stop-button:hover {
2188 -moz-image-region: rect(14px, 28px, 28px, 14px);
2191 /* popup blocker button */
2193 #page-report-button {
2194 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2195 -moz-image-region: rect(0, 16px, 16px, 0);
2198 #page-report-button:hover ,
2199 #page-report-button:hover:active,
2200 #page-report-button[open="true"] {
2201 -moz-image-region: rect(0, 32px, 16px, 16px);
2204 /* social share panel */
2206 #social-share-panel > iframe {
2207 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2212 .social-share-toolbar {
2213 border-right: 1px solid #9C9CFF;
2214 /* background-color: #000000; */
2217 #social-share-provider-buttons {
2221 #social-share-provider-buttons > .share-provider-button {
2222 -moz-appearance: none;
2230 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2231 #social-share-provider-buttons > .share-provider-button:hover,
2232 #social-share-provider-buttons > .share-provider-button:active {
2236 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2239 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2242 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2248 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2255 /* fixup corners for share panel */
2256 .social-panel > .social-panel-frame {
2257 border-radius: inherit;
2260 #social-share-panel {
2267 .social-share-frame {
2268 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2271 /* we resize our panels dynamically, make it look nice */
2272 transition: height 100ms ease-out, width 100ms ease-out;
2275 .social-share-frame:-moz-locale-dir(ltr) {
2276 border-top-left-radius: 0;
2277 border-bottom-left-radius: 0;
2278 border-top-right-radius: inherit;
2279 border-bottom-right-radius: inherit;
2282 .social-share-frame:-moz-locale-dir(rtl) {
2283 border-top-left-radius: inherit;
2284 border-bottom-left-radius: inherit;
2285 border-top-right-radius: 0;
2286 border-bottom-right-radius: 0;
2289 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2290 border-top-left-radius: inherit;
2291 border-bottom-left-radius: inherit;
2294 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2295 border-top-right-radius: inherit;
2296 border-bottom-right-radius: inherit;
2299 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2300 border-top-left-radius: inherit;
2301 border-bottom-left-radius: inherit;
2304 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2305 border-top-right-radius: inherit;
2306 border-bottom-right-radius: inherit;
2309 /* social recommending panel */
2311 #social-mark-button {
2312 -moz-image-region: rect(0, 16px, 16px, 0);
2315 /* bookmarks menu-button */
2317 #bookmarks-menu-button.bookmark-item {
2318 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2319 -moz-image-region: rect(0px 16px 16px 0px);
2322 #bookmarks-menu-button.bookmark-item[starred] {
2323 -moz-image-region: rect(0px 32px 16px 16px);
2326 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2327 -moz-margin-start: 5px;
2330 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2332 padding-bottom: 2px;
2335 #BMB_bookmarksPopup[side="top"],
2336 #BMB_bookmarksPopup[side="bottom"] {
2338 margin-right: -20px;
2341 #BMB_bookmarksPopup[side="left"],
2342 #BMB_bookmarksPopup[side="right"] {
2344 margin-bottom: -20px;
2347 /* bookmarking panel */
2349 #editBookmarkPanelStarIcon {
2350 list-style-image: url("chrome://browser/skin/places/starred48.png");
2355 #editBookmarkPanelStarIcon[unstarred] {
2356 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2359 #editBookmarkPanelTitle {
2363 #editBookmarkPanelHeader,
2364 #editBookmarkPanelContent {
2365 margin-bottom: .5em;
2368 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2369 #editBMPanel_folderTree {
2376 border-top: 1px solid #9C9CFF;
2377 border-bottom-left-radius: 5px;
2378 border-bottom-right-radius: 5px;
2382 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2383 -moz-margin-end: 10px;
2384 vertical-align: middle;
2387 .panel-promo-closebutton {
2388 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2389 -moz-margin-end: -3px;
2393 .panel-promo-closebutton:hover {
2394 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2397 .panel-promo-closebutton:hover:active {
2398 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2401 .panel-promo-closebutton > .toolbarbutton-text {
2406 /* ::::: content area ::::: */
2409 background-color: Window;
2413 -moz-padding-start: 0px;
2416 #sidebar-header > .close-icon {
2417 /* padding: 4px 2px;
2420 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2423 #sidebar-header > .close-icon:hover,
2424 #sidebar-header > .close-icon:hover:active {
2425 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2428 .browserContainer > findbar {
2430 background-color: -moz-dialog;
2431 color: -moz-DialogText;
2440 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2443 #TabsToolbar .toolbar-holder {
2444 background-color: #000000; /* correct effect of being an actual toolbar */
2447 #main-window[disablechrome] #TabsToolbar,
2448 #TabsToolbar[tabsontop="false"] {
2449 border-bottom: 1px solid #008484;
2452 /* === BEGIN tabs.inc.css === */
2455 .tabs-newtab-button,
2456 #TabsToolbar > #new-tab-button {
2461 padding: 1px 4px 2px;
2464 .tabbrowser-tab:first-of-type {
2465 -moz-margin-start: 2px;
2468 .tabs-newtab-button,
2469 #TabsToolbar > #new-tab-button {
2470 border-radius: 8px 8px 0px 0px;
2471 -moz-margin-start: 0;
2474 .tabs-newtab-button:not(:hover),
2475 #TabsToolbar > #new-tab-button:not(:hover) {
2476 background-color: #C09070;
2479 .tabbrowser-tab[remote] {
2480 text-decoration: underline;
2483 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2484 .tabbrowser-tab[selected=true] {
2485 /* position: relative;
2489 .tab-background-middle {
2507 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2510 .tab-throbber[busy] {
2511 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2514 .tab-throbber[progress] {
2515 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2518 .tab-throbber:not([pinned]),
2519 .tab-icon-image:not([pinned]) {
2520 -moz-margin-end: 3px;
2523 .tab-throbber[pinned],
2524 .tab-icon-image[pinned] {
2525 -moz-margin-start: 2px;
2526 -moz-margin-end: 2px;
2530 /* this needs to add up to the 16px of the icon image */
2532 margin-top: 2px !important;
2533 margin-bottom: 2px !important;
2542 .tabs-newtab-button {
2543 /* overlap the tab curves */
2546 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2550 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]),
2551 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2554 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:-moz-locale-dir(rtl),
2555 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:-moz-locale-dir(ltr) {
2558 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]) {
2561 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) {
2564 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator[collapsed],
2565 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator[collapsed] {
2568 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-start-indicator,
2569 .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
2572 .tab-background-start[selected=true]::after,
2573 .tab-background-start[selected=true]::before,
2574 .tab-background-start,
2575 .tab-background-end,
2576 .tab-background-end[selected=true]::after,
2577 .tab-background-end[selected=true]::before {
2580 .tabbrowser-tab:not([selected=true]),
2581 .tabbrowser-tab:-moz-lwtheme {
2584 /* tabbrowser-tab focus ring */
2585 .tabbrowser-tab:focus {
2586 outline: 1px dotted;
2591 .tabbrowser-tab[selected="true"] {
2594 /* End selected tab */
2596 /* Tab pointer-events */
2599 pointer-events: none;
2602 .tab-background-middle,
2603 .tabs-newtab-button,
2605 pointer-events: auto;
2610 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2611 background-color: #E7ADE7;
2614 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2615 background-color: #3333FF;
2619 /* New tab button */
2621 .tabs-newtab-button {
2625 /* === END tabs.inc.css === */
2629 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2630 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2631 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2633 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2634 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2637 /* Tab DnD indicator */
2638 .tab-drop-indicator {
2639 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2640 margin-bottom: -11px;
2643 /* Tab close button */
2645 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2648 .tab-close-button:hover,
2649 .tab-close-button:hover[selected="true"] {
2650 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2653 .tab-close-button:hover:active,
2654 .tab-close-button:hover:active[selected="true"] {
2655 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2658 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2660 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2661 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2665 background-origin: border-box;
2668 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2669 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2670 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2671 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2674 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2675 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2678 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2679 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2680 /* transform: scaleX(-1);*/
2683 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2684 transition: 1s background-color ease-out;
2687 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2688 background-color: #008484;
2691 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2692 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2693 /* border-width: 0 2px 0 0;
2694 border-style: solid;
2695 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2698 .tabs-newtab-button > .toolbarbutton-icon {
2700 margin-bottom: -1px;
2703 .tabs-newtab-button,
2704 #TabsToolbar > #new-tab-button,
2705 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2706 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2707 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2708 -moz-image-region: rect(0, 16px, 18px, 0);
2711 .tabs-newtab-button,
2712 .tabs-newtab-button:hover,
2713 #TabsToolbar > #new-tab-button,
2714 #TabsToolbar > #new-tab-button:hover {
2715 -moz-image-region: rect(0, 32px, 18px, 16px);
2718 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2719 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2720 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2721 .tabs-newtab-button:-moz-lwtheme-brighttext,
2722 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2723 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2726 #TabsToolbar > #new-tab-button {
2731 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2734 #alltabs-button:hover,
2735 #alltabs-button:hover:active,
2736 #alltabs-button[open="true"] {
2737 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2740 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2741 #alltabs-button:-moz-lwtheme-brighttext {
2744 #alltabs-button > .toolbarbutton-icon {
2748 #alltabs-button > .toolbarbutton-menu-dropmarker {
2752 /* All tabs menupopup */
2753 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2754 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2755 -moz-image-region: auto;
2758 .alltabs-item[selected="true"] {
2762 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2763 list-style-image: url("chrome://global/skin/icons/loading.gif");
2766 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2767 background-color: #402800;
2770 toolbarbutton.chevron {
2771 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2774 toolbarbutton.chevron:hover {
2775 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2778 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2779 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2780 transform: scaleX(-1);
2783 toolbarbutton.chevron > .toolbarbutton-text,
2784 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2788 toolbarbutton.chevron > .toolbarbutton-icon {
2792 #sidebar-throbber[loading="true"] {
2793 list-style-image: url("chrome://global/skin/icons/loading.gif");
2794 -moz-margin-end: 4px;
2797 /* Bookmarks toolbar */
2798 #PlacesToolbarDropIndicator {
2799 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2802 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2803 background-color: #008484 !important;
2804 color: #FFCF00 !important;
2807 /* rules for menupopup drop indicators */
2808 .menupopup-drop-indicator-bar {
2810 /* these two margins must together compensate the indicator's height */
2812 margin-bottom: -1px;
2815 .menupopup-drop-indicator {
2816 list-style-image: none;
2818 -moz-margin-end: -4em;
2819 background-color: #008484;
2822 /* ::::: Identity Indicator Styling ::::: */
2825 #identity-popup-icon {
2829 list-style-image: url("chrome://browser/skin/identity.png");
2830 -moz-image-region: rect(0px, 64px, 64px, 0px);
2833 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2834 -moz-image-region: rect(64px, 64px, 128px, 0px);
2837 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2838 -moz-image-region: rect(128px, 64px, 192px, 0px);
2841 /* Popup Body Text */
2842 .identity-popup-description {
2843 white-space: pre-wrap;
2844 -moz-padding-start: 15px;
2848 .identity-popup-label {
2849 white-space: pre-wrap;
2850 -moz-padding-start: 15px;
2854 #identity-popup-content-host,
2855 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2859 #identity-popup-content-host {
2866 #identity-popup-content-owner {
2868 margin-bottom: 0 !important;
2873 .verifiedDomain > #identity-popup-content-owner {
2874 font-weight: normal;
2877 #identity-popup-content-verifier {
2881 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2882 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2884 -moz-margin-start: -24px;
2887 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2888 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2889 list-style-image: url("chrome://browser/skin/Secure24.png");
2892 #identity-popup-help-icon {
2894 margin: 7px 0 0 -3px;
2897 list-style-image: url("chrome://global/skin/icons/question-16.png");
2901 #identity-popup-help-icon > .button-box > .button-text {
2905 #identity-popup-help-icon > .button-box > .button-icon {
2910 #identity-popup-more-info-button {
2916 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2920 #identity-popup-container {
2925 #identity-popup-button-container {
2926 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2931 .popup-notification-icon {
2934 -moz-margin-end: 10px;
2937 .popup-notification-icon[popupid="geolocation"] {
2938 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2941 .popup-notification-icon[popupid="xpinstall-disabled"],
2942 .popup-notification-icon[popupid="addon-progress"],
2943 .popup-notification-icon[popupid="addon-install-cancelled"],
2944 .popup-notification-icon[popupid="addon-install-blocked"],
2945 .popup-notification-icon[popupid="addon-install-failed"],
2946 .popup-notification-icon[popupid="addon-install-complete"] {
2947 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2952 .popup-notification-icon[popupid="click-to-play-plugins"] {
2953 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
2956 .popup-notification-icon[popupid="plugins-not-found"] {
2957 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2960 .popup-notification-icon[popupid="web-notifications"] {
2961 list-style-image: url("chrome://browser/skin/notification-64.png");
2964 .addon-progress-description {
2969 .popup-progress-label,
2970 .popup-progress-meter {
2971 -moz-margin-start: 0;
2975 .popup-progress-cancel {
2976 -moz-appearance: none;
2977 background: transparent;
2983 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2984 -moz-image-region: rect(0px, 32px, 16px, 16px);
2987 .popup-progress-cancel:hover {
2988 -moz-image-region: rect(16px, 32px, 32px, 16px);
2991 .popup-progress-cancel:active {
2992 -moz-image-region: rect(32px, 32px, 48px, 16px);
2995 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2996 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
2997 .popup-notification-icon[popupid*="offline-app-requested"],
2998 .popup-notification-icon[popupid="offline-app-usage"] {
2999 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
3002 .popup-notification-icon[popupid="password-save"],
3003 .popup-notification-icon[popupid="password-change"] {
3004 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
3007 .popup-notification-icon[popupid="webapps-install-progress"],
3008 .popup-notification-icon[popupid="webapps-install"] {
3009 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3012 .popup-notification-icon[popupid="mixed-content-blocked"] {
3013 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
3016 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3017 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3018 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3021 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3022 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3023 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3026 .popup-notification-icon[popupid="pointerLock"] {
3027 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3030 /* Notification icon box */
3031 #notification-popup .panel-promo-box {
3032 /* margin: 10px -10px -10px; */
3035 #notification-popup-box {
3037 background-color: #000000;
3038 background-clip: padding-box;
3041 border-radius: 3px 0 0 3px;
3042 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3043 -moz-margin-end: -8px;
3044 border-right-width: 8px;
3047 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3048 /* padding-left: 7px; */
3051 #notification-popup-box:-moz-locale-dir(rtl),
3052 .notification-anchor-icon:-moz-locale-dir(rtl) {
3053 transform: scaleX(-1);
3056 .notification-anchor-icon {
3062 .notification-anchor-icon:-moz-focusring {
3063 outline: 1px dotted #008484;
3066 .default-notification-icon,
3067 #default-notification-icon {
3068 list-style-image: url("chrome://global/skin/icons/information-16.png");
3071 .identity-notification-icon,
3072 #identity-notification-icon {
3073 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3076 .geo-notification-icon,
3077 #geo-notification-icon {
3078 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3081 #addons-notification-icon {
3082 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3085 .indexedDB-notification-icon,
3086 #indexedDB-notification-icon {
3087 list-style-image: url("chrome://global/skin/icons/question-16.png");
3090 #password-notification-icon {
3091 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3094 #webapps-notification-icon {
3095 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3098 #plugins-notification-icon {
3099 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3102 #plugins-notification-icon.plugin-hidden {
3103 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3106 #plugins-notification-icon.plugin-blocked {
3107 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3110 #plugins-notification-icon {
3111 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3114 #plugins-notification-icon:hover {
3115 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3118 #plugin-install-notification-icon {
3119 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3122 #notification-popup-box[hidden] {
3123 /* Override display:none to make the pluginBlockedNotification animation work
3124 when showing the notification repeatedly. */
3126 visibility: collapse;
3129 #plugins-notification-icon.plugin-blocked[showing] {
3130 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3133 @keyframes pluginBlockedNotification {
3142 .mixed-content-blocked-notification-icon,
3143 #mixed-content-blocked-notification-icon {
3144 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3147 .webRTC-shareDevices-notification-icon,
3148 #webRTC-shareDevices-notification-icon {
3149 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3152 .webRTC-sharingDevices-notification-icon,
3153 #webRTC-sharingDevices-notification-icon {
3154 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3157 .webRTC-shareMicrophone-notification-icon,
3158 #webRTC-shareMicrophone-notification-icon {
3159 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3162 .webRTC-sharingMicrophone-notification-icon,
3163 #webRTC-sharingMicrophone-notification-icon {
3164 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3167 .web-notifications-notification-icon,
3168 #web-notifications-notification-icon {
3169 list-style-image: url("chrome://browser/skin/notification-16.png");
3172 #pointerLock-notification-icon {
3173 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3175 #pointerLock-cancel {
3179 /* Translation infobar */
3181 /* === BEGIN infobar.inc.css === */
3183 notification[value="translation"] .messageImage {
3184 list-style-image: url("chrome://browser/skin/translation-16.png");
3185 -moz-image-region: rect(0, 32px, 16px, 16px);
3188 @media (min-resolution: 1.25dppx) {
3189 notification[value="translation"] .messageImage {
3190 list-style-image: url("chrome://browser/skin/translation-16@2x.png");
3191 -moz-image-region: rect(0, 64px, 32px, 32px);
3195 notification[value="translation"][state="translating"] .messageImage {
3196 list-style-image: url("chrome://browser/skin/translating-16.png");
3197 -moz-image-region: auto;
3200 @media (min-resolution: 1.25dppx) {
3201 notification[value="translation"][state="translating"] .messageImage {
3202 list-style-image: url("chrome://browser/skin/translating-16@2x.png");
3206 notification[value="translation"] button,
3207 notification[value="translation"] menulist {
3211 notification[value="translation"] menulist > .menulist-dropmarker {
3214 .translation-menupopup arrowscrollbox {
3218 .translation-attribution {
3220 -moz-box-align: end;
3224 .translation-attribution > label {
3228 .translation-attribution > image {
3232 /* === END infobar.inc.css === */
3234 notification[value="translation"] {
3238 .translate-notification-icon,
3239 #translate-notification-icon {
3240 list-style-image: url("chrome://browser/skin/translation-16.png");
3241 -moz-image-region: rect(0px, 16px, 16px, 0px);
3244 .translated-notification-icon,
3245 #translated-notification-icon {
3246 list-style-image: url("chrome://browser/skin/translation-16.png");
3247 -moz-image-region: rect(0px, 32px, 16px, 16px);
3250 .translation-menupopup {
3251 -moz-appearance: none;
3254 /* Bookmarks roots menu-items */
3255 #subscribeToPageMenuitem:not([disabled]),
3256 #subscribeToPageMenupopup,
3257 #BMB_subscribeToPageMenuitem:not([disabled]),
3258 #BMB_subscribeToPageMenupopup {
3259 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3262 #bookmarksToolbarFolderMenu,
3263 #BMB_bookmarksToolbar,
3264 #panelMenu_bookmarksToolbar {
3265 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3266 -moz-image-region: auto;
3269 #BMB_unsortedBookmarks,
3270 #panelMenu_unsortedBookmarks {
3271 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3272 -moz-image-region: auto;
3275 /* ::::: Keyboard UI Panel ::::: */
3280 border-radius: 20px;
3283 .KUI-panel[level="top"] {
3284 /*background-color: rgba(27%,27%,27%,.65);*/
3290 padding: 20px 10px 10px;
3294 .ctrlTab-favicon[src] {
3295 background-color: #000000;
3301 .ctrlTab-preview-inner > .tabPreview-canvas {
3304 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3308 .ctrlTab-preview-inner {
3309 padding-bottom: 10px;
3312 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3314 background-color: #000000;
3315 border-radius: .5em;
3318 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3320 background-color: #000000;
3323 border: 2px solid #9C9CFF;
3324 border-radius: .5em;
3327 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3328 margin: -10px -10px 0;
3340 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3348 .sync-panel-button-box {
3352 #sync-error-panel-title,
3353 #sync-start-panel-title {
3359 #sync-start-panel-subtitle,
3360 #sync-error-panel-subtitle {
3366 .statuspanel-label {
3369 background: #404000;
3370 border: 1px none #9C9CFF;
3371 border-top-style: solid;
3376 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3377 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3378 border-right-style: solid;
3379 border-top-right-radius: .3em;
3383 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3384 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3385 border-left-style: solid;
3386 border-top-left-radius: .3em;
3390 /* HACK to abolish devily color on main content */
3393 background-color: transparent !important;
3396 /* === BEGIN highlighter.inc.css === */
3398 /* Box model highlighter */
3399 svg|g.box-model-container {
3403 svg|polygon.box-model-content {
3407 svg|polygon.box-model-padding {
3411 svg|polygon.box-model-border {
3415 svg|polygon.box-model-margin {
3419 svg|polygon.box-model-content,
3420 svg|polygon.box-model-padding,
3421 svg|polygon.box-model-border,
3422 svg|polygon.box-model-margin {
3426 svg|line.box-model-guide-top,
3427 svg|line.box-model-guide-right,
3428 svg|line.box-model-guide-bottom,
3429 svg|line.box-model-guide-left {
3431 stroke-dasharray: 5 3;
3434 /* Highlighter - Node Infobar */
3436 .highlighter-nodeinfobar {
3439 background-color: #000000;
3440 background-clip: padding-box;
3441 border: 1px solid #008484;
3443 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3448 /* Highlighter - Node Infobar - text */
3450 .highlighter-nodeinfobar-text {
3452 /* 100% - size of the buttons and margins */
3453 max-width: calc(100% - 2 * (26px + 6px));
3454 padding-bottom: 1px;
3457 html|*.highlighter-nodeinfobar-tagname {
3461 html|*.highlighter-nodeinfobar-id {
3465 html|*.highlighter-nodeinfobar-pseudo-classes {
3469 html|*.highlighter-nodeinfobar-dimensions {
3471 -moz-border-start: 1px solid #9C9CFF;
3472 -moz-margin-start: 6px;
3473 -moz-padding-start: 6px;
3476 /* Highlighter - Node Infobar - box & arrow */
3478 .highlighter-nodeinfobar-arrow {
3481 -moz-margin-start: calc(50% - 7px);
3482 transform: rotate(-45deg);
3483 background-clip: padding-box;
3484 background-repeat: no-repeat;
3487 .highlighter-nodeinfobar-arrow-top {
3488 margin-bottom: -8px;
3490 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3493 .highlighter-nodeinfobar-arrow-bottom {
3496 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3499 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3503 /* === END highlighter.inc.css === */
3505 #full-screen-warning-message {
3506 background-color: #000000;
3511 box-shadow: 0 0 2px #9C9CFF;
3514 #full-screen-warning-container[obscure-browser] {
3515 background-color: rgba(0,0,0,0.3);
3518 .full-screen-description {
3522 #full-screen-domain-text {
3526 .full-screen-approval-button,
3527 #full-screen-remember-decision {
3531 /* === BEGIN commandline.inc.css === */
3533 /* Developer toolbar */
3535 #developer-toolbar {
3536 border-top: 3px solid #000000;
3537 border-bottom: none;
3540 #developer-toolbar .toolbar-holder {
3541 background-color: #8050B0;
3545 #developer-toolbar .toolbar-holder {
3546 background-color: #8050B0;
3550 #developer-toolbar .toolbar-startcap,
3551 #developer-toolbar .toolbar-endcap{
3552 background-color: #6000CF;
3555 #developer-toolbar {
3557 min-height: 32px; */
3560 #developer-toolbar > toolbarbutton {
3566 .developer-toolbar-button > image {
3567 /* margin: auto 10px; */
3570 #developer-toolbar-toolbox-button > label {
3574 .developer-toolbar-button > .toolbarbutton-icon,
3575 #developer-toolbar-closebutton > .toolbarbutton-icon {
3580 #developer-toolbar-toolbox-button {
3581 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3582 -moz-image-region: rect(0px, 16px, 16px, 0px);
3585 #developer-toolbar-toolbox-button > label {
3589 #developer-toolbar-toolbox-button:hover,
3590 #developer-toolbar-toolbox-button:hover:active,
3591 #developer-toolbar-toolbox-button[checked=true] {
3592 -moz-image-region: rect(0px, 32px, 16px, 16px);
3595 @media (min-resolution: 2dppx) {
3596 #developer-toolbar-toolbox-button {
3597 list-style-image: url("chrome://browser/skin/devtools/toggle-tools@2x.png");
3598 -moz-image-region: rect(0px, 32px, 32px, 0px);
3601 #developer-toolbar-toolbox-button:hover,
3602 #developer-toolbar-toolbox-button:hover:active,
3603 #developer-toolbar-toolbox-button[checked=true] {
3604 -moz-image-region: rect(0px, 64px, 32px, 32px);
3608 #developer-toolbar-closebutton {
3609 list-style-image: url("chrome://browser/skin/devtools/close.png");
3610 -moz-image-region: rect(0px, 16px, 16px, 0px);
3615 #developer-toolbar-closebutton > .toolbarbutton-icon {
3618 #developer-toolbar-closebutton > .toolbarbutton-text {
3622 #developer-toolbar-closebutton:hover,
3623 #developer-toolbar-closebutton:hover:active {
3624 -moz-image-region: rect(0px, 32px, 16px, 16px);
3627 @media (min-resolution: 2dppx) {
3628 #developer-toolbar-closebutton {
3629 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3630 -moz-image-region: rect(0px, 32px, 32px, 0px);
3633 #developer-toolbar-closebutton:hover,
3634 #developer-toolbar-closebutton:hover:active {
3635 -moz-image-region: rect(0px, 64px, 32px, 32px);
3641 html|*#gcli-tooltip-frame,
3642 html|*#gcli-output-frame {
3645 background-color: transparent;
3651 background-color: transparent;
3654 .gclitoolbar-input-node,
3655 .gclitoolbar-complete-node {
3657 -moz-box-align: center;
3661 background-color: transparent;
3664 .gclitoolbar-input-node {
3665 /* line-height: 32px;
3666 outline-style: none; */
3667 background-repeat: no-repeat;
3668 background-color: rgba(0, 0, 0, .75);
3671 .gclitoolbar-input-node[focused="true"] {
3672 background-color: #000000;
3675 .gclitoolbar-input-node::before {
3677 display: inline-block;
3678 -moz-box-ordinal-group: 0;
3682 background-image: url("chrome://browser/skin/devtools/commandline-icon.png");
3683 background-position: 0 center;
3684 background-size: 32px 16px;
3687 .gclitoolbar-input-node[focused="true"]::before {
3688 background-position: -16px center;
3691 @media (min-resolution: 2dppx) {
3692 .gclitoolbar-input-node::before {
3693 background-image: url("chrome://browser/skin/devtools/commandline-icon@2x.png");
3697 .gclitoolbar-input-node:not([focused="true"]) {
3698 border-color: transparent;
3701 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3702 background-color: #008484;
3707 .gclitoolbar-complete-node {
3709 background-color: transparent;
3712 pointer-events: none;
3715 .gcli-in-incomplete,
3719 .gcli-in-closebrace,
3726 .gcli-in-incomplete {
3727 border-bottom: 2px dotted #8050B0;
3731 border-bottom: 2px dotted #FF0000;
3742 .gcli-in-closebrace {
3746 /* === END commandline.inc.css === */
3748 /* === BEGIN responsivedesign.inc.css === */
3750 /* Responsive Mode */
3752 .browserContainer[responsivemode] {
3753 background-color: #221500;
3754 padding: 0 20px 20px 20px;
3757 .browserStack[responsivemode] {
3758 box-shadow: 0 0 7px #9C9CFF;
3761 .devtools-responsiveui-toolbar {
3762 background: transparent;
3763 /* text color is textColor from dark theme, since no theme is applied to
3764 * the responsive toolbar.
3770 border-bottom-width: 0;
3773 .devtools-responsiveui-menulist,
3774 .devtools-responsiveui-toolbarbutton {
3775 -moz-box-align: center;
3777 /* min-height: 22px;*/
3778 /* margin: 0 3px; */
3781 .devtools-responsiveui-toolbarbutton > .toolbarbutton-icon {
3786 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3787 -moz-box-orient: horizontal;
3790 .devtools-responsiveui-menulist:-moz-focusring,
3791 .devtools-responsiveui-toolbarbutton:-moz-focusring {
3792 /* outline: 1px dotted hsla(210,30%,85%,0.7);
3793 outline-offset: -4px;*/
3796 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3800 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3801 /* border-color: hsla(210,8%,5%,.6);
3802 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3803 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); */
3806 .devtools-responsiveui-menulist[open=true],
3807 .devtools-responsiveui-toolbarbutton[open=true],
3808 .devtools-responsiveui-toolbarbutton[checked=true] {
3809 /* border-color: hsla(210,8%,5%,.6) !important;
3810 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3811 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); */
3814 .devtools-responsiveui-toolbarbutton[checked=true] {
3815 /* color: hsl(208,100%,60%); */
3818 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
3819 /* background-color: transparent !important;*/
3822 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3823 /* background-color: hsla(210,8%,5%,.2) !important;*/
3826 .devtools-responsiveui-menulist > .menulist-label-box {
3830 .devtools-responsiveui-menulist > .menulist-dropmarker {
3831 /* display: -moz-box;
3832 background-color: transparent;
3833 list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
3834 -moz-box-align: center;
3839 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3842 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3843 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3846 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3847 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3850 .devtools-responsiveui-toolbarbutton[type=menu-button] {
3851 /* padding: 0 1px;*/
3852 -moz-box-align: stretch;
3855 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3856 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3857 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.svg");
3858 -moz-box-align: center;
3862 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3863 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3867 .devtools-responsiveui-close {
3868 list-style-image: url("chrome://browser/skin/devtools/close.png");
3869 -moz-image-region: rect(0px,16px,16px,0px);
3872 .devtools-responsiveui-close:hover {
3873 -moz-image-region: rect(0px,32px,16px,16px);
3876 .devtools-responsiveui-rotate {
3877 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3878 -moz-image-region: rect(0px,16px,16px,0px);
3881 .devtools-responsiveui-rotate:hover {
3882 -moz-image-region: rect(0px,32px,16px,16px);
3885 @media (min-resolution: 2dppx) {
3886 .devtools-responsiveui-close {
3887 list-style-image: url("chrome://browser/skin/devtools/close@2x.png");
3890 .devtools-responsiveui-close:hover {
3891 -moz-image-region: rect(0px,64px,32px,32px);
3894 .devtools-responsiveui-rotate {
3895 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate@2x.png");
3898 .devtools-responsiveui-rotate:hover {
3899 -moz-image-region: rect(0px,64px,32px,32px);
3903 .devtools-responsiveui-touch {
3904 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3905 -moz-image-region: rect(0px,16px,16px,0px);
3908 .devtools-responsiveui-touch:hover,
3909 .devtools-responsiveui-touch[checked],
3910 .devtools-responsiveui-touch[checked]:hover {
3911 -moz-image-region: rect(0px,32px,16px,16px);
3914 @media (min-resolution: 2dppx) {
3915 .devtools-responsiveui-touch {
3916 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch@2x.png");
3917 -moz-image-region: rect(0px,32px,32px,0px);
3920 .devtools-responsiveui-touch:hover,
3921 .devtools-responsiveui-touch[checked],
3922 .devtools-responsiveui-touch[checked]:hover {
3923 -moz-image-region: rect(0px,64px,32px,32px);
3927 .devtools-responsiveui-screenshot {
3928 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3929 -moz-image-region: rect(0px,16px,16px,0px);
3932 .devtools-responsiveui-screenshot:hover {
3933 -moz-image-region: rect(0px,32px,16px,16px);
3936 @media (min-resolution: 2dppx) {
3937 .devtools-responsiveui-screenshot {
3938 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot@2x.png");
3941 .devtools-responsiveui-screenshot:hover {
3942 -moz-image-region: rect(0px,64px,32px,32px);
3946 .devtools-responsiveui-resizebarV {
3950 transform: translate(12px, -12px);
3951 background-size: cover;
3952 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3955 .devtools-responsiveui-resizebarH {
3959 transform: translate(-12px, 12px);
3960 background-size: cover;
3961 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3964 .devtools-responsiveui-resizehandle {
3968 transform: translate(12px, 12px);
3969 background-size: cover;
3970 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
3973 @media (min-resolution: 2dppx) {
3974 .devtools-responsiveui-resizebarV {
3975 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer@2x.png");
3978 .devtools-responsiveui-resizebarH {
3979 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer@2x.png");
3982 .devtools-responsiveui-resizehandle {
3983 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer@2x.png");
3987 /* === END responsivedesign.inc.css === */
3989 /* === including indicator.css is done at the start of the file === */
3993 #developer-toolbar-toolbox-button[error-count]:before {
3997 background-color: #FF0000;
3999 -moz-margin-end: 5px;
4002 /* Social toolbar item */
4004 #social-provider-button {
4005 -moz-image-region: rect(0, 16px, 16px, 0);
4006 list-style-image: url("chrome://browser/skin/social/services-16.png");
4009 #social-provider-button > .toolbarbutton-menu-dropmarker {
4013 .toolbarbutton-badge-container {
4019 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
4023 .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
4029 .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
4033 .toolbarbutton-badge[badge=""] {
4036 .toolbarbutton-badge[badge]:not([badge=""])::after {
4037 /* The |content| property is set in the content stylesheet. */
4042 background-color: #000000;
4043 border: 1px solid #9C9CFF;
4050 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
4055 .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
4060 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
4065 #social-notification-icon-mentions {
4066 background-color: #000000;
4068 -moz-margin-start: 2px;
4071 #social-notification-icon-mentions:hover {
4072 background-color: #FFCF00;
4075 #social-notification-icon-mentions[open="true"] {
4076 background-color: #FF9F00;
4079 #social-sidebar-splitter {
4083 .popup-notification-icon[popupid="servicesInstall"] {
4084 list-style-image: url("chrome://browser/skin/social/services-64.png");
4086 #servicesInstall-notification-icon {
4087 list-style-image: url("chrome://browser/skin/social/services-16.png");
4089 #social-undoactivation-button {
4090 -moz-margin-start: 0; /* override default label margin to match description margin */
4093 #socialActivatedNotification .popup-notification-button-container {
4097 .social-activation-icon {
4104 #social-activation-message {
4108 #social-activation-message > label {
4112 /* social toolbar provider menu */
4113 .social-statusarea-popup {
4116 margin-right: -12px;
4119 .social-statusarea-user {
4120 border-bottom: 1px solid #9C9CFF;
4121 background-color: #000000;
4127 .social-statusarea-user-portrait {
4134 .social-statusarea-loggedInStatus {
4135 background: transparent;
4140 list-style-image: none;
4143 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
4144 text-decoration: underline;
4147 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
4151 .social-panel-frame {
4152 border-radius: inherit;
4155 /* === BEGIN chat.inc.css === */
4157 #social-sidebar-header {
4161 #social-sidebar-button {
4162 -moz-appearance: none;
4163 list-style-image: url("chrome://browser/skin/social/gear_default.png");
4168 #social-sidebar-button > .toolbarbutton-icon {
4172 #social-sidebar-button:hover,
4173 #social-sidebar-button:hover:active {
4174 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
4176 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
4180 #social-sidebar-button[loading="true"] {
4181 list-style-image: url("chrome://global/skin/icons/loading.gif");
4184 #social-sidebar-favico {
4197 .chat-toolbarbutton {
4198 -moz-appearance: none;
4206 .chat-toolbarbutton > .toolbarbutton-text {
4210 .chat-toolbarbutton > .toolbarbutton-icon {
4214 .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
4219 .chat-close-button {
4220 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4221 -moz-image-region: rect(0, 16px, 16px, 0);
4224 .chat-close-button:hover,
4225 .chat-close-button:hover:active {
4226 -moz-image-region: rect(0, 32px, 16px, 16px);
4229 .chat-minimize-button {
4230 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4231 -moz-image-region: rect(16px, 16px, 32px, 0);
4234 .chat-minimize-button:hover:active,
4235 .chat-minimize-button:hover {
4236 -moz-image-region: rect(16px, 32px, 32px, 16px);
4240 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4241 -moz-image-region: rect(48px, 16px, 64px, 0);
4244 .chat-swap-button:hover:active,
4245 .chat-swap-button:hover {
4246 -moz-image-region: rect(48px, 32px, 64px, 16px);
4249 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4250 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4251 -moz-image-region: rect(32px, 16px, 48px, 0);
4254 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
4255 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
4256 -moz-image-region: rect(32px, 32px, 48px, 16px);
4261 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4267 background-color: #9C9CFF;
4274 -moz-padding-start: 6px;
4276 border-bottom: 1px solid #008484;
4280 .chat-titlebar > .notification-anchor-icon {
4285 .chat-titlebar[minimized="true"] {
4286 border-bottom: none;
4289 .chat-titlebar[selected] {
4290 background-color: #008484;
4293 .chat-titlebar[activity] {
4294 background-color: #E7ADE7;
4304 list-style-image: url("chrome://browser/skin/social/services-16.png");
4305 background-color: #000000;
4311 border-top: 1px solid #008484;
4312 -moz-border-end: 1px solid #008484;
4315 @media (min-resolution: 2dppx) {
4317 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4321 .chatbar-button > .toolbarbutton-icon {
4325 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4332 .chatbar-button > .toolbarbutton-icon {
4336 .chatbar-button:hover > .toolbarbutton-icon,
4337 .chatbar-button[open="true"] > .toolbarbutton-icon {
4341 .chatbar-button:hover,
4342 .chatbar-button[open="true"] {
4345 .chatbar-button > .toolbarbutton-text,
4346 .chatbar-button > .toolbarbutton-menu-dropmarker {
4350 .chatbar-button[activity]:not([open="true"]) {
4351 background-color: #E7ADE7;
4354 .chatbar-button > menupopup > menuitem[activity] {
4359 background: transparent;
4365 -moz-margin-end: 20px;
4371 -moz-margin-start: 4px;
4372 background-color: #000000;
4373 border: 1px solid #9C9CFF;
4374 border-bottom: none;
4375 border-top-left-radius: 2.5px;
4376 border-top-right-radius: 2.5px;
4379 chatbox[minimized="true"] {
4385 -moz-margin-start: 0px;
4391 /* === END chat.inc.css === */
4394 /* background-color: #c4cfde; */
4397 .chat-titlebar[selected] {
4398 /* background-color: #dae3f0; */
4402 -moz-appearance: none;
4403 /* background-color: #c4cfde; */
4406 .chatbar-button > .toolbarbutton-icon {
4407 /* -moz-margin-end: 0; */
4410 .chatbar-button:hover,
4411 .chatbar-button[open="true"] {
4412 /* background-color: #dae3f0; */
4415 .chatbar-button[activity]:not([open="true"]) {
4419 /* border-top-left-radius: 2.5px;
4420 border-top-right-radius: 2.5px; */
4423 /* === BEGIN plugin-doorhanger.inc.css === */
4426 * Plugin Doorhanger Styles
4429 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4430 padding: 6px 1px 2px;
4433 .click-to-play-plugins-notification-center-box {
4436 .plugin-popupnotification-centeritem:nth-child(odd) {
4437 /* background-color: rgba(0,0,0,0.1);*/
4440 .center-item-label {
4442 text-overflow: ellipsis;
4445 .center-item-warning-icon {
4446 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4447 background-repeat: no-repeat;
4450 -moz-margin-start: 6px;
4453 .click-to-play-plugins-notification-button-container {
4456 .click-to-play-popup-button {
4460 .click-to-play-plugins-notification-description-box {
4464 padding-bottom: 3px;
4467 .click-to-play-plugins-outer-description {
4471 .click-to-play-plugins-notification-link,
4476 .messageImage[value="plugin-hidden"] {
4477 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4480 /* Keep any changes to this style in sync with pluginProblem.css */
4481 notification.pluginVulnerable {
4484 notification.pluginVulnerable .messageImage {
4485 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4488 /* === END plugin-doorhanger.inc.css === */
4490 /* === BEGIN customizeMode.inc.css === */
4492 /* Customization mode */
4494 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4498 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4499 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4500 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4505 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4506 pointer-events: none;
4509 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4510 #PanelUI-contents > .panel-customization-placeholder {
4511 -moz-outline-radius: 2.5px;
4512 outline: 1px dashed transparent;
4515 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4516 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4517 -moz-box-ordinal-group: 0;
4522 outline-offset: -2px;
4523 pointer-events: none;
4529 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4530 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4531 offset from the bottom effectively the same as other targets (-2px). */
4532 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4536 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4537 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4538 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4539 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4543 /* Most target outlines are shown on hover and drag over but the panel menu uses
4544 placeholders instead. */
4545 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4546 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4547 /* nav-bar and panel outlines are always shown */
4548 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4549 outline-color: #A09090;
4552 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4553 transition: outline-color 250ms linear;
4556 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4557 transition: outline-color 250ms linear;
4558 outline-color: #9C9CFF;
4561 #PanelUI-contents > .panel-customization-placeholder {
4563 outline-offset: -5px;
4566 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4568 /* padding-left: 10px;
4569 padding-right: 10px;*/
4572 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4576 #customization-container {
4577 background-color: #000000;
4581 #customization-palette,
4582 #customization-empty {
4583 padding: 0 15px 15px;
4586 #customization-header {
4590 font-weight: lighter;
4592 padding: 15px 15px 0;
4595 #customization-panel-container {
4596 padding: 10px 10px 0px;
4599 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4600 #customization-footer {
4601 /*background-color: rgb(236,236,236);*/
4604 #customization-footer {
4605 border-top: 1px solid #9C9CFF;
4609 .customizationmode-button {
4613 .customizationmode-button:hover {
4616 .customizationmode-button[disabled="true"] {
4619 .customizationmode-button > .box-inherit > .box-inherit > .button-icon,
4620 .customizationmode-button > .button-box > .button-icon {
4624 #customization-titlebar-visibility-button {
4625 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4626 -moz-image-region: rect(0, 16px, 16px, 0);
4630 #customization-titlebar-visibility-button:hover {
4631 -moz-image-region: rect(16px, 16px, 32px, 0);
4634 #customization-titlebar-visibility-button > .button-box {
4636 padding-bottom: 1px;
4639 #customization-titlebar-visibility-button:hover:active > .button-box {
4644 #customization-titlebar-visibility-button > .button-box > .button-text {
4645 /* Sadly, button.css thinks its margins are perfect for everyone. */
4646 -moz-margin-start: 5px !important;
4649 #customization-titlebar-visibility-button > .button-box > .button-icon {
4650 vertical-align: middle;
4653 #customization-titlebar-visibility-button[checked] {
4654 -moz-image-region: rect(0, 32px, 16px, 16px);
4655 background-color: #008484;
4658 #customization-titlebar-visibility-button[checked]:hover {
4659 -moz-image-region: rect(16px, 32px, 32px, 16px);
4660 background-color: #FFCF00;
4663 #customization-titlebar-visibility-button[checked]:hover:active {
4664 background-color: #FF9F00;
4667 #main-window[customize-entered] #customization-panel-container {
4668 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4669 background-position: left top;
4670 background-repeat: repeat;
4671 background-size: auto;
4672 background-attachment: fixed;
4675 toolbarpaletteitem[place="toolbar"] {
4676 transition: border-width 250ms ease-in-out;
4679 toolbarpaletteitem[mousedown] {
4680 outline: 1px solid #008484;
4681 cursor: -moz-grabbing;
4685 .panel-customization-placeholder,
4686 toolbarpaletteitem[place="palette"],
4687 toolbarpaletteitem[place="panel"] {
4688 transition: transform .3s ease-in-out;
4691 #customization-palette {
4692 transition: opacity .3s ease-in-out;
4696 #customization-palette[showing="true"] {
4700 toolbarpaletteitem[notransition].panel-customization-placeholder,
4701 toolbarpaletteitem[notransition][place="toolbar"],
4702 toolbarpaletteitem[notransition][place="palette"],
4703 toolbarpaletteitem[notransition][place="panel"] {
4707 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4708 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
4709 toolbarpaletteitem > toolbaritem.panel-wide-item,
4710 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4711 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
4714 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4715 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
4716 transform: scale(1.3);
4719 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4720 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
4721 transform: scale(1.1);
4724 /* Override the toolkit styling for items being dragged over. */
4725 toolbarpaletteitem[place="toolbar"] {
4726 border-left-width: 0;
4727 border-right-width: 0;
4732 #customization-palette:not([hidden]) {
4733 margin-bottom: 25px;
4736 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4737 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4738 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4739 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4743 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4744 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4754 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4755 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4759 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4760 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4763 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4764 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
4768 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4769 -moz-box-pack: center;
4773 #customization-palette > toolbarpaletteitem > label {
4779 /* === END customizeMode.inc.css === */
4781 /* === BEGIN customizeTip.inc.css === */
4783 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
4790 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
4791 border: 1px solid #9C9CFF;
4794 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
4795 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
4798 .customization-tipPanel-infoBox {
4799 margin: 20px 25px 25px;
4801 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
4802 background-repeat: no-repeat;
4805 .customization-tipPanel-content {
4811 .customization-tipPanel-em {
4816 .customization-tipPanel-contentImage {
4818 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
4826 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
4827 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
4830 .customization-tipPanel-link {
4831 -moz-appearance: none;
4832 background: transparent;
4840 .customization-tipPanel-link > .button-box > .button-text {
4841 margin: 0 !important;
4844 .customization-tipPanel-closeBox > .close-icon {
4845 -moz-appearance: none;
4847 -moz-margin-end: -25px;
4850 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
4851 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4852 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
4855 /* === END customizeTip.inc.css === */
4858 * This next rule is a hack to disable subpixel anti-aliasing on all
4859 * labels during the customize mode transition. Subpixel anti-aliasing
4860 * on Windows with Direct2D layers acceleration is particularly slow to
4861 * paint, so this hack is how we sidestep that performance bottleneck.
4863 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
4864 transform: perspective(0.01px);
4867 #main-window[customize-entered] > #tab-view-deck {
4868 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4869 background-attachment: fixed;
4872 #main-window[customization-lwtheme] > #tab-view-deck:-moz-lwtheme {
4873 background-repeat: no-repeat;
4874 background-position: right top;
4875 background-attachment: fixed;
4876 /* The image will get set from CustomizeMode.jsm */
4877 background-image: none;
4878 background-color: transparent;
4881 #main-window[customization-lwtheme]:-moz-lwtheme {
4882 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4883 background-repeat: repeat;
4884 background-attachment: fixed;
4885 background-position: left top;
4888 #main-window[customize-entered] #browser-bottombox,
4889 #main-window[customize-entered] #customization-container {
4890 border-left: 1px solid #9C9CFF;
4891 border-right: 1px solid #9C9CFF;
4892 background-clip: padding-box;
4895 #main-window[customize-entered] #browser-bottombox {
4896 border-bottom: 1px solid #9C9CFF;
4899 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
4903 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4907 /* End customization mode */
4909 /* Private browsing indicators */
4912 * Currently, we have two places where we put private browsing indicators on
4913 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
4914 * When tabsintitlebar is disabled, we draw the indicator at the end of the
4915 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
4916 * want the bottom border of the image to line up with the bottom of the window
4917 * caption buttons. That's why there's so much special-casing going on in here.
4919 .private-browsing-indicator {
4921 pointer-events: none;
4924 #private-browsing-indicator-titlebar {
4929 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
4933 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
4937 #TabsToolbar > .private-browsing-indicator {
4938 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
4939 -moz-margin-start: 4px;
4943 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
4944 * mode, since the tabstrip "mimics" the titlebar in that case with its own
4945 * min/max/close window buttons.
4947 #private-browsing-indicator-titlebar > .private-browsing-indicator,
4948 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
4949 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
4950 -moz-margin-end: 4px;
4956 /* This one is for Linux */
4957 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
4958 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
4962 /* End private browsing indicators */
4964 /* === BEGIN UITour.inc.css === */
4968 #UITourHighlightContainer {
4969 -moz-appearance: none;
4971 background-color: transparent;
4972 /* This is a buffer to compensate for the movement in the "wobble" effect */
4977 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
4978 border-radius: 40px;
4979 border: 1px solid #9C9CFF;
4980 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
4981 on Linux without an X compositor where opacity is either 0 or 1. */
4982 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
4987 #UITourTooltipBody {
4988 -moz-margin-end: 14px;
4991 #UITourTooltipBody > vbox {
4995 #UITourTooltipIconContainer {
4996 -moz-margin-start: -16px;
4999 #UITourTooltipIcon {
5002 -moz-margin-start: 28px;
5003 -moz-margin-end: 28px;
5006 #UITourTooltipTitle,
5007 #UITourTooltipDescription {
5011 #UITourTooltipTitle {
5014 -moz-margin-start: 0;
5019 #UITourTooltipDescription {
5020 -moz-margin-start: 0;
5023 line-height: 1.8rem;
5024 margin-bottom: 0; /* Override global.css */
5027 #UITourTooltipClose {
5028 -moz-appearance: none;
5030 background-color: transparent;
5032 -moz-margin-start: 4px;
5036 #UITourTooltipClose > .toolbarbutton-text {
5040 #UITourTooltipButtons {
5042 background-color: rgba(0,0,0,.2);
5043 border-top: 1px solid rgba(0,0,0,.4);
5044 margin: 24px -16px -16px;
5048 #UITourTooltipButtons > button {
5052 #UITourTooltipButtons > button:first-child {
5053 -moz-margin-start: 0;
5056 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
5059 -moz-margin-end: 5px;
5062 #UITourTooltipButtons > button .button-text {
5066 #UITourTooltipButtons > button:not(.button-link) {
5067 -moz-appearance: none;
5068 background-color: #C09070;
5069 border-radius: 3000px;
5073 transition-property: background-color, color;
5074 transition-duration: 150ms;
5077 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
5078 background-color: #FFCF00;
5082 #UITourTooltipButtons > button.button-link {
5083 -moz-appearance: none;
5084 background: transparent;
5087 color: rgba(0,0,0,0.35);
5089 padding-right: 10px;
5092 #UITourTooltipButtons > button.button-link:hover {
5096 /* The primary button gets the same color as the customize button. */
5097 #UITourTooltipButtons > button.button-primary {
5098 background-color: #A06060; /* LCARS default button background color */
5101 padding-right: 30px;
5104 #UITourTooltipButtons > button.button-primary:not(:active):hover {
5105 background-color: #FFCF00;
5109 /* === END UITour.inc.css === */
5111 #UITourTooltipButtons {
5112 margin: 24px -4px -4px;
5115 /* === BEGIN contextmenu.inc.css === */
5117 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
5120 #context-navigation > .menuitem-iconic {
5122 -moz-box-pack: center;
5123 -moz-box-align: center;
5126 #context-navigation > .menuitem-iconic[disabled="true"] {
5127 background-color: transparent;
5130 #context-navigation > .menuitem-iconic > .menu-iconic-left {
5131 -moz-appearance: none;
5134 #context-back > .menu-iconic-left {
5135 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
5136 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5137 -moz-image-region: rect(0, 54px, 18px, 36px);
5140 #context-back:not([disabled="true"]):hover > .menu-iconic-left {
5141 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
5142 -moz-image-region: rect(18px, 54px, 36px, 36px);
5145 #context-back[disabled="true"] > .menu-iconic-left {
5146 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
5147 -moz-image-region: rect(36px, 54px, 54px, 36px);
5150 #context-forward > .menu-iconic-left {
5151 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
5152 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5153 -moz-image-region: rect(0, 72px, 18px, 54px);
5156 #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
5157 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
5158 -moz-image-region: rect(18px, 72px, 36px, 54px);
5161 #context-forward[disabled="true"] > .menu-iconic-left {
5162 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
5163 -moz-image-region: rect(36px, 72px, 54px, 54px);
5166 #context-reload > .menu-iconic-left {
5167 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */
5168 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5169 -moz-image-region: rect(0, 14px, 14px, 0);
5172 #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
5173 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
5174 -moz-image-region: rect(14px, 14px, 28px, 0);
5177 #context-reload[disabled="true"] > .menu-iconic-left {
5178 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
5179 -moz-image-region: rect(28px, 14px, 42px, 0);
5182 #context-stop > .menu-iconic-left {
5183 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */
5184 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
5185 -moz-image-region: rect(0, 28px, 14px, 14px);
5188 #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
5189 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
5190 -moz-image-region: rect(14px, 28px, 28px, 14px);
5193 #context-stop[disabled="true"] > .menu-iconic-left {
5194 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
5195 -moz-image-region: rect(28px, 28px, 42px, 14px);
5198 #context-bookmarkpage > .menu-iconic-left {
5199 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
5200 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
5201 -moz-image-region: rect(0, 144px, 18px, 126px);
5204 #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
5205 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
5206 -moz-image-region: rect(18px, 144px, 36px, 126px);
5209 #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
5210 /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
5211 -moz-image-region: rect(36px, 144px, 54px, 126px);
5214 #context-back:-moz-locale-dir(rtl),
5215 #context-forward:-moz-locale-dir(rtl),
5216 #context-reload:-moz-locale-dir(rtl) {
5217 transform: scaleX(-1);
5220 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
5221 width: 18px; /*16px;*/
5222 height: 18px; /*16px;*/
5226 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
5227 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
5233 /* === END contextmenu.inc.css === */
5235 #context-navigation {
5238 #context-sep-navigation {
5239 /* margin-top: -4px; */