fix checkboxes and radios to not use the -with-spacing variant any more as the checkb...
[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
12 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13
14 /* ::::: XBL bindings ::::: */
15
16 radio {
17   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio");
18 }
19
20 menulist > menupopup {
21   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
22 }
23
24 /* LCARStrek special bindings */
25
26 statusbar {
27   -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
28 }
29
30 toolbar {
31   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
32 }
33
34 menubar {
35   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
36 }
37
38 toolbaritem > menubar {
39   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
40 }
41
42 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
43   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
44   toolbar.chromeclass-menubar {
45     -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
46     border-bottom: none;
47   }
48 }
49
50 /* ::::: Variables ::::: */
51 :root {
52   --arrowpanel-padding: 6px;
53   --arrowpanel-background: #000000;
54   --arrowpanel-color: #FF9F00;
55   --arrowpanel-border-color: #FF9F00;
56 }
57
58 /* ::::: root elements ::::: */
59
60 window,
61 page,
62 dialog,
63 wizard,
64 prefwindow {
65   background-color: #000000;
66   color: #FF9F00;
67 /*  font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
68   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
69   padding: 3px;
70 }
71
72 /* deprecated */
73 window.dialog {
74   background-color: #000000;
75   padding-top: 8px;
76   padding-bottom: 10px;
77   padding-inline-start: 8px;
78   padding-inline-end: 10px;
79 }
80
81 /* ::::: alert icons :::::*/
82
83 .message-icon,
84 .alert-icon,
85 .error-icon,
86 .question-icon,
87 .authentication-icon {
88   width: 32px;
89   height: 32px;
90 }
91
92 .message-icon {
93   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
94 }
95
96 .alert-dialog #info\.icon,
97 .alert-icon {
98   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
99 }
100
101 .error-icon {
102   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
103 }
104
105 .question-icon,
106 .authentication-icon {
107   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
108 }
109
110 /* ::::: iframe ::::: */
111
112 iframe {
113   border: none;
114   width: 100px;
115   height: 100px;
116   min-width: 10px;
117   min-height: 10px;
118 }
119
120 /* ::::: statusbar ::::: */
121
122 statusbar {
123   margin-top: 3px;
124   min-height: 16px;
125 }
126
127 .statusbar-center {
128   background-color: #8050B0;
129   padding-inline-start: 2px;
130   color: #FFCF00;
131   -moz-box-align: stretch;
132 }
133
134 .statusbar-left {
135   border-radius: 9px 0px 0px 9px;
136   background-color: #6000CF;
137   width: 13px;
138   margin-inline-end: 3px;
139 }
140
141 .statusbar-right {
142   border-radius: 0px 9px 9px 0px;
143   background-color: #6000CF;
144   width: 13px;
145   margin-inline-start: 3px;
146 }
147
148 statusbarpanel {
149   -moz-box-align: center;
150   -moz-box-pack: center;
151   border-left: 3px solid black;
152   padding: 0px 2px;
153 }
154
155 statusbarpanel:first-child {
156   border-left: none;
157 }
158
159 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
160   -moz-appearance: none;
161   border-top-style: none;
162   border-bottom-style: none;
163   border-inline-start-style: none;
164 }
165
166 .statusbar-resizerpanel {
167   -moz-box-align: end;
168   -moz-box-pack: end;
169   padding: 0px;
170 }
171
172 .statusbarpanel-iconic,
173 .statusbarpanel-iconic-text,
174 .statusbarpanel-menu-iconic {
175 }
176
177 .statusbarpanel-progress {
178   -moz-box-orient: vertical;
179   padding: 0px;
180 }
181
182 .toolbar-focustarget {
183   -moz-user-focus: ignore !important;
184 }
185
186 toolbar[mode="text"] .toolbarbutton-text {
187   /* padding: 0 !important;
188   margin: 3px 5px !important; */
189 }
190
191 /* ::::: miscellaneous formatting ::::: */
192
193 :root:-moz-lwtheme,
194 [lwthemefooter="true"] {
195   -moz-appearance: none;
196 }
197
198 :root:-moz-lwtheme-darktext {
199   text-shadow: 0 -0.5px 1.5px #FFCF00;
200 }
201
202 :root:-moz-lwtheme-brighttext {
203   text-shadow: 1px 1px 2px #000000;
204 }
205
206 statusbar:-moz-lwtheme,
207 sidebarheader:-moz-lwtheme {
208   -moz-appearance: none;
209   background: none;
210   border-style: none;
211 }
212
213 .inset {
214 /*  border: 1px inset #FF9F00;
215   margin: 0px 5px 5px; */
216 }
217
218 .outset {
219 /*  border: 1px outset #FF9F00; */
220 }
221
222 /* separators */
223 separator:not([orient="vertical"]) {
224   height: 1.5em;
225 }
226
227 separator[orient="vertical"] {
228   width: 1.5em;
229 }
230
231 separator.thin:not([orient="vertical"]) {
232   height: 0.5em;
233 }
234
235 separator.thin[orient="vertical"] {
236   width: 0.5em;
237 }
238
239 separator.groove:not([orient="vertical"]) {
240   border-top: 2px groove #FF9F00;
241   height: 0px;
242   margin-top: 0.4em;
243   margin-bottom: 0.4em;
244 }
245
246 separator.groove[orient="vertical"] {
247   border-left: 2px groove #FF9F00;
248   margin-inline-start: 0.4em;
249   margin-inline-end: 0.4em;
250 }
251
252 /* groove separators (0 padding, for dividing effects) */
253 separator.groove-thin {
254   border-top: 2px groove #FF9F00;
255   height: 0px;
256 }
257
258 separator[orient="vertical"].groove-thin {
259   border-left: 2px groove #FF9F00;
260 }
261
262 .small-margin {
263   margin: 0px 1px;
264 }
265
266 .plain {
267   -moz-appearance: none;
268   margin: 0px !important;
269   border: none;
270   padding: 0px;
271 }
272
273 description, label  {
274   cursor: default;
275   margin: 1px 2px;
276 }
277
278 label[disabled="true"] {
279   color: #8050B0;
280 }
281
282 description {
283 /*  margin-bottom: 4px; */
284 }
285
286 .tooltip-label {
287   margin: 0px;
288 }
289
290 .header {
291   font-weight: bold;
292 }
293
294 .monospace {
295   font-family: "Liberation Mono", Consolas, "Courier New", monospace;
296 }
297
298 .indent {
299 /*  margin-inline-start: 23px; */
300   margin-inline-start: 15px;
301 }
302
303 .box-padded {
304   padding: 5px;
305 }
306
307 .spaced {
308   margin: 1px 3px;
309 }
310
311 .wizard-box {
312   padding: 15px 35px 10px;
313 }
314
315 .text-link {
316   color: #3333FF;
317   cursor: pointer;
318 }
319
320 .text-link:hover {
321   text-decoration: underline;
322 }
323
324 .text-link:-moz-focusring {
325   /* Don't specify the outline-color, we should always use initial value. */
326   outline: 1px dotted;
327 }
328
329 popupnotificationcontent {
330   margin-top: .5em;
331 }
332
333 /* === BEGIN notification-popup.inc.css === */
334
335 .popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
336   /* In order to display the action buttons near the edge of the arrow panel we
337    * have to reset its default padding and specify the padding in the individual
338    * "popupnotification" elements instead. To keep the rounded borders of the
339    * panel, we also have to ensure the contents are clipped to the border box
340    * by hiding the overflow, and we have to override the "display" property so
341    * that the height of the contents is computed correctly in that case. */
342   padding: 0;
343   overflow: hidden;
344   display: block;
345 }
346
347 /* === END notification-popup.inc.css === */
348
349 /* :::::: autoscroll popup ::::: */
350
351 .autoscroller {
352   height: 28px;
353   width: 28px;
354   border: 0px;
355   margin: -14px;
356   padding: 0px;
357   background-image: url("chrome://global/skin/icons/autoscroll.png");
358   background-color: transparent;
359   -moz-appearance: none;
360 }
361
362 .autoscroller[scrolldir="NS"] {
363   background-position: left center;
364 }
365
366 .autoscroller[scrolldir="EW"] {
367   background-position: left bottom;
368 }
369
370 .autoscroller[transparent="true"] {
371   background-position: center top;
372 }
373
374 .autoscroller[transparent="true"][scrolldir="NS"] {
375   background-position: center center;
376 }
377
378 .autoscroller[transparent="true"][scrolldir="EW"] {
379   background-position: center bottom;
380 }
381
382 .autoscroller[translucent="true"] {
383   background-position: right top;
384 }
385
386 .autoscroller[translucent="true"][scrolldir="NS"] {
387   background-position: right center;
388 }
389
390 .autoscroller[translucent="true"][scrolldir="EW"] {
391   background-position: right bottom;
392 }
393
394 /* :::::: Close button icons ::::: */
395
396 .close-icon {
397   list-style-image: url("chrome://global/skin/icons/close.png");
398   -moz-image-region: rect(0, 16px, 16px, 0);
399 }
400
401 .close-icon:hover,
402 .close-icon:hover:active {
403   -moz-image-region: rect(0, 32px, 16px, 16px);
404 }
405
406 .close-icon > .button-icon,
407 .close-icon > .button-box > .button-icon,
408 .close-icon > .toolbarbutton-icon {
409   width: 16px;
410 }