1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is mozilla.org code.
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998-1999
19 * the Initial Developer. All Rights Reserved.
22 * Joe Hewitt (hewitt@netscape.com)
23 * Jason Kersey (kerz@netscape.com)
24 * Pierre Chanial (chanial@noos.fr)
25 * Dean Tessman (dean_tessman@hotmail.com)
26 * Blake Ross (blake@cs.stanford.edu)
27 * Pamela Greene (pamg.bugs@gmail.com)
28 * Dão Gottwald (dao@mozilla.com)
29 * Jim Mathies (jmathies@mozilla.com)
30 * Drew Willcoxon (adw@mozilla.com)
32 * Alternatively, the contents of this file may be used under the terms of
33 * either the GNU General Public License Version 2 or later (the "GPL"), or
34 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
35 * in which case the provisions of the GPL or the LGPL are applicable instead
36 * of those above. If you wish to allow use of your version of this file only
37 * under the terms of either the GPL or the LGPL, and not to allow others to
38 * use your version of this file under the terms of the MPL, indicate your
39 * decision by deleting the provisions above and replace them with the notice
40 * and other provisions required by the GPL or the LGPL. If you do not delete
41 * the provisions above, a recipient may use your version of this file under
42 * the terms of any one of the MPL, the GPL or the LGPL.
44 * ***** END LICENSE BLOCK ***** */
46 @import url("chrome://global/skin/");
48 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
49 @namespace html url("http://www.w3.org/1999/xhtml");
52 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
55 toolbar[type="menubar"][autohide="true"] {
56 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
60 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
64 -moz-box-orient: vertical; /* for flex hack */
68 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
71 /* ::::: primary toolbar ::::: */
73 .toolbar-primary > .toolbar-box > .toolbar-holder {
74 background-color: #FF9F00;
77 .toolbar-primary > .toolbar-box > .toolbar-startcap,
78 .toolbar-primary > .toolbar-box > .toolbar-endcap {
79 background-color: #9C9CFF;
86 #navigator-toolbox::after {
89 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
92 #navigator-toolbox[tabsontop=false]::after,
93 #main-window[disablechrome] #navigator-toolbox::after {
97 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
100 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
102 background-color: #6000CF;
105 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
106 background-color: #8050B0;
110 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
113 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
114 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
118 #navigator-toolbox[tabsontop="true"] > #nav-bar,
119 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar,
120 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar {
121 /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
124 #personal-bookmarks {
125 /* min-height: 24px; */
128 #print-preview-toolbar:not(:-moz-lwtheme) {
129 /* -moz-appearance: toolbox; */
132 /* ::::: app menu button ::::: */
135 background-color: #FF9F00;
136 background-clip: padding-box;
139 border-right: 3px solid #000000;
146 #appmenu-button:-moz-locale-dir(rtl) {
147 border-left: 3px solid #000000;
151 #main-window[privatebrowsingmode=temporary] #appmenu-button {
152 background-color: #6000CF;
156 #appmenu-button:hover:not(:active):not([open]) {
159 #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
162 #appmenu-button:hover,
163 #appmenu-button:hover:active,
164 #appmenu-button[open] {
165 background-color: #FFCF00;
169 #appmenu-button > .button-box > .button-menu-dropmarker {
170 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
176 background-color: transparent;
177 -moz-margin-start: .5em;
180 #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
181 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
184 #appmenuPrimaryPane > menuitem,
185 #appmenuSecondaryPane > menuitem,
186 #appmenuPrimaryPane > menu {
190 .splitmenu-menuitem {
191 -moz-padding-start: 2px;
194 -moz-margin-end: 1px;
203 .appmenu-edit-button {
206 .appmenu-edit-button[disabled="true"] {
209 #appmenuPrimaryPane {
210 -moz-border-end: 1px solid #9C9CFF;
215 #appmenuPrimaryPane {
217 #appmenuSecondaryPane {
219 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
222 #appmenuSecondaryPane menupopup {
225 .appmenu-menuseparator {
228 .appmenu-edit-button:not([disabled]):hover {
231 #appmenuSecondaryPane-spacer {
240 #appmenu_print_popup,
241 .appmenu-edit-button,
242 #appmenu-editmenu-cut,
243 #appmenu-editmenu-copy,
244 #appmenu-editmenu-paste,
246 list-style-image: url("appmenu-icons.png");
250 #appmenu-editmenu-cut {
251 -moz-image-region: rect(0 16px 16px 0);
254 #appmenu-cut:hover:not([disabled="true"]),
255 #appmenu-editmenu-cut:hover:not([disabled="true"]) {
256 -moz-image-region: rect(16px 16px 32px 0);
259 #appmenu-cut[disabled="true"],
260 #appmenu-editmenu-cut[disabled="true"] {
261 -moz-image-region: rect(32px 16px 48px 0);
265 #appmenu-editmenu-copy {
266 -moz-image-region: rect(0 32px 16px 16px);
269 #appmenu-copy:hover:not([disabled="true"]),
270 #appmenu-editmenu-copy:hover:not([disabled="true"]) {
271 -moz-image-region: rect(16px 32px 32px 16px);
274 #appmenu-copy[disabled="true"],
275 #appmenu-editmenu-copy[disabled="true"] {
276 -moz-image-region: rect(32px 32px 48px 16px);
280 #appmenu-editmenu-paste {
281 -moz-image-region: rect(0 48px 16px 32px);
284 #appmenu-paste:hover:not([disabled="true"]),
285 #appmenu-editmenu-paste:hover:not([disabled="true"]) {
286 -moz-image-region: rect(16px 48px 32px 32px);
289 #appmenu-paste[disabled="true"],
290 #appmenu-editmenu-paste[disabled="true"] {
291 -moz-image-region: rect(32px 48px 48px 32px);
295 #appmenu_print_popup {
296 -moz-image-region: rect(0 64px 16px 48px);
299 #appmenu_print:hover:not([disabled="true"]),
300 #appmenu_print[open="true"],
301 #appmenu_print_popup:hover:not([disabled="true"]) {
302 -moz-image-region: rect(16px 64px 32px 48px);
305 #appmenu-print[disabled="true"],
306 #appmenu_print_popup[disabled="true"] {
307 -moz-image-region: rect(32px 64px 48px 48px);
311 -moz-image-region: rect(0 80px 16px 64px);
314 #appmenu-quit:hover {
315 -moz-image-region: rect(16px 80px 32px 64px);
318 #appmenu-edit-label {
319 -moz-appearance: none;
320 background: transparent;
325 list-style-image: url("chrome://browser/skin/places/bookmark.png");
326 -moz-image-region: rect(0px 48px 16px 32px);
329 #appmenu_privateBrowsing {
330 list-style-image: url("chrome://browser/skin/Privacy-16.png");
334 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
337 #BMB_bookmarkThisPage,
338 #appmenu_bookmarkThisPage {
339 list-style-image: url("chrome://browser/skin/places/bookmark.png");
340 -moz-image-region: rect(0 16px 16px 0);
343 /* ::::: titlebar ::::: */
347 background-color: #6000CF;
350 #titlebar:-moz-window-inactive {
351 background-color: #8050B0;
355 #main-window[sizemode="normal"] > #titlebar {
360 #main-window[sizemode="maximized"] > #titlebar {
364 #titlebar-buttonbox {
366 -moz-margin-end: 3px;
369 #main-window[sizemode="maximized"] #titlebar-buttonbox {
372 .titlebar-placeholder[type="appmenu-button"] {
376 .titlebar-placeholder[type="caption-buttons"] {
380 /* titlebar command buttons */
383 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
386 #titlebar-min:hover {
387 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
391 list-style-image: url("chrome://browser/skin/win-maximize.gif");
394 #titlebar-max:hover {
395 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
398 #main-window[sizemode="maximized"] #titlebar-max {
399 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
402 #main-window[sizemode="maximized"] #titlebar-max:hover {
403 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
407 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
410 #titlebar-close:hover {
411 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
414 /* ::::: bookmark buttons ::::: */
416 .bookmark-item > .toolbarbutton-icon {
421 /* Prevent [mode="icons"] from hiding the label */
422 .bookmark-item > .toolbarbutton-text {
423 display: -moz-box !important;
426 .bookmark-item > .toolbarbutton-menu-dropmarker {
430 #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
433 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
436 .bookmarks-toolbar-customize {
437 max-width: 15em !important;
438 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
441 /* ::::: bookmark menus ::::: */
444 menuitem.bookmark-item {
449 .bookmark-item > .menu-iconic-left {
454 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
455 -moz-padding-start: 0px;
458 /* ::::: bookmark items ::::: */
461 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
462 -moz-image-region: auto;
465 .bookmark-item[container] {
466 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
467 -moz-image-region: auto;
470 .bookmark-item[container][open] {
471 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
472 -moz-image-region: auto;
475 .bookmark-item[container][livemark] {
476 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
477 -moz-image-region: auto;
480 .bookmark-item[container][livemark] .bookmark-item {
481 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
482 -moz-image-region: auto;
485 .bookmark-item[container][query] {
486 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
487 -moz-image-region: auto;
490 .bookmark-item[query][tagContainer] {
491 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
492 -moz-image-region: auto;
495 .bookmark-item[query][dayContainer] {
496 list-style-image: url("chrome://communicator/skin/history/calendar.png");
497 -moz-image-region: auto;
500 .bookmark-item[query][hostContainer] {
501 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
502 -moz-image-region: auto;
505 .bookmark-item[query][hostContainer][open] {
506 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
507 -moz-image-region: auto;
510 .bookmark-item[cutting] > .toolbarbutton-icon,
511 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
515 .bookmark-item[cutting] > .toolbarbutton-text,
516 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
520 /* ::::: primary toolbar buttons ::::: */
523 list-style-image: url("chrome://browser/skin/Toolbar.png");
526 .toolbarbutton-1:not([type="menu-button"]) {
527 -moz-box-orient: vertical;
531 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
536 .toolbarbutton-1:not([type="menu-button"]) {
537 -moz-box-orient: vertical;
541 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
542 .toolbarbutton-1[disabled="true"]:hover:active,
543 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
547 .toolbarbutton-1:hover:active,
548 .toolbarbutton-1[open="true"],
549 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
552 -moz-padding-start: 3px;
553 -moz-padding-end: 1px;
556 /* ::::: small primary toolbar buttons ::::: */
559 /* force iconsize="small" on this toolbar */
560 counter-reset: smallicons;
563 toolbar[mode="text"] .toolbarbutton-1,
564 toolbar[mode="icons"] .toolbarbutton-1,
565 toolbar[iconsize="small"] .toolbarbutton-1,
566 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
567 toolbar[mode="text"] .toolbarbutton-menubutton-button,
568 toolbar[mode="icons"] .toolbarbutton-menubutton-button,
569 toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
570 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
575 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
578 -moz-padding-start: 1px;
579 -moz-padding-end: 1px;
582 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
583 toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
584 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
586 padding-bottom: 13px;
587 -moz-padding-start: 1px;
588 -moz-padding-end: 1px;
591 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
592 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
595 -moz-padding-start: 0px;
596 -moz-padding-end: 2px;
599 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
600 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
601 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
602 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
603 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
604 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
606 padding-bottom: 12px;
607 -moz-padding-start: 0px;
608 -moz-padding-end: 2px;
611 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
612 padding-top: 4px !important;
613 padding-bottom: 8px !important;
614 -moz-padding-start: 1px !important;
615 -moz-padding-end: 1px !important;
618 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
619 toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
620 padding-top: 0px !important;
621 padding-bottom: 13px !important;
622 -moz-padding-start: 1px !important;
623 -moz-padding-end: 1px !important;
626 toolbar[mode="icons"] .toolbarbutton-text,
627 toolbar[mode="text"] .toolbarbutton-icon {
631 toolbar[mode="text"] .toolbarbutton-text {
635 toolbar[mode="text"] .toolbarbutton-1,
636 toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
637 -moz-box-orient: horizontal;
640 toolbar[mode="full"] .toolbarbutton-1,
641 toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
645 #navigator-toolbox[iconsize=small] > #nav-bar {
648 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
652 /* unified back/forward button */
655 -moz-image-region: rect(0, 18px, 18px, 0);
659 #back-button:not([disabled="true"]):hover {
660 -moz-image-region: rect(18px, 18px, 36px, 0);
663 #back-button[disabled="true"] {
664 -moz-image-region: rect(36px, 18px, 54px, 0);
668 -moz-image-region: rect(0, 36px, 18px, 18px);
670 -moz-margin-start: 0;
673 #forward-button:not([disabled="true"]):hover {
674 -moz-image-region: rect(18px, 36px, 36px, 18px);
677 #forward-button[disabled="true"] {
678 -moz-image-region: rect(36px, 36px, 54px, 18px);
681 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
682 #forward-button:-moz-locale-dir(rtl),
683 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
684 -moz-transform: scaleX(-1);
687 #nav-bar #back-button {
688 -moz-margin-end: 0 !important;
691 #nav-bar #forward-button {
692 border-left-style: none;
693 -moz-margin-start: 0 !important;
696 #nav-bar #back-button:-moz-locale-dir(ltr) {
697 border-top-right-radius: 0;
698 border-bottom-right-radius: 0;
701 #nav-bar #back-button:-moz-locale-dir(rtl),
702 #nav-bar #forward-button {
703 border-top-left-radius: 0;
704 border-bottom-left-radius: 0;
707 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
708 border-radius: 10000px;
716 -moz-image-region: rect(54px, 20px, 74px, 0);
719 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover,
720 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
721 -moz-image-region: rect(54px, 40px, 74px, 20px);
724 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] {
725 -moz-image-region: rect(54px, 60px, 74px, 40px);
728 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
731 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active,
732 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
735 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
736 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
738 padding-bottom: 5px; */
741 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
742 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
743 /* padding-top: 5px; */
746 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button {
747 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
748 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
749 -moz-margin-start: -6px !important;
754 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover {
755 /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
756 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
759 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
760 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
761 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
764 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
765 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
766 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
769 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
770 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
771 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
774 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
775 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
776 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
782 -moz-image-region: rect(0, 54px, 18px, 36px);
785 #stop-button:not([disabled="true"]):hover {
786 -moz-image-region: rect(18px, 54px, 36px, 36px);
789 #stop-button[disabled="true"] {
790 -moz-image-region: rect(36px, 54px, 54px, 36px);
796 -moz-image-region: rect(0, 72px, 18px, 54px);
799 #reload-button:not([disabled="true"]):hover {
800 -moz-image-region: rect(18px, 72px, 36px, 54px);
803 #reload-button[disabled="true"] {
804 -moz-image-region: rect(36px, 72px, 54px, 54px);
809 #home-button.bookmark-item {
810 list-style-image: url("chrome://browser/skin/Toolbar.png");
813 -moz-image-region: rect(0, 90px, 18px, 72px);
816 #home-button:not([disabled="true"]):hover {
817 -moz-image-region: rect(18px, 90px, 36px, 72px);
820 #home-button[disabled="true"] {
821 -moz-image-region: rect(36px, 90px, 54px, 72px);
828 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
832 -moz-image-region: rect(0, 90px, 18px, 72px);
835 #tabview-button[groups="0"] {
836 -moz-image-region: rect(0, 18px, 18px, 0);
839 #tabview-button[groups="1"] {
840 -moz-image-region: rect(0, 36px, 18px, 18px);
843 #tabview-button[groups="2"] {
844 -moz-image-region: rect(0, 54px, 18px, 36px);
847 #tabview-button[groups="3"] {
848 -moz-image-region: rect(0, 72px, 18px, 54px);
852 -moz-image-region: rect(1px, 89px, 17px, 73px);
855 #menu_tabview[groups="0"] {
856 -moz-image-region: rect(1px, 17px, 17px, 1px);
859 #menu_tabview[groups="1"] {
860 -moz-image-region: rect(1px, 35px, 17px, 19px);
863 #menu_tabview[groups="2"] {
864 -moz-image-region: rect(1px, 53px, 17px, 37px);
867 #menu_tabview[groups="3"] {
868 -moz-image-region: rect(1px, 71px, 17px, 55px);
871 /* download manager button */
874 -moz-image-region: rect(0, 108px, 18px, 90px);
877 #downloads-button:not([disabled="true"]):hover {
878 -moz-image-region: rect(18px, 108px, 36px, 90px);
881 #downloads-button[disabled="true"] {
882 -moz-image-region: rect(36px, 108px, 54px, 90px);
885 /* history sidebar button */
888 -moz-image-region: rect(0, 126px, 18px, 108px);
891 #history-button:not([disabled="true"]):hover {
892 -moz-image-region: rect(18px, 126px, 36px, 108px);
895 #history-button[disabled="true"] {
896 -moz-image-region: rect(36px, 126px, 54px, 108px);
899 /* bookmark sidebar & menu buttons */
902 #bookmarks-menu-button {
903 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
904 -moz-image-region: rect(0, 144px, 18px, 126px);
907 #bookmarks-menu-button.bookmark-item {
908 /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */
911 #bookmarks-menu-button.toolbarbutton-1 {
912 -moz-box-orient: horizontal;
915 #bookmarks-button:not([disabled="true"]):hover,
916 #bookmarks-menu-button[open="true"],
917 #bookmarks-menu-button:not([disabled="true"]):hover {
918 -moz-image-region: rect(18px, 144px, 36px, 126px);
921 #bookmarks-button[disabled="true"],
922 #bookmarks-menu-button[disabled="true"] {
923 -moz-image-region: rect(36px, 144px, 54px, 126px);
929 -moz-image-region: rect(0, 162px, 18px, 144px);
932 #print-button:not([disabled="true"]):hover {
933 -moz-image-region: rect(18px, 162px, 36px, 144px);
936 #print-button[disabled="true"] {
937 -moz-image-region: rect(36px, 162px, 54px, 144px);
940 /* toolbar new tab button */
943 -moz-image-region: rect(0, 180px, 18px, 162px);
946 #print-button:not([disabled="true"]):hover {
947 -moz-image-region: rect(18px, 162px, 36px, 144px);
950 #print-button[disabled="true"] {
951 -moz-image-region: rect(36px, 162px, 54px, 144px);
954 /* new window button */
957 -moz-image-region: rect(0, 198px, 18px, 180px);
960 #new-window-button:not([disabled="true"]):hover {
961 -moz-image-region: rect(18px, 198px, 36px, 180px);
964 #new-window-button[disabled="true"] {
965 -moz-image-region: rect(36px, 198px, 54px, 180px);
971 -moz-image-region: rect(0, 216px, 18px, 198px);
974 #cut-button:not([disabled="true"]):hover {
975 -moz-image-region: rect(18px, 216px, 36px, 198px);
978 #cut-button[disabled="true"] {
979 -moz-image-region: rect(36px, 216px, 54px, 198px);
985 -moz-image-region: rect(0, 234px, 18px, 216px);
988 #copy-button:not([disabled="true"]):hover {
989 -moz-image-region: rect(18px, 234px, 36px, 216px);
992 #copy-button[disabled="true"] {
993 -moz-image-region: rect(36px, 234px, 54px, 216px);
999 -moz-image-region: rect(0, 252px, 18px, 234px);
1002 #paste-button:not([disabled="true"]):hover {
1003 -moz-image-region: rect(18px, 252px, 36px, 234px);
1006 #paste-button[disabled="true"] {
1007 -moz-image-region: rect(36px, 252px, 54px, 234px);
1010 /* fullscreen button */
1012 #fullscreen-button {
1013 -moz-image-region: rect(0, 270px, 18px, 252px);
1016 #fullscreen-button:not([disabled="true"]):hover {
1017 -moz-image-region: rect(18px, 270px, 36px, 252px);
1020 #fullscreen-button[disabled="true"] {
1021 -moz-image-region: rect(36px, 270px, 54px, 252px);
1027 -moz-image-region: rect(0, 288px, 18px, 270px);
1032 -moz-image-region: rect(0, 306px, 18px, 288px);
1035 #nav-bar #zoom-out-button {
1039 #nav-bar #zoom-in-button {
1040 -moz-border-start: none;
1041 -moz-margin-start: 0;
1044 #nav-bar #zoom-out-button:-moz-locale-dir(ltr),
1045 #nav-bar #zoom-in-button:-moz-locale-dir(rtl) {
1046 border-top-right-radius: 0;
1047 border-bottom-right-radius: 0;
1050 #nav-bar #zoom-out-button:-moz-locale-dir(rtl),
1051 #nav-bar #zoom-in-button:-moz-locale-dir(ltr) {
1052 border-top-left-radius: 0;
1053 border-bottom-left-radius: 0;
1056 #zoom-out-button:not([disabled="true"]):hover {
1057 -moz-image-region: rect(18px, 288px, 36px, 270px);
1060 #zoom-out-button[disabled="true"] {
1061 -moz-image-region: rect(36px, 288px, 54px, 270px);
1064 #zoom-in-button:not([disabled="true"]):hover {
1065 -moz-image-region: rect(18px, 306px, 36px, 288px);
1068 #zoom-in-button[disabled="true"] {
1069 -moz-image-region: rect(36px, 306px, 54px, 288px);
1075 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
1076 -moz-image-region: rect(0, 324px, 18px, 306px);
1079 #sync-button[status="active"] {
1080 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1081 -moz-image-region: rect(0, 18px, 18px, 0);
1084 #sync-button[disabled="true"] {
1085 -moz-image-region: rect(36px, 324px, 54px, 306px);
1091 -moz-image-region: rect(0, 342px, 18px, 324px);
1094 #feed-button[disabled="true"] {
1095 -moz-image-region: rect(36px, 342px, 54px, 324px);
1098 /* ::::: fullscreen window controls ::::: */
1100 #TabsToolbar > #window-controls {
1101 -moz-margin-start: 4px;
1111 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1114 #minimize-button:hover {
1115 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1119 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1122 #restore-button:hover {
1123 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1127 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1130 #close-button:hover {
1131 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1134 /* ::::: Location Bar ::::: */
1143 .searchbar-textbox {
1146 -moz-margin-start: 3px;
1149 #urlbar:-moz-lwtheme,
1150 .searchbar-textbox:-moz-lwtheme {
1151 /* background-color: rgba(255,255,255,.8);
1152 @navbarTextboxCustomBorder@
1156 html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1157 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
1161 #urlbar:-moz-lwtheme[focused="true"],
1162 .searchbar-textbox:-moz-lwtheme[focused="true"] {
1163 /* background-color: white; */
1167 -moz-box-orient: horizontal;
1168 -moz-box-align: stretch;
1171 .urlbar-textbox-container {
1172 -moz-box-align: stretch;
1177 -moz-box-align: center;
1181 padding: 0 2px !important;
1184 .urlbar-icon:-moz-system-metric(touch-enabled) {
1185 -moz-margin-end: 1px !important;
1186 padding: 0 3px !important;
1189 #urlbar-search-splitter {
1191 -moz-margin-start: -3px;
1193 background: transparent;
1196 #urlbar-search-splitter + #urlbar-container > #urlbar ,
1197 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1198 -moz-margin-start: 0;
1202 -moz-border-end: 1px solid #9C9CFF;
1203 -moz-margin-end: 3px;
1212 background-color: #000000;
1217 #identity-box:hover {
1218 background-color: #9C9CFF;
1222 #identity-box[open="true"],
1223 #identity-box:hover:active {
1224 background-color: #FF9F00;
1228 #identity-box.verifiedDomain {
1229 background-color: #FFCF00;
1233 #identity-box.verifiedIdentity {
1234 background-color: #008484;
1238 #identity-box:-moz-focusring {
1239 outline: 1px dotted #008484;
1240 outline-offset: -1px;
1243 #identity-box.verifiedDomain:-moz-focusring,
1244 #identity-box.verifiedIdentity:-moz-focusring {
1245 outline-color: #000000;
1248 #identity-icon-labels {
1249 -moz-margin-start: 1px;
1250 -moz-margin-end: 3px;
1253 /* Location bar dropmarker */
1255 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1256 background-color: transparent;
1259 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1264 /* page proxy icon */
1266 #page-proxy-favicon,
1278 #page-proxy-favicon:not([src]) {
1279 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1282 #page-proxy-favicon[pageproxystate="invalid"] {
1283 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1287 list-style-image: url("chrome://global/skin/icons/loading.gif");
1292 #treecolAutoCompleteImage {
1296 .ac-result-type-bookmark,
1297 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1298 list-style-image: url("chrome://browser/skin/places/bookmark.png");
1299 -moz-image-region: rect(0px 16px 16px 0px);
1304 .ac-result-type-keyword,
1305 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1306 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1307 -moz-image-region: rect(0px 32px 16px 16px);
1312 .ac-result-type-tag,
1313 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1314 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
1323 .ac-extra > .ac-comment {
1332 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1333 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1336 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1340 .ac-comment[selected="true"],
1341 .ac-url-text[selected="true"],
1342 .ac-action-text[selected="true"] {
1343 color: inherit !important;
1346 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1347 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1353 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1354 border-top: 1px solid #9C9CFF;
1360 list-style-image: url("chrome://browser/skin/Go-arrow.png");
1361 -moz-image-region: rect(0px, 16px, 16px, 0px);
1364 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1365 -moz-transform: scaleX(-1);
1369 -moz-image-region: rect(16px, 16px, 32px, 0px);
1372 /* combined go/reload/stop button in location bar */
1374 #urlbar > toolbarbutton {
1375 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1377 -moz-margin-start: 0;
1379 background-origin: border-box;
1381 -moz-border-start: 1px solid #9C9CFF;
1384 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1385 border-top-left-radius: 0px;
1386 border-bottom-left-radius: 0px;
1389 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1390 border-top-right-radius: 0px;
1391 border-bottom-right-radius: 0px;
1394 #urlbar > toolbarbutton:not([disabled]):active:hover {
1395 -moz-padding-start: 4px;
1396 -moz-border-start: none;
1400 -moz-image-region: rect(0px, 56px, 14px, 42px);
1403 #urlbar-go-button:hover {
1404 -moz-image-region: rect(14px, 56px, 28px, 42px);
1407 #urlbar-reload-button {
1408 -moz-image-region: rect(0px, 28px, 14px, 14px);
1411 #urlbar-reload-button[disabled] {
1412 -moz-image-region: rect(0px, 14px, 14px, 0px);
1415 #urlbar-reload-button:not([disabled]):hover {
1416 -moz-image-region: rect(14px, 28px, 28px, 14px);
1419 #urlbar-stop-button {
1420 -moz-image-region: rect(0px, 42px, 14px, 28px);
1423 #urlbar-stop-button:hover {
1424 -moz-image-region: rect(14px, 42px, 28px, 28px);
1427 /* popup blocker button */
1429 #page-report-button {
1430 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1431 -moz-image-region: rect(0, 16px, 16px, 0);
1434 #page-report-button:hover ,
1435 #page-report-button:hover:active,
1436 #page-report-button[open="true"] {
1437 -moz-image-region: rect(0, 32px, 16px, 16px);
1443 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1444 -moz-image-region: rect(16px 16px 32px 0px);
1447 #star-button:hover {
1448 -moz-image-region: rect(16px 32px 32px 16px);
1451 #star-button:hover:active {
1452 -moz-image-region: rect(16px 48px 32px 32px);
1455 #star-button[starred="true"] {
1456 -moz-image-region: rect(0px 16px 16px 0px);
1459 #star-button[starred="true"]:hover {
1460 -moz-image-region: rect(0px 32px 16px 16px);
1463 #star-button[starred="true"]:hover:active {
1464 -moz-image-region: rect(0px 48px 16px 32px);
1467 /* bookmarking panel */
1468 #editBookmarkPanelStarIcon {
1469 list-style-image: url("chrome://browser/skin/places/starred48.png");
1474 #editBookmarkPanelStarIcon[unstarred] {
1475 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1478 #editBookmarkPanelTitle {
1482 #editBookmarkPanelHeader,
1483 #editBookmarkPanelContent {
1484 margin-bottom: .5em;
1487 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1488 #editBMPanel_folderTree {
1493 margin: 5px -6px -6px -6px;
1495 background-color: #000000;
1497 border-bottom-left-radius: 5px;
1498 border-bottom-right-radius: 5px;
1499 border-top: 1px solid #9C9CFF;
1503 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1504 -moz-margin-end: 10px;
1505 vertical-align: middle;
1508 .panel-promo-closebutton {
1509 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1510 -moz-margin-end: -3px;
1514 .panel-promo-closebutton:hover {
1515 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1518 .panel-promo-closebutton:hover:active {
1519 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1522 .panel-promo-closebutton > .toolbarbutton-text {
1527 /* ::::: content area ::::: */
1530 background-color: Window;
1534 -moz-padding-start: 0px;
1537 /* ::::: throbber ::::: */
1539 #navigator-throbber {
1545 #navigator-throbber[busy="true"] {
1546 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
1549 #navigator-throbber,
1550 #wrapper-navigator-throbber > #navigator-throbber {
1551 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
1559 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1562 #TabsToolbar .toolbar-holder {
1563 background-color: #000000; /* correct effect of being an actual toolbar */
1566 #main-window[disablechrome] #TabsToolbar,
1567 #TabsToolbar[tabsontop="false"] {
1568 border-bottom: 1px solid #FF9F00;
1572 .tabs-newtab-button {
1576 .tabbrowser-tab:hover,
1577 .tabs-newtab-button:hover {
1580 .tabbrowser-tab[selected="true"] {
1583 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1586 .tabbrowser-tab:-moz-lwtheme {
1589 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1592 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1593 .tabs-newtab-button:-moz-lwtheme-brighttext {
1596 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1597 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1600 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1601 .tabs-newtab-button:-moz-lwtheme-darktext {
1604 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1605 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1608 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1609 background-color: #E7ADE7;
1611 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1612 background-color: #0000FF;
1620 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1621 -moz-image-region: auto;
1622 -moz-margin-end: 3px;
1626 list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
1629 .tab-throbber[progress] {
1630 list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
1633 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
1634 min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
1637 .tab-throbber[pinned],
1638 .tab-icon-image[pinned] {
1639 -moz-margin-start: 2px;
1640 -moz-margin-end: 2px;
1643 /* tabbrowser-tab focus ring */
1644 .tabbrowser-tab:focus > .tab-stack {
1645 outline: 1px dotted;
1648 /* Tab DnD indicator */
1649 .tab-drop-indicator {
1650 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1651 margin-bottom: -11px;
1654 /* Tab close button */
1658 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1661 .tab-close-button:-moz-system-metric(touch-enabled) {
1662 -moz-transform: scale(1.2);
1665 .tab-close-button:hover,
1666 .tab-close-button:hover[selected="true"] {
1667 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1670 .tab-close-button:hover:active,
1671 .tab-close-button:hover:active[selected="true"] {
1672 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1675 .tab-close-button:focus {
1676 outline: none !important;
1679 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1681 @media all and (-moz-touch-enabled) {
1682 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1683 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1684 #TabsToolbar .toolbarbutton-1 {
1685 min-width: 8.1mozmm;
1688 .tabs-newtab-button {
1693 min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1697 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1698 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1704 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1705 background-color: #008484;
1708 .tabs-newtab-button > .toolbarbutton-icon {
1710 margin-bottom: -1px;
1713 .tabs-newtab-button,
1714 #TabsToolbar > #new-tab-button,
1715 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1716 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
1717 -moz-image-region: rect(0, 16px, 18px, 0);
1720 .tabs-newtab-button {
1724 #TabsToolbar > #new-tab-button {
1728 .tabs-newtab-button:hover,
1729 #TabsToolbar > #new-tab-button:hover {
1730 -moz-image-region: rect(0, 32px, 18px, 16px);
1734 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1735 -moz-image-region: rect(0, 14px, 16px, 0);
1738 #alltabs-button:hover,
1739 #alltabs-button:hover:active {
1740 -moz-image-region: rect(0, 28px, 16px, 14px);
1743 #alltabs-button[type="menu"] {
1744 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1745 -moz-image-region: auto;
1748 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1752 #alltabs-button[type="menu"]:hover,
1753 #alltabs-button[type="menu"]:hover:active,
1754 #alltabs-button[type="menu"][open="true"] {
1755 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1756 -moz-image-region: auto;
1759 /* All tabs menupopup */
1760 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1761 list-style-image: url("chrome://global/skin/icons/folder-item.png");
1762 -moz-image-region: rect(0px, 16px, 16px, 0px);
1763 -moz-image-region: auto;
1766 .alltabs-item[selected="true"] {
1770 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1771 list-style-image: url("chrome://global/skin/icons/loading.gif");
1774 .alltabs-item[tabIsVisible] {
1775 background-color: #402800;
1778 /* Tabstrip close button */
1783 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1786 .tabs-closebutton > .toolbarbutton-icon {
1789 .tabs-closebutton > .toolbarbutton-text {
1793 .tabs-closebutton:hover,
1794 .tabs-closebutton:hover:active {
1795 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1798 toolbarbutton.chevron {
1799 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1802 toolbarbutton.chevron:hover {
1803 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1806 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1807 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1808 -moz-transform: scaleX(-1);
1811 toolbarbutton.chevron > .toolbarbutton-text,
1812 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1816 toolbarbutton.chevron > .toolbarbutton-icon {
1820 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1821 display: -moz-box; /* display chevron icon in text mode */
1824 #sidebar-throbber[loading="true"] {
1825 list-style-image: url("chrome://global/skin/icons/loading.gif");
1826 -moz-margin-end: 4px;
1829 /* Bookmarks toolbar */
1830 #PlacesToolbarDropIndicator {
1831 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
1834 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1835 background-color: #008484 !important;
1836 color: #FFCF00 !important;
1839 /* rules for menupopup drop indicators */
1840 .menupopup-drop-indicator-bar {
1842 /* these two margins must together compensate the indicator's height */
1844 margin-bottom: -1px;
1847 .menupopup-drop-indicator {
1848 list-style-image: none;
1850 -moz-margin-end: -4em;
1851 background-color: #008484;
1854 /* ::::: Identity Indicator Styling ::::: */
1857 #identity-popup-icon {
1861 list-style-image: url("chrome://browser/skin/identity.png");
1862 -moz-image-region: rect(0px, 64px, 64px, 0px);
1865 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1866 -moz-image-region: rect(64px, 64px, 128px, 0px);
1869 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1870 -moz-image-region: rect(128px, 64px, 192px, 0px);
1873 /* Popup Body Text */
1874 .identity-popup-description {
1875 white-space: pre-wrap;
1876 -moz-padding-start: 15px;
1880 .identity-popup-label {
1881 white-space: pre-wrap;
1882 -moz-padding-start: 15px;
1886 #identity-popup-content-host ,
1887 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1891 #identity-popup-content-host {
1898 #identity-popup-content-owner {
1900 margin-bottom: 0 !important;
1905 .verifiedDomain > #identity-popup-content-owner {
1906 font-weight: normal;
1909 #identity-popup-content-verifier {
1913 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1914 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1916 -moz-margin-start: -24px;
1919 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1920 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1921 list-style-image: url("chrome://browser/skin/Secure24.png");
1924 #identity-popup-more-info-button {
1930 .popup-notification-icon {
1933 -moz-margin-end: 10px;
1936 .popup-notification-icon[popupid="geolocation"] {
1937 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
1940 .popup-notification-icon[popupid="xpinstall-disabled"],
1941 .popup-notification-icon[popupid="addon-progress"],
1942 .popup-notification-icon[popupid="addon-install-cancelled"],
1943 .popup-notification-icon[popupid="addon-install-blocked"],
1944 .popup-notification-icon[popupid="addon-install-failed"],
1945 .popup-notification-icon[popupid="addon-install-complete"] {
1946 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1951 .addon-progress-description {
1956 .popup-progress-label,
1957 .popup-progress-meter {
1958 -moz-margin-start: 0;
1962 .popup-progress-cancel {
1963 -moz-appearance: none;
1964 background: transparent;
1970 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
1971 -moz-image-region: rect(0px, 32px, 16px, 16px);
1974 .popup-progress-cancel:hover {
1975 -moz-image-region: rect(16px, 32px, 32px, 16px);
1978 .popup-progress-cancel:active {
1979 -moz-image-region: rect(32px, 32px, 48px, 16px);
1982 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
1983 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
1984 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
1987 .popup-notification-icon[popupid="password-save"],
1988 .popup-notification-icon[popupid="password-change"] {
1989 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
1992 /* Notification icon box */
1993 #notification-popup-box {
1995 background-color: #000000;
1996 background-clip: padding-box;
1998 border-radius: 3px 0 0 3px;
1999 -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2000 -moz-margin-end: -8px;
2003 #notification-popup-box:not([hidden]) + #identity-box {
2004 -moz-padding-start: 10px;
2007 #notification-popup-box:-moz-locale-dir(rtl),
2008 .notification-anchor-icon:-moz-locale-dir(rtl) {
2009 -moz-transform: scaleX(-1);
2012 .notification-anchor-icon {
2017 .notification-anchor-icon:-moz-focusring {
2018 outline: 1px dotted #008484;
2019 /* outline-offset: -3px; */
2022 #default-notification-icon {
2023 list-style-image: url("chrome://global/skin/icons/information-16.png");
2026 #geo-notification-icon {
2027 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
2030 #addons-notification-icon {
2031 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
2034 #indexedDB-notification-icon {
2035 list-style-image: url("chrome://global/skin/icons/question-16.png");
2038 #password-notification-icon {
2039 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
2042 #identity-popup-container {
2047 list-style-image: url("chrome://browser/skin/Toolbar.png");
2048 -moz-image-region: rect(0, 108px, 18px, 90px);
2051 /* Bookmarks roots menu-items */
2052 #appmenu_subscribeToPage:not([disabled]),
2053 #appmenu_subscribeToPageMenu,
2054 #subscribeToPageMenuitem:not([disabled]),
2055 #subscribeToPageMenupopup,
2056 #BMB_subscribeToPageMenuitem:not([disabled]),
2057 #BMB_subscribeToPageMenupopup {
2058 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
2061 #bookmarksToolbarFolderMenu,
2062 #appmenu_bookmarksToolbar,
2063 #BMB_bookmarksToolbar {
2064 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
2065 -moz-image-region: auto;
2068 #appmenu_unsortedBookmarks,
2069 #BMB_unsortedBookmarks {
2070 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
2071 -moz-image-region: auto;
2074 /* ::::: Keyboard UI Panel ::::: */
2079 border-radius: 20px;
2082 .KUI-panel[level="top"] {
2083 /*background-color: rgba(27%,27%,27%,.65);*/
2086 .KUI-panel-closebutton {
2087 list-style-image: url("KUI-close.png");
2092 .KUI-panel-closebutton:not(:hover) {
2095 .KUI-panel-closebutton > .toolbarbutton-icon {
2098 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
2103 padding: 20px 10px 10px;
2107 .ctrlTab-favicon[src] {
2108 background-color: #000000;
2114 .ctrlTab-preview-inner > .tabPreview-canvas {
2117 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2121 .ctrlTab-preview-inner {
2122 padding-bottom: 10px;
2125 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2127 background-color: #000000;
2128 border-radius: .5em;
2131 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2133 background-color: #000000;
2136 border: 2px solid #9C9CFF;
2137 border-radius: .5em;
2140 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2141 margin: -10px -10px 0;
2151 padding-bottom: 10px;
2159 -moz-margin-start: 24px;
2163 #allTabs-tab-close-button > .toolbarbutton-icon {
2167 .allTabs-favicon[src] {
2171 padding-bottom: 5px;
2172 -moz-padding-start: 1px;
2173 -moz-padding-end: 5px;
2175 -moz-margin-start: -2px;
2176 border-bottom-right-radius: 4px;
2179 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
2180 border-bottom-right-radius: 0;
2181 border-bottom-left-radius: 4px;
2184 .allTabs-preview-inner > .tabPreview-canvas {
2185 background-color: #E7ADE7;
2188 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
2191 .allTabs-preview:focus > * > .allTabs-preview-inner {
2192 outline: 1px dotted #008484;
2195 /* Inspector / Highlighter */
2197 #highlighter-panel {
2198 -moz-window-shadow: none;
2199 background: #000000;
2203 listitem.style-selector {
2204 background-color: #9C9CFF;
2208 listitem.style-section {
2209 background-color: #E7ADE7;
2214 panel[dimmed="true"] {
2222 border-top: 3px solid #000000;
2223 border-bottom-width: 0;
2226 #addon-bar .toolbar-holder {
2227 background-color: #8050B0;
2231 #addon-bar .toolbar-holder {
2232 background-color: #8050B0;
2236 #addon-bar .toolbar-startcap,
2237 #addon-bar .toolbar-endcap{
2238 background-color: #6000CF;
2242 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
2247 /* Remove all borders from statusbarpanel children of
2249 #status-bar > statusbarpanel {
2253 #addonbar-closebutton {
2256 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2259 #addonbar-closebutton:hover,
2260 #addonbar-closebutton:hover:active {
2261 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2266 .statuspanel-label {
2269 background: #404000;
2270 border: 1px none #9C9CFF;
2271 border-top-style: solid;
2276 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2277 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2278 border-right-style: solid;
2279 border-top-right-radius: .3em;
2283 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2284 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2285 border-left-style: solid;
2286 border-top-left-radius: .3em;
2290 /* HACK to abolish devily color on main content */
2293 background-color: transparent !important;