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