themes: add new button classes to remaining 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 input.cbi-button-up {
458 background-image: url('../resources/cbi/up.gif');
459 padding-left: 11px;
460 padding-right: 1px;
461 }
462
463 input.cbi-button-down {
464 background-image: url('../resources/cbi/down.gif');
465 padding-left: 11px;
466 padding-right: 1px;
467 }
468
469 input.cbi-button-edit {
470 background-image: url('../resources/cbi/edit.gif');
471 color: #000000;
472 padding-left: 17px;
473 padding-right: 1px;
474 }
475
476 input.cbi-button-reload {
477 background-image: url('../resources/cbi/reload.gif');
478 color: #000000;
479 padding-left: 17px;
480 padding-right: 1px;
481 }
482
483 input.cbi-button-reset {
484 background-image: url('../resources/cbi/reset.gif');
485 color: #000000;
486 padding-left: 17px;
487 padding-right: 1px;
488 }
489
490 input.cbi-button-remove {
491 background-image: url('../resources/cbi/remove.gif');
492 color: #000000;
493 padding-left: 17px;
494 padding-right: 1px;
495 }
496
497 .cbi-input-invalid {
498 background-image: url('../resources/cbi/reset.gif');
499 background-repeat: no-repeat;
500 background-position: right;
501 color: #FF0000 !important;
502 border-color: #FF0000;
503 }
504
505 div.cbi-section-remove input {
506 border-bottom: none;
507 }
508
509 textarea {
510 margin-left: -1px;
511 margin-bottom: 0.5em;
512 }
513
514 form > div > input[type=submit],
515 form > div > input[type=reset] {
516 float: right;
517 margin-left: 0.5em;
518 }
519
520 table.smalltext {
521 background-color: #FFCB05;
522 border-top: 1px solid #666666;
523 border-right: 1px solid #666666;
524 border-bottom: 1px solid #666666;
525 font-size: 90%;
526 width: 80%;
527 margin-left: auto;
528 margin-right: auto;
529 border-collapse: collapse;
530 }
531
532 table.smalltext tr:hover td {
533 background-color: #FFE990;
534 }
535
536 table.smalltext tr th {
537 padding: 0 0.25em;
538 border-left: 1px solid #666666;
539 text-align: left;
540 }
541
542 table.smalltext tr td {
543 padding: 0 0.25em;
544 border-top: 1px solid #666666;
545 border-left: 1px solid #666666;
546 }
547
548 .cbi-rowstyle-1 {
549 background-color: #FFF4BE;
550 }
551
552 .cbi-rowstyle-2 {
553 }
554
555 div.cbi-value {
556 clear: left;
557 vertical-align: middle;
558 padding-left: 0.25em;
559 border-bottom: 1px dotted #FFCB05;
560 }
561
562 div.cbi-value:hover {
563 background: #FFF4BE;
564 }
565
566 div.cbi-value:last-child {
567 border: none;
568 }
569
570 .cbi-value-title {
571 float: left;
572 width: 40%;
573 }
574
575 div.cbi-value-field {
576 width: 58%;
577 margin: 0.25em 0 0.25em 40%;
578 }
579
580 div.cbi-value-description {
581 font-size: 90%;
582 }
583
584 div.cbi-value-field > div.cbi-value-description {
585 display: inline;
586 color: #ffe990;
587 }
588
589 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
590 color: #000000;
591 }
592
593 option:active,
594 option:before,
595 option:after,
596 option:focus,
597 option:hover {
598 color: #ffffff;
599 background-color: #EEBA00;
600 background: url(images/bgoption.png);
601 }
602
603 div.cbi-section-create {
604 clear: left;
605 white-space: nowrap;
606 }
607
608 div.cbi-map-descr {
609 margin-bottom: 1em;
610 }
611
612 div.cbi-optionals {
613 margin: 0.5em 0;
614 padding: 0 0.25em;
615 }
616
617 div.cbi-section-remove {
618 float: right;
619 }
620
621 .cbi-section-node {
622 clear: both;
623 border: 1px dotted #FFCB05;
624 padding-bottom: 0;
625 }
626
627 .cbi-section-node div.cbi-section-table-row {
628 margin: 0.25em;
629 }
630
631 table.cbi-section-table {
632 width: 100%;
633 font-size: 95%;
634 }
635
636 table.cbi-section-table th,
637 table.cbi-section-table td {
638 text-align: center;
639 }
640
641 tr.cbi-section-table-descr th {
642 font-weight: normal;
643 font-size: 90%;
644 }
645
646 td.cbi-section-table-optionals {
647 text-align: left !important;
648 padding-top: 1em;
649 }
650
651 .cbi-value-helpicon img {
652 vertical-align: bottom;
653 }
654
655 div.cbi-error {
656 font-size: 95%;
657 font-weight: bold;
658 color: #FF0000;
659 }
660
661 td.cbi-value-error {
662 border-color: red !important;
663 }
664
665 .cbi-value-error input,
666 .cbi-value-error select {
667 color: red !important;
668 background-color: #FFCCCC;
669 }
670
671 .cbi-section-error {
672 color: red;
673 font-size: 95%;
674 border: 1px dotted red;
675 margin: 3px;
676 padding: 3px;
677 }
678
679 ul.cbi-apply {
680 font-size: 90%;
681 }
682
683 ul.cbi-tabmenu {
684 padding: 3px 0;
685 margin-left: 0 !important;
686 margin-bottom: -1px;
687 list-style-type: none;
688 }
689
690 ul.cbi-tabmenu li.cbi-tab,
691 ul.cbi-tabmenu li.cbi-tab-disabled {
692 display: inline;
693 margin: 0;
694 }
695
696 ul.cbi-tabmenu li.cbi-tab a,
697 ul.cbi-tabmenu li.cbi-tab-disabled a {
698 text-decoration: none;
699 padding: 3px 7px;
700 margin-right: 3px;
701 border: 1px outset #000;
702 border-bottom: none;
703 background-color: #eee;
704 color: #bbb;
705 }
706
707 ul.cbi-tabmenu li.cbi-tab-highlighted a {
708 color: #000;
709 background-color: #FFEEAA;
710 }
711
712 ul.cbi-tabmenu li a:hover {
713 color: #000;
714 }
715
716 ul.cbi-tabmenu li.cbi-tab a {
717 position: relative;
718 top: 1px;
719 padding-top: 4px;
720 color: #000;
721 background-color: #fff;
722 }
723
724 div.cbi-tab-descr {
725 background-image: url(/luci-static/resources/cbi/help.gif);
726 background-position: 0.25em 50%;
727 background-repeat: no-repeat;
728 border-bottom: 1px solid #ccc;
729 margin: 0.25em 0.25em 2em;
730 padding: 0.5em 0.5em 0.5em 2em;
731 }
732
733
734 .left {
735 text-align: left !important;
736 }
737
738 .right {
739 text-align: right !important;
740 }
741
742 .luci {
743 position: fixed;
744 bottom: 0;
745 left: 0;
746 text-align: right;
747 }
748
749 .luci a {
750 color: #666666;
751 text-decoration: none;
752 font-size: 70%;
753 }
754
755 .inline {
756 display: inline;
757 }
758
759 .error500 {
760 white-space: normal;
761 border: 1px dotted #FF0000;
762 background-color: #FFFFFF;
763 padding: 0.5em;
764 }
765
766 /* obligatory IE6 Voodoo Code */
767 * html body {
768 padding-left: 50% !important;
769 }
770
771 * html div#header {
772 margin-left: -100% !important;
773 }
774
775 * html div.menubar {
776 margin-left: -100% !important;
777 width: 200% !important;
778 }
779
780 * html div#maincontent {
781 margin-left: -80% !important;
782 width: 160% !important;
783 }
784
785 * html div.mainmenu div.hover ul,
786 * html div.mainmenu div li.hover ul,
787 * html div.mainmenu div li li.hover ul,
788 * html div.mainmenu div li li li.hover ul,
789 * html div.mainmenu div li li li li.hover ul {
790 display: block !important;
791 margin-left: 3em;
792 }
793
794 * html div.mainmenu div.hover ul {
795 margin-left: 0;
796 }
797
798 * html div.mainmenu .hover ul ul,
799 * html div.mainmenu .hover ul ul ul,
800 * html div.mainmenu .hover ul ul ul ul,
801 * html div.mainmenu .hover ul ul ul ul ul {
802 display: none !important;
803 }
804
805 * html div.mainmenu li {
806 height: 1em !important;
807 width: 10em !important;
808 }
809
810 * html .mainmenu {
811 height: 1.8em;
812 }
813
814 * html div.cbi-value-description {
815 margin-left: 40%;
816 }