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