Merge branch 'master' of linz:/srv/git/themes
[themes.git] / LCARStrek / global / in-content / common.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 /* === BEGIN common.inc.css === */
6
7 @namespace html "http://www.w3.org/1999/xhtml";
8 @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
9
10 html|body,
11 xul|page {
12   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
13   -moz-appearance: none;
14   background-color: #000000;
15   color: #FF9F00;
16 }
17
18 html|body {
19   font-size: 15px;
20   font-weight: normal;
21   margin: 0;
22 }
23
24 html|h1 {
25   font-size: 2.5em;
26   font-weight: lighter;
27   line-height: 1.2;
28   margin: 0;
29   margin-bottom: .5em;
30 }
31
32 xul|caption {
33 }
34
35 xul|caption > xul|label {
36   margin-top: 0;
37   margin-bottom: 0;
38 }
39
40 *|*.main-content {
41   padding: 40px 48px 48px;
42   overflow: auto;
43 }
44
45 xul|prefpane > xul|*.content-box {
46   overflow: visible;
47 }
48
49 /* groupboxes */
50 /*
51 xul|groupbox {
52   -moz-appearance: none;
53   border: none;
54   margin-top: 15px;
55   margin-bottom: 15px;
56   -moz-margin-end: 0;
57   -moz-padding-start: 0;
58   -moz-padding-end: 0;
59   font-size: 1.25rem;
60 }
61
62 xul|groupbox xul|label {
63   / !important needed to override toolkit !important rule /
64   -moz-margin-start: 0 !important;
65   -moz-margin-end: 0 !important;
66 }
67 */
68 /* tabpanels and tabs */
69 /*
70 xul|tabpanels {
71   -moz-appearance: none;
72   font-size: 1.25rem;
73   line-height: 22px;
74   border: none;
75   padding: 0;
76   background-color: transparent;
77 }
78
79 xul|tabs {
80   margin-bottom: 15px;
81   border-top: 1px solid #c1c1c1;
82   border-bottom: 1px solid #c1c1c1;
83   background-color: #fbfbfb;
84 }
85
86 xul|*.tabs-left,
87 xul|*.tabs-right {
88   border-bottom: none;
89 }
90
91 xul|tab {
92   -moz-appearance: none;
93   margin-top: 0;
94   padding: 0 20px;
95   min-height: 44px;
96   color: #424f5a;
97   background-color: #fbfbfb;
98   border-width: 0;
99   transition: background-color 50ms ease 0s;
100 }
101
102 xul|tab:hover {
103   background-color: #ebebeb;
104 }
105
106 xul|tab[selected] {
107   background-color: #ebebeb;
108   box-shadow: inset 0 -4px 0 0 #ff9500;
109 }
110
111 xul|*.tab-text {
112   font-size: 1.3rem;
113   line-height: 22px;
114 }
115 */
116 /* html buttons */
117
118 html|button {
119   border-radius: 300px;
120   border: none;
121   background-color: #C09070;
122   color: #000000;
123   / * override forms.css * /
124   font: inherit;
125 }
126
127 /* xul buttons and menulists */
128 /*
129 *|button,
130 xul|colorpicker[type="button"],
131 xul|menulist {
132   -moz-appearance: none;
133   height: 30px;
134   color: #333;
135   line-height: 20px;
136   text-shadow: 0 1px 1px #fefffe;
137   border: 1px solid #c1c1c1;
138   -moz-border-top-colors: none !important;
139   -moz-border-right-colors: none !important;
140   -moz-border-bottom-colors: none !important;
141   -moz-border-left-colors: none !important;
142   border-radius: 2px;
143   background-color: #fbfbfb;
144 }
145 */
146 html|button:enabled:hover,
147 xul|button:not([disabled="true"]):hover,
148 xul|colorpicker[type="button"]:not([disabled="true"]):hover,
149 xul|menulist:not([disabled="true"]):hover {
150   background-color: #FFCF00;
151   color: #000000;
152 }
153
154 html|button:enabled:hover:active,
155 xul|button:not([disabled="true"]):hover:active,
156 xul|colorpicker[type="button"]:not([disabled="true"]):hover:active,
157 xul|menulist[open="true"]:not([disabled="true"]) {
158   background-color: #FF9F00;
159   color: #000000;
160 }
161
162 html|button:disabled,
163 xul|button[disabled="true"],
164 xul|colorpicker[type="button"][disabled="true"],
165 xul|menulist[disabled="true"] {
166   cursor: not-allowed;
167   background-color: #402858;
168   color: #000000;
169 }
170 /*
171 xul|colorpicker[type="button"] {
172   padding: 6px;
173   width: 50px;
174 }
175
176 xul|button > xul|*.button-box,
177 xul|menulist > xul|*.menulist-label-box {
178   padding-right: 10px !important;
179   padding-left: 10px !important;
180 }
181
182 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
183   -moz-appearance: none;
184   margin: 1px 0;
185   -moz-margin-start: 10px;
186   padding: 0;
187   width: 10px;
188   height: 16px;
189   border: none;
190   background-color: transparent;
191   list-style-image: url("chrome://global/skin/in-content/dropdown.png");
192 }
193
194 xul|*.help-button {
195   min-width: 30px;
196   border-radius: 2px;
197   border: 1px solid #c1c1c1;
198   background-color: #ffcb00;
199   background-image: none;
200   box-shadow: none;
201 }
202
203 xul|*.help-button:not([disabled="true"]):hover {
204   background-color: #f4c200;
205   background-image: none;
206 }
207
208 xul|*.help-button:not([disabled="true"]):hover:active {
209   background-color: #eaba00;
210   background-image: none;
211 }
212
213 xul|*.close-icon > xul|*.button-box,
214 xul|*.help-button > xul|*.button-box {
215   padding-top: 0;
216   padding-bottom: 0;
217   padding-right: 0 !important;
218   padding-left: 0 !important;
219 }
220 */
221 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
222   width: 26px;
223   height: 26px;
224   background-image: url("chrome://global/skin/in-content/help-glyph.png");
225   background-position: center;
226 }
227
228 @media (min-resolution: 2dppx) {
229   xul|*.help-button > xul|*.button-box > xul|*.button-icon {
230     background-size: 26px 26px;
231     background-image: url("chrome://global/skin/in-content/help-glyph@2x.png");
232   }
233 }
234
235 xul|*.help-button > xul|*.button-box > xul|*.button-text {
236   display: none;
237 }
238 /*
239 xul|*.spinbuttons-button {
240   -moz-margin-start: 10px !important;
241   -moz-margin-end: 2px !important;
242 }
243
244 xul|*.spinbuttons-up {
245   margin-top: 2px !important;
246   border-radius: 1px 1px 0 0;
247 }
248
249 xul|*.spinbuttons-down  {
250   margin-bottom: 2px !important;
251   border-radius: 0 0 1px 1px;
252 }
253
254 xul|*.spinbuttons-button > xul|*.button-box {
255   padding: 1px 5px 2px !important;
256 }
257
258 xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon {
259   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
260 }
261
262 xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon {
263   list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
264 }
265
266 xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon {
267   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
268 }
269
270 xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon {
271   list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
272 }
273
274 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
275   -moz-appearance: none;
276   -moz-margin-end: 10px;
277   padding: 0;
278   border: none;
279   background-color: transparent;
280   list-style-image: url("chrome://global/skin/in-content/dropdown.png");
281 }
282
283 xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
284   list-style-image: url("chrome://global/skin/in-content/dropdown-disabled.png")
285 }
286
287 @media (min-resolution: 2dppx) {
288   xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker,
289   xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
290     list-style-image: url("chrome://global/skin/in-content/dropdown@2x.png");
291   }
292
293   xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
294     list-style-image: url("chrome://global/skin/in-content/dropdown-disabled@2x.png")
295   }
296
297   xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon,
298   xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker > xul|*.dropmarker-icon {
299     width: 10px;
300     height: 16px;
301   }
302 }
303
304 xul|menulist > xul|menupopup,
305 xul|button[type="menu"] > xul|menupopup {
306   -moz-appearance: none;
307   border: 1px solid rgba(23,50,77,0.4);
308   border-radius: 2px;
309   background-color: #fff;
310 }
311
312 xul|menulist > xul|menupopup xul|menu,
313 xul|menulist > xul|menupopup xul|menuitem,
314 xul|button[type="menu"] > xul|menupopup xul|menu,
315 xul|button[type="menu"] > xul|menupopup xul|menuitem {
316   -moz-appearance: none;
317   font-size: 1.25rem;
318   line-height: 22px;
319   height: 40px;
320   color: #333;
321   -moz-padding-start: 10px;
322   -moz-padding-end: 30px;
323 }
324
325 xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"],
326 xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"],
327 xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"],
328 xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] {
329   color: #333;
330   background-color: transparent;
331   background-image: linear-gradient(rgba(76,177,255,0.25), rgba(23,146,229,0.25));
332 }
333
334 xul|menulist > xul|menupopup > xul|menu[selected="true"],
335 xul|menulist > xul|menupopup > xul|menuitem[selected="true"],
336 xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"],
337 xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] {
338   color: #fff;
339   background-image: linear-gradient(#4cb1ff, #1792e5);
340 }
341
342 xul|menulist > xul|menupopup xul|menuseparator,
343 xul|button[type="menu"] > xul|menupopup xul|menuseparator {
344   -moz-appearance: none;
345   margin-top: 2px;
346   margin-bottom: 2px;
347   padding: 0;
348   border-top: 1px solid rgba(23,50,77,0.4);
349   border-bottom: none;
350 }
351 */
352 /* textboxes */
353 /*
354 *|textbox {
355   -moz-appearance: none;
356   height: 30px;
357   color: #333;
358   line-height: 20px;
359   text-shadow: 0 1px 1px #fefffe;
360   padding-right: 10px;
361   padding-left: 10px;
362   border: 1px solid #c1c1c1;
363   -moz-border-top-colors: none !important;
364   -moz-border-right-colors: none !important;
365   -moz-border-bottom-colors: none !important;
366   -moz-border-left-colors: none !important;
367   border-radius: 2px;
368   background-color: #fff;
369 }
370
371 html|textbox:focus,
372 xul|textbox[focused] {
373   border-color: #0095dd;
374 }
375
376 html|textbox:disabled,
377 xul|textbox[disabled="true"] {
378   opacity: 0.5;
379 }
380 */
381 /* Links */
382
383 html|a,
384 xul|*.text-link,
385 xul|*.inline-link {
386 /*  font-size: 1.25rem;
387   line-height: 22px;*/
388   color: #3333FF;
389   text-decoration: none;
390 }
391
392 html|a:hover,
393 xul|*.text-link:hover,
394 xul|*.inline-link:hover {
395   color: #FFCF00;
396   text-decoration: underline;
397 }
398
399 html|a:hover:active,
400 xul|*.text-link:hover:active,
401 xul|*.inline-link:hover:active {
402   color: #FF9F00;
403   text-decoration: underline;
404 }
405
406 /* Checkboxes and radio buttons */
407 /*
408 xul|checkbox {
409   -moz-margin-start: 0;
410 }
411
412 xul|*.checkbox-check {
413   -moz-appearance: none;
414   width: 23px;
415   height: 23px;
416   border-radius: 2px;
417   border: 1px solid #c1c1c1;
418   -moz-margin-end: 10px;
419   background-color: #f1f1f1;
420   background-image: linear-gradient(#fff, rgba(255,255,255,0.8));
421   background-position: center center;
422   background-repeat: no-repeat;
423   box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
424 }
425
426 xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check {
427   border-color: #0095dd;
428 }
429
430 xul|*.checkbox-check[checked] {
431   background-image: url("chrome://global/skin/in-content/check.png"),
432                     / * !important needed to override toolkit !important rule * /
433                     linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
434 }
435
436 xul|checkbox[disabled="true"] > xul|*.checkbox-check {
437   opacity: 0.5;
438 }
439
440 xul|*.checkbox-label-box {
441   -moz-margin-start: -1px; / * negative margin for the transparent border * /
442   -moz-padding-start: 0;
443 }
444
445 @media (min-resolution: 2dppx) {
446   xul|*.checkbox-check[checked] {
447     background-size: 12px 12px, auto;
448     background-image: url("chrome://global/skin/in-content/check@2x.png"),
449                       linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
450   }
451 }
452
453 xul|*.radio-check {
454   -moz-appearance: none;
455   width: 23px;
456   height: 23px;
457   border: 1px solid #c1c1c1;
458   border-radius: 50%;
459   -moz-margin-end: 10px;
460   background-color: #f1f1f1;
461   background-image: linear-gradient(#fff, rgba(255,255,255,0.80));
462   box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
463 }
464
465 xul|radio:not([disabled="true"]):hover > xul|*.radio-check {
466   border-color: #0095dd;
467 }
468
469 xul|*.radio-check[selected] {
470   background-image: radial-gradient(circle, rgb(23,146,229),
471                     rgb(76,177,255) 5.5px, rgba(76,177,255,0.2) 6px,
472                     transparent 6px),
473                     linear-gradient(rgb(255,255,255), rgba(255,255,255,0.8));
474 }
475
476 xul|radio[disabled="true"] > xul|*.radio-check {
477   opacity: 0.5;
478 }
479
480 xul|*.radio-label-box {
481   -moz-margin-start: -1px; / * negative margin for the transparent border *  /
482   -moz-margin-end: 10px;
483   -moz-padding-start: 0;
484 }
485 */
486 /* Category List */
487 /*
488 xul|*#categories {
489   -moz-appearance: none;
490   background-color: #424f5a;
491   padding-top: 39px;
492   margin: 0;
493 }
494
495 xul|*.category {
496   -moz-appearance: none;
497   color: #c1c1c1;
498   -moz-border-end-width: 0;
499   -moz-padding-start: 15px;
500   -moz-padding-end: 21px;
501   min-height: 40px;
502   transition: background-color 150ms;
503 }
504
505 xul|*.category:hover {
506   background-color: #5e6972;
507 }
508
509 xul|*.category[selected] {
510   background-color: #343f48;
511   color: #f2f2f2;
512   box-shadow: inset 4px 0 0 0 #ff9500;
513 }
514
515 xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] {
516   border-top: 1px #ffffff dotted;
517   border-bottom: 1px #ffffff dotted;
518 }
519
520 *|*.category-name {
521   line-height: 22px;
522   font-size: 1.25rem;
523   padding-bottom: 2px;
524   -moz-padding-start: 9px;
525   margin: 0;
526 }
527
528 *|*.category-icon {
529   width: 24px;
530   height: 24px;
531 }
532 */
533 /* header */
534
535 *|*.header {
536 /*  border-bottom: 1px solid #A09090;
537   margin-bottom: 15px;
538   padding-bottom: 15px; */
539 }
540
541 *|*.header-name {
542   font-size: 2.5rem;
543   font-weight: normal;
544   line-height: 40px;
545   margin: 0;
546 }
547
548 /* File fields */
549 /*
550 xul|filefield {
551   -moz-appearance: none;
552   background-color: transparent;
553   border: none;
554   padding: 0;
555 }
556
557 xul|*.fileFieldContentBox {
558   background-color: transparent;
559 }
560
561 xul|*.fileFieldIcon {
562   -moz-margin-start: 10px;
563   -moz-margin-end: 0;
564 }
565
566 xul|*.fileFieldLabel {
567   -moz-margin-start: -26px;
568   -moz-padding-start: 36px;
569 }
570
571 xul|textbox:-moz-locale-dir(rtl),
572 xul|*.fileFieldLabel:-moz-locale-dir(rtl),
573 xul|textbox + xul|button:-moz-locale-dir(ltr),
574 xul|filefield + xul|button:-moz-locale-dir(ltr) {
575   border-top-left-radius: 0;
576   border-bottom-left-radius: 0;
577 }
578
579 xul|textbox:-moz-locale-dir(ltr),
580 xul|*.fileFieldLabel:-moz-locale-dir(ltr),
581 xul|textbox + xul|button:-moz-locale-dir(rtl),
582 xul|filefield + xul|button:-moz-locale-dir(rtl) {
583   border-top-right-radius: 0;
584   border-bottom-right-radius: 0;
585 }
586
587 xul|textbox + xul|button,
588 xul|filefield + xul|button {
589   -moz-border-start: none;
590 }
591 */
592 /* === END common.inc.css === */
593 /*
594 xul|caption {
595   background-color: transparent;
596 }
597
598 xul|button,
599 xul|colorpicker[type="button"],
600 xul|menulist {
601   margin: 2px 4px;
602 }
603
604 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
605   margin-top: 1px;
606   margin-bottom: 1px;
607 }
608
609 xul|checkbox {
610   -moz-padding-start: 0;
611 }
612
613 xul|radio {
614   -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
615   -moz-margin-start: 0;
616   -moz-padding-start: 0;
617 }
618
619 xul|*.radio-icon,
620 xul|*.checkbox-icon {
621   -moz-margin-end: 0;
622 }
623 */
624 html|a:-moz-focusring,
625 xul|*.text-link:-moz-focusring,
626 xul|*.inline-link:-moz-focusring {
627   border: 1px dotted #3333FF;
628 }