EarlyBlue 2.0a1 -> 2.0a2 changes, communicator/ and global/ changes
[themes.git] / EarlyBlue / global / global.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Netscape Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/NPL/
8  *
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
12  * License.
13  *
14  * The Original Code is mozilla.org code.
15  *
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.
20  *
21  * Contributor(s):
22  *   Robert Kaiser <KaiRo@KaiRo.at>
23  *
24  * Alternatively, the contents of this file may be used under the terms of
25  * either the GNU General Public License Version 2 or later (the "GPL"), or
26  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27  * in which case the provisions of the GPL or the LGPL are applicable instead
28  * of those above. If you wish to allow use of your version of this file only
29  * under the terms of either the GPL or the LGPL, and not to allow others to
30  * use your version of this file under the terms of the NPL, indicate your
31  * decision by deleting the provisions above and replace them with the notice
32  * and other provisions required by the GPL or the LGPL. If you do not delete
33  * the provisions above, a recipient may use your version of this file under
34  * the terms of any one of the NPL, the GPL or the LGPL.
35  *
36  * ***** END LICENSE BLOCK ***** */
37
38 /* ===== global.css =====================================================
39   == Styles that apply everywhere.
40   ======================================================================= */
41
42 /* all localizable skin settings shall live here */
43 @import url("chrome://global/locale/intl.css");
44
45 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
47 /* ::::: XBL bindings ::::: */
48
49 checkbox {
50   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
51 }
52
53 radio {
54   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
55 }
56
57 menulist > menupopup,
58 .menulist-menupopup {
59   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
60 }
61
62 .menulist-compact {
63   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
64 }
65
66 /*
67 progressmeter[mode="undetermined"] {
68   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
69 }
70 */
71
72 /* ::::: root elements ::::: */
73
74 window,
75 page,
76 dialog,
77 wizard,
78 prefwindow {
79   background-color: #CCD0DD;
80   color: #000000;
81   font: 11px helvetica,arial,tahoma,sans-serif;
82 }
83
84 window.dialog {
85   padding: 8px 10px 10px 8px;
86 }
87
88 /* ::::: alert icons :::::*/
89
90 .message-icon,
91 .alert-icon,
92 .error-icon,
93 .question-icon,
94 .authentication-icon {
95   width: 32px;
96   height: 32px;
97 }
98
99 .message-icon {
100   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
101 }
102
103 .alert-icon {
104   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
105 }
106
107 .error-icon {
108   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
109 }
110
111 .question-icon,
112 .authentication-icon {
113   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
114 }
115
116 /* ::::: iframe ::::: */
117
118 iframe {
119   border: none;
120   width: 100px;
121   height: 100px;
122   min-width: 10px;
123   min-height: 10px;
124 }
125
126 /* ::::: statusbar ::::: */
127
128 statusbar {
129   border-top: 1px solid #9999CC;
130   background-color: #666699;
131   color: #CCD0DD;
132   min-height: 16px;
133 }
134
135 statusbarpanel {
136   -moz-box-align: center;
137   -moz-box-pack: center;
138   padding: 0px 1px;
139 }
140
141
142 .statusbar-resizerpanel {
143   -moz-box-align: end;
144   -moz-box-pack: end;
145   padding: 0px;
146 }
147
148 .statusbarpanel-iconic,
149 .statusbarpanel-iconic-text,
150 .statusbarpanel-menu-iconic {
151   padding: 0px 1px;
152 }
153
154 resizer[dir="bottomright"] {
155   cursor: se-resize;
156 }
157
158 window:not([active="true"]) menubar > menu {
159   color: #808080;
160 }
161  
162 .toolbar-focustarget {
163   -moz-user-focus: ignore !important;
164 }
165
166 /* ::::: miscellaneous formatting ::::: */
167
168 .inset {
169   border: 1px inset #CCD0DD;
170   /* margin: 0px 5px 5px 5px; */
171 }
172
173 .outset {
174   border: 1px outset #CCD0DD;
175 }
176
177 /* separators */
178 separator:not([orient="vertical"]) {
179   height: 1.5em;
180 }
181
182 separator[orient="vertical"] {
183   width: 1.5em;
184 }
185
186 separator.thin:not([orient="vertical"]) {
187   height: 0.5em;
188 }
189
190 separator.thin[orient="vertical"] {
191   width: 0.5em;
192 }
193
194 separator.groove:not([orient="vertical"]) {
195   border-top: 2px groove #CCD0DD;
196   height: 0px;
197   margin-top: 0.4em;
198   margin-bottom: 0.4em;
199 }
200
201 separator.groove[orient="vertical"] {
202   border-left: 2px groove #CCD0DD;
203   margin-left: 0.4em;
204   margin-right: 0.4em;
205 }
206
207 /* groove separators (0 padding, for dividing effects) */
208 separator.groove-thin {
209   border-top: 2px groove #CCD0DD;
210   height: 0px;
211 }
212
213 separator[orient="vertical"].groove-thin {
214   border-left: 2px groove #CCD0DD;
215 }
216
217 .small-margin {
218   margin: 0px 1px;
219 }
220
221 .plain {
222   margin: 0px !important;
223   border: none;
224   padding: 0px;
225 }
226
227 description, label  {
228   cursor: default;
229   margin: 1px 3px;
230 }
231
232 label[disabled="true"] {
233   color: #808080;
234 }
235
236 description {
237 /*  margin-bottom: 4px; */
238 }
239
240 .tooltip-label {
241   margin: 0px;
242 }
243
244 .header {
245   font-weight: bold;
246 }
247
248 .monospace {
249   font-family: monospace;
250 }
251
252 .indent {
253 /*  margin-left: 23px; */
254   margin-left: 15px;
255 }
256
257 .box-padded {
258   padding: 5px;
259 }
260
261 .spaced {
262   margin: 1px 3px;
263 }
264
265 .wizard-box {
266   padding: 15px 35px 10px 35px;
267 }
268
269 .text-link {
270   color: blue;
271   text-decoration: underline;
272   cursor: pointer;
273 }
274
275 .text-link:focus {
276   color: red;
277   /* Don't specify the outline-color, we should always use initial value. */
278   outline: 1px dotted;
279 }
280
281 .text-link:hover:active {
282   color: red;
283 }
284
285 .text-link[visited="true"] {
286   color: purple;
287 }
288
289 /* :::::: autoscroll popup ::::: */
290
291 #autoscroller {
292   height: 28px;
293   width: 28px;
294   border: 0px;
295   margin: -14px;
296   padding: 0px;
297   background-image: url("chrome://global/skin/icons/autoscroll.png");
298   background-color: transparent;
299   -moz-appearance: none;
300 }
301
302 #autoscroller[scrolldir="NS"] {
303   background-position: left center;
304 }
305
306 #autoscroller[scrolldir="EW"] {
307   background-position: left bottom;
308 }
309
310 #autoscroller[transparent="true"] {
311   background-position: center top;
312 }
313
314 #autoscroller[transparent="true"][scrolldir="NS"] {
315   background-position: center center;
316 }
317
318 #autoscroller[transparent="true"][scrolldir="EW"] {
319   background-position: center bottom;
320 }
321
322 #autoscroller[translucent="true"] {
323   background-position: right top;
324 }
325
326 #autoscroller[translucent="true"][scrolldir="NS"] {
327   background-position: right center;
328 }
329
330 #autoscroller[translucent="true"][scrolldir="EW"] {
331   background-position: right bottom;
332 }