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