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 * Pure CSS ripple effect:
19 * https://github.com/mladenplavsic/css-ripple-effect
21 * Licensed to the public under the Apache License 2.0
27 @import url("custom.css");
30 * Font generate by Icomoon<icomoon.io>
33 font-family: "icomoon";
36 src: url("fonts/font.eot");
37 src: url("fonts/font.eot") format("embedded-opentype"),
38 url("fonts/font.ttf") format("truetype"),
39 url("fonts/font.woff") format("woff"),
40 url("fonts/font.svg") format("svg");
46 background: transparent;
49 ::-webkit-scrollbar-thumb {
53 ::-webkit-scrollbar-thumb:hover {
57 ::-webkit-scrollbar-thumb:active {
70 display: table-header-group;
74 display: table-row-group;
78 display: table-footer-group;
87 vertical-align: middle;
98 .tr.placeholder > .td {
104 text-align: center !important;
118 .table[width="100%"],
125 flex: 1 1 30px !important;
129 flex: 2 2 60px !important;
133 flex: 3 3 90px !important;
137 flex: 4 4 120px !important;
141 flex: 5 5 150px !important;
145 flex: 6 6 180px !important;
149 flex: 7 7 210px !important;
153 flex: 8 8 240px !important;
157 flex: 9 9 270px !important;
161 flex: 10 10 300px !important;
168 font-family: "icomoon" !important;
171 font-variant: normal;
173 text-transform: none;
174 -webkit-font-smoothing: antialiased;
179 box-sizing: border-box;
196 font-family: inherit;
198 line-height: 1.1 !important;
204 -webkit-text-size-adjust: 100%;
205 -ms-text-size-adjust: 100%;
210 background-color: #eee;
215 font-family: "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB";
216 font-family: var(--font-body);
223 padding: .36rem .8rem;
225 border: thin solid #ccc;
226 background-color: #fff;
227 background-image: none;
237 color: rgba(0, 0, 0, .87);
239 border-bottom: 2px solid rgba(0, 0, 0, .26);
242 background-color: transparent;
243 background-image: none;
252 select:not([multiple="multiple"]):focus,
253 input:not(.cbi-button):focus,
255 .cbi-dynlist > .item:focus {
257 border-color: var(--main-color);
260 select[multiple="multiple"] {
270 font-size-adjust: .35;
273 border: thin solid #999;
280 text-decoration: underline;
301 transition: box-shadow .2s;
302 box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
312 text-shadow: 0 0 2px #bbb;
316 text-decoration: none;
326 height: calc(100% - 4rem);
336 pointer-events: none;
337 background-color: rgb(240, 240, 240);
340 .main > .loading > span {
341 font-family: monospace;
343 font-size-adjust: .35;
351 .main > .loading > span > .loading-img:before {
355 .main > .loading > span > .loading-img {
356 font-family: "icomoon" !important;
358 font-size-adjust: .6;
359 display: inline-block;
361 animation: anim-rotate 2s infinite linear;
364 @keyframes anim-rotate {
366 -webkit-transform: rotate(0);
367 -ms-transform: rotate(0);
368 transform: rotate(0);
371 -webkit-transform: rotate(360deg);
372 -ms-transform: rotate(360deg);
373 transform: rotate(360deg);
383 width: calc(0% + 15rem);
385 height: calc(100% - 4rem);
386 background-color: #fff;
387 background-color: var(--menu-bg-color);
393 width: calc(100% - 15rem);
395 background-color: #eee;
398 .main-right > #maincontent {
399 background-color: #eee;
414 [disabled="disabled"] {
415 pointer-events: none;
420 color: var(--header-color);
422 background: var(--header-bg);
425 header > .fill > .container {
427 padding: .5rem 1rem 0 1rem;
431 header > .fill > .container > img {
432 width: calc(0% + 10rem);
433 margin: -.1rem 3.5rem 0 1.5rem;
434 pointer-events: none;
437 body:not(.logged-in) > header > .fill > .container > img {
441 header > .fill > .container > .brand {
445 vertical-align: text-bottom;
446 text-decoration: none;
448 color: var(--header-color);
451 header > .fill > .container > .status {
458 header > .fill > .container > .status > * {
471 background-color: #ff7d60 !important;
475 background-color: #f0e68c !important;
479 background-color: #5cb85c !important;
483 background-color: #5bc0de !important;
496 border-radius: 0 !important;
497 background-color: #fff;
498 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
499 text-shadow: 1px 1px rgba(0, 0, 0, .1);
502 .alert-message > h4 {
511 .alert-message .btn {
512 padding: .3rem .6rem;
516 .container .alert-message {
520 .main > .main-left > .nav {
524 .main > .main-left > .nav > li {
529 .main > .main-left > .nav > li:nth-last-child(1) {
535 .main > .main-left > .nav > li a {
538 color: var(--menu-color);
541 .main > .main-left > .nav > .slide {
545 .main > .main-left > .nav > .slide > ul {
549 .main > .main-left > .nav > .slide > .menu::before {
554 transform: scale(1.3, .75);
557 .main > .main-left > .nav > .slide > .menu.active::before {
561 .main > .main-left[style$="overflow: hidden;"] > .nav > .slide > .menu::before {
565 .main > .main-left > .nav > .slide > .menu {
570 text-decoration: none;
574 .main > .main-left > .nav > li:hover,
575 .main > .main-left > .nav > .slide > .menu:hover {
577 background: var(--submenu-bg-hover);
580 .main > .main-left > .nav > .slide:hover {
584 .main > .main-left > .nav > .slide > .slide-menu > li {
588 .main > .main-left > .nav > .slide > .slide-menu > .active {
589 background-color: #09c;
590 background-color: var(--submenu-bg-hover-active);
593 .main > .main-left > .nav > .slide > .slide-menu > li > a {
595 text-decoration: none;
598 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
602 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
604 background: var(--submenu-bg-hover);
607 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
609 color: var(--menu-color-hover);
612 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
614 background-color: #09c;
615 background-color: var(--main-color);
619 .main > .main-left > .nav > .slide > .menu,
620 .main > .main-left > .nav > .slide > .slide-menu > li {
623 transform: translate3d(0, 0, 0);
626 .main > .main-left > .nav > .slide > .menu:after,
627 .main > .main-left > .nav > .slide > .slide-menu > li:after {
635 transition: transform .5s, opacity 1s;
636 transform: scale(10, 10);
637 pointer-events: none;
639 background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
640 background-repeat: no-repeat;
641 background-position: 50%;
644 .main > .main-left > .nav > .slide > .menu:active:after,
645 .main > .main-left > .nav > .slide > .slide-menu > li:active:after {
647 transform: scale(0, 0);
651 #maincontent > .container {
652 margin: 0 2rem 1rem 2rem;
655 .Processes #maincontent > .container {
664 list-style-type: none;
669 padding-bottom: 10px;
670 border-bottom: thin solid #eee;
676 padding-bottom: 10px;
677 border-bottom: thin solid #eee;
683 padding-bottom: 10px;
689 padding-bottom: 10px;
695 padding-bottom: 10px;
700 #cbi-network > .cbi-section-node,
701 #cbi-wireless > .cbi-section-node,
702 #cbi-wireless > #wifi_assoclist_table,
703 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
704 [data-page="admin-system-opkg"] #maincontent > .container {
705 font-family: inherit;
714 background-color: #fff;
715 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
718 .cbi-map-descr + fieldset {
722 .cbi-section > legend {
723 display: none !important;
727 .cbi-section > .cbi-section {
734 .cbi-section > h3:first-child,
741 margin-bottom: .5rem;
742 padding-bottom: 1rem;
744 border-bottom: thin solid #eee;
749 border-collapse: collapse;
756 box-shadow: 0 0 0 1px #ddd;
759 table > tbody > tr > td,
760 table > tbody > tr > th,
761 table > tfoot > tr > td,
762 table > tfoot > tr > th,
763 table > thead > tr > td,
764 table > thead > tr > th,
765 .table > .tbody > .tr > .td,
766 .table > .tbody > .tr > .th,
767 .table > .tfoot > .tr > .td,
768 .table > .tfoot > .tr > .th,
769 .table > .thead > .tr > .td,
770 .table > .thead > .tr > .th,
771 .table > .tr > .td.cbi-value-field,
772 .table > .tr > .th.cbi-section-table-cell {
776 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
780 .cbi-section-table-cell {
782 align-self: flex-end;
790 .cbi-section-table-row::before,
791 #cbi-wireless > #wifi_assoclist_table > .tr:nth-child(2) {
792 border-top: thin solid #ddd;
796 .tr:first-child > .td,
798 #cbi-network .tr:first-child > .td,
799 .table[width="100%"] > .tr:first-child > .td,
800 [data-page="admin-network-diagnostics"] .tr > .td,
801 .tr.table-titles > .th,
802 .tr.cbi-section-table-titles > .th {
803 border-top: 0 !important;
806 .cbi-section-table-row {
808 text-align: center !important;
812 .cbi-section-table-row:last-child {
816 .cbi-section-table-row > .cbi-value-field .cbi-input-select,
817 .cbi-section-table-row > .cbi-value-field .cbi-input-text,
818 .cbi-section-table-row > .cbi-value-field .cbi-input-password,
819 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
823 .cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
824 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
825 width: calc(100% - 1.5rem);
828 .cbi-section-table-row .td {
829 text-align: center !important;
832 div > table > tbody > tr:nth-of-type(2n),
833 div > .table > .tr:nth-of-type(2n) {
834 background-color: #f9f9f9;
837 /* fix multiple table */
843 .cbi-value-field table,
844 .cbi-value-field .table {
848 td > table > tbody > tr > td,
849 .td > .table > .tbody > .tr > .td {
853 .cbi-value-field > table > tbody > tr > td,
854 .cbi-value-field > .table > .tbody > .tr > .td {
863 display: inline-block;
864 width: auto !important;
867 -webkit-user-select: none;
868 -moz-user-select: none;
869 -ms-user-select: none;
871 transition: all .2s ease-in-out;
873 vertical-align: middle;
875 text-decoration: none;
876 text-transform: uppercase;
877 color: rgba(0, 0, 0, .87);
879 border-radius: .2rem;
880 background-color: #f0f0f0;
881 background-image: none;
882 -webkit-appearance: none;
883 -ms-touch-action: manipulation;
884 touch-action: manipulation;
887 .cbi-button:not(select) {
888 -webkit-appearance: none !important;
891 form[method="post"] + form[method="post"],
892 .cbi-button + .cbi-button {
905 .cbi-page-actions .cbi-button-apply + .cbi-button-save:hover,
906 .cbi-page-actions .cbi-button-apply + .cbi-button-save:focus,
907 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
908 text-decoration: none;
916 box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
921 box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
925 .cbi-button:disabled {
927 pointer-events: none;
933 .alert-message [class="btn"],
934 .modal div[class="btn"],
940 .cbi-button[name="zero"],
941 .cbi-button[name="restart"],
942 .cbi-button[onclick="hide_empty(this)"] {
944 border: thin solid #bfbfbf;
945 background-color: #d4d4d4;
950 .cbi-page-actions .cbi-button-save,
951 .cbi-page-actions .cbi-button-apply + .cbi-button-save,
954 .cbi-button-positive,
956 .cbi-button[value="Enable"],
957 .cbi-button[value="Scan"],
958 .cbi-button[value^="Back"],
959 .cbi-button-neutral[onclick="handleConfig(event)"] {
962 border: thin solid #2e6da4;
963 background-color: #337ab7;
967 .cbi-page-actions .cbi-button-apply,
968 .cbi-section-actions .cbi-button-edit,
973 .cbi-button[value="Submit"],
974 .cbi-button[value$="Apply"],
975 .cbi-button[onclick="addKey(event)"] {
978 border: thin solid #46b8da;
979 background-color: #5bc0de;
984 .cbi-section-remove > .cbi-button,
987 .cbi-button-negative,
988 .cbi-button[value="Stop"],
989 .cbi-button[value="Kill"],
990 .cbi-button[onclick="reboot(this)"],
991 .cbi-button-neutral[value="Restart"] {
994 border: thin solid #d43f3a;
995 background-color: #d9534f;
999 .btn[value="Dismiss"],
1000 .cbi-button[value="Terminate"],
1001 .cbi-button[value="Reset"],
1002 .cbi-button[value="Disabled"],
1003 .cbi-button[onclick^="iface_reconnect"],
1004 .cbi-button[onclick="handleReset(event)"],
1005 .cbi-button-neutral[value="Disable"] {
1006 font-weight: normal;
1008 border: thin solid #eea236;
1009 background-color: #f0ad4e;
1013 .cbi-button-success,
1014 .cbi-button-download,
1015 .cbi-button[name="backup"],
1016 .cbi-button[value="Upload"],
1017 .cbi-button[value="Save mtdblock"] {
1018 font-weight: normal;
1020 border: thin solid #4cae4c;
1021 background-color: #5cb85c;
1024 .cbi-page-actions .cbi-button-link:first-child {
1029 text-decoration: none;
1032 .cbi-value-field .cbi-button-add {
1037 .cbi-value-field .cbi-button-neutral {
1044 padding-left: .5rem;
1045 background-color: #fff;
1050 display: inline-block;
1054 .cbi-tabmenu > li > a,
1056 padding: .5rem .8rem;
1057 text-decoration: none;
1061 .tabs > li[class~="active"],
1063 margin-bottom: -.18751rem;
1066 color: var(--main-color);
1067 border-bottom: #09c;
1068 border-bottom: .2rem solid var(--main-color);
1071 .tabs > li[class~="active"] > a {
1073 color: var(--main-color);
1077 border-bottom: .18751rem solid #c9c9c9;
1081 border: thin solid #d4d4d4;
1085 .cbi-tabmenu > li:hover {
1086 background-color: #f1f1f1;
1089 .cbi-tabmenu > li[class~="cbi-tab"] {
1090 background-color: #fff;
1094 background-color: #d4d4d4;
1097 .cbi-section .cbi-section-remove:nth-of-type(2n),
1098 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1099 background-color: #f9f9f9;
1102 .cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
1103 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1104 background-color: #f9f9f9;
1107 .cbi-section-node-tabbed {
1110 border: thin solid #d4d4d4;
1114 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1115 background-color: #f9f9f9;
1119 .cbi-value-description {
1121 display: table-cell;
1124 .cbi-input-invalid {
1129 .cbi-section-error {
1131 line-height: 1.42857143;
1134 border: thin solid #f00;
1136 background-color: #fce6e6;
1139 .cbi-section-error ul {
1143 .cbi-section-error ul li {
1148 .cbi-value-helpicon > img {
1152 .cbi-value-helpicon:before {
1156 .cbi-value-description {
1158 padding: .5rem 0 0 0;
1163 display: table-cell;
1167 padding-right: 2rem;
1169 word-wrap: break-word;
1173 display: inline-block;
1175 padding: .3rem 1rem;
1182 .td[data-title]::before {
1186 content: attr(data-title) ":\20";
1188 white-space: nowrap;
1191 .tr.placeholder .td[data-title]::before {
1195 .tr[data-title]::before,
1196 .tr.cbi-section-table-titles.named::before {
1198 display: table-cell;
1202 content: attr(data-title) "\20";
1204 vertical-align: middle;
1205 white-space: normal;
1206 word-wrap: break-word;
1210 background-color: #f9f9f9;
1214 background-color: #eee;
1217 .cbi-rowstyle-2 .cbi-button-up,
1218 .cbi-rowstyle-2 .cbi-button-down,
1219 .cbi-rowstyle-2:first-child {
1220 background-color: #fff !important;
1223 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1224 width: auto !important;
1227 .td.cbi-section-actions {
1228 text-align: right !important;
1229 vertical-align: middle;
1232 .td.cbi-section-actions > * {
1233 display: inline-flex;
1236 .td.cbi-section-actions > * > *,
1237 .td.cbi-section-actions > * > form > * {
1241 .td.cbi-section-actions > * > form {
1242 display: inline-flex;
1250 line-height: 1.42857143;
1257 flex-direction: column;
1261 .cbi-dynlist > .item {
1264 margin: 0 2em 4px 0;
1267 pointer-events: none;
1269 border-bottom: 2px solid rgba(0, 0, 0, .26);
1272 .cbi-dynlist[name="sshkeys"] > .item {
1276 .cbi-dynlist > .item::after {
1281 display: inline-flex;
1285 pointer-events: auto;
1287 border: thin solid #d43f3a;
1288 background-color: #d9534f;
1291 .cbi-dynlist > .item > span {
1292 white-space: normal;
1293 word-break: break-word;
1299 display: inline-flex;
1305 .cbi-dropdown > ul {
1310 margin: 0 !important;
1315 .cbi-dropdown > ul.preview {
1319 .cbi-dropdown > .open {
1323 .cbi-dropdown > .open,
1324 .cbi-dropdown > .more {
1329 flex-direction: column;
1332 justify-content: center;
1337 .cbi-dropdown > .more,
1338 .cbi-dropdown > ul > li[placeholder] {
1342 text-shadow: 1px 1px 0 #fff;
1345 .cbi-dropdown > ul > li {
1348 align-items: center;
1354 white-space: nowrap;
1355 text-overflow: ellipsis;
1358 .cbi-dropdown > ul > li .hide-open {
1362 .cbi-dropdown > ul > li .hide-close {
1366 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1367 border-left: thin solid #ccc;
1370 .cbi-dropdown[empty] > ul {
1374 .cbi-dropdown > ul > li > form {
1378 pointer-events: none;
1381 .cbi-dropdown > ul > li img {
1382 margin-right: .25em;
1383 vertical-align: middle;
1386 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1391 .cbi-dropdown > ul > li input[type="text"] {
1395 .cbi-dropdown[open] {
1399 .cbi-dropdown[open] > ul.dropdown {
1406 max-height: 200px !important;
1407 border: thin solid #918e8c;
1408 background: #f6f6f6;
1409 box-shadow: 0 0 4px #918e8c;
1412 .cbi-dropdown > ul > li[display],
1413 .cbi-dropdown[open] > ul.preview,
1414 .cbi-dropdown[open] > ul.dropdown > li,
1415 .cbi-dropdown[multiple] > ul > li > label,
1416 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1417 .cbi-dropdown[multiple][more] > .more,
1418 .cbi-dropdown[multiple][empty] > .more {
1420 align-items: center;
1424 .cbi-dropdown[empty] > ul > li,
1425 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1426 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1430 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1434 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1438 .cbi-dropdown[open] > ul.dropdown > li {
1439 border-bottom: thin solid #ccc;
1442 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1443 background: #b0d0f0;
1446 .cbi-dropdown[open] > ul.dropdown > li.focus {
1447 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1450 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1455 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1459 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1463 .cbi-dropdown[disabled] {
1464 pointer-events: none;
1468 .cbi-dropdown .zonebadge {
1472 .cbi-dropdown[open] .zonebadge {
1484 transition: opacity .125s ease-in;
1486 background: rgba(0, 0, 0, .7);
1487 -webkit-overflow-scrolling: touch;
1492 align-items: center;
1501 border-radius: 3px !important;
1503 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1507 line-height: normal;
1514 font-size-adjust: .35;
1516 margin-bottom: .5em;
1518 white-space: pre-wrap;
1521 background-color: #101010;
1522 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1534 list-style-type: square;
1539 padding-left: .25rem;
1540 word-break: break-word;
1545 font-weight: normal;
1546 padding: .1rem .3rem;
1552 .modal .label.warning {
1553 background-color: #f0ad4e !important;
1557 padding: .3rem .6rem;
1564 body.modal-overlay-active {
1569 body.modal-overlay-active #modal_overlay {
1577 padding-left: 32px !important;
1587 background: url(../resources/icons/loading.gif) no-repeat center;
1588 background-size: 16px;
1598 text-align: left !important;
1603 text-align: right !important;
1608 text-align: center !important;
1612 align-self: flex-start !important;
1613 vertical-align: top !important;
1617 align-self: flex-end !important;
1618 vertical-align: bottom !important;
1630 .cbi-page-actions > form[method="post"] {
1631 display: inline-block;
1635 .cbi-value input[type="password"],
1636 .cbi-value input[type="text"] {
1641 .cbi-value-field .cbi-dropdown,
1642 .cbi-value-field .cbi-input-select {
1646 .cbi-value-field .cbi-input-invalid {
1648 border-bottom-color: #f00;
1657 border: thin solid #999;
1661 .cbi-progressbar > div {
1664 transition: width .25s ease-in;
1665 background: #5bc0de;
1666 background: var(--bar-bg);
1669 .cbi-progressbar::after {
1670 font-family: monospace;
1673 font-size-adjust: .38;
1674 line-height: normal;
1681 content: attr(title);
1684 text-overflow: ellipsis;
1685 text-shadow: 0 0 2px #eee;
1688 .th[data-type="button"],
1689 .td[data-type="button"],
1690 .th[data-type="fvalue"],
1691 .td[data-type="fvalue"] {
1697 display: inline-flex;
1698 padding: .5rem .8rem;
1699 border-bottom: thin solid #ccc;
1701 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
1707 background-color: #f0f0f0;
1712 display: inline-block;
1713 align-self: flex-start;
1717 .ifacebadge > img + img {
1718 margin: 0 .2rem 0 0;
1721 .network-status-table {
1726 .network-status-table .ifacebox {
1731 .network-status-table .ifacebox-body {
1733 flex-direction: column;
1737 .network-status-table .ifacebox-body > span {
1741 .network-status-table .ifacebox-body > div {
1746 .network-status-table .ifacebox-body .ifacebadge {
1747 align-items: center;
1750 margin: .5em .25em 0 .25em;
1752 background-color: #fff;
1756 .cbi-input-textarea {
1757 font-family: monospace;
1768 margin-bottom: 20px;
1774 background-color: #101010;
1775 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1782 /* config changes */
1784 font-family: monospace;
1787 .uci-change-list ins,
1788 .uci-change-legend-label ins {
1791 text-decoration: none;
1792 border: thin solid #0f0;
1793 background-color: #cfc;
1796 .uci-change-list del,
1797 .uci-change-legend-label del {
1801 text-decoration: none;
1802 border: thin solid #f00;
1803 background-color: #fcc;
1806 .uci-change-list var,
1807 .uci-change-legend-label var {
1811 text-decoration: none;
1812 border: thin solid #ccc;
1813 background-color: #eee;
1816 .uci-change-list var ins,
1817 .uci-change-list var del {
1824 .uci-change-legend {
1828 .uci-change-legend-label {
1833 .uci-change-legend-label > ins,
1834 .uci-change-legend-label > del,
1835 .uci-change-legend-label > var {
1843 .uci-change-legend-label var ins,
1844 .uci-change-legend-label var del {
1849 .uci-change-list var,
1850 .uci-change-list del,
1851 .uci-change-list ins {
1859 border: thin solid #d4d4d4 !important;
1863 [data-page="admin-status-realtime-bandwidth"] #bwsvg {
1864 border-top: 0 !important;
1869 display: inline-flex;
1870 flex-direction: column;
1872 border-bottom: thin solid #ccc;
1873 background-color: #f9f9f9;
1874 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2);
1882 .ifacebox-head.active {
1883 background: #5bc0de;
1884 background: var(--bar-bg);
1896 display: inline-block;
1897 padding: .2rem .5rem;
1900 .zonebadge .ifacebadge {
1901 margin: .1rem .2rem;
1902 padding: .2rem .3rem;
1903 border: thin solid #6c6c6c;
1906 .zonebadge > input[type="text"] {
1909 padding: .16rem 1rem;
1913 .zonebadge > strong {
1914 display: inline-block;
1918 .cbi-value-field .cbi-input-checkbox,
1919 .cbi-value-field .cbi-input-radio {
1923 .cbi-value-field > ul > li {
1927 .cbi-value-field > ul > li > label {
1931 .cbi-value-field > ul > li .ifacebadge {
1934 background-color: #eee;
1937 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1941 .cbi-section-create {
1942 display: inline-flex;
1943 align-items: center;
1947 .cbi-section-create > * {
1951 .cbi-section-remove {
1956 td.cbi-value-field var,
1957 .td.cbi-value-field var {
1964 line-height: 1.42857143;
1965 white-space: normal;
1971 display: inline-block;
1973 padding: .2rem .3rem;
1977 padding: 1rem 1rem 0 1rem;
1978 border-top: thin solid #ccc;
1981 .cbi-dropdown-container {
1985 .cbi-tooltip-container,
1987 span[data-tooltip] .label {
1988 cursor: help !important;
1996 transition: opacity .25s ease-out;
1998 pointer-events: none;
2002 box-shadow: 0 0 2px #444;
2005 .cbi-tooltip-container:hover .cbi-tooltip {
2007 transition: opacity .25s ease-in;
2011 .zonebadge .cbi-tooltip {
2012 margin: -1.5rem 0 0 -.5rem;
2014 background: inherit;
2019 background: repeating-linear-gradient(45deg, rgba(204, 204, 204, .5), rgba(204, 204, 204, .5) 5px, rgba(255, 255, 255, .5) 5px, rgba(255, 255, 255, .5) 10px);
2027 .zone-forwards > * {
2031 .zone-forwards > span {
2037 .zone-forwards .zone-src,
2038 .zone-forwards .zone-dest {
2040 flex-direction: column;
2046 padding: .3rem .8rem;
2047 white-space: nowrap;
2048 text-decoration: none;
2049 text-transform: uppercase;
2050 color: #fff !important;
2051 -webkit-border-radius: 3px;
2052 -moz-border-radius: 3px;
2054 background-color: #bfbfbf;
2058 label > input[type="checkbox"],
2059 label > input[type="radio"] {
2064 vertical-align: bottom;
2078 background-color: rgba(0, 0, 0, .56);
2082 #diag-rc-output > pre,
2083 #command-rc-output > pre {
2085 font-size-adjust: .35;
2086 line-height: normal;
2092 background-color: #101010;
2093 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2096 [data-page="admin-network-diagnostics"] .table {
2101 input[name="traceroute"],
2102 input[name="nslookup"] {
2106 /* fix Main Login */
2107 .node-main-login > .main > .main-left {
2111 .node-main-login > .main > .main-right {
2115 .node-main-login > .main fieldset {
2118 margin-bottom: 1rem;
2125 .node-main-login > .main .cbi-value-title {
2129 .node-main-login > .main #maincontent {
2133 .node-main-login > .main .container {
2134 display: inline-block;
2135 margin-top: 2rem !important;
2136 padding: 1rem 3.5rem 2rem;
2138 background-color: #fff;
2139 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2142 .node-main-login > .main form > div:nth-last-child(1) {
2146 .node-main-login > .main .cbi-value {
2150 .node-main-login > .main .cbi-value > * {
2151 display: inline-block !important;
2154 .node-main-login > .main .cbi-input-text {
2158 .node-main-login .cbi-section {
2162 @media screen and (min-height: 585px) {
2163 .node-main-login footer {
2170 /* fix status overview */
2171 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2172 white-space: normal;
2175 /* fix status processes */
2176 .node-status-processes > .main .table .tr .td:nth-child(3) {
2177 white-space: normal;
2180 .node-admin-status form {
2181 margin: 2rem 2rem 0 0;
2184 /* fix system reboot */
2185 [data-page="admin-system-reboot"] p {
2189 [data-page="admin-system-reboot"] p > span {
2196 #cbi-samba .cbi-value-last .cbi-value-field {
2200 #cbi-samba .cbi-value-last .cbi-value-title {
2202 padding-bottom: .6rem;
2206 .controls > * > .btn:not([aria-label$="page"]) {
2207 flex-grow: initial !important;
2211 .controls > #pager > .btn[aria-label$="page"] {
2216 .controls > * > label {
2217 margin-bottom: .2rem;
2220 [data-page="admin-system-opkg"] div.btn {
2223 padding: .3rem .6rem;
2226 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
2227 [data-page="admin-system-opkg"] #maincontent > .container {
2232 [data-page="admin-system-opkg"] #maincontent > .container {
2234 margin-bottom: 1rem;
2239 white-space: normal !important;
2240 word-break: break-word;
2243 .cbi-tabmenu + .cbi-section {
2247 /* wireless overview */
2248 #cbi-wireless > #wifi_assoclist_table > .tr {
2249 box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd;
2252 #cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td {
2256 border-top: thin solid #ddd !important;
2259 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles {
2260 box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd;
2263 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th {
2264 border-bottom: thin solid #ddd;
2265 box-shadow: 0 -1px 0 0 #ddd;
2268 #wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] {
2274 font-family: inherit;
2275 font-weight: normal;
2283 background-color: #fff;
2286 #cbi-firewall-redirect table *,
2287 #cbi-network-switch_vlan table *,
2288 #cbi-firewall-zone table * {
2292 #cbi-firewall-redirect table input[type="text"],
2293 #cbi-network-switch_vlan table input[type="text"],
2294 #cbi-firewall-zone table input[type="text"] {
2298 #cbi-firewall-redirect table select,
2299 #cbi-network-switch_vlan table select,
2300 #cbi-firewall-zone table select {
2304 #cbi-network-switch_vlan .th,
2305 #cbi-network-switch_vlan .td {
2309 #cbi-firewall-zone .table,
2310 #cbi-network-switch_vlan .table {
2314 #cbi-firewall-zone .td.cbi-section-actions {
2318 /* applyreboot fix */
2319 #applyreboot-container {
2323 #applyreboot-section {
2328 /* openvpn bug fix */
2330 line-height: initial !important;
2333 /* custom commands */
2335 width: 24% !important;
2336 padding: .5rem 1rem;
2337 border-bottom: thin solid #ccc;
2339 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
2343 line-height: normal !important;
2345 margin: 6px 0 !important;
2346 white-space: nowrap;
2347 text-overflow: ellipsis;
2351 left: auto !important;
2363 text-overflow: ellipsis;
2366 .commandbox p:first-of-type {
2370 .commandbox p:nth-of-type(2) {
2374 [data-page^="admin-system-commands"] .panel-title,
2375 [data-page^="command-cfg"] .mobile-hide,
2376 [data-page^="command-cfg"] header > .fill > .container > img {
2380 #command-rc-output .alert-message {
2381 line-height: 1.42857143;
2387 animation: anim-fade-in 1.5s forwards;
2391 @keyframes anim-fade-in {
2397 @media screen and (max-width: 1600px) {
2398 header > .fill > .container > img {
2399 margin: -.1rem 2.5rem 0 .5rem;
2403 width: calc(0% + 13rem);
2407 width: calc(100% - 13rem);
2410 .cbi-dynlist > .item {
2417 padding: .3rem .6rem;
2421 padding: .2rem .6rem;
2426 padding-right: .6rem;
2434 .cbi-input-textarea {
2438 .node-admin-status > .main fieldset li > a {
2439 padding: .3rem .6rem;
2442 #cbi-firewall-zone > .table {
2447 @media screen and (max-width: 1366px) {
2452 header > .fill > .container {
2459 height: calc(100% - 3.5rem);
2464 width: calc(0% + 13rem);
2465 height: calc(100% - 3.5rem);
2469 width: calc(100% - 13rem);
2472 .cbi-dynlist > .item {
2476 .cbi-tabmenu > li > a,
2478 padding: .2rem .5rem;
2483 padding-bottom: 1rem;
2487 font-size: .7rem !important;
2488 width: 100% !important;
2491 .table .cbi-input-text {
2495 .main > .main-left > .nav > li,
2496 .main > .main-left > .nav > li a,
2497 .main > .main-left > .nav > .slide > .menu {
2501 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2509 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) {
2513 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table),
2514 [data-page="admin-network-firewall-rules"] .table:not(.cbi-section-table),
2515 [data-page="admin-network-hosts"] .table {
2516 overflow-y: visible;
2520 width: 32% !important;
2524 @media screen and (max-width: 1152px) {
2525 header > .fill > .container > img {
2529 header > .fill > .container > .brand {
2533 [data-page^="command-cfg"] header > .fill > .container > .brand {
2535 margin-top: -1.75rem;
2540 overflow-y: visible;
2553 .cbi-dynlist > .item {
2558 display: inline-block;
2560 margin-right: .5rem;
2571 body:not(.logged-in) .showSide {
2578 .node-main-login > .main .cbi-value-title {
2584 padding-right: 1rem;
2587 #diag-rc-output > pre,
2588 #command-rc-output > pre {
2602 flex-direction: row;
2606 .Overview .table[width="100%"] > .tr {
2611 border-bottom: thin solid #ddd;
2614 .tr.placeholder > .td,
2615 #cbi-firewall .tr > .td,
2616 #iptables .tr:nth-child(2) > .td,
2617 #cbi-network .tr:nth-child(2) > .td,
2618 .cbi-section #wifi_assoclist_table .tr > .td {
2624 display: inline-block;
2625 align-self: flex-start;
2627 text-overflow: ellipsis;
2628 word-wrap: break-word;
2632 .td input[type="text"] {
2637 .td [data-dynlist] > input,
2638 .td input.cbi-input-password {
2639 width: calc(100% - 1.5rem);
2642 .td[data-type="button"],
2643 .td[data-type="fvalue"] {
2648 .th.cbi-value-field,
2649 .td.cbi-value-field,
2650 .th.cbi-section-table-cell,
2651 .td.cbi-section-table-cell {
2656 .cbi-section-table-row {
2658 flex-direction: row;
2660 justify-content: space-between;
2661 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2664 .td.cbi-value-field,
2665 .cbi-section-table-cell {
2666 display: inline-block;
2672 .td.cbi-section-actions {
2673 vertical-align: bottom;
2677 .tr.cbi-section-table-titles,
2678 .tr.cbi-section-table-descr {
2682 .tr[data-title]::before,
2683 .tr.cbi-section-table-titles.named::before {
2687 border-bottom: thin solid rgba(0, 0, 0, .26);
2688 background: #90c0e0;
2692 [data-page^="admin-status-realtime"] .td[id] {
2696 .td[data-title]::before {
2700 .cbi-button + .cbi-button {
2704 .td.cbi-section-actions > * > *,
2705 .td.cbi-section-actions > * > form > * {
2710 font-family: inherit;
2711 font-weight: normal;
2713 line-height: normal;
2714 position: static !important;
2720 background-color: #fff;
2721 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2724 .Firewall form input {
2725 width: 100% !important;
2731 .Firewall .center::before {
2732 text-align: left !important;
2736 width: 100% !important;
2740 @media screen and (max-width: 600px) {
2745 .cbi-progressbar::after {
2760 #maincontent > .container {
2761 margin: 0 1rem 1.5rem 1rem;
2764 .main > .main-left > .nav > .slide > .menu {
2768 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2775 min-width: 0 !important;
2777 margin-bottom: .5rem;
2782 .cbi-value-description {
2786 .cbi-value > .cbi-value-field {
2787 display: inline-block;
2795 .cbi-tabmenu > li > a,
2798 padding: .2rem .3rem;
2801 .cbi-page-actions > div > input {
2805 .cbi-page-actions > .cbi-button {
2809 .node-main-login > .main .container {
2810 margin: 2rem 1.2rem 1.5rem 1.2rem !important;
2811 padding: .3rem 1.7rem 2rem 1.6rem;
2814 .node-main-login > .main .cbi-value {
2818 .node-main-login > .main form > div:nth-last-child(1) {
2822 .node-main-login > .main .cbi-value-title {
2824 width: 100% !important;
2827 .node-main-login > .main fieldset {
2832 .commandbox p:first-of-type {
2836 #diag-rc-output > pre,
2837 #command-rc-output > pre {
2864 padding-bottom: 1rem;
2867 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2868 width: 100% !important;
2871 .node-system-packages > .main .cbi-value .cbi-value-field input {
2880 .td.cbi-value-field {
2884 .td.cbi-value-field[data-type="button"],
2885 .td.cbi-value-field[data-type="fvalue"] {
2890 .tr[data-title]::before,
2891 .tr.cbi-section-table-titles.named::before {
2905 .hide-xs:not([data-title="MAC-Address"]) {
2910 @media screen and (min-width: 1152px) {
2911 .cbi-value input[type="password"],
2912 .cbi-value input[type="text"] {
2916 .cbi-value-field .cbi-input-select {
2920 .cbi-value-field .cbi-dropdown {
2924 .cbi-section-node .tr {
2929 @media screen and (min-width: 1366px) {
2930 .cbi-value input[type="password"],
2931 .cbi-value input[type="text"] {
2935 .cbi-value-field .cbi-input-select {
2939 .cbi-value-field .cbi-dropdown {
2944 @media screen and (min-width: 1600px) {
2945 .cbi-value input[type="password"],
2946 .cbi-value input[type="text"] {
2950 .cbi-value-field .cbi-input-select {
2954 .cbi-value-field .cbi-dropdown {