Commit | Line | Data |
---|---|---|
351107c9 | 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 | * | |
3d6dd546 | 16 | * The Initial Developer of the Original Code is |
351107c9 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998 | |
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 | |
3d6dd546 | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 | 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 | ||
351107c9 | 45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
46 | ||
b1eaa419 | 47 | /* ::::: XBL bindings ::::: */ |
351107c9 | 48 | |
3d6dd546 | 49 | checkbox { |
50 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); | |
51 | } | |
52 | ||
b1eaa419 | 53 | radio { |
3d6dd546 | 54 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
351107c9 | 55 | } |
56 | ||
b1eaa419 | 57 | menulist > menupopup, |
58 | .menulist-menupopup { | |
59 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); | |
351107c9 | 60 | } |
61 | ||
b1eaa419 | 62 | .menulist-compact { |
6046f027 | 63 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
b1eaa419 | 64 | } |
351107c9 | 65 | |
66 | /* LCARStrek special bindings */ | |
67 | ||
b1eaa419 | 68 | statusbar { |
69 | -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar"); | |
70 | } | |
71 | ||
72 | toolbar { | |
73 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
74 | } | |
75 | ||
76 | menubar { | |
77 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); | |
dd676468 RK |
78 | } |
79 | ||
80 | toolbaritem > menubar { | |
81 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); | |
b1eaa419 | 82 | } |
83 | ||
3a121502 | 84 | /* |
85 | progressmeter[mode="undetermined"] { | |
86 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); | |
87 | } | |
88 | */ | |
89 | ||
b1eaa419 | 90 | /* ::::: root elements ::::: */ |
91 | ||
92 | window, | |
93 | page, | |
94 | dialog, | |
c79d2bbe RK |
95 | wizard, |
96 | prefwindow { | |
b1eaa419 | 97 | background-color: #000000; |
98 | color: #FF9F00; | |
99 | /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ | |
4ed82c79 | 100 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
b1eaa419 | 101 | padding: 3px; |
102 | } | |
103 | ||
104 | /* deprecated */ | |
3d6dd546 | 105 | window.dialog { |
b1eaa419 | 106 | background-color: #000000; |
02920d2b RK |
107 | padding-top: 8px; |
108 | padding-bottom: 10px; | |
109 | -moz-padding-start: 8px; | |
110 | -moz-padding-end: 10px; | |
b1eaa419 | 111 | } |
112 | ||
b1eaa419 | 113 | /* ::::: alert icons :::::*/ |
114 | ||
115 | .message-icon, | |
116 | .alert-icon, | |
117 | .error-icon, | |
c79d2bbe RK |
118 | .question-icon, |
119 | .authentication-icon { | |
b1eaa419 | 120 | width: 32px; |
121 | height: 32px; | |
122 | } | |
123 | ||
124 | .message-icon { | |
125 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); | |
126 | } | |
127 | ||
128 | .alert-icon { | |
129 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); | |
130 | } | |
131 | ||
132 | .error-icon { | |
133 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); | |
134 | } | |
135 | ||
c79d2bbe RK |
136 | .question-icon, |
137 | .authentication-icon { | |
b1eaa419 | 138 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
139 | } | |
140 | ||
141 | /* ::::: iframe ::::: */ | |
142 | ||
143 | iframe { | |
144 | border: none; | |
145 | width: 100px; | |
146 | height: 100px; | |
147 | min-width: 10px; | |
148 | min-height: 10px; | |
149 | } | |
150 | ||
151 | /* ::::: statusbar ::::: */ | |
152 | ||
153 | statusbar { | |
154 | margin-top: 3px; | |
c79d2bbe | 155 | min-height: 16px; |
b1eaa419 | 156 | } |
157 | ||
158 | .statusbar-center { | |
159 | background-color: #8050B0; | |
8caa872d | 160 | -moz-padding-start: 2px; |
507ac708 | 161 | color: #FFCF00; |
d0646e4a | 162 | -moz-box-align: stretch; |
b1eaa419 | 163 | } |
164 | ||
165 | .statusbar-left { | |
166 | -moz-border-radius: 9px 0px 0px 9px; | |
167 | background-color: #6000CF; | |
168 | width: 13px; | |
8caa872d | 169 | -moz-margin-end: 3px; |
b1eaa419 | 170 | } |
171 | ||
172 | .statusbar-right { | |
173 | -moz-border-radius: 0px 9px 9px 0px; | |
174 | background-color: #6000CF; | |
175 | width: 13px; | |
8caa872d | 176 | -moz-margin-start: 3px; |
b1eaa419 | 177 | } |
178 | ||
179 | statusbarpanel { | |
180 | -moz-box-align: center; | |
181 | -moz-box-pack: center; | |
2184a049 | 182 | border-left: 3px solid black; |
507ac708 | 183 | padding: 0px 2px; |
b1eaa419 | 184 | } |
3d6dd546 | 185 | |
2184a049 RK |
186 | statusbarpanel:first-child { |
187 | border-left: none; | |
188 | } | |
189 | ||
a064a540 RK |
190 | statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { |
191 | -moz-appearance: none; | |
192 | border-top-style: none; | |
193 | border-bottom-style: none; | |
194 | -moz-border-start-style: none; | |
195 | } | |
196 | ||
b1eaa419 | 197 | .statusbar-resizerpanel { |
198 | -moz-box-align: end; | |
199 | -moz-box-pack: end; | |
200 | padding: 0px; | |
201 | } | |
202 | ||
cfae8c74 RK |
203 | .statusbarpanel-iconic, |
204 | .statusbarpanel-iconic-text, | |
205 | .statusbarpanel-menu-iconic { | |
507ac708 RK |
206 | } |
207 | ||
208 | .statusbarpanel-progress { | |
209 | -moz-box-orient: vertical; | |
9e9946be | 210 | padding: 0px; |
3d6dd546 | 211 | } |
b1eaa419 | 212 | |
b1eaa419 | 213 | .toolbar-focustarget { |
214 | -moz-user-focus: ignore !important; | |
215 | } | |
6046f027 | 216 | |
18f5421a RK |
217 | toolbar[mode="text"] .toolbarbutton-text { |
218 | /* padding: 0 !important; | |
219 | margin: 3px 5px !important; */ | |
220 | } | |
221 | ||
cfae8c74 RK |
222 | /* ::::: miscellaneous formatting ::::: */ |
223 | ||
3b1530c2 RK |
224 | :root:-moz-lwtheme, |
225 | [lwthemefooter="true"] { | |
226 | -moz-appearance: none; | |
227 | } | |
228 | ||
229 | :root:-moz-lwtheme-darktext { | |
230 | text-shadow: 1px 1px 2px #FFCF00; | |
231 | } | |
232 | ||
233 | :root:-moz-lwtheme-brighttext { | |
234 | text-shadow: 1px 1px 2px #000000; | |
235 | } | |
236 | ||
237 | statusbar:-moz-lwtheme, | |
238 | sidebarheader:-moz-lwtheme { | |
239 | -moz-appearance: none; | |
240 | background: none; | |
241 | border-style: none; | |
242 | } | |
243 | ||
cfae8c74 RK |
244 | .inset { |
245 | /* border: 1px inset #FF9F00; | |
02920d2b | 246 | margin: 0px 5px 5px; */ |
cfae8c74 RK |
247 | } |
248 | ||
249 | .outset { | |
250 | /* border: 1px outset #FF9F00; */ | |
251 | } | |
252 | ||
253 | /* separators */ | |
254 | separator:not([orient="vertical"]) { | |
255 | height: 1.5em; | |
256 | } | |
257 | ||
258 | separator[orient="vertical"] { | |
259 | width: 1.5em; | |
260 | } | |
261 | ||
262 | separator.thin:not([orient="vertical"]) { | |
263 | height: 0.5em; | |
264 | } | |
265 | ||
266 | separator.thin[orient="vertical"] { | |
267 | width: 0.5em; | |
268 | } | |
269 | ||
270 | separator.groove:not([orient="vertical"]) { | |
271 | border-top: 2px groove #FF9F00; | |
272 | height: 0px; | |
273 | margin-top: 0.4em; | |
274 | margin-bottom: 0.4em; | |
275 | } | |
276 | ||
277 | separator.groove[orient="vertical"] { | |
278 | border-left: 2px groove #FF9F00; | |
8caa872d RK |
279 | -moz-margin-start: 0.4em; |
280 | -moz-margin-end: 0.4em; | |
cfae8c74 RK |
281 | } |
282 | ||
283 | /* groove separators (0 padding, for dividing effects) */ | |
284 | separator.groove-thin { | |
285 | border-top: 2px groove #FF9F00; | |
286 | height: 0px; | |
287 | } | |
288 | ||
289 | separator[orient="vertical"].groove-thin { | |
290 | border-left: 2px groove #FF9F00; | |
291 | } | |
292 | ||
293 | .small-margin { | |
294 | margin: 0px 1px; | |
295 | } | |
296 | ||
297 | .plain { | |
18f5421a | 298 | -moz-appearance: none; |
cfae8c74 RK |
299 | margin: 0px !important; |
300 | border: none; | |
301 | padding: 0px; | |
302 | } | |
303 | ||
304 | description, label { | |
305 | cursor: default; | |
d15efd04 | 306 | margin: 1px 2px; |
cfae8c74 RK |
307 | } |
308 | ||
309 | label[disabled="true"] { | |
310 | color: #8050B0; | |
311 | } | |
312 | ||
313 | description { | |
314 | /* margin-bottom: 4px; */ | |
315 | } | |
316 | ||
317 | .tooltip-label { | |
318 | margin: 0px; | |
319 | } | |
320 | ||
321 | .header { | |
322 | font-weight: bold; | |
323 | } | |
324 | ||
325 | .monospace { | |
326 | font-family: monospace; | |
327 | } | |
328 | ||
329 | .indent { | |
8caa872d RK |
330 | /* -moz-margin-start: 23px; */ |
331 | -moz-margin-start: 15px; | |
cfae8c74 RK |
332 | } |
333 | ||
334 | .box-padded { | |
335 | padding: 5px; | |
336 | } | |
337 | ||
338 | .spaced { | |
339 | margin: 1px 3px; | |
340 | } | |
341 | ||
342 | .wizard-box { | |
02920d2b | 343 | padding: 15px 35px 10px; |
cfae8c74 RK |
344 | } |
345 | ||
346 | .text-link { | |
347 | color: blue; | |
348 | text-decoration: underline; | |
349 | cursor: pointer; | |
350 | } | |
351 | ||
024ec655 | 352 | .text-link:-moz-focusring { |
cfae8c74 RK |
353 | /* Don't specify the outline-color, we should always use initial value. */ |
354 | outline: 1px dotted; | |
355 | } | |
356 | ||
c79d2bbe RK |
357 | /* :::::: autoscroll popup ::::: */ |
358 | ||
18f5421a | 359 | .autoscroller { |
c79d2bbe RK |
360 | height: 28px; |
361 | width: 28px; | |
362 | border: 0px; | |
363 | margin: -14px; | |
364 | padding: 0px; | |
365 | background-image: url("chrome://global/skin/icons/autoscroll.png"); | |
366 | background-color: transparent; | |
367 | -moz-appearance: none; | |
368 | } | |
369 | ||
18f5421a | 370 | .autoscroller[scrolldir="NS"] { |
c79d2bbe RK |
371 | background-position: left center; |
372 | } | |
373 | ||
18f5421a | 374 | .autoscroller[scrolldir="EW"] { |
c79d2bbe RK |
375 | background-position: left bottom; |
376 | } | |
377 | ||
18f5421a | 378 | .autoscroller[transparent="true"] { |
c79d2bbe RK |
379 | background-position: center top; |
380 | } | |
381 | ||
18f5421a | 382 | .autoscroller[transparent="true"][scrolldir="NS"] { |
c79d2bbe RK |
383 | background-position: center center; |
384 | } | |
385 | ||
18f5421a | 386 | .autoscroller[transparent="true"][scrolldir="EW"] { |
c79d2bbe RK |
387 | background-position: center bottom; |
388 | } | |
389 | ||
18f5421a | 390 | .autoscroller[translucent="true"] { |
c79d2bbe RK |
391 | background-position: right top; |
392 | } | |
393 | ||
18f5421a | 394 | .autoscroller[translucent="true"][scrolldir="NS"] { |
c79d2bbe RK |
395 | background-position: right center; |
396 | } | |
397 | ||
18f5421a | 398 | .autoscroller[translucent="true"][scrolldir="EW"] { |
c79d2bbe | 399 | background-position: right bottom; |
6046f027 | 400 | } |