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#grippytoolbar-menubar");
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 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
50 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, directory) {
51 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
54 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, file) {
55 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
58 /* ::::: online/offline icons ::::: */
60 #offline-status[offline="true"] {
61 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
65 list-style-image: url("chrome://communicator/skin/icons/online.gif");
68 /* ::::: spell checker ::::: */
74 /* ::::: error messages ::::: */
80 /* ::::: directional button icons ::::: */
83 list-style-image:url("chrome://global/skin/arrow/arrow-up-hover.gif");
87 .up[disabled="true"] {
92 list-style-image:url("chrome://global/skin/arrow/arrow-down-hover.gif");
95 .down[disabled="true"] {
100 margin: 0px !important;
103 /* ::::: iconic menus and menuitems ::::: */
105 menu.menu-iconic > .menu-iconic-left,
106 menuitem.menuitem-iconic > .menu-iconic-left {
110 /* ::::: sync notification ::::: */
112 #sync-notifications > notification {
116 #sync-notifications > notification > .notification-inner > hbox > button {
120 /******* lightweight themes *******/
122 toolbar button:-moz-lwtheme,
123 toolbar menulist:-moz-lwtheme:not([open="true"]),
124 toolbar textbox:-moz-lwtheme:not([focused="true"]) {
128 treecols:-moz-lwtheme {
131 background-color: #9C9CFF;
134 /* ::::: toolbar print button ::::: */
136 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
137 -moz-image-region: rect(0px 25px 21px 0px);
140 #print-button[disabled="true"] {
141 -moz-image-region: rect(0px 50px 21px 25px);
144 #print-button:not([disabled="true"]):hover,
145 #print-button:not([disabled="true"]):hover:active,
146 #print-button[open="true"] {
147 -moz-image-region: rect(0px 75px 21px 50px);
150 toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
151 toolbar[iconsize="small"] > #print-button {
152 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
153 -moz-image-region: rect(0 16px 16px 0);
156 toolbar[iconsize="small"] > #print-button[disabled="true"] {
157 -moz-image-region: rect(0 32px 16px 16px) !important;
160 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover,
161 toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active {
162 -moz-image-region: rect(0 48px 16px 32px);
165 /* ::::: notification bars ::::: */
167 .messageImage[value="refresh-blocked"] {
168 list-style-image: url("chrome://communicator/skin/icons/application.png");
171 .messageImage[value="blocked-plugins"],
172 .messageImage[value="carbon-failure-plugins"],
173 .messageImage[value="disabled-plugins"],
174 .messageImage[value="missing-plugins"],
175 .messageImage[value="outdated-plugins"],
176 .messageImage[value="click-to-play-plugins"],
177 .messageImage[value="plugin-crashed"] {
178 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
181 .messageImage[value="geolocation"] {
182 list-style-image: url("chrome://communicator/skin/icons/geo.png");
185 .messageImage[value="webNotifications"] {
186 list-style-image: url("chrome://communicator/skin/icons/notification-16.png");
189 .messageImage[value="indexedDB-permissions-prompt"],
190 .messageImage[value="indexedDB-quota-prompt"] {
191 list-style-image: url("chrome://global/skin/icons/question-16.png");
194 .messageImage[value="addon-install-blocked"],
195 .messageImage[value="addon-install-cancelled"],
196 .messageImage[value="addon-install-complete"],
197 .messageImage[value="addon-install-disabled"],
198 .messageImage[value="addon-install-failed"],
199 .messageImage[value="addon-install-started"],
200 .messageImage[value="lwtheme-install-request"],
201 .messageImage[value="lwtheme-install-notification"] {
202 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
205 .messageImage[value="popup-blocked"] {
206 list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif");
209 .messageImage[value="blocked-badware-page"] {
210 list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png");
213 .messageImage[value="EnterInsecureMessage"] {
214 list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png");
217 .messageImage[value="EnterSecureMessage"],
218 .messageImage[value="BlockedActiveContentMessage"],
219 .messageImage[value="BlockedDisplayContentMessage"] {
220 list-style-image: url("chrome://communicator/skin/icons/lock-secure-16.png");
223 .messageImage[value="MixedContentMessage"],
224 .messageImage[value="MixedActiveContentMessage"],
225 .messageImage[value="MixedDisplayContentMessage"] {
226 list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png");
229 /* ::::: tree rows ::::: */
231 @media (-moz-windows-default-theme) {
232 treechildren:not(.autocomplete-treebody)::-moz-tree-row {
233 height: 1.3em !important;
234 border-width: 1px !important;