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