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