2b1946c0fb20908d89d6cd0eedec37d75e78853d
[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 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: #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-button {
260         padding-left: 17px;
261         padding-right: 1px;
262 }
263
264 input.cbi-button-add {
265         background: transparent url('../resources/cbi/add.gif') no-repeat scroll 1px center;
266 }
267
268 input.cbi-button-fieldadd {
269         background: transparent url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
270 }
271
272 input.cbi-button-reset {
273         background: transparent url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
274 }
275
276 input.cbi-button-save {
277         background: transparent url('../resources/cbi/save.gif') no-repeat scroll 1px center;
278 }
279
280 input.cbi-button-apply {
281         background: transparent url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
282 }
283
284 div.cbi-section-remove input {
285         background: transparent url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
286         padding-left: 17px;
287         padding-right: 1px;
288         border-bottom: none;
289 }
290
291 textarea {
292         margin-left: -1px;
293         margin-bottom: 0.5em;
294 }
295
296 form > div > input[type=submit],
297 form > div > input[type=reset] {
298         float: right;
299         margin-left: 0.5em;
300 }
301
302 table.smalltext {
303         background: #f5f5f5;
304         border-top: 1px solid #666666;
305         border-right: 1px solid #666666;
306         border-bottom: 1px solid #666666;
307         font-size: 90%;
308         width: 80%;
309         margin-left: auto;
310         margin-right: auto;
311         border-collapse: collapse;
312 }
313
314 table.smalltext tr:hover td {
315         background-color: #bbddee;
316 }
317
318 table.smalltext tr th {
319         padding: 0 0.25em;
320         border-left: 1px solid #666666;
321         text-align: left;
322 }
323
324 table.smalltext tr td {
325         padding: 0 0.25em;
326         border-top: 1px solid #666666;
327         border-left: 1px solid #666666;
328 }
329
330 .cbi-rowstyle-1 {
331         background-color: #eeeeff;
332 }
333
334 .cbi-rowstyle-2 {
335
336 }
337
338 div.cbi-value {
339         clear: left;
340         vertical-align: middle;
341         padding-left: 0.25em;
342         border-bottom: 1px dotted #bbbbbb;
343 }
344
345 div.cbi-value:hover {
346         background: #f8f8f8;
347 }
348
349 div.cbi-value:last-child {
350         border: none;
351 }
352
353 .cbi-value-title {
354         float: left;
355         width: 40%;
356 }
357
358 div.cbi-value-field {
359         width: 58%;
360         margin: 0.25em 0 0.25em 40%;
361 }
362
363 div.cbi-value-description {
364         font-size: 90%;
365 }
366
367 div.cbi-value-field > div.cbi-value-description {
368         display: none;
369 }
370
371 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
372         display: block;
373 }
374
375 div.cbi-section-create {
376         clear: left;
377 }
378
379 div.cbi-map-descr {
380         margin-bottom: 1em;
381 }
382
383 div.cbi-optionals {
384         margin: 0.5em 0;
385         padding: 0 0.25em;
386 }
387
388 div.cbi-section-remove {
389         float: right;
390 }
391
392 .cbi-section-node {
393         clear: both;
394         border: 1px dotted #bbbbbb;
395         padding-bottom: 0;
396 }
397
398 .cbi-section-node div.cbi-section-table-row {
399         margin: 0.25em;
400 }
401
402 table.cbi-section-table {
403         width: 100%;
404         font-size: 95%;
405 }
406
407 table.cbi-section-table th,
408 table.cbi-section-table td {
409         text-align: center;
410 }
411
412 tr.cbi-section-table-descr th {
413         font-weight: normal;
414         font-size: 90%;
415 }
416
417 td.cbi-section-table-optionals {
418         text-align: left !important;
419         padding-top: 1em;
420 }
421
422 .cbi-value-helpicon img {
423         vertical-align: bottom;
424 }
425
426 div.cbi-error {
427         font-size: 95%;
428         font-weight: bold;
429         color: #FF0000;
430 }
431
432 .right {
433         text-align: right;
434 }
435
436 .luci {
437         position: fixed;
438         bottom: 0;
439         left: 0;
440         text-align: right;
441 }
442
443 .luci a {
444         color: #666666;
445         text-decoration: none;
446         font-size: 70%;
447 }
448
449 .inline {
450         display: inline;
451 }
452
453 .error500 {
454         white-space: normal;
455         border: 1px dotted #FF0000;
456         background-color: #FFFFFF;
457         padding: 0.5em;
458 }
459
460 #memorybar {
461         width:200px;
462         height:8px;
463         border:1px solid #bbb;
464         background-color:red
465 }
466
467 #memfree, #membuffers, #memcached {
468         float:right;
469         border:1px solid #bbb;
470         height:6px;
471 }
472
473 #memfree {
474         background-color:green;
475 }
476
477 #membuffers {
478         background-color:yellow;
479 }
480
481 #memcached {
482         background-color:orange;
483 }
484
485
486 /* obligatory IE6 Voodoo Code */
487 * html body {
488         padding-left: 50% !important;
489 }
490
491 * html div#header {
492         margin-left: -100% !important;
493 }
494
495 * html div.menubar {
496         margin-left: -100% !important;
497         width: 200% !important;
498 }
499
500 * html div#content {
501         margin-left: -80% !important;
502         width: 160% !important;
503 }
504
505 * html div.mainmenu div.hover ul,
506 * html div.mainmenu div li.hover ul,
507 * html div.mainmenu div li li.hover ul,
508 * html div.mainmenu div li li li.hover ul,
509 * html div.mainmenu div li li li li.hover ul {
510         display: block !important;
511         margin-left: 3em;
512 }
513
514 * html div.mainmenu div.hover ul {
515         margin-left: 0;
516 }
517
518 * html div.mainmenu .hover ul ul,
519 * html div.mainmenu .hover ul ul ul,
520 * html div.mainmenu .hover ul ul ul ul,
521 * html div.mainmenu .hover ul ul ul ul ul {
522         display: none !important;
523 }
524
525 * html div.mainmenu li {
526         height: 1em !important;
527         width: 10em !important;
528 }
529
530 * html .mainmenu {
531         height: 1.8em;
532 }
533
534 * html div.cbi-value-description {
535         margin-left: 40%;
536 }