modules/admin-full: Network interface configuration optimization part #1
[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 label {
220         cursor: pointer;
221 }
222
223 select,
224 input,
225 textarea {
226         background: #eeeeee;
227         color: #000000;
228         border: 1px solid #000000;
229 }
230
231 input:focus,
232 textarea:focus {
233         background: #ffffff;
234 }
235
236 select,
237 input[type=text],
238 input[type=password] {
239         width: 20em;
240 }
241
242 td select,
243 td input[type=text],
244 td input[type=password] {
245         width: 99%;
246 }
247
248 button.clean {
249         cursor: pointer;
250         border: none;
251         background-color: inherit;
252 }
253
254 textarea {
255         margin-left: -1px;
256         margin-bottom: 0.5em;
257 }
258
259 form > div > input[type=submit],
260 form > div > input[type=reset] {
261         float: right;
262         margin-left: 0.5em;
263 }
264
265 table.smalltext {
266         background: #f5f5f5;
267         border-top: 1px solid #666666;
268         border-right: 1px solid #666666;
269         border-bottom: 1px solid #666666;
270         font-size: 90%;
271         width: 80%;
272         margin-left: auto;
273         margin-right: auto;
274         border-collapse: collapse;
275 }
276
277 table.smalltext tr:hover td {
278         background-color: #bbddee;
279 }
280
281 table.smalltext tr th {
282         padding: 0 0.25em;
283         border-left: 1px solid #666666;
284         text-align: left;
285 }
286
287 table.smalltext tr td {
288         padding: 0 0.25em;
289         border-top: 1px solid #666666;
290         border-left: 1px solid #666666;
291 }
292
293 div.cbi-value {
294         clear: left;
295         padding: 0.25em;
296         border-bottom: 1px dotted #bbbbbb;
297 }
298
299 div.cbi-value:hover {
300         background: #f8f8f8;
301 }
302
303 div.cbi-value:last-child {
304         border: none;
305 }
306
307 .cbi-value-title {
308         float: left;
309         width: 40%;
310         margin: 0.25em 0;
311 }
312
313 div.cbi-value-field {
314         width: 58%;
315         margin: 0.25em 0 0.25em 40%;
316 }
317
318 div.cbi-value-description {
319         font-size: 90%;
320 }
321
322 div.cbi-value-field > div.cbi-value-description {
323         display: none;
324 }
325
326 div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
327         display: block;
328 }
329
330 div.cbi-section-create {
331         clear: left;
332 }
333
334 div.cbi-map-descr {
335         margin-bottom: 1em;
336 }
337
338 div.cbi-optionals {
339         margin: 0.5em 0;
340         padding: 0 0.25em;
341 }
342
343 div.cbi-section-remove {
344         float: right;
345 }
346
347 div.cbi-section-remove input {
348         border-color: #bbbbbb;
349         border-bottom: none;
350 }
351
352 .cbi-section-node {
353         clear: both;
354         border: 1px dotted #bbbbbb;
355         padding-bottom: 0;
356 }
357
358 table.cbi-section-table {
359         width: 100%;
360         font-size: 95%;
361 }
362
363 table.cbi-section-table th,
364 table.cbi-section-table td {
365         text-align: center;
366 }
367
368 tr.cbi-section-table-descr th {
369         font-weight: normal;
370         font-size: 90%;
371 }
372
373 td.cbi-section-table-optionals {
374         text-align: left !important;
375         padding-top: 1em;
376 }
377
378 .right {
379         text-align: right;
380 }
381
382 .luci {
383         position: fixed;
384         bottom: 0;
385         left: 0;
386         text-align: right;
387 }
388
389 .luci a {
390         color: #666666;
391         text-decoration: none;
392         font-size: 70%;
393 }
394
395 .inline {
396         display: inline;
397 }
398
399 #memorybar {
400         width:200px;
401         height:8px;
402         border:1px solid #bbb;
403         background-color:red
404 }
405
406 #memfree, #membuffers, #memcached {
407         float:right;
408         border:1px solid #bbb;
409         height:6px;
410 }
411
412 #memfree {
413         background-color:green;
414 }
415
416 #membuffers {
417         background-color:yellow;
418 }
419
420 #memcached {
421         background-color:orange;
422 }
423
424
425 /* obligatory IE6 Voodoo Code */
426 * html body {
427         padding-left: 50% !important;
428 }
429
430 * html div#header {
431         margin-left: -100% !important;
432 }
433
434 * html div.menubar {
435         margin-left: -100% !important;
436         width: 200% !important;
437 }
438
439 * html div#content {
440         margin-left: -80% !important;
441         width: 160% !important;
442 }
443
444 * html div.mainmenu div.hover ul,
445 * html div.mainmenu div li.hover ul,
446 * html div.mainmenu div li li.hover ul,
447 * html div.mainmenu div li li li.hover ul,
448 * html div.mainmenu div li li li li.hover ul {
449         display: block !important;
450         margin-left: 3em;
451 }
452
453 * html div.mainmenu div.hover ul {
454         margin-left: 0;
455 }
456
457 * html div.mainmenu .hover ul ul,
458 * html div.mainmenu .hover ul ul ul,
459 * html div.mainmenu .hover ul ul ul ul,
460 * html div.mainmenu .hover ul ul ul ul ul {
461         display: none !important;
462 }
463
464 * html div.mainmenu li {
465         height: 1em !important;
466         width: 10em !important;
467 }
468
469 * html .mainmenu {
470         height: 1.8em;
471 }
472
473 * html div.cbi-value-description {
474         margin-left: 40%;
475 }