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 /* ==== communicator.css ====================================================
6 == Styles shared everywhere throughout the Communicator suite.
7 ========================================================================== */
9 @import url("chrome://global/skin/");
10 @import url("chrome://communicator/content/communicator.css");
11 @import url("chrome://communicator/skin/brand.css");
12 @import url("chrome://communicator/skin/button.css");
13 @import url("chrome://communicator/skin/toolbar.css");
15 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
18 -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary");
21 /* ::::: autocomplete ::::: */
23 .autocomplete-history-popup {
27 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
33 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, directory) {
34 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
37 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, file) {
38 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
41 /* ::::: online/offline icons ::::: */
43 #offline-status[offline="true"] {
44 list-style-image: url("chrome://communicator/skin/icons/offline.gif");
48 list-style-image: url("chrome://communicator/skin/icons/online.gif");
51 /* ::::: spell checker ::::: */
57 /* ::::: error messages ::::: */
63 /* ::::: directional button icons ::::: */
66 list-style-image:url("chrome://global/skin/arrow/arrow-up.gif");
70 .up[disabled="true"] {
71 list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif");
76 list-style-image:url("chrome://global/skin/arrow/arrow-down.gif");
79 .down[disabled="true"] {
80 list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif");
85 margin: 0px !important;
88 /* ::::: iconic menu and menuitems ::::: */
90 menu.menu-iconic > .menu-iconic-left,
91 menuitem.menuitem-iconic > .menu-iconic-left {
95 /******* lightweight themes *******/
97 toolbar button:-moz-lwtheme,
98 toolbar menulist:-moz-lwtheme:not([open="true"]),
99 toolbar textbox:-moz-lwtheme:not([focused="true"]) {
103 treecols:-moz-lwtheme {
106 background-color: #CCD0DD;
109 /* ::::: toolbar print button ::::: */
111 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
112 -moz-image-region: rect(0px 25px 21px 0px);
115 #print-button[disabled="true"] {
116 -moz-image-region: rect(0px 50px 21px 25px);
119 toolbar[iconsize="small"] > toolbarpaletteitem > #print-button,
120 toolbar[iconsize="small"] > #print-button {
121 list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
122 -moz-image-region: rect(0 16px 16px 0);
125 toolbar[iconsize="small"] > #print-button[disabled="true"] {
126 -moz-image-region: rect(0 32px 16px 16px) !important;
129 /* ::::: notification bars ::::: */
131 .messageImage[value="refresh-blocked"] {
132 list-style-image: url("chrome://communicator/skin/icons/application.png");
135 .messageImage[value="blocked-plugins"],
136 .messageImage[value="carbon-failure-plugins"],
137 .messageImage[value="disabled-plugins"],
138 .messageImage[value="missing-plugins"],
139 .messageImage[value="outdated-plugins"],
140 .messageImage[value="click-to-play-plugins"],
141 .messageImage[value="plugin-crashed"] {
142 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
145 .messageImage[value="geolocation"] {
146 list-style-image: url("chrome://communicator/skin/icons/geo.png");
149 .messageImage[value="webNotifications"] {
150 list-style-image: url("chrome://communicator/skin/icons/notification-16.png");
153 .messageImage[value="indexedDB-permissions-prompt"],
154 .messageImage[value="indexedDB-quota-prompt"] {
155 list-style-image: url("chrome://global/skin/icons/question-16.png");
158 .messageImage[value="addon-install-blocked"],
159 .messageImage[value="addon-install-cancelled"],
160 .messageImage[value="addon-install-complete"],
161 .messageImage[value="addon-install-disabled"],
162 .messageImage[value="addon-install-failed"],
163 .messageImage[value="addon-install-started"],
164 .messageImage[value="lwtheme-install-request"],
165 .messageImage[value="lwtheme-install-notification"] {
166 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
169 .messageImage[value="popup-blocked"] {
170 list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif");
173 .messageImage[value="blocked-badware-page"] {
174 list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png");
177 .messageImage[value="EnterInsecureMessage"] {
178 list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png");
181 .messageImage[value="EnterSecureMessage"],
182 .messageImage[value="BlockedActiveContentMessage"],
183 .messageImage[value="BlockedDisplayContentMessage"] {
184 list-style-image: url("chrome://communicator/skin/icons/lock-secure-16.png");
187 .messageImage[value="MixedContentMessage"],
188 .messageImage[value="MixedActiveContentMessage"],
189 .messageImage[value="MixedDisplayContentMessage"] {
190 list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png");
193 /* ::::: tree rows ::::: */
195 @media (-moz-windows-default-theme) {
196 treechildren:not(.autocomplete-treebody)::-moz-tree-row {
197 height: 1.3em !important;
198 border-width: 1px !important;