* luci-0.8: merge translation fixes, theme changes, selective port handling and others
[project/luci.git] / themes / openwrt.org / htdocs / luci-static / openwrt.org / cascade.css
1 @charset "utf-8";
2
3 @media all {
4
5 html,
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 }
14
15 body {
16 font-family: Verdana, Arial, sans-serif;
17 font-size: 101%;
18 line-height: 100%;
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 ul.dropdowns {
108 float: left;
109 margin: 0;
110 padding: 0;
111 width: auto;
112 list-style: none;
113 }
114
115 html>body ul.dropdowns {
116 position: relative;
117 }
118
119 ul.dropdowns li,
120 ul.dropdowns ul {
121 margin: 0;
122 padding: 0;
123 list-style: none;
124 }
125
126 ul.dropdowns li {
127 float: left;
128 position: relative;
129 white-space: nowrap;
130 }
131
132 ul.dropdowns li ul {
133 position: absolute;
134 z-index: 1000;
135 top: auto;
136 min-width: 10em;
137 }
138
139 ul.dropdowns li li {
140 float: none;
141 position: relative;
142 }
143
144 ul.dropdowns li a {
145 display: block;
146 }
147
148 ul.dropdowns ul li ul {
149 top: 0;
150 }
151
152 ul.dropdowns li ul,
153 ul.dropdowns li.over ul ul,
154 ul.dropdowns li.focus ul ul,
155 ul.dropdowns li:hover ul ul,
156 ul.dropdowns li.over ul ul ul,
157 ul.dropdowns li.focus ul ul ul,
158 ul.dropdowns li:hover ul ul ul,
159 ul.dropdowns li.over ul ul ul ul,
160 ul.dropdowns li.focus ul ul ul ul,
161 ul.dropdowns li:hover ul ul ul ul {
162 left: -3000px;
163 }
164
165 ul.dropdowns li.over ul,
166 ul.dropdowns li.focus ul,
167 ul.dropdowns li:hover ul {
168 left: 0;
169 }
170
171 ul.dropdowns ul li.over ul,
172 ul.dropdowns ul li.focus ul,
173 ul.dropdowns ul li:hover ul,
174 ul.dropdowns ul ul li.over ul,
175 ul.dropdowns ul ul li.focus ul,
176 ul.dropdowns ul ul li:hover ul,
177 ul.dropdowns ul ul ul li.over ul,
178 ul.dropdowns ul ul ul li.focus ul,
179 ul.dropdowns ul ul ul li:hover ul {
180 left: 100%;
181 }
182
183 #menubar {
184 position: relative;
185 width: 100%;
186 background: #000000;
187 color: #ffffff;
188 }
189
190 #menubar .warning {
191 color: red;
192 background-color: #557788;
193 }
194
195 #menubar ul.dropdowns {
196 min-height: 1.8em;
197 background: #000000;
198 color: #ffffff;
199 }
200
201 #menubar ul.dropdowns li ul {
202 background: #000000;
203 color: #ffffff;
204 border-width: 0 1px 1px 1px;
205 border-style: solid;
206 border-color: #444444;
207 }
208
209 #menubar ul.dropdowns ul li ul {
210 border-width: 1px;
211 }
212
213 html #menubar a:link,
214 html #menubar a:visited {
215 position: relative;
216 display: block;
217 padding: 0.5em;
218 background: #000000;
219 color: #ffffff;
220 text-decoration: none;
221 font-size: 80%;
222 font-weight: normal;
223 }
224
225
226 html #menubar a:link:hover,
227 html #menubar a:visited:hover,
228 html #menubar a:link:active,
229 html #menubar a:visited:active,
230 #menubar a:link:focus,
231 #menubar a:visited:focus {
232 background: #000000;
233 color: #ffff00;
234 font-weight: bold;
235 }
236
237 html #menubar a:link.active,
238 html #menubar a:visited.active,
239 html #menubar a:link.preactive,
240 html #menubar a:visited.preactive {
241 background: #000000;
242 color: #ffff00;
243 font-weight: bold;
244 }
245
246 html #menubar a:link.warning,
247 html #menubar a:visited.warning {
248 background: #000000;
249 color: red;
250 font-weight: bold;
251 }
252
253 #menubar ul.dropdowns li.over>a,
254 #menubar ul.dropdowns li.focus>a,
255 #menubar ul.dropdowns li:hover>a {
256 font-weight: bold;
257 }
258
259 .lang_de #submenu_mini_system { min-width: 13.3em; }
260 * html .lang_de #submenu_mini_system { width: 13.3em; }
261
262 .lang_pt-br #submenu_mini_network { min-width: 14em; }
263 * html .lang_pt-br #submenu_mini_network { width: 14em; }
264
265 .lang_pt-br #submenu_mini_system { min-width: 11.5em; }
266 * html .lang_pt-br #submenu_mini_system { width: 11.5em; }
267
268 .lang_ru #submenu_mini_system { min-width: 18em; }
269 * html .lang_ru #submenu_mini_system { width: 18em; }
270
271 .lang_pt-br #submenu_admin_index { min-width: 11em; }
272 * html .lang_pt-br #submenu_admin_index { width: 11em; }
273
274 .lang_ru #submenu_admin_index { min-width: 15.5em; }
275 * html .lang_ru #submenu_admin_index { width: 15.5em; }
276
277 .lang_ru #submenu_admin_status { min-width: 10.5em; }
278 * html .lang_ru #submenu_admin_status { width: 10.5em; }
279
280 .lang_de #submenu_admin_system { min-width: 13.3em; }
281 * html .lang_de #submenu_admin_system { width: 13.3em; }
282
283 .lang_fr #submenu_admin_system { min-width: 14.5em; }
284 * html .lang_fr #submenu_admin_system { width: 14.5em; }
285
286 .lang_pt-br #submenu_admin_system { min-width: 11.5em; }
287 * html .lang_pt-br #submenu_admin_system { width: 11.5em; }
288
289 .lang_ru #submenu_admin_system { min-width: 18em; }
290 * html .lang_ru #submenu_admin_system { width: 18em; }
291
292 #submenu_admin_services_chillispot { min-width: 15.5em; }
293 * html #submenu_admin_services_chillispot { width: 15.5em; }
294
295 #submenu_admin_services_coovachilli { min-width: 15em; }
296 * html #submenu_admin_services_coovachilli { width: 15em; }
297
298 .lang_ru #submenu_admin_network_routes { min-width: 15.3em; }
299 * html .lang_ru #submenu_admin_network_routes { width: 15.3em; }
300
301 #submenu_admin_network_firewall { min-width: 14em; }
302 * html #submenu_admin_network_firewall { width: 14em; }
303
304 .lang_de #submenu_admin_network_firewall { min-width: 16.5em; }
305 * html .lang_de #submenu_admin_network_firewall { width: 16.5em; }
306
307 .lang_pt-br #submenu_admin_network_firewall { min-width: 15em; }
308 * html .lang_pt-br #submenu_admin_network_firewall { width: 15em; }
309
310 #modemenu {
311 width: auto;
312 background: #000000;
313 color: #ffffff;
314 list-style: none;
315 margin-right: 1px;
316 }
317
318 #modemenu li {
319 float: right;
320 list-style: none;
321 }
322
323 #savemenu {
324 float: right;
325 margin-right: 2em;
326 }
327
328 .lang_de #submenu_admin_uci {
329 width: 12em;
330 }
331
332 .lang_ru #submenu_admin_uci {
333 width: 11.5em;
334 }
335
336 textarea#syslog {
337 width: 98%;
338 height: 450px;
339 border: 3px solid #cccccc;
340 padding: 5px;
341 font-family: monospace;
342 overflow: auto;
343 }
344
345 #maincontent {
346 clear: both;
347 width: 80%;
348 margin: 0 auto;
349 padding: 0.5em;
350 background: #f5f5f5;
351 color: #000000;
352 border-width: 0 1px 1px 1px;
353 border-style: solid;
354 border-color: #444444;
355 font-size: 80%;
356 }
357
358 #maincontent h2 {
359 font-size: 150%;
360 font-family: Trebuchet MS, Verdana, sans-serif;
361 font-weight: bold;
362 margin: 0.25em 0 0.7em 0;
363 border-bottom: 1px solid;
364 padding-top: 10px;
365 padding-bottom: 4px;
366 }
367
368 #maincontent h3 {
369 margin: 0.5em 0 1.1em 0;
370 font-size: 125%;
371 font-weight: bold;
372 font-style: italic;
373 font-family: Trebuchet MS, Verdana, sans-serif;
374 color: #27408B;
375 }
376
377 #maincontent p {
378 margin-bottom: 1em;
379 }
380
381 .cbi-section {
382 margin-bottom: 0.5em;
383 padding: 0.5em 1em;
384 border: 1px dotted #555555;
385 background-color: #ffffff;
386 color: #000000;
387 }
388
389 .cbi-section legend {
390 font-size: 110%;
391 font-weight: bold;
392 height: 1em;
393 padding: 0 0.25em;
394 background-color: transparent;
395 color: #555555;
396 }
397
398 .cbi-section h2 {
399 margin: 0em 0 0.5em -0.5em !important;
400 }
401
402 .cbi-section h3 {
403 text-decoration: none !important;
404 font-weight: bold !important;
405 color: #555555 !important;
406 margin: 0.25em !important;
407 font-size: 100% !important;
408 }
409
410 .cbi-section-descr {
411 margin-bottom: 0.5em;
412 font-size: 95%;
413 }
414
415 .cbi-title-ref {
416 color: inherit;
417 text-decoration: none;
418 padding-right: 18px;
419 background: url('../resources/cbi/link.gif') no-repeat scroll right center;
420 background-color: inherit;
421 }
422
423 ul.cbi-apply {
424 font-size: 90%;
425 }
426
427 input[type=submit],
428 input[type=reset],
429 input[type=image] {
430 cursor: pointer;
431 }
432
433
434 select,
435 input,
436 textarea {
437 background: #eeeeee;
438 color: #000000;
439 border-width: 1px;
440 border-color: #000000;
441 }
442
443 input[type=image] {
444 border: none;
445 }
446
447 input:focus,
448 input:hover,
449 select:focus,
450 select:hover,
451 textarea:focus,
452 textarea:hover {
453 background-color: #ffffff;
454 color: #000000;
455 }
456
457 select,
458 input[type=text],
459 input[type=password] {
460 width: 20em;
461 }
462
463 td select,
464 td input[type=text],
465 td input[type=password] {
466 width: 99%;
467 }
468
469 input.cbi-input-user {
470 background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
471 background-color: inherit;
472 color: #000000;
473 text-indent: 17px;
474 }
475
476 input.cbi-input-password {
477 background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
478 background-color: inherit;
479 color: #000000;
480 text-indent: 17px;
481 }
482
483 input.cbi-input-find {
484 background: url('../resources/cbi/find.gif') no-repeat scroll 1px center;
485 background-color: inherit;
486 color: #000000;
487 padding-left: 17px;
488 }
489
490 input.cbi-input-reload {
491 background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center;
492 background-color: inherit;
493 color: #000000;
494 padding-left: 17px;
495 }
496
497 input.cbi-input-add,
498 input.cbi-button-add {
499 background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;
500 background-color: inherit;
501 color: #000000;
502 padding-left: 17px;
503 padding-right: 1px;
504 }
505
506 input.cbi-input-fieldadd,
507 input.cbi-button-fieldadd {
508 background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
509 background-color: inherit;
510 color: #000000;
511 padding-left: 17px;
512 padding-right: 1px;
513 }
514
515 input.cbi-input-reset,
516 input.cbi-button-reset {
517 background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
518 background-color: inherit;
519 color: #000000;
520 padding-left: 17px;
521 padding-right: 1px;
522 }
523
524 input.cbi-input-save,
525 input.cbi-button-save {
526 background: url('../resources/cbi/save.gif') no-repeat scroll 1px center;
527 background-color: inherit;
528 color: #000000;
529 padding-left: 17px;
530 padding-right: 1px;
531 }
532
533 input.cbi-input-apply,
534 input.cbi-button-apply {
535 background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
536 background-color: inherit;
537 color: #000000;
538 padding-left: 17px;
539 padding-right: 1px;
540 }
541
542 input.cbi-input-remove,
543 div.cbi-section-remove input {
544 background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
545 background-color: inherit;
546 color: #000000;
547 padding-left: 17px;
548 padding-right: 1px;
549 }
550
551 div.cbi-section-remove input {
552 border-bottom: none;
553 }
554
555 textarea {
556 margin-left: -1px;
557 margin-bottom: 0.5em;
558 }
559
560 form > div > input[type=submit],
561 form > div > input[type=reset] {
562 float: right;
563 margin-left: 0.5em;
564 }
565
566 table td,
567 table th {
568 color: #000000;
569 }
570
571 table.smalltext {
572 background: #f5f5f5;
573 color: #000000;
574 border-top: 1px solid #666666;
575 border-right: 1px solid #666666;
576 border-bottom: 1px solid #666666;
577 font-size: 90%;
578 width: 80%;
579 margin-left: auto;
580 margin-right: auto;
581 border-collapse: collapse;
582 }
583
584 table.smalltext tr:hover td {
585 background-color: #bbddee;
586 color: #000000;
587 }
588
589 table.smalltext tr th {
590 padding: 0 0.25em;
591 border-left: 1px solid #666666;
592 text-align: left;
593 }
594
595 table.smalltext tr td {
596 padding: 0 0.25em;
597 border-top: 1px solid #666666;
598 border-left: 1px solid #666666;
599 }
600
601 table.cbi-section-table .cbi-rowstyle-1,
602 table.cbi-section-table .cbi-rowstyle-1 * {
603 background-color: #eeeeff;
604 color: #000000;
605 }
606
607 .cbi-section .cbi-rowstyle-1 h3 {
608 background-color: #eeeeff;
609 color: #555555;
610 }
611
612 .cbi-rowstyle-2 {
613 color: #000000;
614 }
615
616 div.cbi-value {
617 clear: left;
618 vertical-align: middle;
619 padding-left: 0.25em;
620 border-bottom: 1px dotted #bbbbbb;
621 }
622
623 div.cbi-value:hover {
624 background: #f8f8f8;
625 color: #000000;
626 }
627
628 .cbi-value-title {
629 float: left;
630 width: 40%;
631 line-height: 1.8em;
632 }
633
634 div.cbi-value-field {
635 width: 58%;
636 margin-left: 40%;
637 padding: 0.25em 0;
638 }
639
640 div.cbi-value-description {
641 font-size: 90%;
642 display: inline;
643 }
644
645 div.cbi-section-create {
646 clear: left;
647 white-space: nowrap;
648 vertical-align: top;
649 }
650
651 div.cbi-tblsection-create {
652 border-bottom: 1px dotted #bbbbbb;
653 }
654
655 div.cbi-section-create .cbi-button {
656 margin: 0.25em;
657 }
658
659 input.cbi-section-create-name {
660 margin-right: -0.25em;
661 }
662
663 div.cbi-map-descr {
664 margin-bottom: 1em;
665 }
666
667 div.cbi-optionals {
668 padding: 0.25em;
669 border-bottom: 1px dotted #bbbbbb;
670 }
671
672 div.cbi-section-remove {
673 float: right;
674 }
675
676 .cbi-section-node {
677 clear: both;
678 border-top: 1px dotted #bbbbbb;
679 border-left: 1px dotted #bbbbbb;
680 border-right: 1px dotted #bbbbbb;
681 border-bottom: none;
682 padding-bottom: 0;
683 }
684
685 .cbi-section-node table div {
686 padding-bottom: 0;
687 border-bottom: none;
688 }
689
690 .cbi-section-node div.cbi-section-table-row {
691 margin: 0.25em;
692 }
693
694 table.cbi-section-table {
695 width: 100%;
696 font-size: 95%;
697 }
698
699 table.cbi-section-table th,
700 table.cbi-section-table td {
701 text-align: center;
702 }
703
704 tr.cbi-section-table-descr th {
705 font-weight: normal;
706 font-size: 90%;
707 }
708
709 td.cbi-section-table-optionals {
710 text-align: left !important;
711 padding-top: 1em;
712 }
713
714 .cbi-value-helpicon img {
715 vertical-align: bottom;
716 }
717
718 div.cbi-error {
719 font-size: 95%;
720 font-weight: bold;
721 color: #ff0000;
722 background-color: #ffffff;
723 }
724
725 td.cbi-value-error {
726 border-color: red;
727 }
728
729 .cbi-value-error input,
730 .cbi-value-error select {
731 color: red;
732 background-color: #ffcccc;
733 }
734
735 .cbi-section-error {
736 color: red;
737 background-color: white;
738 font-size: 95%;
739 border: 1px dotted red;
740 margin: 3px;
741 padding: 3px;
742 }
743
744 .right {
745 text-align: right;
746 }
747
748 .luci {
749 position: fixed;
750 bottom: 0;
751 left: 0;
752 text-align: right;
753 }
754
755 .luci a:link,
756 .luci a:visited {
757 background-color: transparent;
758 color: #666666;
759 text-decoration: none;
760 font-size: 70%;
761 }
762
763 .inline {
764 display: inline;
765 }
766
767 .error500 {
768 white-space: normal;
769 border: 1px dotted #ff0000;
770 background-color: #ffffff;
771 color: #000000;
772 padding: 0.5em;
773 }
774
775 #memorybar {
776 width: 200px;
777 height: 8px;
778 border: 1px solid #bbb;
779 color: black;
780 background-color: red;
781 }
782
783 #memfree, #membuffers, #memcached {
784 float: right;
785 border: 1px solid #bbb;
786 height: 6px;
787 }
788
789 #memfree {
790 background-color: green;
791 color: black;
792 }
793
794 #membuffers {
795 background-color: yellow;
796 color: black;
797 }
798
799 #memcached {
800 background-color: #ffa500;
801 color: black;
802 }
803
804 }