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 > #logo {
432 margin: 0 3.5rem 0 1.5rem;
435 header > .fill > .container > #logo > img {
436 width: calc(0% + 10rem);
440 body:not(.logged-in) > header > .fill > .container > #logo {
444 header > .fill > .container > .brand {
448 vertical-align: text-bottom;
449 text-decoration: none;
451 color: var(--header-color);
454 header > .fill > .container > .status {
461 header > .fill > .container > .status > * {
474 background-color: #ff7d60 !important;
478 background-color: #f0e68c !important;
482 background-color: #5cb85c !important;
486 background-color: #5bc0de !important;
499 border-radius: 0 !important;
500 background-color: #fff;
501 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
502 text-shadow: 1px 1px rgba(0, 0, 0, .1);
505 .alert-message > h4 {
514 .alert-message .btn {
515 padding: .3rem .6rem;
519 .container .alert-message {
523 .main > .main-left > .nav {
527 .main > .main-left > .nav > li {
532 .main > .main-left > .nav > li:nth-last-child(1) {
538 .main > .main-left > .nav > li a {
541 color: var(--menu-color);
544 .main > .main-left > .nav > .slide {
548 .main > .main-left > .nav > .slide > ul {
552 .main > .main-left > .nav > .slide > .menu::before {
557 transform: scale(1.3, .75);
560 .main > .main-left > .nav > .slide > .menu.active::before {
564 .main > .main-left[style$="overflow: hidden;"] > .nav > .slide > .menu::before {
568 .main > .main-left > .nav > .slide > .menu {
573 text-decoration: none;
577 .main > .main-left > .nav > li:hover,
578 .main > .main-left > .nav > .slide > .menu:hover {
580 background: var(--submenu-bg-hover);
583 .main > .main-left > .nav > .slide:hover {
587 .main > .main-left > .nav > .slide > .slide-menu > li {
591 .main > .main-left > .nav > .slide > .slide-menu > .active {
592 background-color: #09c;
593 background-color: var(--submenu-bg-hover-active);
596 .main > .main-left > .nav > .slide > .slide-menu > li > a {
598 text-decoration: none;
601 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
605 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
607 background: var(--submenu-bg-hover);
610 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
612 color: var(--menu-color-hover);
615 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
617 background-color: #09c;
618 background-color: var(--main-color);
622 .main > .main-left > .nav > .slide > .menu,
623 .main > .main-left > .nav > .slide > .slide-menu > li {
626 transform: translate3d(0, 0, 0);
629 .main > .main-left > .nav > .slide > .menu:after,
630 .main > .main-left > .nav > .slide > .slide-menu > li:after {
638 transition: transform .5s, opacity 1s;
639 transform: scale(10, 10);
640 pointer-events: none;
642 background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
643 background-repeat: no-repeat;
644 background-position: 50%;
647 .main > .main-left > .nav > .slide > .menu:active:after,
648 .main > .main-left > .nav > .slide > .slide-menu > li:active:after {
650 transform: scale(0, 0);
654 #maincontent > .container {
655 margin: 0 2rem 1rem 2rem;
658 .Processes #maincontent > .container {
667 list-style-type: none;
672 padding-bottom: 10px;
673 border-bottom: thin solid #eee;
679 padding-bottom: 10px;
680 border-bottom: thin solid #eee;
686 padding-bottom: 10px;
692 padding-bottom: 10px;
698 padding-bottom: 10px;
703 #cbi-network > .cbi-section-node,
704 #cbi-wireless > .cbi-section-node,
705 #cbi-wireless > #wifi_assoclist_table,
706 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
707 [data-page="admin-system-opkg"] #maincontent > .container {
708 font-family: inherit;
717 background-color: #fff;
718 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
721 .cbi-map-descr + fieldset {
725 .cbi-section > legend {
726 display: none !important;
730 .cbi-section > .cbi-section {
737 .cbi-section > h3:first-child,
744 margin-bottom: .5rem;
745 padding-bottom: 1rem;
747 border-bottom: thin solid #eee;
752 border-collapse: collapse;
759 box-shadow: 0 0 0 1px #ddd;
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 > .tbody > .tr > .td,
769 .table > .tbody > .tr > .th,
770 .table > .tfoot > .tr > .td,
771 .table > .tfoot > .tr > .th,
772 .table > .thead > .tr > .td,
773 .table > .thead > .tr > .th,
774 .table > .tr > .td.cbi-value-field,
775 .table > .tr > .th.cbi-section-table-cell {
779 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
783 .cbi-section-table-cell {
785 align-self: flex-end;
793 .cbi-section-table-row::before,
794 #cbi-wireless > #wifi_assoclist_table > .tr:nth-child(2) {
795 border-top: thin solid #ddd;
799 .tr:first-child > .td,
801 #cbi-network .tr:first-child > .td,
802 .table[width="100%"] > .tr:first-child > .td,
803 [data-page="admin-network-diagnostics"] .tr > .td,
804 .tr.table-titles > .th,
805 .tr.cbi-section-table-titles > .th {
806 border-top: 0 !important;
809 .cbi-section-table-row {
811 text-align: center !important;
815 .cbi-section-table-row:last-child {
819 .cbi-section-table-row > .cbi-value-field .cbi-input-select,
820 .cbi-section-table-row > .cbi-value-field .cbi-input-text,
821 .cbi-section-table-row > .cbi-value-field .cbi-input-password,
822 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
826 .cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
827 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
828 width: calc(100% - 1.5rem);
831 .cbi-section-table-row .td {
832 text-align: center !important;
835 div > table > tbody > tr:nth-of-type(2n),
836 div > .table > .tr:nth-of-type(2n) {
837 background-color: #f9f9f9;
840 /* fix multiple table */
846 .cbi-value-field table,
847 .cbi-value-field .table {
851 td > table > tbody > tr > td,
852 .td > .table > .tbody > .tr > .td {
856 .cbi-value-field > table > tbody > tr > td,
857 .cbi-value-field > .table > .tbody > .tr > .td {
866 display: inline-block;
867 width: auto !important;
870 -webkit-user-select: none;
871 -moz-user-select: none;
872 -ms-user-select: none;
874 transition: all .2s ease-in-out;
876 vertical-align: middle;
878 text-decoration: none;
879 text-transform: uppercase;
880 color: rgba(0, 0, 0, .87);
882 border-radius: .2rem;
883 background-color: #f0f0f0;
884 background-image: none;
885 -webkit-appearance: none;
886 -ms-touch-action: manipulation;
887 touch-action: manipulation;
890 .cbi-button:not(select) {
891 -webkit-appearance: none !important;
894 form[method="post"] + form[method="post"],
895 .cbi-button + .cbi-button {
908 .cbi-page-actions .cbi-button-apply + .cbi-button-save:hover,
909 .cbi-page-actions .cbi-button-apply + .cbi-button-save:focus,
910 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
911 text-decoration: none;
919 box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2);
924 box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
928 .cbi-button:disabled {
930 pointer-events: none;
936 .alert-message [class="btn"],
937 .modal div[class="btn"],
943 .cbi-button[name="zero"],
944 .cbi-button[name="restart"],
945 .cbi-button[onclick="hide_empty(this)"] {
947 border: thin solid #bfbfbf;
948 background-color: #d4d4d4;
953 .cbi-page-actions .cbi-button-save,
954 .cbi-page-actions .cbi-button-apply + .cbi-button-save,
957 .cbi-button-positive,
959 .cbi-button[value="Enable"],
960 .cbi-button[value="Scan"],
961 .cbi-button[value^="Back"],
962 .cbi-button-neutral[onclick="handleConfig(event)"] {
965 border: thin solid #2e6da4;
966 background-color: #337ab7;
970 .cbi-page-actions .cbi-button-apply,
971 .cbi-section-actions .cbi-button-edit,
976 .cbi-button[value="Submit"],
977 .cbi-button[value$="Apply"],
978 .cbi-button[onclick="addKey(event)"] {
981 border: thin solid #46b8da;
982 background-color: #5bc0de;
987 .cbi-section-remove > .cbi-button,
990 .cbi-button-negative,
991 .cbi-button[value="Stop"],
992 .cbi-button[value="Kill"],
993 .cbi-button[onclick="reboot(this)"],
994 .cbi-button-neutral[value="Restart"] {
997 border: thin solid #d43f3a;
998 background-color: #d9534f;
1002 .btn[value="Dismiss"],
1003 .cbi-button[value="Terminate"],
1004 .cbi-button[value="Reset"],
1005 .cbi-button[value="Disabled"],
1006 .cbi-button[onclick^="iface_reconnect"],
1007 .cbi-button[onclick="handleReset(event)"],
1008 .cbi-button-neutral[value="Disable"] {
1009 font-weight: normal;
1011 border: thin solid #eea236;
1012 background-color: #f0ad4e;
1016 .cbi-button-success,
1017 .cbi-button-download,
1018 .cbi-button[name="backup"],
1019 .cbi-button[value="Upload"],
1020 .cbi-button[value="Save mtdblock"] {
1021 font-weight: normal;
1023 border: thin solid #4cae4c;
1024 background-color: #5cb85c;
1027 .cbi-page-actions .cbi-button-link:first-child {
1032 text-decoration: none;
1035 .cbi-value-field .cbi-button-add {
1040 .cbi-value-field .cbi-button-neutral {
1047 padding-left: .5rem;
1048 background-color: #fff;
1053 display: inline-block;
1057 .cbi-tabmenu > li > a,
1059 padding: .5rem .8rem;
1060 text-decoration: none;
1064 .tabs > li[class~="active"],
1066 margin-bottom: -.18751rem;
1069 color: var(--main-color);
1070 border-bottom: #09c;
1071 border-bottom: .2rem solid var(--main-color);
1074 .tabs > li[class~="active"] > a {
1076 color: var(--main-color);
1080 border-bottom: .18751rem solid #c9c9c9;
1084 border: thin solid #d4d4d4;
1088 .cbi-tabmenu > li:hover {
1089 background-color: #f1f1f1;
1092 .cbi-tabmenu > li[class~="cbi-tab"] {
1093 background-color: #fff;
1097 background-color: #d4d4d4;
1100 .cbi-section .cbi-section-remove:nth-of-type(2n),
1101 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1102 background-color: #f9f9f9;
1105 .cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
1106 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1107 background-color: #f9f9f9;
1110 .cbi-section-node-tabbed {
1113 border: thin solid #d4d4d4;
1117 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1118 background-color: #f9f9f9;
1122 .cbi-value-description {
1124 display: table-cell;
1127 .cbi-input-invalid {
1132 .cbi-section-error {
1134 line-height: 1.42857143;
1137 border: thin solid #f00;
1139 background-color: #fce6e6;
1142 .cbi-section-error ul {
1146 .cbi-section-error ul li {
1151 .cbi-value-helpicon > img {
1155 .cbi-value-helpicon:before {
1159 .cbi-value-description {
1161 padding: .5rem 0 0 0;
1166 display: table-cell;
1170 padding-right: 2rem;
1172 word-wrap: break-word;
1176 display: inline-block;
1178 padding: .3rem 1rem;
1185 .td[data-title]::before {
1189 content: attr(data-title) ":\20";
1191 white-space: nowrap;
1194 .tr.placeholder .td[data-title]::before {
1198 .tr[data-title]::before,
1199 .tr.cbi-section-table-titles.named::before {
1201 display: table-cell;
1205 content: attr(data-title) "\20";
1207 vertical-align: middle;
1208 white-space: normal;
1209 word-wrap: break-word;
1213 background-color: #f9f9f9;
1217 background-color: #eee;
1220 .cbi-rowstyle-2 .cbi-button-up,
1221 .cbi-rowstyle-2 .cbi-button-down,
1222 .cbi-rowstyle-2:first-child {
1223 background-color: #fff !important;
1226 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1227 width: auto !important;
1230 .td.cbi-section-actions {
1231 text-align: right !important;
1232 vertical-align: middle;
1235 .td.cbi-section-actions > * {
1236 display: inline-flex;
1239 .td.cbi-section-actions > * > *,
1240 .td.cbi-section-actions > * > form > * {
1244 .td.cbi-section-actions > * > form {
1245 display: inline-flex;
1253 line-height: 1.42857143;
1260 flex-direction: column;
1264 .cbi-dynlist > .item {
1267 margin: 0 2em 4px 0;
1270 pointer-events: none;
1272 border-bottom: 2px solid rgba(0, 0, 0, .26);
1275 .cbi-dynlist[name="sshkeys"] > .item {
1279 .cbi-dynlist > .item::after {
1284 display: inline-flex;
1288 pointer-events: auto;
1290 border: thin solid #d43f3a;
1291 background-color: #d9534f;
1294 .cbi-dynlist > .item > span {
1295 white-space: normal;
1296 word-break: break-word;
1302 display: inline-flex;
1308 .cbi-dropdown > ul {
1313 margin: 0 !important;
1318 .cbi-dropdown > ul.preview {
1322 .cbi-dropdown > .open {
1326 .cbi-dropdown > .open,
1327 .cbi-dropdown > .more {
1332 flex-direction: column;
1335 justify-content: center;
1340 .cbi-dropdown > .more,
1341 .cbi-dropdown > ul > li[placeholder] {
1345 text-shadow: 1px 1px 0 #fff;
1348 .cbi-dropdown > ul > li {
1351 align-items: center;
1357 white-space: nowrap;
1358 text-overflow: ellipsis;
1361 .cbi-dropdown > ul > li .hide-open {
1365 .cbi-dropdown > ul > li .hide-close {
1369 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1370 border-left: thin solid #ccc;
1373 .cbi-dropdown[empty] > ul {
1377 .cbi-dropdown > ul > li > form {
1381 pointer-events: none;
1384 .cbi-dropdown > ul > li img {
1385 margin-right: .25em;
1386 vertical-align: middle;
1389 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1394 .cbi-dropdown > ul > li input[type="text"] {
1398 .cbi-dropdown[open] {
1402 .cbi-dropdown[open] > ul.dropdown {
1409 max-height: 200px !important;
1410 border: thin solid #918e8c;
1411 background: #f6f6f6;
1412 box-shadow: 0 0 4px #918e8c;
1415 .cbi-dropdown > ul > li[display],
1416 .cbi-dropdown[open] > ul.preview,
1417 .cbi-dropdown[open] > ul.dropdown > li,
1418 .cbi-dropdown[multiple] > ul > li > label,
1419 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1420 .cbi-dropdown[multiple][more] > .more,
1421 .cbi-dropdown[multiple][empty] > .more {
1423 align-items: center;
1427 .cbi-dropdown[empty] > ul > li,
1428 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1429 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1433 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1437 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1441 .cbi-dropdown[open] > ul.dropdown > li {
1442 border-bottom: thin solid #ccc;
1445 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1446 background: #b0d0f0;
1449 .cbi-dropdown[open] > ul.dropdown > li.focus {
1450 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1453 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1458 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1462 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1466 .cbi-dropdown[disabled] {
1467 pointer-events: none;
1471 .cbi-dropdown .zonebadge {
1475 .cbi-dropdown[open] .zonebadge {
1487 transition: opacity .125s ease-in;
1489 background: rgba(0, 0, 0, .7);
1490 -webkit-overflow-scrolling: touch;
1495 align-items: center;
1504 border-radius: 3px !important;
1506 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1510 line-height: normal;
1517 font-size-adjust: .35;
1519 margin-bottom: .5em;
1521 white-space: pre-wrap;
1524 background-color: #101010;
1525 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1537 list-style-type: square;
1542 padding-left: .25rem;
1543 word-break: break-word;
1548 font-weight: normal;
1549 padding: .1rem .3rem;
1555 .modal .label.warning {
1556 background-color: #f0ad4e !important;
1560 padding: .3rem .6rem;
1567 body.modal-overlay-active {
1572 body.modal-overlay-active #modal_overlay {
1580 padding-left: 32px !important;
1590 background: url(../resources/icons/loading.gif) no-repeat center;
1591 background-size: 16px;
1601 text-align: left !important;
1606 text-align: right !important;
1611 text-align: center !important;
1615 align-self: flex-start !important;
1616 vertical-align: top !important;
1620 align-self: flex-end !important;
1621 vertical-align: bottom !important;
1633 .cbi-page-actions > form[method="post"] {
1634 display: inline-block;
1638 .cbi-value input[type="password"],
1639 .cbi-value input[type="text"] {
1644 .cbi-value-field .cbi-dropdown,
1645 .cbi-value-field .cbi-input-select {
1649 .cbi-value-field .cbi-input-invalid {
1651 border-bottom-color: #f00;
1660 border: thin solid #999;
1664 .cbi-progressbar > div {
1667 transition: width .25s ease-in;
1668 background: #5bc0de;
1669 background: var(--bar-bg);
1672 .cbi-progressbar::after {
1673 font-family: monospace;
1676 font-size-adjust: .38;
1677 line-height: normal;
1684 content: attr(title);
1687 text-overflow: ellipsis;
1688 text-shadow: 0 0 2px #eee;
1691 .th[data-type="button"],
1692 .td[data-type="button"],
1693 .th[data-type="fvalue"],
1694 .td[data-type="fvalue"] {
1700 display: inline-flex;
1701 padding: .5rem .8rem;
1702 border-bottom: thin solid #ccc;
1704 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
1710 background-color: #f0f0f0;
1715 display: inline-block;
1716 align-self: flex-start;
1720 .ifacebadge > img + img {
1721 margin: 0 .2rem 0 0;
1724 .network-status-table {
1729 .network-status-table .ifacebox {
1734 .network-status-table .ifacebox-body {
1736 flex-direction: column;
1740 .network-status-table .ifacebox-body > span {
1744 .network-status-table .ifacebox-body > div {
1749 .network-status-table .ifacebox-body .ifacebadge {
1750 align-items: center;
1753 margin: .5em .25em 0 .25em;
1755 background-color: #fff;
1759 .cbi-input-textarea {
1760 font-family: monospace;
1771 margin-bottom: 20px;
1777 background-color: #101010;
1778 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1785 /* config changes */
1787 font-family: monospace;
1790 .uci-change-list ins,
1791 .uci-change-legend-label ins {
1794 text-decoration: none;
1795 border: thin solid #0f0;
1796 background-color: #cfc;
1799 .uci-change-list del,
1800 .uci-change-legend-label del {
1804 text-decoration: none;
1805 border: thin solid #f00;
1806 background-color: #fcc;
1809 .uci-change-list var,
1810 .uci-change-legend-label var {
1814 text-decoration: none;
1815 border: thin solid #ccc;
1816 background-color: #eee;
1819 .uci-change-list var ins,
1820 .uci-change-list var del {
1827 .uci-change-legend {
1831 .uci-change-legend-label {
1836 .uci-change-legend-label > ins,
1837 .uci-change-legend-label > del,
1838 .uci-change-legend-label > var {
1846 .uci-change-legend-label var ins,
1847 .uci-change-legend-label var del {
1852 .uci-change-list var,
1853 .uci-change-list del,
1854 .uci-change-list ins {
1862 border: thin solid #d4d4d4 !important;
1866 [data-page="admin-status-realtime-bandwidth"] #bwsvg {
1867 border-top: 0 !important;
1872 display: inline-flex;
1873 flex-direction: column;
1875 border-bottom: thin solid #ccc;
1876 background-color: #f9f9f9;
1877 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2);
1885 .ifacebox-head.active {
1886 background: #5bc0de;
1887 background: var(--bar-bg);
1899 display: inline-block;
1900 padding: .2rem .5rem;
1903 .zonebadge .ifacebadge {
1904 margin: .1rem .2rem;
1905 padding: .2rem .3rem;
1906 border: thin solid #6c6c6c;
1909 .zonebadge > input[type="text"] {
1912 padding: .16rem 1rem;
1916 .zonebadge > strong {
1917 display: inline-block;
1921 .cbi-value-field .cbi-input-checkbox,
1922 .cbi-value-field .cbi-input-radio {
1926 .cbi-value-field > ul > li {
1930 .cbi-value-field > ul > li > label {
1934 .cbi-value-field > ul > li .ifacebadge {
1937 background-color: #eee;
1940 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1944 .cbi-section-create {
1945 display: inline-flex;
1946 align-items: center;
1950 .cbi-section-create > * {
1954 .cbi-section-remove {
1959 td.cbi-value-field var,
1960 .td.cbi-value-field var {
1967 line-height: 1.42857143;
1968 white-space: normal;
1974 display: inline-block;
1976 padding: .2rem .3rem;
1980 padding: 1rem 1rem 0 1rem;
1981 border-top: thin solid #ccc;
1984 .cbi-dropdown-container {
1988 .cbi-tooltip-container,
1990 span[data-tooltip] .label {
1991 cursor: help !important;
1999 transition: opacity .25s ease-out;
2001 pointer-events: none;
2005 box-shadow: 0 0 2px #444;
2008 .cbi-tooltip-container:hover .cbi-tooltip {
2010 transition: opacity .25s ease-in;
2014 .zonebadge .cbi-tooltip {
2015 margin: -1.5rem 0 0 -.5rem;
2017 background: inherit;
2022 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);
2030 .zone-forwards > * {
2034 .zone-forwards > span {
2040 .zone-forwards .zone-src,
2041 .zone-forwards .zone-dest {
2043 flex-direction: column;
2049 padding: .3rem .8rem;
2050 white-space: nowrap;
2051 text-decoration: none;
2052 text-transform: uppercase;
2053 color: #fff !important;
2054 -webkit-border-radius: 3px;
2055 -moz-border-radius: 3px;
2057 background-color: #bfbfbf;
2061 label > input[type="checkbox"],
2062 label > input[type="radio"] {
2067 vertical-align: bottom;
2081 background-color: rgba(0, 0, 0, .56);
2085 #diag-rc-output > pre,
2086 #command-rc-output > pre {
2088 font-size-adjust: .35;
2089 line-height: normal;
2095 background-color: #101010;
2096 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2099 [data-page="admin-network-diagnostics"] .table {
2104 input[name="traceroute"],
2105 input[name="nslookup"] {
2109 /* fix Main Login */
2110 .node-main-login > .main > .main-left {
2114 .node-main-login > .main > .main-right {
2118 .node-main-login > .main fieldset {
2121 margin-bottom: 1rem;
2128 .node-main-login > .main .cbi-value-title {
2132 .node-main-login > .main #maincontent {
2136 .node-main-login > .main .container {
2137 display: inline-block;
2138 margin-top: 2rem !important;
2139 padding: 1rem 3.5rem 2rem;
2141 background-color: #fff;
2142 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2145 .node-main-login > .main form > div:nth-last-child(1) {
2149 .node-main-login > .main .cbi-value {
2153 .node-main-login > .main .cbi-value > * {
2154 display: inline-block !important;
2157 .node-main-login > .main .cbi-input-text {
2161 .node-main-login .cbi-section {
2165 @media screen and (min-height: 585px) {
2166 .node-main-login footer {
2173 /* fix status overview */
2174 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2175 white-space: normal;
2178 /* fix status processes */
2179 .node-status-processes > .main .table .tr .td:nth-child(3) {
2180 white-space: normal;
2183 .node-admin-status form {
2184 margin: 2rem 2rem 0 0;
2187 /* fix system reboot */
2188 [data-page="admin-system-reboot"] p {
2192 [data-page="admin-system-reboot"] p > span {
2199 #cbi-samba .cbi-value-last .cbi-value-field {
2203 #cbi-samba .cbi-value-last .cbi-value-title {
2205 padding-bottom: .6rem;
2209 .controls > * > .btn:not([aria-label$="page"]) {
2210 flex-grow: initial !important;
2214 .controls > #pager > .btn[aria-label$="page"] {
2219 .controls > * > label {
2220 margin-bottom: .2rem;
2223 [data-page="admin-system-opkg"] div.btn {
2226 padding: .3rem .6rem;
2229 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
2230 [data-page="admin-system-opkg"] #maincontent > .container {
2235 [data-page="admin-system-opkg"] #maincontent > .container {
2237 margin-bottom: 1rem;
2242 white-space: normal !important;
2243 word-break: break-word;
2246 .cbi-tabmenu + .cbi-section {
2250 /* wireless overview */
2251 #cbi-wireless > #wifi_assoclist_table > .tr {
2252 box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd;
2255 #cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td {
2259 border-top: thin solid #ddd !important;
2262 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles {
2263 box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd;
2266 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th {
2267 border-bottom: thin solid #ddd;
2268 box-shadow: 0 -1px 0 0 #ddd;
2271 #wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] {
2277 font-family: inherit;
2278 font-weight: normal;
2286 background-color: #fff;
2289 #cbi-firewall-redirect table *,
2290 #cbi-network-switch_vlan table *,
2291 #cbi-firewall-zone table * {
2295 #cbi-firewall-redirect table input[type="text"],
2296 #cbi-network-switch_vlan table input[type="text"],
2297 #cbi-firewall-zone table input[type="text"] {
2301 #cbi-firewall-redirect table select,
2302 #cbi-network-switch_vlan table select,
2303 #cbi-firewall-zone table select {
2307 #cbi-network-switch_vlan .th,
2308 #cbi-network-switch_vlan .td {
2312 #cbi-firewall-zone .table,
2313 #cbi-network-switch_vlan .table {
2317 #cbi-firewall-zone .td.cbi-section-actions {
2321 /* applyreboot fix */
2322 #applyreboot-container {
2326 #applyreboot-section {
2331 /* openvpn bug fix */
2333 line-height: initial !important;
2336 /* custom commands */
2338 width: 24% !important;
2339 padding: .5rem 1rem;
2340 border-bottom: thin solid #ccc;
2342 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
2346 line-height: normal !important;
2348 margin: 6px 0 !important;
2349 white-space: nowrap;
2350 text-overflow: ellipsis;
2354 left: auto !important;
2366 text-overflow: ellipsis;
2369 .commandbox p:first-of-type {
2373 .commandbox p:nth-of-type(2) {
2377 [data-page^="admin-system-commands"] .panel-title,
2378 [data-page^="command-cfg"] .mobile-hide,
2379 [data-page^="command-cfg"] header > .fill > .container > #logo {
2383 #command-rc-output .alert-message {
2384 line-height: 1.42857143;
2390 animation: anim-fade-in 1.5s forwards;
2394 @keyframes anim-fade-in {
2400 @media screen and (max-width: 1600px) {
2401 header > .fill > .container > #logo {
2402 margin: 0 2.5rem 0 .5rem;
2406 width: calc(0% + 13rem);
2410 width: calc(100% - 13rem);
2413 .cbi-dynlist > .item {
2420 padding: .3rem .6rem;
2424 padding: .2rem .6rem;
2429 padding-right: .6rem;
2437 .cbi-input-textarea {
2441 .node-admin-status > .main fieldset li > a {
2442 padding: .3rem .6rem;
2445 #cbi-firewall-zone > .table {
2450 @media screen and (max-width: 1366px) {
2455 header > .fill > .container {
2462 height: calc(100% - 3.5rem);
2467 width: calc(0% + 13rem);
2468 height: calc(100% - 3.5rem);
2472 width: calc(100% - 13rem);
2475 .cbi-dynlist > .item {
2479 .cbi-tabmenu > li > a,
2481 padding: .2rem .5rem;
2486 padding-bottom: 1rem;
2490 font-size: .7rem !important;
2491 width: 100% !important;
2494 .table .cbi-input-text {
2498 .main > .main-left > .nav > li,
2499 .main > .main-left > .nav > li a,
2500 .main > .main-left > .nav > .slide > .menu {
2504 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2512 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) {
2516 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table),
2517 [data-page="admin-network-firewall-rules"] .table:not(.cbi-section-table),
2518 [data-page="admin-network-hosts"] .table {
2519 overflow-y: visible;
2523 width: 32% !important;
2527 @media screen and (max-width: 1152px) {
2528 header > .fill > .container > #logo {
2532 header > .fill > .container > .brand {
2536 [data-page^="command-cfg"] header > .fill > .container > .brand {
2538 margin-top: -1.75rem;
2543 overflow-y: visible;
2556 .cbi-dynlist > .item {
2561 display: inline-block;
2563 margin-right: .5rem;
2574 body:not(.logged-in) .showSide {
2581 .node-main-login > .main .cbi-value-title {
2587 padding-right: 1rem;
2590 #diag-rc-output > pre,
2591 #command-rc-output > pre {
2605 flex-direction: row;
2609 .Overview .table[width="100%"] > .tr {
2614 border-bottom: thin solid #ddd;
2617 .tr.placeholder > .td,
2618 #cbi-firewall .tr > .td,
2619 #iptables .tr:nth-child(2) > .td,
2620 #cbi-network .tr:nth-child(2) > .td,
2621 .cbi-section #wifi_assoclist_table .tr > .td {
2627 display: inline-block;
2628 align-self: flex-start;
2630 text-overflow: ellipsis;
2631 word-wrap: break-word;
2635 .td input[type="text"] {
2640 .td [data-dynlist] > input,
2641 .td input.cbi-input-password {
2642 width: calc(100% - 1.5rem);
2645 .td[data-type="button"],
2646 .td[data-type="fvalue"] {
2651 .th.cbi-value-field,
2652 .td.cbi-value-field,
2653 .th.cbi-section-table-cell,
2654 .td.cbi-section-table-cell {
2659 .cbi-section-table-row {
2661 flex-direction: row;
2663 justify-content: space-between;
2664 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2667 .td.cbi-value-field,
2668 .cbi-section-table-cell {
2669 display: inline-block;
2675 .td.cbi-section-actions {
2676 vertical-align: bottom;
2680 .tr.cbi-section-table-titles,
2681 .tr.cbi-section-table-descr {
2685 .tr[data-title]::before,
2686 .tr.cbi-section-table-titles.named::before {
2690 border-bottom: thin solid rgba(0, 0, 0, .26);
2691 background: #90c0e0;
2695 [data-page^="admin-status-realtime"] .td[id] {
2699 .td[data-title]::before {
2703 .cbi-button + .cbi-button {
2707 .td.cbi-section-actions > * > *,
2708 .td.cbi-section-actions > * > form > * {
2713 font-family: inherit;
2714 font-weight: normal;
2716 line-height: normal;
2717 position: static !important;
2723 background-color: #fff;
2724 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2727 .Firewall form input {
2728 width: 100% !important;
2734 .Firewall .center::before {
2735 text-align: left !important;
2739 width: 100% !important;
2743 @media screen and (max-width: 600px) {
2748 .cbi-progressbar::after {
2763 #maincontent > .container {
2764 margin: 0 1rem 1.5rem 1rem;
2767 .main > .main-left > .nav > .slide > .menu {
2771 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2778 min-width: 0 !important;
2780 margin-bottom: .5rem;
2785 .cbi-value-description {
2789 .cbi-value > .cbi-value-field {
2790 display: inline-block;
2798 .cbi-tabmenu > li > a,
2801 padding: .2rem .3rem;
2804 .cbi-page-actions > div > input {
2808 .cbi-page-actions > .cbi-button {
2812 .node-main-login > .main .container {
2813 margin: 2rem 1.2rem 1.5rem 1.2rem !important;
2814 padding: .3rem 1.7rem 2rem 1.6rem;
2817 .node-main-login > .main .cbi-value {
2821 .node-main-login > .main form > div:nth-last-child(1) {
2825 .node-main-login > .main .cbi-value-title {
2827 width: 100% !important;
2830 .node-main-login > .main fieldset {
2835 .commandbox p:first-of-type {
2839 #diag-rc-output > pre,
2840 #command-rc-output > pre {
2867 padding-bottom: 1rem;
2870 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2871 width: 100% !important;
2874 .node-system-packages > .main .cbi-value .cbi-value-field input {
2883 .td.cbi-value-field {
2887 .td.cbi-value-field[data-type="button"],
2888 .td.cbi-value-field[data-type="fvalue"] {
2893 .tr[data-title]::before,
2894 .tr.cbi-section-table-titles.named::before {
2908 .hide-xs:not([data-title="MAC-Address"]) {
2913 @media screen and (min-width: 1152px) {
2914 .cbi-value input[type="password"],
2915 .cbi-value input[type="text"] {
2919 .cbi-value-field .cbi-input-select {
2923 .cbi-value-field .cbi-dropdown {
2927 .cbi-section-node .tr {
2932 @media screen and (min-width: 1366px) {
2933 .cbi-value input[type="password"],
2934 .cbi-value input[type="text"] {
2938 .cbi-value-field .cbi-input-select {
2942 .cbi-value-field .cbi-dropdown {
2947 @media screen and (min-width: 1600px) {
2948 .cbi-value input[type="password"],
2949 .cbi-value input[type="text"] {
2953 .cbi-value-field .cbi-input-select {
2957 .cbi-value-field .cbi-dropdown {