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 {
857 .cbi-value-error input {
863 border: 1px solid #f00;
865 background-color: #fce6e6;
870 .cbi-section-error ul {
874 .cbi-section-error ul li {
879 .cbi-value-helpicon > img {
883 .cbi-value-helpicon:before {
887 .cbi-value-description {
890 padding: 0.5rem 0 0 0;
894 word-wrap: break-word;
904 padding: 0.3rem 1rem;
905 display: inline-block;
909 .cbi-section-table-descr > .cbi-section-table-cell,
910 .cbi-section-table-titles > .cbi-section-table-cell {
914 .td[data-title]::before {
915 content: attr(data-title) ":\20";
923 .tr.placeholder .td[data-title]::before {
927 .tr[data-title]::before,
928 .tr.cbi-section-table-titles.named::before {
929 content: attr(data-title) "\20";
937 word-wrap: break-word;
938 vertical-align: middle;
942 background-color: #f9f9f9;
946 background-color: #eee;
949 .cbi-rowstyle-2 .cbi-button-up,
950 .cbi-rowstyle-2 .cbi-button-down {
951 background-color: #FFF !important;
954 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
955 width: auto !important;
958 .td.cbi-section-actions {
960 vertical-align: middle;
963 .td.cbi-section-actions > * {
967 .td.cbi-section-actions > * > *,
968 .td.cbi-section-actions > * > form > * {
973 .td.cbi-section-actions > * > form {
974 display: inline-flex;
989 display: inline-flex;
997 margin: 0 !important;
1006 .cbi-dropdown > ul.preview {
1010 .cbi-dropdown > .open {
1011 border: 2px outset #eee;
1016 .cbi-dropdown > .open,
1017 .cbi-dropdown > .more {
1021 flex-direction: column;
1022 justify-content: center;
1028 .cbi-dropdown > .more,
1029 .cbi-dropdown > ul > li[placeholder] {
1032 text-shadow: 1px 1px 0px #fff;
1036 .cbi-dropdown > ul > li {
1039 white-space: nowrap;
1041 text-overflow: ellipsis;
1044 align-items: center;
1049 .cbi-dropdown > ul > li .hide-open { display: initial; }
1050 .cbi-dropdown > ul > li .hide-close { display: none; }
1052 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1053 border-left: 1px solid #ccc;
1056 .cbi-dropdown[empty] > ul {
1060 .cbi-dropdown > ul > li > form {
1064 pointer-events: none;
1067 .cbi-dropdown > ul > li img {
1068 vertical-align: middle;
1069 margin-right: .25em;
1072 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1077 .cbi-dropdown > ul > li input[type="text"] {
1081 .cbi-dropdown[open] {
1085 .cbi-dropdown[open] > ul.dropdown {
1087 background: #f6f6f5;
1088 border: 1px solid #918e8c;
1089 box-shadow: 0 0 4px #918e8c;
1097 .cbi-dropdown > ul > li[display],
1098 .cbi-dropdown[open] > ul.preview,
1099 .cbi-dropdown[open] > ul.dropdown > li,
1100 .cbi-dropdown[multiple] > ul > li > label,
1101 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1102 .cbi-dropdown[multiple][more] > .more,
1103 .cbi-dropdown[multiple][empty] > .more {
1106 align-items: center;
1109 .cbi-dropdown[empty] > ul > li,
1110 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1111 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1115 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
1116 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial; }
1118 .cbi-dropdown[open] > ul.dropdown > li {
1119 border-bottom: 1px solid #ccc;
1122 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1123 background: #b0d0f0;
1126 .cbi-dropdown[open] > ul.dropdown > li.focus {
1127 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1130 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1132 border-bottom: none;
1135 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1139 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1143 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1147 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1151 .cbi-dropdown[disabled] {
1152 pointer-events: none;
1156 .cbi-dropdown .zonebadge {
1160 .cbi-dropdown[open] .zonebadge {
1167 display: inline-flex;
1168 flex-direction: column;
1171 .cbi-dynlist > .item {
1172 margin: 0 2em 4px 0;
1174 border-bottom: 2px solid rgba(0, 0, 0, .26);
1176 pointer-events: none;
1180 .cbi-dynlist > .item::after {
1183 display: inline-flex;
1184 align-items: center;
1189 border: 1px solid #c44;
1192 pointer-events: auto;
1198 display: inline-flex;
1199 flex-direction: column;
1202 .cbi-dynlist > .item {
1203 margin: 0 2em 4px 0;
1205 border-bottom: 2px solid rgba(0, 0, 0, .26);
1207 pointer-events: none;
1211 .cbi-dynlist > .item::after {
1214 display: inline-flex;
1215 align-items: center;
1220 border: 1px solid #c44;
1223 pointer-events: auto;
1233 .left, .left::before {
1234 text-align: left !important;
1237 .right, .right::before {
1238 text-align: right !important;
1241 .center, .center::before {
1242 text-align: center !important;
1246 align-self: flex-start !important;
1247 vertical-align: top !important;
1251 align-self: flex-end !important;
1252 vertical-align: bottom !important;
1260 border-top: 1px solid #eee;
1266 .cbi-value input[type="password"],
1267 .cbi-value input[type="text"] {
1272 .cbi-value-field .cbi-dropdown {
1276 .cbi-value-field .cbi-input-select {
1280 .cbi-value-field .cbi-input-invalid {
1281 border-bottom-color: #f00;
1285 .th[data-type="button"], .td[data-type="button"],
1286 .th[data-type="fvalue"], .td[data-type="fvalue"] {
1292 display: inline-flex;
1293 border-bottom: 1px solid #CCCCCC;
1294 padding: 0.5rem 1rem;
1295 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1301 background-color: #F0F0F0;
1307 display: inline-block;
1309 align-self: flex-start;
1312 .ifacebadge > img + img {
1313 margin: 0 .2rem 0 0;
1316 .network-status-table {
1321 .network-status-table .ifacebox {
1326 .network-status-table .ifacebox-body {
1328 flex-direction: column;
1332 .network-status-table .ifacebox-body > span {
1336 .network-status-table .ifacebox-body > div {
1341 .network-status-table .ifacebox-body .ifacebadge {
1343 margin: .5em .25em 0 .25em;
1346 background-color: #fff;
1347 align-items: center;
1352 .cbi-input-textarea {
1357 font-family: monospace;
1368 margin-bottom: 20px;
1370 background-color: #FFF;
1371 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1378 font-family: monospace;
1381 .uci-change-list ins,
1382 .uci-change-legend-label ins {
1383 text-decoration: none;
1384 border: 1px solid #00FF00;
1385 background-color: #CCFFCC;
1390 .uci-change-list del,
1391 .uci-change-legend-label del {
1392 text-decoration: none;
1393 border: 1px solid #FF0000;
1394 background-color: #FFCCCC;
1400 .uci-change-list var,
1401 .uci-change-legend-label var {
1402 text-decoration: none;
1403 border: 1px solid #CCCCCC;
1404 background-color: #EEEEEE;
1410 .uci-change-list var ins,
1411 .uci-change-list var del {
1418 .uci-change-legend {
1422 .uci-change-legend-label {
1427 .uci-change-legend-label > ins,
1428 .uci-change-legend-label > del,
1429 .uci-change-legend-label > var {
1437 .uci-change-legend-label var ins,
1438 .uci-change-legend-label var del {
1443 .uci-change-list var,
1444 .uci-change-list del,
1445 .uci-change-list ins {
1453 border: 1px solid #D4D4D4 !important;
1454 border-top: none !important;
1458 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
1459 border-bottom: 1px solid #ccc;
1460 background-color: #f9f9f9;
1461 display: inline-flex;
1462 flex-direction: column;
1472 .ifacebox-head.active {
1473 background: #90c0e0;
1481 margin-left: 0.5rem;
1485 padding: 0.2rem 0.5rem;
1486 display: inline-block;
1489 .zonebadge .ifacebadge {
1490 padding: .2rem .3rem;
1491 margin: 0.1rem 0.2rem;
1492 border: 1px solid #6C6C6C;
1495 .zonebadge > input[type="text"] {
1496 padding: 0.16rem 1rem;
1502 .zonebadge > strong {
1504 display: inline-block;
1507 .cbi-value-field .cbi-input-checkbox,
1508 .cbi-value-field .cbi-input-radio {
1513 .td .cbi-input-checkbox,
1514 .td .cbi-input-radio {
1518 .cbi-value-field > input + .cbi-value-description {
1522 .cbi-value-field > ul > li {
1526 .cbi-value-field > ul > li > label {
1530 .cbi-value-field > ul > li .ifacebadge {
1531 background-color: #eee;
1532 margin-left: 0.4rem;
1533 margin-top: -0.5rem;
1536 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1540 .cbi-section-create {
1542 display: inline-flex;
1543 align-items: center;
1546 .cbi-section-create > * {
1550 .cbi-section-remove {
1554 div.cbi-value var, td.cbi-value-field var, .td.cbi-value-field var {
1561 white-space: normal;
1562 line-height: 1.42857143;
1567 display: inline-block;
1569 padding: 0.2rem 0.3rem;
1574 padding: 1rem 1rem 0 1rem;
1575 border-top: 1px solid #CCC;
1578 .cbi-dropdown-container {
1582 .cbi-tooltip-container {
1595 transition: opacity .25s ease-out;
1596 pointer-events: none;
1597 box-shadow: 0 0 2px #444;
1600 .cbi-tooltip-container:hover .cbi-tooltip {
1603 transition: opacity .25s ease-in;
1606 .zonebadge .cbi-tooltip {
1608 background: inherit;
1609 margin: -1.5rem 0 0 -.5rem;
1613 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);
1622 .zone-forwards > * {
1626 .zone-forwards > span {
1632 .zone-forwards .zone-src,
1633 .zone-forwards .zone-dest {
1635 flex-direction: column;
1638 #diag-rc-output > pre {
1639 background-color: #f5f5f5;
1643 line-height: 1.5rem;
1644 -moz-border-radius: 3px;
1645 white-space: pre-wrap;
1646 word-wrap: break-word;
1652 input[name="traceroute"],
1653 input[name="nslookup"] {
1657 header > .container > .pull-right > * {
1663 #xhr_poll_status > .label.success {
1664 background-color: #14CE14;
1672 padding: 0.3rem 0.8rem;
1675 color: #ffffff !important;
1676 text-transform: uppercase;
1677 white-space: nowrap;
1678 background-color: #bfbfbf;
1679 -webkit-border-radius: 3px;
1680 -moz-border-radius: 3px;
1683 text-decoration: none;
1687 background-color: #5BC0DE;
1698 background-color: rgba(0, 0, 0, 0.56);
1705 .node-main-login > .main > .main-left {
1709 .node-main-login > .main > .main-right {
1713 .node-main-login > .main fieldset {
1715 margin-bottom: 1rem;
1723 .node-main-login > .main .cbi-value-title {
1727 .node-main-login > .main #maincontent {
1732 .node-main-login > .main .container {
1733 display: inline-block;
1735 margin-top: 2rem !important;
1736 background-color: #FFF;
1737 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1741 .node-main-login > .main form > div:nth-last-child(1) {
1745 .node-main-login > .main .cbi-value {
1749 .node-main-login > .main .cbi-value > * {
1750 display: inline-block !important;
1753 .node-main-login > .main .cbi-input-user,
1754 .node-main-login > .main .cbi-input-password {
1758 .node-main-login footer {
1764 /* fix status overview */
1766 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
1767 white-space: normal;
1770 /* fix status processes */
1772 .node-status-processes > .main .table .tr .td:nth-child(3) {
1773 white-space: normal;
1776 .node-status-iptables > .main div > .cbi-map > form {
1777 margin: 2rem 2rem 0 0;
1780 /* fix system reboot */
1782 .node-system-reboot > .main > .main-right p,
1783 .node-system-reboot > .main > .main-right h3 {
1787 /* fix Services Network Shares*/
1788 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1789 margin-bottom: 1rem;
1793 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1797 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1801 /* fix System Software*/
1802 .node-system-packages > .main table tr td:nth-child(1) {
1803 width: auto !important;
1806 .node-system-packages > .main table tr td:nth-last-child(1) {
1807 white-space: normal;
1812 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1813 padding: 0.5rem 0.8rem;
1816 .node-system-packages > .main .cbi-value > pre {
1817 background-color: #eee;
1822 .cbi-tabmenu + .cbi-section {
1826 .node-status-iptables fieldset,
1827 .node-system-packages fieldset,
1828 .node-system-flashops fieldset {
1832 .node-status-iptables .cbi-tabmenu,
1833 .node-system-packages .cbi-tabmenu,
1834 .node-system-flashops .cbi-tabmenu {
1836 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1839 .node-system-flashops form.inline + form.inline {
1843 #cbi-firewall-redirect table *,
1844 #cbi-network-switch_vlan table *,
1845 #cbi-firewall-zone table * {
1849 #cbi-firewall-redirect table input[type="text"],
1850 #cbi-network-switch_vlan table input[type="text"],
1851 #cbi-firewall-zone table input[type="text"] {
1855 #cbi-firewall-redirect table select,
1856 #cbi-network-switch_vlan table select,
1857 #cbi-firewall-zone table select {
1861 #cbi-network-switch_vlan .th,
1862 #cbi-network-switch_vlan .td {
1867 body.lang_pl.node-main-login .cbi-value-title {
1871 /* applyreboot fix */
1873 #applyreboot-container {
1877 #applyreboot-section {
1882 @media screen and (max-width: 1600px) {
1885 padding: 0.3rem 0.6rem;
1889 header > .container > .pull-right > * {
1894 padding: 0.2rem 0.6rem;
1899 padding-right: 0.6rem;
1906 .cbi-input-textarea {
1910 .node-status-iptables > .main fieldset li > a {
1911 padding: 0.3rem 0.6rem;
1915 @media screen and (max-width: 1280px) {
1916 header > .container {
1917 margin-top: 0.25rem;
1920 .cbi-tabmenu > li > a, .tabs > li > a {
1921 padding: 0.2rem 0.5rem;
1926 padding-bottom: 1rem;
1930 font-size: 0.7rem !important;
1931 width: 100% !important;
1935 @media screen and (max-width: 992px) {
1936 header > .fill > .container > img {
1952 margin-right: 0.5rem;
1953 display: inline-block;
1961 .node-main-login .showSide {
1962 display: none !important;
1967 padding-right: 1rem;
1970 .node-network-diagnostics > .main .cbi-map fieldset > div * {
1971 width: 100% !important;
1974 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"] {
1975 margin: 3rem 0 0 0 !important;
1978 .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"] {
1979 margin: 0 !important;
1982 .node-network-diagnostics > .main .cbi-map fieldset > div select,
1983 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"] {
1987 .node-network-diagnostics > .main .cbi-map fieldset > div {
1988 width: 100% !important;
1991 #diag-rc-output > pre {
1995 .node-main-login > .main .cbi-value-title {
2001 flex-direction: row;
2007 align-self: flex-start;
2009 text-overflow: ellipsis;
2010 word-wrap: break-word;
2011 display: inline-block;
2015 .td input[type="text"] {
2020 .td [data-dynlist] > input,
2021 .td input.cbi-input-password {
2022 width: calc(100% - 1.5rem);
2025 .td[data-type="button"],
2026 .td[data-type="fvalue"] {
2031 .th.cbi-value-field,
2032 .td.cbi-value-field,
2033 .th.cbi-section-table-cell,
2034 .td.cbi-section-table-cell {
2038 .cbi-section-table-row {
2041 flex-direction: row;
2042 justify-content: space-between;
2045 .td.cbi-value-field,
2046 .cbi-section-table-cell {
2048 display: inline-block;
2052 .td.cbi-section-actions {
2054 align-self: flex-end;
2055 vertical-align: bottom;
2059 .tr.cbi-section-table-titles,
2060 .tr.cbi-section-table-descr {
2064 .tr[data-title]::before,
2065 .tr.cbi-section-table-titles.named::before {
2070 border-bottom: 1px solid rgba(0, 0, 0, .26);
2077 .td[data-title]::before {
2087 @media screen and (max-width: 480px) {
2101 #maincontent > .container {
2102 margin: 0 1rem 1.5rem 1rem;
2105 .main > .main-left > .nav > .slide > .menu {
2109 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2115 min-width: 0rem !important;
2118 margin-bottom: 0.5rem;
2122 .cbi-value-field, .cbi-value-description {
2126 .cbi-value > .cbi-value-field {
2127 display: inline-block;
2130 .cbi-tabmenu > li, .tabs > li {
2131 padding: 0.6rem 0rem;
2134 .cbi-tabmenu > li > a, .tabs > li > a {
2135 padding: 0.2rem 0.3rem;
2139 .cbi-page-actions > div > input {
2143 .node-main-login > .main .container {
2144 padding: 0.5rem 1rem 2rem 1rem;
2147 .node-main-login > .main .cbi-value {
2151 .node-main-login > .main form > div:nth-last-child(1) {
2155 .node-main-login > .main .cbi-value-title {
2156 width: 100% !important;
2160 .node-main-login > .main fieldset {
2184 padding-bottom: 1rem;
2187 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2188 width: 100% !important;
2191 .node-system-packages > .main .cbi-value .cbi-value-field input {
2195 .node-status-iptables > .main div > .cbi-map > form {
2196 position: static !important;
2200 font-weight: normal;
2203 font-family: inherit;
2206 background-color: #FFF;
2207 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2208 -webkit-overflow-scrolling: touch;
2211 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2212 width: 100% !important;
2216 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2224 .td.cbi-value-field {
2228 .td.cbi-value-field[data-type="dvalue"] {
2232 .td.cbi-value-field[data-type="button"],
2233 .td.cbi-value-field[data-type="fvalue"] {
2238 .tr[data-title]::before,
2239 .tr.cbi-section-table-titles.named::before {
2248 @media screen and (min-width: 992px) {
2249 .cbi-value input[type="password"],
2250 .cbi-value input[type="text"],
2251 .cbi-value-field .cbi-input-select {
2255 .cbi-value-field .cbi-dropdown {
2260 @media screen and (min-width: 1280px) {
2261 .cbi-value input[type="password"],
2262 .cbi-value input[type="text"],
2263 .cbi-value-field .cbi-input-select {
2267 .cbi-value-field .cbi-dropdown {
2272 @media screen and (min-width: 1600px) {
2273 .cbi-value input[type="password"],
2274 .cbi-value input[type="text"],
2275 .cbi-value-field .cbi-input-select {
2279 .cbi-value-field .cbi-dropdown {