luci-theme-openwrt: consolidate font sizes and button styles
[project/luci.git] / themes / luci-theme-openwrt / htdocs / luci-static / openwrt.org / cascade.css
1 @charset "utf-8";
2
3 .lang_he {
4 direction: RTL;
5 unicode-bidi: embed;
6 }
7
8 @media all {
9
10 html {
11 min-height: 100%;
12 height: auto;
13 position:relative;
14 }
15
16 body {
17 color: #ffffff;
18 background-color: #4a6b7c;
19 background-position: bottom center;
20 background-repeat: repeat-x;
21 font-family: Arial, Verdana, sans-serif;
22 font-size: 10pt;
23 padding-bottom: 1.5em;
24 }
25
26 * {
27 margin: 0;
28 padding: 0;
29 box-sizing: border-box;
30 }
31
32 .table { display: table; width: 100%; position: relative; }
33 .tr { display: table-row; }
34 .thead { display: table-header-group; }
35 .tbody { display: table-row-group; }
36 .tfoot { display: table-footer-group; }
37 .td, .th { display: table-cell; }
38 .th { font-weight: bold; }
39
40 .table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
41 .table[width="100%"], .th[width="100%"], .td[width="100%"] { width: 100%; }
42
43 .col-1 { flex: 1 1 30px !important; -webkit-flex: 1 1 30px !important; }
44 .col-2 { flex: 2 2 60px !important; -webkit-flex: 2 2 60px !important; }
45 .col-3 { flex: 3 3 90px !important; -webkit-flex: 3 3 90px !important; }
46 .col-4 { flex: 4 4 120px !important; -webkit-flex: 4 4 120px !important; }
47 .col-5 { flex: 5 5 150px !important; -webkit-flex: 5 5 150px !important; }
48 .col-6 { flex: 6 6 180px !important; -webkit-flex: 6 6 180px !important; }
49 .col-7 { flex: 7 7 210px !important; -webkit-flex: 7 7 210px !important; }
50 .col-8 { flex: 8 8 240px !important; -webkit-flex: 8 8 240px !important; }
51 .col-9 { flex: 9 9 270px !important; -webkit-flex: 9 9 270px !important; }
52 .col-10 { flex: 10 10 300px !important; -webkit-flex: 10 10 300px !important; }
53
54 .tr.placeholder {
55 height: 3.5em;
56 }
57
58 .tr.placeholder > .td {
59 position: absolute;
60 left: 0;
61 right: 0;
62 bottom: 0;
63 text-align: center;
64 line-height: 3em;
65 }
66
67 .nowrap {
68 white-space: nowrap;
69 }
70
71 a img {
72 border: none;
73 text-decoration: none;
74 }
75
76 #maincontainer {
77 display: flex;
78 }
79
80 #maincontent {
81 flex-basis: 100%;
82 }
83
84 #mainmenu {
85 max-width: 200px;
86 background: #f5f5f5;
87 border: 1px solid #444;
88 border-width: 0 0 1px 1px;
89 font-size: 11pt;
90 padding-bottom: 1em;
91 }
92
93 #mainmenu ul {
94 display: block;
95 margin: 0;
96 padding: 0;
97 }
98
99 #mainmenu ul li {
100 display: block;
101 white-space: nowrap;
102 }
103
104 #mainmenu ul li > a {
105 display: block;
106 color: #444;
107 padding: .4em .5em;
108 text-decoration: none;
109 }
110
111 #mainmenu ul li.selected > a {
112 background: #fff;
113 color: #37c;
114 border: 1px dotted #444;
115 border-width: 1px 0;
116 }
117
118 #mainmenu ul li.selected:first-child > a {
119 border-top: none;
120 }
121
122 #mainmenu ul li li > a {
123 font-size: 85%;
124 padding-left: 1.5em;
125 }
126
127 #mainmenu ul li > ul {
128 flex-basis: 100%;
129 max-height: 0;
130 visibility: hidden;
131 transition: max-height .15s;
132 }
133
134 #mainmenu ul:not(.active) li.selected > ul,
135 #mainmenu ul li.active > ul {
136 max-height: 1000px;
137 visibility: visible;
138 transition: max-height .25s;
139 }
140
141 #mainmenu ul li.mainmenu-item-logout {
142 margin-top: 15%;
143 }
144
145 #tabmenu {
146 padding: 0;
147 margin: -.5em -.5em .5em -.5em;
148 background: #bbb;
149 }
150
151 #tabmenu ul {
152 border-color: #444;
153 padding-top: .5em;
154 flex-wrap: wrap;
155 background: repeating-linear-gradient(#f5f5f5, #bbb 2.4em, #f5f5f5 2.4em, #bbb);
156 line-height: 1em;
157 }
158
159 #tabmenu ul li {
160 border-color: #444;
161 }
162
163 #tabmenu ul li.cbi-tab {
164 background: #f5f5f5;
165 }
166
167 abbr,
168 acronym {
169 font-style: normal;
170 font-variant: normal;
171 }
172
173 abbr[title],
174 acronym[title] {
175 border-bottom: 1px dotted;
176 cursor: help;
177 }
178
179 a:link abbr[title],
180 a:visited abbr[title],
181 a:link acronym[title],
182 a:visited acronym[title] {
183 cursor: pointer;
184 }
185
186 code {
187 font-family: monospace;
188 white-space: pre;
189 }
190
191 hr {
192 margin: .5em 0;
193 padding: 0;
194 border: 1px solid #444;
195 border-width: 0 0 1px 0;
196 }
197
198 #maincontent ul {
199 margin-left: 2em;
200 }
201
202 .warning {
203 color: red;
204 background-color: white;
205 font-weight: bold;
206 }
207
208 .clear {
209 clear: both;
210 }
211
212 .skiplink,
213 .navigation,
214 .hidden {
215 position: absolute;
216 left: -1000px;
217 top: -1000px;
218 width: 0px;
219 height: 0px;
220 overflow: hidden;
221 display: inline;
222 }
223
224 .error {
225 color: #ff0000;
226 background-color: white;
227 }
228
229 .alert-message {
230 font-weight: normal;
231 padding: .5em;
232 border-radius: 3px;
233 border: 1px solid #a22;
234 color: #a22;
235 background: #fee;
236 margin: 0 0 .5em 0;
237 }
238
239 .alert-message.notice {
240 border-color: #15a;
241 background: #e6f6ff;
242 color: #15a;
243 }
244
245 .alert-message.warning {
246 border-color: #ed5;
247 background: #fe9;
248 color: #650;
249 }
250
251 div.hostinfo {
252 float: left;
253 margin: 0;
254 padding: 0;
255 width: auto;
256 padding: 0.5em;
257 }
258
259 .lang_he div.hostinfo {
260 float: right;
261 }
262
263 #xhr_poll_status {
264 cursor: pointer;
265 }
266
267 #xhr_poll_status #xhr_poll_status_off {
268 font-weight: bold;
269 color: #FF0000;
270 }
271
272 #xhr_poll_status #xhr_poll_status_on {
273 font-weight: bold;
274 color: #00FF00;
275 }
276
277 #menubar {
278 position: relative;
279 width: 100%;
280 background: #000000;
281 color: #ffffff;
282 }
283
284 #menubar .warning {
285 color: red;
286 background-color: #557788;
287 }
288
289 html #menubar a:link,
290 html #menubar a:visited {
291 position: relative;
292 display: block;
293 padding: 0.5em;
294 background: #000000;
295 color: #ffffff;
296 text-decoration: none;
297 }
298
299
300 html #menubar a:link:hover,
301 html #menubar a:visited:hover,
302 html #menubar a:link:active,
303 html #menubar a:visited:active,
304 #menubar a:link:focus,
305 #menubar a:visited:focus {
306 background: #000000;
307 color: #ffff00;
308 font-weight: bold;
309 }
310
311 html #menubar a:link.active,
312 html #menubar a:visited.active,
313 html #menubar a:link.preactive,
314 html #menubar a:visited.preactive {
315 background: #000000;
316 color: #ffff00;
317 font-weight: bold;
318 }
319
320 html #menubar a:link.warning,
321 html #menubar a:visited.warning {
322 background: #000000;
323 color: red;
324 font-weight: bold;
325 }
326
327 #modemenu {
328 width: auto;
329 background: #000000;
330 color: #ffffff;
331 list-style: none;
332 margin-right: 1px;
333 margin-left: 2em;
334 float: right;
335 }
336
337 #modemenu li {
338 float: right;
339 list-style: none;
340 }
341
342 #savemenu {
343 float: right;
344 }
345
346 .lang_he #savemenu {
347 float: left;
348 }
349
350 .lang_de #submenu_admin_uci {
351 width: 12em;
352 }
353
354 .lang_ru #submenu_admin_uci {
355 width: 11.5em;
356 }
357
358 textarea#syslog {
359 width: 98%;
360 min-height: 500px;
361 border: 3px solid #cccccc;
362 padding: 5px;
363 font-family: monospace;
364 }
365
366 #maincontainer {
367 clear: both;
368 width: 96%;
369 margin: 0 auto;
370 height:100%;
371 }
372
373 #maincontent {
374 padding: 0.5em;
375 background: #f5f5f5;
376 color: #000000;
377 border-width: 0 1px 1px 1px;
378 border-style: solid;
379 border-color: #444444;
380 }
381
382 .lang_he #maincontent {
383 direction: rtl;
384 }
385
386 h2, h3, h4, legend {
387 font-size: 150%;
388 font-family: Trebuchet MS, Verdana, sans-serif;
389 font-weight: bold;
390 margin: .25em 0 .5em 0;
391 border-bottom: 1px solid;
392 padding-bottom: 4px;
393 display: block;
394 width: 100%;
395 }
396
397 h3, legend {
398 font-size: 125%;
399 }
400
401 h4 {
402 font-size: 112%;
403 }
404
405 fieldset { border: none; }
406 fieldset > legend { float: left; }
407 fieldset > legend + * { clear: both; }
408
409 p {
410 margin-bottom: .5em;
411 }
412
413 .cbi-section {
414 margin: 0 0 .5em 0;
415 }
416
417 .cbi-section > h3,
418 .cbi-section > legend {
419 margin-top: .5em;
420 }
421
422 .cbi-section-descr {
423 margin-bottom: 0.5em;
424 font-size: 95%;
425 }
426
427 .cbi-section-descr:empty {
428 display: none;
429 }
430
431 .cbi-title-ref {
432 color: inherit;
433 text-decoration: none;
434 padding-right: 18px;
435 background: url('../resources/cbi/link.gif') no-repeat scroll right center;
436 background-color: inherit;
437 }
438
439 ul.cbi-apply {
440 font-size: 90%;
441 }
442
443 input:-webkit-input-placeholder {
444 color: #AAAAAA;
445 }
446
447 input:-moz-placeholder {
448 color: #AAAAAA;
449 }
450
451 input:-ms-input-placeholder {
452 color: #AAAAAA;
453 }
454
455 input[type=submit],
456 input[type=reset],
457 input[type=image],
458 input[type=button] {
459 cursor: pointer;
460 }
461
462 select,
463 input,
464 textarea {
465 background: #eeeeee;
466 color: #000000;
467 border-width: 1px;
468 border-color: #000000;
469 }
470
471 input[type=image] {
472 border: none;
473 }
474
475 input:focus,
476 input:not(.btn):not(.cbi-button):hover,
477 select:focus,
478 select:hover {
479 background-color: #ffffff;
480 color: #000000;
481 }
482
483 input[type=text],
484 input[type=password] {
485 padding: 0 3px;
486 }
487
488 select,
489 input[type=text],
490 input[type=password] {
491 width: 20em;
492 font-size: inherit;
493 line-height: 13pt;
494 height: 14pt;
495 }
496
497 select[multiple] {
498 height: auto;
499 }
500
501 input[type=radio],
502 input[type=checkbox],
503 [data-dynlist] > input + img,
504 input.cbi-input-password + img {
505 vertical-align: middle;
506 }
507
508 .td select,
509 .td .cbi-dropdown,
510 .td input[type=text] {
511 width: 100%;
512 }
513
514 .td [data-dynlist] > input,
515 .td input.cbi-input-password {
516 width: calc(100% - 20px);
517 }
518
519 img.cbi-image-button {
520 cursor: pointer;
521 margin: 0 2px;
522 vertical-align: middle;
523 }
524
525 .btn, .cbi-button {
526 padding: 0 .5em;
527 border-radius: 3px;
528 border: 1px solid #aaa;
529 text-decoration: none;
530 color: #000;
531 display: inline-block;
532 font-size: inherit;
533 -webkit-appearance: none;
534 background: #fff;
535 text-align: center;
536 font-weight: bold;
537 line-height: 13pt;
538 height: 16pt;
539 }
540
541 .btn:hover, .cbi-button:hover {
542 box-shadow: 0 0 3px #37c;
543 }
544
545 .btn[disabled],
546 .btn[disabled]:hover,
547 .cbi-button[disabled],
548 .cbi-button[disabled]:hover {
549 opacity: .6;
550 cursor: default;
551 pointer-events: none;
552 }
553
554 .cbi-button-positive,
555 .cbi-button-fieldadd,
556 .cbi-button-add,
557 .cbi-button-save {
558 border-color: #595;
559 color: #595;
560 }
561
562 .cbi-button-neutral,
563 .cbi-button-reset,
564 .cbi-button-download,
565 .cbi-button-find,
566 .cbi-button-link,
567 .cbi-button-up,
568 .cbi-button-down {
569 border-color: #444;
570 color: #444;
571 }
572
573 .cbi-button-action,
574 .cbi-button-apply,
575 .cbi-button-reload,
576 .cbi-button-edit {
577 border-color: #37c;
578 color: #37c;
579 }
580
581 .cbi-button-negative,
582 .cbi-section-remove .cbi-button,
583 .cbi-button-remove {
584 border-color: #a22;
585 color: #a22;
586 }
587
588 .cbi-button-action.important,
589 .cbi-page-actions .cbi-button-apply,
590 .cbi-section-actions .cbi-button-edit {
591 color: #fff;
592 background: #37c;
593 }
594
595 .cbi-button-positive.important,
596 .cbi-page-actions .cbi-button-save {
597 color: #fff;
598 background: #595;
599 }
600
601 .cbi-button-negative.important {
602 color: #fff;
603 background: #a22;
604 }
605
606 .cbi-page-actions .cbi-button-apply + .cbi-button-save {
607 background: #fff;
608 color: #595;
609 }
610
611 .cbi-input-invalid {
612 background-image: url('../resources/cbi/reset.gif');
613 background-repeat: no-repeat;
614 background-position: right;
615 color: #FF0000 !important;
616 border-color: #FF0000;
617 }
618
619 table td, table th {
620 color: #000000;
621 }
622
623 .table .td, .table .th {
624 color: #000000;
625 padding: .25em;
626 }
627
628 .table.smalltext {
629 background: #f5f5f5;
630 color: #000000;
631 border-top: 1px solid #666666;
632 border-right: 1px solid #666666;
633 border-bottom: 1px solid #666666;
634 font-size: 90%;
635 width: 80%;
636 margin-left: auto;
637 margin-right: auto;
638 border-collapse: collapse;
639 }
640
641 .table.smalltext .tr:hover .td {
642 background-color: #bbddee;
643 color: #000000;
644 }
645
646 .table.smalltext .tr .th {
647 padding: 0 0.25em;
648 border-left: 1px solid #666666;
649 text-align: left;
650 }
651
652 .table.smalltext .tr .td {
653 padding: 0 0.25em;
654 border-top: 1px solid #666666;
655 border-left: 1px solid #666666;
656 }
657
658 .cbi-rowstyle-1 {
659 background-color: #eeeeff;
660 color: #000000;
661 }
662
663 .cbi-rowstyle-2 {
664 color: #000000;
665 }
666
667 .cbi-value {
668 clear: left;
669 vertical-align: middle;
670 padding: 0.25em 0.6em;
671 border-bottom: 1px dotted #bbbbbb;
672 }
673
674 .cbi-value:hover {
675 background: #f8f8f8;
676 color: #000000;
677 }
678
679 .cbi-value-title {
680 float: left;
681 width: 40%;
682 line-height: 1.8em;
683 }
684
685 .cbi-value-field {
686 width: 58%;
687 margin-left: 40%;
688 padding: 0.25em 0;
689 }
690
691 .td.cbi-value-field {
692 width: auto;
693 margin-left: 0;
694 align-self: center;
695 }
696
697 .cbi-value-description {
698 background-image: url(/luci-static/resources/cbi/help.gif);
699 background-position: .25em .25em;
700 background-repeat: no-repeat;
701 margin: .25em 0 0 0;
702 padding: .25em .25em .25em 1.75em;
703 }
704
705 .cbi-section-create {
706 padding: 0 0 .25em 0;
707 margin: -3px;
708 display: inline-flex;
709 align-items: center;
710 }
711
712 .cbi-section-create > * {
713 margin: 3px;
714 flex: 1 1 auto;
715 }
716
717 .cbi-section-create > * > input {
718 width: 100%;
719 }
720
721 .cbi-section-remove > .cbi-button {
722 margin-bottom: -1px;
723 border-radius: 3px 3px 0 0;
724 }
725
726 .cbi-section-node + .cbi-section-create {
727 padding-top: 0;
728 }
729
730 div.cbi-map-descr {
731 margin-bottom: 1em;
732 }
733
734 div.cbi-optionals {
735 padding: 0.25em;
736 border-bottom: 1px dotted #bbbbbb;
737 }
738
739 .cbi-section-node {
740 clear: both;
741 padding-bottom: 0;
742 position: relative;
743 border: 1px dotted #555;
744 background: #fff;
745 margin-bottom: .5em;
746 }
747
748 .cbi-section-node-tabbed {
749 border-top: none;
750 margin-top: -.5em;
751 }
752
753 .cbi-section-node .cbi-value:last-child,
754 .cbi-section-node .cbi-optionals:last-child {
755 border-bottom: none;
756 }
757
758 .table.cbi-section-table {
759 width: 100%;
760 font-size: 95%;
761 border: 1px dotted #444;
762 background: #fff;
763 margin: 0 0 .5em 0;
764 }
765
766 .cbi-section-node > .table.cbi-section-table {
767 border: none;
768 margin: 0;
769 }
770
771 @keyframes flash {
772 0% { opacity: 1; }
773 50% { opacity: .5; }
774 100% { opacity: 1; }
775 }
776
777 .tr.cbi-section-table-row.flash {
778 animation: flash .35s;
779 }
780
781 .tr.cbi-section-table-descr .th {
782 font-weight: normal;
783 font-size: 90%;
784 vertical-align: top;
785 }
786
787 .td.cbi-section-table-optionals {
788 text-align: left !important;
789 padding-top: 1em;
790 }
791
792 .th.cbi-section-actions,
793 .td.cbi-section-actions {
794 display: flex;
795 justify-content: flex-end;
796 flex-direction: row;
797 flex: 1 1 150px;
798 margin: auto -1px auto auto;
799 }
800
801 .td.cbi-section-actions > form {
802 display: flex;
803 }
804
805 .td.cbi-section-actions > *,
806 .td.cbi-section-actions > form > * {
807 flex: 1 1 4em;
808 margin: 1px;
809 }
810
811 .cbi-page-actions {
812 display: flex;
813 justify-content: flex-end;
814 margin: -3px;
815 }
816
817 .cbi-page-actions > form {
818 display: flex;
819 }
820
821 .cbi-page-actions > * {
822 flex: 0 1 auto;
823 margin: 3px;
824 }
825
826 .cbi-page-actions > form > * {
827 flex: 1;
828 margin: 0 3px 0 0;
829 }
830
831 .cbi-page-actions > .cbi-button-link,
832 .cbi-page-actions > form[method="get"]:first-child {
833 margin-right: auto;
834 }
835
836 *::-ms-backdrop,
837 .cbi-page-actions > .cbi-button-link,
838 .cbi-page-actions > form[method="get"]:first-child {
839 margin-right: 50%;
840 }
841
842 .th[data-type="button"], .td[data-type="button"],
843 .th[data-type="fvalue"], .td[data-type="fvalue"] {
844 flex: 1 1 2em;
845 text-align: center;
846 }
847
848 #cbi-network-switch_vlan .th,
849 #cbi-network-switch_vlan .td {
850 flex-basis: 12%;
851 }
852
853 .td[data-title]::before {
854 content: attr(data-title) ":\20";
855 font-weight: bold;
856 text-align: left;
857 display: none;
858 padding: 1px;
859 white-space: nowrap;
860 }
861
862 .tr.placeholder .td[data-title]::before {
863 display: none;
864 }
865
866 .tr[data-title]::before,
867 .tr.cbi-section-table-titles.named::before {
868 content: attr(data-title) "\20";
869 font-weight: bold;
870 text-align: left;
871 display: inline-block;
872 align-self: center;
873 flex: 1 1 5%;
874 padding: .25em;
875 white-space: normal;
876 word-wrap: break-word;
877 }
878
879 .cbi-value-helpicon img {
880 vertical-align: bottom;
881 }
882
883 .td.cbi-value-error {
884 border-color: red;
885 }
886
887 .cbi-value-error input,
888 .cbi-value-error select {
889 color: red;
890 background-color: #ffcccc;
891 }
892
893 .cbi-section-error {
894 color: red;
895 background-color: white;
896 font-size: 95%;
897 border: 1px dotted red;
898 margin: 3px;
899 padding: 3px;
900 }
901
902 .cbi-value-field var {
903 color: #2222FF;
904 }
905
906 ul.cbi-tabmenu {
907 list-style-type: none;
908 display: flex;
909 margin: 0 0 .5em 0 !important;
910 padding: 0 0 0 5px;
911 border-bottom: 1px solid #bbb;
912 }
913
914 ul.cbi-tabmenu li {
915 display: inline-flex;
916 margin: 0 5px -1px 0;
917 flex: 0 1 auto;
918 border: 1px solid #bbb;
919 border-bottom: none;
920 border-radius: 3px 3px 0 0;
921 background: linear-gradient(#ddd 90%, #aaa 100%);
922 color: #888;
923 overflow: hidden;
924 text-overflow: ellipsis;
925 word-wrap: break-word;
926 }
927
928 ul.cbi-tabmenu li a,
929 ul.cbi-tabmenu li a:hover {
930 text-decoration: none;
931 color: inherit;
932 padding: 5px;
933 flex: 1 1 auto;
934 width: 100%;
935 height: 100%;
936 }
937
938 ul.cbi-tabmenu li.cbi-tab-highlighted {
939 color: #000;
940 background: #fea;
941 }
942
943 ul.cbi-tabmenu li.cbi-tab {
944 color: #000;
945 background: #fff;
946 }
947
948 .cbi-tab-descr {
949 background-image: url(/luci-static/resources/cbi/help.gif);
950 background-position: .25em 50%;
951 background-repeat: no-repeat;
952 border-bottom: 1px solid #ccc;
953 margin: 0 .25em .25em .25em;
954 padding: .5em .5em .5em 2em;
955 }
956
957
958 .cbi-dropdown {
959 border: 1px inset #000;
960 display: inline-flex;
961 cursor: pointer;
962 background: #eee;
963 position: relative;
964 padding: 0;
965 color: #000;
966 min-width: 20em;
967 max-width: 100%;
968 }
969
970 .cbi-dropdown:hover {
971 background: #fff;
972 }
973
974 .cbi-dropdown:focus {
975 outline: 2px solid #4b6e9b;
976 }
977
978 .cbi-dropdown > ul {
979 margin: 0 !important;
980 padding: 0;
981 list-style: none;
982 overflow-x: hidden;
983 overflow-y: auto;
984 display: flex;
985 width: 100%;
986 }
987
988 .cbi-dropdown > ul.preview {
989 display: none;
990 }
991
992 .cbi-dropdown > .open {
993 border: 2px outset #eee;
994 flex-basis: 15px;
995 }
996
997 .cbi-dropdown > .open,
998 .cbi-dropdown > .more {
999 flex-grow: 0;
1000 flex-shrink: 0;
1001 display: flex;
1002 flex-direction: column;
1003 justify-content: center;
1004 text-align: center;
1005 line-height: 2em;
1006 padding: 0 .25em;
1007 }
1008
1009 .cbi-dropdown > .more,
1010 .cbi-dropdown > ul > li[placeholder] {
1011 color: #777;
1012 font-weight: bold;
1013 text-shadow: 1px 1px 0px #fff;
1014 display: none;
1015 }
1016
1017 .cbi-dropdown > ul > li {
1018 display: none;
1019 padding: .25em;
1020 white-space: nowrap;
1021 overflow: hidden;
1022 text-overflow: ellipsis;
1023 flex-shrink: 1;
1024 flex-grow: 1;
1025 align-items: center;
1026 align-self: center;
1027 min-height: 20px;
1028 }
1029
1030 .cbi-dropdown > ul > li .hide-open { display: initial; }
1031 .cbi-dropdown > ul > li .hide-close { display: none; }
1032
1033 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1034 border-left: 1px solid #ccc;
1035 }
1036
1037 .cbi-dropdown[empty] > ul {
1038 max-width: 1px;
1039 }
1040
1041 .cbi-dropdown > ul > li > form {
1042 display: none;
1043 margin: 0;
1044 padding: 0;
1045 pointer-events: none;
1046 }
1047
1048 .cbi-dropdown > ul > li img {
1049 vertical-align: middle;
1050 margin-right: .25em;
1051 }
1052
1053 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1054 margin: 0;
1055 }
1056
1057 .cbi-dropdown > ul > li input[type="text"] {
1058 height: 20px;
1059 }
1060
1061 .cbi-dropdown[open] {
1062 position: relative;
1063 }
1064
1065 .cbi-dropdown[open] > ul.dropdown {
1066 display: block;
1067 background: #f6f6f5;
1068 border: 1px solid #918e8c;
1069 box-shadow: 0 0 4px #918e8c;
1070 position: absolute;
1071 z-index: 1000;
1072 max-width: none;
1073 min-width: 100%;
1074 width: auto;
1075 }
1076
1077 .cbi-dropdown > ul > li[display],
1078 .cbi-dropdown[open] > ul.preview,
1079 .cbi-dropdown[open] > ul.dropdown > li,
1080 .cbi-dropdown[multiple] > ul > li > label,
1081 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1082 .cbi-dropdown[multiple][more] > .more,
1083 .cbi-dropdown[multiple][empty] > .more {
1084 flex-grow: 1;
1085 display: flex;
1086 align-items: center;
1087 }
1088
1089 .cbi-dropdown[empty] > ul > li,
1090 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1091 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1092 display: block;
1093 }
1094
1095 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
1096 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial; }
1097
1098 .cbi-dropdown[open] > ul.dropdown > li {
1099 border-bottom: 1px solid #ccc;
1100 }
1101
1102 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1103 background: #b0d0f0;
1104 }
1105
1106 .cbi-dropdown[open] > ul.dropdown > li.focus {
1107 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1108 }
1109
1110 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1111 margin-bottom: 0;
1112 border-bottom: none;
1113 }
1114
1115 .cbi-dropdown[disabled] {
1116 pointer-events: none;
1117 opacity: .6;
1118 }
1119
1120
1121 .cbi-tooltip-container {
1122 cursor: help;
1123 }
1124
1125 .cbi-tooltip {
1126 position: absolute;
1127 z-index: 1000;
1128 left: -1000px;
1129 opacity: 0;
1130 transition: opacity .25s ease-out;
1131 pointer-events: none;
1132 box-shadow: 0 0 2px #444;
1133 }
1134
1135 .cbi-tooltip-container:hover .cbi-tooltip {
1136 left: auto;
1137 opacity: 1;
1138 transition: opacity .25s ease-in;
1139 }
1140
1141 .zonebadge .cbi-tooltip {
1142 padding: 1px;
1143 background: inherit;
1144 margin: -1.6em 0 0 -5px;
1145 }
1146
1147
1148 .zone-forwards {
1149 display: flex;
1150 flex-wrap: wrap;
1151 }
1152
1153 .zone-forwards > * {
1154 flex: 1 1 45%;
1155 padding: 1px;
1156 }
1157
1158 .zone-forwards > span {
1159 flex-basis: 10%;
1160 text-align: center;
1161 }
1162
1163 .zone-forwards .zone-src,
1164 .zone-forwards .zone-dest {
1165 display: flex;
1166 flex-direction: column;
1167 }
1168
1169
1170 .left, .left::before {
1171 text-align: left !important;
1172 }
1173
1174 .right, .right::before {
1175 text-align: right !important;
1176 }
1177
1178 .center, .center::before {
1179 text-align: center !important;
1180 }
1181
1182 .td.bottom {
1183 align-self: flex-end;
1184 }
1185
1186 .td.top {
1187 align-self: flex-start;
1188 }
1189
1190 .td.middle {
1191 align-self: center;
1192 }
1193
1194 .luci {
1195 position: absolute;
1196 bottom: 0;
1197 left: 1em;
1198 height: 1.5em;
1199 font-size: 80%;
1200 margin-bottom: 0;
1201 }
1202
1203 .luci a:link,
1204 .luci a:visited {
1205 background-color: transparent;
1206 color: #666666;
1207 text-decoration: none;
1208 font-size: 70%;
1209 }
1210
1211 .inline {
1212 display: inline;
1213 }
1214
1215 .error500 {
1216 white-space: normal;
1217 border: 1px dotted #ff0000;
1218 background-color: #ffffff;
1219 color: #000000;
1220 padding: 0.5em;
1221 }
1222
1223
1224 .ifacebadge, .ifacebox {
1225 display: inline-flex;
1226 align-content: center;
1227 border: 1px solid #ccc;
1228 border-radius: 3px;
1229 padding: 2px;
1230 background: #fff;
1231 margin: .25em .5em;
1232 }
1233
1234 .ifacebox-head {
1235 background: #eee;
1236 }
1237
1238 .ifacebox-head.active {
1239 background: #90c0e0;
1240 }
1241
1242 .ifacebadge, .zonebadge {
1243 align-items: center;
1244 }
1245
1246 .ifacebadge > * {
1247 align-self: flex-start;
1248 }
1249
1250 .ifacebadge > img,
1251 .ifacebadge > em {
1252 margin-right: 5px;
1253 display: inline-block;
1254 height: 16px;
1255 }
1256
1257 .ifacebadge-active {
1258 border-color: #000000;
1259 font-weight: bold;
1260 }
1261
1262 .ifacebox {
1263 flex-direction: column;
1264 margin: 0;
1265 padding: 0;
1266 min-width: 100px;
1267 text-align: center;
1268 }
1269
1270 .ifacebox > * {
1271 padding: 2px;
1272 }
1273
1274 .td > .ifacebadge,
1275 .td > .zonebadge {
1276 margin: 0;
1277 vertical-align: top;
1278 }
1279
1280 .network-status-table {
1281 display: flex;
1282 flex-wrap: wrap;
1283 margin: -.25em;
1284 }
1285
1286 .network-status-table .ifacebox {
1287 margin: .25em;
1288 font-size: 90%;
1289 flex-grow: 1;
1290 }
1291
1292 .network-status-table .ifacebox-body {
1293 display: flex;
1294 flex-direction: column;
1295 flex: 1 0 auto;
1296 }
1297
1298 .network-status-table .ifacebox-body > span {
1299 flex: 10 10 auto;
1300 }
1301
1302 .network-status-table .ifacebox-body > div {
1303 display: flex;
1304 flex-wrap: wrap;
1305 }
1306
1307 .ifacebadge.large,
1308 .network-status-table .ifacebox-body .ifacebadge {
1309 flex: 1;
1310 -webkit-flex: 1 1 auto;
1311 margin: .5em .25em .25em .25em;
1312 padding: .5em;
1313 min-width: 220px;
1314 white-space: nowrap;
1315 }
1316
1317
1318 .zonebadge {
1319 padding: 2px;
1320 display: inline-block;
1321 white-space: nowrap;
1322 border-radius: 3px;
1323 }
1324
1325 .zonebadge > em,
1326 .zonebadge > strong {
1327 margin: 3px;
1328 }
1329
1330 .zonebadge input {
1331 width: 6em;
1332 height: 1.5em;
1333 }
1334
1335 .zonebadge .ifacebadge,
1336 .cbi-dropdown .ifacebadge {
1337 margin: 1px;
1338 }
1339
1340 .zonebadge .ifacebadge img,
1341 .zonebadge .ifacebadge em,
1342 .cbi-dropdown .ifacebadge img,
1343 .cbi-dropdown .ifacebadge em {
1344 margin: 0 1px;
1345 }
1346
1347 .zonebadge-empty {
1348 border: 1px dashed #AAAAAA;
1349 color: #AAAAAA;
1350 font-style: italic;
1351 font-size: smaller;
1352 }
1353
1354
1355 .uci-change-list {
1356 font-family: monospace;
1357 }
1358
1359 .uci-change-list ins,
1360 .uci-change-legend-label ins {
1361 text-decoration: none;
1362 border: 1px solid #00FF00;
1363 background-color: #CCFFCC;
1364 display: block;
1365 padding: 2px;
1366 }
1367
1368 .uci-change-list del,
1369 .uci-change-legend-label del {
1370 text-decoration: none;
1371 border: 1px solid #FF0000;
1372 background-color: #FFCCCC;
1373 display: block;
1374 font-style: normal;
1375 padding: 2px;
1376 }
1377
1378 .uci-change-list var,
1379 .uci-change-legend-label var {
1380 text-decoration: none;
1381 border: 1px solid #CCCCCC;
1382 background-color: #EEEEEE;
1383 display: block;
1384 font-style: normal;
1385 padding: 2px;
1386 }
1387
1388 .uci-change-list var ins,
1389 .uci-change-list var del {
1390 /*display: inline;*/
1391 border: none;
1392 white-space: pre;
1393 font-style: normal;
1394 padding: 0px;
1395 }
1396
1397 .uci-change-legend {
1398 padding: 5px;
1399 }
1400
1401 .uci-change-legend-label {
1402 width: 150px;
1403 float: left;
1404 font-size: 80%;
1405 }
1406
1407 .uci-change-legend-label>ins,
1408 .uci-change-legend-label>del,
1409 .uci-change-legend-label>var {
1410 float: left;
1411 margin-right: 4px;
1412 width: 10px;
1413 height: 10px;
1414 display: block;
1415 }
1416
1417 .uci-change-legend-label var ins,
1418 .uci-change-legend-label var del {
1419 line-height: 6px;
1420 border: none;
1421 }
1422
1423
1424 }
1425
1426 @media screen and (max-width: 992px) {
1427 body {
1428 -webkit-text-size-adjust: 100%;
1429 }
1430
1431 #maincontainer {
1432 flex-direction: column;
1433 width: 100%;
1434 }
1435
1436 #maincontent {
1437 width: 96%;
1438 margin: auto;
1439 flex-basis: auto;
1440 }
1441
1442 #mainmenu {
1443 border: none;
1444 border-radius: 0;
1445 max-width: none;
1446 background: #000;
1447 box-shadow: 0 0 2px #444;
1448 padding: 0;
1449 border-top: 1px solid #444;
1450 position: relative;
1451 }
1452
1453 #mainmenu ul > li.selected > a {
1454 background: #444;
1455 color: #fff;
1456 border-top: none;
1457 }
1458
1459 #mainmenu ul > li.selected:not(.active) > ul {
1460 max-height: 0;
1461 visibility: hidden;
1462 }
1463
1464 #mainmenu ul > li > a {
1465 flex: 1 1 auto;
1466 color: #fff;
1467 border: 1px solid #444;
1468 border-width: 0 0 1px 1px;
1469 }
1470
1471 #mainmenu ul.l1 {
1472 display: flex;
1473 flex-direction: row;
1474 flex-wrap: wrap;
1475 position: relative;
1476 margin-left: -1px;
1477 width: 100%;
1478 }
1479
1480 #mainmenu ul.l1 > li {
1481 display: inline-flex;
1482 flex: 1 1 auto;
1483 position: relative;
1484 height: 2em;
1485 }
1486
1487 #mainmenu ul.l1 ul.l2 {
1488 position: absolute;
1489 top: 2em;
1490 right: 0;
1491 z-index: 1000;
1492 background: #000;
1493 box-shadow: 0 0 2px #444;
1494 min-width: 120px;
1495 display: block;
1496 }
1497
1498 #mainmenu ul.l1 ul.l2.align-left {
1499 right: auto;
1500 left: 0;
1501 }
1502
1503 #mainmenu ul.l2 > li {
1504 display: block;
1505 }
1506
1507 #mainmenu ul.l2 > li > a {
1508 padding: .5em;
1509 }
1510
1511 #mainmenu ul li.mainmenu-item-logout {
1512 margin-top: 0;
1513 margin-left: auto;
1514 }
1515
1516 #mainmenu ul li.mainmenu-item-logout::before {
1517 content: "\0a";
1518 flex: 10;
1519 border: 1px solid #444;
1520 border-width: 0 0 1px 1px;
1521 }
1522
1523 .table {
1524 display: flex;
1525 flex-direction: column;
1526 width: 100%;
1527 }
1528
1529 .tr {
1530 display: flex;
1531 flex-direction: row;
1532 flex-wrap: wrap;
1533 align-items: flex-end;
1534 }
1535
1536 .th, .td {
1537 flex: 2 2 25%;
1538 align-self: flex-start;
1539 overflow: hidden;
1540 text-overflow: ellipsis;
1541 word-wrap: break-word;
1542 display: inline-block;
1543 }
1544
1545 .td select {
1546 word-wrap: normal;
1547 }
1548
1549 .td[data-type="button"],
1550 .td[data-type="fvalue"] {
1551 flex: 1 1 12.5%;
1552 text-align: left;
1553 }
1554
1555 .td.cbi-value-field {
1556 align-self: flex-start;
1557 }
1558
1559 .td.cbi-value-field .cbi-button {
1560 width: 100%;
1561 }
1562
1563 .table.cbi-section-table {
1564 border: none;
1565 background: none;
1566 margin: 0;
1567 }
1568
1569 .tr.table-titles,
1570 .cbi-section-table-titles,
1571 .cbi-section-table-descr {
1572 display: none;
1573 }
1574
1575 .cbi-section-table-row {
1576 display: flex;
1577 flex-direction: row;
1578 flex-wrap: wrap;
1579 border: 1px dotted #444;
1580 margin: 0 0 .5em 0;
1581 background: #fff;
1582 }
1583
1584 .cbi-section-table-row:hover {
1585 border: 1px solid #4a6b7c;
1586 }
1587
1588 .cbi-section-table + .cbi-section-create {
1589 padding-top: 0;
1590 }
1591
1592 .tr[data-title]::before {
1593 display: block;
1594 flex: 1 1 100%;
1595 background: #eef;
1596 }
1597
1598 .td[data-title]::before {
1599 display: block;
1600 }
1601
1602 .td.cbi-section-actions {
1603 flex-basis: 100%;
1604 margin: auto -1px 0 auto;
1605 }
1606
1607 .td.cbi-section-actions > *,
1608 .td.cbi-section-actions > form > * {
1609 flex: 0 1 100%;
1610 max-width: 150px;
1611 }
1612
1613 .hide-sm,
1614 .hide-xs {
1615 display: none;
1616 }
1617 }
1618
1619 @media screen and (max-width: 480px) {
1620 body {
1621 font-size: 12pt;
1622 }
1623
1624 input, textarea, select {
1625 font-size: 12pt !important;
1626 line-height: 1.4em;
1627 }
1628
1629 select, input[type="text"], input[type="password"] {
1630 width: 100%;
1631 height: 1.4em;
1632 }
1633
1634 [data-dynlist] > input,
1635 input.cbi-input-password {
1636 width: calc(100% - 20px);
1637 }
1638
1639 .cbi-dropdown {
1640 min-width: 100%;
1641 }
1642
1643 .btn, .cbi-button {
1644 font-size: 9pt !important;
1645 line-height: 13pt;
1646 }
1647
1648 #maincontent {
1649 padding: .25em;
1650 }
1651
1652 #tabmenu {
1653 margin: -.25em -.25em 1em -.25em;
1654 }
1655
1656 .th, .td {
1657 flex: 2 2 50%;
1658 }
1659
1660 .td.cbi-value-field {
1661 flex-basis: 100%;
1662 }
1663
1664 .td.cbi-value-field[data-type="dvalue"] {
1665 flex-basis: 50%;
1666 }
1667
1668 .td.cbi-value-field[data-type="button"],
1669 .td.cbi-value-field[data-type="fvalue"] {
1670 flex-basis: 25%;
1671 text-align: left;
1672 }
1673
1674 .cbi-value-title {
1675 float: none;
1676 font-weight: bold;
1677 }
1678
1679 .cbi-value-field {
1680 width: 100%;
1681 margin: 0;
1682 }
1683
1684 .cbi-value-description {
1685 margin-top: 5px;
1686 display: block;
1687 }
1688
1689 .cbi-section-create {
1690 margin-bottom: 1em;
1691 }
1692
1693 .cbi-page-actions {
1694 flex-wrap: wrap;
1695 margin: -2px;
1696 }
1697
1698 .cbi-page-actions > .cbi-button-link {
1699 flex-basis: 100%;
1700 margin-right: 2px;
1701 }
1702
1703 .cbi-page-actions > * {
1704 flex: 1 1 auto;
1705 margin: 2px;
1706 }
1707
1708 ul.cbi-tabmenu {
1709 padding: 0 3px;
1710 }
1711
1712 ul.cbi-tabmenu li {
1713 font-size: 90%;
1714 margin: 0 1px -1px 0;
1715 }
1716
1717 .hide-xs {
1718 display: none;
1719 }
1720
1721 #cbi-network .td[id] > strong {
1722 display: block;
1723 }
1724
1725 #cbi-network-switch_vlan .td.cbi-section-actions {
1726 flex-basis: 100%;
1727 }
1728 }