luci-0.8: merge r4489
[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 input.cbi-input-user {
380 background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
381 background-color: inherit;
382 padding-left: 17px;
383 }
384
385 input.cbi-input-password {
386 background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
387 background-color: inherit;
388 padding-left: 17px;
389 }
390
391 input.cbi-input-find {
392 background: url('../resources/cbi/find.gif') no-repeat scroll 1px center;
393 background-color: inherit;
394 padding-left: 17px;
395 }
396
397 input.cbi-input-reload {
398 background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center;
399 background-color: inherit;
400 padding-left: 17px;
401 }
402
403 input.cbi-input-add,
404 input.cbi-button-add {
405 background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;
406 background-color: inherit;
407 padding-left: 17px;
408 padding-right: 1px;
409 }
410
411 input.cbi-input-fieldadd,
412 input.cbi-button-fieldadd {
413 background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
414 background-color: inherit;
415 padding-left: 17px;
416 padding-right: 1px;
417 }
418
419 input.cbi-input-reset,
420 input.cbi-button-reset {
421 background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
422 background-color: inherit;
423 padding-left: 17px;
424 padding-right: 1px;
425 }
426
427 input.cbi-input-save,
428 input.cbi-button-save {
429 background: url('../resources/cbi/save.gif') no-repeat scroll 1px center;
430 background-color: inherit;
431 padding-left: 17px;
432 padding-right: 1px;
433 }
434
435 input.cbi-input-apply,
436 input.cbi-button-apply {
437 background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
438 background-color: inherit;
439 padding-left: 17px;
440 padding-right: 1px;
441 }
442
443 input.cbi-input-remove,
444 div.cbi-section-remove input {
445 background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
446 background-color: inherit;
447 padding-left: 17px;
448 padding-right: 1px;
449 }
450
451 div.cbi-section-remove input {
452 border-bottom: none;
453 }
454
455 textarea {
456 margin-left: -1px;
457 margin-bottom: 0.5em;
458 }
459
460 form > div > input[type=submit],
461 form > div > input[type=reset] {
462 float: right;
463 margin-left: 0.5em;
464 }
465
466 table.smalltext {
467 background-color: #FFCB05;
468 border-top: 1px solid #666666;
469 border-right: 1px solid #666666;
470 border-bottom: 1px solid #666666;
471 font-size: 90%;
472 width: 80%;
473 margin-left: auto;
474 margin-right: auto;
475 border-collapse: collapse;
476 }
477
478 table.smalltext tr:hover td {
479 background-color: #FFE990;
480 }
481
482 table.smalltext tr th {
483 padding: 0 0.25em;
484 border-left: 1px solid #666666;
485 text-align: left;
486 }
487
488 table.smalltext tr td {
489 padding: 0 0.25em;
490 border-top: 1px solid #666666;
491 border-left: 1px solid #666666;
492 }
493
494 .cbi-rowstyle-1 {
495 background-color: #FFF4BE;
496 }
497
498 .cbi-rowstyle-2 {
499 }
500
501 div.cbi-value {
502 clear: left;
503 vertical-align: middle;
504 padding-left: 0.25em;
505 border-bottom: 1px dotted #FFCB05;
506 }
507
508 div.cbi-value:hover {
509 background: #FFF4BE;
510 }
511
512 div.cbi-value:last-child {
513 border: none;
514 }
515
516 .cbi-value-title {
517 float: left;
518 width: 40%;
519 }
520
521 div.cbi-value-field {
522 width: 58%;
523 margin: 0.25em 0 0.25em 40%;
524 }
525
526 div.cbi-value-description {
527 font-size: 90%;
528 }
529
530 div.cbi-value-field > div.cbi-value-description {
531 display: inline;
532 color: #ffe990;
533 }
534
535 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
536 color: #000000;
537 }
538
539 option:active,
540 option:before,
541 option:after,
542 option:focus,
543 option:hover {
544 color: #ffffff;
545 background-color: #EEBA00;
546 background: url(images/bgoption.png);
547 }
548
549 div.cbi-section-create {
550 clear: left;
551 white-space: nowrap;
552 }
553
554 div.cbi-map-descr {
555 margin-bottom: 1em;
556 }
557
558 div.cbi-optionals {
559 margin: 0.5em 0;
560 padding: 0 0.25em;
561 }
562
563 div.cbi-section-remove {
564 float: right;
565 }
566
567 .cbi-section-node {
568 clear: both;
569 border: 1px dotted #FFCB05;
570 padding-bottom: 0;
571 }
572
573 .cbi-section-node div.cbi-section-table-row {
574 margin: 0.25em;
575 }
576
577 table.cbi-section-table {
578 width: 100%;
579 font-size: 95%;
580 }
581
582 table.cbi-section-table th,
583 table.cbi-section-table td {
584 text-align: center;
585 }
586
587 tr.cbi-section-table-descr th {
588 font-weight: normal;
589 font-size: 90%;
590 }
591
592 td.cbi-section-table-optionals {
593 text-align: left !important;
594 padding-top: 1em;
595 }
596
597 .cbi-value-helpicon img {
598 vertical-align: bottom;
599 }
600
601 div.cbi-error {
602 font-size: 95%;
603 font-weight: bold;
604 color: #FF0000;
605 }
606
607 td.cbi-value-error {
608 border-color: red !important;
609 }
610
611 .cbi-value-error input,
612 .cbi-value-error select {
613 color: red !important;
614 background-color: #FFCCCC;
615 }
616
617 .cbi-section-error {
618 color: red;
619 font-size: 95%;
620 border: 1px dotted red;
621 margin: 3px;
622 padding: 3px;
623 }
624
625 ul.cbi-apply {
626 font-size: 90%;
627 }
628
629 .right {
630 text-align: right;
631 }
632
633 .luci {
634 position: fixed;
635 bottom: 0;
636 left: 0;
637 text-align: right;
638 }
639
640 .luci a {
641 color: #666666;
642 text-decoration: none;
643 font-size: 70%;
644 }
645
646 .inline {
647 display: inline;
648 }
649
650 .error500 {
651 white-space: normal;
652 border: 1px dotted #FF0000;
653 background-color: #FFFFFF;
654 padding: 0.5em;
655 }
656
657 #memorybar {
658 width:200px;
659 height:8px;
660 border:1px solid #bbb;
661 background-color:red
662 }
663
664 #memfree, #membuffers, #memcached {
665 float:right;
666 border:1px solid #bbb;
667 height:6px;
668 }
669
670 #memfree {
671 background-color:green;
672 }
673
674 #membuffers {
675 background-color:yellow;
676 }
677
678 #memcached {
679 background-color:orange;
680 }
681
682
683 /* obligatory IE6 Voodoo Code */
684 * html body {
685 padding-left: 50% !important;
686 }
687
688 * html div#header {
689 margin-left: -100% !important;
690 }
691
692 * html div.menubar {
693 margin-left: -100% !important;
694 width: 200% !important;
695 }
696
697 * html div#maincontent {
698 margin-left: -80% !important;
699 width: 160% !important;
700 }
701
702 * html div.mainmenu div.hover ul,
703 * html div.mainmenu div li.hover ul,
704 * html div.mainmenu div li li.hover ul,
705 * html div.mainmenu div li li li.hover ul,
706 * html div.mainmenu div li li li li.hover ul {
707 display: block !important;
708 margin-left: 3em;
709 }
710
711 * html div.mainmenu div.hover ul {
712 margin-left: 0;
713 }
714
715 * html div.mainmenu .hover ul ul,
716 * html div.mainmenu .hover ul ul ul,
717 * html div.mainmenu .hover ul ul ul ul,
718 * html div.mainmenu .hover ul ul ul ul ul {
719 display: none !important;
720 }
721
722 * html div.mainmenu li {
723 height: 1em !important;
724 width: 10em !important;
725 }
726
727 * html .mainmenu {
728 height: 1.8em;
729 }
730
731 * html div.cbi-value-description {
732 margin-left: 40%;
733 }