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");
52 display: table-header-group;
56 display: table-row-group;
60 display: table-footer-group;
69 vertical-align: middle;
80 .tr.placeholder > .td {
86 text-align: center !important;
100 .table[width="100%"],
107 flex: 1 1 30px !important;
111 flex: 2 2 60px !important;
115 flex: 3 3 90px !important;
119 flex: 4 4 120px !important;
123 flex: 5 5 150px !important;
127 flex: 6 6 180px !important;
131 flex: 7 7 210px !important;
135 flex: 8 8 240px !important;
139 flex: 9 9 270px !important;
143 flex: 10 10 300px !important;
150 font-family: "icomoon" !important;
153 font-variant: normal;
155 text-transform: none;
156 -webkit-font-smoothing: antialiased;
161 box-sizing: border-box;
178 font-family: inherit;
180 line-height: 1.1 !important;
186 -webkit-text-size-adjust: 100%;
187 -ms-text-size-adjust: 100%;
192 background-color: #eee;
197 font-family: "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB";
198 font-family: var(--font-body);
205 padding: .36rem .8rem;
207 border: thin solid #ccc;
208 background-color: #fff;
209 background-image: none;
219 color: rgba(0, 0, 0, .87);
221 border-bottom: 2px solid rgba(0, 0, 0, .26);
224 background-color: transparent;
225 background-image: none;
234 select:not([multiple="multiple"]):focus,
235 input:not(.cbi-button):focus,
237 .cbi-dynlist > .item:focus {
239 border-color: var(--main-color);
242 select[multiple="multiple"] {
252 font-size-adjust: .35;
261 text-decoration: underline;
282 transition: box-shadow .2s;
283 box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
293 text-shadow: 0 0 2px #bbb;
297 text-decoration: none;
307 height: calc(100% - 4rem);
317 pointer-events: none;
318 background-color: rgb(240, 240, 240);
321 .main > .loading > span {
322 font-family: monospace;
324 font-size-adjust: .35;
332 .main > .loading > span > .loading-img:before {
336 .main > .loading > span > .loading-img {
337 font-family: "icomoon" !important;
339 font-size-adjust: .6;
340 display: inline-block;
342 animation: anim-rotate 2s infinite linear;
345 @keyframes anim-rotate {
347 -webkit-transform: rotate(0);
348 -ms-transform: rotate(0);
349 transform: rotate(0);
352 -webkit-transform: rotate(360deg);
353 -ms-transform: rotate(360deg);
354 transform: rotate(360deg);
364 width: calc(0% + 15rem);
366 height: calc(100% - 4rem);
367 background-color: #fff;
368 background-color: var(--menu-bg-color);
374 width: calc(100% - 15rem);
376 background-color: #eee;
379 .main-right > #maincontent {
380 background-color: #eee;
395 [disabled="disabled"] {
396 pointer-events: none;
401 color: var(--header-color);
403 background: var(--header-bg);
406 header > .fill > .container {
408 padding: .5rem 1rem 0 1rem;
412 header > .fill > .container > #logo {
413 margin: 0 3.5rem 0 1.5rem;
416 header > .fill > .container > #logo > img {
417 width: calc(0% + 10rem);
421 body:not(.logged-in) > header > .fill > .container > #logo {
425 header > .fill > .container > .brand {
429 vertical-align: text-bottom;
430 text-decoration: none;
432 color: var(--header-color);
435 header > .fill > .container > .status {
442 header > .fill > .container > .status > * {
455 background-color: #ff7d60 !important;
459 background-color: #f0e68c !important;
463 background-color: #5cb85c !important;
467 background-color: #5bc0de !important;
480 border-radius: 0 !important;
481 background-color: #fff;
482 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
483 text-shadow: 1px 1px rgba(0, 0, 0, .1);
486 .alert-message > h4 {
495 .alert-message .btn {
496 padding: .3rem .6rem;
500 .container .alert-message {
504 .main > .main-left > .nav {
508 .main > .main-left > .nav > li {
513 .main > .main-left > .nav > li:nth-last-child(1) {
519 .main > .main-left > .nav > li a {
522 color: var(--menu-color);
525 .main > .main-left > .nav > .slide {
529 .main > .main-left > .nav > .slide > ul {
533 .main > .main-left > .nav > .slide > .menu::before {
540 background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMDAwIDEwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIGQ9Ik01MDAsNjI1LjJMNzUuMywyNTVMMTAsMzE0LjlMNTAwLDc0NWw0OTAtNDMwLjFMOTI0LjcsMjU1TDUwMCw2MjUuMnoiLz48L2c+PC9zdmc+);
541 background-repeat: no-repeat;
544 .main > .main-left > .nav > .slide > .menu.active::before {
545 transform: rotate(-180deg);
548 body[class*="node-"] > .main > .main-left > .nav > .slide > .menu::before {
549 transition: transform .1s ease-in-out;
552 body[class*="node-"] > .main > .main-left > .nav > .slide > .menu.active::before {
553 transition: transform .2s ease-in-out;
556 .main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before {
560 .main > .main-left > .nav > .slide > .menu {
565 text-decoration: none;
566 color: var(--menu-color);
569 .main > .main-left > .nav > li:hover,
570 .main > .main-left > .nav > .slide > .menu:hover {
572 background: var(--submenu-bg-hover);
575 .main > .main-left > .nav > .slide:hover {
579 .main > .main-left > .nav > .slide > .slide-menu > li {
583 .main > .main-left > .nav > .slide > .slide-menu > .active {
584 background-color: #09c;
585 background-color: var(--submenu-bg-hover-active);
588 .main > .main-left > .nav > .slide > .slide-menu > li > a {
590 text-decoration: none;
593 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
597 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
599 background: var(--submenu-bg-hover);
602 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
604 color: var(--menu-color-hover);
607 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
609 background-color: #09c;
610 background-color: var(--main-color);
614 .main > .main-left > .nav > .slide > .menu,
615 .main > .main-left > .nav > .slide > .slide-menu > li {
618 transform: translate3d(0, 0, 0);
621 .main > .main-left > .nav > .slide > .menu:after,
622 .main > .main-left > .nav > .slide > .slide-menu > li:after {
630 transition: transform .5s, opacity 1s;
631 transform: scale(10, 10);
632 pointer-events: none;
634 background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
635 background-repeat: no-repeat;
636 background-position: 50%;
639 .main > .main-left > .nav > .slide > .menu:active:after,
640 .main > .main-left > .nav > .slide > .slide-menu > li:active:after {
642 transform: scale(0, 0);
646 #maincontent > .container {
647 margin: 0 2rem 1rem 2rem;
650 .Processes #maincontent > .container {
659 list-style-type: none;
664 padding-bottom: 10px;
665 border-bottom: thin solid #eee;
671 padding-bottom: 10px;
672 border-bottom: thin solid #eee;
678 padding-bottom: 10px;
684 padding-bottom: 10px;
690 padding-bottom: 10px;
697 #cbi-network > .cbi-section-node,
698 #cbi-wireless > .cbi-section-node,
699 #cbi-wireless > #wifi_assoclist_table,
700 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
701 [data-page="admin-system-opkg"] #maincontent > .container {
702 font-family: inherit;
711 background-color: #fff;
712 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
715 .cbi-map-descr + fieldset {
719 .cbi-section > legend {
720 display: none !important;
724 .cbi-section > .cbi-section {
731 .cbi-section > h3:first-child,
738 margin-bottom: .5rem;
739 padding-bottom: 1rem;
741 border-bottom: thin solid #eee;
746 border-collapse: collapse;
753 box-shadow: 0 0 0 1px #ddd;
756 table > tbody > tr > td,
757 table > tbody > tr > th,
758 table > tfoot > tr > td,
759 table > tfoot > tr > th,
760 table > thead > tr > td,
761 table > thead > tr > th,
762 .table > .tbody > .tr > .td,
763 .table > .tbody > .tr > .th,
764 .table > .tfoot > .tr > .td,
765 .table > .tfoot > .tr > .th,
766 .table > .thead > .tr > .td,
767 .table > .thead > .tr > .th,
768 .table > .tr > .td.cbi-value-field,
769 .table > .tr > .th.cbi-section-table-cell {
773 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
777 .cbi-section-table-cell {
779 align-self: flex-end;
787 .cbi-section-table-row::before,
788 #cbi-wireless > #wifi_assoclist_table > .tr:nth-child(2) {
789 border-top: thin solid #ddd;
793 .tr:first-child > .td,
795 #cbi-network .tr:first-child > .td,
796 .table[width="100%"] > .tr:first-child > .td,
797 [data-page="admin-network-diagnostics"] .tr > .td,
798 .tr.table-titles > .th,
799 .tr.cbi-section-table-titles > .th {
800 border-top: 0 !important;
803 .cbi-section-table-row {
805 text-align: center !important;
809 .cbi-section-table-row:last-child {
813 .cbi-section-table-row > .cbi-value-field .cbi-input-select,
814 .cbi-section-table-row > .cbi-value-field .cbi-input-text,
815 .cbi-section-table-row > .cbi-value-field .cbi-input-password,
816 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
820 .cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
821 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
822 width: calc(100% - 1.5rem);
825 .cbi-section-table-row .td {
826 text-align: center !important;
829 div > table > tbody > tr:nth-of-type(2n),
830 div > .table > .tr:nth-of-type(2n) {
831 background-color: #f9f9f9;
834 /* fix multiple table */
840 .cbi-value-field table,
841 .cbi-value-field .table {
845 td > table > tbody > tr > td,
846 .td > .table > .tbody > .tr > .td {
850 .cbi-value-field > table > tbody > tr > td,
851 .cbi-value-field > .table > .tbody > .tr > .td {
860 display: inline-block;
861 width: auto !important;
864 -webkit-user-select: none;
865 -moz-user-select: none;
866 -ms-user-select: none;
868 transition: all .2s ease-in-out;
870 vertical-align: middle;
872 text-decoration: none;
873 text-transform: uppercase;
874 color: rgba(0, 0, 0, .87);
876 border-radius: .2rem;
877 background-color: #f0f0f0;
878 background-image: none;
879 -webkit-appearance: none;
880 -ms-touch-action: manipulation;
881 touch-action: manipulation;
884 .cbi-button:not(select) {
885 -webkit-appearance: none !important;
888 form[method="post"] + form[method="post"],
889 .cbi-button + .cbi-button {
902 .cbi-page-actions .cbi-button-apply + .cbi-button-save:hover,
903 .cbi-page-actions .cbi-button-apply + .cbi-button-save:focus,
904 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
905 text-decoration: none;
913 box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
918 box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
922 .cbi-button:disabled {
924 pointer-events: none;
930 .alert-message [class="btn"],
931 .modal div[class="btn"],
937 .cbi-button[name="zero"],
938 .cbi-button[name="restart"],
939 .cbi-button[onclick="hide_empty(this)"] {
941 border: thin solid #bfbfbf;
942 background-color: #d4d4d4;
947 .cbi-page-actions .cbi-button-save,
948 .cbi-page-actions .cbi-button-apply + .cbi-button-save,
951 .cbi-button-positive,
953 .cbi-button[value="Enable"],
954 .cbi-button[value="Scan"],
955 .cbi-button[value^="Back"],
956 .cbi-button-neutral[onclick="handleConfig(event)"] {
959 border: thin solid #2e6da4;
960 background-color: #337ab7;
964 .cbi-page-actions .cbi-button-apply,
965 .cbi-section-actions .cbi-button-edit,
970 .cbi-button[value="Submit"],
971 .cbi-button[value$="Apply"],
972 .cbi-button[onclick="addKey(event)"] {
975 border: thin solid #46b8da;
976 background-color: #5bc0de;
981 .cbi-section-remove > .cbi-button,
984 .cbi-button-negative,
985 .cbi-button[value="Stop"],
986 .cbi-button[value="Kill"],
987 .cbi-button[onclick="reboot(this)"],
988 .cbi-button-neutral[value="Restart"] {
991 border: thin solid #d43f3a;
992 background-color: #d9534f;
996 .btn[value="Dismiss"],
997 .cbi-button[value="Terminate"],
998 .cbi-button[value="Reset"],
999 .cbi-button[value="Disabled"],
1000 .cbi-button[onclick^="iface_reconnect"],
1001 .cbi-button[onclick="handleReset(event)"],
1002 .cbi-button-neutral[value="Disable"] {
1003 font-weight: normal;
1005 border: thin solid #eea236;
1006 background-color: #f0ad4e;
1010 .cbi-button-success,
1011 .cbi-button-download,
1012 .cbi-button[name="backup"],
1013 .cbi-button[value="Upload"],
1014 .cbi-button[value="Save mtdblock"] {
1015 font-weight: normal;
1017 border: thin solid #4cae4c;
1018 background-color: #5cb85c;
1021 .cbi-page-actions .cbi-button-link:first-child {
1026 text-decoration: none;
1029 .cbi-value-field .cbi-button-add {
1034 .cbi-value-field .cbi-button-neutral {
1041 padding-left: .5rem;
1042 background-color: #fff;
1047 display: inline-block;
1051 .cbi-tabmenu > li > a,
1053 padding: .5rem .8rem;
1054 text-decoration: none;
1058 .tabs > li[class~="active"],
1060 margin-bottom: -.18751rem;
1063 color: var(--main-color);
1064 border-bottom: #09c;
1065 border-bottom: .2rem solid var(--main-color);
1068 .tabs > li[class~="active"] > a {
1070 color: var(--main-color);
1074 border-bottom: .18751rem solid #c9c9c9;
1078 border: thin solid #d4d4d4;
1082 .cbi-tabmenu > li:hover {
1083 background-color: #f1f1f1;
1086 .cbi-tabmenu > li[class~="cbi-tab"] {
1087 background-color: #fff;
1091 background-color: #d4d4d4;
1094 .cbi-section .cbi-section-remove:nth-of-type(2n),
1095 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1096 background-color: #f9f9f9;
1105 [data-tab-active="true"] {
1109 transition: opacity .25s ease-in;
1112 .cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
1113 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1114 background-color: #f9f9f9;
1117 .cbi-section-node-tabbed {
1120 border: thin solid #d4d4d4;
1124 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1125 background-color: #f9f9f9;
1129 .cbi-value-description {
1131 display: table-cell;
1134 .cbi-input-invalid {
1139 .cbi-section-error {
1141 line-height: 1.42857143;
1144 border: thin solid #f00;
1146 background-color: #fce6e6;
1149 .cbi-section-error ul {
1153 .cbi-section-error ul li {
1158 .cbi-value-helpicon > img {
1162 .cbi-value-helpicon:before {
1166 .cbi-value-description {
1168 padding: .5rem 0 0 0;
1173 display: table-cell;
1177 padding-right: 2rem;
1179 word-wrap: break-word;
1183 display: inline-block;
1185 padding: .3rem 1rem;
1192 .td[data-title]::before {
1196 content: attr(data-title) ":\20";
1198 white-space: nowrap;
1201 .tr.placeholder .td[data-title]::before {
1205 .tr[data-title]::before,
1206 .tr.cbi-section-table-titles.named::before {
1208 display: table-cell;
1212 content: attr(data-title) "\20";
1214 vertical-align: middle;
1215 white-space: normal;
1216 word-wrap: break-word;
1220 background-color: #f9f9f9;
1224 background-color: #eee;
1227 .cbi-rowstyle-2 .cbi-button-up,
1228 .cbi-rowstyle-2 .cbi-button-down,
1229 .cbi-rowstyle-2:first-child {
1230 background-color: #fff !important;
1233 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1234 width: auto !important;
1237 .td.cbi-section-actions {
1238 text-align: right !important;
1239 vertical-align: middle;
1242 .td.cbi-section-actions > * {
1243 display: inline-flex;
1246 .td.cbi-section-actions > * > *,
1247 .td.cbi-section-actions > * > form > * {
1251 .td.cbi-section-actions > * > form {
1252 display: inline-flex;
1260 line-height: 1.42857143;
1267 flex-direction: column;
1271 .cbi-dynlist > .item {
1274 margin: 0 2em 4px 0;
1277 pointer-events: none;
1279 border-bottom: 2px solid rgba(0, 0, 0, .26);
1282 .cbi-dynlist[name="sshkeys"] > .item {
1286 .cbi-dynlist > .item::after {
1291 display: inline-flex;
1295 pointer-events: auto;
1297 border: thin solid #d43f3a;
1298 background-color: #d9534f;
1301 .cbi-dynlist > .item > span {
1302 white-space: normal;
1303 word-break: break-word;
1309 display: inline-flex;
1315 .cbi-dropdown > ul {
1320 margin: 0 !important;
1325 .cbi-dropdown > ul.preview {
1329 .cbi-dropdown > .open {
1333 .cbi-dropdown > .open,
1334 .cbi-dropdown > .more {
1339 flex-direction: column;
1342 justify-content: center;
1347 .cbi-dropdown > .more,
1348 .cbi-dropdown > ul > li[placeholder] {
1352 text-shadow: 1px 1px 0 #fff;
1355 .cbi-dropdown > ul > li {
1358 align-items: center;
1364 white-space: nowrap;
1365 text-overflow: ellipsis;
1368 .cbi-dropdown > ul > li .hide-open {
1372 .cbi-dropdown > ul > li .hide-close {
1376 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1377 border-left: thin solid #ccc;
1380 .cbi-dropdown[empty] > ul {
1384 .cbi-dropdown > ul > li > form {
1388 pointer-events: none;
1391 .cbi-dropdown > ul > li img {
1392 margin-right: .25em;
1393 vertical-align: middle;
1396 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1401 .cbi-dropdown > ul > li input[type="text"] {
1405 .cbi-dropdown[open] {
1409 .cbi-dropdown[open] > ul.dropdown {
1416 max-height: 200px !important;
1417 border: thin solid #918e8c;
1418 background: #f6f6f6;
1419 box-shadow: 0 0 4px #918e8c;
1422 .cbi-dropdown > ul > li[display],
1423 .cbi-dropdown[open] > ul.preview,
1424 .cbi-dropdown[open] > ul.dropdown > li,
1425 .cbi-dropdown[multiple] > ul > li > label,
1426 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1427 .cbi-dropdown[multiple][more] > .more,
1428 .cbi-dropdown[multiple][empty] > .more {
1430 align-items: center;
1434 .cbi-dropdown[empty] > ul > li,
1435 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1436 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1440 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1444 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1448 .cbi-dropdown[open] > ul.dropdown > li {
1449 border-bottom: thin solid #ccc;
1452 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1453 background: #b0d0f0;
1456 .cbi-dropdown[open] > ul.dropdown > li.focus {
1457 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1460 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1465 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1469 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1473 .cbi-dropdown[disabled] {
1474 pointer-events: none;
1478 .cbi-dropdown .zonebadge {
1482 .cbi-dropdown[open] .zonebadge {
1494 transition: opacity .125s ease-in;
1496 background: rgba(0, 0, 0, .7);
1497 -webkit-overflow-scrolling: touch;
1502 align-items: center;
1511 border-radius: 3px !important;
1513 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1517 line-height: normal;
1524 font-size-adjust: .35;
1526 margin-bottom: .5em;
1528 white-space: pre-wrap;
1531 background-color: #101010;
1532 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1544 list-style-type: square;
1549 padding-left: .25rem;
1550 word-break: break-word;
1555 font-weight: normal;
1556 padding: .1rem .3rem;
1562 .modal .label.warning {
1563 background-color: #f0ad4e !important;
1567 padding: .3rem .6rem;
1574 body.modal-overlay-active {
1579 body.modal-overlay-active #modal_overlay {
1587 padding-left: 32px !important;
1597 background: url(../resources/icons/loading.gif) no-repeat center;
1598 background-size: 16px;
1608 text-align: left !important;
1613 text-align: right !important;
1618 text-align: center !important;
1622 align-self: flex-start !important;
1623 vertical-align: top !important;
1627 align-self: flex-end !important;
1628 vertical-align: bottom !important;
1640 .cbi-page-actions > form[method="post"] {
1641 display: inline-block;
1645 .cbi-value input[type="password"],
1646 .cbi-value input[type="text"] {
1651 .cbi-value-field .cbi-dropdown,
1652 .cbi-value-field .cbi-input-select {
1656 .cbi-value-field .cbi-input-invalid {
1658 border-bottom-color: #f00;
1667 border: thin solid #999;
1671 .cbi-progressbar > div {
1674 transition: width .25s ease-in;
1675 background: #5bc0de;
1676 background: var(--bar-bg);
1679 .cbi-progressbar::after {
1680 font-family: monospace;
1683 font-size-adjust: .38;
1684 line-height: normal;
1691 content: attr(title);
1694 text-overflow: ellipsis;
1695 text-shadow: 0 0 2px #eee;
1698 .th[data-type="button"],
1699 .td[data-type="button"],
1700 .th[data-type="fvalue"],
1701 .td[data-type="fvalue"] {
1707 display: inline-flex;
1708 padding: .5rem .8rem;
1709 border-bottom: thin solid #ccc;
1711 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
1717 background-color: #f0f0f0;
1722 display: inline-block;
1723 align-self: flex-start;
1727 .ifacebadge > img + img {
1728 margin: 0 .2rem 0 0;
1731 .network-status-table {
1736 .network-status-table .ifacebox {
1741 .network-status-table .ifacebox-body {
1743 flex-direction: column;
1747 .network-status-table .ifacebox-body > span {
1751 .network-status-table .ifacebox-body > div {
1756 .network-status-table .ifacebox-body .ifacebadge {
1757 align-items: center;
1760 margin: .5em .25em 0 .25em;
1762 background-color: #fff;
1766 .cbi-input-textarea {
1767 font-family: monospace;
1779 margin-bottom: 20px;
1781 padding-bottom: 2.5rem;
1786 background-color: #101010;
1787 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1794 /* config changes */
1796 font-family: monospace;
1799 .uci-change-list ins,
1800 .uci-change-legend-label ins {
1803 text-decoration: none;
1804 border: thin solid #0f0;
1805 background-color: #cfc;
1808 .uci-change-list del,
1809 .uci-change-legend-label del {
1813 text-decoration: none;
1814 border: thin solid #f00;
1815 background-color: #fcc;
1818 .uci-change-list var,
1819 .uci-change-legend-label var {
1823 text-decoration: none;
1824 border: thin solid #ccc;
1825 background-color: #eee;
1828 .uci-change-list var ins,
1829 .uci-change-list var del {
1836 .uci-change-legend {
1840 .uci-change-legend-label {
1845 .uci-change-legend-label > ins,
1846 .uci-change-legend-label > del,
1847 .uci-change-legend-label > var {
1855 .uci-change-legend-label var ins,
1856 .uci-change-legend-label var del {
1861 .uci-change-list var,
1862 .uci-change-list del,
1863 .uci-change-list ins {
1871 border: thin solid #d4d4d4 !important;
1875 [data-page="admin-status-realtime-bandwidth"] #bwsvg {
1876 border-top: 0 !important;
1881 display: inline-flex;
1882 flex-direction: column;
1884 border-bottom: thin solid #ccc;
1885 background-color: #f9f9f9;
1886 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2);
1894 .ifacebox-head.active {
1895 background: #5bc0de;
1896 background: var(--bar-bg);
1908 display: inline-block;
1909 padding: .2rem .5rem;
1912 .zonebadge .ifacebadge {
1913 margin: .1rem .2rem;
1914 padding: .2rem .3rem;
1915 border: thin solid #6c6c6c;
1918 .zonebadge > input[type="text"] {
1921 padding: .16rem 1rem;
1925 .zonebadge > strong {
1926 display: inline-block;
1930 .cbi-value-field .cbi-input-checkbox,
1931 .cbi-value-field .cbi-input-radio {
1935 .cbi-value-field > ul > li {
1939 .cbi-value-field > ul > li > label {
1943 .cbi-value-field > ul > li .ifacebadge {
1946 background-color: #eee;
1949 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1953 .cbi-section-create {
1954 display: inline-flex;
1955 align-items: center;
1959 .cbi-section-create > * {
1963 .cbi-section-remove {
1968 td.cbi-value-field var,
1969 .td.cbi-value-field var {
1976 line-height: 1.42857143;
1977 white-space: normal;
1983 display: inline-block;
1985 padding: .2rem .3rem;
1989 padding: 1rem 1rem 0 1rem;
1990 border-top: thin solid #ccc;
1993 .cbi-dropdown-container {
1997 .cbi-tooltip-container,
1999 span[data-tooltip] .label {
2000 cursor: help !important;
2008 transition: opacity .25s ease-out;
2010 pointer-events: none;
2014 box-shadow: 0 0 2px #444;
2017 .cbi-tooltip-container:hover .cbi-tooltip {
2019 transition: opacity .25s ease-in;
2023 .zonebadge .cbi-tooltip {
2024 margin: -1.5rem 0 0 -.5rem;
2026 background: inherit;
2031 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);
2039 .zone-forwards > * {
2043 .zone-forwards > span {
2049 .zone-forwards .zone-src,
2050 .zone-forwards .zone-dest {
2052 flex-direction: column;
2058 padding: .3rem .8rem;
2059 white-space: nowrap;
2060 text-decoration: none;
2061 text-transform: uppercase;
2062 color: #fff !important;
2063 -webkit-border-radius: 3px;
2064 -moz-border-radius: 3px;
2066 background-color: #bfbfbf;
2070 label > input[type="checkbox"],
2071 label > input[type="radio"] {
2076 vertical-align: bottom;
2090 background-color: rgba(0, 0, 0, .56);
2094 #diag-rc-output > pre,
2095 #command-rc-output > pre {
2097 font-size-adjust: .35;
2098 line-height: normal;
2104 background-color: #101010;
2105 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2108 [data-page="admin-network-diagnostics"] .table {
2113 input[name="traceroute"],
2114 input[name="nslookup"] {
2118 /* fix Main Login */
2119 .node-main-login > .main > .main-left {
2123 .node-main-login > .main > .main-right {
2127 .node-main-login > .main fieldset {
2130 margin-bottom: 1rem;
2137 .node-main-login > .main .cbi-value-title {
2141 .node-main-login > .main #maincontent {
2145 .node-main-login > .main .container {
2146 display: inline-block;
2147 margin-top: 2rem !important;
2148 padding: 1rem 3.5rem 2rem;
2150 background-color: #fff;
2151 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2154 .node-main-login > .main form > div:nth-last-child(1) {
2158 .node-main-login > .main .cbi-value {
2162 .node-main-login > .main .cbi-value > * {
2163 display: inline-block !important;
2166 .node-main-login > .main .cbi-input-text {
2170 .node-main-login .cbi-section {
2174 @media screen and (min-height: 585px) {
2175 .node-main-login footer {
2182 /* fix status overview */
2183 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2184 white-space: normal;
2187 /* fix status processes */
2188 .node-status-processes > .main .table .tr .td:nth-child(3) {
2189 white-space: normal;
2192 .node-admin-status form {
2193 margin: 2rem 2rem 0 0;
2196 /* fix system reboot */
2197 [data-page="admin-system-reboot"] p {
2201 [data-page="admin-system-reboot"] p > span {
2208 #cbi-samba .cbi-value-last .cbi-value-field {
2212 #cbi-samba .cbi-value-last .cbi-value-title {
2214 padding-bottom: .6rem;
2218 .controls > * > .btn:not([aria-label$="page"]) {
2219 flex-grow: initial !important;
2223 .controls > #pager > .btn[aria-label$="page"] {
2228 .controls > * > label {
2229 margin-bottom: .2rem;
2232 [data-page="admin-system-opkg"] div.btn {
2235 padding: .3rem .6rem;
2238 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
2239 [data-page="admin-system-opkg"] #maincontent > .container {
2244 [data-page="admin-system-opkg"] #maincontent > .container {
2246 margin-bottom: 1rem;
2251 white-space: normal !important;
2252 word-break: break-word;
2255 .cbi-tabmenu + .cbi-section {
2259 /* wireless overview */
2260 #cbi-wireless > #wifi_assoclist_table > .tr {
2261 box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd;
2264 #cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td {
2268 border-top: thin solid #ddd !important;
2271 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles {
2272 box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd;
2275 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th {
2276 border-bottom: thin solid #ddd;
2277 box-shadow: 0 -1px 0 0 #ddd;
2280 #wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] {
2294 #cbi-firewall-redirect table *,
2295 #cbi-network-switch_vlan table *,
2296 #cbi-firewall-zone table * {
2300 #cbi-firewall-redirect table input[type="text"],
2301 #cbi-network-switch_vlan table input[type="text"],
2302 #cbi-firewall-zone table input[type="text"] {
2306 #cbi-firewall-redirect table select,
2307 #cbi-network-switch_vlan table select,
2308 #cbi-firewall-zone table select {
2312 #cbi-network-switch_vlan .th,
2313 #cbi-network-switch_vlan .td {
2317 #cbi-firewall-zone .table,
2318 #cbi-network-switch_vlan .table {
2322 #cbi-firewall-zone .td.cbi-section-actions {
2326 /* applyreboot fix */
2327 #applyreboot-container {
2331 #applyreboot-section {
2336 /* openvpn bug fix */
2338 line-height: initial !important;
2341 /* custom commands */
2343 width: 24% !important;
2344 padding: .5rem 1rem;
2345 border-bottom: thin solid #ccc;
2347 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
2351 line-height: normal !important;
2353 margin: 6px 0 !important;
2354 white-space: nowrap;
2355 text-overflow: ellipsis;
2359 left: auto !important;
2371 text-overflow: ellipsis;
2374 .commandbox p:first-of-type {
2378 .commandbox p:nth-of-type(2) {
2382 [data-page^="admin-system-commands"] .panel-title,
2383 [data-page^="command-cfg"] .mobile-hide,
2384 [data-page^="command-cfg"] header > .fill > .container > #logo {
2388 #command-rc-output .alert-message {
2389 line-height: 1.42857143;
2395 animation: anim-fade-in 1.5s forwards;
2399 @keyframes anim-fade-in {
2405 @media screen and (max-width: 1600px) {
2406 header > .fill > .container > #logo {
2407 margin: 0 2.5rem 0 .5rem;
2411 width: calc(0% + 13rem);
2415 width: calc(100% - 13rem);
2418 .cbi-dynlist > .item {
2425 padding: .3rem .6rem;
2429 padding: .2rem .6rem;
2434 padding-right: .6rem;
2442 .cbi-input-textarea {
2446 .node-admin-status > .main fieldset li > a {
2447 padding: .3rem .6rem;
2450 #cbi-firewall-zone > .table {
2455 @media screen and (max-width: 1366px) {
2460 header > .fill > .container {
2467 height: calc(100% - 3.5rem);
2472 width: calc(0% + 13rem);
2473 height: calc(100% - 3.5rem);
2477 width: calc(100% - 13rem);
2480 .cbi-dynlist > .item {
2484 .cbi-tabmenu > li > a,
2486 padding: .2rem .5rem;
2491 padding-bottom: 1rem;
2495 font-size: .7rem !important;
2496 width: 100% !important;
2499 .table .cbi-input-text {
2503 .main > .main-left > .nav > li,
2504 .main > .main-left > .nav > li a,
2505 .main > .main-left > .nav > .slide > .menu {
2509 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2517 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) {
2521 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table),
2522 [data-page="admin-network-firewall-rules"] .table:not(.cbi-section-table),
2523 [data-page="admin-network-hosts"] .table {
2524 overflow-y: visible;
2528 width: 32% !important;
2532 @media screen and (max-width: 1152px) {
2533 header > .fill > .container > #logo {
2537 header > .fill > .container > .brand {
2541 [data-page^="command-cfg"] header > .fill > .container > .brand {
2543 margin-top: -1.75rem;
2548 overflow-y: visible;
2561 .cbi-dynlist > .item {
2566 display: inline-block;
2568 margin-right: .5rem;
2579 body:not(.logged-in) .showSide {
2586 .node-main-login > .main .cbi-value-title {
2592 padding-right: 1rem;
2595 #diag-rc-output > pre,
2596 #command-rc-output > pre {
2610 flex-direction: row;
2614 .Overview .table[width="100%"] > .tr {
2619 border-bottom: thin solid #ddd;
2622 .tr.placeholder > .td,
2623 #cbi-firewall .tr > .td,
2624 #cbi-network .tr:nth-child(2) > .td,
2625 .cbi-section #wifi_assoclist_table .tr > .td {
2631 display: inline-block;
2632 align-self: flex-start;
2634 text-overflow: ellipsis;
2635 word-wrap: break-word;
2639 .td input[type="text"] {
2644 .td [data-dynlist] > input,
2645 .td input.cbi-input-password {
2646 width: calc(100% - 1.5rem);
2649 .td[data-type="button"],
2650 .td[data-type="fvalue"] {
2655 .th.cbi-value-field,
2656 .td.cbi-value-field,
2657 .th.cbi-section-table-cell,
2658 .td.cbi-section-table-cell {
2663 .cbi-section-table-row {
2665 flex-direction: row;
2667 justify-content: space-between;
2668 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2671 .td.cbi-value-field,
2672 .cbi-section-table-cell {
2673 display: inline-block;
2679 .td.cbi-section-actions {
2680 vertical-align: bottom;
2684 .tr.cbi-section-table-titles,
2685 .tr.cbi-section-table-descr {
2689 .tr[data-title]::before,
2690 .tr.cbi-section-table-titles.named::before {
2694 border-bottom: thin solid rgba(0, 0, 0, .26);
2695 background: #90c0e0;
2699 [data-page^="admin-status-realtime"] .td[id] {
2703 .td[data-title]::before {
2707 .cbi-button + .cbi-button {
2711 .td.cbi-section-actions > * > *,
2712 .td.cbi-section-actions > * > form > * {
2717 position: static !important;
2720 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2723 .Firewall form input {
2724 width: 100% !important;
2730 .Firewall .center::before {
2731 text-align: left !important;
2735 width: 100% !important;
2739 @media screen and (max-width: 600px) {
2744 .cbi-progressbar::after {
2759 #maincontent > .container {
2760 margin: 0 1rem 1.5rem 1rem;
2763 .main > .main-left > .nav > .slide > .menu {
2767 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2774 min-width: 0 !important;
2776 margin-bottom: .5rem;
2781 .cbi-value-description {
2785 .cbi-value > .cbi-value-field {
2786 display: inline-block;
2794 .cbi-tabmenu > li > a,
2797 padding: .2rem .3rem;
2800 .cbi-page-actions > div > input {
2804 .cbi-page-actions > .cbi-button {
2808 .node-main-login > .main .container {
2809 margin: 2rem 1.2rem 1.5rem 1.2rem !important;
2810 padding: .3rem 1.7rem 2rem 1.6rem;
2813 .node-main-login > .main .cbi-value {
2817 .node-main-login > .main form > div:nth-last-child(1) {
2821 .node-main-login > .main .cbi-value-title {
2823 width: 100% !important;
2826 .node-main-login > .main fieldset {
2831 .commandbox p:first-of-type {
2835 #diag-rc-output > pre,
2836 #command-rc-output > pre {
2863 padding-bottom: 1rem;
2866 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2867 width: 100% !important;
2870 .node-system-packages > .main .cbi-value .cbi-value-field input {
2879 .td.cbi-value-field {
2883 .td.cbi-value-field[data-type="button"],
2884 .td.cbi-value-field[data-type="fvalue"] {
2889 .tr[data-title]::before,
2890 .tr.cbi-section-table-titles.named::before {
2904 .hide-xs:not([data-title="MAC-Address"]) {
2909 @media screen and (min-width: 600px) {
2910 ::-webkit-scrollbar {
2913 background: transparent;
2916 ::-webkit-scrollbar-thumb {
2917 background: #9e9e9e;
2920 ::-webkit-scrollbar-thumb:hover {
2921 background: #757575;
2924 ::-webkit-scrollbar-thumb:active {
2925 background: #424242;
2929 @media screen and (min-width: 1152px) {
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 {
2943 .cbi-section-node .tr {
2948 @media screen and (min-width: 1366px) {
2949 .cbi-value input[type="password"],
2950 .cbi-value input[type="text"] {
2954 .cbi-value-field .cbi-input-select {
2958 .cbi-value-field .cbi-dropdown {
2963 @media screen and (min-width: 1600px) {
2964 .cbi-value input[type="password"],
2965 .cbi-value input[type="text"] {
2969 .cbi-value-field .cbi-input-select {
2973 .cbi-value-field .cbi-dropdown {