1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
6 @import url("downloads/indicator.css");
8 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9 @namespace html url("http://www.w3.org/1999/xhtml");
10 @namespace svg url("http://www.w3.org/2000/svg");
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
16 toolbar[customizable="true"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
20 @supports ( -moz-appearance: -moz-mac-unified-toolbar ) {
21 /* this is a usable workaround to detect we're on Mac OS */
22 toolbar[customizable="true"]:not([nowindowdrag="true"]) {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
27 toolbar[type="menubar"][autohide="true"] {
28 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
31 #toolbar-menubar[autohide="true"] {
32 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
40 -moz-box-orient: vertical; /* for flex hack */
44 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
47 /* ::::: primary toolbar ::::: */
49 .toolbar-primary > .toolbar-box > .toolbar-holder {
50 background-color: #A09090;
53 .toolbar-primary > .toolbar-box > .toolbar-startcap,
54 .toolbar-primary > .toolbar-box > .toolbar-endcap {
55 background-color: #9C9CFF;
58 /* Hides the titlebar-placeholder underneath the window caption buttons when we
59 are not autohiding the menubar. */
60 #toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
64 /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
65 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
66 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
67 #toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
68 #toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
72 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
73 #main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
74 /* margin-top: 15px;*/
77 #toolbar-menubar:not([autohide="true"]) {
78 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
81 #main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
82 /* 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 */
86 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
87 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
88 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
89 #main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
90 outline-color: #A09090;
96 #navigator-toolbox::after {
99 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
103 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
106 /* indent due to non-applicable aero rule */
108 background-color: transparent !important;
111 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
112 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
114 background-color: #6000CF;
118 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
119 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
120 background-color: #8050B0;
124 #main-window[tabsintitlebar] #main-menubar > menu:not(:-moz-lwtheme) {
128 #TabsToolbar:-moz-lwtheme {
129 /*background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);*/
132 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
136 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
137 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
142 /* Position the toolbar above the bottom of background tabs */
147 #personal-bookmarks {
148 /* min-height: 24px; */
151 #print-preview-toolbar:not(:-moz-lwtheme) {
152 /* -moz-appearance: toolbox; */
155 #browser-bottombox:not(:-moz-lwtheme) {
158 /* ::::: titlebar ::::: */
162 background-color: #6000CF;
165 #titlebar:-moz-window-inactive {
166 background-color: #8050B0;
170 #main-window[sizemode="normal"] > #titlebar {
175 #main-window[sizemode="maximized"] > #titlebar {
179 /* The button box must appear on top of the navigator-toolbox in order for
180 * click and hover mouse events to work properly for the button in the restored
181 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
182 * can swallow those events. It will also place the buttons above the fog on
183 * themes with Aero Glass.
185 #titlebar-buttonbox {
186 -moz-appearance: none;
189 -moz-margin-end: 3px;
193 .titlebar-placeholder[type="appmenu-button"] {
197 .titlebar-placeholder[type="caption-buttons"] {
201 /* titlebar command buttons */
204 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
207 #titlebar-min:hover {
208 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
212 list-style-image: url("chrome://browser/skin/win-maximize.gif");
215 #titlebar-max:hover {
216 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
219 #main-window[sizemode="maximized"] #titlebar-max {
220 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
223 #main-window[sizemode="maximized"] #titlebar-max:hover {
224 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
228 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
231 #titlebar-close:hover {
232 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
235 /* ::::: bookmark buttons ::::: */
237 toolbarbutton.bookmark-item:not(.subviewbutton),
238 #personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
243 toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
244 toolbarbutton.bookmark-item[open="true"] {
247 -moz-padding-start: 4px;
248 -moz-padding-end: 2px;*/
251 .bookmark-item > .toolbarbutton-icon,
252 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
257 /* Force the display of the label for bookmarks */
258 .bookmark-item > .toolbarbutton-text,
259 #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
260 display: -moz-box !important;
263 .bookmark-item > .toolbarbutton-menu-dropmarker {
267 #bookmarks-toolbar-placeholder {
268 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
271 toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
272 #personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
273 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
276 /* ----- BOOKMARK STAR ANIMATION ----- */
278 @keyframes animation-bookmarkAdded {
279 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
280 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
282 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
285 @keyframes animation-bookmarkPulse {
286 from { transform: scale(1); }
287 50% { transform: scale(1.3); }
288 to { transform: scale(1); }
291 #bookmarked-notification-container {
300 #bookmarked-notification {
301 background-size: 16px;
302 background-position: center;
303 background-repeat: no-repeat;
309 #bookmarked-notification-dropmarker-anchor {
314 #bookmarked-notification-dropmarker-icon {
320 #bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
321 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
322 animation: animation-bookmarkAdded 800ms;
323 animation-timing-function: ease, ease, ease;
326 #bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
327 list-style-image: none !important;
330 #bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
332 animation: animation-bookmarkPulse 300ms;
333 animation-delay: 600ms;
334 animation-timing-function: ease-out;
337 /* ::::: bookmark menus ::::: */
340 menuitem.bookmark-item {
345 .bookmark-item:not(.subviewbutton) > .menu-iconic-left {
350 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
351 -moz-padding-start: 0px;
354 /* ::::: bookmark items ::::: */
357 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
358 -moz-image-region: auto;
361 .bookmark-item[container] {
362 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
363 -moz-image-region: auto;
366 .bookmark-item[container][open] {
367 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
368 -moz-image-region: auto;
371 .bookmark-item[container][livemark] {
372 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
373 -moz-image-region: auto;
376 .bookmark-item[container][livemark] .bookmark-item {
377 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
378 -moz-image-region: rect(0px, 16px, 16px, 0px);
381 .bookmark-item[container][livemark] .bookmark-item[visited] {
382 -moz-image-region: rect(0px, 32px, 16px, 16px);
385 .bookmark-item[container][query] {
386 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
387 -moz-image-region: auto;
390 .bookmark-item[query][tagContainer] {
391 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
392 -moz-image-region: auto;
395 .bookmark-item[query][dayContainer] {
396 list-style-image: url("chrome://communicator/skin/history/calendar.png");
397 -moz-image-region: auto;
400 .bookmark-item[query][hostContainer] {
401 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
402 -moz-image-region: auto;
405 .bookmark-item[query][hostContainer][open] {
406 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
407 -moz-image-region: auto;
410 .bookmark-item[cutting] > .toolbarbutton-icon,
411 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
415 .bookmark-item[cutting] > .toolbarbutton-text,
416 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
420 /* ::::: primary toolbar buttons ::::: */
422 /* === BEGIN toolbarbuttons.inc.css === */
424 /* Whole section of this included file: */
425 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
426 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
427 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
428 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
429 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
430 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
431 #copy-button, #paste-button, #e10s-button),
433 #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
434 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
438 -moz-image-region: rect(0, 36px, 18px, 18px);
441 #back-button:hover:not([disabled="true"]) {
442 -moz-image-region: rect(18px, 36px, 36px, 18px);
445 #back-button[disabled="true"] {
446 -moz-image-region: rect(36px, 36px, 54px, 18px);
450 -moz-image-region: rect(0, 72px, 18px, 54px);
453 #forward-button:hover:not([disabled="true"]) {
454 -moz-image-region: rect(18px, 72px, 36px, 54px);
457 #forward-button[disabled="true"] {
458 -moz-image-region: rect(36px, 72px, 54px, 54px);
461 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
462 #forward-button:-moz-locale-dir(rtl) {
463 transform: scaleX(-1);
466 #home-button[cui-areatype="toolbar"] {
467 -moz-image-region: rect(0, 126px, 18px, 108px);
470 #home-button[cui-areatype="toolbar"]:hover {
471 -moz-image-region: rect(18px, 126px, 36px, 108px);
474 #bookmarks-menu-button[cui-areatype="toolbar"] {
475 -moz-image-region: rect(0, 144px, 18px, 126px);
478 #bookmarks-menu-button[cui-areatype="toolbar"]:hover,
479 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
480 -moz-image-region: rect(18px, 144px, 36px, 126px);
483 /* When "new tab" page shows up, the menubutton-button (star button) is disabled */
484 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
485 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
486 background-color: transparent !important;
489 #bookmarks-menu-button[cui-areatype="toolbar"][starred] {
490 -moz-image-region: rect(0, 162px, 18px, 144px);
493 #bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
494 #bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
495 #bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
496 /* When starred and clicked (for edit/delete dialog),
497 * then only the menubutton-button itself is open, but not the whole menubutton. */
498 -moz-image-region: rect(18px, 162px, 36px, 144px);
501 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
502 -moz-image-region: rect(0, 630px, 18px, 612px);
505 #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
507 -moz-box-align: center;
510 #bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
511 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
512 -moz-image-region: rect(18px, 630px, 36px, 612px);
515 #bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
516 #bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
519 -moz-padding-start: 2px;
520 -moz-padding-end: 0px;
523 #history-panelmenu[cui-areatype="toolbar"] {
524 -moz-image-region: rect(0, 180px, 18px, 162px);
527 #history-panelmenu[cui-areatype="toolbar"]:hover,
528 #history-panelmenu[cui-areatype="toolbar"][open="true"] {
529 -moz-image-region: rect(18px, 180px, 36px, 162px);
532 #downloads-button[cui-areatype="toolbar"] {
533 -moz-image-region: rect(0, 198px, 18px, 180px);
536 #downloads-button[cui-areatype="toolbar"]:hover,
537 #downloads-button[cui-areatype="toolbar"][open="true"] {
538 -moz-image-region: rect(18px, 198px, 36px, 180px);
541 #add-ons-button[cui-areatype="toolbar"] {
542 -moz-image-region: rect(0, 216px, 18px, 198px);
545 #add-ons-button[cui-areatype="toolbar"]:hover {
546 -moz-image-region: rect(18px, 216px, 36px, 198px);
549 #open-file-button[cui-areatype="toolbar"] {
550 -moz-image-region: rect(0, 234px, 18px, 216px);
553 #open-file-button[cui-areatype="toolbar"]:hover {
554 -moz-image-region: rect(18px, 234px, 36px, 216px);
557 #save-page-button[cui-areatype="toolbar"] {
558 -moz-image-region: rect(0, 252px, 18px, 234px);
561 #save-page-button[cui-areatype="toolbar"]:hover {
562 -moz-image-region: rect(18px, 252px, 36px, 234px);
565 #sync-button[cui-areatype="toolbar"] {
566 -moz-image-region: rect(0, 270px, 18px, 252px);
569 #sync-button[cui-areatype="toolbar"]:hover {
570 -moz-image-region: rect(18px, 270px, 36px, 252px);
573 #sync-button[cui-areatype="toolbar"][status="active"],
574 #sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
575 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
576 -moz-image-region: rect(0, 18px, 18px, 0px);
580 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
581 #sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
582 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
586 #feed-button[cui-areatype="toolbar"] {
587 -moz-image-region: rect(0, 288px, 18px, 270px);
590 #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
591 -moz-image-region: rect(18px, 288px, 36px, 270px);
594 #feed-button[cui-areatype="toolbar"][disabled="true"] {
595 -moz-image-region: rect(36px, 288px, 54px, 270px);
598 #social-share-button[cui-areatype="toolbar"] {
599 -moz-image-region: rect(0px, 306px, 18px, 288px);
602 #social-share-button[cui-areatype="toolbar"]:hover {
603 -moz-image-region: rect(18px, 306px, 36px, 288px);
606 #characterencoding-button[cui-areatype="toolbar"] {
607 -moz-image-region: rect(0, 324px, 18px, 306px);
610 #characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
611 #characterencoding-button[cui-areatype="toolbar"][open="true"] {
612 -moz-image-region: rect(18px, 324px, 36px, 306px);
615 #characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
616 -moz-image-region: rect(36px, 324px, 54px, 306px);
619 #new-window-button[cui-areatype="toolbar"] {
620 -moz-image-region: rect(0, 342px, 18px, 324px);
623 #new-window-button[cui-areatype="toolbar"]:hover {
624 -moz-image-region: rect(18px, 342px, 36px, 324px);
627 #e10s-button[cui-areatype="toolbar"] {
628 -moz-image-region: rect(0, 342px, 18px, 324px);
631 #e10s-button[cui-areatype="toolbar"]:hover {
632 -moz-image-region: rect(18px, 342px, 36px, 324px);
635 #e10s-button > .toolbarbutton-icon {
636 transform: scaleY(-1);
639 #new-tab-button[cui-areatype="toolbar"] {
640 -moz-image-region: rect(0, 360px, 18px, 342px);
643 #new-tab-button[cui-areatype="toolbar"]:hover {
644 -moz-image-region: rect(18px, 360px, 36px, 342px);
647 #privatebrowsing-button[cui-areatype="toolbar"] {
648 -moz-image-region: rect(0, 378px, 18px, 360px);
651 #privatebrowsing-button[cui-areatype="toolbar"]:hover {
652 -moz-image-region: rect(18px, 378px, 36px, 360px);
655 #find-button[cui-areatype="toolbar"] {
656 -moz-image-region: rect(0, 396px, 18px, 378px);
659 #find-button[cui-areatype="toolbar"]:hover {
660 -moz-image-region: rect(18px, 396px, 36px, 378px);
663 #print-button[cui-areatype="toolbar"] {
664 -moz-image-region: rect(0, 414px, 18px, 396px);
667 #print-button[cui-areatype="toolbar"]:hover {
668 -moz-image-region: rect(18px, 414px, 36px, 396px);
671 #fullscreen-button[cui-areatype="toolbar"] {
672 -moz-image-region: rect(0, 432px, 18px, 414px);
675 #fullscreen-button[cui-areatype="toolbar"]:hover {
676 -moz-image-region: rect(18px, 432px, 36px, 414px);
679 #developer-button[cui-areatype="toolbar"] {
680 -moz-image-region: rect(0, 450px, 18px, 432px);
683 #developer-button[cui-areatype="toolbar"]:hover,
684 #developer-button[cui-areatype="toolbar"][open="true"] {
685 -moz-image-region: rect(18px, 450px, 36px, 432px);
688 #preferences-button[cui-areatype="toolbar"] {
689 -moz-image-region: rect(0, 468px, 18px, 450px);
692 #preferences-button[cui-areatype="toolbar"]:hover {
693 -moz-image-region: rect(18px, 468px, 36px, 450px);
696 #PanelUI-menu-button {
697 -moz-image-region: rect(0, 486px, 18px, 468px);
700 #PanelUI-menu-button:hover,
701 #PanelUI-menu-button[open="true"] {
702 -moz-image-region: rect(18px, 486px, 36px, 468px);
705 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
706 -moz-image-region: rect(0, 504px, 18px, 486px);
709 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
710 -moz-image-region: rect(18px, 504px, 36px, 486px);
713 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
714 -moz-image-region: rect(36px, 504px, 54px, 486px);
717 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
718 -moz-image-region: rect(0, 522px, 18px, 504px);
721 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
722 -moz-image-region: rect(18px, 522px, 36px, 504px);
725 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
726 -moz-image-region: rect(36px, 522px, 54px, 504px);
729 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
730 -moz-image-region: rect(0, 540px, 18px, 522px);
733 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
734 -moz-image-region: rect(18px, 540px, 36px, 522px);
737 #edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
738 -moz-image-region: rect(36px, 540px, 54px, 522px);
741 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
742 -moz-image-region: rect(0, 558px, 18px, 540px);
745 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
746 -moz-image-region: rect(18px, 558px, 36px, 540px);
749 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
750 -moz-image-region: rect(36px, 558px, 54px, 540px);
753 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
754 -moz-image-region: rect(0, 576px, 18px, 558px);
757 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
758 -moz-image-region: rect(18px, 576px, 36px, 558px);
761 #zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
762 -moz-image-region: rect(36px, 576px, 54px, 558px);
765 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) {
766 -moz-image-region: rect(0, 594px, 18px, 576px);
769 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])):hover,
770 #webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]))[open="true"] {
771 -moz-image-region: rect(18px, 594px, 36px, 576px);
774 #nav-bar-overflow-button {
775 -moz-image-region: rect(0, 612px, 18px, 594px);
778 #nav-bar-overflow-button:hover,
779 #nav-bar-overflow-button[open="true"] {
780 -moz-image-region: rect(18px, 612px, 36px, 594px);
783 #nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
784 transform: scaleX(-1);
788 -moz-image-region: rect(0, 648px, 18px, 630px);
791 #tabview-button:hover {
792 -moz-image-region: rect(18px, 648px, 36px, 630px);
795 #email-link-button[cui-areatype="toolbar"] {
796 -moz-image-region: rect(0, 666px, 18px, 648px);
799 #email-button[cui-areatype="toolbar"]:hover {
800 -moz-image-region: rect(18px, 666px, 36px, 648px);
803 #sidebar-button[cui-areatype="toolbar"] {
804 -moz-image-region: rect(0, 684px, 18px, 666px);
807 #sidebar-button[cui-areatype="toolbar"]:hover {
808 -moz-image-region: rect(18px, 684px, 36px, 666px);
811 #loop-call-button > .toolbarbutton-badge-container {
812 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
813 -moz-image-region: rect(0, 18px, 18px, 0);
816 #loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
817 -moz-image-region: rect(0, 90px, 18px, 72px);
820 #loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
821 -moz-image-region: rect(0, 36px, 18px, 18px);
824 #loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
825 -moz-image-region: rect(0, 126px, 18px, 108px);
828 #loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
829 -moz-image-region: rect(0, 54px, 18px, 36px);
832 #loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
833 -moz-image-region: rect(0, 72px, 18px, 54px);
836 #loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
837 -moz-image-region: rect(0, 108px, 18px, 90px);
840 /* === END toolbarbuttons.inc.css === */
842 /* === BEGIN menupanel.inc.css === */
844 /* Menu panel and palette styles */
846 toolbaritem[sdkstylewidget="true"] > toolbarbutton,
847 :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
848 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
849 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
850 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
851 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
852 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
853 #copy-button, #paste-button, #e10s-button)[cui-areatype="menu-panel"],
854 toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
855 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
856 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
857 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
858 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
859 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
860 #copy-button, #paste-button, #e10s-button) {
861 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
864 #home-button[cui-areatype="menu-panel"],
865 toolbarpaletteitem[place="palette"] > #home-button {
866 -moz-image-region: rect(0px, 128px, 32px, 96px);
869 #home-button[cui-areatype="menu-panel"]:hover,
870 toolbarpaletteitem[place="palette"] > #home-button:hover {
871 -moz-image-region: rect(32px, 128px, 64px, 96px);
874 #bookmarks-menu-button[cui-areatype="menu-panel"],
875 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
876 -moz-image-region: rect(0px, 192px, 32px, 160px);
879 #bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
880 toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
881 -moz-image-region: rect(32px, 192px, 64px, 160px);
884 #bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
885 -moz-image-region: rect(32px, 192px, 64px, 160px);
888 #history-panelmenu[cui-areatype="menu-panel"],
889 toolbarpaletteitem[place="palette"] > #history-panelmenu {
890 -moz-image-region: rect(0px, 224px, 32px, 192px);
893 #history-panelmenu[cui-areatype="menu-panel"]:hover,
894 toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
895 -moz-image-region: rect(32px, 224px, 64px, 192px);
898 #history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
899 -moz-image-region: rect(32px, 224px, 64px, 192px);
902 #downloads-button[cui-areatype="menu-panel"],
903 toolbarpaletteitem[place="palette"] > #downloads-button {
904 -moz-image-region: rect(0px, 256px, 32px, 224px);
907 #downloads-button[cui-areatype="menu-panel"]:hover,
908 toolbarpaletteitem[place="palette"] > #downloads-button:hover {
909 -moz-image-region: rect(32px, 256px, 64px, 224px);
912 #add-ons-button[cui-areatype="menu-panel"],
913 toolbarpaletteitem[place="palette"] > #add-ons-button {
914 -moz-image-region: rect(0px, 288px, 32px, 256px);
917 #add-ons-button[cui-areatype="menu-panel"]:hover,
918 toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
919 -moz-image-region: rect(32px, 288px, 64px, 256px);
922 #open-file-button[cui-areatype="menu-panel"],
923 toolbarpaletteitem[place="palette"] > #open-file-button {
924 -moz-image-region: rect(0px, 320px, 32px, 288px);
927 #open-file-button[cui-areatype="menu-panel"]:hover,
928 toolbarpaletteitem[place="palette"] > #open-file-button:hover {
929 -moz-image-region: rect(32px, 320px, 64px, 288px);
932 #save-page-button[cui-areatype="menu-panel"],
933 toolbarpaletteitem[place="palette"] > #save-page-button {
934 -moz-image-region: rect(0px, 352px, 32px, 320px);
937 #save-page-button[cui-areatype="menu-panel"]:hover,
938 toolbarpaletteitem[place="palette"] > #save-page-button:hover {
939 -moz-image-region: rect(32px, 352px, 64px, 320px);
942 #sync-button[cui-areatype="menu-panel"],
943 toolbarpaletteitem[place="palette"] > #sync-button {
944 -moz-image-region: rect(0px, 384px, 32px, 352px);
947 #sync-button[cui-areatype="menu-panel"]:hover,
948 toolbarpaletteitem[place="palette"] > #sync-button:hover {
949 -moz-image-region: rect(32px, 384px, 64px, 352px);
952 #sync-button[cui-areatype="menu-panel"][status="active"] {
953 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
954 -moz-image-region: rect(0px, 32px, 32px, 0px);
957 #feed-button[cui-areatype="menu-panel"],
958 toolbarpaletteitem[place="palette"] > #feed-button {
959 -moz-image-region: rect(0px, 416px, 32px, 384px);
962 #feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
963 toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
964 -moz-image-region: rect(32px, 416px, 64px, 384px);
967 #feed-button[cui-areatype="menu-panel"][disabled="true"],
968 toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
969 -moz-image-region: rect(64px, 416px, 96px, 384px);
972 #social-share-button[cui-areatype="menu-panel"],
973 toolbarpaletteitem[place="palette"] > #social-share-button {
974 -moz-image-region: rect(0px, 448px, 32px, 416px);
977 #social-share-button[cui-areatype="menu-panel"]:hover,
978 toolbarpaletteitem[place="palette"] > #social-share-button:hover {
979 -moz-image-region: rect(32px, 448px, 64px, 416px);
982 #characterencoding-button[cui-areatype="menu-panel"],
983 toolbarpaletteitem[place="palette"] > #characterencoding-button {
984 -moz-image-region: rect(0px, 480px, 32px, 448px);
987 #characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
988 toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
989 -moz-image-region: rect(32px, 480px, 64px, 448px);
992 #characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
993 toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
994 -moz-image-region: rect(64px, 480px, 96px, 448px);
997 #characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
998 -moz-image-region: rect(32px, 480px, 64px, 448px);
1001 #new-window-button[cui-areatype="menu-panel"],
1002 toolbarpaletteitem[place="palette"] > #new-window-button {
1003 -moz-image-region: rect(0px, 512px, 32px, 480px);
1006 #new-window-button[cui-areatype="menu-panel"]:hover,
1007 toolbarpaletteitem[place="palette"] > #new-window-button:hover {
1008 -moz-image-region: rect(32px, 512px, 64px, 480px);
1011 #e10s-button[cui-areatype="menu-panel"],
1012 toolbarpaletteitem[place="palette"] > #e10s-button {
1013 -moz-image-region: rect(0px, 512px, 32px, 480px);
1016 #e10s-button[cui-areatype="menu-panel"]:hover,
1017 toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1018 -moz-image-region: rect(32px, 512px, 64px, 480px);
1021 #new-tab-button[cui-areatype="menu-panel"],
1022 toolbarpaletteitem[place="palette"] > #new-tab-button {
1023 -moz-image-region: rect(0px, 544px, 32px, 512px);
1026 #new-tab-button[cui-areatype="menu-panel"]:hover,
1027 toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1028 -moz-image-region: rect(32px, 544px, 64px, 512px);
1031 #privatebrowsing-button[cui-areatype="menu-panel"],
1032 toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1033 -moz-image-region: rect(0px, 576px, 32px, 544px);
1036 #privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1037 toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1038 -moz-image-region: rect(32px, 576px, 64px, 544px);
1041 #tabview-button[cui-areatype="menu-panel"],
1042 toolbarpaletteitem[place="palette"] > #tabview-button {
1043 -moz-image-region: rect(0px, 608px, 32px, 576px);
1046 #tabview-button[cui-areatype="menu-panel"]:hover,
1047 toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1048 -moz-image-region: rect(32px, 608px, 64px, 576px);
1051 #find-button[cui-areatype="menu-panel"],
1052 toolbarpaletteitem[place="palette"] > #find-button {
1053 -moz-image-region: rect(0px, 640px, 32px, 608px);
1056 #find-button[cui-areatype="menu-panel"]:hover,
1057 toolbarpaletteitem[place="palette"] > #find-button:hover {
1058 -moz-image-region: rect(32px, 640px, 64px, 608px);
1061 #print-button[cui-areatype="menu-panel"],
1062 toolbarpaletteitem[place="palette"] > #print-button {
1063 -moz-image-region: rect(0px, 672px, 32px, 640px);
1066 #print-button[cui-areatype="menu-panel"]:hover,
1067 toolbarpaletteitem[place="palette"] > #print-button:hover {
1068 -moz-image-region: rect(32px, 672px, 64px, 640px);
1071 #fullscreen-button[cui-areatype="menu-panel"],
1072 toolbarpaletteitem[place="palette"] > #fullscreen-button {
1073 -moz-image-region: rect(0px, 704px, 32px, 672px);
1076 #fullscreen-button[cui-areatype="menu-panel"]:hover,
1077 toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1078 -moz-image-region: rect(32px, 704px, 64px, 672px);
1081 #developer-button[cui-areatype="menu-panel"],
1082 toolbarpaletteitem[place="palette"] > #developer-button {
1083 -moz-image-region: rect(0px, 736px, 32px, 704px);
1086 #developer-button[cui-areatype="menu-panel"]:hover,
1087 toolbarpaletteitem[place="palette"] > #developer-button:hover {
1088 -moz-image-region: rect(32px, 736px, 64px, 704px);
1091 #developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1092 -moz-image-region: rect(32px, 736px, 64px, 704px);
1095 #preferences-button[cui-areatype="menu-panel"],
1096 toolbarpaletteitem[place="palette"] > #preferences-button {
1097 -moz-image-region: rect(0px, 768px, 32px, 736px);
1100 #preferences-button[cui-areatype="menu-panel"]:hover,
1101 toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1102 -moz-image-region: rect(32px, 768px, 64px, 736px);
1105 #email-link-button[cui-areatype="menu-panel"],
1106 toolbarpaletteitem[place="palette"] > #email-link-button {
1107 -moz-image-region: rect(0, 800px, 32px, 768px);
1110 #email-link-button[cui-areatype="menu-panel"]:hover,
1111 toolbarpaletteitem[place="palette"] > #email-link-button:hover {
1112 -moz-image-region: rect(32px, 800px, 64px, 768px);
1115 #sidebar-button[cui-areatype="menu-panel"],
1116 toolbarpaletteitem[place="palette"] > #sidebar-button {
1117 -moz-image-region: rect(0, 864px, 32px, 832px);
1120 #sidebar-button[cui-areatype="menu-panel"]:hover,
1121 toolbarpaletteitem[place="palette"] > #sidebar-button:hover {
1122 -moz-image-region: rect(32px, 864px, 64px, 832px);
1125 #sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1126 -moz-image-region: rect(32px, 864px, 64px, 832px);
1129 toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1130 -moz-image-region: rect(0, 832px, 32px, 800px);
1133 #loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1134 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1135 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1136 -moz-image-region: rect(0, 32px, 32px, 0);
1139 /* Make sure that the state icons are not shown in the customization palette. */
1140 toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1141 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1144 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1145 -moz-image-region: rect(0, 160px, 32px, 128px);
1148 #loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1149 -moz-image-region: rect(0, 64px, 32px, 32px);
1152 #loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1153 -moz-image-region: rect(0, 224px, 32px, 192px);
1156 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1157 -moz-image-region: rect(0, 96px, 32px, 64px);
1160 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1161 -moz-image-region: rect(0, 128px, 32px, 96px);
1164 #loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1165 -moz-image-region: rect(0, 192px, 32px, 160px);
1168 /* Wide panel control icons */
1170 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1171 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1172 toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1173 toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1174 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
1177 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1178 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1179 -moz-image-region: rect(0px, 32px, 16px, 16px);
1182 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1183 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1184 -moz-image-region: rect(16px, 32px, 32px, 16px);
1187 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1188 toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1189 -moz-image-region: rect(32px, 32px, 48px, 16px);
1192 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1193 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1194 -moz-image-region: rect(0px, 48px, 16px, 32px);
1197 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1198 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1199 -moz-image-region: rect(16px, 48px, 32px, 32px);
1202 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1203 toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1204 -moz-image-region: rect(32px, 48px, 48px, 32px);
1207 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1208 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1209 -moz-image-region: rect(0px, 64px, 16px, 48px);
1212 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1213 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1214 -moz-image-region: rect(16px, 64px, 32px, 48px);
1217 #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1218 toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1219 -moz-image-region: rect(32px, 64px, 48px, 48px);
1222 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1223 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1224 -moz-image-region: rect(0px, 80px, 16px, 64px);
1227 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1228 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1229 -moz-image-region: rect(16px, 80px, 32px, 64px);
1232 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1233 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1234 -moz-image-region: rect(32px, 80px, 48px, 64px);
1237 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1238 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1239 -moz-image-region: rect(0px, 96px, 16px, 80px);
1242 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1243 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1244 -moz-image-region: rect(16px, 96px, 32px, 80px);
1247 #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1248 toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1249 -moz-image-region: rect(32px, 96px, 48px, 80px);
1252 /* === END menupanel.inc.css === */
1254 .toolbarbutton-1:not([type="menu-button"]) {
1255 -moz-box-orient: vertical;
1259 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1265 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1266 .toolbarbutton-1[disabled="true"]:hover:active,
1267 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1271 .toolbarbutton-1:hover:active,
1272 .toolbarbutton-1[open="true"],
1273 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1275 padding-bottom: 0px;
1276 -moz-padding-start: 3px;
1277 -moz-padding-end: 1px;
1280 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1281 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1282 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1283 #main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1284 #main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1287 .toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1288 .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1291 toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1292 toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1295 .toolbarbutton-1 > .toolbarbutton-icon,
1296 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1299 #nav-bar .toolbarbutton-1,
1300 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1303 #nav-bar .toolbarbutton-1:not([type=menu-button]),
1304 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1305 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1308 #nav-bar #PanelUI-menu-button {
1309 /* -moz-padding-start: 7px;
1310 -moz-padding-end: 5px;*/
1313 #nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1314 /* padding-left: 5px;
1315 padding-right: 5px;*/
1318 #nav-bar .toolbarbutton-1 > menupopup {
1319 /* margin-top: -3px;*/
1322 #nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1326 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1327 /* -moz-padding-end: 0;*/
1330 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1331 /* -moz-padding-start: 0;
1332 -moz-box-align: center;*/
1335 #nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1336 #nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1337 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1338 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1339 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1340 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1341 /* padding: 2px 6px;
1343 border-color: transparent;
1344 transition-property: background-color, border-color;
1345 transition-duration: 150ms;*/
1348 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1349 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1350 #nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1355 /* Help SDK icons fit: */
1356 toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1360 #nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1361 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1365 #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,
1366 #nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1367 /* -moz-padding-end: 17px;*/
1370 #nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1373 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1376 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1379 #nav-bar .toolbaritem-combined-buttons {
1380 /* margin-left: 2px;
1381 margin-right: 2px;*/
1384 #nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1389 #nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1390 #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 {
1396 -moz-margin-end: -1px;
1400 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1403 #nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1404 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1405 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1406 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1407 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1408 #nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1409 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1410 #nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1413 #nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1414 #nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1415 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1416 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1417 #nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1420 #TabsToolbar .toolbarbutton-1,
1421 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1422 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1423 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1426 #TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1427 #TabsToolbar .toolbarbutton-1[open],
1428 #TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1429 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1430 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1433 /* unified back/forward button */
1436 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1439 #forward-button > menupopup {
1440 margin-top: 1px !important;
1443 #forward-button > .toolbarbutton-icon {
1444 background-clip: padding-box !important;
1445 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1446 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1450 -moz-margin-start: -4px !important;
1455 border-radius: 0 10000px 10000px 0;
1458 #forward-button:-moz-locale-dir(rtl) {
1459 border-radius: 10000px 0 0 10000px;
1462 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1463 transition: margin-left 150ms ease-out;
1466 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1467 margin-left: -27px !important;
1470 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1471 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1472 transition-delay: 100s;
1475 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1476 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1477 margin-left: -27.01px !important;
1481 /* padding-top: 3px !important;
1482 padding-bottom: 3px !important;
1483 -moz-padding-start: 5px !important;
1484 -moz-padding-end: 0 !important;*/
1487 border-radius: 10000px;
1491 margin-bottom: -2px;
1494 #back-button:-moz-locale-dir(rtl) {
1497 #back-button > menupopup {
1498 margin-top: -1px !important;
1501 #back-button > .toolbarbutton-icon {
1502 border-radius: 10000px !important;
1503 background-clip: padding-box !important;
1504 /* background-color: hsla(210,25%,98%,.08) !important;
1505 padding: 6px !important;
1506 border-style: none !important;
1507 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1508 0 0 0 1px hsla(210,4%,10%,.25);*/
1509 transition-property: background-color, box-shadow !important;
1510 transition-duration: 250ms !important;
1513 #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1514 /* background-color: hsla(210,4%,10%,.08) !important;*/
1517 #back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1518 #back-button[open="true"] > .toolbarbutton-icon {
1519 /* background-color: hsla(210,4%,10%,.12) !important;
1520 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1521 0 0 0 1px hsla(210,4%,10%,.25),
1522 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1525 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1526 transform: scaleX(-1);
1529 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1530 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1531 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1534 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1535 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1536 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1539 #home-button.bookmark-item {
1540 list-style-image: url("chrome://browser/skin/Toolbar.png");
1543 #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),
1544 #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),
1545 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1546 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1547 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1548 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1549 #home-button.bookmark-item:-moz-lwtheme-brighttext {
1552 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1555 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1556 #main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1557 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1561 #downloads-button > .toolbarbutton-icon {
1565 /* tabview button & menu item */
1568 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1569 -moz-image-region: rect(1px, 89px, 17px, 73px);
1572 #menu_tabview[groups="0"] {
1573 -moz-image-region: rect(1px, 17px, 17px, 1px);
1576 #menu_tabview[groups="1"] {
1577 -moz-image-region: rect(1px, 35px, 17px, 19px);
1580 #menu_tabview[groups="2"] {
1581 -moz-image-region: rect(1px, 53px, 17px, 37px);
1584 #menu_tabview[groups="3"] {
1585 -moz-image-region: rect(1px, 71px, 17px, 55px);
1588 /* zoom control text (reset) button special case: */
1590 #nav-bar #zoom-reset-button > .toolbarbutton-text {
1591 /* To make this line up with the icons, it needs the same height (18px) +
1592 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1593 * increase in text sizes would break things...
1598 /* ::::: fullscreen window controls ::::: */
1601 -moz-margin-start: 4px;
1607 /* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1612 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1615 #minimize-button:hover {
1616 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1620 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1623 #restore-button:hover {
1624 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1628 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1631 #close-button:hover {
1632 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1635 /* ::::: Location Bar ::::: */
1638 .searchbar-textbox {
1641 -moz-margin-start: 3px;
1645 /* make color as light as possible to deal with dark non-domain parts */
1649 #urlbar:-moz-lwtheme,
1650 .searchbar-textbox:-moz-lwtheme {
1651 /* background-color: rgba(255,255,255,.8);
1652 @navbarTextboxCustomBorder@
1656 #urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1657 .searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1658 /* background-color: rgba(255,255,255,.9);*/
1661 #urlbar:-moz-lwtheme[focused]:not([readonly]),
1662 .searchbar-textbox:-moz-lwtheme[focused] {
1663 /* background-color: white;*/
1666 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1667 /* -moz-border-start: none;
1671 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1672 /* border-top-left-radius: 0;
1673 border-bottom-left-radius: 0; */
1676 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1677 /* border-top-right-radius: 0;
1678 border-bottom-right-radius: 0; */
1681 window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1682 /* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1683 /* -moz-margin-start: -5px; */
1686 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1687 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1688 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1689 transform: scaleX(-1);
1692 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1693 -moz-box-direction: reverse;
1696 html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1697 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1702 -moz-box-orient: horizontal;
1703 -moz-box-align: stretch;
1706 .urlbar-textbox-container {
1707 -moz-box-align: stretch;
1711 -moz-margin-start: 0;
1715 -moz-box-align: center;
1722 .searchbar-engine-button,
1723 .search-go-container {
1727 .search-go-container > .search-go-button {
1731 .urlbar-icon:hover {
1734 .urlbar-icon[open="true"],
1735 .urlbar-icon:hover:active {
1738 #urlbar-search-splitter {
1740 -moz-margin-start: -3px;
1742 background: transparent;
1745 #urlbar-search-splitter + #urlbar-container > #urlbar,
1746 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1747 -moz-margin-start: 0;
1750 #urlbar-display-box {
1754 -moz-border-end: 1px solid #9C9CFF;
1755 -moz-margin-end: 3px;
1758 -moz-margin-start: 0;
1763 min-width: calc(54px + 11ch);
1773 #identity-box:-moz-locale-dir(ltr) {
1774 /* border-top-left-radius: 1.5px;
1775 border-bottom-left-radius: 1.5px;*/
1778 #identity-box:-moz-locale-dir(rtl) {
1779 /* border-top-right-radius: 1.5px;
1780 border-bottom-right-radius: 1.5px;*/
1783 #notification-popup-box:not([hidden]) + #identity-box {
1784 -moz-padding-start: 10px !important;
1788 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1789 /* border-radius: 0; */
1790 -moz-padding-start: 2px;
1791 -moz-padding-end: 2px;
1792 -moz-margin-end: 1px;
1795 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1796 transition: padding-left, padding-right;
1799 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1800 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1804 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1805 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1809 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1810 #notification-popup-box[hidden] + #identity-box {
1811 /* forward button hiding is delayed when hovered */
1812 transition-delay: 100s;
1815 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1816 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1817 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1818 padding-left: 2.01px;
1821 window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1822 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1823 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1824 padding-right: 2.01px;
1827 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1828 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1829 -moz-margin-end: 3px;
1832 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
1833 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1834 border-top-right-radius: 0;
1835 border-bottom-right-radius: 0;
1838 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
1839 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1840 border-top-left-radius: 0;
1841 border-bottom-left-radius: 0;
1844 #identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1845 background-color: #000000;
1848 #identity-box:-moz-focusring {
1849 outline: 1px dotted #008484;
1850 outline-offset: -1px;
1853 #identity-box.verifiedDomain:-moz-focusring,
1854 #identity-box.verifiedIdentity:-moz-focusring {
1855 outline-color: #000000;
1858 #identity-icon-labels {
1859 -moz-margin-start: 1px;
1860 -moz-margin-end: 3px;
1863 /* Location bar dropmarker */
1865 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1866 background-color: transparent;
1869 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1870 #urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
1875 .urlbar-history-dropmarker:hover {
1878 .urlbar-history-dropmarker:hover:active,
1879 .urlbar-history-dropmarker[open="true"] {
1882 /* page proxy icon */
1884 /* === BEGIN identity-block.inc.css === */
1886 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1887 /* Default theme does different color per channel, we can't as they do it build-time. */
1889 -moz-border-end: 1px solid #9C9CFF;
1892 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1894 -moz-border-end: 1px solid #008484;
1897 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1898 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1899 background-position: right;
1900 background-size: 1px;
1901 background-repeat: no-repeat;
1904 /* page proxy icon */
1906 #page-proxy-favicon {
1909 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1913 .chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1914 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
1917 .verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
1918 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1921 .verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1922 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1925 .mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1926 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1929 .mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1930 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1933 .mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1934 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1937 #page-proxy-favicon[pageproxystate="invalid"] {
1941 #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1942 list-style-image: url("chrome://branding/content/icon64.png");
1945 #identity-popup-brandName {
1949 margin-bottom: .5em;
1952 #identity-popup-content-box {
1956 /* === END identity-block.inc.css === */
1958 #page-proxy-favicon {
1959 -moz-image-region: rect(0, 16px, 16px, 0);
1962 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
1963 /* -moz-margin-end: 1px;*/
1966 #identity-box:hover > #page-proxy-favicon {
1967 -moz-image-region: rect(0, 32px, 16px, 16px);
1970 #identity-box:hover:active > #page-proxy-favicon,
1971 #identity-box[open=true] > #page-proxy-favicon {
1972 -moz-image-region: rect(0, 48px, 16px, 32px);
1975 #identity-box:hover {
1976 background-color: #FFCF00;
1980 #identity-box:hover:active,
1981 #identity-box[open=true] {
1982 background-color: #FF9F00;
1986 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
1987 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
1988 #urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
1989 background-color: #9C9CFF;
1993 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
1994 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
1995 #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
1996 background-color: #008484;
2002 #treecolAutoCompleteImage {
2006 .ac-result-type-bookmark,
2007 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
2008 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2009 -moz-image-region: rect(0px 16px 16px 0px);
2014 richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2015 .autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2016 /* -moz-image-region: rect(0px 48px 16px 32px);*/
2019 .ac-result-type-keyword,
2020 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2021 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2022 -moz-image-region: rect(0px 32px 16px 16px);
2027 .ac-result-type-tag,
2028 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2029 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2038 .ac-extra > .ac-comment {
2048 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2049 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2050 -moz-image-region: rect(0, 16px, 16px, 0);
2054 richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2055 -moz-image-region: rect(16px, 16px, 32px, 0);
2058 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2062 .ac-comment[selected="true"],
2063 .ac-url-text[selected="true"],
2064 .ac-action-text[selected="true"] {
2065 color: inherit !important;
2068 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2069 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2075 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
2076 border-top: 1px solid #9C9CFF;
2079 /* combined go/reload/stop button in location bar */
2081 #urlbar > toolbarbutton {
2082 -moz-margin-start: 0;
2084 background-origin: border-box;
2086 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2087 -moz-border-start: 1px solid #9C9CFF;
2090 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2091 border-top-left-radius: 0px;
2092 border-bottom-left-radius: 0px;
2095 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2096 border-top-right-radius: 0px;
2097 border-bottom-right-radius: 0px;
2100 #urlbar > toolbarbutton:not([disabled=true]):active:hover,
2101 #urlbar-reload-button:not(:hover) {
2102 -moz-border-start-style: none;
2103 -moz-padding-start: 3px;
2106 #urlbar-reload-button {
2107 -moz-image-region: rect(0px, 14px, 14px, 0px);
2110 #urlbar-reload-button[disabled=true] {
2111 -moz-image-region: rect(28px, 14px, 42px, 0px);
2114 #urlbar-reload-button:not([disabled=true]):hover {
2115 -moz-image-region: rect(14px, 14px, 28px, 0px);
2118 #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2119 transform: scaleX(-1);
2123 -moz-image-region: rect(0, 42px, 14px, 28px);
2126 #urlbar-go-button:hover {
2127 -moz-image-region: rect(14px, 42px, 28px, 28px);
2130 #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2131 transform: scaleX(-1);
2134 #urlbar-stop-button {
2135 -moz-image-region: rect(0px, 28px, 14px, 14px);
2138 #urlbar-stop-button:hover {
2139 -moz-image-region: rect(14px, 28px, 28px, 14px);
2142 /* popup blocker button */
2144 #page-report-button {
2145 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2146 -moz-image-region: rect(0, 16px, 16px, 0);
2149 #page-report-button:hover ,
2150 #page-report-button:hover:active,
2151 #page-report-button[open="true"] {
2152 -moz-image-region: rect(0, 32px, 16px, 16px);
2155 /* social share panel */
2157 #social-share-panel > iframe {
2158 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2163 .social-share-toolbar {
2164 border-right: 1px solid #9C9CFF;
2165 /* background-color: #000000; */
2168 #social-share-provider-buttons {
2172 #social-share-provider-buttons > .share-provider-button {
2173 -moz-appearance: none;
2181 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2182 #social-share-provider-buttons > .share-provider-button:hover,
2183 #social-share-provider-buttons > .share-provider-button:active {
2187 #social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2190 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2193 #social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2199 toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2206 /* fixup corners for share panel */
2207 .social-panel > .social-panel-frame {
2208 border-radius: inherit;
2211 #social-share-panel {
2218 .social-share-frame {
2219 /* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2222 /* we resize our panels dynamically, make it look nice */
2223 transition: height 100ms ease-out, width 100ms ease-out;
2226 .social-share-frame:-moz-locale-dir(ltr) {
2227 border-top-left-radius: 0;
2228 border-bottom-left-radius: 0;
2229 border-top-right-radius: inherit;
2230 border-bottom-right-radius: inherit;
2233 .social-share-frame:-moz-locale-dir(rtl) {
2234 border-top-left-radius: inherit;
2235 border-bottom-left-radius: inherit;
2236 border-top-right-radius: 0;
2237 border-bottom-right-radius: 0;
2240 #social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2241 border-top-left-radius: inherit;
2242 border-bottom-left-radius: inherit;
2245 #social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2246 border-top-right-radius: inherit;
2247 border-bottom-right-radius: inherit;
2250 #social-share-provider-buttons:-moz-locale-dir(ltr) {
2251 border-top-left-radius: inherit;
2252 border-bottom-left-radius: inherit;
2255 #social-share-provider-buttons:-moz-locale-dir(rtl) {
2256 border-top-right-radius: inherit;
2257 border-bottom-right-radius: inherit;
2260 /* social recommending panel */
2262 #social-mark-button {
2263 -moz-image-region: rect(0, 16px, 16px, 0);
2266 /* bookmarks menu-button */
2268 #bookmarks-menu-button.bookmark-item {
2269 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2270 -moz-image-region: rect(0px 16px 16px 0px);
2273 #bookmarks-menu-button.bookmark-item[starred] {
2274 -moz-image-region: rect(0px 32px 16px 16px);
2277 #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2278 -moz-margin-start: 5px;
2281 #bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2283 padding-bottom: 2px;
2286 #BMB_bookmarksPopup[side="top"],
2287 #BMB_bookmarksPopup[side="bottom"] {
2289 margin-right: -20px;
2292 #BMB_bookmarksPopup[side="left"],
2293 #BMB_bookmarksPopup[side="right"] {
2295 margin-bottom: -20px;
2298 /* bookmarking panel */
2300 #editBookmarkPanelStarIcon {
2301 list-style-image: url("chrome://browser/skin/places/starred48.png");
2306 #editBookmarkPanelStarIcon[unstarred] {
2307 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2310 #editBookmarkPanelTitle {
2314 #editBookmarkPanelHeader,
2315 #editBookmarkPanelContent {
2316 margin-bottom: .5em;
2319 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2320 #editBMPanel_folderTree {
2327 border-top: 1px solid #9C9CFF;
2328 border-bottom-left-radius: 5px;
2329 border-bottom-right-radius: 5px;
2333 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2334 -moz-margin-end: 10px;
2335 vertical-align: middle;
2338 .panel-promo-closebutton {
2339 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2340 -moz-margin-end: -3px;
2344 .panel-promo-closebutton:hover {
2345 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2348 .panel-promo-closebutton:hover:active {
2349 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2352 .panel-promo-closebutton > .toolbarbutton-text {
2357 /* ::::: content area ::::: */
2360 background-color: Window;
2364 -moz-padding-start: 0px;
2367 #sidebar-header > .close-icon {
2368 /* padding: 4px 2px;
2371 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2374 #sidebar-header > .close-icon:hover,
2375 #sidebar-header > .close-icon:hover:active {
2376 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2379 .browserContainer > findbar {
2381 background-color: -moz-dialog;
2382 color: -moz-DialogText;
2391 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2394 #TabsToolbar .toolbar-holder {
2395 background-color: #000000; /* correct effect of being an actual toolbar */
2398 #main-window[disablechrome] #TabsToolbar,
2399 #TabsToolbar[tabsontop="false"] {
2400 border-bottom: 1px solid #008484;
2403 #main-window:not([customizing]) #TabsToolbar:not(:-moz-lwtheme) {
2406 #main-window[tabsintitlebar] #TabsToolbar {
2407 background-color: transparent;
2410 /* === BEGIN tabs.inc.css === */
2413 .tabs-newtab-button,
2414 #TabsToolbar > #new-tab-button {
2419 padding: 1px 4px 2px;
2422 .tabbrowser-tab:first-of-type {
2423 -moz-margin-start: 2px;
2426 .tabs-newtab-button,
2427 #TabsToolbar > #new-tab-button {
2428 border-radius: 8px 8px 0px 0px;
2429 -moz-margin-start: 0;
2432 .tabs-newtab-button:not(:hover),
2433 #TabsToolbar > #new-tab-button:not(:hover) {
2434 background-color: #C09070;
2437 .tabbrowser-tab[remote] {
2438 text-decoration: underline;
2441 /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2442 .tabbrowser-tab[selected=true] {
2443 /* position: relative;
2447 .tab-background-middle {
2465 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2469 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2472 .tab-throbber[progress] {
2473 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2476 .tab-throbber:not([pinned]),
2477 .tab-icon-image:not([pinned]) {
2478 -moz-margin-end: 3px;
2481 .tab-throbber[pinned],
2482 .tab-icon-image[pinned] {
2483 -moz-margin-start: 2px;
2484 -moz-margin-end: 2px;
2488 /* this needs to add up to the 16px of the icon image */
2490 margin-top: 2px !important;
2491 margin-bottom: 2px !important;
2500 .tabs-newtab-button {
2501 /* overlap the tab curves */
2504 .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2507 .tab-background-start[selected=true]::after,
2508 .tab-background-start[selected=true]::before,
2509 .tab-background-start,
2510 .tab-background-end,
2511 .tab-background-end[selected=true]::after,
2512 .tab-background-end[selected=true]::before {
2515 .tabbrowser-tab:not([selected=true]),
2516 .tabbrowser-tab:-moz-lwtheme {
2519 /* tabbrowser-tab focus ring */
2520 .tabbrowser-tab:focus {
2521 outline: 1px dotted;
2526 .tabbrowser-tab[selected="true"] {
2529 /* End selected tab */
2531 /* Tab pointer-events */
2534 pointer-events: none;
2537 .tab-background-middle,
2538 .tabs-newtab-button,
2540 pointer-events: auto;
2545 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2546 background-color: #E7ADE7;
2549 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2550 background-color: #3333FF;
2554 /* New tab button */
2556 .tabs-newtab-button {
2560 /* === END tabs.inc.css === */
2564 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2565 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2566 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2568 #main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2569 /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2572 /* Tab DnD indicator */
2573 .tab-drop-indicator {
2574 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2575 margin-bottom: -11px;
2578 /* Tab close button */
2580 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2583 .tab-close-button:hover,
2584 .tab-close-button:hover[selected="true"] {
2585 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2588 .tab-close-button:hover:active,
2589 .tab-close-button:hover:active[selected="true"] {
2590 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2593 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2595 .tabbrowser-arrowscrollbox > .scrollbutton-up,
2596 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2600 background-origin: border-box;
2603 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2604 #main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2605 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2606 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2609 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2610 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2613 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2614 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2615 /* transform: scaleX(-1);*/
2618 .tabbrowser-arrowscrollbox > .scrollbutton-down {
2619 transition: 1s background-color ease-out;
2622 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2623 background-color: #008484;
2626 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2627 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2628 /* border-width: 0 2px 0 0;
2629 border-style: solid;
2630 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2633 .tabs-newtab-button > .toolbarbutton-icon {
2635 margin-bottom: -1px;
2638 .tabs-newtab-button,
2639 #TabsToolbar > #new-tab-button,
2640 #TabsToolbar > toolbarpaletteitem > #new-tab-button,
2641 #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2642 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2643 -moz-image-region: rect(0, 16px, 18px, 0);
2646 .tabs-newtab-button,
2647 .tabs-newtab-button:hover,
2648 #TabsToolbar > #new-tab-button,
2649 #TabsToolbar > #new-tab-button:hover {
2650 -moz-image-region: rect(0, 32px, 18px, 16px);
2653 #main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2654 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2655 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2656 .tabs-newtab-button:-moz-lwtheme-brighttext,
2657 #TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2658 #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2661 #TabsToolbar > #new-tab-button {
2666 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2669 #alltabs-button:hover,
2670 #alltabs-button:hover:active,
2671 #alltabs-button[open="true"] {
2672 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2675 #main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2676 #alltabs-button:-moz-lwtheme-brighttext {
2679 #alltabs-button > .toolbarbutton-icon {
2683 #alltabs-button > .toolbarbutton-menu-dropmarker {
2687 /* All tabs menupopup */
2688 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2689 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2690 -moz-image-region: auto;
2693 .alltabs-item[selected="true"] {
2697 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2698 list-style-image: url("chrome://global/skin/icons/loading.gif");
2701 .alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2702 background-color: #402800;
2705 toolbarbutton.chevron {
2706 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2709 toolbarbutton.chevron:hover {
2710 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2713 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2714 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2715 transform: scaleX(-1);
2718 toolbarbutton.chevron > .toolbarbutton-text,
2719 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2723 toolbarbutton.chevron > .toolbarbutton-icon {
2727 #sidebar-throbber[loading="true"] {
2728 list-style-image: url("chrome://global/skin/icons/loading.gif");
2729 -moz-margin-end: 4px;
2732 /* Bookmarks toolbar */
2733 #PlacesToolbarDropIndicator {
2734 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2737 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2738 background-color: #008484 !important;
2739 color: #FFCF00 !important;
2742 /* rules for menupopup drop indicators */
2743 .menupopup-drop-indicator-bar {
2745 /* these two margins must together compensate the indicator's height */
2747 margin-bottom: -1px;
2750 .menupopup-drop-indicator {
2751 list-style-image: none;
2753 -moz-margin-end: -4em;
2754 background-color: #008484;
2757 /* ::::: Identity Indicator Styling ::::: */
2760 #identity-popup-icon {
2764 list-style-image: url("chrome://browser/skin/identity.png");
2765 -moz-image-region: rect(0px, 64px, 64px, 0px);
2768 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2769 -moz-image-region: rect(64px, 64px, 128px, 0px);
2772 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2773 -moz-image-region: rect(128px, 64px, 192px, 0px);
2776 /* Popup Body Text */
2777 .identity-popup-description {
2778 white-space: pre-wrap;
2779 -moz-padding-start: 15px;
2783 .identity-popup-label {
2784 white-space: pre-wrap;
2785 -moz-padding-start: 15px;
2789 #identity-popup-content-host,
2790 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2794 #identity-popup-content-host {
2801 #identity-popup-content-owner {
2803 margin-bottom: 0 !important;
2808 .verifiedDomain > #identity-popup-content-owner {
2809 font-weight: normal;
2812 #identity-popup-content-verifier {
2816 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2817 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2819 -moz-margin-start: -24px;
2822 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2823 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2824 list-style-image: url("chrome://browser/skin/Secure24.png");
2827 #identity-popup-help-icon {
2829 margin: 7px 0 0 -3px;
2832 list-style-image: url("chrome://global/skin/icons/question-16.png");
2836 #identity-popup-help-icon > .button-box > .button-text {
2840 #identity-popup-help-icon > .button-box > .button-icon {
2845 #identity-popup-more-info-button {
2851 #identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2855 #identity-popup-container {
2860 #identity-popup-button-container {
2861 /* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2866 .popup-notification-icon {
2869 -moz-margin-end: 10px;
2872 .popup-notification-icon[popupid="geolocation"] {
2873 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2876 .popup-notification-icon[popupid="xpinstall-disabled"],
2877 .popup-notification-icon[popupid="addon-progress"],
2878 .popup-notification-icon[popupid="addon-install-cancelled"],
2879 .popup-notification-icon[popupid="addon-install-blocked"],
2880 .popup-notification-icon[popupid="addon-install-failed"],
2881 .popup-notification-icon[popupid="addon-install-complete"] {
2882 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2887 .popup-notification-icon[popupid="click-to-play-plugins"] {
2888 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
2891 .popup-notification-icon[popupid="plugins-not-found"] {
2892 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2895 .popup-notification-icon[popupid="web-notifications"] {
2896 list-style-image: url("chrome://browser/skin/notification-64.png");
2899 .addon-progress-description {
2904 .popup-progress-label,
2905 .popup-progress-meter {
2906 -moz-margin-start: 0;
2910 .popup-progress-cancel {
2911 -moz-appearance: none;
2912 background: transparent;
2918 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2919 -moz-image-region: rect(0px, 32px, 16px, 16px);
2922 .popup-progress-cancel:hover {
2923 -moz-image-region: rect(16px, 32px, 32px, 16px);
2926 .popup-progress-cancel:active {
2927 -moz-image-region: rect(32px, 32px, 48px, 16px);
2930 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2931 .popup-notification-icon[popupid="indexedDB-quota-prompt"],
2932 .popup-notification-icon[popupid*="offline-app-requested"],
2933 .popup-notification-icon[popupid="offline-app-usage"] {
2934 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2937 .popup-notification-icon[popupid="password-save"],
2938 .popup-notification-icon[popupid="password-change"] {
2939 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2942 .popup-notification-icon[popupid="webapps-install-progress"],
2943 .popup-notification-icon[popupid="webapps-install"] {
2944 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
2947 .popup-notification-icon[popupid="mixed-content-blocked"] {
2948 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2951 .popup-notification-icon[popupid="webRTC-sharingDevices"],
2952 .popup-notification-icon[popupid="webRTC-shareDevices"] {
2953 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2956 .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
2957 .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
2958 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
2961 .popup-notification-icon[popupid="pointerLock"] {
2962 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
2965 /* Notification icon box */
2966 #notification-popup .panel-promo-box {
2967 /* margin: 10px -10px -10px; */
2970 #notification-popup-box {
2972 background-color: #000000;
2973 background-clip: padding-box;
2976 border-radius: 3px 0 0 3px;
2977 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2978 -moz-margin-end: -8px;
2979 border-right-width: 8px;
2982 window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
2983 /* padding-left: 7px; */
2986 #notification-popup-box:-moz-locale-dir(rtl),
2987 .notification-anchor-icon:-moz-locale-dir(rtl) {
2988 transform: scaleX(-1);
2991 .notification-anchor-icon {
2997 .notification-anchor-icon:-moz-focusring {
2998 outline: 1px dotted #008484;
2999 /* outline-offset: -3px; */
3002 .default-notification-icon,
3003 #default-notification-icon {
3004 list-style-image: url("chrome://global/skin/icons/information-16.png");
3007 .identity-notification-icon,
3008 #identity-notification-icon {
3009 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
3012 .geo-notification-icon,
3013 #geo-notification-icon {
3014 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3017 #addons-notification-icon {
3018 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3021 .indexedDB-notification-icon,
3022 #indexedDB-notification-icon {
3023 list-style-image: url("chrome://global/skin/icons/question-16.png");
3026 #password-notification-icon {
3027 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3030 #webapps-notification-icon {
3031 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3034 #plugins-notification-icon {
3035 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3038 #plugins-notification-icon.plugin-hidden {
3039 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3042 #plugins-notification-icon.plugin-blocked {
3043 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3046 #plugins-notification-icon {
3047 /* -moz-image-region: rect(0, 16px, 16px, 0);*/
3050 #plugins-notification-icon:hover {
3051 /* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3054 #plugin-install-notification-icon {
3055 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3058 #notification-popup-box[hidden] {
3059 /* Override display:none to make the pluginBlockedNotification animation work
3060 when showing the notification repeatedly. */
3062 visibility: collapse;
3065 #plugins-notification-icon.plugin-blocked[showing] {
3066 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3069 @keyframes pluginBlockedNotification {
3078 .mixed-content-blocked-notification-icon,
3079 #mixed-content-blocked-notification-icon {
3080 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3083 .webRTC-shareDevices-notification-icon,
3084 #webRTC-shareDevices-notification-icon {
3085 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3088 .webRTC-sharingDevices-notification-icon,
3089 #webRTC-sharingDevices-notification-icon {
3090 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3093 .webRTC-shareMicrophone-notification-icon,
3094 #webRTC-shareMicrophone-notification-icon {
3095 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3098 .webRTC-sharingMicrophone-notification-icon,
3099 #webRTC-sharingMicrophone-notification-icon {
3100 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3103 .web-notifications-notification-icon,
3104 #web-notifications-notification-icon {
3105 list-style-image: url("chrome://browser/skin/notification-16.png");
3108 #pointerLock-notification-icon {
3109 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3111 #pointerLock-cancel {
3115 /* Bookmarks roots menu-items */
3116 #subscribeToPageMenuitem:not([disabled]),
3117 #subscribeToPageMenupopup,
3118 #BMB_subscribeToPageMenuitem:not([disabled]),
3119 #BMB_subscribeToPageMenupopup {
3120 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3123 #bookmarksToolbarFolderMenu,
3124 #BMB_bookmarksToolbar,
3125 #panelMenu_bookmarksToolbar {
3126 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3127 -moz-image-region: auto;
3130 #BMB_unsortedBookmarks,
3131 #panelMenu_unsortedBookmarks {
3132 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3133 -moz-image-region: auto;
3136 /* ::::: Keyboard UI Panel ::::: */
3141 border-radius: 20px;
3144 .KUI-panel[level="top"] {
3145 /*background-color: rgba(27%,27%,27%,.65);*/
3151 padding: 20px 10px 10px;
3155 .ctrlTab-favicon[src] {
3156 background-color: #000000;
3162 .ctrlTab-preview-inner > .tabPreview-canvas {
3165 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3169 .ctrlTab-preview-inner {
3170 padding-bottom: 10px;
3173 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3175 background-color: #000000;
3176 border-radius: .5em;
3179 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3181 background-color: #000000;
3184 border: 2px solid #9C9CFF;
3185 border-radius: .5em;
3188 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3189 margin: -10px -10px 0;
3201 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3209 .sync-panel-button-box {
3213 #sync-error-panel-title,
3214 #sync-start-panel-title {
3220 #sync-start-panel-subtitle,
3221 #sync-error-panel-subtitle {
3227 .statuspanel-label {
3230 background: #404000;
3231 border: 1px none #9C9CFF;
3232 border-top-style: solid;
3237 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3238 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3239 border-right-style: solid;
3240 border-top-right-radius: .3em;
3244 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3245 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3246 border-left-style: solid;
3247 border-top-left-radius: .3em;
3251 /* HACK to abolish devily color on main content */
3254 background-color: transparent !important;
3257 /* === BEGIN highlighter.inc.css === */
3259 /* Box model highlighter */
3260 svg|g.box-model-container {
3264 svg|polygon.box-model-content {
3268 svg|polygon.box-model-padding {
3272 svg|polygon.box-model-border {
3276 svg|polygon.box-model-margin {
3280 svg|polygon.box-model-content,
3281 svg|polygon.box-model-padding,
3282 svg|polygon.box-model-border,
3283 svg|polygon.box-model-margin {
3287 svg|line.box-model-guide-top,
3288 svg|line.box-model-guide-right,
3289 svg|line.box-model-guide-bottom,
3290 svg|line.box-model-guide-left {
3292 stroke-dasharray: 5 3;
3295 /* Highlighter - Node Infobar */
3297 .highlighter-nodeinfobar {
3300 background-color: #000000;
3301 background-clip: padding-box;
3302 border: 1px solid #008484;
3304 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3309 /* Highlighter - Node Infobar - text */
3311 .highlighter-nodeinfobar-text {
3313 /* 100% - size of the buttons and margins */
3314 max-width: calc(100% - 2 * (26px + 6px));
3315 padding-bottom: 1px;
3318 html|*.highlighter-nodeinfobar-tagname {
3322 html|*.highlighter-nodeinfobar-id {
3326 html|*.highlighter-nodeinfobar-pseudo-classes {
3330 /* Highlighter - Node Infobar - box & arrow */
3332 .highlighter-nodeinfobar-arrow {
3335 -moz-margin-start: calc(50% - 7px);
3336 transform: rotate(-45deg);
3337 background-clip: padding-box;
3338 background-repeat: no-repeat;
3341 .highlighter-nodeinfobar-arrow-top {
3342 margin-bottom: -8px;
3344 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3347 .highlighter-nodeinfobar-arrow-bottom {
3350 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3353 .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3357 /* === END highlighter.inc.css === */
3359 #full-screen-warning-message {
3360 background-color: #000000;
3365 box-shadow: 0 0 2px #9C9CFF;
3368 #full-screen-warning-container[obscure-browser] {
3369 background-color: rgba(0,0,0,0.3);
3372 .full-screen-description {
3376 #full-screen-domain-text {
3380 .full-screen-approval-button,
3381 #full-screen-remember-decision {
3385 /* === BEGIN commandline.inc.css === */
3387 /* Developer toolbar */
3389 #developer-toolbar {
3390 border-top: 3px solid #000000;
3391 border-bottom: none;
3394 #developer-toolbar .toolbar-holder {
3395 background-color: #8050B0;
3399 #developer-toolbar .toolbar-holder {
3400 background-color: #8050B0;
3404 #developer-toolbar .toolbar-startcap,
3405 #developer-toolbar .toolbar-endcap{
3406 background-color: #6000CF;
3409 #developer-toolbar {
3411 min-height: 32px; */
3414 #developer-toolbar > toolbarbutton {
3420 .developer-toolbar-button > image {
3421 /* margin: auto 10px; */
3424 #developer-toolbar-toolbox-button > label {
3428 #developer-toolbar-toolbox-button {
3429 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3430 -moz-image-region: rect(0px, 16px, 16px, 0px);
3433 #developer-toolbar-toolbox-button > label {
3437 #developer-toolbar-toolbox-button:hover,
3438 #developer-toolbar-toolbox-button:hover:active,
3439 #developer-toolbar-toolbox-button[checked=true] {
3440 -moz-image-region: rect(0px, 32px, 16px, 16px);
3443 #developer-toolbar-closebutton {
3444 list-style-image: url("chrome://browser/skin/devtools/close.png");
3445 -moz-image-region: rect(0px, 16px, 16px, 0px);
3450 #developer-toolbar-closebutton > .toolbarbutton-icon {
3453 #developer-toolbar-closebutton > .toolbarbutton-text {
3457 #developer-toolbar-closebutton:hover,
3458 #developer-toolbar-closebutton:hover:active {
3459 -moz-image-region: rect(0px, 32px, 16px, 16px);
3464 html|*#gcli-tooltip-frame,
3465 html|*#gcli-output-frame {
3468 background-color: transparent;
3474 background-color: transparent;
3477 .gclitoolbar-input-node,
3478 .gclitoolbar-complete-node {
3480 -moz-box-align: center;
3484 background-color: transparent;
3487 .gclitoolbar-input-node {
3489 /* line-height: 32px;
3490 outline-style: none; */
3491 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
3492 background-repeat: no-repeat;
3493 background-color: rgba(0, 0, 0, .75);
3496 .gclitoolbar-input-node[focused="true"] {
3497 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
3498 background-color: #000000;
3501 .gclitoolbar-input-node:not([focused="true"]) {
3502 border-color: transparent;
3505 .gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3506 background-color: #008484;
3511 .gclitoolbar-complete-node {
3513 background-color: transparent;
3516 pointer-events: none;
3519 .gcli-in-incomplete,
3523 .gcli-in-closebrace,
3530 .gcli-in-incomplete {
3531 border-bottom: 2px dotted #8050B0;
3535 border-bottom: 2px dotted #FF0000;
3546 .gcli-in-closebrace {
3550 /* === END commandline.inc.css === */
3552 /* === BEGIN responsivedesign.inc.css === */
3554 /* Responsive Mode */
3556 .browserContainer[responsivemode] {
3557 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
3558 padding: 0 20px 20px 20px;
3561 .browserStack[responsivemode] {
3562 box-shadow: 0 0 7px #9C9CFF;
3565 .devtools-responsiveui-toolbar {
3566 background: transparent;
3567 /* text color is textColor from dark theme, since no theme is applied to
3568 * the responsive toolbar.
3574 border-bottom-width: 0;
3577 .devtools-responsiveui-menulist,
3578 .devtools-responsiveui-toolbarbutton {
3579 -moz-box-align: center;
3581 /* min-height: 22px;*/
3582 /* margin: 0 3px; */
3585 .devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3586 -moz-box-orient: horizontal;
3589 .devtools-responsiveui-menulist:-moz-focusring,
3590 .devtools-responsiveui-toolbarbutton:-moz-focusring {
3591 /* outline: 1px dotted hsla(210,30%,85%,0.7);
3592 outline-offset: -4px;*/
3595 .devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3599 .devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3600 /* border-color: hsla(210,8%,5%,.6);
3601 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3602 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); */
3605 .devtools-responsiveui-menulist[open=true],
3606 .devtools-responsiveui-toolbarbutton[open=true],
3607 .devtools-responsiveui-toolbarbutton[checked=true] {
3608 /* border-color: hsla(210,8%,5%,.6) !important;
3609 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3610 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); */
3613 .devtools-responsiveui-toolbarbutton[checked=true] {
3614 /* color: hsl(208,100%,60%); */
3617 .devtools-responsiveui-toolbarbutton[checked=true]:hover {
3618 /* background-color: transparent !important;*/
3621 .devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3622 /* background-color: hsla(210,8%,5%,.2) !important;*/
3625 .devtools-responsiveui-menulist > .menulist-label-box {
3629 .devtools-responsiveui-menulist > .menulist-dropmarker {
3630 /* display: -moz-box;
3631 background-color: transparent;
3632 list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3633 -moz-box-align: center;
3638 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3641 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3642 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3645 .devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3646 /* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3649 .devtools-responsiveui-toolbarbutton[type=menu-button] {
3650 /* padding: 0 1px;*/
3651 -moz-box-align: stretch;
3654 .devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3655 .devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3656 /* list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3657 -moz-box-align: center;
3661 .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3662 .devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3666 .devtools-responsiveui-close {
3667 list-style-image: url("chrome://browser/skin/devtools/close.png");
3668 -moz-image-region: rect(0px,16px,16px,0px);
3671 .devtools-responsiveui-close:hover {
3672 -moz-image-region: rect(0px,32px,16px,16px);
3675 .devtools-responsiveui-rotate {
3676 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3677 -moz-image-region: rect(0px,16px,16px,0px);
3680 .devtools-responsiveui-rotate:hover {
3681 -moz-image-region: rect(0px,32px,16px,16px);
3684 .devtools-responsiveui-touch {
3685 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3686 -moz-image-region: rect(0px,16px,16px,0px);
3689 .devtools-responsiveui-touch:hover,
3690 .devtools-responsiveui-touch[checked],
3691 .devtools-responsiveui-touch[checked]:hover {
3692 -moz-image-region: rect(0px,32px,16px,16px);
3695 .devtools-responsiveui-screenshot {
3696 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3697 -moz-image-region: rect(0px,16px,16px,0px);
3700 .devtools-responsiveui-screenshot:hover {
3701 -moz-image-region: rect(0px,32px,16px,16px);
3704 .devtools-responsiveui-resizebarV {
3708 transform: translate(12px, -12px);
3709 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3712 .devtools-responsiveui-resizebarH {
3716 transform: translate(-12px, 12px);
3717 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3720 .devtools-responsiveui-resizehandle {
3724 transform: translate(12px, 12px);
3725 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
3728 /* === END responsivedesign.inc.css === */
3730 /* === including indicator.css is done at the start of the file === */
3734 #developer-toolbar-toolbox-button[error-count]:before {
3738 background-color: #FF0000;
3740 -moz-margin-end: 5px;
3743 /* Social toolbar item */
3745 #social-provider-button {
3746 -moz-image-region: rect(0, 16px, 16px, 0);
3747 list-style-image: url("chrome://browser/skin/social/services-16.png");
3750 #social-provider-button > .toolbarbutton-menu-dropmarker {
3754 .toolbarbutton-badge-container {
3760 #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
3764 .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
3770 .toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
3774 .toolbarbutton-badge[badge=""] {
3777 .toolbarbutton-badge[badge]:not([badge=""])::after {
3778 /* The |content| property is set in the content stylesheet. */
3783 background-color: #000000;
3784 border: 1px solid #9C9CFF;
3791 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
3796 .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3801 #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3806 #social-notification-icon-mentions {
3807 background-color: #000000;
3809 -moz-margin-start: 2px;
3812 #social-notification-icon-mentions:hover {
3813 background-color: #FFCF00;
3816 #social-notification-icon-mentions[open="true"] {
3817 background-color: #FF9F00;
3820 #social-sidebar-splitter {
3824 .popup-notification-icon[popupid="servicesInstall"] {
3825 list-style-image: url("chrome://browser/skin/social/services-64.png");
3827 #servicesInstall-notification-icon {
3828 list-style-image: url("chrome://browser/skin/social/services-16.png");
3830 #social-undoactivation-button {
3831 -moz-margin-start: 0; /* override default label margin to match description margin */
3834 #socialActivatedNotification .popup-notification-button-container {
3838 .social-activation-icon {
3845 #social-activation-message {
3849 #social-activation-message > label {
3853 /* social toolbar provider menu */
3854 .social-statusarea-popup {
3857 margin-right: -12px;
3860 .social-statusarea-user {
3861 border-bottom: 1px solid #9C9CFF;
3862 background-color: #000000;
3868 .social-statusarea-user-portrait {
3875 .social-statusarea-loggedInStatus {
3876 background: transparent;
3881 list-style-image: none;
3884 #social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
3885 text-decoration: underline;
3888 .social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3892 .social-panel-frame {
3893 border-radius: inherit;
3896 /* === BEGIN chat.inc.css === */
3898 #social-sidebar-header {
3902 #social-sidebar-button {
3903 -moz-appearance: none;
3904 list-style-image: url("chrome://browser/skin/social/gear_default.png");
3909 #social-sidebar-button > .toolbarbutton-icon {
3913 #social-sidebar-button:hover,
3914 #social-sidebar-button:hover:active {
3915 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
3917 #social-sidebar-button > .toolbarbutton-menu-dropmarker {
3921 #social-sidebar-button[loading="true"] {
3922 list-style-image: url("chrome://global/skin/icons/loading.gif");
3925 #social-sidebar-favico {
3938 .chat-toolbarbutton {
3939 -moz-appearance: none;
3947 .chat-toolbarbutton > .toolbarbutton-text {
3951 .chat-toolbarbutton > .toolbarbutton-icon {
3955 .chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
3960 .chat-close-button {
3961 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3962 -moz-image-region: rect(0, 16px, 16px, 0);
3965 .chat-close-button:hover,
3966 .chat-close-button:hover:active {
3967 -moz-image-region: rect(0, 32px, 16px, 16px);
3970 .chat-minimize-button {
3971 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3972 -moz-image-region: rect(16px, 16px, 32px, 0);
3975 .chat-minimize-button:hover:active,
3976 .chat-minimize-button:hover {
3977 -moz-image-region: rect(16px, 32px, 32px, 16px);
3981 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3982 -moz-image-region: rect(48px, 16px, 64px, 0);
3985 .chat-swap-button:hover:active,
3986 .chat-swap-button:hover {
3987 -moz-image-region: rect(48px, 32px, 64px, 16px);
3990 chatbar > chatbox > .chat-titlebar > .chat-swap-button {
3991 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3992 -moz-image-region: rect(32px, 16px, 48px, 0);
3995 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
3996 chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
3997 -moz-image-region: rect(32px, 32px, 48px, 16px);
4002 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
4008 background-color: #9C9CFF;
4015 -moz-padding-start: 6px;
4017 border-bottom: 1px solid #008484;
4021 .chat-titlebar > .notification-anchor-icon {
4026 .chat-titlebar[minimized="true"] {
4027 border-bottom: none;
4030 .chat-titlebar[selected] {
4031 background-color: #008484;
4034 .chat-titlebar[activity] {
4035 background-color: #E7ADE7;
4045 list-style-image: url("chrome://browser/skin/social/services-16.png");
4046 background-color: #000000;
4052 border-top: 1px solid #008484;
4053 -moz-border-end: 1px solid #008484;
4056 @media (min-resolution: 2dppx) {
4058 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4062 .chatbar-button > .toolbarbutton-icon {
4066 .chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4073 .chatbar-button > .toolbarbutton-icon {
4077 .chatbar-button:hover > .toolbarbutton-icon,
4078 .chatbar-button[open="true"] > .toolbarbutton-icon {
4082 .chatbar-button:hover,
4083 .chatbar-button[open="true"] {
4086 .chatbar-button > .toolbarbutton-text,
4087 .chatbar-button > .toolbarbutton-menu-dropmarker {
4091 .chatbar-button[activity]:not([open="true"]) {
4092 background-color: #E7ADE7;
4095 .chatbar-button > menupopup > menuitem[activity] {
4100 background: transparent;
4106 -moz-margin-end: 20px;
4112 -moz-margin-start: 4px;
4113 background-color: #000000;
4114 border: 1px solid #9C9CFF;
4115 border-bottom: none;
4116 border-top-left-radius: 2.5px;
4117 border-top-right-radius: 2.5px;
4120 chatbox[minimized="true"] {
4126 -moz-margin-start: 0px;
4132 /* === END chat.inc.css === */
4135 /* background-color: #c4cfde; */
4138 .chat-titlebar[selected] {
4139 /* background-color: #dae3f0; */
4143 -moz-appearance: none;
4144 /* background-color: #c4cfde; */
4147 .chatbar-button > .toolbarbutton-icon {
4148 /* -moz-margin-end: 0; */
4151 .chatbar-button:hover,
4152 .chatbar-button[open="true"] {
4153 /* background-color: #dae3f0; */
4156 .chatbar-button[activity]:not([open="true"]) {
4160 /* border-top-left-radius: 2.5px;
4161 border-top-right-radius: 2.5px; */
4164 /* === BEGIN plugin-doorhanger.inc.css === */
4167 * Plugin Doorhanger Styles
4170 #notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4171 padding: 6px 1px 2px;
4174 .click-to-play-plugins-notification-center-box {
4177 .plugin-popupnotification-centeritem:nth-child(odd) {
4178 /* background-color: rgba(0,0,0,0.1);*/
4181 .center-item-label {
4183 text-overflow: ellipsis;
4186 .center-item-warning-icon {
4187 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4188 background-repeat: no-repeat;
4191 -moz-margin-start: 6px;
4194 .click-to-play-plugins-notification-button-container {
4197 .click-to-play-popup-button {
4201 .click-to-play-plugins-notification-description-box {
4205 padding-bottom: 3px;
4208 .click-to-play-plugins-outer-description {
4212 .click-to-play-plugins-notification-link,
4217 .messageImage[value="plugin-hidden"] {
4218 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4221 /* Keep any changes to this style in sync with pluginProblem.css */
4222 notification.pluginVulnerable {
4225 notification.pluginVulnerable .messageImage {
4226 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4229 /* === END plugin-doorhanger.inc.css === */
4231 /* === BEGIN customizeMode.inc.css === */
4233 /* Customization mode */
4235 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4239 #main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4240 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4241 #main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4246 #main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4247 pointer-events: none;
4250 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4251 #PanelUI-contents > .panel-customization-placeholder {
4252 -moz-outline-radius: 2.5px;
4253 outline: 1px dashed transparent;
4256 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4257 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4258 -moz-box-ordinal-group: 0;
4263 outline-offset: -2px;
4264 pointer-events: none;
4270 /* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4271 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4272 offset from the bottom effectively the same as other targets (-2px). */
4273 #main-window[customize-entered] #TabsToolbar.customization-target::before {
4277 /* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4278 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4279 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4280 #main-window[customize-entered] #nav-bar-customization-target.customization-target {
4284 /* Most target outlines are shown on hover and drag over but the panel menu uses
4285 placeholders instead. */
4286 #main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4287 #main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4288 /* nav-bar and panel outlines are always shown */
4289 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4290 outline-color: #A09090;
4293 #nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4294 transition: outline-color 250ms linear;
4297 #PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4298 transition: outline-color 250ms linear;
4299 outline-color: #9C9CFF;
4302 #PanelUI-contents > .panel-customization-placeholder {
4304 outline-offset: -5px;
4307 #main-window[customizing] .customization-target:not(#PanelUI-contents) {
4309 /* padding-left: 10px;
4310 padding-right: 10px;*/
4313 #main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4317 #customization-container {
4318 background-color: #000000;
4321 #customization-palette,
4322 #customization-empty {
4323 padding: 0 15px 15px;
4326 #customization-header {
4330 font-weight: lighter;
4332 padding: 15px 15px 0;
4335 #customization-panel-container {
4336 padding: 10px 10px 0px;
4339 #main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4340 #customization-footer {
4341 /*background-color: rgb(236,236,236);*/
4344 #customization-footer {
4345 border-top: 1px solid #9C9CFF;
4349 .customizationmode-button {
4353 .customizationmode-button:hover {
4356 .customizationmode-button[disabled="true"] {
4359 #customization-titlebar-visibility-button {
4360 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4361 -moz-image-region: rect(0, 16px, 16px, 0);
4363 -moz-margin-end: 10px;
4366 #customization-titlebar-visibility-button:hover {
4367 -moz-image-region: rect(16px, 16px, 32px, 0);
4370 #customization-titlebar-visibility-button > .button-box {
4372 padding-bottom: 1px;
4375 #customization-titlebar-visibility-button:hover:active > .button-box {
4380 #customization-titlebar-visibility-button > .button-box > .button-text {
4381 /* Sadly, button.css thinks its margins are perfect for everyone. */
4382 -moz-margin-start: 5px !important;
4385 #customization-titlebar-visibility-button[checked] {
4386 -moz-image-region: rect(0, 32px, 16px, 16px);
4387 background-color: #008484;
4390 #customization-titlebar-visibility-button[checked]:hover {
4391 -moz-image-region: rect(16px, 32px, 32px, 16px);
4392 background-color: #FFCF00;
4395 #customization-titlebar-visibility-button[checked]:hover:active {
4396 background-color: #FF9F00;
4399 #customization-undo-reset-button {
4400 -moz-margin-end: 10px;
4403 #main-window[customize-entered] #customization-panel-container {
4404 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4405 background-position: left top;
4406 background-repeat: repeat;
4407 background-size: auto;
4408 background-attachment: fixed;
4411 toolbarpaletteitem[place="toolbar"] {
4412 transition: border-width 250ms ease-in-out;
4415 toolbarpaletteitem[mousedown] {
4416 outline: 1px solid #008484;
4417 cursor: -moz-grabbing;
4421 .panel-customization-placeholder,
4422 toolbarpaletteitem[place="palette"],
4423 toolbarpaletteitem[place="panel"] {
4424 transition: transform .3s ease-in-out;
4427 #customization-palette {
4428 transition: opacity .3s ease-in-out;
4432 #customization-palette[showing="true"] {
4436 toolbarpaletteitem[notransition].panel-customization-placeholder,
4437 toolbarpaletteitem[notransition][place="toolbar"],
4438 toolbarpaletteitem[notransition][place="palette"],
4439 toolbarpaletteitem[notransition][place="panel"] {
4443 toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4444 toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
4445 toolbarpaletteitem > toolbaritem.panel-wide-item,
4446 toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4447 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
4450 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4451 toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
4452 transform: scale(1.3);
4455 toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4456 toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
4457 transform: scale(1.1);
4460 /* Override the toolkit styling for items being dragged over. */
4461 toolbarpaletteitem[place="toolbar"] {
4462 border-left-width: 0;
4463 border-right-width: 0;
4468 #customization-palette:not([hidden]) {
4469 margin-bottom: 25px;
4472 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4473 #wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4474 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4475 #wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4479 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4480 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4490 #wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4491 #wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4495 #wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4496 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4499 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4500 #wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
4504 #wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4505 -moz-box-pack: center;
4509 #customization-palette > toolbarpaletteitem > label {
4515 /* === END customizeMode.inc.css === */
4517 /* === BEGIN customizeTip.inc.css === */
4519 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
4526 /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
4527 border: 1px solid #9C9CFF;
4530 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
4531 /* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
4534 .customization-tipPanel-infoBox {
4535 margin: 20px 25px 25px;
4537 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
4538 background-repeat: no-repeat;
4541 .customization-tipPanel-content {
4547 .customization-tipPanel-em {
4552 .customization-tipPanel-contentImage {
4554 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
4562 .customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
4563 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
4566 .customization-tipPanel-link {
4567 -moz-appearance: none;
4568 background: transparent;
4576 .customization-tipPanel-link > .button-box > .button-text {
4577 margin: 0 !important;
4580 .customization-tipPanel-closeBox > .close-icon {
4581 -moz-appearance: none;
4583 -moz-margin-end: -25px;
4586 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
4587 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4588 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
4591 /* === END customizeTip.inc.css === */
4594 * This next rule is a hack to disable subpixel anti-aliasing on all
4595 * labels during the customize mode transition. Subpixel anti-aliasing
4596 * on Windows with Direct2D layers acceleration is particularly slow to
4597 * paint, so this hack is how we sidestep that performance bottleneck.
4599 #main-window:-moz-any([customize-entering],[customize-exiting]) label {
4600 transform: perspective(0.01px);
4603 #main-window[customize-entered] {
4604 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4605 background-attachment: fixed;
4608 #main-window[customize-entered] #browser-bottombox,
4609 #main-window[customize-entered] #customization-container {
4610 border-left: 1px solid #9C9CFF;
4611 border-right: 1px solid #9C9CFF;
4612 background-clip: padding-box;
4615 #main-window[customize-entered] #browser-bottombox {
4616 border-bottom: 1px solid #9C9CFF;
4619 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
4623 #customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4627 /* End customization mode */
4629 /* Private browsing indicators */
4632 * Currently, we have two places where we put private browsing indicators on
4633 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
4634 * When tabsintitlebar is disabled, we draw the indicator at the end of the
4635 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
4636 * want the bottom border of the image to line up with the bottom of the window
4637 * caption buttons. That's why there's so much special-casing going on in here.
4639 .private-browsing-indicator {
4641 pointer-events: none;
4644 #private-browsing-indicator-titlebar {
4649 #main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
4653 #main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
4657 #TabsToolbar > .private-browsing-indicator {
4658 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
4659 -moz-margin-start: 4px;
4663 /* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
4664 * mode, since the tabstrip "mimics" the titlebar in that case with its own
4665 * min/max/close window buttons.
4667 #private-browsing-indicator-titlebar > .private-browsing-indicator,
4668 #main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
4669 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
4670 -moz-margin-end: 4px;
4676 /* This one is for Linux */
4677 #main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
4678 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
4682 /* End private browsing indicators */
4684 /* === BEGIN UITour.inc.css === */
4688 #UITourHighlightContainer {
4689 -moz-appearance: none;
4691 background-color: transparent;
4692 /* This is a buffer to compensate for the movement in the "wobble" effect */
4697 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
4698 border-radius: 40px;
4699 border: 1px solid #9C9CFF;
4700 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
4701 on Linux without an X compositor where opacity is either 0 or 1. */
4702 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
4707 #UITourTooltipBody {
4708 -moz-margin-end: 14px;
4711 #UITourTooltipBody > vbox {
4715 #UITourTooltipIconContainer {
4716 -moz-margin-start: -16px;
4719 #UITourTooltipIcon {
4722 -moz-margin-start: 28px;
4723 -moz-margin-end: 28px;
4726 #UITourTooltipTitle,
4727 #UITourTooltipDescription {
4731 #UITourTooltipTitle {
4734 -moz-margin-start: 0;
4739 #UITourTooltipDescription {
4740 -moz-margin-start: 0;
4743 line-height: 1.8rem;
4744 margin-bottom: 0; /* Override global.css */
4747 #UITourTooltipClose {
4748 -moz-appearance: none;
4750 background-color: transparent;
4752 -moz-margin-start: 4px;
4756 #UITourTooltipClose > .toolbarbutton-text {
4760 #UITourTooltipButtons {
4762 background-color: rgba(0,0,0,.2);
4763 border-top: 1px solid rgba(0,0,0,.4);
4764 margin: 24px -16px -16px;
4768 #UITourTooltipButtons > button {
4772 #UITourTooltipButtons > button:first-child {
4773 -moz-margin-start: 0;
4776 #UITourTooltipButtons > button[image] > .button-box > .button-icon {
4779 -moz-margin-end: 5px;
4782 #UITourTooltipButtons > button .button-text {
4786 #UITourTooltipButtons > button:not(.button-link) {
4787 -moz-appearance: none;
4788 background-color: #C09070;
4789 border-radius: 3000px;
4793 transition-property: background-color, color;
4794 transition-duration: 150ms;
4797 #UITourTooltipButtons > button:not(.button-link):not(:active):hover {
4798 background-color: #FFCF00;
4802 #UITourTooltipButtons > button.button-link {
4803 -moz-appearance: none;
4804 background: transparent;
4807 color: rgba(0,0,0,0.35);
4809 padding-right: 10px;
4812 #UITourTooltipButtons > button.button-link:hover {
4816 /* The primary button gets the same color as the customize button. */
4817 #UITourTooltipButtons > button.button-primary {
4818 background-color: #A06060; /* LCARS default button background color */
4821 padding-right: 30px;
4824 #UITourTooltipButtons > button.button-primary:not(:active):hover {
4825 background-color: #FFCF00;
4829 /* === END UITour.inc.css === */
4831 #UITourTooltipButtons {
4832 margin: 24px -4px -4px;
4835 /* === BEGIN contextmenu.inc.css === */
4837 menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
4840 #context-navigation > .menuitem-iconic {
4842 -moz-box-pack: center;
4843 -moz-box-align: center;
4846 #context-navigation > .menuitem-iconic[disabled="true"] {
4847 background-color: transparent;
4850 #context-navigation > .menuitem-iconic > .menu-iconic-left {
4851 -moz-appearance: none;
4854 #context-navigation > #context-back > .menu-iconic-left {
4855 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4856 -moz-image-region: rect(0, 54px, 18px, 36px);
4859 #context-navigation > #context-back:not([disabled="true"]):hover > .menu-iconic-left {
4860 -moz-image-region: rect(18px, 54px, 36px, 36px);
4863 #context-navigation > #context-back[disabled="true"] > .menu-iconic-left {
4864 -moz-image-region: rect(36px, 54px, 54px, 36px);
4867 #context-navigation > #context-forward > .menu-iconic-left {
4868 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4869 -moz-image-region: rect(0, 72px, 18px, 54px);
4872 #context-navigation > #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
4873 -moz-image-region: rect(18px, 72px, 36px, 54px);
4876 #context-navigation > #context-forward[disabled="true"] > .menu-iconic-left {
4877 -moz-image-region: rect(36px, 72px, 54px, 54px);
4880 #context-navigation > #context-reload > .menu-iconic-left {
4881 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4882 -moz-image-region: rect(0, 14px, 14px, 0);
4885 #context-navigation > #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
4886 -moz-image-region: rect(14px, 14px, 28px, 0);
4889 #context-navigation > #context-reload[disabled="true"] > .menu-iconic-left {
4890 -moz-image-region: rect(28px, 14px, 42px, 0);
4893 #context-navigation > #context-stop > .menu-iconic-left {
4894 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4895 -moz-image-region: rect(0, 28px, 14px, 14px);
4898 #context-navigation > #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
4899 -moz-image-region: rect(14px, 28px, 28px, 14px);
4902 #context-navigation > #context-stop[disabled="true"] > .menu-iconic-left {
4903 -moz-image-region: rect(28px, 28px, 42px, 14px);
4906 #context-navigation > #context-bookmarkpage > .menu-iconic-left {
4907 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4908 -moz-image-region: rect(0, 144px, 18px, 126px);
4911 #context-navigation > #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
4912 -moz-image-region: rect(18px, 144px, 36px, 126px);
4915 #context-navigation > #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
4916 -moz-image-region: rect(36px, 144px, 54px, 126px);
4919 #context-back:-moz-locale-dir(rtl),
4920 #context-forward:-moz-locale-dir(rtl),
4921 #context-reload:-moz-locale-dir(rtl) {
4922 transform: scaleX(-1);
4925 #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4931 #context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
4932 #context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
4938 /* === END contextmenu.inc.css === */