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 @media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) {
117 /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */
118 /* Indent also due to non-applicable aero rule in original Windows theme. */
120 background-color: transparent !important;
123 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
124 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
126 background-color: #6000CF;
130 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
131 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
132 background-color: #8050B0;
136 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
140 #TabsToolbar:-moz-lwtheme {
141 /*background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);*/
144 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
148 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
149 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
154 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
155 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
156 #titlebar-buttonbox > .titlebar-button {
162 /* Position the toolbar above the bottom of background tabs */
167 #personal-bookmarks {
168 /* min-height: 24px; */
171 #print-preview-toolbar:not(:-moz-lwtheme) {
172 /* -moz-appearance: toolbox; */
175 #browser-bottombox:not(:-moz-lwtheme) {
178 /* ::::: titlebar ::::: */
182 background-color: #6000CF;
185 #titlebar:-moz-window-inactive {
186 background-color: #8050B0;
190 #main-window[sizemode="normal"] > #titlebar {
195 #main-window[sizemode="maximized"] > #titlebar {
199 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
200 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
201 #main-window[sizemode="normal"] > #titlebar,
202 #main-window[sizemode="maximized"] > #titlebar {
204 /* There is a margin-bottom set to -23 by code. */
208 /* The button box must appear on top of the navigator-toolbox in order for
209 * click and hover mouse events to work properly for the button in the restored
210 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
211 * can swallow those events. It will also place the buttons above the fog on
212 * themes with Aero Glass.
214 #titlebar-buttonbox {
215 -moz-appearance: none;
218 -moz-margin-end: 3px;
222 .titlebar-placeholder[type="appmenu-button"] {
226 .titlebar-placeholder[type="caption-buttons"] {
230 /* titlebar command buttons */
233 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
236 #titlebar-min:hover {
237 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
241 list-style-image: url("chrome://browser/skin/win-maximize.gif");
244 #titlebar-max:hover {
245 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
248 #main-window[sizemode="maximized"] #titlebar-max {
249 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
252 #main-window[sizemode="maximized"] #titlebar-max:hover {
253 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
257 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
260 #titlebar-close:hover {
261 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
264 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
265 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
266 #titlebar-fullscreen-button {
267 -moz-appearance: none;
268 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png");
269 -moz-image-region: rect(0px, 16px, 16px, 0px);
272 #titlebar-fullscreen-button:hover {
273 -moz-image-region: rect(0px, 32px, 16px, 16px);
276 @media (min-resolution: 2dppx) {
277 #titlebar-fullscreen-button {
278 list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon@2x.png");
279 -moz-image-region: rect(0px, 32px, 32px, 0px);
282 #titlebar-fullscreen-button:hover {
283 -moz-image-region: rect(0px, 64px, 32px, 32px);
289 /* ::::: bookmark buttons ::::: */
291 toolbarbutton.bookmark-item:not(.subviewbutton),
292 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
297 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
298 toolbarbutton.bookmark-item[open="true"] {
301 -moz-padding-start: 4px;
302 -moz-padding-end: 2px;*/
305 .bookmark-item > .toolbarbutton-icon,
306 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
311 /* Force the display of the label for bookmarks */
312 .bookmark-item > .toolbarbutton-text,
313 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
314 display: -moz-box !important;
317 .bookmark-item > .toolbarbutton-menu-dropmarker {
321 #bookmarks-toolbar-placeholder {
322 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
325 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
326 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
327 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
330 /* ----- BOOKMARK STAR ANIMATION ----- */
332 @keyframes animation-bookmarkAdded {
333 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
334 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
336 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
339 @keyframes animation-bookmarkPulse {
340 from { transform: scale(1); }
341 50% { transform: scale(1.3); }
342 to { transform: scale(1); }
345 #bookmarked-notification-container {
354 #bookmarked-notification {
355 background-size: 16px;
356 background-position: center;
357 background-repeat: no-repeat;
363 #bookmarked-notification-dropmarker-anchor {
368 #bookmarked-notification-dropmarker-icon {
374 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
375 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
376 animation: animation-bookmarkAdded 800ms;
377 animation-timing-function: ease, ease, ease;
380 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
381 list-style-image: none !important;
384 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
386 animation: animation-bookmarkPulse 300ms;
387 animation-delay: 600ms;
388 animation-timing-function: ease-out;
391 /* ::::: bookmark menus ::::: */
394 menuitem.bookmark-item {
399 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
404 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
405 -moz-padding-start: 0px;
408 /* ::::: bookmark items ::::: */
411 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
412 -moz-image-region: auto;
415 .bookmark-item[container] {
416 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
417 -moz-image-region: auto;
420 .bookmark-item[container][open] {
421 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
422 -moz-image-region: auto;
425 .bookmark-item[container][livemark] {
426 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
427 -moz-image-region: auto;
430 .bookmark-item[container][livemark] .bookmark-item {
431 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
432 -moz-image-region: rect(0px, 16px, 16px, 0px);
435 .bookmark-item[container][livemark] .bookmark-item[visited] {
436 -moz-image-region: rect(0px, 32px, 16px, 16px);
439 .bookmark-item[container][query] {
440 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
441 -moz-image-region: auto;
444 .bookmark-item[query][tagContainer] {
445 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
446 -moz-image-region: auto;
449 .bookmark-item[query][dayContainer] {
450 list-style-image: url("chrome://communicator/skin/history/calendar.png");
451 -moz-image-region: auto;
454 .bookmark-item[query][hostContainer] {
455 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
456 -moz-image-region: auto;
459 .bookmark-item[query][hostContainer][open] {
460 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
461 -moz-image-region: auto;
464 .bookmark-item[cutting] > .toolbarbutton-icon,
465 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
469 .bookmark-item[cutting] > .toolbarbutton-text,
470 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
474 /* ::::: primary toolbar buttons ::::: */
476 /* === BEGIN toolbarbuttons.inc.css === */
478 /* Whole section of this included file: */
479 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
480 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
481 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
482 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
483 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
484 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
485 #copy-button, #paste-button, #e10s-button),
487 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
488 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
492 -moz-image-region: rect(0, 36px, 18px, 18px);
495 #back-button:hover:not([disabled="true"]) {
496 -moz-image-region: rect(18px, 36px, 36px, 18px);
499 #back-button[disabled="true"] {
500 -moz-image-region: rect(36px, 36px, 54px, 18px);
504 -moz-image-region: rect(0, 72px, 18px, 54px);
507 #forward-button:hover:not([disabled="true"]) {
508 -moz-image-region: rect(18px, 72px, 36px, 54px);
511 #forward-button[disabled="true"] {
512 -moz-image-region: rect(36px, 72px, 54px, 54px);
515 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
516 #forward-button:-moz-locale-dir(rtl) {
517 transform: scaleX(-1);
520 #home-button[cui-areatype="toolbar"] {
521 -moz-image-region: rect(0, 126px, 18px, 108px);
524 #home-button[cui-areatype="toolbar"]:hover {
525 -moz-image-region: rect(18px, 126px, 36px, 108px);
528 #bookmarks-menu-button[cui-areatype="toolbar"] {
529 -moz-image-region: rect(0, 144px, 18px, 126px);
532 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
533 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
534 -moz-image-region: rect(18px, 144px, 36px, 126px);
537 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
538 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
539 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
540 background-color: transparent !important;
543 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
544 -moz-image-region: rect(0, 162px, 18px, 144px);
547 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
548 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
549 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
550 /* When starred and clicked (for edit/delete dialog),
551 * then only the menubutton-button itself is open, but not the whole menubutton. */
552 -moz-image-region: rect(18px, 162px, 36px, 144px);
555 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
556 -moz-image-region: rect(0, 630px, 18px, 612px);
559 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
561 -moz-box-align: center;
564 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
565 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
566 -moz-image-region: rect(18px, 630px, 36px, 612px);
569 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
570 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
573 -moz-padding-start: 2px;
574 -moz-padding-end: 0px;
577 #history-panelmenu[cui-areatype="toolbar"] {
578 -moz-image-region: rect(0, 180px, 18px, 162px);
581 #history-panelmenu[cui-areatype="toolbar"]:hover,
582 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
583 -moz-image-region: rect(18px, 180px, 36px, 162px);
586 #downloads-button[cui-areatype="toolbar"] {
587 -moz-image-region: rect(0, 198px, 18px, 180px);
590 #downloads-button[cui-areatype="toolbar"]:hover,
591 #downloads-button[cui-areatype="toolbar"][open="true"] {
592 -moz-image-region: rect(18px, 198px, 36px, 180px);
595 #add-ons-button[cui-areatype="toolbar"] {
596 -moz-image-region: rect(0, 216px, 18px, 198px);
599 #add-ons-button[cui-areatype="toolbar"]:hover {
600 -moz-image-region: rect(18px, 216px, 36px, 198px);
603 #open-file-button[cui-areatype="toolbar"] {
604 -moz-image-region: rect(0, 234px, 18px, 216px);
607 #open-file-button[cui-areatype="toolbar"]:hover {
608 -moz-image-region: rect(18px, 234px, 36px, 216px);
611 #save-page-button[cui-areatype="toolbar"] {
612 -moz-image-region: rect(0, 252px, 18px, 234px);
615 #save-page-button[cui-areatype="toolbar"]:hover {
616 -moz-image-region: rect(18px, 252px, 36px, 234px);
619 #sync-button[cui-areatype="toolbar"] {
620 -moz-image-region: rect(0, 270px, 18px, 252px);
623 #sync-button[cui-areatype="toolbar"]:hover {
624 -moz-image-region: rect(18px, 270px, 36px, 252px);
627 #sync-button[cui-areatype="toolbar"][status="active"],
628 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
629 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
630 -moz-image-region: rect(0, 18px, 18px, 0px);
634 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
635 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
636 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
640 #feed-button[cui-areatype="toolbar"] {
641 -moz-image-region: rect(0, 288px, 18px, 270px);
644 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
645 -moz-image-region: rect(18px, 288px, 36px, 270px);
648 #feed-button[cui-areatype="toolbar"][disabled="true"] {
649 -moz-image-region: rect(36px, 288px, 54px, 270px);
652 #social-share-button[cui-areatype="toolbar"] {
653 -moz-image-region: rect(0px, 306px, 18px, 288px);
656 #social-share-button[cui-areatype="toolbar"]:hover {
657 -moz-image-region: rect(18px, 306px, 36px, 288px);
660 #characterencoding-button[cui-areatype="toolbar"] {
661 -moz-image-region: rect(0, 324px, 18px, 306px);
664 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
665 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
666 -moz-image-region: rect(18px, 324px, 36px, 306px);
669 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
670 -moz-image-region: rect(36px, 324px, 54px, 306px);
673 #new-window-button[cui-areatype="toolbar"] {
674 -moz-image-region: rect(0, 342px, 18px, 324px);
677 #new-window-button[cui-areatype="toolbar"]:hover {
678 -moz-image-region: rect(18px, 342px, 36px, 324px);
681 #e10s-button[cui-areatype="toolbar"] {
682 -moz-image-region: rect(0, 342px, 18px, 324px);
685 #e10s-button[cui-areatype="toolbar"]:hover {
686 -moz-image-region: rect(18px, 342px, 36px, 324px);
689 #e10s-button > .toolbarbutton-icon {
690 transform: scaleY(-1);
693 #new-tab-button[cui-areatype="toolbar"] {
694 -moz-image-region: rect(0, 360px, 18px, 342px);
697 #new-tab-button[cui-areatype="toolbar"]:hover {
698 -moz-image-region: rect(18px, 360px, 36px, 342px);
701 #privatebrowsing-button[cui-areatype="toolbar"] {
702 -moz-image-region: rect(0, 378px, 18px, 360px);
705 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
706 -moz-image-region: rect(18px, 378px, 36px, 360px);
709 #find-button[cui-areatype="toolbar"] {
710 -moz-image-region: rect(0, 396px, 18px, 378px);
713 #find-button[cui-areatype="toolbar"]:hover {
714 -moz-image-region: rect(18px, 396px, 36px, 378px);
717 #print-button[cui-areatype="toolbar"] {
718 -moz-image-region: rect(0, 414px, 18px, 396px);
721 #print-button[cui-areatype="toolbar"]:hover {
722 -moz-image-region: rect(18px, 414px, 36px, 396px);
725 #fullscreen-button[cui-areatype="toolbar"] {
726 -moz-image-region: rect(0, 432px, 18px, 414px);
729 #fullscreen-button[cui-areatype="toolbar"]:hover {
730 -moz-image-region: rect(18px, 432px, 36px, 414px);
733 #developer-button[cui-areatype="toolbar"] {
734 -moz-image-region: rect(0, 450px, 18px, 432px);
737 #developer-button[cui-areatype="toolbar"]:hover,
738 #developer-button[cui-areatype="toolbar"][open="true"] {
739 -moz-image-region: rect(18px, 450px, 36px, 432px);
742 #preferences-button[cui-areatype="toolbar"] {
743 -moz-image-region: rect(0, 468px, 18px, 450px);
746 #preferences-button[cui-areatype="toolbar"]:hover {
747 -moz-image-region: rect(18px, 468px, 36px, 450px);
750 #PanelUI-menu-button {
751 -moz-image-region: rect(0, 486px, 18px, 468px);
754 #PanelUI-menu-button:hover,
755 #PanelUI-menu-button[open="true"] {
756 -moz-image-region: rect(18px, 486px, 36px, 468px);
759 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
760 -moz-image-region: rect(0, 504px, 18px, 486px);
763 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
764 -moz-image-region: rect(18px, 504px, 36px, 486px);
767 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
768 -moz-image-region: rect(36px, 504px, 54px, 486px);
771 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
772 -moz-image-region: rect(0, 522px, 18px, 504px);
775 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
776 -moz-image-region: rect(18px, 522px, 36px, 504px);
779 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
780 -moz-image-region: rect(36px, 522px, 54px, 504px);
783 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
784 -moz-image-region: rect(0, 540px, 18px, 522px);
787 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
788 -moz-image-region: rect(18px, 540px, 36px, 522px);
791 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
792 -moz-image-region: rect(36px, 540px, 54px, 522px);
795 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
796 -moz-image-region: rect(0, 558px, 18px, 540px);
799 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
800 -moz-image-region: rect(18px, 558px, 36px, 540px);
803 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
804 -moz-image-region: rect(36px, 558px, 54px, 540px);
807 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
808 -moz-image-region: rect(0, 576px, 18px, 558px);
811 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
812 -moz-image-region: rect(18px, 576px, 36px, 558px);
815 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
816 -moz-image-region: rect(36px, 576px, 54px, 558px);
819 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) {
820 -moz-image-region: rect(0, 594px, 18px, 576px);
823 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])):hover,
824 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]))[open="true"] {
825 -moz-image-region: rect(18px, 594px, 36px, 576px);
828 #nav-bar-overflow-button {
829 -moz-image-region: rect(0, 612px, 18px, 594px);
832 #nav-bar-overflow-button:hover,
833 #nav-bar-overflow-button[open="true"] {
834 -moz-image-region: rect(18px, 612px, 36px, 594px);
837 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
838 transform: scaleX(-1);
842 -moz-image-region: rect(0, 648px, 18px, 630px);
845 #tabview-button:hover {
846 -moz-image-region: rect(18px, 648px, 36px, 630px);
849 #email-link-button[cui-areatype="toolbar"] {
850 -moz-image-region: rect(0, 666px, 18px, 648px);
853 #email-button[cui-areatype="toolbar"]:hover {
854 -moz-image-region: rect(18px, 666px, 36px, 648px);
857 #sidebar-button[cui-areatype="toolbar"] {
858 -moz-image-region: rect(0, 684px, 18px, 666px);
861 #sidebar-button[cui-areatype="toolbar"]:hover {
862 -moz-image-region: rect(18px, 684px, 36px, 666px);
865 #loop-call-button > .toolbarbutton-badge-container {
866 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
867 -moz-image-region: rect(0, 18px, 18px, 0);
870 #loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
871 -moz-image-region: rect(0, 90px, 18px, 72px);
874 #loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
875 -moz-image-region: rect(0, 36px, 18px, 18px);
878 #loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
879 -moz-image-region: rect(0, 126px, 18px, 108px);
882 #loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
883 -moz-image-region: rect(0, 54px, 18px, 36px);
886 #loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
887 -moz-image-region: rect(0, 72px, 18px, 54px);
890 #loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
891 -moz-image-region: rect(0, 108px, 18px, 90px);
894 /* === END toolbarbuttons.inc.css === */
896 /* === BEGIN menupanel.inc.css === */
898 /* Menu panel and palette styles */
900 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
901 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
902 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
903 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
904 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
905 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
906 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
907 #copy-button, #paste-button, #e10s-button)[cui-areatype="menu-panel"],
908 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
909 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
910 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
911 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
912 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
913 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
914 #copy-button, #paste-button, #e10s-button) {
915 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
918 #home-button[cui-areatype="menu-panel"],
919 toolbarpaletteitem[place="palette"] > #home-button {
920 -moz-image-region: rect(0px, 128px, 32px, 96px);
923 #home-button[cui-areatype="menu-panel"]:hover,
924 toolbarpaletteitem[place="palette"] > #home-button:hover {
925 -moz-image-region: rect(32px, 128px, 64px, 96px);
928 #bookmarks-menu-button[cui-areatype="menu-panel"],
929 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
930 -moz-image-region: rect(0px, 192px, 32px, 160px);
933 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
934 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
935 -moz-image-region: rect(32px, 192px, 64px, 160px);
938 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
939 -moz-image-region: rect(32px, 192px, 64px, 160px);
942 #history-panelmenu[cui-areatype="menu-panel"],
943 toolbarpaletteitem[place="palette"] > #history-panelmenu {
944 -moz-image-region: rect(0px, 224px, 32px, 192px);
947 #history-panelmenu[cui-areatype="menu-panel"]:hover,
948 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
949 -moz-image-region: rect(32px, 224px, 64px, 192px);
952 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
953 -moz-image-region: rect(32px, 224px, 64px, 192px);
956 #downloads-button[cui-areatype="menu-panel"],
957 toolbarpaletteitem[place="palette"] > #downloads-button {
958 -moz-image-region: rect(0px, 256px, 32px, 224px);
961 #downloads-button[cui-areatype="menu-panel"]:hover,
962 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
963 -moz-image-region: rect(32px, 256px, 64px, 224px);
966 #add-ons-button[cui-areatype="menu-panel"],
967 toolbarpaletteitem[place="palette"] > #add-ons-button {
968 -moz-image-region: rect(0px, 288px, 32px, 256px);
971 #add-ons-button[cui-areatype="menu-panel"]:hover,
972 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
973 -moz-image-region: rect(32px, 288px, 64px, 256px);
976 #open-file-button[cui-areatype="menu-panel"],
977 toolbarpaletteitem[place="palette"] > #open-file-button {
978 -moz-image-region: rect(0px, 320px, 32px, 288px);
981 #open-file-button[cui-areatype="menu-panel"]:hover,
982 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
983 -moz-image-region: rect(32px, 320px, 64px, 288px);
986 #save-page-button[cui-areatype="menu-panel"],
987 toolbarpaletteitem[place="palette"] > #save-page-button {
988 -moz-image-region: rect(0px, 352px, 32px, 320px);
991 #save-page-button[cui-areatype="menu-panel"]:hover,
992 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
993 -moz-image-region: rect(32px, 352px, 64px, 320px);
996 #sync-button[cui-areatype="menu-panel"],
997 toolbarpaletteitem[place="palette"] > #sync-button {
998 -moz-image-region: rect(0px, 384px, 32px, 352px);
1001 #sync-button[cui-areatype="menu-panel"]:hover,
1002 toolbarpaletteitem[place="palette"] > #sync-button:hover {
1003 -moz-image-region: rect(32px, 384px, 64px, 352px);
1006 #sync-button[cui-areatype="menu-panel"][status="active"] {
1007 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
1008 -moz-image-region: rect(0px, 32px, 32px, 0px);
1011 #feed-button[cui-areatype="menu-panel"],
1012 toolbarpaletteitem[place="palette"] > #feed-button {
1013 -moz-image-region: rect(0px, 416px, 32px, 384px);
1016 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1017 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
1018 -moz-image-region: rect(32px, 416px, 64px, 384px);
1021 #feed-button[cui-areatype="menu-panel"][disabled="true"],
1022 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
1023 -moz-image-region: rect(64px, 416px, 96px, 384px);
1026 #social-share-button[cui-areatype="menu-panel"],
1027 toolbarpaletteitem[place="palette"] > #social-share-button {
1028 -moz-image-region: rect(0px, 448px, 32px, 416px);
1031 #social-share-button[cui-areatype="menu-panel"]:hover,
1032 toolbarpaletteitem[place="palette"] > #social-share-button:hover {
1033 -moz-image-region: rect(32px, 448px, 64px, 416px);
1036 #characterencoding-button[cui-areatype="menu-panel"],
1037 toolbarpaletteitem[place="palette"] > #characterencoding-button {
1038 -moz-image-region: rect(0px, 480px, 32px, 448px);
1041 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
1042 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
1043 -moz-image-region: rect(32px, 480px, 64px, 448px);
1046 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
1047 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
1048 -moz-image-region: rect(64px, 480px, 96px, 448px);
1051 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1052 -moz-image-region: rect(32px, 480px, 64px, 448px);
1055 #new-window-button[cui-areatype="menu-panel"],
1056 toolbarpaletteitem[place="palette"] > #new-window-button {
1057 -moz-image-region: rect(0px, 512px, 32px, 480px);
1060 #new-window-button[cui-areatype="menu-panel"]:hover,
1061 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1062 -moz-image-region: rect(32px, 512px, 64px, 480px);
1065 #e10s-button[cui-areatype="menu-panel"],
1066 toolbarpaletteitem[place="palette"] > #e10s-button {
1067 -moz-image-region: rect(0px, 512px, 32px, 480px);
1070 #e10s-button[cui-areatype="menu-panel"]:hover,
1071 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1072 -moz-image-region: rect(32px, 512px, 64px, 480px);
1075 #new-tab-button[cui-areatype="menu-panel"],
1076 toolbarpaletteitem[place="palette"] > #new-tab-button {
1077 -moz-image-region: rect(0px, 544px, 32px, 512px);
1080 #new-tab-button[cui-areatype="menu-panel"]:hover,
1081 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1082 -moz-image-region: rect(32px, 544px, 64px, 512px);
1085 #privatebrowsing-button[cui-areatype="menu-panel"],
1086 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1087 -moz-image-region: rect(0px, 576px, 32px, 544px);
1090 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1091 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1092 -moz-image-region: rect(32px, 576px, 64px, 544px);
1095 #tabview-button[cui-areatype="menu-panel"],
1096 toolbarpaletteitem[place="palette"] > #tabview-button {
1097 -moz-image-region: rect(0px, 608px, 32px, 576px);
1100 #tabview-button[cui-areatype="menu-panel"]:hover,
1101 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1102 -moz-image-region: rect(32px, 608px, 64px, 576px);
1105 #find-button[cui-areatype="menu-panel"],
1106 toolbarpaletteitem[place="palette"] > #find-button {
1107 -moz-image-region: rect(0px, 640px, 32px, 608px);
1110 #find-button[cui-areatype="menu-panel"]:hover,
1111 toolbarpaletteitem[place="palette"] > #find-button:hover {
1112 -moz-image-region: rect(32px, 640px, 64px, 608px);
1115 #print-button[cui-areatype="menu-panel"],
1116 toolbarpaletteitem[place="palette"] > #print-button {
1117 -moz-image-region: rect(0px, 672px, 32px, 640px);
1120 #print-button[cui-areatype="menu-panel"]:hover,
1121 toolbarpaletteitem[place="palette"] > #print-button:hover {
1122 -moz-image-region: rect(32px, 672px, 64px, 640px);
1125 #fullscreen-button[cui-areatype="menu-panel"],
1126 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1127 -moz-image-region: rect(0px, 704px, 32px, 672px);
1130 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1131 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1132 -moz-image-region: rect(32px, 704px, 64px, 672px);
1135 #developer-button[cui-areatype="menu-panel"],
1136 toolbarpaletteitem[place="palette"] > #developer-button {
1137 -moz-image-region: rect(0px, 736px, 32px, 704px);
1140 #developer-button[cui-areatype="menu-panel"]:hover,
1141 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1142 -moz-image-region: rect(32px, 736px, 64px, 704px);
1145 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1146 -moz-image-region: rect(32px, 736px, 64px, 704px);
1149 #preferences-button[cui-areatype="menu-panel"],
1150 toolbarpaletteitem[place="palette"] > #preferences-button {
1151 -moz-image-region: rect(0px, 768px, 32px, 736px);
1154 #preferences-button[cui-areatype="menu-panel"]:hover,
1155 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1156 -moz-image-region: rect(32px, 768px, 64px, 736px);
1159 #email-link-button[cui-areatype="menu-panel"],
1160 toolbarpaletteitem[place="palette"] > #email-link-button {
1161 -moz-image-region: rect(0, 800px, 32px, 768px);
1164 #email-link-button[cui-areatype="menu-panel"]:hover,
1165 toolbarpaletteitem[place="palette"] > #email-link-button:hover {
1166 -moz-image-region: rect(32px, 800px, 64px, 768px);
1169 #sidebar-button[cui-areatype="menu-panel"],
1170 toolbarpaletteitem[place="palette"] > #sidebar-button {
1171 -moz-image-region: rect(0, 864px, 32px, 832px);
1174 #sidebar-button[cui-areatype="menu-panel"]:hover,
1175 toolbarpaletteitem[place="palette"] > #sidebar-button:hover {
1176 -moz-image-region: rect(32px, 864px, 64px, 832px);
1179 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1180 -moz-image-region: rect(32px, 864px, 64px, 832px);
1183 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1184 -moz-image-region: rect(0, 832px, 32px, 800px);
1187 #loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1188 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1189 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1190 -moz-image-region: rect(0, 32px, 32px, 0);
1193 /* Make sure that the state icons are not shown in the customization palette. */
1194 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1195 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1198 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1199 -moz-image-region: rect(0, 160px, 32px, 128px);
1202 #loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1203 -moz-image-region: rect(0, 64px, 32px, 32px);
1206 #loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1207 -moz-image-region: rect(0, 224px, 32px, 192px);
1210 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1211 -moz-image-region: rect(0, 96px, 32px, 64px);
1214 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1215 -moz-image-region: rect(0, 128px, 32px, 96px);
1218 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1219 -moz-image-region: rect(0, 192px, 32px, 160px);
1222 /* Wide panel control icons */
1224 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1225 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1226 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1227 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1228 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
1231 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1232 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1233 -moz-image-region: rect(0px, 32px, 16px, 16px);
1236 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1237 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1238 -moz-image-region: rect(16px, 32px, 32px, 16px);
1241 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1242 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1243 -moz-image-region: rect(32px, 32px, 48px, 16px);
1246 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1247 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1248 -moz-image-region: rect(0px, 48px, 16px, 32px);
1251 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1252 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1253 -moz-image-region: rect(16px, 48px, 32px, 32px);
1256 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1257 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1258 -moz-image-region: rect(32px, 48px, 48px, 32px);
1261 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1262 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1263 -moz-image-region: rect(0px, 64px, 16px, 48px);
1266 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1267 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1268 -moz-image-region: rect(16px, 64px, 32px, 48px);
1271 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1272 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1273 -moz-image-region: rect(32px, 64px, 48px, 48px);
1276 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1277 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1278 -moz-image-region: rect(0px, 80px, 16px, 64px);
1281 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1282 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1283 -moz-image-region: rect(16px, 80px, 32px, 64px);
1286 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1287 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1288 -moz-image-region: rect(32px, 80px, 48px, 64px);
1291 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1292 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1293 -moz-image-region: rect(0px, 96px, 16px, 80px);
1296 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1297 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1298 -moz-image-region: rect(16px, 96px, 32px, 80px);
1301 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1302 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1303 -moz-image-region: rect(32px, 96px, 48px, 80px);
1306 /* === END menupanel.inc.css === */
1308 .toolbarbutton-1:not([type="menu-button"]) {
1309 -moz-box-orient: vertical;
1313 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1319 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1320 .toolbarbutton-1[disabled="true"]:hover:active,
1321 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1325 .toolbarbutton-1:hover:active,
1326 .toolbarbutton-1[open="true"],
1327 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1329 padding-bottom: 0px;
1330 -moz-padding-start: 3px;
1331 -moz-padding-end: 1px;
1334 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1335 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1336 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1337 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1338 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1341 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1342 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1345 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1346 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1349 .toolbarbutton-1 > .toolbarbutton-icon,
1350 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1353 #nav-bar .toolbarbutton-1,
1354 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1357 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1358 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1359 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1362 #nav-bar #PanelUI-menu-button {
1363 /* -moz-padding-start: 7px;
1364 -moz-padding-end: 5px;*/
1367 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1368 /* padding-left: 5px;
1369 padding-right: 5px;*/
1372 #nav-bar .toolbarbutton-1 > menupopup {
1373 /* margin-top: -3px;*/
1376 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1380 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1381 /* -moz-padding-end: 0;*/
1384 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1385 /* -moz-padding-start: 0;
1386 -moz-box-align: center;*/
1389 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1390 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1391 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1392 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1393 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1394 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1395 /* padding: 2px 6px;
1397 border-color: transparent;
1398 transition-property: background-color, border-color;
1399 transition-duration: 150ms;*/
1402 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1403 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1404 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1409 /* Help SDK icons fit: */
1410 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1414 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1415 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1419 #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,
1420 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1421 /* -moz-padding-end: 17px;*/
1424 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1427 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1430 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1433 #nav-bar .toolbaritem-combined-buttons {
1434 /* margin-left: 2px;
1435 margin-right: 2px;*/
1438 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1443 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1444 #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 {
1450 -moz-margin-end: -1px;
1454 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1457 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1458 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1459 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1460 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1461 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1462 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1463 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1464 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1467 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1468 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1469 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1470 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1471 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1474 #TabsToolbar .toolbarbutton-1,
1475 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1476 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1477 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1480 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1481 #TabsToolbar .toolbarbutton-1[open],
1482 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1483 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1484 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1487 /* unified back/forward button */
1490 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1493 #forward-button > menupopup {
1494 margin-top: 1px !important;
1497 #forward-button > .toolbarbutton-icon {
1498 background-clip: padding-box !important;
1499 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1500 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1504 -moz-margin-start: -4px !important;
1509 border-radius: 0 10000px 10000px 0;
1512 #forward-button:-moz-locale-dir(rtl) {
1513 border-radius: 10000px 0 0 10000px;
1516 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1517 transition: margin-left 150ms ease-out;
1520 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1521 margin-left: -27px !important;
1524 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1525 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1526 transition-delay: 100s;
1529 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1530 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1531 margin-left: -27.01px !important;
1535 /* padding-top: 3px !important;
1536 padding-bottom: 3px !important;
1537 -moz-padding-start: 5px !important;
1538 -moz-padding-end: 0 !important;*/
1541 border-radius: 10000px;
1545 margin-bottom: -2px;
1548 #back-button:-moz-locale-dir(rtl) {
1551 #back-button > menupopup {
1552 margin-top: -1px !important;
1555 #back-button > .toolbarbutton-icon {
1556 border-radius: 10000px !important;
1557 background-clip: padding-box !important;
1558 /* background-color: hsla(210,25%,98%,.08) !important;
1559 padding: 6px !important;
1560 border-style: none !important;
1561 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1562 0 0 0 1px hsla(210,4%,10%,.25);*/
1563 transition-property: background-color, box-shadow !important;
1564 transition-duration: 250ms !important;
1567 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1568 /* background-color: hsla(210,4%,10%,.08) !important;*/
1571 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1572 #back-button[open="true"] > .toolbarbutton-icon {
1573 /* background-color: hsla(210,4%,10%,.12) !important;
1574 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1575 0 0 0 1px hsla(210,4%,10%,.25),
1576 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1579 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1580 transform: scaleX(-1);
1583 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1584 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1585 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1588 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1589 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1590 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1593 #home-button.bookmark-item {
1594 list-style-image: url("chrome://browser/skin/Toolbar.png");
1597 #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),
1598 #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),
1599 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1600 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1601 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1602 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1603 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1606 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1609 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1610 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1611 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1615 #downloads-button > .toolbarbutton-icon {
1619 /* tabview button & menu item */
1622 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1623 -moz-image-region: rect(1px, 89px, 17px, 73px);
1626 #menu_tabview[groups="0"] {
1627 -moz-image-region: rect(1px, 17px, 17px, 1px);
1630 #menu_tabview[groups="1"] {
1631 -moz-image-region: rect(1px, 35px, 17px, 19px);
1634 #menu_tabview[groups="2"] {
1635 -moz-image-region: rect(1px, 53px, 17px, 37px);
1638 #menu_tabview[groups="3"] {
1639 -moz-image-region: rect(1px, 71px, 17px, 55px);
1642 /* zoom control text (reset) button special case: */
1644 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1645 /* To make this line up with the icons, it needs the same height (18px) +
1646 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1647 * increase in text sizes would break things...
1652 /* ::::: fullscreen window controls ::::: */
1655 -moz-margin-start: 4px;
1661 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1666 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1669 #minimize-button:hover {
1670 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1674 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1677 #restore-button:hover {
1678 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1682 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1685 #close-button:hover {
1686 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1689 /* ::::: Location Bar ::::: */
1692 .searchbar-textbox {
1695 -moz-margin-start: 3px;
1699 /* make color as light as possible to deal with dark non-domain parts */
1703 #urlbar:-moz-lwtheme,
1704 .searchbar-textbox:-moz-lwtheme {
1705 /* background-color: rgba(255,255,255,.8);
1706 @navbarTextboxCustomBorder@
1710 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1711 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1712 /* background-color: rgba(255,255,255,.9);*/
1715 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1716 .searchbar-textbox:-moz-lwtheme[focused] {
1717 /* background-color: white;*/
1720 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1721 /* -moz-border-start: none;
1725 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1726 /* border-top-left-radius: 0;
1727 border-bottom-left-radius: 0; */
1730 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1731 /* border-top-right-radius: 0;
1732 border-bottom-right-radius: 0; */
1735 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1736 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1737 /* -moz-margin-start: -5px; */
1740 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1741 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1742 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1743 transform: scaleX(-1);
1746 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1747 -moz-box-direction: reverse;
1750 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1751 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1756 -moz-box-orient: horizontal;
1757 -moz-box-align: stretch;
1760 .urlbar-textbox-container {
1761 -moz-box-align: stretch;
1765 -moz-margin-start: 0;
1769 -moz-box-align: center;
1776 .searchbar-engine-button,
1777 .search-go-container {
1781 .search-go-container > .search-go-button {
1785 .urlbar-icon:hover {
1788 .urlbar-icon[open="true"],
1789 .urlbar-icon:hover:active {
1792 #urlbar-search-splitter {
1794 -moz-margin-start: -3px;
1796 background: transparent;
1799 #urlbar-search-splitter + #urlbar-container > #urlbar,
1800 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1801 -moz-margin-start: 0;
1804 #urlbar-display-box {
1808 -moz-border-end: 1px solid #9C9CFF;
1809 -moz-margin-end: 3px;
1812 -moz-margin-start: 0;
1817 min-width: calc(54px + 11ch);
1827 #identity-box:-moz-locale-dir(ltr) {
1828 /* border-top-left-radius: 1.5px;
1829 border-bottom-left-radius: 1.5px;*/
1832 #identity-box:-moz-locale-dir(rtl) {
1833 /* border-top-right-radius: 1.5px;
1834 border-bottom-right-radius: 1.5px;*/
1837 #notification-popup-box:not([hidden]) + #identity-box {
1838 -moz-padding-start: 10px !important;
1842 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1843 /* border-radius: 0; */
1844 -moz-padding-start: 2px;
1845 -moz-padding-end: 2px;
1846 -moz-margin-end: 1px;
1849 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1850 transition: padding-left, padding-right;
1853 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1854 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1858 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1859 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1863 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1864 #notification-popup-box[hidden] + #identity-box {
1865 /* forward button hiding is delayed when hovered */
1866 transition-delay: 100s;
1869 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1870 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1871 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1872 padding-left: 2.01px;
1875 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1876 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1877 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1878 padding-right: 2.01px;
1881 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1882 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1883 -moz-margin-end: 3px;
1886 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
1887 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1888 border-top-right-radius: 0;
1889 border-bottom-right-radius: 0;
1892 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
1893 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1894 border-top-left-radius: 0;
1895 border-bottom-left-radius: 0;
1898 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1899 background-color: #000000;
1902 #identity-box:-moz-focusring {
1903 outline: 1px dotted #008484;
1904 outline-offset: -1px;
1907 #identity-box.verifiedDomain:-moz-focusring,
1908 #identity-box.verifiedIdentity:-moz-focusring {
1909 outline-color: #000000;
1912 #identity-icon-labels {
1913 -moz-margin-start: 1px;
1914 -moz-margin-end: 3px;
1917 /* Location bar dropmarker */
1919 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1920 background-color: transparent;
1923 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1924 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
1929 .urlbar-history-dropmarker:hover {
1932 .urlbar-history-dropmarker:hover:active,
1933 .urlbar-history-dropmarker[open="true"] {
1936 /* page proxy icon */
1938 /* === BEGIN identity-block.inc.css === */
1940 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1941 /* Default theme does different color per channel, we can't as they do it build-time. */
1943 -moz-border-end: 1px solid #9C9CFF;
1946 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1948 -moz-border-end: 1px solid #008484;
1951 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1952 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1953 background-position: right;
1954 background-size: 1px;
1955 background-repeat: no-repeat;
1958 /* page proxy icon */
1960 #page-proxy-favicon {
1963 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1967 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1968 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
1971 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
1972 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1975 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1976 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1979 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1980 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1983 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1984 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1987 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1988 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1991 #page-proxy-favicon[pageproxystate="invalid"] {
1995 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1996 list-style-image: url("chrome://branding/content/icon64.png");
1999 #identity-popup-brandName {
2003 margin-bottom: .5em;
2006 #identity-popup-content-box {
2010 /* === END identity-block.inc.css === */
2012 #page-proxy-favicon {
2013 -moz-image-region: rect(0, 16px, 16px, 0);
2016 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
2017 /* -moz-margin-end: 1px;*/
2020 #identity-box:hover > #page-proxy-favicon {
2021 -moz-image-region: rect(0, 32px, 16px, 16px);
2024 #identity-box:hover:active > #page-proxy-favicon,
2025 #identity-box[open=true] > #page-proxy-favicon {
2026 -moz-image-region: rect(0, 48px, 16px, 32px);
2029 #identity-box:hover {
2030 background-color: #FFCF00;
2034 #identity-box:hover:active,
2035 #identity-box[open=true] {
2036 background-color: #FF9F00;
2040 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
2041 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
2042 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
2043 background-color: #9C9CFF;
2047 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
2048 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
2049 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2050 background-color: #008484;
2056 #treecolAutoCompleteImage {
2060 .ac-result-type-bookmark,
2061 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2062 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2063 -moz-image-region: rect(0px 16px 16px 0px);
2068 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2069 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2070 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2073 .ac-result-type-keyword,
2074 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2075 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2076 -moz-image-region: rect(0px 32px 16px 16px);
2081 .ac-result-type-tag,
2082 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2083 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2092 .ac-extra > .ac-comment {
2102 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2103 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2104 -moz-image-region: rect(0, 16px, 16px, 0);
2108 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2109 -moz-image-region: rect(16px, 16px, 32px, 0);
2112 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2116 .ac-comment[selected="true"],
2117 .ac-url-text[selected="true"],
2118 .ac-action-text[selected="true"] {
2119 color: inherit !important;
2122 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2123 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2129 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2130 border-top: 1px solid #9C9CFF;
2133 /* combined go/reload/stop button in location bar */
2135 #urlbar > toolbarbutton {
2136 -moz-margin-start: 0;
2138 background-origin: border-box;
2140 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2141 -moz-border-start: 1px solid #9C9CFF;
2144 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2145 border-top-left-radius: 0px;
2146 border-bottom-left-radius: 0px;
2149 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2150 border-top-right-radius: 0px;
2151 border-bottom-right-radius: 0px;
2154 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2155 #urlbar-reload-button:not(:hover) {
2156 -moz-border-start-style: none;
2157 -moz-padding-start: 3px;
2160 #urlbar-reload-button {
2161 -moz-image-region: rect(0px, 14px, 14px, 0px);
2164 #urlbar-reload-button[disabled=true] {
2165 -moz-image-region: rect(28px, 14px, 42px, 0px);
2168 #urlbar-reload-button:not([disabled=true]):hover {
2169 -moz-image-region: rect(14px, 14px, 28px, 0px);
2172 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2173 transform: scaleX(-1);
2177 -moz-image-region: rect(0, 42px, 14px, 28px);
2180 #urlbar-go-button:hover {
2181 -moz-image-region: rect(14px, 42px, 28px, 28px);
2184 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2185 transform: scaleX(-1);
2188 #urlbar-stop-button {
2189 -moz-image-region: rect(0px, 28px, 14px, 14px);
2192 #urlbar-stop-button:hover {
2193 -moz-image-region: rect(14px, 28px, 28px, 14px);
2196 /* popup blocker button */
2198 #page-report-button {
2199 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2200 -moz-image-region: rect(0, 16px, 16px, 0);
2203 #page-report-button:hover ,
2204 #page-report-button:hover:active,
2205 #page-report-button[open="true"] {
2206 -moz-image-region: rect(0, 32px, 16px, 16px);
2209 /* social share panel */
2211 #social-share-panel > iframe {
2212 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2217 .social-share-toolbar {
2218 border-right: 1px solid #9C9CFF;
2219 /* background-color: #000000; */
2222 #social-share-provider-buttons {
2226 #social-share-provider-buttons > .share-provider-button {
2227 -moz-appearance: none;
2235 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2236 #social-share-provider-buttons > .share-provider-button:hover,
2237 #social-share-provider-buttons > .share-provider-button:active {
2241 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2244 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2247 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2253 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2260 /* fixup corners for share panel */
2261 .social-panel > .social-panel-frame {
2262 border-radius: inherit;
2265 #social-share-panel {
2272 .social-share-frame {
2273 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2276 /* we resize our panels dynamically, make it look nice */
2277 transition: height 100ms ease-out, width 100ms ease-out;
2280 .social-share-frame:-moz-locale-dir(ltr) {
2281 border-top-left-radius: 0;
2282 border-bottom-left-radius: 0;
2283 border-top-right-radius: inherit;
2284 border-bottom-right-radius: inherit;
2287 .social-share-frame:-moz-locale-dir(rtl) {
2288 border-top-left-radius: inherit;
2289 border-bottom-left-radius: inherit;
2290 border-top-right-radius: 0;
2291 border-bottom-right-radius: 0;
2294 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2295 border-top-left-radius: inherit;
2296 border-bottom-left-radius: inherit;
2299 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2300 border-top-right-radius: inherit;
2301 border-bottom-right-radius: inherit;
2304 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2305 border-top-left-radius: inherit;
2306 border-bottom-left-radius: inherit;
2309 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2310 border-top-right-radius: inherit;
2311 border-bottom-right-radius: inherit;
2314 /* social recommending panel */
2316 #social-mark-button {
2317 -moz-image-region: rect(0, 16px, 16px, 0);
2320 /* bookmarks menu-button */
2322 #bookmarks-menu-button.bookmark-item {
2323 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2324 -moz-image-region: rect(0px 16px 16px 0px);
2327 #bookmarks-menu-button.bookmark-item[starred] {
2328 -moz-image-region: rect(0px 32px 16px 16px);
2331 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2332 -moz-margin-start: 5px;
2335 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2337 padding-bottom: 2px;
2340 #BMB_bookmarksPopup[side="top"],
2341 #BMB_bookmarksPopup[side="bottom"] {
2343 margin-right: -20px;
2346 #BMB_bookmarksPopup[side="left"],
2347 #BMB_bookmarksPopup[side="right"] {
2349 margin-bottom: -20px;
2352 /* bookmarking panel */
2354 #editBookmarkPanelStarIcon {
2355 list-style-image: url("chrome://browser/skin/places/starred48.png");
2360 #editBookmarkPanelStarIcon[unstarred] {
2361 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2364 #editBookmarkPanelTitle {
2368 #editBookmarkPanelHeader,
2369 #editBookmarkPanelContent {
2370 margin-bottom: .5em;
2373 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2374 #editBMPanel_folderTree {
2381 border-top: 1px solid #9C9CFF;
2382 border-bottom-left-radius: 5px;
2383 border-bottom-right-radius: 5px;
2387 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2388 -moz-margin-end: 10px;
2389 vertical-align: middle;
2392 .panel-promo-closebutton {
2393 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2394 -moz-margin-end: -3px;
2398 .panel-promo-closebutton:hover {
2399 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2402 .panel-promo-closebutton:hover:active {
2403 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2406 .panel-promo-closebutton > .toolbarbutton-text {
2411 /* ::::: content area ::::: */
2414 background-color: Window;
2418 -moz-padding-start: 0px;
2421 #sidebar-header > .close-icon {
2422 /* padding: 4px 2px;
2425 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2428 #sidebar-header > .close-icon:hover,
2429 #sidebar-header > .close-icon:hover:active {
2430 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2433 .browserContainer > findbar {
2435 background-color: -moz-dialog;
2436 color: -moz-DialogText;
2445 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2448 #TabsToolbar .toolbar-holder {
2449 background-color: #000000; /* correct effect of being an actual toolbar */
2452 #main-window[disablechrome] #TabsToolbar,
2453 #TabsToolbar[tabsontop="false"] {
2454 border-bottom: 1px solid #008484;
2457 #main-window:not([customizing]) #TabsToolbar:not(:-moz-lwtheme) {
2460 #main-window[tabsintitlebar] #TabsToolbar {
2461 background-color: transparent;
2464 /* === BEGIN tabs.inc.css === */
2467 .tabs-newtab-button,
2468 #TabsToolbar > #new-tab-button {
2473 padding: 1px 4px 2px;
2476 .tabbrowser-tab:first-of-type {
2477 -moz-margin-start: 2px;
2480 .tabs-newtab-button,
2481 #TabsToolbar > #new-tab-button {
2482 border-radius: 8px 8px 0px 0px;
2483 -moz-margin-start: 0;
2486 .tabs-newtab-button:not(:hover),
2487 #TabsToolbar > #new-tab-button:not(:hover) {
2488 background-color: #C09070;
2491 .tabbrowser-tab[remote] {
2492 text-decoration: underline;
2495 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2496 .tabbrowser-tab[selected=true] {
2497 /* position: relative;
2501 .tab-background-middle {
2519 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2523 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2526 .tab-throbber[progress] {
2527 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2530 .tab-throbber:not([pinned]),
2531 .tab-icon-image:not([pinned]) {
2532 -moz-margin-end: 3px;
2535 .tab-throbber[pinned],
2536 .tab-icon-image[pinned] {
2537 -moz-margin-start: 2px;
2538 -moz-margin-end: 2px;
2542 /* this needs to add up to the 16px of the icon image */
2544 margin-top: 2px !important;
2545 margin-bottom: 2px !important;
2554 .tabs-newtab-button {
2555 /* overlap the tab curves */
2558 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2561 .tab-background-start[selected=true]::after,
2562 .tab-background-start[selected=true]::before,
2563 .tab-background-start,
2564 .tab-background-end,
2565 .tab-background-end[selected=true]::after,
2566 .tab-background-end[selected=true]::before {
2569 .tabbrowser-tab:not([selected=true]),
2570 .tabbrowser-tab:-moz-lwtheme {
2573 /* tabbrowser-tab focus ring */
2574 .tabbrowser-tab:focus {
2575 outline: 1px dotted;
2580 .tabbrowser-tab[selected="true"] {
2583 /* End selected tab */
2585 /* Tab pointer-events */
2588 pointer-events: none;
2591 .tab-background-middle,
2592 .tabs-newtab-button,
2594 pointer-events: auto;
2599 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2600 background-color: #E7ADE7;
2603 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2604 background-color: #3333FF;
2608 /* New tab button */
2610 .tabs-newtab-button {
2614 /* === END tabs.inc.css === */
2618 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2619 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2620 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2622 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2623 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2626 /* Tab DnD indicator */
2627 .tab-drop-indicator {
2628 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2629 margin-bottom: -11px;
2632 /* Tab close button */
2634 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2637 .tab-close-button:hover,
2638 .tab-close-button:hover[selected="true"] {
2639 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2642 .tab-close-button:hover:active,
2643 .tab-close-button:hover:active[selected="true"] {
2644 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2647 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2649 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2650 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2654 background-origin: border-box;
2657 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2658 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2659 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2660 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2663 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2664 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2667 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2668 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2669 /* transform: scaleX(-1);*/
2672 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2673 transition: 1s background-color ease-out;
2676 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2677 background-color: #008484;
2680 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2681 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2682 /* border-width: 0 2px 0 0;
2683 border-style: solid;
2684 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2687 .tabs-newtab-button > .toolbarbutton-icon {
2689 margin-bottom: -1px;
2692 .tabs-newtab-button,
2693 #TabsToolbar > #new-tab-button,
2694 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2695 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2696 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2697 -moz-image-region: rect(0, 16px, 18px, 0);
2700 .tabs-newtab-button,
2701 .tabs-newtab-button:hover,
2702 #TabsToolbar > #new-tab-button,
2703 #TabsToolbar > #new-tab-button:hover {
2704 -moz-image-region: rect(0, 32px, 18px, 16px);
2707 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2708 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2709 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2710 .tabs-newtab-button:-moz-lwtheme-brighttext,
2711 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2712 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2715 #TabsToolbar > #new-tab-button {
2720 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2723 #alltabs-button:hover,
2724 #alltabs-button:hover:active,
2725 #alltabs-button[open="true"] {
2726 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2729 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2730 #alltabs-button:-moz-lwtheme-brighttext {
2733 #alltabs-button > .toolbarbutton-icon {
2737 #alltabs-button > .toolbarbutton-menu-dropmarker {
2741 /* All tabs menupopup */
2742 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2743 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2744 -moz-image-region: auto;
2747 .alltabs-item[selected="true"] {
2751 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2752 list-style-image: url("chrome://global/skin/icons/loading.gif");
2755 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2756 background-color: #402800;
2759 toolbarbutton.chevron {
2760 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2763 toolbarbutton.chevron:hover {
2764 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2767 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2768 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2769 transform: scaleX(-1);
2772 toolbarbutton.chevron > .toolbarbutton-text,
2773 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2777 toolbarbutton.chevron > .toolbarbutton-icon {
2781 #sidebar-throbber[loading="true"] {
2782 list-style-image: url("chrome://global/skin/icons/loading.gif");
2783 -moz-margin-end: 4px;
2786 /* Bookmarks toolbar */
2787 #PlacesToolbarDropIndicator {
2788 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2791 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2792 background-color: #008484 !important;
2793 color: #FFCF00 !important;
2796 /* rules for menupopup drop indicators */
2797 .menupopup-drop-indicator-bar {
2799 /* these two margins must together compensate the indicator's height */
2801 margin-bottom: -1px;
2804 .menupopup-drop-indicator {
2805 list-style-image: none;
2807 -moz-margin-end: -4em;
2808 background-color: #008484;
2811 /* ::::: Identity Indicator Styling ::::: */
2814 #identity-popup-icon {
2818 list-style-image: url("chrome://browser/skin/identity.png");
2819 -moz-image-region: rect(0px, 64px, 64px, 0px);
2822 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2823 -moz-image-region: rect(64px, 64px, 128px, 0px);
2826 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2827 -moz-image-region: rect(128px, 64px, 192px, 0px);
2830 /* Popup Body Text */
2831 .identity-popup-description {
2832 white-space: pre-wrap;
2833 -moz-padding-start: 15px;
2837 .identity-popup-label {
2838 white-space: pre-wrap;
2839 -moz-padding-start: 15px;
2843 #identity-popup-content-host,
2844 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2848 #identity-popup-content-host {
2855 #identity-popup-content-owner {
2857 margin-bottom: 0 !important;
2862 .verifiedDomain > #identity-popup-content-owner {
2863 font-weight: normal;
2866 #identity-popup-content-verifier {
2870 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2871 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2873 -moz-margin-start: -24px;
2876 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2877 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2878 list-style-image: url("chrome://browser/skin/Secure24.png");
2881 #identity-popup-help-icon {
2883 margin: 7px 0 0 -3px;
2886 list-style-image: url("chrome://global/skin/icons/question-16.png");
2890 #identity-popup-help-icon > .button-box > .button-text {
2894 #identity-popup-help-icon > .button-box > .button-icon {
2899 #identity-popup-more-info-button {
2905 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2909 #identity-popup-container {
2914 #identity-popup-button-container {
2915 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2920 .popup-notification-icon {
2923 -moz-margin-end: 10px;
2926 .popup-notification-icon[popupid="geolocation"] {
2927 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2930 .popup-notification-icon[popupid="xpinstall-disabled"],
2931 .popup-notification-icon[popupid="addon-progress"],
2932 .popup-notification-icon[popupid="addon-install-cancelled"],
2933 .popup-notification-icon[popupid="addon-install-blocked"],
2934 .popup-notification-icon[popupid="addon-install-failed"],
2935 .popup-notification-icon[popupid="addon-install-complete"] {
2936 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2941 .popup-notification-icon[popupid="click-to-play-plugins"] {
2942 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
2945 .popup-notification-icon[popupid="plugins-not-found"] {
2946 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2949 .popup-notification-icon[popupid="web-notifications"] {
2950 list-style-image: url("chrome://browser/skin/notification-64.png");
2953 .addon-progress-description {
2958 .popup-progress-label,
2959 .popup-progress-meter {
2960 -moz-margin-start: 0;
2964 .popup-progress-cancel {
2965 -moz-appearance: none;
2966 background: transparent;
2972 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2973 -moz-image-region: rect(0px, 32px, 16px, 16px);
2976 .popup-progress-cancel:hover {
2977 -moz-image-region: rect(16px, 32px, 32px, 16px);
2980 .popup-progress-cancel:active {
2981 -moz-image-region: rect(32px, 32px, 48px, 16px);
2984 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2985 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
2986 .popup-notification-icon[popupid*="offline-app-requested"],
2987 .popup-notification-icon[popupid="offline-app-usage"] {
2988 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2991 .popup-notification-icon[popupid="password-save"],
2992 .popup-notification-icon[popupid="password-change"] {
2993 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2996 .popup-notification-icon[popupid="webapps-install-progress"],
2997 .popup-notification-icon[popupid="webapps-install"] {
2998 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
3001 .popup-notification-icon[popupid="mixed-content-blocked"] {
3002 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
3005 .popup-notification-icon[popupid="webRTC-sharingDevices"],
3006 .popup-notification-icon[popupid="webRTC-shareDevices"] {
3007 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
3010 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
3011 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
3012 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
3015 .popup-notification-icon[popupid="pointerLock"] {
3016 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
3019 /* Notification icon box */
3020 #notification-popup .panel-promo-box {
3021 /* margin: 10px -10px -10px; */
3024 #notification-popup-box {
3026 background-color: #000000;
3027 background-clip: padding-box;
3030 border-radius: 3px 0 0 3px;
3031 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
3032 -moz-margin-end: -8px;
3033 border-right-width: 8px;
3036 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
3037 /* padding-left: 7px; */
3040 #notification-popup-box:-moz-locale-dir(rtl),
3041 .notification-anchor-icon:-moz-locale-dir(rtl) {
3042 transform: scaleX(-1);
3045 .notification-anchor-icon {
3051 .notification-anchor-icon:-moz-focusring {
3052 outline: 1px dotted #008484;
3053 /* outline-offset: -3px; */
3056 .default-notification-icon,
3057 #default-notification-icon {
3058 list-style-image: url("chrome://global/skin/icons/information-16.png");
3061 .identity-notification-icon,
3062 #identity-notification-icon {
3063 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3066 .geo-notification-icon,
3067 #geo-notification-icon {
3068 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3071 #addons-notification-icon {
3072 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3075 .indexedDB-notification-icon,
3076 #indexedDB-notification-icon {
3077 list-style-image: url("chrome://global/skin/icons/question-16.png");
3080 #password-notification-icon {
3081 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3084 #webapps-notification-icon {
3085 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3088 #plugins-notification-icon {
3089 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3092 #plugins-notification-icon.plugin-hidden {
3093 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3096 #plugins-notification-icon.plugin-blocked {
3097 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3100 #plugins-notification-icon {
3101 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3104 #plugins-notification-icon:hover {
3105 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3108 #plugin-install-notification-icon {
3109 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3112 #notification-popup-box[hidden] {
3113 /* Override display:none to make the pluginBlockedNotification animation work
3114 when showing the notification repeatedly. */
3116 visibility: collapse;
3119 #plugins-notification-icon.plugin-blocked[showing] {
3120 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3123 @keyframes pluginBlockedNotification {
3132 .mixed-content-blocked-notification-icon,
3133 #mixed-content-blocked-notification-icon {
3134 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3137 .webRTC-shareDevices-notification-icon,
3138 #webRTC-shareDevices-notification-icon {
3139 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3142 .webRTC-sharingDevices-notification-icon,
3143 #webRTC-sharingDevices-notification-icon {
3144 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3147 .webRTC-shareMicrophone-notification-icon,
3148 #webRTC-shareMicrophone-notification-icon {
3149 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3152 .webRTC-sharingMicrophone-notification-icon,
3153 #webRTC-sharingMicrophone-notification-icon {
3154 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3157 .web-notifications-notification-icon,
3158 #web-notifications-notification-icon {
3159 list-style-image: url("chrome://browser/skin/notification-16.png");
3162 #pointerLock-notification-icon {
3163 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3165 #pointerLock-cancel {
3169 /* Bookmarks roots menu-items */
3170 #subscribeToPageMenuitem:not([disabled]),
3171 #subscribeToPageMenupopup,
3172 #BMB_subscribeToPageMenuitem:not([disabled]),
3173 #BMB_subscribeToPageMenupopup {
3174 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3177 #bookmarksToolbarFolderMenu,
3178 #BMB_bookmarksToolbar,
3179 #panelMenu_bookmarksToolbar {
3180 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3181 -moz-image-region: auto;
3184 #BMB_unsortedBookmarks,
3185 #panelMenu_unsortedBookmarks {
3186 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3187 -moz-image-region: auto;
3190 /* ::::: Keyboard UI Panel ::::: */
3195 border-radius: 20px;
3198 .KUI-panel[level="top"] {
3199 /*background-color: rgba(27%,27%,27%,.65);*/
3205 padding: 20px 10px 10px;
3209 .ctrlTab-favicon[src] {
3210 background-color: #000000;
3216 .ctrlTab-preview-inner > .tabPreview-canvas {
3219 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3223 .ctrlTab-preview-inner {
3224 padding-bottom: 10px;
3227 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3229 background-color: #000000;
3230 border-radius: .5em;
3233 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3235 background-color: #000000;
3238 border: 2px solid #9C9CFF;
3239 border-radius: .5em;
3242 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3243 margin: -10px -10px 0;
3255 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3263 .sync-panel-button-box {
3267 #sync-error-panel-title,
3268 #sync-start-panel-title {
3274 #sync-start-panel-subtitle,
3275 #sync-error-panel-subtitle {
3281 .statuspanel-label {
3284 background: #404000;
3285 border: 1px none #9C9CFF;
3286 border-top-style: solid;
3291 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3292 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3293 border-right-style: solid;
3294 border-top-right-radius: .3em;
3298 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3299 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3300 border-left-style: solid;
3301 border-top-left-radius: .3em;
3305 /* HACK to abolish devily color on main content */
3308 background-color: transparent !important;
3311 /* === BEGIN highlighter.inc.css === */
3313 /* Box model highlighter */
3314 svg|g.box-model-container {
3318 svg|polygon.box-model-content {
3322 svg|polygon.box-model-padding {
3326 svg|polygon.box-model-border {
3330 svg|polygon.box-model-margin {
3334 svg|polygon.box-model-content,
3335 svg|polygon.box-model-padding,
3336 svg|polygon.box-model-border,
3337 svg|polygon.box-model-margin {
3341 svg|line.box-model-guide-top,
3342 svg|line.box-model-guide-right,
3343 svg|line.box-model-guide-bottom,
3344 svg|line.box-model-guide-left {
3346 stroke-dasharray: 5 3;
3349 /* Highlighter - Node Infobar */
3351 .highlighter-nodeinfobar {
3354 background-color: #000000;
3355 background-clip: padding-box;
3356 border: 1px solid #008484;
3358 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3363 /* Highlighter - Node Infobar - text */
3365 .highlighter-nodeinfobar-text {
3367 /* 100% - size of the buttons and margins */
3368 max-width: calc(100% - 2 * (26px + 6px));
3369 padding-bottom: 1px;
3372 html|*.highlighter-nodeinfobar-tagname {
3376 html|*.highlighter-nodeinfobar-id {
3380 html|*.highlighter-nodeinfobar-pseudo-classes {
3384 /* Highlighter - Node Infobar - box & arrow */
3386 .highlighter-nodeinfobar-arrow {
3389 -moz-margin-start: calc(50% - 7px);
3390 transform: rotate(-45deg);
3391 background-clip: padding-box;
3392 background-repeat: no-repeat;
3395 .highlighter-nodeinfobar-arrow-top {
3396 margin-bottom: -8px;
3398 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3401 .highlighter-nodeinfobar-arrow-bottom {
3404 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3407 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3411 /* === END highlighter.inc.css === */
3413 #full-screen-warning-message {
3414 background-color: #000000;
3419 box-shadow: 0 0 2px #9C9CFF;
3422 #full-screen-warning-container[obscure-browser] {
3423 background-color: rgba(0,0,0,0.3);
3426 .full-screen-description {
3430 #full-screen-domain-text {
3434 .full-screen-approval-button,
3435 #full-screen-remember-decision {
3439 /* === BEGIN commandline.inc.css === */
3441 /* Developer toolbar */
3443 #developer-toolbar {
3444 border-top: 3px solid #000000;
3445 border-bottom: none;
3448 #developer-toolbar .toolbar-holder {
3449 background-color: #8050B0;
3453 #developer-toolbar .toolbar-holder {
3454 background-color: #8050B0;
3458 #developer-toolbar .toolbar-startcap,
3459 #developer-toolbar .toolbar-endcap{
3460 background-color: #6000CF;
3463 #developer-toolbar {
3465 min-height: 32px; */
3468 #developer-toolbar > toolbarbutton {
3474 .developer-toolbar-button > image {
3475 /* margin: auto 10px; */
3478 #developer-toolbar-toolbox-button > label {
3482 #developer-toolbar-toolbox-button {
3483 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3484 -moz-image-region: rect(0px, 16px, 16px, 0px);
3487 #developer-toolbar-toolbox-button > label {
3491 #developer-toolbar-toolbox-button:hover,
3492 #developer-toolbar-toolbox-button:hover:active,
3493 #developer-toolbar-toolbox-button[checked=true] {
3494 -moz-image-region: rect(0px, 32px, 16px, 16px);
3497 #developer-toolbar-closebutton {
3498 list-style-image: url("chrome://browser/skin/devtools/close.png");
3499 -moz-image-region: rect(0px, 16px, 16px, 0px);
3504 #developer-toolbar-closebutton > .toolbarbutton-icon {
3507 #developer-toolbar-closebutton > .toolbarbutton-text {
3511 #developer-toolbar-closebutton:hover,
3512 #developer-toolbar-closebutton:hover:active {
3513 -moz-image-region: rect(0px, 32px, 16px, 16px);
3518 html|*#gcli-tooltip-frame,
3519 html|*#gcli-output-frame {
3522 background-color: transparent;
3528 background-color: transparent;
3531 .gclitoolbar-input-node,
3532 .gclitoolbar-complete-node {
3534 -moz-box-align: center;
3538 background-color: transparent;
3541 .gclitoolbar-input-node {
3543 /* line-height: 32px;
3544 outline-style: none; */
3545 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
3546 background-repeat: no-repeat;
3547 background-color: rgba(0, 0, 0, .75);
3550 .gclitoolbar-input-node[focused="true"] {
3551 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
3552 background-color: #000000;
3555 .gclitoolbar-input-node:not([focused="true"]) {
3556 border-color: transparent;
3559 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3560 background-color: #008484;
3565 .gclitoolbar-complete-node {
3567 background-color: transparent;
3570 pointer-events: none;
3573 .gcli-in-incomplete,
3577 .gcli-in-closebrace,
3584 .gcli-in-incomplete {
3585 border-bottom: 2px dotted #8050B0;
3589 border-bottom: 2px dotted #FF0000;
3600 .gcli-in-closebrace {
3604 /* === END commandline.inc.css === */
3606 /* === BEGIN responsivedesign.inc.css === */
3608 /* Responsive Mode */
3610 .browserContainer[responsivemode] {
3611 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
3612 padding: 0 20px 20px 20px;
3615 .browserStack[responsivemode] {
3616 box-shadow: 0 0 7px #9C9CFF;
3619 .devtools-responsiveui-toolbar {
3620 background: transparent;
3621 /* text color is textColor from dark theme, since no theme is applied to
3622 * the responsive toolbar.
3628 border-bottom-width: 0;
3631 .devtools-responsiveui-menulist,
3632 .devtools-responsiveui-toolbarbutton {
3633 -moz-box-align: center;
3635 /* min-height: 22px;*/
3636 /* margin: 0 3px; */
3639 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3640 -moz-box-orient: horizontal;
3643 .devtools-responsiveui-menulist:-moz-focusring,
3644 .devtools-responsiveui-toolbarbutton:-moz-focusring {
3645 /* outline: 1px dotted hsla(210,30%,85%,0.7);
3646 outline-offset: -4px;*/
3649 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3653 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3654 /* border-color: hsla(210,8%,5%,.6);
3655 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3656 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); */
3659 .devtools-responsiveui-menulist[open=true],
3660 .devtools-responsiveui-toolbarbutton[open=true],
3661 .devtools-responsiveui-toolbarbutton[checked=true] {
3662 /* border-color: hsla(210,8%,5%,.6) !important;
3663 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3664 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); */
3667 .devtools-responsiveui-toolbarbutton[checked=true] {
3668 /* color: hsl(208,100%,60%); */
3671 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
3672 /* background-color: transparent !important;*/
3675 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3676 /* background-color: hsla(210,8%,5%,.2) !important;*/
3679 .devtools-responsiveui-menulist > .menulist-label-box {
3683 .devtools-responsiveui-menulist > .menulist-dropmarker {
3684 /* display: -moz-box;
3685 background-color: transparent;
3686 list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3687 -moz-box-align: center;
3692 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3695 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3696 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3699 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3700 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3703 .devtools-responsiveui-toolbarbutton[type=menu-button] {
3704 /* padding: 0 1px;*/
3705 -moz-box-align: stretch;
3708 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3709 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3710 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3711 -moz-box-align: center;
3715 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3716 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3720 .devtools-responsiveui-close {
3721 list-style-image: url("chrome://browser/skin/devtools/close.png");
3722 -moz-image-region: rect(0px,16px,16px,0px);
3725 .devtools-responsiveui-close:hover {
3726 -moz-image-region: rect(0px,32px,16px,16px);
3729 .devtools-responsiveui-rotate {
3730 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3731 -moz-image-region: rect(0px,16px,16px,0px);
3734 .devtools-responsiveui-rotate:hover {
3735 -moz-image-region: rect(0px,32px,16px,16px);
3738 .devtools-responsiveui-touch {
3739 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3740 -moz-image-region: rect(0px,16px,16px,0px);
3743 .devtools-responsiveui-touch:hover,
3744 .devtools-responsiveui-touch[checked],
3745 .devtools-responsiveui-touch[checked]:hover {
3746 -moz-image-region: rect(0px,32px,16px,16px);
3749 .devtools-responsiveui-screenshot {
3750 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3751 -moz-image-region: rect(0px,16px,16px,0px);
3754 .devtools-responsiveui-screenshot:hover {
3755 -moz-image-region: rect(0px,32px,16px,16px);
3758 .devtools-responsiveui-resizebarV {
3762 transform: translate(12px, -12px);
3763 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3766 .devtools-responsiveui-resizebarH {
3770 transform: translate(-12px, 12px);
3771 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3774 .devtools-responsiveui-resizehandle {
3778 transform: translate(12px, 12px);
3779 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
3782 /* === END responsivedesign.inc.css === */
3784 /* === including indicator.css is done at the start of the file === */
3788 #developer-toolbar-toolbox-button[error-count]:before {
3792 background-color: #FF0000;
3794 -moz-margin-end: 5px;
3797 /* Social toolbar item */
3799 #social-provider-button {
3800 -moz-image-region: rect(0, 16px, 16px, 0);
3801 list-style-image: url("chrome://browser/skin/social/services-16.png");
3804 #social-provider-button > .toolbarbutton-menu-dropmarker {
3808 .toolbarbutton-badge-container {
3814 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
3818 .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
3824 .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
3828 .toolbarbutton-badge[badge=""] {
3831 .toolbarbutton-badge[badge]:not([badge=""])::after {
3832 /* The |content| property is set in the content stylesheet. */
3837 background-color: #000000;
3838 border: 1px solid #9C9CFF;
3845 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
3850 .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3855 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3860 #social-notification-icon-mentions {
3861 background-color: #000000;
3863 -moz-margin-start: 2px;
3866 #social-notification-icon-mentions:hover {
3867 background-color: #FFCF00;
3870 #social-notification-icon-mentions[open="true"] {
3871 background-color: #FF9F00;
3874 #social-sidebar-splitter {
3878 .popup-notification-icon[popupid="servicesInstall"] {
3879 list-style-image: url("chrome://browser/skin/social/services-64.png");
3881 #servicesInstall-notification-icon {
3882 list-style-image: url("chrome://browser/skin/social/services-16.png");
3884 #social-undoactivation-button {
3885 -moz-margin-start: 0; /* override default label margin to match description margin */
3888 #socialActivatedNotification .popup-notification-button-container {
3892 .social-activation-icon {
3899 #social-activation-message {
3903 #social-activation-message > label {
3907 /* social toolbar provider menu */
3908 .social-statusarea-popup {
3911 margin-right: -12px;
3914 .social-statusarea-user {
3915 border-bottom: 1px solid #9C9CFF;
3916 background-color: #000000;
3922 .social-statusarea-user-portrait {
3929 .social-statusarea-loggedInStatus {
3930 background: transparent;
3935 list-style-image: none;
3938 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
3939 text-decoration: underline;
3942 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3946 .social-panel-frame {
3947 border-radius: inherit;
3950 /* === BEGIN chat.inc.css === */
3952 #social-sidebar-header {
3956 #social-sidebar-button {
3957 -moz-appearance: none;
3958 list-style-image: url("chrome://browser/skin/social/gear_default.png");
3963 #social-sidebar-button > .toolbarbutton-icon {
3967 #social-sidebar-button:hover,
3968 #social-sidebar-button:hover:active {
3969 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
3971 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
3975 #social-sidebar-button[loading="true"] {
3976 list-style-image: url("chrome://global/skin/icons/loading.gif");
3979 #social-sidebar-favico {
3992 .chat-toolbarbutton {
3993 -moz-appearance: none;
4001 .chat-toolbarbutton > .toolbarbutton-text {
4005 .chat-toolbarbutton > .toolbarbutton-icon {
4009 .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
4014 .chat-close-button {
4015 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4016 -moz-image-region: rect(0, 16px, 16px, 0);
4019 .chat-close-button:hover,
4020 .chat-close-button:hover:active {
4021 -moz-image-region: rect(0, 32px, 16px, 16px);
4024 .chat-minimize-button {
4025 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4026 -moz-image-region: rect(16px, 16px, 32px, 0);
4029 .chat-minimize-button:hover:active,
4030 .chat-minimize-button:hover {
4031 -moz-image-region: rect(16px, 32px, 32px, 16px);
4035 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4036 -moz-image-region: rect(48px, 16px, 64px, 0);
4039 .chat-swap-button:hover:active,
4040 .chat-swap-button:hover {
4041 -moz-image-region: rect(48px, 32px, 64px, 16px);
4044 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
4045 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
4046 -moz-image-region: rect(32px, 16px, 48px, 0);
4049 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
4050 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
4051 -moz-image-region: rect(32px, 32px, 48px, 16px);
4056 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4062 background-color: #9C9CFF;
4069 -moz-padding-start: 6px;
4071 border-bottom: 1px solid #008484;
4075 .chat-titlebar > .notification-anchor-icon {
4080 .chat-titlebar[minimized="true"] {
4081 border-bottom: none;
4084 .chat-titlebar[selected] {
4085 background-color: #008484;
4088 .chat-titlebar[activity] {
4089 background-color: #E7ADE7;
4099 list-style-image: url("chrome://browser/skin/social/services-16.png");
4100 background-color: #000000;
4106 border-top: 1px solid #008484;
4107 -moz-border-end: 1px solid #008484;
4110 @media (min-resolution: 2dppx) {
4112 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4116 .chatbar-button > .toolbarbutton-icon {
4120 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4127 .chatbar-button > .toolbarbutton-icon {
4131 .chatbar-button:hover > .toolbarbutton-icon,
4132 .chatbar-button[open="true"] > .toolbarbutton-icon {
4136 .chatbar-button:hover,
4137 .chatbar-button[open="true"] {
4140 .chatbar-button > .toolbarbutton-text,
4141 .chatbar-button > .toolbarbutton-menu-dropmarker {
4145 .chatbar-button[activity]:not([open="true"]) {
4146 background-color: #E7ADE7;
4149 .chatbar-button > menupopup > menuitem[activity] {
4154 background: transparent;
4160 -moz-margin-end: 20px;
4166 -moz-margin-start: 4px;
4167 background-color: #000000;
4168 border: 1px solid #9C9CFF;
4169 border-bottom: none;
4170 border-top-left-radius: 2.5px;
4171 border-top-right-radius: 2.5px;
4174 chatbox[minimized="true"] {
4180 -moz-margin-start: 0px;
4186 /* === END chat.inc.css === */
4189 /* background-color: #c4cfde; */
4192 .chat-titlebar[selected] {
4193 /* background-color: #dae3f0; */
4197 -moz-appearance: none;
4198 /* background-color: #c4cfde; */
4201 .chatbar-button > .toolbarbutton-icon {
4202 /* -moz-margin-end: 0; */
4205 .chatbar-button:hover,
4206 .chatbar-button[open="true"] {
4207 /* background-color: #dae3f0; */
4210 .chatbar-button[activity]:not([open="true"]) {
4214 /* border-top-left-radius: 2.5px;
4215 border-top-right-radius: 2.5px; */
4218 /* === BEGIN plugin-doorhanger.inc.css === */
4221 * Plugin Doorhanger Styles
4224 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4225 padding: 6px 1px 2px;
4228 .click-to-play-plugins-notification-center-box {
4231 .plugin-popupnotification-centeritem:nth-child(odd) {
4232 /* background-color: rgba(0,0,0,0.1);*/
4235 .center-item-label {
4237 text-overflow: ellipsis;
4240 .center-item-warning-icon {
4241 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4242 background-repeat: no-repeat;
4245 -moz-margin-start: 6px;
4248 .click-to-play-plugins-notification-button-container {
4251 .click-to-play-popup-button {
4255 .click-to-play-plugins-notification-description-box {
4259 padding-bottom: 3px;
4262 .click-to-play-plugins-outer-description {
4266 .click-to-play-plugins-notification-link,
4271 .messageImage[value="plugin-hidden"] {
4272 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4275 /* Keep any changes to this style in sync with pluginProblem.css */
4276 notification.pluginVulnerable {
4279 notification.pluginVulnerable .messageImage {
4280 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4283 /* === END plugin-doorhanger.inc.css === */
4285 /* === BEGIN customizeMode.inc.css === */
4287 /* Customization mode */
4289 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4293 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4294 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4295 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4300 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4301 pointer-events: none;
4304 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4305 #PanelUI-contents > .panel-customization-placeholder {
4306 -moz-outline-radius: 2.5px;
4307 outline: 1px dashed transparent;
4310 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4311 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4312 -moz-box-ordinal-group: 0;
4317 outline-offset: -2px;
4318 pointer-events: none;
4324 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4325 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4326 offset from the bottom effectively the same as other targets (-2px). */
4327 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4331 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4332 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4333 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4334 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4338 /* Most target outlines are shown on hover and drag over but the panel menu uses
4339 placeholders instead. */
4340 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4341 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4342 /* nav-bar and panel outlines are always shown */
4343 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4344 outline-color: #A09090;
4347 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4348 transition: outline-color 250ms linear;
4351 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4352 transition: outline-color 250ms linear;
4353 outline-color: #9C9CFF;
4356 #PanelUI-contents > .panel-customization-placeholder {
4358 outline-offset: -5px;
4361 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4363 /* padding-left: 10px;
4364 padding-right: 10px;*/
4367 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4371 #customization-container {
4372 background-color: #000000;
4375 #customization-palette,
4376 #customization-empty {
4377 padding: 0 15px 15px;
4380 #customization-header {
4384 font-weight: lighter;
4386 padding: 15px 15px 0;
4389 #customization-panel-container {
4390 padding: 10px 10px 0px;
4393 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4394 #customization-footer {
4395 /*background-color: rgb(236,236,236);*/
4398 #customization-footer {
4399 border-top: 1px solid #9C9CFF;
4403 .customizationmode-button {
4407 .customizationmode-button:hover {
4410 .customizationmode-button[disabled="true"] {
4413 #customization-titlebar-visibility-button {
4414 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4415 -moz-image-region: rect(0, 16px, 16px, 0);
4417 -moz-margin-end: 10px;
4420 #customization-titlebar-visibility-button:hover {
4421 -moz-image-region: rect(16px, 16px, 32px, 0);
4424 #customization-titlebar-visibility-button > .button-box {
4426 padding-bottom: 1px;
4429 #customization-titlebar-visibility-button:hover:active > .button-box {
4434 #customization-titlebar-visibility-button > .button-box > .button-text {
4435 /* Sadly, button.css thinks its margins are perfect for everyone. */
4436 -moz-margin-start: 5px !important;
4439 #customization-titlebar-visibility-button[checked] {
4440 -moz-image-region: rect(0, 32px, 16px, 16px);
4441 background-color: #008484;
4444 #customization-titlebar-visibility-button[checked]:hover {
4445 -moz-image-region: rect(16px, 32px, 32px, 16px);
4446 background-color: #FFCF00;
4449 #customization-titlebar-visibility-button[checked]:hover:active {
4450 background-color: #FF9F00;
4453 #customization-undo-reset-button {
4454 -moz-margin-end: 10px;
4457 #main-window[customize-entered] #customization-panel-container {
4458 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4459 background-position: left top;
4460 background-repeat: repeat;
4461 background-size: auto;
4462 background-attachment: fixed;
4465 toolbarpaletteitem[place="toolbar"] {
4466 transition: border-width 250ms ease-in-out;
4469 toolbarpaletteitem[mousedown] {
4470 outline: 1px solid #008484;
4471 cursor: -moz-grabbing;
4475 .panel-customization-placeholder,
4476 toolbarpaletteitem[place="palette"],
4477 toolbarpaletteitem[place="panel"] {
4478 transition: transform .3s ease-in-out;
4481 #customization-palette {
4482 transition: opacity .3s ease-in-out;
4486 #customization-palette[showing="true"] {
4490 toolbarpaletteitem[notransition].panel-customization-placeholder,
4491 toolbarpaletteitem[notransition][place="toolbar"],
4492 toolbarpaletteitem[notransition][place="palette"],
4493 toolbarpaletteitem[notransition][place="panel"] {
4497 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4498 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
4499 toolbarpaletteitem > toolbaritem.panel-wide-item,
4500 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4501 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
4504 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4505 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
4506 transform: scale(1.3);
4509 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4510 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
4511 transform: scale(1.1);
4514 /* Override the toolkit styling for items being dragged over. */
4515 toolbarpaletteitem[place="toolbar"] {
4516 border-left-width: 0;
4517 border-right-width: 0;
4522 #customization-palette:not([hidden]) {
4523 margin-bottom: 25px;
4526 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4527 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4528 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4529 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4533 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4534 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4544 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4545 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4549 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4550 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4553 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4554 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
4558 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4559 -moz-box-pack: center;
4563 #customization-palette > toolbarpaletteitem > label {
4569 /* === END customizeMode.inc.css === */
4571 /* === BEGIN customizeTip.inc.css === */
4573 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
4580 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
4581 border: 1px solid #9C9CFF;
4584 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
4585 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
4588 .customization-tipPanel-infoBox {
4589 margin: 20px 25px 25px;
4591 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
4592 background-repeat: no-repeat;
4595 .customization-tipPanel-content {
4601 .customization-tipPanel-em {
4606 .customization-tipPanel-contentImage {
4608 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
4616 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
4617 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
4620 .customization-tipPanel-link {
4621 -moz-appearance: none;
4622 background: transparent;
4630 .customization-tipPanel-link > .button-box > .button-text {
4631 margin: 0 !important;
4634 .customization-tipPanel-closeBox > .close-icon {
4635 -moz-appearance: none;
4637 -moz-margin-end: -25px;
4640 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
4641 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4642 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
4645 /* === END customizeTip.inc.css === */
4648 * This next rule is a hack to disable subpixel anti-aliasing on all
4649 * labels during the customize mode transition. Subpixel anti-aliasing
4650 * on Windows with Direct2D layers acceleration is particularly slow to
4651 * paint, so this hack is how we sidestep that performance bottleneck.
4653 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
4654 transform: perspective(0.01px);
4657 #main-window[customize-entered] {
4658 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4659 background-attachment: fixed;
4662 #main-window[customize-entered] #browser-bottombox,
4663 #main-window[customize-entered] #customization-container {
4664 border-left: 1px solid #9C9CFF;
4665 border-right: 1px solid #9C9CFF;
4666 background-clip: padding-box;
4669 #main-window[customize-entered] #browser-bottombox {
4670 border-bottom: 1px solid #9C9CFF;
4673 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
4677 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4681 /* End customization mode */
4683 /* Private browsing indicators */
4686 * Currently, we have two places where we put private browsing indicators on
4687 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
4688 * When tabsintitlebar is disabled, we draw the indicator at the end of the
4689 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
4690 * want the bottom border of the image to line up with the bottom of the window
4691 * caption buttons. That's why there's so much special-casing going on in here.
4693 .private-browsing-indicator {
4695 pointer-events: none;
4698 #private-browsing-indicator-titlebar {
4703 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
4707 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
4711 #TabsToolbar > .private-browsing-indicator {
4712 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
4713 -moz-margin-start: 4px;
4717 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
4718 * mode, since the tabstrip "mimics" the titlebar in that case with its own
4719 * min/max/close window buttons.
4721 #private-browsing-indicator-titlebar > .private-browsing-indicator,
4722 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
4723 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
4724 -moz-margin-end: 4px;
4730 /* This one is for Linux */
4731 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
4732 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
4736 /* End private browsing indicators */
4738 /* === BEGIN UITour.inc.css === */
4742 #UITourHighlightContainer {
4743 -moz-appearance: none;
4745 background-color: transparent;
4746 /* This is a buffer to compensate for the movement in the "wobble" effect */
4751 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
4752 border-radius: 40px;
4753 border: 1px solid #9C9CFF;
4754 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
4755 on Linux without an X compositor where opacity is either 0 or 1. */
4756 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
4761 #UITourTooltipBody {
4762 -moz-margin-end: 14px;
4765 #UITourTooltipBody > vbox {
4769 #UITourTooltipIconContainer {
4770 -moz-margin-start: -16px;
4773 #UITourTooltipIcon {
4776 -moz-margin-start: 28px;
4777 -moz-margin-end: 28px;
4780 #UITourTooltipTitle,
4781 #UITourTooltipDescription {
4785 #UITourTooltipTitle {
4788 -moz-margin-start: 0;
4793 #UITourTooltipDescription {
4794 -moz-margin-start: 0;
4797 line-height: 1.8rem;
4798 margin-bottom: 0; /* Override global.css */
4801 #UITourTooltipClose {
4802 -moz-appearance: none;
4804 background-color: transparent;
4806 -moz-margin-start: 4px;
4810 #UITourTooltipClose > .toolbarbutton-text {
4814 #UITourTooltipButtons {
4816 background-color: rgba(0,0,0,.2);
4817 border-top: 1px solid rgba(0,0,0,.4);
4818 margin: 24px -16px -16px;
4822 #UITourTooltipButtons > button {
4826 #UITourTooltipButtons > button:first-child {
4827 -moz-margin-start: 0;
4830 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
4833 -moz-margin-end: 5px;
4836 #UITourTooltipButtons > button .button-text {
4840 #UITourTooltipButtons > button:not(.button-link) {
4841 -moz-appearance: none;
4842 background-color: #C09070;
4843 border-radius: 3000px;
4847 transition-property: background-color, color;
4848 transition-duration: 150ms;
4851 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
4852 background-color: #FFCF00;
4856 #UITourTooltipButtons > button.button-link {
4857 -moz-appearance: none;
4858 background: transparent;
4861 color: rgba(0,0,0,0.35);
4863 padding-right: 10px;
4866 #UITourTooltipButtons > button.button-link:hover {
4870 /* The primary button gets the same color as the customize button. */
4871 #UITourTooltipButtons > button.button-primary {
4872 background-color: #A06060; /* LCARS default button background color */
4875 padding-right: 30px;
4878 #UITourTooltipButtons > button.button-primary:not(:active):hover {
4879 background-color: #FFCF00;
4883 /* === END UITour.inc.css === */
4885 #UITourTooltipButtons {
4886 margin: 24px -4px -4px;
4889 /* === BEGIN contextmenu.inc.css === */
4891 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
4894 #context-navigation > .menuitem-iconic {
4896 -moz-box-pack: center;
4897 -moz-box-align: center;
4900 #context-navigation > .menuitem-iconic[disabled="true"] {
4901 background-color: transparent;
4904 #context-navigation > .menuitem-iconic > .menu-iconic-left {
4905 -moz-appearance: none;
4908 #context-navigation > #context-back > .menu-iconic-left {
4909 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4910 -moz-image-region: rect(0, 54px, 18px, 36px);
4913 #context-navigation > #context-back:not([disabled="true"]):hover > .menu-iconic-left {
4914 -moz-image-region: rect(18px, 54px, 36px, 36px);
4917 #context-navigation > #context-back[disabled="true"] > .menu-iconic-left {
4918 -moz-image-region: rect(36px, 54px, 54px, 36px);
4921 #context-navigation > #context-forward > .menu-iconic-left {
4922 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4923 -moz-image-region: rect(0, 72px, 18px, 54px);
4926 #context-navigation > #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
4927 -moz-image-region: rect(18px, 72px, 36px, 54px);
4930 #context-navigation > #context-forward[disabled="true"] > .menu-iconic-left {
4931 -moz-image-region: rect(36px, 72px, 54px, 54px);
4934 #context-navigation > #context-reload > .menu-iconic-left {
4935 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4936 -moz-image-region: rect(0, 14px, 14px, 0);
4939 #context-navigation > #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
4940 -moz-image-region: rect(14px, 14px, 28px, 0);
4943 #context-navigation > #context-reload[disabled="true"] > .menu-iconic-left {
4944 -moz-image-region: rect(28px, 14px, 42px, 0);
4947 #context-navigation > #context-stop > .menu-iconic-left {
4948 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4949 -moz-image-region: rect(0, 28px, 14px, 14px);
4952 #context-navigation > #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
4953 -moz-image-region: rect(14px, 28px, 28px, 14px);
4956 #context-navigation > #context-stop[disabled="true"] > .menu-iconic-left {
4957 -moz-image-region: rect(28px, 28px, 42px, 14px);
4960 #context-navigation > #context-bookmarkpage > .menu-iconic-left {
4961 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4962 -moz-image-region: rect(0, 144px, 18px, 126px);
4965 #context-navigation > #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
4966 -moz-image-region: rect(18px, 144px, 36px, 126px);
4969 #context-navigation > #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
4970 -moz-image-region: rect(36px, 144px, 54px, 126px);
4973 #context-back:-moz-locale-dir(rtl),
4974 #context-forward:-moz-locale-dir(rtl),
4975 #context-reload:-moz-locale-dir(rtl) {
4976 transform: scaleX(-1);
4979 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4985 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
4986 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
4992 /* === END contextmenu.inc.css === */