Merge pull request #1933 from Ansuel/hostname_upnp
[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 vertical-align: middle;
696 }
697
698 .cbi-value-description {
699 background-image: url(/luci-static/resources/cbi/help.gif);
700 background-position: .25em .25em;
701 background-repeat: no-repeat;
702 margin: .25em 0 0 0;
703 padding: .25em .25em .25em 1.75em;
704 }
705
706 .cbi-section-create {
707 padding: 0 0 .25em 0;
708 margin: -3px;
709 display: inline-flex;
710 align-items: center;
711 }
712
713 .cbi-section-create > * {
714 margin: 3px;
715 flex: 1 1 auto;
716 }
717
718 .cbi-section-create > * > input {
719 width: 100%;
720 }
721
722 .cbi-section-remove > .cbi-button {
723 margin-bottom: -1px;
724 border-radius: 3px 3px 0 0;
725 }
726
727 .cbi-section-node + .cbi-section-create {
728 padding-top: 0;
729 }
730
731 div.cbi-map-descr {
732 margin-bottom: 1em;
733 }
734
735 div.cbi-optionals {
736 padding: 0.25em;
737 border-bottom: 1px dotted #bbbbbb;
738 }
739
740 .cbi-section-node {
741 clear: both;
742 padding-bottom: 0;
743 position: relative;
744 border: 1px dotted #555;
745 background: #fff;
746 margin-bottom: .5em;
747 }
748
749 .cbi-section-node-tabbed {
750 border-top: none;
751 margin-top: -.5em;
752 }
753
754 .cbi-section-node .cbi-value:last-child,
755 .cbi-section-node .cbi-optionals:last-child {
756 border-bottom: none;
757 }
758
759 .table.cbi-section-table {
760 width: 100%;
761 font-size: 95%;
762 border: 1px dotted #444;
763 background: #fff;
764 margin: 0 0 .5em 0;
765 }
766
767 .cbi-section-node > .table.cbi-section-table {
768 border: none;
769 margin: 0;
770 }
771
772 @keyframes flash {
773 0% { opacity: 1; }
774 50% { opacity: .5; }
775 100% { opacity: 1; }
776 }
777
778 .tr.cbi-section-table-row.flash {
779 animation: flash .35s;
780 }
781
782 .tr.cbi-section-table-descr .th {
783 font-weight: normal;
784 font-size: 90%;
785 vertical-align: top;
786 }
787
788 .td.cbi-section-table-optionals {
789 text-align: left !important;
790 padding-top: 1em;
791 }
792
793 .th.cbi-section-actions,
794 .td.cbi-section-actions {
795 overflow: visible;
796 align-self: center;
797 vertical-align: middle;
798 }
799
800 .th.cbi-section-actions > *,
801 .td.cbi-section-actions > * {
802 display: flex;
803 justify-content: flex-end;
804 flex-direction: row;
805 flex: 1 1 150px;
806 margin: auto -1px auto auto;
807 }
808
809 .td.cbi-section-actions > * > *,
810 .td.cbi-section-actions > * > form > * {
811 flex: 1 1 4em;
812 margin: 0 1px;
813 }
814
815 .td.cbi-section-actions > * > form {
816 display: flex;
817 margin: 0;
818 }
819
820 .cbi-page-actions {
821 display: flex;
822 justify-content: flex-end;
823 margin: -3px;
824 }
825
826 .cbi-page-actions > form {
827 display: flex;
828 }
829
830 .cbi-page-actions > * {
831 flex: 0 1 auto;
832 margin: 3px;
833 }
834
835 .cbi-page-actions > form > * {
836 flex: 1;
837 margin: 0 3px 0 0;
838 }
839
840 .cbi-page-actions > .cbi-button-link,
841 .cbi-page-actions > form[method="get"]:first-child {
842 margin-right: auto;
843 }
844
845 *::-ms-backdrop,
846 .cbi-page-actions > .cbi-button-link,
847 .cbi-page-actions > form[method="get"]:first-child {
848 margin-right: 50%;
849 }
850
851 .th[data-type="button"], .td[data-type="button"],
852 .th[data-type="fvalue"], .td[data-type="fvalue"] {
853 flex: 1 1 2em;
854 text-align: center;
855 }
856
857 #cbi-network-switch_vlan .th,
858 #cbi-network-switch_vlan .td {
859 flex-basis: 12%;
860 }
861
862 .td[data-title]::before {
863 content: attr(data-title) ":\20";
864 font-weight: bold;
865 text-align: left;
866 display: none;
867 padding: 1px;
868 white-space: nowrap;
869 }
870
871 .tr.placeholder .td[data-title]::before {
872 display: none;
873 }
874
875 .tr[data-title]::before,
876 .tr.cbi-section-table-titles.named::before {
877 content: attr(data-title) "\20";
878 font-weight: bold;
879 text-align: left;
880 display: table-cell;
881 align-self: center;
882 flex: 1 1 5%;
883 padding: .25em;
884 white-space: normal;
885 word-wrap: break-word;
886 vertical-align: middle;
887 }
888
889 .cbi-value-helpicon img {
890 vertical-align: bottom;
891 }
892
893 .td.cbi-value-error {
894 border-color: red;
895 }
896
897 .cbi-value-error input,
898 .cbi-value-error select {
899 color: red;
900 background-color: #ffcccc;
901 }
902
903 .cbi-section-error {
904 color: red;
905 background-color: white;
906 font-size: 95%;
907 border: 1px dotted red;
908 margin: 3px;
909 padding: 3px;
910 }
911
912 .cbi-value-field var {
913 color: #2222FF;
914 }
915
916 ul.cbi-tabmenu {
917 list-style-type: none;
918 display: flex;
919 margin: 0 0 .5em 0 !important;
920 padding: 0 0 0 5px;
921 border-bottom: 1px solid #bbb;
922 }
923
924 ul.cbi-tabmenu li {
925 display: inline-flex;
926 margin: 0 5px -1px 0;
927 flex: 0 1 auto;
928 border: 1px solid #bbb;
929 border-bottom: none;
930 border-radius: 3px 3px 0 0;
931 background: linear-gradient(#ddd 90%, #aaa 100%);
932 color: #888;
933 overflow: hidden;
934 text-overflow: ellipsis;
935 word-wrap: break-word;
936 }
937
938 ul.cbi-tabmenu li a,
939 ul.cbi-tabmenu li a:hover {
940 text-decoration: none;
941 color: inherit;
942 padding: 5px;
943 flex: 1 1 auto;
944 width: 100%;
945 height: 100%;
946 }
947
948 ul.cbi-tabmenu li.cbi-tab-highlighted {
949 color: #000;
950 background: #fea;
951 }
952
953 ul.cbi-tabmenu li.cbi-tab {
954 color: #000;
955 background: #fff;
956 }
957
958 .cbi-tab-descr {
959 background-image: url(/luci-static/resources/cbi/help.gif);
960 background-position: .25em 50%;
961 background-repeat: no-repeat;
962 border-bottom: 1px solid #ccc;
963 margin: 0 .25em .25em .25em;
964 padding: .5em .5em .5em 2em;
965 }
966
967
968 .cbi-dropdown {
969 border: 1px inset #000;
970 display: inline-flex;
971 cursor: pointer;
972 background: #eee;
973 position: relative;
974 padding: 0;
975 color: #000;
976 min-width: 20em;
977 max-width: 100%;
978 }
979
980 .cbi-dropdown:hover {
981 background: #fff;
982 }
983
984 .cbi-dropdown:focus {
985 outline: 2px solid #4b6e9b;
986 }
987
988 .cbi-dropdown > ul {
989 margin: 0 !important;
990 padding: 0;
991 list-style: none;
992 overflow-x: hidden;
993 overflow-y: auto;
994 display: flex;
995 width: 100%;
996 }
997
998 .cbi-dropdown > ul.preview {
999 display: none;
1000 }
1001
1002 .cbi-dropdown > .open {
1003 border: 2px outset #eee;
1004 flex-basis: 15px;
1005 }
1006
1007 .cbi-dropdown > .open,
1008 .cbi-dropdown > .more {
1009 flex-grow: 0;
1010 flex-shrink: 0;
1011 display: flex;
1012 flex-direction: column;
1013 justify-content: center;
1014 text-align: center;
1015 line-height: 2em;
1016 padding: 0 .25em;
1017 }
1018
1019 .cbi-dropdown > .more,
1020 .cbi-dropdown > ul > li[placeholder] {
1021 color: #777;
1022 font-weight: bold;
1023 text-shadow: 1px 1px 0px #fff;
1024 display: none;
1025 }
1026
1027 .cbi-dropdown > ul > li {
1028 display: none;
1029 padding: .25em;
1030 white-space: nowrap;
1031 overflow: hidden;
1032 text-overflow: ellipsis;
1033 flex-shrink: 1;
1034 flex-grow: 1;
1035 align-items: center;
1036 align-self: center;
1037 min-height: 20px;
1038 }
1039
1040 .cbi-dropdown > ul > li .hide-open { display: initial; }
1041 .cbi-dropdown > ul > li .hide-close { display: none; }
1042
1043 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1044 border-left: 1px solid #ccc;
1045 }
1046
1047 .cbi-dropdown[empty] > ul {
1048 max-width: 1px;
1049 }
1050
1051 .cbi-dropdown > ul > li > form {
1052 display: none;
1053 margin: 0;
1054 padding: 0;
1055 pointer-events: none;
1056 }
1057
1058 .cbi-dropdown > ul > li img {
1059 vertical-align: middle;
1060 margin-right: .25em;
1061 }
1062
1063 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1064 margin: 0;
1065 }
1066
1067 .cbi-dropdown > ul > li input[type="text"] {
1068 height: 20px;
1069 }
1070
1071 .cbi-dropdown[open] {
1072 position: relative;
1073 }
1074
1075 .cbi-dropdown[open] > ul.dropdown {
1076 display: block;
1077 background: #f6f6f5;
1078 border: 1px solid #918e8c;
1079 box-shadow: 0 0 4px #918e8c;
1080 position: absolute;
1081 z-index: 1000;
1082 max-width: none;
1083 min-width: 100%;
1084 width: auto;
1085 }
1086
1087 .cbi-dropdown > ul > li[display],
1088 .cbi-dropdown[open] > ul.preview,
1089 .cbi-dropdown[open] > ul.dropdown > li,
1090 .cbi-dropdown[multiple] > ul > li > label,
1091 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1092 .cbi-dropdown[multiple][more] > .more,
1093 .cbi-dropdown[multiple][empty] > .more {
1094 flex-grow: 1;
1095 display: flex;
1096 align-items: center;
1097 }
1098
1099 .cbi-dropdown[empty] > ul > li,
1100 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1101 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1102 display: block;
1103 }
1104
1105 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
1106 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial; }
1107
1108 .cbi-dropdown[open] > ul.dropdown > li {
1109 border-bottom: 1px solid #ccc;
1110 }
1111
1112 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1113 background: #b0d0f0;
1114 }
1115
1116 .cbi-dropdown[open] > ul.dropdown > li.focus {
1117 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1118 }
1119
1120 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1121 margin-bottom: 0;
1122 border-bottom: none;
1123 }
1124
1125 .cbi-dropdown[disabled] {
1126 pointer-events: none;
1127 opacity: .6;
1128 }
1129
1130
1131 .cbi-tooltip-container {
1132 cursor: help;
1133 }
1134
1135 .cbi-tooltip {
1136 position: absolute;
1137 z-index: 1000;
1138 left: -1000px;
1139 opacity: 0;
1140 transition: opacity .25s ease-out;
1141 pointer-events: none;
1142 box-shadow: 0 0 2px #444;
1143 }
1144
1145 .cbi-tooltip-container:hover .cbi-tooltip {
1146 left: auto;
1147 opacity: 1;
1148 transition: opacity .25s ease-in;
1149 }
1150
1151 .zonebadge .cbi-tooltip {
1152 padding: 1px;
1153 background: inherit;
1154 margin: -1.6em 0 0 -5px;
1155 }
1156
1157
1158 .zone-forwards {
1159 display: flex;
1160 flex-wrap: wrap;
1161 }
1162
1163 .zone-forwards > * {
1164 flex: 1 1 45%;
1165 padding: 1px;
1166 }
1167
1168 .zone-forwards > span {
1169 flex-basis: 10%;
1170 text-align: center;
1171 }
1172
1173 .zone-forwards .zone-src,
1174 .zone-forwards .zone-dest {
1175 display: flex;
1176 flex-direction: column;
1177 }
1178
1179
1180 .left, .left::before { text-align: left !important; }
1181 .right, .right::before { text-align: right !important; }
1182 .center, .center::before { text-align: center !important; }
1183
1184 .top, .top::before { vertical-align: top !important; }
1185 .middle, .middle::before { vertical-align: middle !important; }
1186 .bottom, .bottom::before { vertical-align: bottom !important; }
1187
1188 .td.top { align-self: flex-start; vertical-align: top; }
1189 .td.middle { align-self: center; vertical-align: middle; }
1190 .td.bottom { align-self: flex-end; vertical-align: bottom; }
1191
1192 .luci {
1193 position: absolute;
1194 bottom: 0;
1195 left: 1em;
1196 height: 1.5em;
1197 font-size: 80%;
1198 margin-bottom: 0;
1199 }
1200
1201 .luci a:link,
1202 .luci a:visited {
1203 background-color: transparent;
1204 color: #666666;
1205 text-decoration: none;
1206 font-size: 70%;
1207 }
1208
1209 .inline {
1210 display: inline;
1211 }
1212
1213 .error500 {
1214 white-space: normal;
1215 border: 1px dotted #ff0000;
1216 background-color: #ffffff;
1217 color: #000000;
1218 padding: 0.5em;
1219 }
1220
1221
1222 .ifacebadge, .ifacebox {
1223 display: inline-flex;
1224 align-content: center;
1225 border: 1px solid #ccc;
1226 border-radius: 3px;
1227 padding: 2px;
1228 background: #fff;
1229 }
1230
1231 .ifacebox-head {
1232 background: #eee;
1233 }
1234
1235 .ifacebox-head.active {
1236 background: #90c0e0;
1237 }
1238
1239 .ifacebadge, .zonebadge {
1240 align-items: center;
1241 }
1242
1243 .ifacebadge > * {
1244 align-self: flex-start;
1245 }
1246
1247 .ifacebadge > img,
1248 .ifacebadge > em {
1249 margin-right: 5px;
1250 display: inline-block;
1251 height: 16px;
1252 }
1253
1254 .ifacebadge-active {
1255 border-color: #000000;
1256 font-weight: bold;
1257 }
1258
1259 .ifacebox {
1260 flex-direction: column;
1261 margin: 0;
1262 padding: 0;
1263 min-width: 100px;
1264 text-align: center;
1265 }
1266
1267 .ifacebox > * {
1268 padding: 2px;
1269 }
1270
1271 .td > .ifacebadge,
1272 .td > .zonebadge {
1273 margin: 0;
1274 vertical-align: top;
1275 }
1276
1277 .network-status-table {
1278 display: flex;
1279 flex-wrap: wrap;
1280 margin: -.25em -.25em .25em -.25em;
1281 }
1282
1283 .network-status-table .ifacebox {
1284 margin: .25em;
1285 font-size: 90%;
1286 flex-grow: 1;
1287 }
1288
1289 .network-status-table .ifacebox-body {
1290 display: flex;
1291 flex-direction: column;
1292 flex: 1 0 auto;
1293 padding: .5em;
1294 }
1295
1296 .network-status-table .ifacebox-body > span {
1297 flex: 10 10 auto;
1298 }
1299
1300 .network-status-table .ifacebox-body > div {
1301 display: flex;
1302 flex-wrap: wrap;
1303 }
1304
1305 .ifacebadge.large,
1306 .network-status-table .ifacebox-body .ifacebadge {
1307 flex: 1;
1308 -webkit-flex: 1 1 auto;
1309 padding: .5em;
1310 min-width: 220px;
1311 white-space: nowrap;
1312 }
1313
1314 .network-status-table .ifacebox-body .ifacebadge {
1315 margin: .5em 0 0 0;
1316 }
1317
1318
1319 .zonebadge {
1320 padding: 2px;
1321 display: inline-block;
1322 white-space: nowrap;
1323 border-radius: 3px;
1324 }
1325
1326 .zonebadge > em,
1327 .zonebadge > strong {
1328 margin: 3px;
1329 }
1330
1331 .zonebadge input {
1332 width: 6em;
1333 height: 1.5em;
1334 }
1335
1336 .zonebadge .ifacebadge,
1337 .cbi-dropdown .ifacebadge {
1338 margin: 1px;
1339 }
1340
1341 .zonebadge .ifacebadge img,
1342 .zonebadge .ifacebadge em,
1343 .cbi-dropdown .ifacebadge img,
1344 .cbi-dropdown .ifacebadge em {
1345 margin: 0 1px;
1346 }
1347
1348 .zonebadge-empty {
1349 border: 1px dashed #AAAAAA;
1350 color: #AAAAAA;
1351 font-style: italic;
1352 font-size: smaller;
1353 }
1354
1355
1356 .uci-change-list {
1357 font-family: monospace;
1358 }
1359
1360 .uci-change-list ins,
1361 .uci-change-legend-label ins {
1362 text-decoration: none;
1363 border: 1px solid #00FF00;
1364 background-color: #CCFFCC;
1365 display: block;
1366 padding: 2px;
1367 }
1368
1369 .uci-change-list del,
1370 .uci-change-legend-label del {
1371 text-decoration: none;
1372 border: 1px solid #FF0000;
1373 background-color: #FFCCCC;
1374 display: block;
1375 font-style: normal;
1376 padding: 2px;
1377 }
1378
1379 .uci-change-list var,
1380 .uci-change-legend-label var {
1381 text-decoration: none;
1382 border: 1px solid #CCCCCC;
1383 background-color: #EEEEEE;
1384 display: block;
1385 font-style: normal;
1386 padding: 2px;
1387 }
1388
1389 .uci-change-list var ins,
1390 .uci-change-list var del {
1391 /*display: inline;*/
1392 border: none;
1393 white-space: pre;
1394 font-style: normal;
1395 padding: 0px;
1396 }
1397
1398 .uci-change-legend {
1399 padding: 5px;
1400 }
1401
1402 .uci-change-legend-label {
1403 width: 150px;
1404 float: left;
1405 font-size: 80%;
1406 }
1407
1408 .uci-change-legend-label>ins,
1409 .uci-change-legend-label>del,
1410 .uci-change-legend-label>var {
1411 float: left;
1412 margin-right: 4px;
1413 width: 10px;
1414 height: 10px;
1415 display: block;
1416 }
1417
1418 .uci-change-legend-label var ins,
1419 .uci-change-legend-label var del {
1420 line-height: 6px;
1421 border: none;
1422 }
1423
1424
1425 }
1426
1427 @media screen and (max-width: 992px) {
1428 body {
1429 -webkit-text-size-adjust: 100%;
1430 }
1431
1432 #maincontainer {
1433 flex-direction: column;
1434 width: 100%;
1435 }
1436
1437 #maincontent {
1438 width: 96%;
1439 margin: auto;
1440 flex-basis: auto;
1441 }
1442
1443 #mainmenu {
1444 border: none;
1445 border-radius: 0;
1446 max-width: none;
1447 background: #000;
1448 box-shadow: 0 0 2px #444;
1449 padding: 0;
1450 border-top: 1px solid #444;
1451 position: relative;
1452 }
1453
1454 #mainmenu ul > li.selected > a {
1455 background: #444;
1456 color: #fff;
1457 border-top: none;
1458 }
1459
1460 #mainmenu ul > li.selected:not(.active) > ul {
1461 max-height: 0;
1462 visibility: hidden;
1463 }
1464
1465 #mainmenu ul > li > a {
1466 flex: 1 1 auto;
1467 color: #fff;
1468 border: 1px solid #444;
1469 border-width: 0 0 1px 1px;
1470 }
1471
1472 #mainmenu ul.l1 {
1473 display: flex;
1474 flex-direction: row;
1475 flex-wrap: wrap;
1476 position: relative;
1477 margin-left: -1px;
1478 width: 100%;
1479 }
1480
1481 #mainmenu ul.l1 > li {
1482 display: inline-flex;
1483 flex: 1 1 auto;
1484 position: relative;
1485 height: 2em;
1486 }
1487
1488 #mainmenu ul.l1 ul.l2 {
1489 position: absolute;
1490 top: 2em;
1491 right: 0;
1492 z-index: 1000;
1493 background: #000;
1494 box-shadow: 0 0 2px #444;
1495 min-width: 120px;
1496 display: block;
1497 }
1498
1499 #mainmenu ul.l1 ul.l2.align-left {
1500 right: auto;
1501 left: 0;
1502 }
1503
1504 #mainmenu ul.l2 > li {
1505 display: block;
1506 }
1507
1508 #mainmenu ul.l2 > li > a {
1509 padding: .5em;
1510 }
1511
1512 #mainmenu ul li.mainmenu-item-logout {
1513 margin-top: 0;
1514 margin-left: auto;
1515 }
1516
1517 #mainmenu ul li.mainmenu-item-logout::before {
1518 content: "\0a";
1519 flex: 10;
1520 border: 1px solid #444;
1521 border-width: 0 0 1px 1px;
1522 }
1523
1524 .table {
1525 display: flex;
1526 flex-direction: column;
1527 width: 100%;
1528 }
1529
1530 .tr {
1531 display: flex;
1532 flex-direction: row;
1533 flex-wrap: wrap;
1534 align-items: flex-end;
1535 }
1536
1537 .th, .td {
1538 flex: 2 2 25%;
1539 align-self: flex-start;
1540 overflow: hidden;
1541 text-overflow: ellipsis;
1542 word-wrap: break-word;
1543 display: inline-block;
1544 }
1545
1546 .td select {
1547 word-wrap: normal;
1548 }
1549
1550 .td[data-type="button"],
1551 .td[data-type="fvalue"] {
1552 flex: 1 1 12.5%;
1553 text-align: left;
1554 }
1555
1556 .td.cbi-value-field {
1557 align-self: flex-start;
1558 }
1559
1560 .td.cbi-value-field .cbi-button {
1561 width: 100%;
1562 }
1563
1564 .table.cbi-section-table {
1565 border: none;
1566 background: none;
1567 margin: 0;
1568 }
1569
1570 .tr.table-titles,
1571 .cbi-section-table-titles,
1572 .cbi-section-table-descr {
1573 display: none;
1574 }
1575
1576 .cbi-section-table-row {
1577 display: flex;
1578 flex-direction: row;
1579 flex-wrap: wrap;
1580 border: 1px dotted #444;
1581 margin: 0 0 .5em 0;
1582 background: #fff;
1583 }
1584
1585 .cbi-section-table-row:hover {
1586 border: 1px solid #4a6b7c;
1587 }
1588
1589 .cbi-section-table + .cbi-section-create {
1590 padding-top: 0;
1591 }
1592
1593 .tr[data-title]::before {
1594 display: block;
1595 flex: 1 1 100%;
1596 background: #eef;
1597 }
1598
1599 .td[data-title]::before {
1600 display: block;
1601 }
1602
1603 .td[data-title] ~ .td.cbi-section-actions {
1604 align-self: flex-end;
1605 }
1606
1607 .hide-sm,
1608 .hide-xs {
1609 display: none;
1610 }
1611 }
1612
1613 @media screen and (max-width: 480px) {
1614 body {
1615 font-size: 12pt;
1616 }
1617
1618 input, textarea, select {
1619 font-size: 12pt !important;
1620 line-height: 1.4em;
1621 }
1622
1623 select, input[type="text"], input[type="password"] {
1624 width: 100%;
1625 height: 1.4em;
1626 }
1627
1628 [data-dynlist] > input,
1629 input.cbi-input-password {
1630 width: calc(100% - 20px);
1631 }
1632
1633 .cbi-dropdown {
1634 min-width: 100%;
1635 }
1636
1637 .btn, .cbi-button {
1638 font-size: 9pt !important;
1639 line-height: 13pt;
1640 }
1641
1642 #maincontent {
1643 padding: .25em;
1644 }
1645
1646 #tabmenu {
1647 margin: -.25em -.25em 1em -.25em;
1648 }
1649
1650 .th, .td {
1651 flex: 2 2 50%;
1652 }
1653
1654 .td.cbi-value-field {
1655 flex-basis: 100%;
1656 }
1657
1658 .td.cbi-value-field[data-type="dvalue"] {
1659 flex-basis: 50%;
1660 }
1661
1662 .td.cbi-value-field[data-type="button"],
1663 .td.cbi-value-field[data-type="fvalue"] {
1664 flex-basis: 25%;
1665 text-align: left;
1666 }
1667
1668 .cbi-value-title {
1669 float: none;
1670 font-weight: bold;
1671 }
1672
1673 .cbi-value-field {
1674 width: 100%;
1675 margin: 0;
1676 }
1677
1678 .cbi-value-description {
1679 margin-top: 5px;
1680 display: block;
1681 }
1682
1683 .cbi-section-create {
1684 margin-bottom: 1em;
1685 }
1686
1687 .cbi-page-actions {
1688 flex-wrap: wrap;
1689 margin: -2px;
1690 }
1691
1692 .cbi-page-actions > .cbi-button-link {
1693 flex-basis: 100%;
1694 margin-right: 2px;
1695 }
1696
1697 .cbi-page-actions > * {
1698 flex: 1 1 auto;
1699 margin: 2px;
1700 }
1701
1702 ul.cbi-tabmenu {
1703 padding: 0 3px;
1704 }
1705
1706 ul.cbi-tabmenu li {
1707 font-size: 90%;
1708 margin: 0 1px -1px 0;
1709 }
1710
1711 .hide-xs {
1712 display: none;
1713 }
1714
1715 #cbi-network .td[id] > strong {
1716 display: block;
1717 }
1718
1719 #cbi-network-switch_vlan .td.cbi-section-actions {
1720 flex-basis: 100%;
1721 }
1722 }