extand compat to current nightlies
[themes.git] / EarlyBlue / communicator / communicator.css
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/. */
4
5 /* ==== communicator.css ====================================================
6    == Styles shared everywhere throughout the Communicator suite.
7    ========================================================================== */
8
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");
14
15 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
16
17 .toolbar-primary {
18   -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary");
19 }
20
21 /* ::::: autocomplete ::::: */
22
23 .autocomplete-history-popup {
24   max-height: 25em;
25 }
26
27 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
28   width: 16px;
29   height: 16px;
30   margin-left: 1px;
31 }
32
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");
35 }
36
37 textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, file) {
38   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
39 }
40
41 /* ::::: online/offline icons ::::: */
42
43 #offline-status[offline="true"] {
44   list-style-image: url("chrome://communicator/skin/icons/offline.gif");
45 }
46
47 #offline-status {
48   list-style-image: url("chrome://communicator/skin/icons/online.gif");
49 }
50
51 /* ::::: spell checker ::::: */
52
53 .spell-suggestion {
54   font-weight: bold;
55 }
56
57 /* ::::: error messages ::::: */
58
59 description.error {
60   color: #FF0000;
61 }
62
63 /* ::::: directional button icons ::::: */
64
65 .up {
66   list-style-image:url("chrome://global/skin/arrow/arrow-up.gif");
67   min-width: 0px;
68 }
69
70 .up[disabled="true"] {
71   list-style-image:url("chrome://global/skin/arrow/arrow-up-disabled.gif");
72 }
73
74 .down {
75   min-width: 0px;
76   list-style-image:url("chrome://global/skin/arrow/arrow-down.gif");
77 }
78
79 .down[disabled="true"] {
80   list-style-image:url("chrome://global/skin/arrow/arrow-down-disabled.gif");
81 }
82
83 .sidebarTree {
84   border: none;
85   margin: 0px !important;
86 }
87
88 /* ::::: iconic menu and menuitems ::::: */
89
90 menu.menu-iconic > .menu-iconic-left,
91 menuitem.menuitem-iconic > .menu-iconic-left {
92   display: -moz-box;
93 }
94
95 /******* lightweight themes *******/
96
97 toolbar button:-moz-lwtheme,
98 toolbar menulist:-moz-lwtheme:not([open="true"]),
99 toolbar textbox:-moz-lwtheme:not([focused="true"]) {
100   opacity: .8;
101 }
102
103 treecols:-moz-lwtheme {
104   text-shadow: none;
105   color: #000000;
106   background-color: #CCD0DD;
107 }
108
109 /* ::::: toolbar print button ::::: */
110 #print-button {
111   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
112   -moz-image-region: rect(0px 25px 21px 0px);
113 }
114
115 #print-button[disabled="true"] {
116   -moz-image-region: rect(0px 50px 21px 25px);
117 }
118
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);
123 }
124
125 toolbar[iconsize="small"] > #print-button[disabled="true"] {
126   -moz-image-region: rect(0 32px 16px 16px) !important;
127 }
128
129 /* ::::: notification bars ::::: */
130
131 .messageImage[value="refresh-blocked"] {
132   list-style-image: url("chrome://communicator/skin/icons/application.png");
133 }
134
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");
143 }
144
145 .messageImage[value="geolocation"] {
146   list-style-image: url("chrome://communicator/skin/icons/geo.png");
147 }
148
149 .messageImage[value="webNotifications"] {
150   list-style-image: url("chrome://communicator/skin/icons/notification-16.png");
151 }
152
153 .messageImage[value="indexedDB-permissions-prompt"],
154 .messageImage[value="indexedDB-quota-prompt"] {
155   list-style-image: url("chrome://global/skin/icons/question-16.png");
156 }
157
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");
167 }
168
169 .messageImage[value="popup-blocked"] {
170   list-style-image: url("chrome://navigator/skin/icons/popup-blocked.gif");
171 }
172
173 .messageImage[value="blocked-badware-page"] {
174   list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png");
175 }
176
177 .messageImage[value="EnterInsecureMessage"] {
178   list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png");
179 }
180
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");
185 }
186
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");
191 }
192
193 /* ::::: tree rows ::::: */
194
195 @media (-moz-windows-default-theme) {
196   treechildren:not(.autocomplete-treebody)::-moz-tree-row {
197     height: 1.3em !important;
198     border-width: 1px !important;
199   }
200 }