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");
56 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
60 -moz-box-orient: vertical; /* for flex hack */
64 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
70 #navigator-toolbox > toolbar:not(:-moz-lwtheme) {
73 #main-window[tabsintitlebar] #titlebar-content:not(:-moz-lwtheme),
74 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
76 background-color: #6000CF;
79 #main-window[tabsintitlebar] #titlebar-content:not(:-moz-lwtheme):-moz-window-inactive,
80 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
81 background-color: #8050B0;
85 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
88 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
89 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
93 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar)[iconsize="small"],
94 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar)[defaulticonsize="small"]:not([iconsize]) {
99 #nav-bar:not(:-moz-lwtheme),
100 #nav-bar[collapsed="true"] + toolbar:not(:-moz-lwtheme),
101 #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme),
102 #navigator-toolbox[tabsontop="true"] > #nav-bar,
103 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar,
104 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar {
105 /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
108 #navigator-toolbox[tabsontop="false"] > #toolbar-menubar:not(:-moz-lwtheme) {
109 /* background-image: -moz-linear-gradient(@toolbarHighlight@, @toolbarHighlight@); */
112 #navigator-toolbox[tabsontop="true"] > #nav-bar:not(:-moz-lwtheme),
113 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar:not(:-moz-lwtheme),
114 #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar:not(:-moz-lwtheme) {
117 #personal-bookmarks {
121 #print-preview-toolbar:not(:-moz-lwtheme) {
122 /* -moz-appearance: toolbox; */
125 /* ::::: app menu button ::::: */
128 background-color: #FF9F00;
129 background-clip: padding-box;
132 border-left: 3px solid #000000;
133 border-right: 3px solid #000000;
136 padding: 0 1.5em .05em;
140 #main-window[privatebrowsingmode=temporary] #appmenu-button {
141 background-color: #6000CF;
145 #appmenu-button:hover,
146 #appmenu-button:hover:active,
147 #appmenu-button[open] {
148 background-color: #FFCF00;
152 #appmenu-button > .button-box > .button-menu-dropmarker {
153 list-style-image: url("appmenu-dropmarker.png");
158 -moz-margin-start: .5em;
165 .appmenu-edit-button {
168 .appmenu-edit-button[disabled="true"] {
171 #appmenuPrimaryPane {
172 -moz-border-end: 1px solid #9C9CFF;
177 #appmenuPrimaryPane {
179 #appmenuSecondaryPane {
181 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
184 #appmenuSecondaryPane menupopup {
187 .appmenu-menuseparator {
190 .appmenu-edit-button:not([disabled]):hover {
193 #appmenuSecondaryPane-spacer {
198 #appmenu_print_popup,
199 .appmenu-edit-button,
201 list-style-image: url("appmenu-icons.png");
205 -moz-image-region: rect(0 16px 16px 0);
209 -moz-image-region: rect(0 32px 16px 16px);
213 -moz-image-region: rect(0 48px 16px 32px);
217 #appmenu_print_popup {
218 -moz-image-region: rect(0 64px 16px 48px);
222 -moz-image-region: rect(0 80px 16px 64px);
225 #appmenu-edit-label {
226 -moz-appearance: none;
227 background: transparent;
232 list-style-image: url("chrome://browser/skin/places/bookmark.png");
233 -moz-image-region: rect(0px 48px 16px 32px);
236 #appmenu_privateBrowsing {
237 list-style-image: url("chrome://browser/skin/Privacy-16.png");
241 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
244 #BMB_bookmarkThisPage,
245 #appmenu_bookmarkThisPage {
246 list-style-image: url("chrome://browser/skin/places/bookmark.png");
247 -moz-image-region: rect(0 16px 16px 0);
250 /* ::::: titlebar ::::: */
252 #main-window[sizemode="normal"] > #titlebar {
255 #main-window[sizemode="maximized"] > #titlebar {
258 #titlebar-buttonbox {
261 #main-window[sizemode="maximized"] #titlebar-buttonbox {
264 .titlebar-placeholder[type="appmenu-button"] {
268 .titlebar-placeholder[type="caption-buttons"] {
272 /* titlebar command buttons */
280 #main-window[sizemode="maximized"] #titlebar-max {
286 /* ::::: bookmark buttons ::::: */
288 toolbarbutton.bookmark-item {
293 toolbarbutton.bookmark-item:hover:active:not([disabled="true"]),
294 toolbarbutton.bookmark-item[open="true"] {
297 -moz-padding-start: 4px;
298 -moz-padding-end: 2px;
301 .bookmark-item > .toolbarbutton-icon {
306 /* Prevent [mode="icons"] from hiding the label */
307 .bookmark-item > .toolbarbutton-text {
308 display: -moz-box !important;
311 .bookmark-item > .toolbarbutton-menu-dropmarker {
315 #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
318 background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat;
321 .bookmarks-toolbar-customize {
322 max-width: 15em !important;
323 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
326 /* ::::: bookmark menus ::::: */
329 menuitem.bookmark-item {
334 .bookmark-item > .menu-iconic-left {
339 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
340 -moz-padding-start: 0px;
343 /* ::::: bookmark items ::::: */
346 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
349 .bookmark-item[container] {
350 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
353 .bookmark-item[container][open] {
354 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
357 .bookmark-item[container][livemark] {
358 list-style-image: url("chrome://browser/skin/livemark-folder.png");
359 -moz-image-region: auto;
362 .bookmark-item[container][livemark] .bookmark-item {
363 list-style-image: url("chrome://browser/skin/livemark-item.png");
364 -moz-image-region: auto;
367 .bookmark-item[container][query] {
368 list-style-image: url("chrome://browser/skin/places/query.png");
369 -moz-image-region: auto;
372 .bookmark-item[query][tagContainer] {
373 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
374 -moz-image-region: auto;
377 .bookmark-item[query][dayContainer] {
378 list-style-image: url("chrome://browser/skin/places/calendar.png");
379 -moz-image-region: auto;
382 .bookmark-item[query][hostContainer] {
383 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
386 .bookmark-item[query][hostContainer][open] {
387 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
390 /* ::::: primary toolbar buttons ::::: */
392 /* ::::: large toolbar buttons ::::: */
395 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
400 .toolbarbutton-1:not([type="menu-button"]) {
401 -moz-box-orient: vertical;
405 .toolbarbutton-1 > .toolbarbutton-menubutton-button,
406 .toolbarbutton-1[disabled="true"]:hover:active,
407 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
411 .toolbarbutton-1:hover:active,
412 .toolbarbutton-1[open="true"],
413 .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
416 -moz-padding-start: 3px;
417 -moz-padding-end: 1px;
420 .toolbarbutton-1[type="menu"] {
421 -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-vertical");
424 /* ::::: small primary toolbar buttons ::::: */
426 toolbar[mode="text"] .toolbarbutton-1,
427 toolbar[mode="icons"] .toolbarbutton-1,
428 toolbar[iconsize="small"] .toolbarbutton-1,
429 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
430 toolbar[mode="text"] .toolbarbutton-menubutton-button,
431 toolbar[mode="icons"] .toolbarbutton-menubutton-button,
432 toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
433 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
438 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
441 -moz-padding-start: 1px;
442 -moz-padding-end: 1px;
445 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
446 toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
447 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
449 padding-bottom: 13px;
450 -moz-padding-start: 1px;
451 -moz-padding-end: 1px;
454 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
455 toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
458 -moz-padding-start: 0px;
459 -moz-padding-end: 2px;
462 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
463 toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
464 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
465 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
466 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
467 :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
469 padding-bottom: 12px;
470 -moz-padding-start: 0px;
471 -moz-padding-end: 2px;
474 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
475 padding-top: 4px !important;
476 padding-bottom: 8px !important;
477 -moz-padding-start: 1px !important;
478 -moz-padding-end: 1px !important;
481 toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
482 toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
483 padding-top: 0px !important;
484 padding-bottom: 13px !important;
485 -moz-padding-start: 1px !important;
486 -moz-padding-end: 1px !important;
489 toolbar[mode="icons"] .toolbarbutton-text,
490 toolbar[mode="text"] .toolbarbutton-icon {
494 toolbar[mode="text"] .toolbarbutton-text {
498 toolbar[mode="text"] .toolbarbutton-1,
499 toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
500 -moz-box-orient: horizontal;
503 toolbar[mode="full"] .toolbarbutton-1,
504 toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
508 /* unified back/forward button */
511 -moz-image-region: rect(0, 18px, 18px, 0);
516 -moz-image-region: rect(0, 36px, 18px, 18px);
518 -moz-margin-start: 0;
521 #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
522 #forward-button:-moz-locale-dir(rtl),
523 #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
524 -moz-transform: scaleX(-1);
527 #back-button:-moz-locale-dir(ltr) {
528 border-top-right-radius: 0;
529 border-bottom-right-radius: 0;
532 #back-button:-moz-locale-dir(rtl),
534 border-top-left-radius: 0;
535 border-bottom-left-radius: 0;
538 toolbar:not([iconsize="small"])[mode="icons"] #back-button {
539 border-radius: 10000px;
547 -moz-image-region: rect(18px, 20px, 38px, 0);
550 toolbar:not([iconsize="small"])[mode="icons"] #back-button:not([disabled="true"]):not([checked="true"]):not(:active):hover {
553 toolbar:not([iconsize="small"])[mode="icons"] #back-button:not([disabled="true"]):hover:active {
556 toolbar:not([iconsize="small"])[mode="icons"][currentset*="unified-back-forward-button"],
557 #nav-bar:not([iconsize="small"])[mode="icons"]:not([currentset]) {
559 padding-bottom: 5px; */
562 #navigator-toolbox[tabsontop="true"] > toolbar:not([iconsize="small"])[mode="icons"][currentset*="unified-back-forward-button"],
563 #navigator-toolbox[tabsontop="true"] > #nav-bar:not([iconsize="small"])[mode="icons"]:not([currentset]) {
564 /* padding-top: 5px; */
567 toolbar:not([iconsize="small"])[mode="icons"] #forward-button {
568 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
569 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
570 -moz-margin-start: -6px;
575 toolbar:not([iconsize="small"])[mode="icons"] #forward-button:not([disabled="true"]):not(:active):hover {
576 /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
577 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
580 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
581 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
582 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
585 .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
586 .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
587 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
593 -moz-image-region: rect(0, 54px, 18px, 36px);
599 -moz-image-region: rect(0, 72px, 18px, 54px);
604 #home-button.bookmark-item {
605 list-style-image: url("chrome://browser/skin/Toolbar.png");
608 -moz-image-region: rect(0, 90px, 18px, 72px);
614 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
615 -moz-image-region: rect(0, 90px, 18px, 72px);
618 #tabview-button[groups="0"] {
619 -moz-image-region: rect(0, 18px, 18px, 0);
622 #tabview-button[groups="1"] {
623 -moz-image-region: rect(0, 36px, 18px, 18px);
626 #tabview-button[groups="2"] {
627 -moz-image-region: rect(0, 54px, 18px, 36px);
630 #tabview-button[groups="3"] {
631 -moz-image-region: rect(0, 72px, 18px, 54px);
634 /* download manager button */
637 -moz-image-region: rect(0, 108px, 18px, 90px);
640 /* history sidebar button */
643 -moz-image-region: rect(0, 126px, 18px, 108px);
646 /* bookmark sidebar & menu buttons */
649 #bookmarks-menu-button {
650 -moz-image-region: rect(0, 144px, 18px, 126px);
653 #bookmarks-menu-button.bookmark-item {
654 list-style-image: url("chrome://browser/skin/Toolbar.png");
657 #bookmarks-menu-button.toolbarbutton-1 {
658 -moz-box-orient: horizontal;
664 -moz-image-region: rect(0, 162px, 18px, 144px);
667 /* toolbar new tab button */
670 -moz-image-region: rect(0, 180px, 18px, 162px);
673 /* new window button */
676 -moz-image-region: rect(0, 198px, 18px, 180px);
682 -moz-image-region: rect(0, 216px, 18px, 198px);
688 -moz-image-region: rect(0, 234px, 18px, 216px);
694 -moz-image-region: rect(0, 252px, 18px, 234px);
697 /* fullscreen button */
700 -moz-image-region: rect(0, 270px, 18px, 252px);
706 -moz-image-region: rect(0, 288px, 18px, 270px);
711 -moz-image-region: rect(0, 306px, 18px, 288px);
712 -moz-border-start: none;
713 -moz-margin-start: 0;
716 #zoom-out-button:-moz-locale-dir(ltr),
717 #zoom-in-button:-moz-locale-dir(rtl) {
718 border-top-right-radius: 0;
719 border-bottom-right-radius: 0;
722 #zoom-out-button:-moz-locale-dir(rtl),
723 #zoom-in-button:-moz-locale-dir(ltr) {
724 border-top-left-radius: 0;
725 border-bottom-left-radius: 0;
731 -moz-image-region: rect(0, 324px, 18px, 306px);
734 #sync-button[status="active"] {
735 list-style-image: url("chrome://browser/skin/sync-throbber.png");
736 -moz-image-region: rect(0, 18px, 18px, 0);
742 -moz-image-region: rect(0, 342px, 18px, 324px);
745 /* ::::: fullscreen window controls ::::: */
747 #TabsToolbar > #window-controls {
748 -moz-margin-start: 4px;
758 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
761 #minimize-button:hover {
762 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
766 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
769 #restore-button:hover {
770 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
774 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
777 #close-button:hover {
778 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
781 /* ::::: Location Bar ::::: */
792 -moz-margin-start: 3px;
795 .urlbar-textbox-container {
796 border-radius: 3px 0 0 3px;
811 #urlbar:-moz-lwtheme,
812 .searchbar-textbox:-moz-lwtheme {
813 /* background-color: rgba(255,255,255,.8);
814 @navbarTextboxCustomBorder@
818 html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
819 .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
823 #urlbar:-moz-lwtheme[focused="true"],
824 .searchbar-textbox:-moz-lwtheme[focused="true"] {
825 /* background-color: white; */
829 -moz-box-orient: horizontal;
830 -moz-box-align: stretch;
835 -moz-box-align: center;
839 padding: 0 2px !important;
842 .urlbar-icon:-moz-system-metric(touch-enabled) {
843 -moz-margin-end: 1px !important;
844 padding: 0 3px !important;
847 #urlbar-search-splitter {
849 -moz-margin-start: -3px;
851 background: transparent;
854 #urlbar-search-splitter + #urlbar-container > #urlbar ,
855 #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
856 -moz-margin-start: 0;
859 .urlbar-frontcap-and-textbox {
861 -moz-box-align: stretch;
867 -moz-border-end: 1px solid #9C9CFF;
868 -moz-margin-end: 3px;
877 /* over-link in location bar */
879 .urlbar-origin-label {
884 .urlbar-over-link-box {
888 padding: 0 5px 0 18px;
890 background: url("chrome://browser/skin/urlbar-over-link-arrow.png") no-repeat left center;
893 .urlbar-over-link-host-label,
894 .urlbar-over-link-path-label {
902 background-color: #000000;
907 #identity-box:hover {
908 background-color: #9C9CFF;
912 #identity-box[open="true"],
913 #identity-box:hover:active {
914 background-color: #FF9F00;
918 #identity-box.verifiedDomain {
919 background-color: #FFCF00;
923 #identity-box.verifiedIdentity {
924 background-color: #008484;
928 #identity-box:-moz-focusring {
929 outline: 1px dotted #008484;
930 outline-offset: -3px;
933 #identity-box.verifiedDomain:-moz-focusring,
934 #identity-box.verifiedIdentity:-moz-focusring {
935 outline-color: #000000;
938 #identity-icon-labels {
939 -moz-margin-start: 1px;
940 -moz-margin-end: 3px;
941 -moz-transform: translate(0, -1px);
944 /* Location bar dropmarker */
946 .urlbar-history-dropmarker {
947 -moz-appearance: none;
949 background-color: transparent;
952 list-style-image: url("mainwindow-dropdown-arrow.png");
953 -moz-image-region: rect(0, 13px, 11px, 0);
956 .urlbar-history-dropmarker:-moz-system-metric(touch-enabled) {
960 .urlbar-history-dropmarker:hover:active,
961 .urlbar-history-dropmarker[open="true"] {
962 -moz-image-region: rect(0, 26px, 11px, 13px);
965 /* page proxy icon */
977 background: url("urlbar-favicon-glow.png") center center no-repeat;
980 #page-proxy-favicon:not([src]) {
981 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
984 #page-proxy-favicon[pageproxystate="invalid"] {
985 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
989 list-style-image: url("chrome://global/skin/icons/loading.gif");
995 #PopupAutoCompleteRichResult {
996 direction: ltr !important;
999 #PopupAutoComplete:-moz-locale-dir(rtl) > tree > treerows {
1003 #PopupAutoComplete .autocomplete-treebody {
1007 #treecolAutoCompleteImage {
1011 .ac-result-type-bookmark,
1012 .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1013 list-style-image: url("chrome://browser/skin/places/editBookmark.png");
1014 -moz-image-region: rect(0px 16px 16px 0px);
1019 .ac-result-type-keyword,
1020 .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1021 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1022 -moz-image-region: rect(0px 32px 16px 16px);
1027 .ac-result-type-tag,
1028 .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
1029 list-style-image: url("chrome://browser/skin/places/tag.png");
1038 .ac-extra > .ac-comment {
1047 richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1048 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
1051 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1055 .ac-comment[selected="true"],
1056 .ac-url-text[selected="true"],
1057 .ac-action-text[selected="true"] {
1058 color: inherit !important;
1061 .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1062 .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
1068 .autocomplete-treebody::-moz-tree-cell(suggesthint) {
1069 border-top: 1px solid #9C9CFF;
1075 list-style-image: url("chrome://browser/skin/Go-arrow.png");
1076 -moz-image-region: rect(0px, 16px, 16px, 0px);
1080 -moz-image-region: rect(16px, 16px, 32px, 0px);
1083 /* combined go/reload/stop button in location bar */
1085 #urlbar > toolbarbutton {
1086 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
1088 background-origin: border-box;
1090 border-left: 1px solid #9C9CFF;
1091 border-top-right-radius: 2px;
1092 border-bottom-right-radius: 2px;
1095 #urlbar > toolbarbutton:not([disabled]):active:hover {
1101 -moz-image-region: rect(0px, 56px, 14px, 42px);
1104 #urlbar-go-button:hover {
1107 #urlbar-reload-button {
1108 -moz-image-region: rect(0px, 14px, 14px, 0px);
1111 #urlbar-reload-button:not([disabled]):hover {
1112 -moz-image-region: rect(0px, 28px, 14px, 14px);
1115 #urlbar-stop-button {
1116 -moz-image-region: rect(0px, 42px, 14px, 28px);
1119 #urlbar-stop-button:hover {
1122 /* popup blocker button */
1124 #page-report-button {
1125 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1126 -moz-image-region: rect(0, 16px, 16px, 0);
1129 #page-report-button:hover {
1130 -moz-image-region: rect(0, 32px, 16px, 16px);
1133 #page-report-button:hover:active,
1134 #page-report-button[open="true"] {
1135 -moz-image-region: rect(0, 48px, 16px, 32px);
1141 list-style-image: url("chrome://browser/skin/places/bookmark.png");
1142 -moz-image-region: rect(0px 16px 16px 0px);
1145 #star-button:hover {
1146 -moz-image-region: rect(0px 32px 16px 16px);
1149 #star-button:hover:active {
1150 -moz-image-region: rect(0px 48px 16px 32px);
1153 #star-button[starred="true"] {
1154 list-style-image: url("chrome://browser/skin/places/editBookmark.png");
1157 /* bookmarking panel */
1158 #editBookmarkPanelStarIcon {
1159 list-style-image: url("chrome://browser/skin/places/starred48.png");
1164 #editBookmarkPanelStarIcon[unstarred] {
1165 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
1168 #editBookmarkPanelTitle {
1172 #editBookmarkPanelHeader,
1173 #editBookmarkPanelContent {
1174 margin-bottom: .5em;
1177 /* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1178 #editBMPanel_folderTree {
1182 /* ::::: content area ::::: */
1185 background-color: Window;
1189 -moz-padding-start: 0px;
1192 /* ::::: throbber ::::: */
1194 #navigator-throbber {
1200 #navigator-throbber[busy="true"] {
1201 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
1204 #navigator-throbber,
1205 #wrapper-navigator-throbber > #navigator-throbber {
1206 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
1215 #TabsToolbar[tabsontop="false"] {
1216 border-bottom: 1px solid #FF9F00;
1219 #tabbrowser-tabs[tabsontop="true"] > .tabbrowser-arrowscrollbox > scrollbox:not(:-moz-lwtheme) {
1220 margin-bottom: -1px;
1225 .tabs-newtab-button {
1229 .tabbrowser-tab:hover,
1230 .tabs-newtab-button:hover {
1233 .tabbrowser-tab[selected="true"] {
1236 .tabbrowser-tab:-moz-lwtheme {
1239 .tabbrowser-tab[selected="true"]:-moz-lwtheme {
1242 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1243 .tabs-newtab-button:-moz-lwtheme-brighttext {
1246 .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1247 .tabs-newtab-button:-moz-lwtheme-brighttext:hover {
1250 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1251 .tabs-newtab-button:-moz-lwtheme-darktext {
1254 .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1255 .tabs-newtab-button:-moz-lwtheme-darktext:hover {
1258 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1259 background-color: #E7ADE7;
1261 .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1262 background-color: #0000FF;
1270 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
1271 -moz-image-region: rect(0px, 16px, 16px, 0px);
1272 -moz-margin-end: 3px;
1276 list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
1279 .tab-throbber[progress] {
1280 list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
1283 .tabbrowser-tab[pinned] {
1284 min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
1287 .tab-throbber[pinned],
1288 .tab-icon-image[pinned] {
1289 -moz-margin-start: 2px;
1290 -moz-margin-end: 2px;
1293 /* tabbrowser-tab focus ring */
1294 .tabbrowser-tab:focus > .tab-stack {
1295 outline: 1px dotted;
1298 /* Tab DnD indicator */
1299 .tab-drop-indicator {
1300 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
1303 /* Tab close button */
1307 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1310 .tab-close-button:-moz-system-metric(touch-enabled) {
1311 -moz-transform: scale(1.2);
1314 .tab-close-button:hover,
1315 .tab-close-button:hover[selected="true"] {
1316 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1319 .tab-close-button:hover:active,
1320 .tab-close-button:hover:active[selected="true"] {
1321 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1324 .tab-close-button:focus {
1325 outline: none !important;
1328 /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1330 @media all and (-moz-touch-enabled) {
1331 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1332 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1333 #TabsToolbar .toolbarbutton-1 {
1334 min-width: 8.1mozmm;
1337 .tabs-newtab-button {
1342 min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1346 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1347 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1348 list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png");
1349 -moz-image-region: rect(0, 15px, 17px, 0);
1355 .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled="true"],
1356 .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled="true"] {
1360 .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled="true"]):hover:active,
1361 .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled="true"]):hover:active {
1362 -moz-image-region: rect(0, 30px, 17px, 15px);
1365 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1366 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) > .toolbarbutton-icon {
1367 -moz-transform: scaleX(-1);
1370 .tabbrowser-arrowscrollbox > .scrollbutton-down {
1373 .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1374 background-color: #008484;
1377 .tabs-newtab-button > .toolbarbutton-icon {
1379 margin-bottom: -1px;
1382 .tabs-newtab-button,
1383 #TabsToolbar > #new-tab-button,
1384 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
1385 list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
1386 -moz-image-region: rect(0, 16px, 18px, 0);
1389 .tabs-newtab-button {
1393 .tabs-newtab-button:hover:active,
1394 #TabsToolbar > #new-tab-button:hover:active {
1395 -moz-image-region: rect(0, 32px, 18px, 16px);
1399 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1400 -moz-image-region: rect(0, 14px, 16px, 0);
1403 #alltabs-button:hover:active {
1404 -moz-image-region: rect(0, 28px, 16px, 14px);
1407 #alltabs-button[type="menu"] {
1408 list-style-image: url("chrome://browser/skin/mainwindow-dropdown-arrow.png");
1409 -moz-image-region: rect(0, 13px, 11px, 0);
1412 #alltabs-button[type="menu"] > .toolbarbutton-icon {
1416 #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1420 #alltabs-button[type="menu"]:hover:active,
1421 #alltabs-button[type="menu"][open="true"] {
1422 -moz-image-region: rect(0, 26px, 11px, 13px);
1425 /* All tabs menupopup */
1426 .alltabs-item > .menu-iconic-left > .menu-iconic-icon {
1427 list-style-image: url("chrome://global/skin/icons/folder-item.png");
1428 -moz-image-region: rect(0px, 16px, 16px, 0px);
1431 .alltabs-item[selected="true"] {
1435 .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1436 list-style-image: url("chrome://global/skin/icons/loading.gif");
1439 /* Tabstrip close button */
1444 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1447 .tabs-closebutton:hover,
1448 .tabs-closebutton:hover:active {
1449 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1452 toolbarbutton.chevron {
1453 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
1456 toolbarbutton.chevron:hover {
1457 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
1460 toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1461 toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1462 -moz-transform: scaleX(-1);
1465 toolbarbutton.chevron > .toolbarbutton-text,
1466 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1470 toolbarbutton.chevron > .toolbarbutton-icon {
1474 toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1475 display: -moz-box; /* display chevron icon in text mode */
1478 #sidebar-throbber[loading="true"] {
1479 list-style-image: url("chrome://global/skin/icons/loading.gif");
1480 -moz-margin-end: 4px;
1483 /* Bookmarks toolbar */
1484 #PlacesToolbarDropIndicator {
1485 list-style-image: url("chrome://browser/skin/places/toolbarDropMarker.png");
1488 toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1489 background-color: #008484 !important;
1490 color: #FFCF00 !important;
1493 /* rules for menupopup drop indicators */
1494 .menupopup-drop-indicator-bar {
1496 /* these two margins must together compensate the indicator's height */
1498 margin-bottom: -1px;
1501 .menupopup-drop-indicator {
1502 list-style-image: none;
1504 -moz-margin-end: -4em;
1505 background-color: #008484;
1508 /* ::::: Identity Indicator Styling ::::: */
1511 #identity-popup-icon {
1515 list-style-image: url("chrome://browser/skin/identity.png");
1516 -moz-image-region: rect(0px, 64px, 64px, 0px);
1519 #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1520 -moz-image-region: rect(64px, 64px, 128px, 0px);
1523 #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1524 -moz-image-region: rect(128px, 64px, 192px, 0px);
1527 /* Popup Body Text */
1528 .identity-popup-description {
1529 white-space: pre-wrap;
1530 -moz-padding-start: 15px;
1534 .identity-popup-label {
1535 white-space: pre-wrap;
1536 -moz-padding-start: 15px;
1540 #identity-popup-content-host ,
1541 #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1545 #identity-popup-content-host {
1552 #identity-popup-content-owner {
1554 margin-bottom: 0 !important;
1559 .verifiedDomain > #identity-popup-content-owner {
1560 font-weight: normal;
1563 #identity-popup-content-verifier {
1567 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1568 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1570 -moz-margin-start: -24px;
1573 #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1574 #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1575 list-style-image: url("chrome://browser/skin/Secure24.png");
1578 #identity-popup-more-info-button {
1584 .popup-notification-icon {
1587 -moz-margin-end: 10px;
1590 .popup-notification-icon[popupid="geolocation"] {
1591 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
1594 .geolocation-text-link {
1598 .popup-notification-icon[popupid="xpinstall-disabled"],
1599 .popup-notification-icon[popupid="addon-progress"],
1600 .popup-notification-icon[popupid="addon-install-cancelled"],
1601 .popup-notification-icon[popupid="addon-install-blocked"],
1602 .popup-notification-icon[popupid="addon-install-failed"],
1603 .popup-notification-icon[popupid="addon-install-complete"] {
1604 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1609 .addon-progress-description {
1614 .popup-progress-label,
1615 .popup-progress-meter {
1616 -moz-margin-start: 0;
1620 .popup-progress-cancel {
1621 -moz-appearance: none;
1622 background: transparent;
1628 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
1629 -moz-image-region: rect(0px, 32px, 16px, 16px);
1632 .popup-progress-cancel:hover {
1633 -moz-image-region: rect(16px, 32px, 32px, 16px);
1636 .popup-progress-cancel:active {
1637 -moz-image-region: rect(32px, 32px, 48px, 16px);
1640 .popup-notification-icon[popupid="indexedDB-permissions-prompt"],
1641 .popup-notification-icon[popupid="indexedDB-quota-prompt"] {
1642 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
1645 .popup-notification-icon[popupid="password-save"],
1646 .popup-notification-icon[popupid="password-change"] {
1647 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
1650 /* Notification icon box */
1651 #notification-popup-box {
1655 .notification-anchor-icon {
1660 .notification-anchor-icon:-moz-focusring {
1661 outline: 1px dotted -moz-DialogText;
1662 outline-offset: -3px;
1665 #default-notification-icon {
1666 list-style-image: url("chrome://global/skin/icons/information-16.png");
1669 #geo-notification-icon {
1670 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
1673 #addons-notification-icon {
1674 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
1677 #indexedDB-notification-icon {
1678 list-style-image: url("chrome://global/skin/icons/question-16.png");
1681 #password-notification-icon {
1682 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
1685 #identity-popup-container {
1690 list-style-image: url("chrome://browser/skin/Toolbar.png");
1691 -moz-image-region: rect(0, 108px, 18px, 90px);
1694 /* Bookmarks roots menu-items */
1695 #appmenu_subscribeToPage:not([disabled]),
1696 #appmenu_subscribeToPageMenu,
1697 #subscribeToPageMenuitem:not([disabled]),
1698 #subscribeToPageMenupopup,
1699 #BMB_subscribeToPageMenuitem:not([disabled]),
1700 #BMB_subscribeToPageMenupopup {
1701 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
1704 #bookmarksToolbarFolderMenu,
1705 #appmenu_bookmarksToolbar,
1706 #BMB_bookmarksToolbar {
1707 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
1708 -moz-image-region: auto;
1711 #appmenu_unsortedBookmarks,
1712 #BMB_unsortedBookmarks {
1713 list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
1714 -moz-image-region: auto;
1717 /* ::::: Keyboard UI Panel ::::: */
1722 border-radius: 20px;
1725 .KUI-panel[level="top"] {
1726 /*background-color: rgba(27%,27%,27%,.65);*/
1729 .KUI-panel-closebutton {
1730 list-style-image: url("KUI-close.png");
1735 .KUI-panel-closebutton:not(:hover) {
1738 .KUI-panel-closebutton > .toolbarbutton-icon {
1741 /* ::::: Ctrl-Tab and All Tabs Panels ::::: */
1746 padding: 20px 10px 10px;
1750 .ctrlTab-favicon[src] {
1751 background-color: #000000;
1757 .ctrlTab-preview-inner > .tabPreview-canvas {
1760 .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
1764 .ctrlTab-preview-inner {
1765 padding-bottom: 10px;
1768 #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
1770 background-color: #000000;
1771 border-radius: .5em;
1774 .ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
1776 background-color: #000000;
1779 border: 2px solid #9C9CFF;
1780 border-radius: .5em;
1783 .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
1784 margin: -10px -10px 0;
1794 padding-bottom: 10px;
1802 -moz-margin-start: 24px;
1806 #allTabs-tab-close-button > .toolbarbutton-icon {
1810 .allTabs-favicon[src] {
1814 padding-bottom: 5px;
1815 -moz-padding-start: 1px;
1816 -moz-padding-end: 5px;
1818 -moz-margin-start: -2px;
1819 border-bottom-right-radius: 4px;
1822 .allTabs-favicon[src]:-moz-locale-dir(rtl) {
1823 border-bottom-right-radius: 0;
1824 border-bottom-left-radius: 4px;
1827 .allTabs-preview-inner > .tabPreview-canvas {
1828 background-color: #E7ADE7;
1831 .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
1834 .allTabs-preview:focus > * > .allTabs-preview-inner {
1835 outline: 1px dotted #008484;
1838 /* Inspector / Highlighter */
1840 #highlighter-panel {
1841 -moz-window-shadow: none;
1842 background: #000000;
1846 listitem.style-selector {
1847 background-color: #9C9CFF;
1851 listitem.style-section {
1852 background-color: #E7ADE7;
1857 panel[dimmed="true"] {
1861 /* Vertically-center the statusbar compatibility shim, because
1862 toolbars, even in small-icon mode, are a bit taller than
1863 statusbars. Also turn off the statusbar border. On Windows
1864 we have to disable borders on statusbar *and* child statusbar
1871 /* Remove all borders from statusbarpanel children of
1873 #status-bar > statusbarpanel {
1877 /* Add-on bar close button */
1878 #addonbar-closebutton {
1881 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1884 #addonbar-closebutton:hover,
1885 #addonbar-closebutton:hover:active {
1886 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");