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;
695 #cbi-network > .cbi-section-node,
696 #cbi-wireless > .cbi-section-node,
697 #cbi-wireless > #wifi_assoclist_table,
698 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
699 [data-page="admin-system-opkg"] #maincontent > .container {
700 font-family: inherit;
709 background-color: #fff;
710 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
713 .cbi-map-descr + fieldset {
717 .cbi-section > legend {
718 display: none !important;
722 .cbi-section > .cbi-section {
729 .cbi-section > h3:first-child,
736 margin-bottom: .5rem;
737 padding-bottom: 1rem;
739 border-bottom: thin solid #eee;
744 border-collapse: collapse;
751 box-shadow: 0 0 0 1px #ddd;
754 table > tbody > tr > td,
755 table > tbody > tr > th,
756 table > tfoot > tr > td,
757 table > tfoot > tr > th,
758 table > thead > tr > td,
759 table > thead > tr > th,
760 .table > .tbody > .tr > .td,
761 .table > .tbody > .tr > .th,
762 .table > .tfoot > .tr > .td,
763 .table > .tfoot > .tr > .th,
764 .table > .thead > .tr > .td,
765 .table > .thead > .tr > .th,
766 .table > .tr > .td.cbi-value-field,
767 .table > .tr > .th.cbi-section-table-cell {
771 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
775 .cbi-section-table-cell {
777 align-self: flex-end;
785 .cbi-section-table-row::before,
786 #cbi-wireless > #wifi_assoclist_table > .tr:nth-child(2) {
787 border-top: thin solid #ddd;
791 .tr:first-child > .td,
793 #cbi-network .tr:first-child > .td,
794 .table[width="100%"] > .tr:first-child > .td,
795 [data-page="admin-network-diagnostics"] .tr > .td,
796 .tr.table-titles > .th,
797 .tr.cbi-section-table-titles > .th {
798 border-top: 0 !important;
801 .cbi-section-table-row {
803 text-align: center !important;
807 .cbi-section-table-row:last-child {
811 .cbi-section-table-row > .cbi-value-field .cbi-input-select,
812 .cbi-section-table-row > .cbi-value-field .cbi-input-text,
813 .cbi-section-table-row > .cbi-value-field .cbi-input-password,
814 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
818 .cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
819 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
820 width: calc(100% - 1.5rem);
823 .cbi-section-table-row .td {
824 text-align: center !important;
827 div > table > tbody > tr:nth-of-type(2n),
828 div > .table > .tr:nth-of-type(2n) {
829 background-color: #f9f9f9;
832 /* fix multiple table */
838 .cbi-value-field table,
839 .cbi-value-field .table {
843 td > table > tbody > tr > td,
844 .td > .table > .tbody > .tr > .td {
848 .cbi-value-field > table > tbody > tr > td,
849 .cbi-value-field > .table > .tbody > .tr > .td {
858 display: inline-block;
859 width: auto !important;
862 -webkit-user-select: none;
863 -moz-user-select: none;
864 -ms-user-select: none;
866 transition: all .2s ease-in-out;
868 vertical-align: middle;
870 text-decoration: none;
871 text-transform: uppercase;
872 color: rgba(0, 0, 0, .87);
874 border-radius: .2rem;
875 background-color: #f0f0f0;
876 background-image: none;
877 -webkit-appearance: none;
878 -ms-touch-action: manipulation;
879 touch-action: manipulation;
882 .cbi-button:not(select) {
883 -webkit-appearance: none !important;
886 form[method="post"] + form[method="post"],
887 .cbi-button + .cbi-button {
900 .cbi-page-actions .cbi-button-apply + .cbi-button-save:hover,
901 .cbi-page-actions .cbi-button-apply + .cbi-button-save:focus,
902 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
903 text-decoration: none;
911 box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
916 box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
920 .cbi-button:disabled {
922 pointer-events: none;
928 .alert-message [class="btn"],
929 .modal div[class="btn"],
935 .cbi-button[name="zero"],
936 .cbi-button[name="restart"],
937 .cbi-button[onclick="hide_empty(this)"] {
939 border: thin solid #bfbfbf;
940 background-color: #d4d4d4;
945 .cbi-page-actions .cbi-button-save,
946 .cbi-page-actions .cbi-button-apply + .cbi-button-save,
949 .cbi-button-positive,
951 .cbi-button[value="Enable"],
952 .cbi-button[value="Scan"],
953 .cbi-button[value^="Back"],
954 .cbi-button-neutral[onclick="handleConfig(event)"] {
957 border: thin solid #2e6da4;
958 background-color: #337ab7;
962 .cbi-page-actions .cbi-button-apply,
963 .cbi-section-actions .cbi-button-edit,
968 .cbi-button[value="Submit"],
969 .cbi-button[value$="Apply"],
970 .cbi-button[onclick="addKey(event)"] {
973 border: thin solid #46b8da;
974 background-color: #5bc0de;
979 .cbi-section-remove > .cbi-button,
982 .cbi-button-negative,
983 .cbi-button[value="Stop"],
984 .cbi-button[value="Kill"],
985 .cbi-button[onclick="reboot(this)"],
986 .cbi-button-neutral[value="Restart"] {
989 border: thin solid #d43f3a;
990 background-color: #d9534f;
994 .btn[value="Dismiss"],
995 .cbi-button[value="Terminate"],
996 .cbi-button[value="Reset"],
997 .cbi-button[value="Disabled"],
998 .cbi-button[onclick^="iface_reconnect"],
999 .cbi-button[onclick="handleReset(event)"],
1000 .cbi-button-neutral[value="Disable"] {
1001 font-weight: normal;
1003 border: thin solid #eea236;
1004 background-color: #f0ad4e;
1008 .cbi-button-success,
1009 .cbi-button-download,
1010 .cbi-button[name="backup"],
1011 .cbi-button[value="Upload"],
1012 .cbi-button[value="Save mtdblock"] {
1013 font-weight: normal;
1015 border: thin solid #4cae4c;
1016 background-color: #5cb85c;
1019 .cbi-page-actions .cbi-button-link:first-child {
1024 text-decoration: none;
1027 .cbi-value-field .cbi-button-add {
1032 .cbi-value-field .cbi-button-neutral {
1039 padding-left: .5rem;
1040 background-color: #fff;
1045 display: inline-block;
1049 .cbi-tabmenu > li > a,
1051 padding: .5rem .8rem;
1052 text-decoration: none;
1056 .tabs > li[class~="active"],
1058 margin-bottom: -.18751rem;
1061 color: var(--main-color);
1062 border-bottom: #09c;
1063 border-bottom: .2rem solid var(--main-color);
1066 .tabs > li[class~="active"] > a {
1068 color: var(--main-color);
1072 border-bottom: .18751rem solid #c9c9c9;
1076 border: thin solid #d4d4d4;
1080 .cbi-tabmenu > li:hover {
1081 background-color: #f1f1f1;
1084 .cbi-tabmenu > li[class~="cbi-tab"] {
1085 background-color: #fff;
1089 background-color: #d4d4d4;
1092 .cbi-section .cbi-section-remove:nth-of-type(2n),
1093 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1094 background-color: #f9f9f9;
1103 [data-tab-active="true"] {
1107 transition: opacity .25s ease-in;
1110 .cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
1111 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1112 background-color: #f9f9f9;
1115 .cbi-section-node-tabbed {
1118 border: thin solid #d4d4d4;
1122 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1123 background-color: #f9f9f9;
1127 .cbi-value-description {
1129 display: table-cell;
1132 .cbi-input-invalid {
1137 .cbi-section-error {
1139 line-height: 1.42857143;
1142 border: thin solid #f00;
1144 background-color: #fce6e6;
1147 .cbi-section-error ul {
1151 .cbi-section-error ul li {
1156 .cbi-value-helpicon > img {
1160 .cbi-value-helpicon:before {
1164 .cbi-value-description {
1166 padding: .5rem 0 0 0;
1171 display: table-cell;
1175 padding-right: 2rem;
1177 word-wrap: break-word;
1181 display: inline-block;
1183 padding: .3rem 1rem;
1190 .td[data-title]::before {
1194 content: attr(data-title) ":\20";
1196 white-space: nowrap;
1199 .tr.placeholder .td[data-title]::before {
1203 .tr[data-title]::before,
1204 .tr.cbi-section-table-titles.named::before {
1206 display: table-cell;
1210 content: attr(data-title) "\20";
1212 vertical-align: middle;
1213 white-space: normal;
1214 word-wrap: break-word;
1218 background-color: #f9f9f9;
1222 background-color: #eee;
1225 .cbi-rowstyle-2 .cbi-button-up,
1226 .cbi-rowstyle-2 .cbi-button-down,
1227 .cbi-rowstyle-2:first-child {
1228 background-color: #fff !important;
1231 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1232 width: auto !important;
1235 .td.cbi-section-actions {
1236 text-align: right !important;
1237 vertical-align: middle;
1240 .td.cbi-section-actions > * {
1241 display: inline-flex;
1244 .td.cbi-section-actions > * > *,
1245 .td.cbi-section-actions > * > form > * {
1249 .td.cbi-section-actions > * > form {
1250 display: inline-flex;
1258 line-height: 1.42857143;
1265 flex-direction: column;
1269 .cbi-dynlist > .item {
1272 margin: 0 2em 4px 0;
1275 pointer-events: none;
1277 border-bottom: 2px solid rgba(0, 0, 0, .26);
1280 .cbi-dynlist[name="sshkeys"] > .item {
1284 .cbi-dynlist > .item::after {
1289 display: inline-flex;
1293 pointer-events: auto;
1295 border: thin solid #d43f3a;
1296 background-color: #d9534f;
1299 .cbi-dynlist > .item > span {
1300 white-space: normal;
1301 word-break: break-word;
1307 display: inline-flex;
1313 .cbi-dropdown > ul {
1318 margin: 0 !important;
1323 .cbi-dropdown > ul.preview {
1327 .cbi-dropdown > .open {
1331 .cbi-dropdown > .open,
1332 .cbi-dropdown > .more {
1337 flex-direction: column;
1340 justify-content: center;
1345 .cbi-dropdown > .more,
1346 .cbi-dropdown > ul > li[placeholder] {
1350 text-shadow: 1px 1px 0 #fff;
1353 .cbi-dropdown > ul > li {
1356 align-items: center;
1362 white-space: nowrap;
1363 text-overflow: ellipsis;
1366 .cbi-dropdown > ul > li .hide-open {
1370 .cbi-dropdown > ul > li .hide-close {
1374 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1375 border-left: thin solid #ccc;
1378 .cbi-dropdown[empty] > ul {
1382 .cbi-dropdown > ul > li > form {
1386 pointer-events: none;
1389 .cbi-dropdown > ul > li img {
1390 margin-right: .25em;
1391 vertical-align: middle;
1394 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1399 .cbi-dropdown > ul > li input[type="text"] {
1403 .cbi-dropdown[open] {
1407 .cbi-dropdown[open] > ul.dropdown {
1414 max-height: 200px !important;
1415 border: thin solid #918e8c;
1416 background: #f6f6f6;
1417 box-shadow: 0 0 4px #918e8c;
1420 .cbi-dropdown > ul > li[display],
1421 .cbi-dropdown[open] > ul.preview,
1422 .cbi-dropdown[open] > ul.dropdown > li,
1423 .cbi-dropdown[multiple] > ul > li > label,
1424 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1425 .cbi-dropdown[multiple][more] > .more,
1426 .cbi-dropdown[multiple][empty] > .more {
1428 align-items: center;
1432 .cbi-dropdown[empty] > ul > li,
1433 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1434 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1438 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1442 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1446 .cbi-dropdown[open] > ul.dropdown > li {
1447 border-bottom: thin solid #ccc;
1450 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1451 background: #b0d0f0;
1454 .cbi-dropdown[open] > ul.dropdown > li.focus {
1455 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1458 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1463 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1467 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1471 .cbi-dropdown[disabled] {
1472 pointer-events: none;
1476 .cbi-dropdown .zonebadge {
1480 .cbi-dropdown[open] .zonebadge {
1492 transition: opacity .125s ease-in;
1494 background: rgba(0, 0, 0, .7);
1495 -webkit-overflow-scrolling: touch;
1500 align-items: center;
1509 border-radius: 3px !important;
1511 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1515 line-height: normal;
1522 font-size-adjust: .35;
1524 margin-bottom: .5em;
1526 white-space: pre-wrap;
1529 background-color: #101010;
1530 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1542 list-style-type: square;
1547 padding-left: .25rem;
1548 word-break: break-word;
1553 font-weight: normal;
1554 padding: .1rem .3rem;
1560 .modal .label.warning {
1561 background-color: #f0ad4e !important;
1565 padding: .3rem .6rem;
1572 body.modal-overlay-active {
1577 body.modal-overlay-active #modal_overlay {
1585 padding-left: 32px !important;
1595 background: url(../resources/icons/loading.gif) no-repeat center;
1596 background-size: 16px;
1606 text-align: left !important;
1611 text-align: right !important;
1616 text-align: center !important;
1620 align-self: flex-start !important;
1621 vertical-align: top !important;
1625 align-self: flex-end !important;
1626 vertical-align: bottom !important;
1638 .cbi-page-actions > form[method="post"] {
1639 display: inline-block;
1643 .cbi-value input[type="password"],
1644 .cbi-value input[type="text"] {
1649 .cbi-value-field .cbi-dropdown,
1650 .cbi-value-field .cbi-input-select {
1654 .cbi-value-field .cbi-input-invalid {
1656 border-bottom-color: #f00;
1665 border: thin solid #999;
1669 .cbi-progressbar > div {
1672 transition: width .25s ease-in;
1673 background: #5bc0de;
1674 background: var(--bar-bg);
1677 .cbi-progressbar::after {
1678 font-family: monospace;
1681 font-size-adjust: .38;
1682 line-height: normal;
1689 content: attr(title);
1692 text-overflow: ellipsis;
1693 text-shadow: 0 0 2px #eee;
1696 .th[data-type="button"],
1697 .td[data-type="button"],
1698 .th[data-type="fvalue"],
1699 .td[data-type="fvalue"] {
1705 display: inline-flex;
1706 padding: .5rem .8rem;
1707 border-bottom: thin solid #ccc;
1709 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
1715 background-color: #f0f0f0;
1720 display: inline-block;
1721 align-self: flex-start;
1725 .ifacebadge > img + img {
1726 margin: 0 .2rem 0 0;
1729 .network-status-table {
1734 .network-status-table .ifacebox {
1739 .network-status-table .ifacebox-body {
1741 flex-direction: column;
1745 .network-status-table .ifacebox-body > span {
1749 .network-status-table .ifacebox-body > div {
1754 .network-status-table .ifacebox-body .ifacebadge {
1755 align-items: center;
1758 margin: .5em .25em 0 .25em;
1760 background-color: #fff;
1764 .cbi-input-textarea {
1765 font-family: monospace;
1777 margin-bottom: 20px;
1779 padding-bottom: 2.5rem;
1784 background-color: #101010;
1785 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1792 /* config changes */
1794 font-family: monospace;
1797 .uci-change-list ins,
1798 .uci-change-legend-label ins {
1801 text-decoration: none;
1802 border: thin solid #0f0;
1803 background-color: #cfc;
1806 .uci-change-list del,
1807 .uci-change-legend-label del {
1811 text-decoration: none;
1812 border: thin solid #f00;
1813 background-color: #fcc;
1816 .uci-change-list var,
1817 .uci-change-legend-label var {
1821 text-decoration: none;
1822 border: thin solid #ccc;
1823 background-color: #eee;
1826 .uci-change-list var ins,
1827 .uci-change-list var del {
1834 .uci-change-legend {
1838 .uci-change-legend-label {
1843 .uci-change-legend-label > ins,
1844 .uci-change-legend-label > del,
1845 .uci-change-legend-label > var {
1853 .uci-change-legend-label var ins,
1854 .uci-change-legend-label var del {
1859 .uci-change-list var,
1860 .uci-change-list del,
1861 .uci-change-list ins {
1869 border: thin solid #d4d4d4 !important;
1873 [data-page="admin-status-realtime-bandwidth"] #bwsvg {
1874 border-top: 0 !important;
1879 display: inline-flex;
1880 flex-direction: column;
1882 border-bottom: thin solid #ccc;
1883 background-color: #f9f9f9;
1884 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2);
1892 .ifacebox-head.active {
1893 background: #5bc0de;
1894 background: var(--bar-bg);
1906 display: inline-block;
1907 padding: .2rem .5rem;
1910 .zonebadge .ifacebadge {
1911 margin: .1rem .2rem;
1912 padding: .2rem .3rem;
1913 border: thin solid #6c6c6c;
1916 .zonebadge > input[type="text"] {
1919 padding: .16rem 1rem;
1923 .zonebadge > strong {
1924 display: inline-block;
1928 .cbi-value-field .cbi-input-checkbox,
1929 .cbi-value-field .cbi-input-radio {
1933 .cbi-value-field > ul > li {
1937 .cbi-value-field > ul > li > label {
1941 .cbi-value-field > ul > li .ifacebadge {
1944 background-color: #eee;
1947 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1951 .cbi-section-create {
1952 display: inline-flex;
1953 align-items: center;
1957 .cbi-section-create > * {
1961 .cbi-section-remove {
1966 td.cbi-value-field var,
1967 .td.cbi-value-field var {
1974 line-height: 1.42857143;
1975 white-space: normal;
1981 display: inline-block;
1983 padding: .2rem .3rem;
1987 padding: 1rem 1rem 0 1rem;
1988 border-top: thin solid #ccc;
1991 .cbi-dropdown-container {
1995 .cbi-tooltip-container,
1997 span[data-tooltip] .label {
1998 cursor: help !important;
2006 transition: opacity .25s ease-out;
2008 pointer-events: none;
2012 box-shadow: 0 0 2px #444;
2015 .cbi-tooltip-container:hover .cbi-tooltip {
2017 transition: opacity .25s ease-in;
2021 .zonebadge .cbi-tooltip {
2022 margin: -1.5rem 0 0 -.5rem;
2024 background: inherit;
2029 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);
2037 .zone-forwards > * {
2041 .zone-forwards > span {
2047 .zone-forwards .zone-src,
2048 .zone-forwards .zone-dest {
2050 flex-direction: column;
2056 padding: .3rem .8rem;
2057 white-space: nowrap;
2058 text-decoration: none;
2059 text-transform: uppercase;
2060 color: #fff !important;
2061 -webkit-border-radius: 3px;
2062 -moz-border-radius: 3px;
2064 background-color: #bfbfbf;
2068 label > input[type="checkbox"],
2069 label > input[type="radio"] {
2074 vertical-align: bottom;
2088 background-color: rgba(0, 0, 0, .56);
2092 #diag-rc-output > pre,
2093 #command-rc-output > pre {
2095 font-size-adjust: .35;
2096 line-height: normal;
2102 background-color: #101010;
2103 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2106 [data-page="admin-network-diagnostics"] .table {
2111 input[name="traceroute"],
2112 input[name="nslookup"] {
2116 /* fix Main Login */
2117 .node-main-login > .main > .main-left {
2121 .node-main-login > .main > .main-right {
2125 .node-main-login > .main fieldset {
2128 margin-bottom: 1rem;
2135 .node-main-login > .main .cbi-value-title {
2139 .node-main-login > .main #maincontent {
2143 .node-main-login > .main .container {
2144 display: inline-block;
2145 margin-top: 2rem !important;
2146 padding: 1rem 3.5rem 2rem;
2148 background-color: #fff;
2149 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2152 .node-main-login > .main form > div:nth-last-child(1) {
2156 .node-main-login > .main .cbi-value {
2160 .node-main-login > .main .cbi-value > * {
2161 display: inline-block !important;
2164 .node-main-login > .main .cbi-input-text {
2168 .node-main-login .cbi-section {
2172 @media screen and (min-height: 585px) {
2173 .node-main-login footer {
2180 /* fix status overview */
2181 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2182 white-space: normal;
2185 /* fix status processes */
2186 .node-status-processes > .main .table .tr .td:nth-child(3) {
2187 white-space: normal;
2190 .node-admin-status form {
2191 margin: 2rem 2rem 0 0;
2194 /* fix system reboot */
2195 [data-page="admin-system-reboot"] p {
2199 [data-page="admin-system-reboot"] p > span {
2206 #cbi-samba .cbi-value-last .cbi-value-field {
2210 #cbi-samba .cbi-value-last .cbi-value-title {
2212 padding-bottom: .6rem;
2216 .controls > * > .btn:not([aria-label$="page"]) {
2217 flex-grow: initial !important;
2221 .controls > #pager > .btn[aria-label$="page"] {
2226 .controls > * > label {
2227 margin-bottom: .2rem;
2230 [data-page="admin-system-opkg"] div.btn {
2233 padding: .3rem .6rem;
2236 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
2237 [data-page="admin-system-opkg"] #maincontent > .container {
2242 [data-page="admin-system-opkg"] #maincontent > .container {
2244 margin-bottom: 1rem;
2249 white-space: normal !important;
2250 word-break: break-word;
2253 .cbi-tabmenu + .cbi-section {
2257 /* wireless overview */
2258 #cbi-wireless > #wifi_assoclist_table > .tr {
2259 box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd;
2262 #cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td {
2266 border-top: thin solid #ddd !important;
2269 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles {
2270 box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd;
2273 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th {
2274 border-bottom: thin solid #ddd;
2275 box-shadow: 0 -1px 0 0 #ddd;
2278 #wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] {
2284 font-family: inherit;
2285 font-weight: normal;
2293 background-color: #fff;
2296 #cbi-firewall-redirect table *,
2297 #cbi-network-switch_vlan table *,
2298 #cbi-firewall-zone table * {
2302 #cbi-firewall-redirect table input[type="text"],
2303 #cbi-network-switch_vlan table input[type="text"],
2304 #cbi-firewall-zone table input[type="text"] {
2308 #cbi-firewall-redirect table select,
2309 #cbi-network-switch_vlan table select,
2310 #cbi-firewall-zone table select {
2314 #cbi-network-switch_vlan .th,
2315 #cbi-network-switch_vlan .td {
2319 #cbi-firewall-zone .table,
2320 #cbi-network-switch_vlan .table {
2324 #cbi-firewall-zone .td.cbi-section-actions {
2328 /* applyreboot fix */
2329 #applyreboot-container {
2333 #applyreboot-section {
2338 /* openvpn bug fix */
2340 line-height: initial !important;
2343 /* custom commands */
2345 width: 24% !important;
2346 padding: .5rem 1rem;
2347 border-bottom: thin solid #ccc;
2349 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
2353 line-height: normal !important;
2355 margin: 6px 0 !important;
2356 white-space: nowrap;
2357 text-overflow: ellipsis;
2361 left: auto !important;
2373 text-overflow: ellipsis;
2376 .commandbox p:first-of-type {
2380 .commandbox p:nth-of-type(2) {
2384 [data-page^="admin-system-commands"] .panel-title,
2385 [data-page^="command-cfg"] .mobile-hide,
2386 [data-page^="command-cfg"] header > .fill > .container > #logo {
2390 #command-rc-output .alert-message {
2391 line-height: 1.42857143;
2397 animation: anim-fade-in 1.5s forwards;
2401 @keyframes anim-fade-in {
2407 @media screen and (max-width: 1600px) {
2408 header > .fill > .container > #logo {
2409 margin: 0 2.5rem 0 .5rem;
2413 width: calc(0% + 13rem);
2417 width: calc(100% - 13rem);
2420 .cbi-dynlist > .item {
2427 padding: .3rem .6rem;
2431 padding: .2rem .6rem;
2436 padding-right: .6rem;
2444 .cbi-input-textarea {
2448 .node-admin-status > .main fieldset li > a {
2449 padding: .3rem .6rem;
2452 #cbi-firewall-zone > .table {
2457 @media screen and (max-width: 1366px) {
2462 header > .fill > .container {
2469 height: calc(100% - 3.5rem);
2474 width: calc(0% + 13rem);
2475 height: calc(100% - 3.5rem);
2479 width: calc(100% - 13rem);
2482 .cbi-dynlist > .item {
2486 .cbi-tabmenu > li > a,
2488 padding: .2rem .5rem;
2493 padding-bottom: 1rem;
2497 font-size: .7rem !important;
2498 width: 100% !important;
2501 .table .cbi-input-text {
2505 .main > .main-left > .nav > li,
2506 .main > .main-left > .nav > li a,
2507 .main > .main-left > .nav > .slide > .menu {
2511 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2519 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) {
2523 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table),
2524 [data-page="admin-network-firewall-rules"] .table:not(.cbi-section-table),
2525 [data-page="admin-network-hosts"] .table {
2526 overflow-y: visible;
2530 width: 32% !important;
2534 @media screen and (max-width: 1152px) {
2535 header > .fill > .container > #logo {
2539 header > .fill > .container > .brand {
2543 [data-page^="command-cfg"] header > .fill > .container > .brand {
2545 margin-top: -1.75rem;
2550 overflow-y: visible;
2563 .cbi-dynlist > .item {
2568 display: inline-block;
2570 margin-right: .5rem;
2581 body:not(.logged-in) .showSide {
2588 .node-main-login > .main .cbi-value-title {
2594 padding-right: 1rem;
2597 #diag-rc-output > pre,
2598 #command-rc-output > pre {
2612 flex-direction: row;
2616 .Overview .table[width="100%"] > .tr {
2621 border-bottom: thin solid #ddd;
2624 .tr.placeholder > .td,
2625 #cbi-firewall .tr > .td,
2626 #iptables .tr:nth-child(2) > .td,
2627 #cbi-network .tr:nth-child(2) > .td,
2628 .cbi-section #wifi_assoclist_table .tr > .td {
2634 display: inline-block;
2635 align-self: flex-start;
2637 text-overflow: ellipsis;
2638 word-wrap: break-word;
2642 .td input[type="text"] {
2647 .td [data-dynlist] > input,
2648 .td input.cbi-input-password {
2649 width: calc(100% - 1.5rem);
2652 .td[data-type="button"],
2653 .td[data-type="fvalue"] {
2658 .th.cbi-value-field,
2659 .td.cbi-value-field,
2660 .th.cbi-section-table-cell,
2661 .td.cbi-section-table-cell {
2666 .cbi-section-table-row {
2668 flex-direction: row;
2670 justify-content: space-between;
2671 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2674 .td.cbi-value-field,
2675 .cbi-section-table-cell {
2676 display: inline-block;
2682 .td.cbi-section-actions {
2683 vertical-align: bottom;
2687 .tr.cbi-section-table-titles,
2688 .tr.cbi-section-table-descr {
2692 .tr[data-title]::before,
2693 .tr.cbi-section-table-titles.named::before {
2697 border-bottom: thin solid rgba(0, 0, 0, .26);
2698 background: #90c0e0;
2702 [data-page^="admin-status-realtime"] .td[id] {
2706 .td[data-title]::before {
2710 .cbi-button + .cbi-button {
2714 .td.cbi-section-actions > * > *,
2715 .td.cbi-section-actions > * > form > * {
2720 font-family: inherit;
2721 font-weight: normal;
2723 line-height: normal;
2724 position: static !important;
2730 background-color: #fff;
2731 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2734 .Firewall form input {
2735 width: 100% !important;
2741 .Firewall .center::before {
2742 text-align: left !important;
2746 width: 100% !important;
2750 @media screen and (max-width: 600px) {
2755 .cbi-progressbar::after {
2770 #maincontent > .container {
2771 margin: 0 1rem 1.5rem 1rem;
2774 .main > .main-left > .nav > .slide > .menu {
2778 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2785 min-width: 0 !important;
2787 margin-bottom: .5rem;
2792 .cbi-value-description {
2796 .cbi-value > .cbi-value-field {
2797 display: inline-block;
2805 .cbi-tabmenu > li > a,
2808 padding: .2rem .3rem;
2811 .cbi-page-actions > div > input {
2815 .cbi-page-actions > .cbi-button {
2819 .node-main-login > .main .container {
2820 margin: 2rem 1.2rem 1.5rem 1.2rem !important;
2821 padding: .3rem 1.7rem 2rem 1.6rem;
2824 .node-main-login > .main .cbi-value {
2828 .node-main-login > .main form > div:nth-last-child(1) {
2832 .node-main-login > .main .cbi-value-title {
2834 width: 100% !important;
2837 .node-main-login > .main fieldset {
2842 .commandbox p:first-of-type {
2846 #diag-rc-output > pre,
2847 #command-rc-output > pre {
2874 padding-bottom: 1rem;
2877 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2878 width: 100% !important;
2881 .node-system-packages > .main .cbi-value .cbi-value-field input {
2890 .td.cbi-value-field {
2894 .td.cbi-value-field[data-type="button"],
2895 .td.cbi-value-field[data-type="fvalue"] {
2900 .tr[data-title]::before,
2901 .tr.cbi-section-table-titles.named::before {
2915 .hide-xs:not([data-title="MAC-Address"]) {
2920 @media screen and (min-width: 600px) {
2921 ::-webkit-scrollbar {
2924 background: transparent;
2927 ::-webkit-scrollbar-thumb {
2928 background: #9e9e9e;
2931 ::-webkit-scrollbar-thumb:hover {
2932 background: #757575;
2935 ::-webkit-scrollbar-thumb:active {
2936 background: #424242;
2940 @media screen and (min-width: 1152px) {
2941 .cbi-value input[type="password"],
2942 .cbi-value input[type="text"] {
2946 .cbi-value-field .cbi-input-select {
2950 .cbi-value-field .cbi-dropdown {
2954 .cbi-section-node .tr {
2959 @media screen and (min-width: 1366px) {
2960 .cbi-value input[type="password"],
2961 .cbi-value input[type="text"] {
2965 .cbi-value-field .cbi-input-select {
2969 .cbi-value-field .cbi-dropdown {
2974 @media screen and (min-width: 1600px) {
2975 .cbi-value input[type="password"],
2976 .cbi-value input[type="text"] {
2980 .cbi-value-field .cbi-input-select {
2984 .cbi-value-field .cbi-dropdown {