themes: add new image button CSS classes, patch by Kevin Locke <klocke@digitalengines...
[project/luci.git] / themes / oxygen / htdocs / luci-static / oxygen / cascade.css
1 @charset "utf-8";
2
3 @media all {
4
5 html, body {
6 height: 100%;
7 }
8
9 body {
10 font-family: Verdana, Arial, sans-serif;
11 font-size: 101%;
12 line-height: 100%;
13 background: #557788 url(bg.png) no-repeat;
14 }
15
16 div#screen {
17 min-height: 100%;
18 background: url(footer.png) no-repeat bottom fixed;
19 }
20
21 * {
22 margin: 0;
23 padding: 0;
24 }
25
26 abbr,
27 acronym {
28 font-style: normal;
29 font-variant: normal;
30 }
31
32 abbr[title],
33 acronym[title] {
34 border-bottom: 1px dotted;
35 cursor: help;
36 }
37
38 a:link abbr[title],
39 a:visited abbr[title],
40 a:link acronym[title],
41 a:visited acronym[title] {
42 cursor: pointer;
43 }
44
45 code {
46 font-family: monospace;
47 white-space: pre;
48 }
49
50 #maincontent ul {
51 margin-left: 2em;
52 }
53
54 .warning {
55 color: red;
56 background-color: white;
57 font-weight: bold;
58 }
59
60 .clear {
61 clear: both;
62 }
63
64 .skiplink,
65 .navigation,
66 .hidden {
67 position: absolute;
68 left: -1000px;
69 top: -1000px;
70 width: 0px;
71 height: 0px;
72 overflow: hidden;
73 display: inline;
74 }
75
76 .error {
77 color: #ff0000;
78 background-color: white;
79 }
80
81 #header {
82 min-height: 98px;
83 background-image: url(header.png);
84 background-repeat: no-repeat;
85 background-position: left center;
86 background-color: #557788;
87 color: #ffffff;
88 text-align: right;
89 }
90
91 #header h1 {
92 padding: 1em 1em 0 1em;
93 }
94
95 #header p {
96 padding: 0 1em 1em 1em;
97 }
98
99 #header h1,
100 #header p {
101 font-size: 70%;
102 font-weight: normal;
103 line-height: 160%;
104 text-align: right;
105 }
106
107 .menubar {
108 background: #000000;
109 background: rgba(0, 0, 0, 0.8);
110 color: #ffffff;
111 width: 80%;
112 font-size: 0.8em;
113
114 margin: 0.5em auto;
115
116 padding: 0.25em;
117 padding-left: 0.5em;
118 padding-right: 0.5em;
119
120 border: 1px solid #000000;
121 border-radius: 0.8em;
122 -khtml-border-radius: 0.8em;
123 -moz-border-radius: 0.8em;
124 -webkit-border-radius:0.8em;
125 -opera-border-radius: 0.8em;
126 }
127
128 .menubar .warning {
129 color: red;
130 background-color: #557788;
131 }
132
133 html .menubar a:link,
134 html .menubar a:visited {
135 color: #ffffff;
136 text-decoration: none;
137 font-weight: bold;
138 }
139
140 html .menubar a.menulink {
141 margin-left: 1em;
142 }
143
144
145 html .menubar a:link:hover,
146 html .menubar a:visited:hover,
147 html .menubar a:link:active,
148 html .menubar a:visited:active,
149 .menubar a:link:focus,
150 .menubar a:visited:focus {
151 background: #000000;
152 color: #ffff00;
153 }
154
155 html .menubar a:link.active,
156 html .menubar a:visited.active,
157 html .menubar a:link.preactive,
158 html .menubar a:visited.preactive {
159 background: #000000;
160 color: #ffff00;
161 font-weight: bold;
162 }
163
164 html .menubar a:link.warning,
165 html .menubar a:visited.warning {
166 background: #000000;
167 color: red;
168 font-weight: bold;
169 }
170
171 .lang_de #submenu_admin_uci {
172 width: 12em;
173 }
174
175 .lang_ru #submenu_admin_uci {
176 width: 11.5em;
177 }
178
179 #maincontent {
180 clear: both;
181 width: 80%;
182 margin: 0 auto;
183 padding: 0.5em;
184 background: #f5f5f5;
185 background: rgba(245, 245, 245, 0.9);
186 color: #000000;
187 border-width: 1px solid #444444;
188 font-size: 80%;
189
190 border-radius: 1em;
191 -khtml-border-radius: 1em;
192 -moz-border-radius: 1em;
193 -webkit-border-radius: 1em;
194 -opera-border-radius: 1em;
195 }
196
197 #maincontent h2 {
198 margin: 0.25em 0 0.5em 0;
199 font-size: 150%;
200 font-weight: normal;
201 }
202
203 #maincontent h3 {
204 margin: 0.5em 0;
205 font-size: 120%;
206 font-weight: normal;
207 text-decoration: underline;
208 }
209
210 #maincontent p {
211 margin-bottom: 1em;
212 }
213
214 textarea#syslog {
215 width: 98%;
216 min-height: 500px;
217 border: 3px solid #cccccc;
218 padding: 5px;
219 font-family: monospace;
220 }
221
222 .cbi-section {
223 margin-bottom: 0.5em;
224 padding: 0.5em 1em;
225 border: 1px dotted #555555;
226 background-color: #ffffff;
227 background-color: rgba(255, 255, 255, 0.8);
228 color: #000000;
229 }
230
231 .cbi-section legend {
232 font-size: 110%;
233 font-weight: bold;
234 height: 1em;
235 padding: 0 0.25em;
236 background-color: transparent;
237 color: #555555;
238 }
239
240 *+html .cbi-section legend {
241 background-color: #ffffff;
242 background-color: rgba(255, 255, 255, 0.8);
243 color: #555555;
244 }
245
246 * html .cbi-section legend {
247 background-color: #ffffff;
248 background-color: rgba(255, 255, 255, 0.8);
249 color: #555555;
250 }
251
252 .cbi-section h2 {
253 margin: 0em 0 0.5em -0.5em !important;
254 }
255
256 .cbi-section h3 {
257 height: 1.5em;
258 font-size: 90%;
259 background-color: #ffffff;
260 background-color: rgba(255, 255, 255, 0.8);
261 color: #555555;
262 }
263
264 .cbi-section-descr {
265 margin-bottom: 0.5em;
266 font-size: 95%;
267 }
268
269 .cbi-title-ref {
270 color: inherit;
271 text-decoration: none;
272 padding-right: 18px;
273 background: url('../resources/cbi/link.gif') no-repeat scroll right center;
274 background-color: inherit;
275 }
276
277 ul.cbi-apply {
278 font-size: 90%;
279 }
280
281 input[type=submit],
282 input[type=reset],
283 input[type=image] {
284 cursor: pointer;
285 }
286
287
288 select,
289 input,
290 textarea {
291 background: #eeeeee;
292 color: #000000;
293 border-width: 1px;
294 border-color: #000000;
295 }
296
297 input[type=image] {
298 border: none;
299 }
300
301 input:focus,
302 input:hover,
303 select:focus,
304 select:hover,
305 textarea:focus,
306 textarea:hover {
307 background-color: #ffffff;
308 color: #000000;
309 }
310
311 select,
312 input[type=text],
313 input[type=password] {
314 width: 20em;
315 }
316
317 td select,
318 td input[type=text],
319 td input[type=password] {
320 width: 99%;
321 }
322
323 img.cbi-image-button {
324 cursor: pointer;
325 margin: 0 2px;
326 vertical-align: middle;
327 }
328
329 input.cbi-input-user {
330 background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
331 background-color: inherit;
332 color: #000000;
333 padding-left: 17px;
334 }
335
336 input.cbi-input-password {
337 background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
338 background-color: inherit;
339 color: #000000;
340 padding-left: 17px;
341 }
342
343 input.cbi-input-find {
344 background: url('../resources/cbi/find.gif') no-repeat scroll 1px center;
345 background-color: inherit;
346 color: #000000;
347 padding-left: 17px;
348 }
349
350 input.cbi-input-reload {
351 background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center;
352 background-color: inherit;
353 color: #000000;
354 padding-left: 17px;
355 }
356
357 input.cbi-input-add,
358 input.cbi-button-add {
359 background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;
360 background-color: inherit;
361 color: #000000;
362 padding-left: 17px;
363 padding-right: 1px;
364 }
365
366 input.cbi-input-fieldadd,
367 input.cbi-button-fieldadd {
368 background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
369 background-color: inherit;
370 color: #000000;
371 padding-left: 17px;
372 padding-right: 1px;
373 }
374
375 input.cbi-input-reset,
376 input.cbi-button-reset {
377 background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
378 background-color: inherit;
379 color: #000000;
380 padding-left: 17px;
381 padding-right: 1px;
382 }
383
384 input.cbi-input-save,
385 input.cbi-button-save {
386 background: url('../resources/cbi/save.gif') no-repeat scroll 1px center;
387 background-color: inherit;
388 color: #000000;
389 padding-left: 17px;
390 padding-right: 1px;
391 }
392
393 input.cbi-input-apply,
394 input.cbi-button-apply {
395 background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
396 background-color: inherit;
397 color: #000000;
398 padding-left: 17px;
399 padding-right: 1px;
400 }
401
402 input.cbi-input-remove,
403 div.cbi-section-remove input {
404 background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
405 background-color: inherit;
406 color: #000000;
407 padding-left: 17px;
408 padding-right: 1px;
409 }
410
411 div.cbi-section-remove input {
412 border-bottom: none;
413 }
414
415 textarea {
416 margin-left: -1px;
417 margin-bottom: 0.5em;
418 }
419
420 form > div > input[type=submit],
421 form > div > input[type=reset] {
422 float: right;
423 margin-left: 0.5em;
424 }
425
426 table.smalltext {
427 background: #f5f5f5;
428 color: #000000;
429 border-top: 1px solid #666666;
430 border-right: 1px solid #666666;
431 border-bottom: 1px solid #666666;
432 font-size: 90%;
433 width: 80%;
434 margin-left: auto;
435 margin-right: auto;
436 border-collapse: collapse;
437 }
438
439 table.smalltext tr:hover td {
440 background-color: #bbddee;
441 color: #000000;
442 }
443
444 table.smalltext tr th {
445 padding: 0 0.25em;
446 border-left: 1px solid #666666;
447 text-align: left;
448 }
449
450 table.smalltext tr td {
451 padding: 0 0.25em;
452 border-top: 1px solid #666666;
453 border-left: 1px solid #666666;
454 }
455
456 table.cbi-section-table .cbi-rowstyle-1,
457 table.cbi-section-table .cbi-rowstyle-1 * {
458 background-color: #eeeeff;
459 color: #000000;
460 }
461
462 .cbi-section .cbi-rowstyle-1 h3 {
463 background-color: #eeeeff;
464 color: #555555;
465 }
466
467 .cbi-rowstyle-2 {
468 }
469
470 div.cbi-value {
471 clear: left;
472 vertical-align: middle;
473 padding-left: 0.25em;
474 border-bottom: 1px dotted #bbbbbb;
475 }
476
477 div.cbi-value:hover {
478 background: #f8f8f8;
479 color: #000000;
480 }
481
482 .cbi-value-title {
483 float: left;
484 width: 40%;
485 }
486
487 div.cbi-value-field {
488 width: 58%;
489 margin-left: 40%;
490 padding: 0.25em 0;
491 }
492
493 div.cbi-value-description {
494 font-size: 90%;
495 display: inline;
496 }
497
498 div.cbi-section-create {
499 clear: left;
500 white-space: nowrap;
501 }
502
503 div.cbi-map-descr {
504 margin-bottom: 1em;
505 }
506
507 div.cbi-optionals {
508 padding: 0.25em;
509 border-bottom: 1px dotted #bbbbbb;
510 }
511
512 div.cbi-section-remove {
513 float: right;
514 }
515
516 .cbi-section-node {
517 clear: both;
518 border-top: 1px dotted #bbbbbb;
519 border-left: 1px dotted #bbbbbb;
520 border-right: 1px dotted #bbbbbb;
521 border-bottom: none;
522 padding-bottom: 0;
523 }
524
525 .cbi-section-node table div {
526 padding-bottom: 0;
527 border-bottom: none;
528 }
529
530 .cbi-section-node div.cbi-section-table-row {
531 margin: 0.25em;
532 }
533
534 table.cbi-section-table {
535 width: 100%;
536 font-size: 95%;
537 }
538
539 table.cbi-section-table th,
540 table.cbi-section-table td {
541 text-align: center;
542 }
543
544 tr.cbi-section-table-descr th {
545 font-weight: normal;
546 font-size: 90%;
547 }
548
549 td.cbi-section-table-optionals {
550 text-align: left !important;
551 padding-top: 1em;
552 }
553
554 .cbi-value-helpicon img {
555 vertical-align: bottom;
556 }
557
558 div.cbi-error {
559 font-size: 95%;
560 font-weight: bold;
561 color: #ff0000;
562 background-color: #ffffff;
563 }
564
565 td.cbi-value-error {
566 border-color: red;
567 }
568
569 .cbi-value-error input,
570 .cbi-value-error select {
571 color: red;
572 background-color: #ffcccc;
573 }
574
575 .cbi-section-error {
576 color: red;
577 background-color: white;
578 font-size: 95%;
579 border: 1px dotted red;
580 margin: 3px;
581 padding: 3px;
582 }
583
584 .right {
585 text-align: right;
586 }
587
588 .luci {
589 position: fixed;
590 bottom: 0;
591 left: 0;
592 text-align: right;
593 color: #ffffff;
594 }
595
596 .luci a:link,
597 .luci a:visited {
598 background-color: transparent;
599 color: #ffffff;
600 text-decoration: none;
601 font-size: 70%;
602 }
603
604 .inline {
605 display: inline;
606 }
607
608 .error500 {
609 white-space: normal;
610 border: 1px dotted #ff0000;
611 background-color: #ffffff;
612 color: #000000;
613 padding: 0.5em;
614 }
615
616 /* obligatory IE6 Voodoo Code */
617
618 * html body {
619 padding-left: 50% !important;
620 }
621
622 * html div#header {
623 margin-left: -100% !important;
624 }
625
626 * html div.menubar {
627 margin-left: -100% !important;
628 width: 200% !important;
629 }
630
631 * html div#maincontent {
632 margin-left: -80% !important;
633 width: 160% !important;
634 }
635
636 * html div.cbi-value-description {
637 margin-left: 40%;
638 }
639
640 }