themes: add new image button CSS classes, patch by Kevin Locke <klocke@digitalengines...
[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 div.cbi-section-remove input {
458         border-bottom: none;
459 }
460
461 textarea {
462         margin-left: -1px;
463         margin-bottom: 0.5em;
464 }
465
466 form > div > input[type=submit],
467 form > div > input[type=reset] {
468         float: right;
469         margin-left: 0.5em;
470 }
471
472 table.smalltext {
473 background-color: #FFCB05;
474         border-top: 1px solid #666666;
475         border-right: 1px solid #666666;
476         border-bottom: 1px solid #666666;
477         font-size: 90%;
478         width: 80%;
479         margin-left: auto;
480         margin-right: auto;
481         border-collapse: collapse;
482 }
483
484 table.smalltext tr:hover td {
485 background-color: #FFE990;
486 }
487
488 table.smalltext tr th {
489         padding: 0 0.25em;
490         border-left: 1px solid #666666;
491         text-align: left;
492 }
493
494 table.smalltext tr td {
495         padding: 0 0.25em;
496         border-top: 1px solid #666666;
497         border-left: 1px solid #666666;
498 }
499
500 .cbi-rowstyle-1 {
501         background-color: #FFF4BE;
502 }
503
504 .cbi-rowstyle-2 {
505 }
506
507 div.cbi-value {
508         clear: left;
509         vertical-align: middle;
510         padding-left: 0.25em;
511         border-bottom: 1px dotted #FFCB05;
512 }
513
514 div.cbi-value:hover {
515         background: #FFF4BE;
516 }
517
518 div.cbi-value:last-child {
519         border: none;
520 }
521
522 .cbi-value-title {
523         float: left;
524         width: 40%;
525 }
526
527 div.cbi-value-field {
528         width: 58%;
529         margin: 0.25em 0 0.25em 40%;
530 }
531
532 div.cbi-value-description {
533         font-size: 90%;
534 }
535
536 div.cbi-value-field > div.cbi-value-description {
537         display: inline;
538         color: #ffe990;
539 }
540
541 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
542         color: #000000;
543 }
544
545 option:active,
546 option:before,
547 option:after,
548 option:focus,
549 option:hover {
550         color: #ffffff;
551         background-color: #EEBA00;
552         background: url(images/bgoption.png);
553 }
554
555 div.cbi-section-create {
556         clear: left;
557         white-space: nowrap;
558 }
559
560 div.cbi-map-descr {
561         margin-bottom: 1em;
562 }
563
564 div.cbi-optionals {
565         margin: 0.5em 0;
566         padding: 0 0.25em;
567 }
568
569 div.cbi-section-remove {
570         float: right;
571 }
572
573 .cbi-section-node {
574         clear: both;
575         border: 1px dotted #FFCB05;
576         padding-bottom: 0;
577 }
578
579 .cbi-section-node div.cbi-section-table-row {
580         margin: 0.25em;
581 }
582
583 table.cbi-section-table {
584         width: 100%;
585         font-size: 95%;
586 }
587
588 table.cbi-section-table th,
589 table.cbi-section-table td {
590         text-align: center;
591 }
592
593 tr.cbi-section-table-descr th {
594         font-weight: normal;
595         font-size: 90%;
596 }
597
598 td.cbi-section-table-optionals {
599         text-align: left !important;
600         padding-top: 1em;
601 }
602
603 .cbi-value-helpicon img {
604         vertical-align: bottom;
605 }
606
607 div.cbi-error {
608         font-size: 95%;
609         font-weight: bold;
610         color: #FF0000;
611 }
612
613 td.cbi-value-error {
614         border-color: red !important;
615 }
616
617 .cbi-value-error input,
618 .cbi-value-error select {
619         color: red !important;
620         background-color: #FFCCCC;
621 }
622
623 .cbi-section-error {
624         color: red;
625         font-size: 95%;
626         border: 1px dotted red;
627         margin: 3px;
628         padding: 3px;
629 }
630
631 ul.cbi-apply {
632         font-size: 90%;
633 }
634
635 .right {
636         text-align: right;
637 }
638
639 .luci {
640         position: fixed;
641         bottom: 0;
642         left: 0;
643         text-align: right;
644 }
645
646 .luci a {
647         color: #666666;
648         text-decoration: none;
649         font-size: 70%;
650 }
651
652 .inline {
653         display: inline;
654 }
655
656 .error500 {
657         white-space: normal;
658         border: 1px dotted #FF0000;
659         background-color: #FFFFFF;
660         padding: 0.5em;
661 }
662
663 /* obligatory IE6 Voodoo Code */
664 * html body {
665         padding-left: 50% !important;
666 }
667
668 * html div#header {
669         margin-left: -100% !important;
670 }
671
672 * html div.menubar {
673         margin-left: -100% !important;
674         width: 200% !important;
675 }
676
677 * html div#maincontent {
678         margin-left: -80% !important;
679         width: 160% !important;
680 }
681
682 * html div.mainmenu div.hover ul,
683 * html div.mainmenu div li.hover ul,
684 * html div.mainmenu div li li.hover ul,
685 * html div.mainmenu div li li li.hover ul,
686 * html div.mainmenu div li li li li.hover ul {
687         display: block !important;
688         margin-left: 3em;
689 }
690
691 * html div.mainmenu div.hover ul {
692         margin-left: 0;
693 }
694
695 * html div.mainmenu .hover ul ul,
696 * html div.mainmenu .hover ul ul ul,
697 * html div.mainmenu .hover ul ul ul ul,
698 * html div.mainmenu .hover ul ul ul ul ul {
699         display: none !important;
700 }
701
702 * html div.mainmenu li {
703         height: 1em !important;
704         width: 10em !important;
705 }
706
707 * html .mainmenu {
708         height: 1.8em;
709 }
710
711 * html div.cbi-value-description {
712         margin-left: 40%;
713 }