themes: add essential CSS class to other themes as well
[project/luci.git] / themes / freifunk / htdocs / luci-static / freifunk / cascade.css
1 * {
2 margin: 0;
3 padding: 0;
4 }
5
6 body {
7 background-color: #ffffff;
8 color: #ffffff;
9 font-family: Verdana, Arial, sans-serif;
10 font-size: 100%;
11 line-height: 100%;
12 background-image: url(images/main-back.png);
13 background-repeat: repeat-x;
14 background-position: left bottom;
15 }
16 #all {
17 margin: 0px;
18 padding: 0px;
19 min-height: 800px;
20 }
21
22 code {
23 font-family: monospace;
24 white-space: pre;
25 }
26
27 a:link, a:visited {
28 color:#000000;
29 font-weight:bold;
30 text-decoration:none;
31 }
32 a:hover {
33 color:#333333;
34 font-weight:bold;
35 }
36
37 /* Custom*/
38 #wrapper
39 {
40 width: 95%;
41 color: #333333;
42 margin-left: auto;
43 margin-right: auto;
44 /* background-image: url(images/corner-left.gif); */
45 /* background-repeat: no-repeat; */
46 /* background-position: left bottom; */
47 background-color: #FffdF4;
48 min-width: 710px;
49 min-height: 710px;
50 }
51 #main {
52 clear: both;
53 width: 100%;
54 margin: 0;
55 padding: 0;
56 color: #333333;
57 /* background-image: url(images/corner-right.gif); */
58 /* background-repeat: no-repeat; */
59 /* background-position: right bottom; */
60 min-height: 710px;
61 }
62
63 div#maincontent ul {
64 margin-left: 2em;
65 }
66
67 .warning {
68 color: red !important;
69 font-weight: bold;
70 }
71
72 .clear {
73 clear: both;
74 height: 1px;
75 }
76
77 .hidden {
78 display: none;
79 }
80
81 .error {
82 color: #ff0000;
83 }
84
85 #header
86 {
87 padding: 0px;
88 height: 100px;
89 }
90 #headerleft
91 {
92 height: 100px;
93 background-color: #FFFfff;
94 background-image: url(images/header-left.gif);
95 background-repeat: no-repeat;
96 background-position: left top;
97 }
98 #headerright
99 {
100 height: 100px;
101 background-color: #FFfffF;
102
103 margin-left: 5px;
104 background-image: url(images/header-right.gif);
105 background-repeat: no-repeat;
106 background-position: right top;
107 }
108
109 #headerback
110 {
111 margin-right: 5px;
112 height: 100px;
113 background-color: #FFfffF;
114 background-image: url(images/header-back.gif);
115 background-repeat: repeat-x;
116 background-position: left top;
117 }
118 #schriftzug {
119 font-size : 1.5em;
120 text-align:left;
121 margin-bottom: 7px;
122 margin-top: 7px;
123 float:left;
124 width: 450px;
125 }
126
127 #schriftzug a:hover{
128 background-color:transparent;
129 }
130 #logo{
131 margin-top: 5px;
132 float:right;
133 width: 115px;
134 }
135
136 .pathbar {
137 display: none;
138 }
139
140 .menubar {
141 width: 100%;
142 min-height: 1.8em;
143 background: #ffffff;
144 color: #000000;
145 border-top:0.4em solid #DC0067;
146 }
147
148 .mainmenu {
149 float: left;
150 width: auto;
151 min-height: 1.8em;
152 background: #ffffff;
153 color: #000000;
154 }
155 .modemenu li {
156 border-top:0.3em solid #DC0067;
157 margin-left: 0.3em;
158 margin-top: -0.3em;
159 }
160 .mainmenu div {
161 float: left;
162 border-top:0.3em solid #DC0067;
163 margin-right: 0.3em;
164 margin-top: -0.3em;
165 }
166 .mainmenu div.preactive {
167 border-top: 0.3em solid #FFCB05;
168 margin-top: -0.2em;
169 }
170
171 .mainmenu li {
172 white-space: nowrap;
173 text-align: left;
174 }
175
176 .mainmenu div ul {
177 display: none;
178 position: absolute;
179 background: #ffffff;
180 color: #000000;
181 border-width: 0 1px 1px 1px;
182 border-style: solid;
183 border-color: #444444;
184 list-style-type: none;
185 }
186
187 .mainmenu ul li:hover > ul,
188 .mainmenu div:hover > ul {
189 display: block;
190 }
191
192 .mainmenu ul li > ul {
193 left: 100%;
194 margin-top: -1.3em;
195 border-width: 1px;
196 }
197
198 .modemenu a,
199 .mainmenu a {
200 display: block;
201 padding: 0.2em;
202 color: #000000;
203 text-decoration: none;
204 font-size: 70%;
205 font-weight: bold;
206 }
207
208
209 .modemenu .active a {
210 color: #000000;
211 font-weight: bold;
212 border-top:0.3em solid #FFCB05;
213 margin-top: -0.2em;
214 }
215 .mainmenu .active a{
216 color: #000000;
217 font-weight: bold;
218 border-top:0.2em solid #FFCB05;
219 }
220 .mainmenu li > span:active {
221 background-color: #FFE990;
222 }
223
224 .mainmenu li:hover > span > a,
225 .mainmenu div:hover > a {
226 color: #DC0067;
227 background-color: #FFCB05;
228 }
229
230
231 .modemenu a:focus,
232 .mainmenu a:focus {
233 color: #000000;
234 }
235
236 .mainmenu a:hover,
237 .modemenu a:hover {
238 color: #DC0067;
239 background-color: #FFCB05;
240 }
241
242 .mainmenu div.preactive > a {
243 color: #DC0067;
244 font-weight: bold;
245 }
246 .mainmenu div.preactive > a:hover,
247 .mainmenu div.preactive > a:focus {
248 color: #DC0067;
249 font-weight: bold;
250 }
251
252 .modemenu ul {
253 width: auto;
254 background: #000000;
255 color: #ffffff;
256 list-style-type: none;
257 }
258
259 .modemenu li {
260 float: right;
261
262 }
263
264 #maincontent {
265 clear: both;
266 width: 98%;
267 margin: 0 auto;
268 padding: 0.5em;
269 background: #FFF4BE;
270 color: #000000;
271 font-size: 80%;
272 border-top:1px solid #D2A800;
273 text-align:left
274 }
275
276 #maincontent h2 {
277 margin: 0.25em 0 0.5em 0;
278 font-size: 150%;
279 font-weight: normal;
280 }
281
282 #maincontent h3 {
283 margin: 0.5em 0;
284 font-size: 120%;
285 font-weight: normal;
286 text-decoration: underline;
287 }
288
289 #maincontent p {
290 margin-bottom: 1em;
291 }
292
293 .cbi-section {
294 margin-bottom: 0.5em;
295 padding: 0.5em 1em;
296 border: 1px dotted #D2A800;
297 background-color: #FFE990;
298 }
299
300 .cbi-section legend {
301 font-size: 110%;
302 font-weight: bold;
303 height: 1em;
304 padding: 0 0.25em;
305 color: #555555;
306 }
307
308 .cbi-section h2 {
309 margin: 0em 0 0.5em -0.5em !important;
310 }
311
312 .cbi-section h3 {
313 height: 1.5em;
314 font-size: 90%;
315 color: #555555;
316 }
317
318 .cbi-section-descr {
319 margin-bottom: 0.5em;
320 font-size: 95%;
321 }
322
323 .cbi-title-ref {
324 color: inherit;
325 text-decoration: none;
326 padding-right: 18px;
327 background: url('../resources/cbi/link.gif') no-repeat scroll right center;
328 background-color: inherit;
329 }
330
331 input[type=submit],
332 input[type=reset],
333 input[type=image],
334 label {
335 cursor: pointer;
336 }
337
338 select,
339 input,
340 textarea {
341 background: #FffdF4;
342 color: #000000;
343 border-width: 1px;
344 border-color: #000000;
345 }
346
347 textarea#syslog
348 {
349 width: 98%;
350 font-family: monospace;
351
352 }
353 input[type=image] {
354 border: none;
355 }
356
357
358 input:focus,
359 input:hover,
360 select:focus,
361 select:hover,
362 textarea:focus,
363 textarea:hover {
364 background-color: #FFF4BE;
365 }
366
367 select,
368 input[type=text],
369 input[type=password] {
370 width: 20em;
371 }
372
373 td select,
374 td input[type=text],
375 td input[type=password] {
376 width: 99%;
377 }
378
379 img.cbi-image-button {
380 cursor: pointer;
381 margin: 0 2px;
382 vertical-align: middle;
383 }
384
385 input.cbi-input-user {
386 background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
387 background-color: inherit;
388 padding-left: 17px;
389 }
390
391 input.cbi-input-password {
392 background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
393 background-color: inherit;
394 padding-left: 17px;
395 }
396
397 input.cbi-input-find {
398 background: url('../resources/cbi/find.gif') no-repeat scroll 1px center;
399 background-color: inherit;
400 padding-left: 17px;
401 }
402
403 input.cbi-input-reload {
404 background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center;
405 background-color: inherit;
406 padding-left: 17px;
407 }
408
409 input.cbi-input-add,
410 input.cbi-button-add {
411 background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;
412 background-color: inherit;
413 padding-left: 17px;
414 padding-right: 1px;
415 }
416
417 input.cbi-input-fieldadd,
418 input.cbi-button-fieldadd {
419 background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
420 background-color: inherit;
421 padding-left: 17px;
422 padding-right: 1px;
423 }
424
425 input.cbi-input-reset,
426 input.cbi-button-reset {
427 background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
428 background-color: inherit;
429 padding-left: 17px;
430 padding-right: 1px;
431 }
432
433 input.cbi-input-save,
434 input.cbi-button-save {
435 background: url('../resources/cbi/save.gif') no-repeat scroll 1px center;
436 background-color: inherit;
437 padding-left: 17px;
438 padding-right: 1px;
439 }
440
441 input.cbi-input-apply,
442 input.cbi-button-apply {
443 background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
444 background-color: inherit;
445 padding-left: 17px;
446 padding-right: 1px;
447 }
448
449 input.cbi-input-remove,
450 div.cbi-section-remove input {
451 background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
452 background-color: inherit;
453 padding-left: 17px;
454 padding-right: 1px;
455 }
456
457 .cbi-input-invalid {
458 background-image: url('../resources/cbi/reset.gif');
459 background-repeat: no-repeat;
460 background-position: right;
461 color: #FF0000 !important;
462 border-color: #FF0000;
463 }
464
465 div.cbi-section-remove input {
466 border-bottom: none;
467 }
468
469 textarea {
470 margin-left: -1px;
471 margin-bottom: 0.5em;
472 }
473
474 form > div > input[type=submit],
475 form > div > input[type=reset] {
476 float: right;
477 margin-left: 0.5em;
478 }
479
480 table.smalltext {
481 background-color: #FFCB05;
482 border-top: 1px solid #666666;
483 border-right: 1px solid #666666;
484 border-bottom: 1px solid #666666;
485 font-size: 90%;
486 width: 80%;
487 margin-left: auto;
488 margin-right: auto;
489 border-collapse: collapse;
490 }
491
492 table.smalltext tr:hover td {
493 background-color: #FFE990;
494 }
495
496 table.smalltext tr th {
497 padding: 0 0.25em;
498 border-left: 1px solid #666666;
499 text-align: left;
500 }
501
502 table.smalltext tr td {
503 padding: 0 0.25em;
504 border-top: 1px solid #666666;
505 border-left: 1px solid #666666;
506 }
507
508 .cbi-rowstyle-1 {
509 background-color: #FFF4BE;
510 }
511
512 .cbi-rowstyle-2 {
513 }
514
515 div.cbi-value {
516 clear: left;
517 vertical-align: middle;
518 padding-left: 0.25em;
519 border-bottom: 1px dotted #FFCB05;
520 }
521
522 div.cbi-value:hover {
523 background: #FFF4BE;
524 }
525
526 div.cbi-value:last-child {
527 border: none;
528 }
529
530 .cbi-value-title {
531 float: left;
532 width: 40%;
533 }
534
535 div.cbi-value-field {
536 width: 58%;
537 margin: 0.25em 0 0.25em 40%;
538 }
539
540 div.cbi-value-description {
541 font-size: 90%;
542 }
543
544 div.cbi-value-field > div.cbi-value-description {
545 display: inline;
546 color: #ffe990;
547 }
548
549 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
550 color: #000000;
551 }
552
553 option:active,
554 option:before,
555 option:after,
556 option:focus,
557 option:hover {
558 color: #ffffff;
559 background-color: #EEBA00;
560 background: url(images/bgoption.png);
561 }
562
563 div.cbi-section-create {
564 clear: left;
565 white-space: nowrap;
566 }
567
568 div.cbi-map-descr {
569 margin-bottom: 1em;
570 }
571
572 div.cbi-optionals {
573 margin: 0.5em 0;
574 padding: 0 0.25em;
575 }
576
577 div.cbi-section-remove {
578 float: right;
579 }
580
581 .cbi-section-node {
582 clear: both;
583 border: 1px dotted #FFCB05;
584 padding-bottom: 0;
585 }
586
587 .cbi-section-node div.cbi-section-table-row {
588 margin: 0.25em;
589 }
590
591 table.cbi-section-table {
592 width: 100%;
593 font-size: 95%;
594 }
595
596 table.cbi-section-table th,
597 table.cbi-section-table td {
598 text-align: center;
599 }
600
601 tr.cbi-section-table-descr th {
602 font-weight: normal;
603 font-size: 90%;
604 }
605
606 td.cbi-section-table-optionals {
607 text-align: left !important;
608 padding-top: 1em;
609 }
610
611 .cbi-value-helpicon img {
612 vertical-align: bottom;
613 }
614
615 div.cbi-error {
616 font-size: 95%;
617 font-weight: bold;
618 color: #FF0000;
619 }
620
621 td.cbi-value-error {
622 border-color: red !important;
623 }
624
625 .cbi-value-error input,
626 .cbi-value-error select {
627 color: red !important;
628 background-color: #FFCCCC;
629 }
630
631 .cbi-section-error {
632 color: red;
633 font-size: 95%;
634 border: 1px dotted red;
635 margin: 3px;
636 padding: 3px;
637 }
638
639 ul.cbi-apply {
640 font-size: 90%;
641 }
642
643 ul.cbi-tabmenu {
644 padding: 3px 0;
645 margin-left: 0 !important;
646 margin-bottom: -1px;
647 list-style-type: none;
648 }
649
650 ul.cbi-tabmenu li.cbi-tab,
651 ul.cbi-tabmenu li.cbi-tab-disabled {
652 display: inline;
653 margin: 0;
654 }
655
656 ul.cbi-tabmenu li.cbi-tab a,
657 ul.cbi-tabmenu li.cbi-tab-disabled a {
658 text-decoration: none;
659 padding: 3px 7px;
660 margin-right: 3px;
661 border: 1px outset #000;
662 border-bottom: none;
663 background-color: #eee;
664 color: #bbb;
665 }
666
667 ul.cbi-tabmenu li.cbi-tab-highlighted a {
668 color: #000;
669 background-color: #FFEEAA;
670 }
671
672 ul.cbi-tabmenu li a:hover {
673 color: #000;
674 }
675
676 ul.cbi-tabmenu li.cbi-tab a {
677 position: relative;
678 top: 1px;
679 padding-top: 4px;
680 color: #000;
681 background-color: #fff;
682 }
683
684 div.cbi-tab-descr {
685 background-image: url(/luci-static/resources/cbi/help.gif);
686 background-position: 0.25em 50%;
687 background-repeat: no-repeat;
688 border-bottom: 1px solid #ccc;
689 margin: 0.25em 0.25em 2em;
690 padding: 0.5em 0.5em 0.5em 2em;
691 }
692
693
694 .left {
695 text-align: left !important;
696 }
697
698 .right {
699 text-align: right !important;
700 }
701
702 .luci {
703 position: fixed;
704 bottom: 0;
705 left: 0;
706 text-align: right;
707 }
708
709 .luci a {
710 color: #666666;
711 text-decoration: none;
712 font-size: 70%;
713 }
714
715 .inline {
716 display: inline;
717 }
718
719 .error500 {
720 white-space: normal;
721 border: 1px dotted #FF0000;
722 background-color: #FFFFFF;
723 padding: 0.5em;
724 }
725
726 /* obligatory IE6 Voodoo Code */
727 * html body {
728 padding-left: 50% !important;
729 }
730
731 * html div#header {
732 margin-left: -100% !important;
733 }
734
735 * html div.menubar {
736 margin-left: -100% !important;
737 width: 200% !important;
738 }
739
740 * html div#maincontent {
741 margin-left: -80% !important;
742 width: 160% !important;
743 }
744
745 * html div.mainmenu div.hover ul,
746 * html div.mainmenu div li.hover ul,
747 * html div.mainmenu div li li.hover ul,
748 * html div.mainmenu div li li li.hover ul,
749 * html div.mainmenu div li li li li.hover ul {
750 display: block !important;
751 margin-left: 3em;
752 }
753
754 * html div.mainmenu div.hover ul {
755 margin-left: 0;
756 }
757
758 * html div.mainmenu .hover ul ul,
759 * html div.mainmenu .hover ul ul ul,
760 * html div.mainmenu .hover ul ul ul ul,
761 * html div.mainmenu .hover ul ul ul ul ul {
762 display: none !important;
763 }
764
765 * html div.mainmenu li {
766 height: 1em !important;
767 width: 10em !important;
768 }
769
770 * html .mainmenu {
771 height: 1.8em;
772 }
773
774 * html div.cbi-value-description {
775 margin-left: 40%;
776 }