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