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