* luci/themes: add required css classes for cbi-uvl-errors
[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#content 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 #content {
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 #content h1 {
178 margin: 0.25em 0 0.5em 0;
179 font-size: 150%;
180 font-weight: normal;
181 }
182
183 #content h2 {
184 margin: 0.5em 0;
185 font-size: 120%;
186 font-weight: normal;
187 text-decoration: underline;
188 }
189
190 #content p {
191 margin-bottom: 1em;
192 }
193
194 .cbi-section {
195 margin-bottom: 0.5em;
196 padding: 0.5em 1em;
197 border: 1px dotted #555555;
198 background-color: #f2f3f9;
199 }
200
201 .cbi-section legend {
202 font-size: 110%;
203 font-weight: bold;
204 height: 1em;
205 padding: 0 0.25em;
206 color: #555555;
207 }
208
209 .cbi-section h2 {
210 margin: 0em 0 0.5em -0.5em !important;
211 }
212
213 .cbi-section h3 {
214 height: 1.5em;
215 font-size: 90%;
216 color: #555555;
217 }
218
219 .cbi-section-descr {
220 margin-bottom: 0.5em;
221 font-size: 95%;
222 }
223
224 .cbi-title-ref {
225 color: inherit;
226 text-decoration: none;
227 padding-right: 18px;
228 background: url('../resources/cbi/link.gif') no-repeat scroll right center;
229 background-color: inherit;
230 }
231
232 input[type=submit],
233 input[type=reset],
234 input[type=image],
235 label {
236 cursor: pointer;
237 }
238
239 select,
240 input,
241 textarea {
242 background: #eeeeee;
243 color: #000000;
244 border-width: 1px;
245 border-color: #000000;
246 }
247
248 input[type=image] {
249 border: none;
250 }
251
252
253 input:focus,
254 input:hover,
255 select:focus,
256 select:hover,
257 textarea:focus,
258 textarea:hover {
259 background-color: #f2f3f9;
260 }
261
262 select,
263 input[type=text],
264 input[type=password] {
265 width: 20em;
266 }
267
268 td select,
269 td input[type=text],
270 td input[type=password] {
271 width: 99%;
272 }
273
274 input.cbi-input-user {
275 background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
276 background-color: inherit;
277 padding-left: 17px;
278 }
279
280 input.cbi-input-key {
281 background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
282 background-color: inherit;
283 padding-left: 17px;
284 }
285
286 input.cbi-input-find {
287 background: url('../resources/cbi/find.gif') no-repeat scroll 1px center;
288 background-color: inherit;
289 padding-left: 17px;
290 }
291
292 input.cbi-input-reload {
293 background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center;
294 background-color: inherit;
295 padding-left: 17px;
296 }
297
298 input.cbi-input-add,
299 input.cbi-button-add {
300 background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;
301 background-color: inherit;
302 padding-left: 17px;
303 padding-right: 1px;
304 }
305
306 input.cbi-input-fieldadd,
307 input.cbi-button-fieldadd {
308 background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
309 background-color: inherit;
310 padding-left: 17px;
311 padding-right: 1px;
312 }
313
314 input.cbi-input-reset,
315 input.cbi-button-reset {
316 background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
317 background-color: inherit;
318 padding-left: 17px;
319 padding-right: 1px;
320 }
321
322 input.cbi-input-save,
323 input.cbi-button-save {
324 background: url('../resources/cbi/save.gif') no-repeat scroll 1px center;
325 background-color: inherit;
326 padding-left: 17px;
327 padding-right: 1px;
328 }
329
330 input.cbi-input-apply,
331 input.cbi-button-apply {
332 background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
333 background-color: inherit;
334 padding-left: 17px;
335 padding-right: 1px;
336 }
337
338 input.cbi-input-remove,
339 div.cbi-section-remove input {
340 background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
341 background-color: inherit;
342 padding-left: 17px;
343 padding-right: 1px;
344 }
345
346 div.cbi-section-remove input {
347 border-bottom: none;
348 }
349
350 textarea {
351 margin-left: -1px;
352 margin-bottom: 0.5em;
353 }
354
355 form > div > input[type=submit],
356 form > div > input[type=reset] {
357 float: right;
358 margin-left: 0.5em;
359 }
360
361 table.smalltext {
362 background: #f5f5f5;
363 border-top: 1px solid #666666;
364 border-right: 1px solid #666666;
365 border-bottom: 1px solid #666666;
366 font-size: 90%;
367 width: 80%;
368 margin-left: auto;
369 margin-right: auto;
370 border-collapse: collapse;
371 }
372
373 table.smalltext tr:hover td {
374 background-color: #bbddee;
375 }
376
377 table.smalltext tr th {
378 padding: 0 0.25em;
379 border-left: 1px solid #666666;
380 text-align: left;
381 }
382
383 table.smalltext tr td {
384 padding: 0 0.25em;
385 border-top: 1px solid #666666;
386 border-left: 1px solid #666666;
387 }
388
389 .cbi-rowstyle-1 {
390 background-color: #eeeeff;
391 }
392
393 .cbi-rowstyle-2 {
394
395 }
396
397 div.cbi-value {
398 clear: left;
399 vertical-align: middle;
400 padding-left: 0.25em;
401 border-bottom: 1px dotted #bbbbbb;
402 }
403
404 div.cbi-value:hover {
405 background: #f8f8f8;
406 }
407
408 div.cbi-value:last-child {
409 border: none;
410 }
411
412 .cbi-value-title {
413 float: left;
414 width: 40%;
415 }
416
417 div.cbi-value-field {
418 width: 58%;
419 margin: 0.25em 0 0.25em 40%;
420 }
421
422 div.cbi-value-description {
423 font-size: 90%;
424 }
425
426 div.cbi-value-field > div.cbi-value-description {
427 display: none;
428 }
429
430 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
431 display: block;
432 }
433
434 div.cbi-section-create {
435 clear: left;
436 }
437
438 div.cbi-map-descr {
439 margin-bottom: 1em;
440 }
441
442 div.cbi-optionals {
443 margin: 0.5em 0;
444 padding: 0 0.25em;
445 }
446
447 div.cbi-section-remove {
448 float: right;
449 }
450
451 .cbi-section-node {
452 clear: both;
453 border: 1px dotted #bbbbbb;
454 padding-bottom: 0;
455 }
456
457 .cbi-section-node div.cbi-section-table-row {
458 margin: 0.25em;
459 }
460
461 table.cbi-section-table {
462 width: 100%;
463 font-size: 95%;
464 }
465
466 table.cbi-section-table th,
467 table.cbi-section-table td {
468 text-align: center;
469 }
470
471 tr.cbi-section-table-descr th {
472 font-weight: normal;
473 font-size: 90%;
474 }
475
476 td.cbi-section-table-optionals {
477 text-align: left !important;
478 padding-top: 1em;
479 }
480
481 .cbi-value-helpicon img {
482 vertical-align: bottom;
483 }
484
485 div.cbi-error {
486 font-size: 95%;
487 font-weight: bold;
488 color: #FF0000;
489 }
490
491 td.cbi-value-error {
492 border-color: red !important;
493 }
494
495 .cbi-value-error input,
496 .cbi-value-error select {
497 color: red !important;
498 background-color: #FFCCCC;
499 }
500
501 .cbi-section-error {
502 color: red;
503 font-size: 95%;
504 border: 1px dotted red;
505 margin: 3px;
506 padding: 3px;
507 }
508
509 .right {
510 text-align: right;
511 }
512
513 .luci {
514 position: fixed;
515 bottom: 0;
516 left: 0;
517 text-align: right;
518 }
519
520 .luci a {
521 color: #666666;
522 text-decoration: none;
523 font-size: 70%;
524 }
525
526 .inline {
527 display: inline;
528 }
529
530 .error500 {
531 white-space: normal;
532 border: 1px dotted #FF0000;
533 background-color: #FFFFFF;
534 padding: 0.5em;
535 }
536
537 #memorybar {
538 width:200px;
539 height:8px;
540 border:1px solid #bbb;
541 background-color:red
542 }
543
544 #memfree, #membuffers, #memcached {
545 float:right;
546 border:1px solid #bbb;
547 height:6px;
548 }
549
550 #memfree {
551 background-color:green;
552 }
553
554 #membuffers {
555 background-color:yellow;
556 }
557
558 #memcached {
559 background-color:orange;
560 }
561
562
563 /* obligatory IE6 Voodoo Code */
564 * html body {
565 padding-left: 50% !important;
566 }
567
568 * html div#header {
569 margin-left: -100% !important;
570 }
571
572 * html div.menubar {
573 margin-left: -100% !important;
574 width: 200% !important;
575 }
576
577 * html div#content {
578 margin-left: -80% !important;
579 width: 160% !important;
580 }
581
582 * html div.mainmenu div.hover ul,
583 * html div.mainmenu div li.hover ul,
584 * html div.mainmenu div li li.hover ul,
585 * html div.mainmenu div li li li.hover ul,
586 * html div.mainmenu div li li li li.hover ul {
587 display: block !important;
588 margin-left: 3em;
589 }
590
591 * html div.mainmenu div.hover ul {
592 margin-left: 0;
593 }
594
595 * html div.mainmenu .hover ul ul,
596 * html div.mainmenu .hover ul ul ul,
597 * html div.mainmenu .hover ul ul ul ul,
598 * html div.mainmenu .hover ul ul ul ul ul {
599 display: none !important;
600 }
601
602 * html div.mainmenu li {
603 height: 1em !important;
604 width: 10em !important;
605 }
606
607 * html .mainmenu {
608 height: 1.8em;
609 }
610
611 * html div.cbi-value-description {
612 margin-left: 40%;
613 }