themes: add new button classes to remaining themes as well
[project/luci.git] / themes / freifunk-bno / htdocs / luci-static / freifunk-bno / 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 }
174
175 .mainmenu div ul {
176 display: none;
177 position: absolute;
178 background: #ffffff;
179 color: #000000;
180 border-width: 0 1px 1px 1px;
181 border-style: solid;
182 border-color: #444444;
183 list-style-type: none;
184 }
185
186 .mainmenu ul li:hover > ul,
187 .mainmenu div:hover > ul {
188 display: block;
189 }
190
191 .mainmenu ul li > ul {
192 left: 100%;
193 margin-top: -1.8em;
194 border-width: 1px;
195 }
196
197 .modemenu a,
198 .mainmenu a {
199 display: block;
200 padding: 0.2em;
201 color: #000000;
202 text-decoration: none;
203 font-size: 70%;
204 font-weight: bold;
205 }
206
207
208 .modemenu .active a {
209 color: #000000;
210 font-weight: bold;
211 border-top:0.3em solid #FFCB05;
212 margin-top: -0.2em;
213 }
214 .mainmenu .active a{
215 color: #000000;
216 font-weight: bold;
217 border-top:0.2em solid #FFCB05;
218 }
219 .mainmenu li > span:active {
220 background-color: #FFE990;
221 }
222
223 .mainmenu li:hover > span > a,
224 .mainmenu div:hover > a {
225 color: #ffffff;
226 background-color: #FFCB05;
227 }
228
229
230 .modemenu a:focus,
231 .mainmenu a:focus {
232 color: #000000;
233 }
234
235 .mainmenu a:hover,
236 .modemenu a:hover {
237 color: #ffffff;
238 background-color: #FFCB05;
239 }
240
241 .mainmenu div.preactive > a {
242 color: #DC0067;
243 font-weight: bold;
244 }
245 .mainmenu div.preactive > a:hover,
246 .mainmenu div.preactive > a:focus {
247 color: #ffffff;
248 font-weight: bold;
249 }
250
251 .modemenu ul {
252 width: auto;
253 background: #000000;
254 color: #ffffff;
255 list-style-type: none;
256 }
257
258 .modemenu li {
259 float: right;
260
261 }
262
263 #maincontent {
264 clear: both;
265 width: 98%;
266 margin: 0 auto;
267 padding: 0.5em;
268 background: #FFF4BE;
269 color: #000000;
270 font-size: 80%;
271 border-top:1px solid #D2A800;
272 }
273
274 #maincontent h2 {
275 margin: 0.25em 0 0.5em 0;
276 font-size: 150%;
277 font-weight: normal;
278 }
279
280 #maincontent h3 {
281 margin: 0.5em 0;
282 font-size: 120%;
283 font-weight: normal;
284 text-decoration: underline;
285 }
286
287 #maincontent p {
288 margin-bottom: 1em;
289 }
290
291 .cbi-section {
292 margin-bottom: 0.5em;
293 padding: 0.5em 1em;
294 border: 1px dotted #D2A800;
295 background-color: #FFE990;
296 }
297
298 .cbi-section legend {
299 font-size: 110%;
300 font-weight: bold;
301 height: 1em;
302 padding: 0 0.25em;
303 color: #555555;
304 }
305
306 .cbi-section h2 {
307 margin: 0em 0 0.5em -0.5em !important;
308 }
309
310 .cbi-section h3 {
311 height: 1.5em;
312 font-size: 90%;
313 color: #555555;
314 }
315
316 .cbi-section-descr {
317 margin-bottom: 0.5em;
318 font-size: 95%;
319 }
320
321 .cbi-title-ref {
322 color: inherit;
323 text-decoration: none;
324 padding-right: 18px;
325 background: url('../resources/cbi/link.gif') no-repeat scroll right center;
326 background-color: inherit;
327 }
328
329 input[type=submit],
330 input[type=reset],
331 input[type=image],
332 label {
333 cursor: pointer;
334 }
335
336 select,
337 input,
338 textarea {
339 background: #FffdF4;
340 color: #000000;
341 border-width: 1px;
342 border-color: #000000;
343 }
344
345 input[type=image] {
346 border: none;
347 }
348
349
350 input:focus,
351 input:hover,
352 select:focus,
353 select:hover,
354 textarea:focus,
355 textarea:hover {
356 background-color: #FFF4BE;
357 }
358
359 select,
360 input[type=text],
361 input[type=password] {
362 width: 20em;
363 }
364
365 td select,
366 td input[type=text],
367 td input[type=password] {
368 width: 99%;
369 }
370
371 img.cbi-image-button {
372 cursor: pointer;
373 margin: 0 2px;
374 vertical-align: middle;
375 }
376
377 input.cbi-input-user {
378 background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
379 background-color: inherit;
380 padding-left: 17px;
381 }
382
383 input.cbi-input-password {
384 background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
385 background-color: inherit;
386 padding-left: 17px;
387 }
388
389 input.cbi-input-find {
390 background: url('../resources/cbi/find.gif') no-repeat scroll 1px center;
391 background-color: inherit;
392 padding-left: 17px;
393 }
394
395 input.cbi-input-reload {
396 background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center;
397 background-color: inherit;
398 padding-left: 17px;
399 }
400
401 input.cbi-input-add,
402 input.cbi-button-add {
403 background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;
404 background-color: inherit;
405 padding-left: 17px;
406 padding-right: 1px;
407 }
408
409 input.cbi-input-fieldadd,
410 input.cbi-button-fieldadd {
411 background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
412 background-color: inherit;
413 padding-left: 17px;
414 padding-right: 1px;
415 }
416
417 input.cbi-input-reset,
418 input.cbi-button-reset {
419 background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
420 background-color: inherit;
421 padding-left: 17px;
422 padding-right: 1px;
423 }
424
425 input.cbi-input-save,
426 input.cbi-button-save {
427 background: url('../resources/cbi/save.gif') no-repeat scroll 1px center;
428 background-color: inherit;
429 padding-left: 17px;
430 padding-right: 1px;
431 }
432
433 input.cbi-input-apply,
434 input.cbi-button-apply {
435 background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
436 background-color: inherit;
437 padding-left: 17px;
438 padding-right: 1px;
439 }
440
441 input.cbi-input-remove,
442 div.cbi-section-remove input {
443 background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
444 background-color: inherit;
445 padding-left: 17px;
446 padding-right: 1px;
447 }
448
449 input.cbi-button-up {
450 background-image: url('../resources/cbi/up.gif');
451 padding-left: 11px;
452 padding-right: 1px;
453 }
454
455 input.cbi-button-down {
456 background-image: url('../resources/cbi/down.gif');
457 padding-left: 11px;
458 padding-right: 1px;
459 }
460
461 input.cbi-button-edit {
462 background-image: url('../resources/cbi/edit.gif');
463 color: #000000;
464 padding-left: 17px;
465 padding-right: 1px;
466 }
467
468 input.cbi-button-reload {
469 background-image: url('../resources/cbi/reload.gif');
470 color: #000000;
471 padding-left: 17px;
472 padding-right: 1px;
473 }
474
475 input.cbi-button-reset {
476 background-image: url('../resources/cbi/reset.gif');
477 color: #000000;
478 padding-left: 17px;
479 padding-right: 1px;
480 }
481
482 input.cbi-button-remove {
483 background-image: url('../resources/cbi/remove.gif');
484 color: #000000;
485 padding-left: 17px;
486 padding-right: 1px;
487 }
488
489 .cbi-input-invalid {
490 background-image: url('../resources/cbi/reset.gif');
491 background-repeat: no-repeat;
492 background-position: right;
493 color: #FF0000 !important;
494 border-color: #FF0000;
495 }
496
497 div.cbi-section-remove input {
498 border-bottom: none;
499 }
500
501 textarea {
502 margin-left: -1px;
503 margin-bottom: 0.5em;
504 }
505
506 form > div > input[type=submit],
507 form > div > input[type=reset] {
508 float: right;
509 margin-left: 0.5em;
510 }
511
512 table.smalltext {
513 background-color: #FFCB05;
514 border-top: 1px solid #666666;
515 border-right: 1px solid #666666;
516 border-bottom: 1px solid #666666;
517 font-size: 90%;
518 width: 80%;
519 margin-left: auto;
520 margin-right: auto;
521 border-collapse: collapse;
522 }
523
524 table.smalltext tr:hover td {
525 background-color: #FFE990;
526 }
527
528 table.smalltext tr th {
529 padding: 0 0.25em;
530 border-left: 1px solid #666666;
531 text-align: left;
532 }
533
534 table.smalltext tr td {
535 padding: 0 0.25em;
536 border-top: 1px solid #666666;
537 border-left: 1px solid #666666;
538 }
539
540 .cbi-rowstyle-1 {
541 background-color: #FFF4BE;
542 }
543
544 .cbi-rowstyle-2 {
545 }
546
547 div.cbi-value {
548 clear: left;
549 vertical-align: middle;
550 padding-left: 0.25em;
551 border-bottom: 1px dotted #FFCB05;
552 }
553
554 div.cbi-value:hover {
555 background: #FFF4BE;
556 }
557
558 div.cbi-value:last-child {
559 border: none;
560 }
561
562 .cbi-value-title {
563 float: left;
564 width: 40%;
565 }
566
567 div.cbi-value-field {
568 width: 58%;
569 margin: 0.25em 0 0.25em 40%;
570 }
571
572 div.cbi-value-description {
573 font-size: 90%;
574 }
575
576 div.cbi-value-field > div.cbi-value-description {
577 display: none;
578 }
579
580 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
581 display: block;
582 color: #ffffff;
583 background-color: #FFCB05;
584 }
585
586 option:active,
587 option:before,
588 option:after,
589 option:focus,
590 option:hover {
591 color: #ffffff;
592 background-color: #EEBA00;
593 background: url(images/bgoption.png);
594 }
595
596 div.cbi-section-create {
597 clear: left;
598 white-space: nowrap;
599 }
600
601 div.cbi-map-descr {
602 margin-bottom: 1em;
603 }
604
605 div.cbi-optionals {
606 margin: 0.5em 0;
607 padding: 0 0.25em;
608 }
609
610 div.cbi-section-remove {
611 float: right;
612 }
613
614 .cbi-section-node {
615 clear: both;
616 border: 1px dotted #FFCB05;
617 padding-bottom: 0;
618 }
619
620 .cbi-section-node div.cbi-section-table-row {
621 margin: 0.25em;
622 }
623
624 table.cbi-section-table {
625 width: 100%;
626 font-size: 95%;
627 }
628
629 table.cbi-section-table th,
630 table.cbi-section-table td {
631 text-align: center;
632 }
633
634 tr.cbi-section-table-descr th {
635 font-weight: normal;
636 font-size: 90%;
637 }
638
639 td.cbi-section-table-optionals {
640 text-align: left !important;
641 padding-top: 1em;
642 }
643
644 .cbi-value-helpicon img {
645 vertical-align: bottom;
646 }
647
648 div.cbi-error {
649 font-size: 95%;
650 font-weight: bold;
651 color: #FF0000;
652 }
653
654 td.cbi-value-error {
655 border-color: red !important;
656 }
657
658 .cbi-value-error input,
659 .cbi-value-error select {
660 color: red !important;
661 background-color: #FFCCCC;
662 }
663
664 .cbi-section-error {
665 color: red;
666 font-size: 95%;
667 border: 1px dotted red;
668 margin: 3px;
669 padding: 3px;
670 }
671
672 ul.cbi-apply {
673 font-size: 90%;
674 }
675
676 ul.cbi-tabmenu {
677 padding: 3px 0;
678 margin-left: 0 !important;
679 margin-bottom: -1px;
680 list-style-type: none;
681 }
682
683 ul.cbi-tabmenu li.cbi-tab,
684 ul.cbi-tabmenu li.cbi-tab-disabled {
685 display: inline;
686 margin: 0;
687 }
688
689 ul.cbi-tabmenu li.cbi-tab a,
690 ul.cbi-tabmenu li.cbi-tab-disabled a {
691 text-decoration: none;
692 padding: 3px 7px;
693 margin-right: 3px;
694 border: 1px outset #000;
695 border-bottom: none;
696 background-color: #eee;
697 color: #bbb;
698 }
699
700 ul.cbi-tabmenu li.cbi-tab-highlighted a {
701 color: #000;
702 background-color: #FFEEAA;
703 }
704
705 ul.cbi-tabmenu li a:hover {
706 color: #000;
707 }
708
709 ul.cbi-tabmenu li.cbi-tab a {
710 position: relative;
711 top: 1px;
712 padding-top: 4px;
713 color: #000;
714 background-color: #fff;
715 }
716
717 div.cbi-tab-descr {
718 background-image: url(/luci-static/resources/cbi/help.gif);
719 background-position: 0.25em 50%;
720 background-repeat: no-repeat;
721 border-bottom: 1px solid #ccc;
722 margin: 0.25em 0.25em 2em;
723 padding: 0.5em 0.5em 0.5em 2em;
724 }
725
726
727 .left {
728 text-align: left !important;
729 }
730
731 .right {
732 text-align: right !important;
733 }
734
735 .luci {
736 position: fixed;
737 bottom: 0;
738 left: 0;
739 text-align: right;
740 }
741
742 .luci a {
743 color: #666666;
744 text-decoration: none;
745 font-size: 70%;
746 }
747
748 .inline {
749 display: inline;
750 }
751
752 .error500 {
753 white-space: normal;
754 border: 1px dotted #FF0000;
755 background-color: #FFFFFF;
756 padding: 0.5em;
757 }
758
759 /* obligatory IE6 Voodoo Code */
760 * html body {
761 padding-left: 50% !important;
762 }
763
764 * html div#header {
765 margin-left: -100% !important;
766 }
767
768 * html div.menubar {
769 margin-left: -100% !important;
770 width: 200% !important;
771 }
772
773 * html div#maincontent {
774 margin-left: -80% !important;
775 width: 160% !important;
776 }
777
778 * html div.mainmenu div.hover ul,
779 * html div.mainmenu div li.hover ul,
780 * html div.mainmenu div li li.hover ul,
781 * html div.mainmenu div li li li.hover ul,
782 * html div.mainmenu div li li li li.hover ul {
783 display: block !important;
784 margin-left: 3em;
785 }
786
787 * html div.mainmenu div.hover ul {
788 margin-left: 0;
789 }
790
791 * html div.mainmenu .hover ul ul,
792 * html div.mainmenu .hover ul ul ul,
793 * html div.mainmenu .hover ul ul ul ul,
794 * html div.mainmenu .hover ul ul ul ul ul {
795 display: none !important;
796 }
797
798 * html div.mainmenu li {
799 height: 1em !important;
800 width: 10em !important;
801 }
802
803 * html .mainmenu {
804 height: 1.8em;
805 }
806
807 * html div.cbi-value-description {
808 margin-left: 40%;
809 }