1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
6 @import url("chrome://communicator/content/communicator.css");
7 @import url("chrome://communicator/skin/brand.css");
8 @import url("chrome://communicator/skin/button.css");
9 @import url("chrome://communicator/skin/toolbar.css");
11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
13 /* ==== communicator.css ====================================================
14 == Styles shared everywhere throughout the Communicator suite.
15 ========================================================================== */
18 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar");
22 toolbar[type="menubar"] {
23 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippymenubar");
27 -moz-binding: url("chrome://global/skin/globalBindings.xml#grippytoolbar-primary");
30 toolbar[xpfe="false"] {
31 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
34 menubar[xpfe="false"] {
35 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
38 /* ::::: autocomplete ::::: */
40 .autocomplete-history-popup {
44 /* ::::: online/offline icons ::::: */
46 #offline-status[offline="true"] {
47 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
51 list-style-image: url("chrome://communicator/skin/icons/online.gif");
54 /* ::::: spell checker ::::: */
60 /* ::::: directional button icons ::::: */
63 list-style-image:url("chrome://global/skin/arrow/arrow-up-hover.gif");
67 .up[disabled="true"] {
72 list-style-image:url("chrome://global/skin/arrow/arrow-down-hover.gif");
75 .down[disabled="true"] {
80 margin: 0px !important;
83 /* ::::: iconic menus and menuitems ::::: */
85 menu.menu-iconic > .menu-iconic-left,
86 menuitem.menuitem-iconic > .menu-iconic-left {
90 /* ::::: sync notification ::::: */
92 #sync-notifications > notification {
96 #sync-notifications > notification > .notification-inner > hbox > button {
100 /******* lightweight themes *******/
102 toolbar button:-moz-lwtheme,
103 toolbar menulist:-moz-lwtheme:not([open="true"]),
104 toolbar textbox:-moz-lwtheme:not([focused="true"]) {
108 treecols:-moz-lwtheme {
111 background-color: #9C9CFF;
114 /* ::::: toolbar print button ::::: */
116 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
117 -moz-image-region: rect(0px 25px 21px 0px);
120 #print-button[disabled="true"] {
121 -moz-image-region: rect(0px 50px 21px 25px);
124 #print-button:not([disabled="true"]):hover,
125 #print-button:not([disabled="true"]):hover:active,
126 #print-button[open="true"] {
127 -moz-image-region: rect(0px 75px 21px 50px);
130 toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
131 toolbar[iconsize="small"] > #print-button {
132 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
133 -moz-image-region: rect(0 16px 16px 0);
136 toolbar[iconsize="small"] > #print-button[disabled="true"] {
137 -moz-image-region: rect(0 32px 16px 16px) !important;
140 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
141 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
142 -moz-image-region: rect(0 48px 16px 32px);
145 /* ::::: notification bars ::::: */
147 .messageImage[value="refresh-blocked"] {
148 list-style-image: url("chrome://communicator/skin/icons/application.png");
151 .messageImage[value="blocked-plugins"],
152 .messageImage[value="carbon-failure-plugins"],
153 .messageImage[value="missing-plugins"],
154 .messageImage[value="outdated-plugins"],
155 .messageImage[value="click-to-play-plugins"],
156 .messageImage[value="plugin-crashed"] {
157 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
160 .messageImage[value="geolocation"] {
161 list-style-image: url("chrome://communicator/skin/icons/geo.png");
164 .messageImage[value="indexedDB-permissions-prompt"],
165 .messageImage[value="indexedDB-quota-prompt"] {
166 list-style-image: url("chrome://global/skin/icons/question-16.png");
169 .messageImage[value="addon-install-blocked"],
170 .messageImage[value="addon-install-cancelled"],
171 .messageImage[value="addon-install-complete"],
172 .messageImage[value="addon-install-disabled"],
173 .messageImage[value="addon-install-failed"],
174 .messageImage[value="addon-install-started"],
175 .messageImage[value="lwtheme-install-request"],
176 .messageImage[value="lwtheme-install-notification"] {
177 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
180 .messageImage[value="popup-blocked"] {
181 list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif");
184 .messageImage[value="blocked-badware-page"] {
185 list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png");
188 .messageImage[value="EnterInsecureMessage"] {
189 list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png");
192 .messageImage[value="EnterSecureMessage"],
193 .messageImage[value="BlockedActiveContentMessage"],
194 .messageImage[value="BlockedDisplayContentMessage"] {
195 list-style-image: url("chrome://communicator/skin/icons/lock-secure-16.png");
198 .messageImage[value="MixedContentMessage"],
199 .messageImage[value="MixedActiveContentMessage"],
200 .messageImage[value="MixedDisplayContentMessage"] {
201 list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png");