2 * Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
5 * Copyright 2015 Lutty Yang <lutty@wcan.in>
7 * Have a bug? Please create an issue here on GitHub!
8 * https://github.com/LuttyYang/luci-theme-material/issues
10 * luci-theme-bootstrap:
11 * Copyright 2008 Steven Barth <steven@midlink.org>
12 * Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
13 * Copyright 2012 David Menting <david@nut-bolt.nl>
16 * https://github.com/muicss/mui
18 * Licensed to the public under the Apache License 2.0
24 @import url("custom.css");
27 * Font generate by Icomoon<icomoon.io>
30 font-family: 'icomoon';
31 src: url('fonts/font.eot');
32 src: url('fonts/font.eot') format('embedded-opentype'),
33 url('fonts/font.ttf') format('truetype'),
34 url('fonts/font.woff') format('woff'),
35 url('fonts/font.svg') format('svg');
40 .table { display: table; position: relative; }
41 .tr { display: table-row; }
42 .thead { display: table-header-group; }
43 .tbody { display: table-row-group; }
44 .tfoot { display: table-footer-group; }
46 vertical-align: middle;
60 .tr.placeholder > .td {
70 .table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
71 .table[width="100%"], .th[width="100%"], .td[width="100%"] { width: 100%; }
73 .col-1 { flex: 1 1 30px !important; -webkit-flex: 1 1 30px !important; }
74 .col-2 { flex: 2 2 60px !important; -webkit-flex: 2 2 60px !important; }
75 .col-3 { flex: 3 3 90px !important; -webkit-flex: 3 3 90px !important; }
76 .col-4 { flex: 4 4 120px !important; -webkit-flex: 4 4 120px !important; }
77 .col-5 { flex: 5 5 150px !important; -webkit-flex: 5 5 150px !important; }
78 .col-6 { flex: 6 6 180px !important; -webkit-flex: 6 6 180px !important; }
79 .col-7 { flex: 7 7 210px !important; -webkit-flex: 7 7 210px !important; }
80 .col-8 { flex: 8 8 240px !important; -webkit-flex: 8 8 240px !important; }
81 .col-9 { flex: 9 9 270px !important; -webkit-flex: 9 9 270px !important; }
82 .col-10 { flex: 10 10 300px !important; -webkit-flex: 10 10 300px !important; }
88 .main > .loading > span {
89 font-family: 'icomoon' !important;
91 font-style: normal !important;
92 font-weight: normal !important;
93 font-variant: normal !important;
94 text-transform: none !important;
97 -webkit-font-smoothing: antialiased;
98 -moz-osx-font-smoothing: grayscale;
104 box-sizing: border-box;
107 .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
108 font-family: inherit;
115 -webkit-text-size-adjust: 100%;
116 -ms-text-size-adjust: 100%;
121 background-color: #EEE;
128 font-family: var(--font-body, "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB");
132 padding: 0.36rem 0.8rem;
134 background-color: #fff;
135 background-image: none;
136 border: 1px solid #ccc;
142 background-color: transparent;
143 color: rgba(0, 0, 0, .87);
145 border-bottom: 2px solid rgba(0, 0, 0, .26);
150 background-image: none;
155 select:not([multiple="multiple"]):focus,
158 .cbi-dynlist > .item:focus {
159 border-color: var(--main-color, #0099CC);
162 select[multiple="multiple"] {
167 color: var(--main-color, #0099CC);
172 text-decoration: underline;
188 box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
189 transition: box-shadow .2s;
200 text-shadow: 0px 0px 2px #BBB;
205 text-decoration: none;
213 height: calc(100% - 4rem);
222 background-color: rgb(240, 240, 240);
226 .main > .loading > span {
234 .main > .loading > span > .loading-img:before {
238 .main > .loading > span > .loading-img {
239 animation: anim-rotate 2s infinite linear;
240 display: inline-block;
244 @keyframes anim-rotate {
246 -webkit-transform: rotate(0);
247 -ms-transform: rotate(0);
248 transform: rotate(0);
251 -webkit-transform: rotate(360deg);
252 -ms-transform: rotate(360deg);
253 transform: rotate(360deg)
261 width: calc(0% + 15rem);
263 height: calc(100% - 4rem);
264 background-color: var(--menu-bg-color, #FFFFFF);
271 width: calc(100% - 15rem);
274 background-color: #EEE;
277 .main-right > #maincontent {
278 background-color: #EEE;
290 background: var(--header-bg, #0099CC);
291 color: var(--header-color, #FFFFFF);
295 header > .fill > .container {
296 padding-top: 0.25rem;
298 padding-bottom: 0.25rem;
304 header > .fill > .container > .brand {
306 color: var(--header-color, #FFFFFF);
307 text-decoration: none;
312 header > .fill > .container > img{
314 width: calc(0% + 13rem);
318 header > .fill > .container > .status {
320 justify-content: flex-end;
325 background-color: #FA8072 !important;
330 background-color: #F0E68C !important;
335 background-color: #90EE90 !important;
346 font-family: inherit;
350 background-color: #FFF;
351 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
358 .alert-message > h4 {
367 #maincontent > .container > div:nth-child(1).alert-message.warning > a {
370 text-transform: none;
371 display: inline-block;
376 vertical-align: middle;
377 touch-action: manipulation;
379 -webkit-user-select: none;
380 -moz-user-select: none;
381 -ms-user-select: none;
383 background-image: none;
385 padding: 0.5rem 1rem;
387 line-height: 1.42857143;
389 background-color: #5bc0de;
390 border-color: #46b8da;
392 text-decoration: inherit;
395 .main > .main-left > .nav {
399 .main > .main-left > .nav > li a {
400 color: var(--menu-color, #404040);
404 .main > .main-left > .nav > li:nth-last-child(1) {
410 .main > .main-left > .nav > li {
411 padding: 0.5rem 1rem;
415 .main > .main-left > .nav > .slide {
419 .main > .main-left > .nav > .slide > ul {
423 .main > .main-left > .nav > .slide > .menu {
425 padding: 0.5rem 1rem;
426 text-decoration: none;
431 .main > .main-left > .nav > li:hover,
432 .main > .main-left > .nav > .slide > .menu:hover {
433 background: var(--submenu-bg-hover, #D4D4D4)
436 .main > .main-left > .nav > .slide:hover {
440 .main > .main-left > .nav > .slide > .slide-menu > li {
441 padding: 0.4rem 2rem;
444 .main > .main-left > .nav > .slide > .slide-menu > .active {
445 background-color: var(--submenu-bg-hover-active, #0099CC);
448 .main > .main-left > .nav > .slide > .slide-menu > li > a {
449 text-decoration: none;
453 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
457 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
458 background: var(--submenu-bg-hover, #D4D4D4)
461 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
462 background-color: var(--main-color, #0099CC);
467 list-style-type: none;
470 #maincontent > .container {
471 margin: 0 2rem 1rem 2rem;
476 padding-bottom: 10px;
477 border-bottom: 1px solid #eee;
483 padding-bottom: 10px;
484 border-bottom: 1px solid #eee;
490 padding-bottom: 10px;
496 padding-bottom: 10px;
506 font-family: inherit;
509 background-color: #FFF;
510 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
512 -webkit-overflow-scrolling: touch;
515 .cbi-map-descr + fieldset {
519 .cbi-section > legend {
520 display: none !important;
523 fieldset > fieldset {
530 .cbi-section > h3:first-child,
537 padding-bottom: 1rem;
538 border-bottom: 1px solid #eee;
544 border-collapse: collapse;
549 border: 1px solid #eee;
552 table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table > tfoot > tr > th, table > thead > tr > td, table > thead > tr > th,
553 .table > .tbody > .tr > .td, .table > .tbody > .tr > .th, .table > .tfoot > .tr > .td, .table > .tfoot > .tr > .th, .table > .thead > .tr > .td, .table > .thead > .tr > .th {
555 border-top: 1px solid #ddd;
559 .cbi-section-table-cell {
561 align-self: flex-end;
569 .cbi-section-table-row {
573 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
576 .cbi-section-table-row:last-child {
580 .cbi-section-table-row > .cbi-value-field .cbi-input-select,
581 .cbi-section-table-row > .cbi-value-field .cbi-input-text,
582 .cbi-section-table-row > .cbi-value-field .cbi-input-password,
583 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
587 .cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
588 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
589 width: calc(100% - 1.5rem);
592 div > table > tbody > tr:nth-of-type(2n),
593 div > .table > .tbody > .tr:nth-of-type(2n) {
594 background-color: #f9f9f9;
597 div > table > tbody > tr:nth-of-type(2n),
598 div > .table > .tbody > .tr:nth-of-type(2n) {
599 background-color: #f9f9f9;
602 /* fix progress bar */
609 width: 100% !important;
610 height: 1.2rem !important;
613 #swaptotal > div > div,
614 #swapfree > div > div,
615 #memfree > div > div,
616 #membuff > div > div,
618 #memtotal > div > div {
619 height: 100% !important;
620 background-color: var(--main-color, #0099CC) !important;
623 /* fix multiple table */
630 .cbi-value-field table,
631 .cbi-value-field .table {
635 td > table > tbody > tr > td,
636 .td > .table > .tbody > .tr > .td {
640 .cbi-value-field > table > tbody > tr > td,
641 .cbi-value-field > .table > .tbody > .tr > .td {
647 .btn, .cbi-button, .item::after {
648 -webkit-appearance: none;
649 text-transform: uppercase;
650 color: rgba(0, 0, 0, 0.87);
651 background-color: #F0F0F0;
652 transition: all 0.2s ease-in-out;
653 display: inline-block;
656 border-radius: 0.2rem;
658 -ms-touch-action: manipulation;
659 touch-action: manipulation;
660 background-image: none;
662 vertical-align: middle;
664 -webkit-user-select: none;
665 -moz-user-select: none;
666 -ms-user-select: none;
669 width: auto !important;
670 display: inline-block;
671 text-decoration: none;
681 .cbi-page-actions .cbi-button-apply + .cbi-button-save:hover,
682 .cbi-page-actions .cbi-button-apply + .cbi-button-save:focus,
683 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
685 text-decoration: none;
686 background-color: rgba(250, 250, 250, 0.7);
693 box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
698 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
702 .cbi-button:disabled {
704 pointer-events: none;
709 .cbi-page-actions .cbi-button-apply,
710 .cbi-section-actions .cbi-button-edit,
711 .cbi-button-edit.important,
712 .cbi-button-apply.important,
713 .cbi-button-reload.important,
714 .cbi-button-action.important {
716 background-color: #337ab7;
719 .cbi-page-actions .cbi-button-save,
720 .cbi-button-add.important,
721 .cbi-button-save.important,
722 .cbi-button-positive.important {
724 background-color: #5bc0de;
727 .cbi-button-remove.important,
728 .cbi-button-reset.important,
729 .cbi-button-negative.important {
731 background-color: #d9534f;
738 .cbi-button-neutral {
739 border: 1px solid #bfbfbf;
740 background-color: transparent;
748 border: 1px solid #2e6da4;
749 background-color: transparent;
752 .cbi-page-actions .cbi-button-apply + .cbi-button-save,
755 .cbi-button-positive {
757 border: 1px solid #46b8da;
758 background-color: transparent;
761 .cbi-section-remove > .cbi-button,
764 .cbi-button-negative {
766 border: 1px solid #d43f3a;
767 background-color: transparent;
770 .cbi-page-actions .cbi-button-link:first-child {
775 text-decoration: none;
782 padding-left: 0.5rem;
783 background-color: #FFFFFF;
788 display: inline-block;
789 padding: 0.6rem 0rem;
792 .cbi-tabmenu > li > a,
794 text-decoration: none;
796 padding: 0.5rem 0.8rem;
799 .tabs > li[class~="active"],
802 border-bottom: 0.2rem solid var(--main-color, #0099CC);
803 color: var(--main-color, #0099CC);
804 margin-bottom: -0.18751rem;
807 .tabs > li[class~="active"] > a {
808 color: var(--main-color, #0099CC);
812 border-bottom: 0.18751rem solid #C9C9C9;
816 border-top: 1px solid #D4D4D4;
817 border-left: 1px solid #D4D4D4;
818 border-right: 1px solid #D4D4D4;
821 .cbi-tabmenu > li:hover {
822 background-color: #F1F1F1;
825 .cbi-tabmenu > li[class~="cbi-tab"] {
826 background-color: white;
830 background-color: #D4D4D4;
833 .cbi-section-remove:nth-of-type(2n),
834 .cbi-section-node:nth-of-type(2n){
835 background-color: #f9f9f9;
838 .cbi-section-node-tabbed {
841 border-bottom: 1px solid #D4D4D4;
842 border-left: 1px solid #D4D4D4;
843 border-right: 1px solid #D4D4D4;
846 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
847 background-color: #f9f9f9;
851 .cbi-value-description {
856 .cbi-value-helpicon > img {
860 .cbi-value-helpicon:before {
864 .cbi-value-description {
867 padding: 0.5rem 0 0 0;
871 word-wrap: break-word;
881 padding: 0.3rem 1rem;
882 display: inline-block;
886 .cbi-section-table-descr > .cbi-section-table-cell,
887 .cbi-section-table-titles > .cbi-section-table-cell {
891 .td[data-title]::before {
892 content: attr(data-title) ":\20";
900 .tr.placeholder .td[data-title]::before {
904 .tr[data-title]::before,
905 .tr.cbi-section-table-titles.named::before {
906 content: attr(data-title) "\20";
914 word-wrap: break-word;
915 vertical-align: middle;
919 background-color: #f9f9f9;
923 background-color: #eee;
926 .cbi-rowstyle-2 .cbi-button-up,
927 .cbi-rowstyle-2 .cbi-button-down {
928 background-color: #FFF !important;
931 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
932 width: auto !important;
935 .td.cbi-section-actions {
937 vertical-align: middle;
940 .td.cbi-section-actions > * {
944 .td.cbi-section-actions > * > *,
945 .td.cbi-section-actions > * > form > * {
950 .td.cbi-section-actions > * > form {
951 display: inline-flex;
966 display: inline-flex;
974 margin: 0 !important;
983 .cbi-dropdown > ul.preview {
987 .cbi-dropdown > .open {
988 border: 2px outset #eee;
993 .cbi-dropdown > .open,
994 .cbi-dropdown > .more {
998 flex-direction: column;
999 justify-content: center;
1005 .cbi-dropdown > .more,
1006 .cbi-dropdown > ul > li[placeholder] {
1009 text-shadow: 1px 1px 0px #fff;
1013 .cbi-dropdown > ul > li {
1016 white-space: nowrap;
1018 text-overflow: ellipsis;
1021 align-items: center;
1026 .cbi-dropdown > ul > li .hide-open { display: initial; }
1027 .cbi-dropdown > ul > li .hide-close { display: none; }
1029 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1030 border-left: 1px solid #ccc;
1033 .cbi-dropdown[empty] > ul {
1037 .cbi-dropdown > ul > li > form {
1041 pointer-events: none;
1044 .cbi-dropdown > ul > li img {
1045 vertical-align: middle;
1046 margin-right: .25em;
1049 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1054 .cbi-dropdown > ul > li input[type="text"] {
1058 .cbi-dropdown[open] {
1062 .cbi-dropdown[open] > ul.dropdown {
1064 background: #f6f6f5;
1065 border: 1px solid #918e8c;
1066 box-shadow: 0 0 4px #918e8c;
1074 .cbi-dropdown > ul > li[display],
1075 .cbi-dropdown[open] > ul.preview,
1076 .cbi-dropdown[open] > ul.dropdown > li,
1077 .cbi-dropdown[multiple] > ul > li > label,
1078 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1079 .cbi-dropdown[multiple][more] > .more,
1080 .cbi-dropdown[multiple][empty] > .more {
1083 align-items: center;
1086 .cbi-dropdown[empty] > ul > li,
1087 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1088 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1092 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
1093 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial; }
1095 .cbi-dropdown[open] > ul.dropdown > li {
1096 border-bottom: 1px solid #ccc;
1099 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1100 background: #b0d0f0;
1103 .cbi-dropdown[open] > ul.dropdown > li.focus {
1104 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1107 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1109 border-bottom: none;
1112 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1116 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1120 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1124 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1128 .cbi-dropdown[disabled] {
1129 pointer-events: none;
1133 .cbi-dropdown .zonebadge {
1137 .cbi-dropdown[open] .zonebadge {
1144 display: inline-flex;
1145 flex-direction: column;
1148 .cbi-dynlist > .item {
1149 margin: 0 2em 4px 0;
1151 border-bottom: 2px solid rgba(0, 0, 0, .26);
1153 pointer-events: none;
1157 .cbi-dynlist > .item::after {
1160 display: inline-flex;
1161 align-items: center;
1166 border: 1px solid #c44;
1169 pointer-events: auto;
1175 display: inline-flex;
1176 flex-direction: column;
1179 .cbi-dynlist > .item {
1180 margin: 0 2em 4px 0;
1182 border-bottom: 2px solid rgba(0, 0, 0, .26);
1184 pointer-events: none;
1188 .cbi-dynlist > .item::after {
1191 display: inline-flex;
1192 align-items: center;
1197 border: 1px solid #c44;
1200 pointer-events: auto;
1210 .left, .left::before {
1211 text-align: left !important;
1214 .right, .right::before {
1215 text-align: right !important;
1218 .center, .center::before {
1219 text-align: center !important;
1223 align-self: flex-start !important;
1224 vertical-align: top !important;
1228 align-self: flex-end !important;
1229 vertical-align: bottom !important;
1237 border-top: 1px solid #eee;
1243 .cbi-value input[type="password"],
1244 .cbi-value input[type="text"] {
1249 .cbi-value-field .cbi-dropdown {
1253 .cbi-value-field .cbi-input-select {
1257 .cbi-value-field .cbi-input-invalid {
1258 border-bottom-color: #f00;
1262 .th[data-type="button"], .td[data-type="button"],
1263 .th[data-type="fvalue"], .td[data-type="fvalue"] {
1269 display: inline-flex;
1270 border-bottom: 1px solid #CCCCCC;
1271 padding: 0.5rem 1rem;
1272 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1278 background-color: #F0F0F0;
1284 display: inline-block;
1286 align-self: flex-start;
1289 .ifacebadge > img + img {
1290 margin: 0 .2rem 0 0;
1293 .network-status-table {
1298 .network-status-table .ifacebox {
1303 .network-status-table .ifacebox-body {
1305 flex-direction: column;
1309 .network-status-table .ifacebox-body > span {
1313 .network-status-table .ifacebox-body > div {
1318 .network-status-table .ifacebox-body .ifacebadge {
1320 margin: .5em .25em 0 .25em;
1323 background-color: #fff;
1324 align-items: center;
1329 .cbi-input-textarea {
1334 font-family: monospace;
1345 margin-bottom: 20px;
1347 background-color: #FFF;
1348 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1355 font-family: monospace;
1358 .uci-change-list ins,
1359 .uci-change-legend-label ins {
1360 text-decoration: none;
1361 border: 1px solid #00FF00;
1362 background-color: #CCFFCC;
1367 .uci-change-list del,
1368 .uci-change-legend-label del {
1369 text-decoration: none;
1370 border: 1px solid #FF0000;
1371 background-color: #FFCCCC;
1377 .uci-change-list var,
1378 .uci-change-legend-label var {
1379 text-decoration: none;
1380 border: 1px solid #CCCCCC;
1381 background-color: #EEEEEE;
1387 .uci-change-list var ins,
1388 .uci-change-list var del {
1395 .uci-change-legend {
1399 .uci-change-legend-label {
1404 .uci-change-legend-label > ins,
1405 .uci-change-legend-label > del,
1406 .uci-change-legend-label > var {
1414 .uci-change-legend-label var ins,
1415 .uci-change-legend-label var del {
1420 .uci-change-list var,
1421 .uci-change-list del,
1422 .uci-change-list ins {
1430 border: 1px solid #D4D4D4 !important;
1431 border-top: none !important;
1435 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
1436 border-bottom: 1px solid #ccc;
1437 background-color: #f9f9f9;
1438 display: inline-flex;
1439 flex-direction: column;
1449 .ifacebox-head.active {
1450 background: #90c0e0;
1458 margin-left: 0.5rem;
1462 padding: 0.2rem 0.5rem;
1463 display: inline-block;
1466 .zonebadge .ifacebadge {
1467 padding: .2rem .3rem;
1468 margin: 0.1rem 0.2rem;
1469 border: 1px solid #6C6C6C;
1472 .zonebadge > input[type="text"] {
1473 padding: 0.16rem 1rem;
1479 .zonebadge > strong {
1481 display: inline-block;
1484 .cbi-value-field .cbi-input-checkbox,
1485 .cbi-value-field .cbi-input-radio {
1490 .td .cbi-input-checkbox,
1491 .td .cbi-input-radio {
1495 .cbi-value-field > input + .cbi-value-description {
1499 .cbi-value-field > ul > li {
1503 .cbi-value-field > ul > li > label {
1507 .cbi-value-field > ul > li .ifacebadge {
1508 background-color: #eee;
1509 margin-left: 0.4rem;
1510 margin-top: -0.5rem;
1513 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1517 .cbi-section-create {
1519 display: inline-flex;
1520 align-items: center;
1523 .cbi-section-create > * {
1527 .cbi-section-remove {
1531 div.cbi-value var, td.cbi-value-field var, .td.cbi-value-field var {
1538 white-space: normal;
1539 line-height: 1.42857143;
1544 display: inline-block;
1546 padding: 0.2rem 0.3rem;
1551 padding: 1rem 1rem 0 1rem;
1552 border-top: 1px solid #CCC;
1555 .cbi-dropdown-container {
1559 .cbi-tooltip-container {
1572 transition: opacity .25s ease-out;
1573 pointer-events: none;
1574 box-shadow: 0 0 2px #444;
1577 .cbi-tooltip-container:hover .cbi-tooltip {
1580 transition: opacity .25s ease-in;
1583 .zonebadge .cbi-tooltip {
1585 background: inherit;
1586 margin: -1.5rem 0 0 -.5rem;
1590 background: repeating-linear-gradient(45deg,rgba(204,204,204,0.5),rgba(204,204,204,0.5) 5px,rgba(255,255,255,0.5) 5px,rgba(255,255,255,0.5) 10px);
1599 .zone-forwards > * {
1603 .zone-forwards > span {
1609 .zone-forwards .zone-src,
1610 .zone-forwards .zone-dest {
1612 flex-direction: column;
1615 #diag-rc-output > pre {
1616 background-color: #f5f5f5;
1620 line-height: 1.5rem;
1621 -moz-border-radius: 3px;
1622 white-space: pre-wrap;
1623 word-wrap: break-word;
1629 input[name="traceroute"],
1630 input[name="nslookup"] {
1634 header > .container > .pull-right > * {
1640 #xhr_poll_status > .label.success {
1641 background-color: #14CE14;
1649 padding: 0.3rem 0.8rem;
1652 color: #ffffff !important;
1653 text-transform: uppercase;
1654 white-space: nowrap;
1655 background-color: #bfbfbf;
1656 -webkit-border-radius: 3px;
1657 -moz-border-radius: 3px;
1660 text-decoration: none;
1664 background-color: #5BC0DE;
1675 background-color: rgba(0, 0, 0, 0.56);
1682 .node-main-login > .main > .main-left {
1686 .node-main-login > .main > .main-right {
1690 .node-main-login > .main fieldset {
1692 margin-bottom: 1rem;
1700 .node-main-login > .main .cbi-value-title {
1704 .node-main-login > .main #maincontent {
1709 .node-main-login > .main .container {
1710 display: inline-block;
1712 margin-top: 2rem !important;
1713 background-color: #FFF;
1714 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1718 .node-main-login > .main form > div:nth-last-child(1) {
1722 .node-main-login > .main .cbi-value {
1726 .node-main-login > .main .cbi-value > * {
1727 display: inline-block !important;
1730 .node-main-login > .main .cbi-input-user,
1731 .node-main-login > .main .cbi-input-password {
1735 .node-main-login footer {
1741 /* fix status overview */
1743 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
1744 white-space: normal;
1747 /* fix status processes */
1749 .node-status-processes > .main .table .tr .td:nth-child(3) {
1750 white-space: normal;
1753 .node-status-iptables > .main div > .cbi-map > form {
1754 margin: 2rem 2rem 0 0;
1757 /* fix system reboot */
1759 .node-system-reboot > .main > .main-right p,
1760 .node-system-reboot > .main > .main-right h3 {
1764 /* fix Services Network Shares*/
1765 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1766 margin-bottom: 1rem;
1770 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1774 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1778 /* fix System Software*/
1779 .node-system-packages > .main table tr td:nth-child(1) {
1780 width: auto !important;
1783 .node-system-packages > .main table tr td:nth-last-child(1) {
1784 white-space: normal;
1789 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1790 padding: 0.5rem 0.8rem;
1793 .node-system-packages > .main .cbi-value > pre {
1794 background-color: #eee;
1799 .cbi-tabmenu + .cbi-section {
1803 .node-status-iptables fieldset,
1804 .node-system-packages fieldset,
1805 .node-system-flashops fieldset {
1809 .node-status-iptables .cbi-tabmenu,
1810 .node-system-packages .cbi-tabmenu,
1811 .node-system-flashops .cbi-tabmenu {
1813 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1816 .node-system-flashops form.inline + form.inline {
1820 #cbi-firewall-redirect table *,
1821 #cbi-network-switch_vlan table *,
1822 #cbi-firewall-zone table * {
1826 #cbi-firewall-redirect table input[type="text"],
1827 #cbi-network-switch_vlan table input[type="text"],
1828 #cbi-firewall-zone table input[type="text"] {
1832 #cbi-firewall-redirect table select,
1833 #cbi-network-switch_vlan table select,
1834 #cbi-firewall-zone table select {
1838 #cbi-network-switch_vlan .th,
1839 #cbi-network-switch_vlan .td {
1844 body.lang_pl.node-main-login .cbi-value-title {
1848 /* applyreboot fix */
1850 #applyreboot-container {
1854 #applyreboot-section {
1859 @media screen and (max-width: 1600px) {
1862 padding: 0.3rem 0.6rem;
1866 header > .container > .pull-right > * {
1871 padding: 0.2rem 0.6rem;
1876 padding-right: 0.6rem;
1883 .cbi-input-textarea {
1887 .node-status-iptables > .main fieldset li > a {
1888 padding: 0.3rem 0.6rem;
1892 @media screen and (max-width: 1280px) {
1893 header > .container {
1894 margin-top: 0.25rem;
1897 .cbi-tabmenu > li > a, .tabs > li > a {
1898 padding: 0.2rem 0.5rem;
1903 padding-bottom: 1rem;
1907 font-size: 0.7rem !important;
1908 width: 100% !important;
1912 @media screen and (max-width: 992px) {
1913 header > .fill > .container > img {
1929 margin-right: 0.5rem;
1930 display: inline-block;
1938 .node-main-login .showSide {
1939 display: none !important;
1944 padding-right: 1rem;
1947 .node-network-diagnostics > .main .cbi-map fieldset > div * {
1948 width: 100% !important;
1951 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"] {
1952 margin: 3rem 0 0 0 !important;
1955 .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"] {
1956 margin: 0 !important;
1959 .node-network-diagnostics > .main .cbi-map fieldset > div select,
1960 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"] {
1964 .node-network-diagnostics > .main .cbi-map fieldset > div {
1965 width: 100% !important;
1968 #diag-rc-output > pre {
1972 .node-main-login > .main .cbi-value-title {
1978 flex-direction: row;
1984 align-self: flex-start;
1986 text-overflow: ellipsis;
1987 word-wrap: break-word;
1988 display: inline-block;
1992 .td input[type="text"] {
1997 .td [data-dynlist] > input,
1998 .td input.cbi-input-password {
1999 width: calc(100% - 1.5rem);
2002 .td[data-type="button"],
2003 .td[data-type="fvalue"] {
2008 .th.cbi-value-field,
2009 .td.cbi-value-field,
2010 .th.cbi-section-table-cell,
2011 .td.cbi-section-table-cell {
2015 .cbi-section-table-row {
2018 flex-direction: row;
2019 justify-content: space-between;
2022 .td.cbi-value-field,
2023 .cbi-section-table-cell {
2025 display: inline-block;
2029 .td.cbi-section-actions {
2031 align-self: flex-end;
2032 vertical-align: bottom;
2036 .tr.cbi-section-table-titles,
2037 .tr.cbi-section-table-descr {
2041 .tr[data-title]::before,
2042 .tr.cbi-section-table-titles.named::before {
2047 border-bottom: 1px solid rgba(0, 0, 0, .26);
2054 .td[data-title]::before {
2064 @media screen and (max-width: 480px) {
2078 #maincontent > .container {
2079 margin: 0 1rem 1.5rem 1rem;
2082 .main > .main-left > .nav > .slide > .menu {
2086 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2092 min-width: 0rem !important;
2095 margin-bottom: 0.5rem;
2099 .cbi-value-field, .cbi-value-description {
2103 .cbi-value > .cbi-value-field {
2104 display: inline-block;
2107 .cbi-tabmenu > li, .tabs > li {
2108 padding: 0.6rem 0rem;
2111 .cbi-tabmenu > li > a, .tabs > li > a {
2112 padding: 0.2rem 0.3rem;
2116 .cbi-page-actions > div > input {
2120 .node-main-login > .main .container {
2121 padding: 0.5rem 1rem 2rem 1rem;
2124 .node-main-login > .main .cbi-value {
2128 .node-main-login > .main form > div:nth-last-child(1) {
2132 .node-main-login > .main .cbi-value-title {
2133 width: 100% !important;
2137 .node-main-login > .main fieldset {
2161 padding-bottom: 1rem;
2164 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2165 width: 100% !important;
2168 .node-system-packages > .main .cbi-value .cbi-value-field input {
2172 .node-status-iptables > .main div > .cbi-map > form {
2173 position: static !important;
2177 font-weight: normal;
2180 font-family: inherit;
2183 background-color: #FFF;
2184 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2185 -webkit-overflow-scrolling: touch;
2188 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2189 width: 100% !important;
2193 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2201 .td.cbi-value-field {
2205 .td.cbi-value-field[data-type="dvalue"] {
2209 .td.cbi-value-field[data-type="button"],
2210 .td.cbi-value-field[data-type="fvalue"] {
2215 .tr[data-title]::before,
2216 .tr.cbi-section-table-titles.named::before {
2225 @media screen and (min-width: 992px) {
2226 .cbi-value input[type="password"],
2227 .cbi-value input[type="text"],
2228 .cbi-value-field .cbi-input-select {
2232 .cbi-value-field .cbi-dropdown {
2237 @media screen and (min-width: 1280px) {
2238 .cbi-value input[type="password"],
2239 .cbi-value input[type="text"],
2240 .cbi-value-field .cbi-input-select {
2244 .cbi-value-field .cbi-dropdown {
2249 @media screen and (min-width: 1600px) {
2250 .cbi-value input[type="password"],
2251 .cbi-value input[type="text"],
2252 .cbi-value-field .cbi-input-select {
2256 .cbi-value-field .cbi-dropdown {