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