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 /* ::::: primary toolbar buttons ::::: */
513 list-style-image: url("chrome://browser/skin/Toolbar.png");
516 .toolbarbutton-1:not([type="menu-button"]) {
517 -moz-box-orient: vertical;
521 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
526 .toolbarbutton-1:not([type="menu-button"]) {
527 -moz-box-orient: vertical;
531 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
532 .toolbarbutton-1[disabled="true"]:hover:active,
533 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
537 .toolbarbutton-1:hover:active,
538 .toolbarbutton-1[open="true"],
539 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
542 -moz-padding-start: 3px;
543 -moz-padding-end: 1px;
546 /* ::::: small primary toolbar buttons ::::: */
549 /* force iconsize="small" on this toolbar */
550 counter-reset: smallicons;
553 toolbar[mode="text"] .toolbarbutton-1,
554 toolbar[mode="icons"] .toolbarbutton-1,
555 toolbar[iconsize="small"] .toolbarbutton-1,
556 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
557 toolbar[mode="text"] .toolbarbutton-menubutton-button,
558 toolbar[mode="icons"] .toolbarbutton-menubutton-button,
559 toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
560 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
565 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
568 -moz-padding-start: 1px;
569 -moz-padding-end: 1px;
572 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
573 toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
574 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
576 padding-bottom: 13px;
577 -moz-padding-start: 1px;
578 -moz-padding-end: 1px;
581 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
582 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
585 -moz-padding-start: 0px;
586 -moz-padding-end: 2px;
589 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
590 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
591 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
592 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
593 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
594 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
596 padding-bottom: 12px;
597 -moz-padding-start: 0px;
598 -moz-padding-end: 2px;
601 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
602 padding-top: 4px !important;
603 padding-bottom: 8px !important;
604 -moz-padding-start: 1px !important;
605 -moz-padding-end: 1px !important;
608 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
609 toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
610 padding-top: 0px !important;
611 padding-bottom: 13px !important;
612 -moz-padding-start: 1px !important;
613 -moz-padding-end: 1px !important;
616 toolbar[mode="icons"] .toolbarbutton-text,
617 toolbar[mode="text"] .toolbarbutton-icon {
621 toolbar[mode="text"] .toolbarbutton-text {
625 toolbar[mode="text"] .toolbarbutton-1,
626 toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
627 -moz-box-orient: horizontal;
630 toolbar[mode="full"] .toolbarbutton-1,
631 toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
635 #navigator-toolbox[iconsize=small] > #nav-bar {
638 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
642 /* unified back/forward button */
645 -moz-image-region: rect(0, 18px, 18px, 0);
649 #back-button:not([disabled="true"]):hover {
650 -moz-image-region: rect(18px, 18px, 36px, 0);
653 #back-button[disabled="true"] {
654 -moz-image-region: rect(36px, 18px, 54px, 0);
658 -moz-image-region: rect(0, 36px, 18px, 18px);
660 -moz-margin-start: 0;
663 #forward-button:not([disabled="true"]):hover {
664 -moz-image-region: rect(18px, 36px, 36px, 18px);
667 #forward-button[disabled="true"] {
668 -moz-image-region: rect(36px, 36px, 54px, 18px);
671 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
672 #forward-button:-moz-locale-dir(rtl),
673 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
674 -moz-transform: scaleX(-1);
677 #nav-bar #back-button {
678 -moz-margin-end: 0 !important;
681 #nav-bar #forward-button {
682 border-left-style: none;
683 -moz-margin-start: 0 !important;
686 #nav-bar #back-button:-moz-locale-dir(ltr) {
687 border-top-right-radius: 0;
688 border-bottom-right-radius: 0;
691 #nav-bar #back-button:-moz-locale-dir(rtl),
692 #nav-bar #forward-button {
693 border-top-left-radius: 0;
694 border-bottom-left-radius: 0;
697 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
698 border-radius: 10000px;
706 -moz-image-region: rect(54px, 20px, 74px, 0);
709 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover,
710 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
711 -moz-image-region: rect(54px, 40px, 74px, 20px);
714 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] {
715 -moz-image-region: rect(54px, 60px, 74px, 40px);
718 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
721 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active,
722 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
725 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
726 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
728 padding-bottom: 5px; */
731 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
732 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
733 /* padding-top: 5px; */
736 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button {
737 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
738 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
739 -moz-margin-start: -6px !important;
744 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover {
745 /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
746 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
749 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
750 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
751 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
754 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
755 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
756 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
759 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
760 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
761 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
764 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
765 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
766 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
772 -moz-image-region: rect(0, 54px, 18px, 36px);
775 #stop-button:not([disabled="true"]):hover {
776 -moz-image-region: rect(18px, 54px, 36px, 36px);
779 #stop-button[disabled="true"] {
780 -moz-image-region: rect(36px, 54px, 54px, 36px);
786 -moz-image-region: rect(0, 72px, 18px, 54px);
789 #reload-button:not([disabled="true"]):hover {
790 -moz-image-region: rect(18px, 72px, 36px, 54px);
793 #reload-button[disabled="true"] {
794 -moz-image-region: rect(36px, 72px, 54px, 54px);
799 #home-button.bookmark-item {
800 list-style-image: url("chrome://browser/skin/Toolbar.png");
803 -moz-image-region: rect(0, 90px, 18px, 72px);
806 #home-button:not([disabled="true"]):hover {
807 -moz-image-region: rect(18px, 90px, 36px, 72px);
810 #home-button[disabled="true"] {
811 -moz-image-region: rect(36px, 90px, 54px, 72px);
818 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
822 -moz-image-region: rect(0, 90px, 18px, 72px);
825 #tabview-button[groups="0"] {
826 -moz-image-region: rect(0, 18px, 18px, 0);
829 #tabview-button[groups="1"] {
830 -moz-image-region: rect(0, 36px, 18px, 18px);
833 #tabview-button[groups="2"] {
834 -moz-image-region: rect(0, 54px, 18px, 36px);
837 #tabview-button[groups="3"] {
838 -moz-image-region: rect(0, 72px, 18px, 54px);
842 -moz-image-region: rect(1px, 89px, 17px, 73px);
845 #menu_tabview[groups="0"] {
846 -moz-image-region: rect(1px, 17px, 17px, 1px);
849 #menu_tabview[groups="1"] {
850 -moz-image-region: rect(1px, 35px, 17px, 19px);
853 #menu_tabview[groups="2"] {
854 -moz-image-region: rect(1px, 53px, 17px, 37px);
857 #menu_tabview[groups="3"] {
858 -moz-image-region: rect(1px, 71px, 17px, 55px);
861 /* download manager button */
864 -moz-image-region: rect(0, 108px, 18px, 90px);
867 #downloads-button:not([disabled="true"]):hover {
868 -moz-image-region: rect(18px, 108px, 36px, 90px);
871 #downloads-button[disabled="true"] {
872 -moz-image-region: rect(36px, 108px, 54px, 90px);
875 /* history sidebar button */
878 -moz-image-region: rect(0, 126px, 18px, 108px);
881 #history-button:not([disabled="true"]):hover {
882 -moz-image-region: rect(18px, 126px, 36px, 108px);
885 #history-button[disabled="true"] {
886 -moz-image-region: rect(36px, 126px, 54px, 108px);
889 /* bookmark sidebar & menu buttons */
892 #bookmarks-menu-button {
893 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
894 -moz-image-region: rect(0, 144px, 18px, 126px);
897 #bookmarks-menu-button.bookmark-item {
898 /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */
901 #bookmarks-menu-button.toolbarbutton-1 {
902 -moz-box-orient: horizontal;
905 #bookmarks-button:not([disabled="true"]):hover,
906 #bookmarks-menu-button[open="true"],
907 #bookmarks-menu-button:not([disabled="true"]):hover {
908 -moz-image-region: rect(18px, 144px, 36px, 126px);
911 #bookmarks-button[disabled="true"],
912 #bookmarks-menu-button[disabled="true"] {
913 -moz-image-region: rect(36px, 144px, 54px, 126px);
919 -moz-image-region: rect(0, 162px, 18px, 144px);
922 #print-button:not([disabled="true"]):hover {
923 -moz-image-region: rect(18px, 162px, 36px, 144px);
926 #print-button[disabled="true"] {
927 -moz-image-region: rect(36px, 162px, 54px, 144px);
930 /* toolbar new tab button */
933 -moz-image-region: rect(0, 180px, 18px, 162px);
936 #print-button:not([disabled="true"]):hover {
937 -moz-image-region: rect(18px, 162px, 36px, 144px);
940 #print-button[disabled="true"] {
941 -moz-image-region: rect(36px, 162px, 54px, 144px);
944 /* new window button */
947 -moz-image-region: rect(0, 198px, 18px, 180px);
950 #new-window-button:not([disabled="true"]):hover {
951 -moz-image-region: rect(18px, 198px, 36px, 180px);
954 #new-window-button[disabled="true"] {
955 -moz-image-region: rect(36px, 198px, 54px, 180px);
961 -moz-image-region: rect(0, 216px, 18px, 198px);
964 #cut-button:not([disabled="true"]):hover {
965 -moz-image-region: rect(18px, 216px, 36px, 198px);
968 #cut-button[disabled="true"] {
969 -moz-image-region: rect(36px, 216px, 54px, 198px);
975 -moz-image-region: rect(0, 234px, 18px, 216px);
978 #copy-button:not([disabled="true"]):hover {
979 -moz-image-region: rect(18px, 234px, 36px, 216px);
982 #copy-button[disabled="true"] {
983 -moz-image-region: rect(36px, 234px, 54px, 216px);
989 -moz-image-region: rect(0, 252px, 18px, 234px);
992 #paste-button:not([disabled="true"]):hover {
993 -moz-image-region: rect(18px, 252px, 36px, 234px);
996 #paste-button[disabled="true"] {
997 -moz-image-region: rect(36px, 252px, 54px, 234px);
1000 /* fullscreen button */
1002 #fullscreen-button {
1003 -moz-image-region: rect(0, 270px, 18px, 252px);
1006 #fullscreen-button:not([disabled="true"]):hover {
1007 -moz-image-region: rect(18px, 270px, 36px, 252px);
1010 #fullscreen-button[disabled="true"] {
1011 -moz-image-region: rect(36px, 270px, 54px, 252px);
1017 -moz-image-region: rect(0, 288px, 18px, 270px);
1022 -moz-image-region: rect(0, 306px, 18px, 288px);
1025 #nav-bar #zoom-out-button {
1029 #nav-bar #zoom-in-button {
1030 -moz-border-start: none;
1031 -moz-margin-start: 0;
1034 #nav-bar #zoom-out-button:-moz-locale-dir(ltr),
1035 #nav-bar #zoom-in-button:-moz-locale-dir(rtl) {
1036 border-top-right-radius: 0;
1037 border-bottom-right-radius: 0;
1040 #nav-bar #zoom-out-button:-moz-locale-dir(rtl),
1041 #nav-bar #zoom-in-button:-moz-locale-dir(ltr) {
1042 border-top-left-radius: 0;
1043 border-bottom-left-radius: 0;
1046 #zoom-out-button:not([disabled="true"]):hover {
1047 -moz-image-region: rect(18px, 288px, 36px, 270px);
1050 #zoom-out-button[disabled="true"] {
1051 -moz-image-region: rect(36px, 288px, 54px, 270px);
1054 #zoom-in-button:not([disabled="true"]):hover {
1055 -moz-image-region: rect(18px, 306px, 36px, 288px);
1058 #zoom-in-button[disabled="true"] {
1059 -moz-image-region: rect(36px, 306px, 54px, 288px);
1065 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
1066 -moz-image-region: rect(0, 324px, 18px, 306px);
1069 #sync-button[status="active"] {
1070 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1071 -moz-image-region: rect(0, 18px, 18px, 0);
1074 #sync-button[disabled="true"] {
1075 -moz-image-region: rect(36px, 324px, 54px, 306px);
1081 -moz-image-region: rect(0, 342px, 18px, 324px);
1084 #feed-button[disabled="true"] {
1085 -moz-image-region: rect(36px, 342px, 54px, 324px);
1088 /* ::::: fullscreen window controls ::::: */
1090 #TabsToolbar > #window-controls {
1091 -moz-margin-start: 4px;
1101 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1104 #minimize-button:hover {
1105 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1109 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1112 #restore-button:hover {
1113 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1117 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1120 #close-button:hover {
1121 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1124 /* ::::: Location Bar ::::: */
1133 .searchbar-textbox {
1136 -moz-margin-start: 3px;
1139 #urlbar:-moz-lwtheme,
1140 .searchbar-textbox:-moz-lwtheme {
1141 /* background-color: rgba(255,255,255,.8);
1142 @navbarTextboxCustomBorder@
1146 html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1147 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
1151 #urlbar:-moz-lwtheme[focused="true"],
1152 .searchbar-textbox:-moz-lwtheme[focused="true"] {
1153 /* background-color: white; */
1157 -moz-box-orient: horizontal;
1158 -moz-box-align: stretch;
1161 .urlbar-textbox-container {
1162 -moz-box-align: stretch;
1167 -moz-box-align: center;
1171 padding: 0 2px !important;
1174 .urlbar-icon:-moz-system-metric(touch-enabled) {
1175 -moz-margin-end: 1px !important;
1176 padding: 0 3px !important;
1179 #urlbar-search-splitter {
1181 -moz-margin-start: -3px;
1183 background: transparent;
1186 #urlbar-search-splitter + #urlbar-container > #urlbar ,
1187 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1188 -moz-margin-start: 0;
1192 -moz-border-end: 1px solid #9C9CFF;
1193 -moz-margin-end: 3px;
1202 background-color: #000000;
1207 #identity-box:hover {
1208 background-color: #9C9CFF;
1212 #identity-box[open="true"],
1213 #identity-box:hover:active {
1214 background-color: #FF9F00;
1218 #identity-box.verifiedDomain {
1219 background-color: #FFCF00;
1223 #identity-box.verifiedIdentity {
1224 background-color: #008484;
1228 #identity-box:-moz-focusring {
1229 outline: 1px dotted #008484;
1230 outline-offset: -1px;
1233 #identity-box.verifiedDomain:-moz-focusring,
1234 #identity-box.verifiedIdentity:-moz-focusring {
1235 outline-color: #000000;
1238 #identity-icon-labels {
1239 -moz-margin-start: 1px;
1240 -moz-margin-end: 3px;
1243 /* Location bar dropmarker */
1245 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1246 background-color: transparent;
1249 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1254 /* page proxy icon */
1256 #page-proxy-favicon,
1268 #page-proxy-favicon:not([src]) {
1269 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1272 #page-proxy-favicon[pageproxystate="invalid"] {
1273 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1277 list-style-image: url("chrome://global/skin/icons/loading.gif");
1282 #treecolAutoCompleteImage {
1286 .ac-result-type-bookmark,
1287 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1288 list-style-image: url("chrome://browser/skin/places/bookmark.png");
1289 -moz-image-region: rect(0px 16px 16px 0px);
1294 .ac-result-type-keyword,
1295 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1296 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1297 -moz-image-region: rect(0px 32px 16px 16px);
1302 .ac-result-type-tag,
1303 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1304 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
1313 .ac-extra > .ac-comment {
1322 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1323 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1326 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1330 .ac-comment[selected="true"],
1331 .ac-url-text[selected="true"],
1332 .ac-action-text[selected="true"] {
1333 color: inherit !important;
1336 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1337 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1343 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1344 border-top: 1px solid #9C9CFF;
1350 list-style-image: url("chrome://browser/skin/Go-arrow.png");
1351 -moz-image-region: rect(0px, 16px, 16px, 0px);
1354 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1355 -moz-transform: scaleX(-1);
1359 -moz-image-region: rect(16px, 16px, 32px, 0px);
1362 /* combined go/reload/stop button in location bar */
1364 #urlbar > toolbarbutton {
1365 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1367 -moz-margin-start: 0;
1369 background-origin: border-box;
1371 -moz-border-start: 1px solid #9C9CFF;
1374 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1375 border-top-left-radius: 0px;
1376 border-bottom-left-radius: 0px;
1379 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1380 border-top-right-radius: 0px;
1381 border-bottom-right-radius: 0px;
1384 #urlbar > toolbarbutton:not([disabled]):active:hover {
1385 -moz-padding-start: 4px;
1386 -moz-border-start: none;
1390 -moz-image-region: rect(0px, 56px, 14px, 42px);
1393 #urlbar-go-button:hover {
1394 -moz-image-region: rect(14px, 56px, 28px, 42px);
1397 #urlbar-reload-button {
1398 -moz-image-region: rect(0px, 28px, 14px, 14px);
1401 #urlbar-reload-button[disabled] {
1402 -moz-image-region: rect(0px, 14px, 14px, 0px);
1405 #urlbar-reload-button:not([disabled]):hover {
1406 -moz-image-region: rect(14px, 28px, 28px, 14px);
1409 #urlbar-stop-button {
1410 -moz-image-region: rect(0px, 42px, 14px, 28px);
1413 #urlbar-stop-button:hover {
1414 -moz-image-region: rect(14px, 42px, 28px, 28px);
1417 /* popup blocker button */
1419 #page-report-button {
1420 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1421 -moz-image-region: rect(0, 16px, 16px, 0);
1424 #page-report-button:hover ,
1425 #page-report-button:hover:active,
1426 #page-report-button[open="true"] {
1427 -moz-image-region: rect(0, 32px, 16px, 16px);
1433 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1434 -moz-image-region: rect(16px 16px 32px 0px);
1437 #star-button:hover {
1438 -moz-image-region: rect(16px 32px 32px 16px);
1441 #star-button:hover:active {
1442 -moz-image-region: rect(16px 48px 32px 32px);
1445 #star-button[starred="true"] {
1446 -moz-image-region: rect(0px 16px 16px 0px);
1449 #star-button[starred="true"]:hover {
1450 -moz-image-region: rect(0px 32px 16px 16px);
1453 #star-button[starred="true"]:hover:active {
1454 -moz-image-region: rect(0px 48px 16px 32px);
1457 /* bookmarking panel */
1458 #editBookmarkPanelStarIcon {
1459 list-style-image: url("chrome://browser/skin/places/starred48.png");
1464 #editBookmarkPanelStarIcon[unstarred] {
1465 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1468 #editBookmarkPanelTitle {
1472 #editBookmarkPanelHeader,
1473 #editBookmarkPanelContent {
1474 margin-bottom: .5em;
1477 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1478 #editBMPanel_folderTree {
1483 margin: 5px -6px -6px -6px;
1485 background-color: #000000;
1487 border-bottom-left-radius: 5px;
1488 border-bottom-right-radius: 5px;
1489 border-top: 1px solid #9C9CFF;
1493 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1494 -moz-margin-end: 10px;
1495 vertical-align: middle;
1498 .panel-promo-closebutton {
1499 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1500 -moz-margin-end: -3px;
1504 .panel-promo-closebutton:hover {
1505 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1508 .panel-promo-closebutton:hover:active {
1509 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1512 .panel-promo-closebutton > .toolbarbutton-text {
1517 /* ::::: content area ::::: */
1520 background-color: Window;
1524 -moz-padding-start: 0px;
1527 /* ::::: throbber ::::: */
1529 #navigator-throbber {
1535 #navigator-throbber[busy="true"] {
1536 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
1539 #navigator-throbber,
1540 #wrapper-navigator-throbber > #navigator-throbber {
1541 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
1549 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1552 #TabsToolbar .toolbar-holder {
1553 background-color: #000000; /* correct effect of being an actual toolbar */
1556 #main-window[disablechrome] #TabsToolbar,
1557 #TabsToolbar[tabsontop="false"] {
1558 border-bottom: 1px solid #FF9F00;
1562 .tabs-newtab-button {
1566 .tabbrowser-tab:hover,
1567 .tabs-newtab-button:hover {
1570 .tabbrowser-tab[selected="true"] {
1573 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1576 .tabbrowser-tab:-moz-lwtheme {
1579 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1582 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1583 .tabs-newtab-button:-moz-lwtheme-brighttext {
1586 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1587 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1590 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1591 .tabs-newtab-button:-moz-lwtheme-darktext {
1594 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1595 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1598 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1599 background-color: #E7ADE7;
1601 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1602 background-color: #0000FF;
1610 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1611 -moz-image-region: auto;
1612 -moz-margin-end: 3px;
1616 list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
1619 .tab-throbber[progress] {
1620 list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
1623 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
1624 min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
1627 .tab-throbber[pinned],
1628 .tab-icon-image[pinned] {
1629 -moz-margin-start: 2px;
1630 -moz-margin-end: 2px;
1633 /* tabbrowser-tab focus ring */
1634 .tabbrowser-tab:focus > .tab-stack {
1635 outline: 1px dotted;
1638 /* Tab DnD indicator */
1639 .tab-drop-indicator {
1640 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1641 margin-bottom: -11px;
1644 /* Tab close button */
1648 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1651 .tab-close-button:-moz-system-metric(touch-enabled) {
1652 -moz-transform: scale(1.2);
1655 .tab-close-button:hover,
1656 .tab-close-button:hover[selected="true"] {
1657 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1660 .tab-close-button:hover:active,
1661 .tab-close-button:hover:active[selected="true"] {
1662 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1665 .tab-close-button:focus {
1666 outline: none !important;
1669 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1671 @media all and (-moz-touch-enabled) {
1672 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1673 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1674 #TabsToolbar .toolbarbutton-1 {
1675 min-width: 8.1mozmm;
1678 .tabs-newtab-button {
1683 min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1687 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1688 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1694 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1695 background-color: #008484;
1698 .tabs-newtab-button > .toolbarbutton-icon {
1700 margin-bottom: -1px;
1703 .tabs-newtab-button,
1704 #TabsToolbar > #new-tab-button,
1705 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1706 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
1707 -moz-image-region: rect(0, 16px, 18px, 0);
1710 .tabs-newtab-button {
1714 #TabsToolbar > #new-tab-button {
1718 .tabs-newtab-button:hover,
1719 #TabsToolbar > #new-tab-button:hover {
1720 -moz-image-region: rect(0, 32px, 18px, 16px);
1724 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1725 -moz-image-region: rect(0, 14px, 16px, 0);
1728 #alltabs-button:hover,
1729 #alltabs-button:hover:active {
1730 -moz-image-region: rect(0, 28px, 16px, 14px);
1733 #alltabs-button[type="menu"] {
1734 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1735 -moz-image-region: auto;
1738 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1742 #alltabs-button[type="menu"]:hover,
1743 #alltabs-button[type="menu"]:hover:active,
1744 #alltabs-button[type="menu"][open="true"] {
1745 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1746 -moz-image-region: auto;
1749 /* All tabs menupopup */
1750 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1751 list-style-image: url("chrome://global/skin/icons/folder-item.png");
1752 -moz-image-region: rect(0px, 16px, 16px, 0px);
1753 -moz-image-region: auto;
1756 .alltabs-item[selected="true"] {
1760 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1761 list-style-image: url("chrome://global/skin/icons/loading.gif");
1764 /* Tabstrip close button */
1769 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1772 .tabs-closebutton > .toolbarbutton-icon {
1775 .tabs-closebutton > .toolbarbutton-text {
1779 .tabs-closebutton:hover,
1780 .tabs-closebutton:hover:active {
1781 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1784 toolbarbutton.chevron {
1785 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1788 toolbarbutton.chevron:hover {
1789 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1792 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1793 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1794 -moz-transform: scaleX(-1);
1797 toolbarbutton.chevron > .toolbarbutton-text,
1798 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1802 toolbarbutton.chevron > .toolbarbutton-icon {
1806 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1807 display: -moz-box; /* display chevron icon in text mode */
1810 #sidebar-throbber[loading="true"] {
1811 list-style-image: url("chrome://global/skin/icons/loading.gif");
1812 -moz-margin-end: 4px;
1815 /* Bookmarks toolbar */
1816 #PlacesToolbarDropIndicator {
1817 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
1820 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1821 background-color: #008484 !important;
1822 color: #FFCF00 !important;
1825 /* rules for menupopup drop indicators */
1826 .menupopup-drop-indicator-bar {
1828 /* these two margins must together compensate the indicator's height */
1830 margin-bottom: -1px;
1833 .menupopup-drop-indicator {
1834 list-style-image: none;
1836 -moz-margin-end: -4em;
1837 background-color: #008484;
1840 /* ::::: Identity Indicator Styling ::::: */
1843 #identity-popup-icon {
1847 list-style-image: url("chrome://browser/skin/identity.png");
1848 -moz-image-region: rect(0px, 64px, 64px, 0px);
1851 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1852 -moz-image-region: rect(64px, 64px, 128px, 0px);
1855 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1856 -moz-image-region: rect(128px, 64px, 192px, 0px);
1859 /* Popup Body Text */
1860 .identity-popup-description {
1861 white-space: pre-wrap;
1862 -moz-padding-start: 15px;
1866 .identity-popup-label {
1867 white-space: pre-wrap;
1868 -moz-padding-start: 15px;
1872 #identity-popup-content-host ,
1873 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1877 #identity-popup-content-host {
1884 #identity-popup-content-owner {
1886 margin-bottom: 0 !important;
1891 .verifiedDomain > #identity-popup-content-owner {
1892 font-weight: normal;
1895 #identity-popup-content-verifier {
1899 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1900 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1902 -moz-margin-start: -24px;
1905 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1906 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1907 list-style-image: url("chrome://browser/skin/Secure24.png");
1910 #identity-popup-more-info-button {
1916 .popup-notification-icon {
1919 -moz-margin-end: 10px;
1922 .popup-notification-icon[popupid="geolocation"] {
1923 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
1926 .popup-notification-icon[popupid="xpinstall-disabled"],
1927 .popup-notification-icon[popupid="addon-progress"],
1928 .popup-notification-icon[popupid="addon-install-cancelled"],
1929 .popup-notification-icon[popupid="addon-install-blocked"],
1930 .popup-notification-icon[popupid="addon-install-failed"],
1931 .popup-notification-icon[popupid="addon-install-complete"] {
1932 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1937 .addon-progress-description {
1942 .popup-progress-label,
1943 .popup-progress-meter {
1944 -moz-margin-start: 0;
1948 .popup-progress-cancel {
1949 -moz-appearance: none;
1950 background: transparent;
1956 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
1957 -moz-image-region: rect(0px, 32px, 16px, 16px);
1960 .popup-progress-cancel:hover {
1961 -moz-image-region: rect(16px, 32px, 32px, 16px);
1964 .popup-progress-cancel:active {
1965 -moz-image-region: rect(32px, 32px, 48px, 16px);
1968 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
1969 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
1970 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
1973 .popup-notification-icon[popupid="password-save"],
1974 .popup-notification-icon[popupid="password-change"] {
1975 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
1978 /* Notification icon box */
1979 #notification-popup-box {
1981 background-color: #000000;
1982 background-clip: padding-box;
1984 border-radius: 3px 0 0 3px;
1985 -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
1986 -moz-margin-end: -8px;
1989 #notification-popup-box:not([hidden]) + #identity-box {
1990 -moz-padding-start: 10px;
1993 #notification-popup-box:-moz-locale-dir(rtl),
1994 .notification-anchor-icon:-moz-locale-dir(rtl) {
1995 -moz-transform: scaleX(-1);
1998 .notification-anchor-icon {
2003 .notification-anchor-icon:-moz-focusring {
2004 outline: 1px dotted #008484;
2005 /* outline-offset: -3px; */
2008 #default-notification-icon {
2009 list-style-image: url("chrome://global/skin/icons/information-16.png");
2012 #geo-notification-icon {
2013 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
2016 #addons-notification-icon {
2017 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
2020 #indexedDB-notification-icon {
2021 list-style-image: url("chrome://global/skin/icons/question-16.png");
2024 #password-notification-icon {
2025 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
2028 #identity-popup-container {
2033 list-style-image: url("chrome://browser/skin/Toolbar.png");
2034 -moz-image-region: rect(0, 108px, 18px, 90px);
2037 /* Bookmarks roots menu-items */
2038 #appmenu_subscribeToPage:not([disabled]),
2039 #appmenu_subscribeToPageMenu,
2040 #subscribeToPageMenuitem:not([disabled]),
2041 #subscribeToPageMenupopup,
2042 #BMB_subscribeToPageMenuitem:not([disabled]),
2043 #BMB_subscribeToPageMenupopup {
2044 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
2047 #bookmarksToolbarFolderMenu,
2048 #appmenu_bookmarksToolbar,
2049 #BMB_bookmarksToolbar {
2050 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
2051 -moz-image-region: auto;
2054 #appmenu_unsortedBookmarks,
2055 #BMB_unsortedBookmarks {
2056 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
2057 -moz-image-region: auto;
2060 /* ::::: Keyboard UI Panel ::::: */
2065 border-radius: 20px;
2068 .KUI-panel[level="top"] {
2069 /*background-color: rgba(27%,27%,27%,.65);*/
2072 .KUI-panel-closebutton {
2073 list-style-image: url("KUI-close.png");
2078 .KUI-panel-closebutton:not(:hover) {
2081 .KUI-panel-closebutton > .toolbarbutton-icon {
2084 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
2089 padding: 20px 10px 10px;
2093 .ctrlTab-favicon[src] {
2094 background-color: #000000;
2100 .ctrlTab-preview-inner > .tabPreview-canvas {
2103 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2107 .ctrlTab-preview-inner {
2108 padding-bottom: 10px;
2111 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2113 background-color: #000000;
2114 border-radius: .5em;
2117 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2119 background-color: #000000;
2122 border: 2px solid #9C9CFF;
2123 border-radius: .5em;
2126 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2127 margin: -10px -10px 0;
2137 padding-bottom: 10px;
2145 -moz-margin-start: 24px;
2149 #allTabs-tab-close-button > .toolbarbutton-icon {
2153 .allTabs-favicon[src] {
2157 padding-bottom: 5px;
2158 -moz-padding-start: 1px;
2159 -moz-padding-end: 5px;
2161 -moz-margin-start: -2px;
2162 border-bottom-right-radius: 4px;
2165 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
2166 border-bottom-right-radius: 0;
2167 border-bottom-left-radius: 4px;
2170 .allTabs-preview-inner > .tabPreview-canvas {
2171 background-color: #E7ADE7;
2174 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
2177 .allTabs-preview:focus > * > .allTabs-preview-inner {
2178 outline: 1px dotted #008484;
2181 /* Inspector / Highlighter */
2183 #highlighter-panel {
2184 -moz-window-shadow: none;
2185 background: #000000;
2189 listitem.style-selector {
2190 background-color: #9C9CFF;
2194 listitem.style-section {
2195 background-color: #E7ADE7;
2200 panel[dimmed="true"] {
2208 border-top: 3px solid #000000;
2209 border-bottom-width: 0;
2212 #addon-bar .toolbar-holder {
2213 background-color: #8050B0;
2217 #addon-bar .toolbar-holder {
2218 background-color: #8050B0;
2222 #addon-bar .toolbar-startcap,
2223 #addon-bar .toolbar-endcap{
2224 background-color: #6000CF;
2228 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
2233 /* Remove all borders from statusbarpanel children of
2235 #status-bar > statusbarpanel {
2239 #addonbar-closebutton {
2242 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2245 #addonbar-closebutton:hover,
2246 #addonbar-closebutton:hover:active {
2247 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2252 .statuspanel-label {
2255 background: #404000;
2256 border: 1px none #9C9CFF;
2257 border-top-style: solid;
2262 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2263 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2264 border-right-style: solid;
2265 border-top-right-radius: .3em;
2269 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2270 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2271 border-left-style: solid;
2272 border-top-left-radius: .3em;
2276 /* HACK to abolish devily color on main content */
2279 background-color: transparent !important;