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 ::::: */
134 .tab-drag-preview::before,
136 background-color: #FF9F00;
137 background-clip: padding-box;
140 border-right: 3px solid #000000;
147 #appmenu-button:-moz-locale-dir(rtl) {
148 border-left: 3px solid #000000;
152 #main-window[privatebrowsingmode=temporary] .tab-drag-preview::before,
153 #main-window[privatebrowsingmode=temporary] #appmenu-button {
154 background-color: #6000CF;
158 #appmenu-button:hover:not(:active):not([open]) {
161 #main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
164 #appmenu-button:hover,
165 #appmenu-button:hover:active,
166 #appmenu-button[open] {
167 background-color: #FFCF00;
171 #appmenu-button > .button-box > .button-menu-dropmarker {
172 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
178 background-color: transparent;
179 -moz-margin-start: .5em;
182 #main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
183 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
186 #appmenuPrimaryPane > menuitem,
187 #appmenuSecondaryPane > menuitem,
188 #appmenuPrimaryPane > menu {
192 .splitmenu-menuitem {
193 -moz-padding-start: 2px;
196 -moz-margin-end: 1px;
205 .appmenu-edit-button {
208 .appmenu-edit-button[disabled="true"] {
211 #appmenuPrimaryPane {
212 -moz-border-end: 1px solid #9C9CFF;
217 #appmenuPrimaryPane {
219 #appmenuSecondaryPane {
221 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
224 #appmenuSecondaryPane menupopup {
227 .appmenu-menuseparator {
230 .appmenu-edit-button:not([disabled]):hover {
233 #appmenuSecondaryPane-spacer {
242 #appmenu_print_popup,
243 .appmenu-edit-button,
244 #appmenu-editmenu-cut,
245 #appmenu-editmenu-copy,
246 #appmenu-editmenu-paste,
248 list-style-image: url("appmenu-icons.png");
252 #appmenu-editmenu-cut {
253 -moz-image-region: rect(0 16px 16px 0);
256 #appmenu-cut:hover:not([disabled="true"]),
257 #appmenu-editmenu-cut:hover:not([disabled="true"]) {
258 -moz-image-region: rect(16px 16px 32px 0);
261 #appmenu-cut[disabled="true"],
262 #appmenu-editmenu-cut[disabled="true"] {
263 -moz-image-region: rect(32px 16px 48px 0);
267 #appmenu-editmenu-copy {
268 -moz-image-region: rect(0 32px 16px 16px);
271 #appmenu-copy:hover:not([disabled="true"]),
272 #appmenu-editmenu-copy:hover:not([disabled="true"]) {
273 -moz-image-region: rect(16px 32px 32px 16px);
276 #appmenu-copy[disabled="true"],
277 #appmenu-editmenu-copy[disabled="true"] {
278 -moz-image-region: rect(32px 32px 48px 16px);
282 #appmenu-editmenu-paste {
283 -moz-image-region: rect(0 48px 16px 32px);
286 #appmenu-paste:hover:not([disabled="true"]),
287 #appmenu-editmenu-paste:hover:not([disabled="true"]) {
288 -moz-image-region: rect(16px 48px 32px 32px);
291 #appmenu-paste[disabled="true"],
292 #appmenu-editmenu-paste[disabled="true"] {
293 -moz-image-region: rect(32px 48px 48px 32px);
297 #appmenu_print_popup {
298 -moz-image-region: rect(0 64px 16px 48px);
301 #appmenu_print:hover:not([disabled="true"]),
302 #appmenu_print[open="true"],
303 #appmenu_print_popup:hover:not([disabled="true"]) {
304 -moz-image-region: rect(16px 64px 32px 48px);
307 #appmenu-print[disabled="true"],
308 #appmenu_print_popup[disabled="true"] {
309 -moz-image-region: rect(32px 64px 48px 48px);
313 -moz-image-region: rect(0 80px 16px 64px);
316 #appmenu-quit:hover {
317 -moz-image-region: rect(16px 80px 32px 64px);
320 #appmenu-edit-label {
321 -moz-appearance: none;
322 background: transparent;
327 list-style-image: url("chrome://browser/skin/places/bookmark.png");
328 -moz-image-region: rect(0px 48px 16px 32px);
331 #appmenu_privateBrowsing {
332 list-style-image: url("chrome://browser/skin/Privacy-16.png");
336 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
339 #BMB_bookmarkThisPage,
340 #appmenu_bookmarkThisPage {
341 list-style-image: url("chrome://browser/skin/places/bookmark.png");
342 -moz-image-region: rect(0 16px 16px 0);
345 /* ::::: titlebar ::::: */
349 background-color: #6000CF;
352 #titlebar:-moz-window-inactive {
353 background-color: #8050B0;
357 #main-window[sizemode="normal"] > #titlebar {
362 #main-window[sizemode="maximized"] > #titlebar {
366 #titlebar-buttonbox {
368 -moz-margin-end: 3px;
371 #main-window[sizemode="maximized"] #titlebar-buttonbox {
374 .titlebar-placeholder[type="appmenu-button"] {
378 .titlebar-placeholder[type="caption-buttons"] {
382 /* titlebar command buttons */
385 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
388 #titlebar-min:hover {
389 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
393 list-style-image: url("chrome://browser/skin/win-maximize.gif");
396 #titlebar-max:hover {
397 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
400 #main-window[sizemode="maximized"] #titlebar-max {
401 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
404 #main-window[sizemode="maximized"] #titlebar-max:hover {
405 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
409 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
412 #titlebar-close:hover {
413 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
416 /* ::::: bookmark buttons ::::: */
418 .bookmark-item > .toolbarbutton-icon {
423 /* Prevent [mode="icons"] from hiding the label */
424 .bookmark-item > .toolbarbutton-text {
425 display: -moz-box !important;
428 .bookmark-item > .toolbarbutton-menu-dropmarker {
432 #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
435 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
438 .bookmarks-toolbar-customize {
439 max-width: 15em !important;
440 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
443 /* ::::: bookmark menus ::::: */
446 menuitem.bookmark-item {
451 .bookmark-item > .menu-iconic-left {
456 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
457 -moz-padding-start: 0px;
460 /* ::::: bookmark items ::::: */
463 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
464 -moz-image-region: auto;
467 .bookmark-item[container] {
468 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
469 -moz-image-region: auto;
472 .bookmark-item[container][open] {
473 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
474 -moz-image-region: auto;
477 .bookmark-item[container][livemark] {
478 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
479 -moz-image-region: auto;
482 .bookmark-item[container][livemark] .bookmark-item {
483 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
484 -moz-image-region: auto;
487 .bookmark-item[container][query] {
488 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
489 -moz-image-region: auto;
492 .bookmark-item[query][tagContainer] {
493 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
494 -moz-image-region: auto;
497 .bookmark-item[query][dayContainer] {
498 list-style-image: url("chrome://communicator/skin/history/calendar.png");
499 -moz-image-region: auto;
502 .bookmark-item[query][hostContainer] {
503 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
504 -moz-image-region: auto;
507 .bookmark-item[query][hostContainer][open] {
508 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
509 -moz-image-region: auto;
512 .bookmark-item[cutting] > .toolbarbutton-icon,
513 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
517 .bookmark-item[cutting] > .toolbarbutton-text,
518 .bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
522 /* ::::: primary toolbar buttons ::::: */
525 list-style-image: url("chrome://browser/skin/Toolbar.png");
528 .toolbarbutton-1:not([type="menu-button"]) {
529 -moz-box-orient: vertical;
533 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
538 .toolbarbutton-1:not([type="menu-button"]) {
539 -moz-box-orient: vertical;
543 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
544 .toolbarbutton-1[disabled="true"]:hover:active,
545 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
549 .toolbarbutton-1:hover:active,
550 .toolbarbutton-1[open="true"],
551 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
554 -moz-padding-start: 3px;
555 -moz-padding-end: 1px;
558 /* ::::: small primary toolbar buttons ::::: */
561 /* force iconsize="small" on this toolbar */
562 counter-reset: smallicons;
565 toolbar[mode="text"] .toolbarbutton-1,
566 toolbar[mode="icons"] .toolbarbutton-1,
567 toolbar[iconsize="small"] .toolbarbutton-1,
568 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
569 toolbar[mode="text"] .toolbarbutton-menubutton-button,
570 toolbar[mode="icons"] .toolbarbutton-menubutton-button,
571 toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
572 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
577 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
580 -moz-padding-start: 1px;
581 -moz-padding-end: 1px;
584 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
585 toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
586 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
588 padding-bottom: 13px;
589 -moz-padding-start: 1px;
590 -moz-padding-end: 1px;
593 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
594 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
597 -moz-padding-start: 0px;
598 -moz-padding-end: 2px;
601 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
602 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
603 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
604 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
605 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
606 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
608 padding-bottom: 12px;
609 -moz-padding-start: 0px;
610 -moz-padding-end: 2px;
613 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
614 padding-top: 4px !important;
615 padding-bottom: 8px !important;
616 -moz-padding-start: 1px !important;
617 -moz-padding-end: 1px !important;
620 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
621 toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
622 padding-top: 0px !important;
623 padding-bottom: 13px !important;
624 -moz-padding-start: 1px !important;
625 -moz-padding-end: 1px !important;
628 toolbar[mode="icons"] .toolbarbutton-text,
629 toolbar[mode="text"] .toolbarbutton-icon {
633 toolbar[mode="text"] .toolbarbutton-text {
637 toolbar[mode="text"] .toolbarbutton-1,
638 toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
639 -moz-box-orient: horizontal;
642 toolbar[mode="full"] .toolbarbutton-1,
643 toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
647 #navigator-toolbox[iconsize=small] > #nav-bar {
650 #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
654 /* unified back/forward button */
657 -moz-image-region: rect(0, 18px, 18px, 0);
661 #back-button:not([disabled="true"]):hover {
662 -moz-image-region: rect(18px, 18px, 36px, 0);
665 #back-button[disabled="true"] {
666 -moz-image-region: rect(36px, 18px, 54px, 0);
670 -moz-image-region: rect(0, 36px, 18px, 18px);
672 -moz-margin-start: 0;
675 #forward-button:not([disabled="true"]):hover {
676 -moz-image-region: rect(18px, 36px, 36px, 18px);
679 #forward-button[disabled="true"] {
680 -moz-image-region: rect(36px, 36px, 54px, 18px);
683 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
684 #forward-button:-moz-locale-dir(rtl),
685 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
686 -moz-transform: scaleX(-1);
689 #nav-bar #back-button {
690 -moz-margin-end: 0 !important;
693 #nav-bar #forward-button {
694 border-left-style: none;
695 -moz-margin-start: 0 !important;
698 #nav-bar #back-button:-moz-locale-dir(ltr) {
699 border-top-right-radius: 0;
700 border-bottom-right-radius: 0;
703 #nav-bar #back-button:-moz-locale-dir(rtl),
704 #nav-bar #forward-button {
705 border-top-left-radius: 0;
706 border-bottom-left-radius: 0;
709 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
710 border-radius: 10000px;
718 -moz-image-region: rect(54px, 20px, 74px, 0);
721 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover,
722 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
723 -moz-image-region: rect(54px, 40px, 74px, 20px);
726 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] {
727 -moz-image-region: rect(54px, 60px, 74px, 40px);
730 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
733 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active,
734 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
737 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
738 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
740 padding-bottom: 5px; */
743 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
744 #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
745 /* padding-top: 5px; */
748 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button {
749 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
750 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
751 -moz-margin-start: -6px !important;
756 #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover {
757 /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
758 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
761 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
762 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
763 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
766 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
767 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
768 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
771 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
772 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
773 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
776 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
777 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
778 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
784 -moz-image-region: rect(0, 54px, 18px, 36px);
787 #stop-button:not([disabled="true"]):hover {
788 -moz-image-region: rect(18px, 54px, 36px, 36px);
791 #stop-button[disabled="true"] {
792 -moz-image-region: rect(36px, 54px, 54px, 36px);
798 -moz-image-region: rect(0, 72px, 18px, 54px);
801 #reload-button:not([disabled="true"]):hover {
802 -moz-image-region: rect(18px, 72px, 36px, 54px);
805 #reload-button[disabled="true"] {
806 -moz-image-region: rect(36px, 72px, 54px, 54px);
811 #home-button.bookmark-item {
812 list-style-image: url("chrome://browser/skin/Toolbar.png");
815 -moz-image-region: rect(0, 90px, 18px, 72px);
818 #home-button:not([disabled="true"]):hover {
819 -moz-image-region: rect(18px, 90px, 36px, 72px);
822 #home-button[disabled="true"] {
823 -moz-image-region: rect(36px, 90px, 54px, 72px);
830 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
834 -moz-image-region: rect(0, 90px, 18px, 72px);
837 #tabview-button[groups="0"] {
838 -moz-image-region: rect(0, 18px, 18px, 0);
841 #tabview-button[groups="1"] {
842 -moz-image-region: rect(0, 36px, 18px, 18px);
845 #tabview-button[groups="2"] {
846 -moz-image-region: rect(0, 54px, 18px, 36px);
849 #tabview-button[groups="3"] {
850 -moz-image-region: rect(0, 72px, 18px, 54px);
854 -moz-image-region: rect(1px, 89px, 17px, 73px);
857 #menu_tabview[groups="0"] {
858 -moz-image-region: rect(1px, 17px, 17px, 1px);
861 #menu_tabview[groups="1"] {
862 -moz-image-region: rect(1px, 35px, 17px, 19px);
865 #menu_tabview[groups="2"] {
866 -moz-image-region: rect(1px, 53px, 17px, 37px);
869 #menu_tabview[groups="3"] {
870 -moz-image-region: rect(1px, 71px, 17px, 55px);
873 /* download manager button */
876 -moz-image-region: rect(0, 108px, 18px, 90px);
879 #downloads-button:not([disabled="true"]):hover {
880 -moz-image-region: rect(18px, 108px, 36px, 90px);
883 #downloads-button[disabled="true"] {
884 -moz-image-region: rect(36px, 108px, 54px, 90px);
887 /* history sidebar button */
890 -moz-image-region: rect(0, 126px, 18px, 108px);
893 #history-button:not([disabled="true"]):hover {
894 -moz-image-region: rect(18px, 126px, 36px, 108px);
897 #history-button[disabled="true"] {
898 -moz-image-region: rect(36px, 126px, 54px, 108px);
901 /* bookmark sidebar & menu buttons */
904 #bookmarks-menu-button {
905 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
906 -moz-image-region: rect(0, 144px, 18px, 126px);
909 #bookmarks-menu-button.bookmark-item {
910 /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */
913 #bookmarks-menu-button.toolbarbutton-1 {
914 -moz-box-orient: horizontal;
917 #bookmarks-button:not([disabled="true"]):hover,
918 #bookmarks-menu-button[open="true"],
919 #bookmarks-menu-button:not([disabled="true"]):hover {
920 -moz-image-region: rect(18px, 144px, 36px, 126px);
923 #bookmarks-button[disabled="true"],
924 #bookmarks-menu-button[disabled="true"] {
925 -moz-image-region: rect(36px, 144px, 54px, 126px);
931 -moz-image-region: rect(0, 162px, 18px, 144px);
934 #print-button:not([disabled="true"]):hover {
935 -moz-image-region: rect(18px, 162px, 36px, 144px);
938 #print-button[disabled="true"] {
939 -moz-image-region: rect(36px, 162px, 54px, 144px);
942 /* toolbar new tab button */
945 -moz-image-region: rect(0, 180px, 18px, 162px);
948 #print-button:not([disabled="true"]):hover {
949 -moz-image-region: rect(18px, 162px, 36px, 144px);
952 #print-button[disabled="true"] {
953 -moz-image-region: rect(36px, 162px, 54px, 144px);
956 /* new window button */
959 -moz-image-region: rect(0, 198px, 18px, 180px);
962 #new-window-button:not([disabled="true"]):hover {
963 -moz-image-region: rect(18px, 198px, 36px, 180px);
966 #new-window-button[disabled="true"] {
967 -moz-image-region: rect(36px, 198px, 54px, 180px);
973 -moz-image-region: rect(0, 216px, 18px, 198px);
976 #cut-button:not([disabled="true"]):hover {
977 -moz-image-region: rect(18px, 216px, 36px, 198px);
980 #cut-button[disabled="true"] {
981 -moz-image-region: rect(36px, 216px, 54px, 198px);
987 -moz-image-region: rect(0, 234px, 18px, 216px);
990 #copy-button:not([disabled="true"]):hover {
991 -moz-image-region: rect(18px, 234px, 36px, 216px);
994 #copy-button[disabled="true"] {
995 -moz-image-region: rect(36px, 234px, 54px, 216px);
1001 -moz-image-region: rect(0, 252px, 18px, 234px);
1004 #paste-button:not([disabled="true"]):hover {
1005 -moz-image-region: rect(18px, 252px, 36px, 234px);
1008 #paste-button[disabled="true"] {
1009 -moz-image-region: rect(36px, 252px, 54px, 234px);
1012 /* fullscreen button */
1014 #fullscreen-button {
1015 -moz-image-region: rect(0, 270px, 18px, 252px);
1018 #fullscreen-button:not([disabled="true"]):hover {
1019 -moz-image-region: rect(18px, 270px, 36px, 252px);
1022 #fullscreen-button[disabled="true"] {
1023 -moz-image-region: rect(36px, 270px, 54px, 252px);
1029 -moz-image-region: rect(0, 288px, 18px, 270px);
1034 -moz-image-region: rect(0, 306px, 18px, 288px);
1037 #nav-bar #zoom-out-button {
1041 #nav-bar #zoom-in-button {
1042 -moz-border-start: none;
1043 -moz-margin-start: 0;
1046 #nav-bar #zoom-out-button:-moz-locale-dir(ltr),
1047 #nav-bar #zoom-in-button:-moz-locale-dir(rtl) {
1048 border-top-right-radius: 0;
1049 border-bottom-right-radius: 0;
1052 #nav-bar #zoom-out-button:-moz-locale-dir(rtl),
1053 #nav-bar #zoom-in-button:-moz-locale-dir(ltr) {
1054 border-top-left-radius: 0;
1055 border-bottom-left-radius: 0;
1058 #zoom-out-button:not([disabled="true"]):hover {
1059 -moz-image-region: rect(18px, 288px, 36px, 270px);
1062 #zoom-out-button[disabled="true"] {
1063 -moz-image-region: rect(36px, 288px, 54px, 270px);
1066 #zoom-in-button:not([disabled="true"]):hover {
1067 -moz-image-region: rect(18px, 306px, 36px, 288px);
1070 #zoom-in-button[disabled="true"] {
1071 -moz-image-region: rect(36px, 306px, 54px, 288px);
1076 #sync-button:not([status]) {
1077 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
1078 -moz-image-region: rect(0, 324px, 18px, 306px);
1081 #sync-button[status="active"] {
1082 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1083 -moz-image-region: rect(0, 18px, 18px, 0);
1086 #sync-button[disabled="true"] {
1087 -moz-image-region: rect(36px, 324px, 54px, 306px);
1093 -moz-image-region: rect(0, 342px, 18px, 324px);
1096 #feed-button[disabled="true"] {
1097 -moz-image-region: rect(36px, 342px, 54px, 324px);
1100 /* ::::: fullscreen window controls ::::: */
1102 #TabsToolbar > #window-controls {
1103 -moz-margin-start: 4px;
1113 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1116 #minimize-button:hover {
1117 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1121 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1124 #restore-button:hover {
1125 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1129 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1132 #close-button:hover {
1133 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1136 /* ::::: Location Bar ::::: */
1145 .searchbar-textbox {
1148 -moz-margin-start: 3px;
1151 #urlbar:-moz-lwtheme,
1152 .searchbar-textbox:-moz-lwtheme {
1153 /* background-color: rgba(255,255,255,.8);
1154 @navbarTextboxCustomBorder@
1158 html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1159 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
1163 #urlbar:-moz-lwtheme[focused="true"],
1164 .searchbar-textbox:-moz-lwtheme[focused="true"] {
1165 /* background-color: white; */
1169 -moz-box-orient: horizontal;
1170 -moz-box-align: stretch;
1173 .urlbar-textbox-container {
1174 -moz-box-align: stretch;
1179 -moz-box-align: center;
1183 padding: 0 2px !important;
1186 .urlbar-icon:-moz-system-metric(touch-enabled) {
1187 -moz-margin-end: 1px !important;
1188 padding: 0 3px !important;
1191 #urlbar-search-splitter {
1193 -moz-margin-start: -3px;
1195 background: transparent;
1198 #urlbar-search-splitter + #urlbar-container > #urlbar ,
1199 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1200 -moz-margin-start: 0;
1204 -moz-border-end: 1px solid #9C9CFF;
1205 -moz-margin-end: 3px;
1214 background-color: #000000;
1219 #identity-box:hover {
1220 background-color: #9C9CFF;
1224 #identity-box[open="true"],
1225 #identity-box:hover:active {
1226 background-color: #FF9F00;
1230 #identity-box.verifiedDomain {
1231 background-color: #FFCF00;
1235 #identity-box.verifiedIdentity {
1236 background-color: #008484;
1240 #identity-box:-moz-focusring {
1241 outline: 1px dotted #008484;
1242 outline-offset: -1px;
1245 #identity-box.verifiedDomain:-moz-focusring,
1246 #identity-box.verifiedIdentity:-moz-focusring {
1247 outline-color: #000000;
1250 #identity-icon-labels {
1251 -moz-margin-start: 1px;
1252 -moz-margin-end: 3px;
1255 /* Location bar dropmarker */
1257 .urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1258 background-color: transparent;
1261 #urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1266 /* page proxy icon */
1268 #page-proxy-favicon,
1280 #page-proxy-favicon:not([src]) {
1281 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1284 #page-proxy-favicon[pageproxystate="invalid"] {
1289 list-style-image: url("chrome://global/skin/icons/loading.gif");
1294 #treecolAutoCompleteImage {
1298 .ac-result-type-bookmark,
1299 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1300 list-style-image: url("chrome://browser/skin/places/bookmark.png");
1301 -moz-image-region: rect(0px 16px 16px 0px);
1306 .ac-result-type-keyword,
1307 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1308 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1309 -moz-image-region: rect(0px 32px 16px 16px);
1314 .ac-result-type-tag,
1315 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1316 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
1325 .ac-extra > .ac-comment {
1334 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1335 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1338 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1342 .ac-comment[selected="true"],
1343 .ac-url-text[selected="true"],
1344 .ac-action-text[selected="true"] {
1345 color: inherit !important;
1348 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1349 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1355 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1356 border-top: 1px solid #9C9CFF;
1362 list-style-image: url("chrome://browser/skin/Go-arrow.png");
1363 -moz-image-region: rect(0px, 16px, 16px, 0px);
1366 #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1367 -moz-transform: scaleX(-1);
1371 -moz-image-region: rect(16px, 16px, 32px, 0px);
1374 /* combined go/reload/stop button in location bar */
1376 #urlbar > toolbarbutton {
1377 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1379 -moz-margin-start: 0;
1381 background-origin: border-box;
1383 -moz-border-start: 1px solid #9C9CFF;
1386 #urlbar:-moz-locale-dir(ltr) > toolbarbutton {
1387 border-top-left-radius: 0px;
1388 border-bottom-left-radius: 0px;
1391 #urlbar:-moz-locale-dir(rtl) > toolbarbutton {
1392 border-top-right-radius: 0px;
1393 border-bottom-right-radius: 0px;
1396 #urlbar > toolbarbutton:not([disabled]):active:hover,
1397 #urlbar-reload-button:not(:hover) {
1398 -moz-border-start-style: none;
1399 -moz-padding-start: 4px;
1402 #urlbar > toolbarbutton:not([disabled]):active:hover {
1406 -moz-image-region: rect(0px, 56px, 14px, 42px);
1409 #urlbar-go-button:hover {
1410 -moz-image-region: rect(14px, 56px, 28px, 42px);
1413 #urlbar-reload-button {
1414 -moz-image-region: rect(0px, 28px, 14px, 14px);
1417 #urlbar-reload-button[disabled] {
1418 -moz-image-region: rect(0px, 14px, 14px, 0px);
1421 #urlbar-reload-button:not([disabled]):hover {
1422 -moz-image-region: rect(14px, 28px, 28px, 14px);
1425 #urlbar-stop-button {
1426 -moz-image-region: rect(0px, 42px, 14px, 28px);
1429 #urlbar-stop-button:hover {
1430 -moz-image-region: rect(14px, 42px, 28px, 28px);
1433 /* popup blocker button */
1435 #page-report-button {
1436 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1437 -moz-image-region: rect(0, 16px, 16px, 0);
1440 #page-report-button:hover ,
1441 #page-report-button:hover:active,
1442 #page-report-button[open="true"] {
1443 -moz-image-region: rect(0, 32px, 16px, 16px);
1449 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1450 -moz-image-region: rect(16px 16px 32px 0px);
1453 #star-button:hover {
1454 -moz-image-region: rect(16px 32px 32px 16px);
1457 #star-button:hover:active {
1458 -moz-image-region: rect(16px 48px 32px 32px);
1461 #star-button[starred="true"] {
1462 -moz-image-region: rect(0px 16px 16px 0px);
1465 #star-button[starred="true"]:hover {
1466 -moz-image-region: rect(0px 32px 16px 16px);
1469 #star-button[starred="true"]:hover:active {
1470 -moz-image-region: rect(0px 48px 16px 32px);
1473 /* bookmarking panel */
1474 #editBookmarkPanelStarIcon {
1475 list-style-image: url("chrome://browser/skin/places/starred48.png");
1480 #editBookmarkPanelStarIcon[unstarred] {
1481 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1484 #editBookmarkPanelTitle {
1488 #editBookmarkPanelHeader,
1489 #editBookmarkPanelContent {
1490 margin-bottom: .5em;
1493 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1494 #editBMPanel_folderTree {
1499 margin: 5px -6px -6px -6px;
1501 background-color: #000000;
1503 border-bottom-left-radius: 5px;
1504 border-bottom-right-radius: 5px;
1505 border-top: 1px solid #9C9CFF;
1509 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1510 -moz-margin-end: 10px;
1511 vertical-align: middle;
1514 .panel-promo-closebutton {
1515 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1516 -moz-margin-end: -3px;
1520 .panel-promo-closebutton:hover {
1521 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1524 .panel-promo-closebutton:hover:active {
1525 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1528 .panel-promo-closebutton > .toolbarbutton-text {
1533 /* ::::: content area ::::: */
1536 background-color: Window;
1540 -moz-padding-start: 0px;
1543 /* ::::: throbber ::::: */
1545 #navigator-throbber {
1551 #navigator-throbber[busy="true"] {
1552 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
1555 #navigator-throbber,
1556 #wrapper-navigator-throbber > #navigator-throbber {
1557 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
1565 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1568 #TabsToolbar .toolbar-holder {
1569 background-color: #000000; /* correct effect of being an actual toolbar */
1572 #main-window[disablechrome] #TabsToolbar,
1573 #TabsToolbar[tabsontop="false"] {
1574 border-bottom: 1px solid #FF9F00;
1578 .tabs-newtab-button {
1582 .tabbrowser-tab:hover,
1583 .tabs-newtab-button:hover {
1586 .tabbrowser-tab[selected="true"] {
1589 #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1592 .tabbrowser-tab:-moz-lwtheme {
1595 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1598 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1599 .tabs-newtab-button:-moz-lwtheme-brighttext {
1602 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1603 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1606 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1607 .tabs-newtab-button:-moz-lwtheme-darktext {
1610 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1611 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1614 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1615 background-color: #E7ADE7;
1617 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1618 background-color: #0000FF;
1626 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1627 -moz-image-region: auto;
1628 -moz-margin-end: 3px;
1632 list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
1635 .tab-throbber[progress] {
1636 list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
1639 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
1640 min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
1643 .tab-throbber[pinned],
1644 .tab-icon-image[pinned] {
1645 -moz-margin-start: 2px;
1646 -moz-margin-end: 2px;
1649 /* tabbrowser-tab focus ring */
1650 .tabbrowser-tab:focus > .tab-stack {
1651 outline: 1px dotted;
1654 /* Tab drag and drop */
1656 border: 0 !important;
1660 margin: 0 !important;
1662 border: 1px solid #8050B0;
1665 .tab-drag-panel:not([target]) > .tab-drag-label {
1670 border: 1px solid #9C9CFF;
1673 .tab-drop-indicator {
1674 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1675 margin-bottom: -11px;
1678 /* Tab close button */
1682 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1685 .tab-close-button:-moz-system-metric(touch-enabled) {
1686 -moz-transform: scale(1.2);
1689 .tab-close-button:hover,
1690 .tab-close-button:hover[selected="true"] {
1691 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1694 .tab-close-button:hover:active,
1695 .tab-close-button:hover:active[selected="true"] {
1696 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1699 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1701 @media all and (-moz-touch-enabled) {
1702 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1703 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1704 #TabsToolbar .toolbarbutton-1 {
1705 min-width: 8.1mozmm;
1708 .tabs-newtab-button {
1713 min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1717 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1718 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1724 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1725 background-color: #008484;
1728 .tabs-newtab-button > .toolbarbutton-icon {
1730 margin-bottom: -1px;
1733 .tabs-newtab-button,
1734 #TabsToolbar > #new-tab-button,
1735 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1736 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
1737 -moz-image-region: rect(0, 16px, 18px, 0);
1740 .tabs-newtab-button {
1744 #TabsToolbar > #new-tab-button {
1748 .tabs-newtab-button:hover,
1749 #TabsToolbar > #new-tab-button:hover {
1750 -moz-image-region: rect(0, 32px, 18px, 16px);
1754 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1755 -moz-image-region: rect(0, 14px, 16px, 0);
1758 #alltabs-button:hover,
1759 #alltabs-button:hover:active {
1760 -moz-image-region: rect(0, 28px, 16px, 14px);
1763 #alltabs-button[type="menu"] {
1764 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1765 -moz-image-region: auto;
1768 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1772 #alltabs-button[type="menu"]:hover,
1773 #alltabs-button[type="menu"]:hover:active,
1774 #alltabs-button[type="menu"][open="true"] {
1775 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1776 -moz-image-region: auto;
1779 /* All tabs menupopup */
1780 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1781 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
1782 -moz-image-region: auto;
1785 .alltabs-item[selected="true"] {
1789 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1790 list-style-image: url("chrome://global/skin/icons/loading.gif");
1793 .alltabs-item[tabIsVisible] {
1794 background-color: #402800;
1797 /* Tabstrip close button */
1802 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1805 .tabs-closebutton > .toolbarbutton-icon {
1808 .tabs-closebutton > .toolbarbutton-text {
1812 .tabs-closebutton:hover,
1813 .tabs-closebutton:hover:active {
1814 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1817 toolbarbutton.chevron {
1818 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1821 toolbarbutton.chevron:hover {
1822 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1825 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1826 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1827 -moz-transform: scaleX(-1);
1830 toolbarbutton.chevron > .toolbarbutton-text,
1831 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1835 toolbarbutton.chevron > .toolbarbutton-icon {
1839 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1840 display: -moz-box; /* display chevron icon in text mode */
1843 #sidebar-throbber[loading="true"] {
1844 list-style-image: url("chrome://global/skin/icons/loading.gif");
1845 -moz-margin-end: 4px;
1848 /* Bookmarks toolbar */
1849 #PlacesToolbarDropIndicator {
1850 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
1853 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1854 background-color: #008484 !important;
1855 color: #FFCF00 !important;
1858 /* rules for menupopup drop indicators */
1859 .menupopup-drop-indicator-bar {
1861 /* these two margins must together compensate the indicator's height */
1863 margin-bottom: -1px;
1866 .menupopup-drop-indicator {
1867 list-style-image: none;
1869 -moz-margin-end: -4em;
1870 background-color: #008484;
1873 /* ::::: Identity Indicator Styling ::::: */
1876 #identity-popup-icon {
1880 list-style-image: url("chrome://browser/skin/identity.png");
1881 -moz-image-region: rect(0px, 64px, 64px, 0px);
1884 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1885 -moz-image-region: rect(64px, 64px, 128px, 0px);
1888 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1889 -moz-image-region: rect(128px, 64px, 192px, 0px);
1892 /* Popup Body Text */
1893 .identity-popup-description {
1894 white-space: pre-wrap;
1895 -moz-padding-start: 15px;
1899 .identity-popup-label {
1900 white-space: pre-wrap;
1901 -moz-padding-start: 15px;
1905 #identity-popup-content-host ,
1906 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1910 #identity-popup-content-host {
1917 #identity-popup-content-owner {
1919 margin-bottom: 0 !important;
1924 .verifiedDomain > #identity-popup-content-owner {
1925 font-weight: normal;
1928 #identity-popup-content-verifier {
1932 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1933 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1935 -moz-margin-start: -24px;
1938 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1939 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1940 list-style-image: url("chrome://browser/skin/Secure24.png");
1943 #identity-popup-more-info-button {
1949 .popup-notification-icon {
1952 -moz-margin-end: 10px;
1955 .popup-notification-icon[popupid="geolocation"] {
1956 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
1959 .popup-notification-icon[popupid="xpinstall-disabled"],
1960 .popup-notification-icon[popupid="addon-progress"],
1961 .popup-notification-icon[popupid="addon-install-cancelled"],
1962 .popup-notification-icon[popupid="addon-install-blocked"],
1963 .popup-notification-icon[popupid="addon-install-failed"],
1964 .popup-notification-icon[popupid="addon-install-complete"] {
1965 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1970 .addon-progress-description {
1975 .popup-progress-label,
1976 .popup-progress-meter {
1977 -moz-margin-start: 0;
1981 .popup-progress-cancel {
1982 -moz-appearance: none;
1983 background: transparent;
1989 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
1990 -moz-image-region: rect(0px, 32px, 16px, 16px);
1993 .popup-progress-cancel:hover {
1994 -moz-image-region: rect(16px, 32px, 32px, 16px);
1997 .popup-progress-cancel:active {
1998 -moz-image-region: rect(32px, 32px, 48px, 16px);
2001 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2002 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2003 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2006 .popup-notification-icon[popupid="password-save"],
2007 .popup-notification-icon[popupid="password-change"] {
2008 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2011 /* Notification icon box */
2012 #notification-popup-box {
2014 background-color: #000000;
2015 background-clip: padding-box;
2017 border-radius: 3px 0 0 3px;
2018 -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2019 -moz-margin-end: -8px;
2022 #notification-popup-box:not([hidden]) + #identity-box {
2023 -moz-padding-start: 10px;
2026 #notification-popup-box:-moz-locale-dir(rtl),
2027 .notification-anchor-icon:-moz-locale-dir(rtl) {
2028 -moz-transform: scaleX(-1);
2031 .notification-anchor-icon {
2036 .notification-anchor-icon:-moz-focusring {
2037 outline: 1px dotted #008484;
2038 /* outline-offset: -3px; */
2041 #default-notification-icon {
2042 list-style-image: url("chrome://global/skin/icons/information-16.png");
2045 #geo-notification-icon {
2046 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
2049 #addons-notification-icon {
2050 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
2053 #indexedDB-notification-icon {
2054 list-style-image: url("chrome://global/skin/icons/question-16.png");
2057 #password-notification-icon {
2058 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
2061 #identity-popup-container {
2066 list-style-image: url("chrome://browser/skin/Toolbar.png");
2067 -moz-image-region: rect(0, 108px, 18px, 90px);
2070 /* Bookmarks roots menu-items */
2071 #appmenu_subscribeToPage:not([disabled]),
2072 #appmenu_subscribeToPageMenu,
2073 #subscribeToPageMenuitem:not([disabled]),
2074 #subscribeToPageMenupopup,
2075 #BMB_subscribeToPageMenuitem:not([disabled]),
2076 #BMB_subscribeToPageMenupopup {
2077 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
2080 #bookmarksToolbarFolderMenu,
2081 #appmenu_bookmarksToolbar,
2082 #BMB_bookmarksToolbar {
2083 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
2084 -moz-image-region: auto;
2087 #appmenu_unsortedBookmarks,
2088 #BMB_unsortedBookmarks {
2089 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
2090 -moz-image-region: auto;
2093 /* ::::: Keyboard UI Panel ::::: */
2098 border-radius: 20px;
2101 .KUI-panel[level="top"] {
2102 /*background-color: rgba(27%,27%,27%,.65);*/
2105 .KUI-panel-closebutton {
2106 list-style-image: url("KUI-close.png");
2111 .KUI-panel-closebutton:not(:hover) {
2114 .KUI-panel-closebutton > .toolbarbutton-icon {
2117 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
2122 padding: 20px 10px 10px;
2126 .ctrlTab-favicon[src] {
2127 background-color: #000000;
2133 .ctrlTab-preview-inner > .tabPreview-canvas {
2136 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2140 .ctrlTab-preview-inner {
2141 padding-bottom: 10px;
2144 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2146 background-color: #000000;
2147 border-radius: .5em;
2150 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2152 background-color: #000000;
2155 border: 2px solid #9C9CFF;
2156 border-radius: .5em;
2159 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2160 margin: -10px -10px 0;
2170 padding-bottom: 10px;
2178 -moz-margin-start: 24px;
2182 #allTabs-tab-close-button > .toolbarbutton-icon {
2186 .allTabs-favicon[src] {
2190 padding-bottom: 5px;
2191 -moz-padding-start: 1px;
2192 -moz-padding-end: 5px;
2194 -moz-margin-start: -2px;
2195 border-bottom-right-radius: 4px;
2198 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
2199 border-bottom-right-radius: 0;
2200 border-bottom-left-radius: 4px;
2203 .allTabs-preview-inner > .tabPreview-canvas {
2204 background-color: #E7ADE7;
2207 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
2210 .allTabs-preview:focus > * > .allTabs-preview-inner {
2211 outline: 1px dotted #008484;
2214 /* Inspector / Highlighter */
2216 #highlighter-panel {
2217 -moz-window-shadow: none;
2218 background: #000000;
2222 listitem.style-selector {
2223 background-color: #9C9CFF;
2227 listitem.style-section {
2228 background-color: #E7ADE7;
2233 panel[dimmed="true"] {
2241 border-top: 3px solid #000000;
2242 border-bottom-width: 0;
2245 #addon-bar .toolbar-holder {
2246 background-color: #8050B0;
2250 #addon-bar .toolbar-holder {
2251 background-color: #8050B0;
2255 #addon-bar .toolbar-startcap,
2256 #addon-bar .toolbar-endcap{
2257 background-color: #6000CF;
2261 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
2266 /* Remove all borders from statusbarpanel children of
2268 #status-bar > statusbarpanel {
2272 #addonbar-closebutton {
2275 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2278 #addonbar-closebutton:hover,
2279 #addonbar-closebutton:hover:active {
2280 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2285 .statuspanel-label {
2288 background: #404000;
2289 border: 1px none #9C9CFF;
2290 border-top-style: solid;
2295 .statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2296 .statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2297 border-right-style: solid;
2298 border-top-right-radius: .3em;
2302 .statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2303 .statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2304 border-left-style: solid;
2305 border-top-left-radius: .3em;
2309 /* HACK to abolish devily color on main content */
2312 background-color: transparent !important;
2318 background-color: rgba(0, 0, 0, 0.5);
2321 #highlighter-close-button {
2322 list-style-image: url("chrome://browser/skin/KUI-close.png");
2328 #highlighter-close-button:-moz-locale-dir(rtl) {
2333 highlighter-veil-transparentbox {
2334 box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
2335 outline: 1px dashed rgba(255,255,255,0.5);
2336 outline-offset: -1px;
2339 #highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox {
2340 box-shadow: 0 0 0 1px black;
2341 outline-color: white;
2345 * need a "bumpy" background image for this!
2347 #inspector-horizontal-splitter {
2348 background: none !important;
2349 -moz-appearance: none;