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;
574 color: var(--menu-color);
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;
1111 [data-tab-active="true"] {
1115 transition: opacity .25s ease-in;
1118 .cbi-section[id] .cbi-section-remove:nth-of-type(4n+3),
1119 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1120 background-color: #f9f9f9;
1123 .cbi-section-node-tabbed {
1126 border: thin solid #d4d4d4;
1130 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1131 background-color: #f9f9f9;
1135 .cbi-value-description {
1137 display: table-cell;
1140 .cbi-input-invalid {
1145 .cbi-section-error {
1147 line-height: 1.42857143;
1150 border: thin solid #f00;
1152 background-color: #fce6e6;
1155 .cbi-section-error ul {
1159 .cbi-section-error ul li {
1164 .cbi-value-helpicon > img {
1168 .cbi-value-helpicon:before {
1172 .cbi-value-description {
1174 padding: .5rem 0 0 0;
1179 display: table-cell;
1183 padding-right: 2rem;
1185 word-wrap: break-word;
1189 display: inline-block;
1191 padding: .3rem 1rem;
1198 .td[data-title]::before {
1202 content: attr(data-title) ":\20";
1204 white-space: nowrap;
1207 .tr.placeholder .td[data-title]::before {
1211 .tr[data-title]::before,
1212 .tr.cbi-section-table-titles.named::before {
1214 display: table-cell;
1218 content: attr(data-title) "\20";
1220 vertical-align: middle;
1221 white-space: normal;
1222 word-wrap: break-word;
1226 background-color: #f9f9f9;
1230 background-color: #eee;
1233 .cbi-rowstyle-2 .cbi-button-up,
1234 .cbi-rowstyle-2 .cbi-button-down,
1235 .cbi-rowstyle-2:first-child {
1236 background-color: #fff !important;
1239 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1240 width: auto !important;
1243 .td.cbi-section-actions {
1244 text-align: right !important;
1245 vertical-align: middle;
1248 .td.cbi-section-actions > * {
1249 display: inline-flex;
1252 .td.cbi-section-actions > * > *,
1253 .td.cbi-section-actions > * > form > * {
1257 .td.cbi-section-actions > * > form {
1258 display: inline-flex;
1266 line-height: 1.42857143;
1273 flex-direction: column;
1277 .cbi-dynlist > .item {
1280 margin: 0 2em 4px 0;
1283 pointer-events: none;
1285 border-bottom: 2px solid rgba(0, 0, 0, .26);
1288 .cbi-dynlist[name="sshkeys"] > .item {
1292 .cbi-dynlist > .item::after {
1297 display: inline-flex;
1301 pointer-events: auto;
1303 border: thin solid #d43f3a;
1304 background-color: #d9534f;
1307 .cbi-dynlist > .item > span {
1308 white-space: normal;
1309 word-break: break-word;
1315 display: inline-flex;
1321 .cbi-dropdown > ul {
1326 margin: 0 !important;
1331 .cbi-dropdown > ul.preview {
1335 .cbi-dropdown > .open {
1339 .cbi-dropdown > .open,
1340 .cbi-dropdown > .more {
1345 flex-direction: column;
1348 justify-content: center;
1353 .cbi-dropdown > .more,
1354 .cbi-dropdown > ul > li[placeholder] {
1358 text-shadow: 1px 1px 0 #fff;
1361 .cbi-dropdown > ul > li {
1364 align-items: center;
1370 white-space: nowrap;
1371 text-overflow: ellipsis;
1374 .cbi-dropdown > ul > li .hide-open {
1378 .cbi-dropdown > ul > li .hide-close {
1382 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1383 border-left: thin solid #ccc;
1386 .cbi-dropdown[empty] > ul {
1390 .cbi-dropdown > ul > li > form {
1394 pointer-events: none;
1397 .cbi-dropdown > ul > li img {
1398 margin-right: .25em;
1399 vertical-align: middle;
1402 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1407 .cbi-dropdown > ul > li input[type="text"] {
1411 .cbi-dropdown[open] {
1415 .cbi-dropdown[open] > ul.dropdown {
1422 max-height: 200px !important;
1423 border: thin solid #918e8c;
1424 background: #f6f6f6;
1425 box-shadow: 0 0 4px #918e8c;
1428 .cbi-dropdown > ul > li[display],
1429 .cbi-dropdown[open] > ul.preview,
1430 .cbi-dropdown[open] > ul.dropdown > li,
1431 .cbi-dropdown[multiple] > ul > li > label,
1432 .cbi-dropdown[multiple][open] > ul.dropdown > li,
1433 .cbi-dropdown[multiple][more] > .more,
1434 .cbi-dropdown[multiple][empty] > .more {
1436 align-items: center;
1440 .cbi-dropdown[empty] > ul > li,
1441 .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
1442 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1446 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1450 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1454 .cbi-dropdown[open] > ul.dropdown > li {
1455 border-bottom: thin solid #ccc;
1458 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1459 background: #b0d0f0;
1462 .cbi-dropdown[open] > ul.dropdown > li.focus {
1463 background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
1466 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1471 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1475 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1479 .cbi-dropdown[disabled] {
1480 pointer-events: none;
1484 .cbi-dropdown .zonebadge {
1488 .cbi-dropdown[open] .zonebadge {
1500 transition: opacity .125s ease-in;
1502 background: rgba(0, 0, 0, .7);
1503 -webkit-overflow-scrolling: touch;
1508 align-items: center;
1517 border-radius: 3px !important;
1519 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1523 line-height: normal;
1530 font-size-adjust: .35;
1532 margin-bottom: .5em;
1534 white-space: pre-wrap;
1537 background-color: #101010;
1538 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1550 list-style-type: square;
1555 padding-left: .25rem;
1556 word-break: break-word;
1561 font-weight: normal;
1562 padding: .1rem .3rem;
1568 .modal .label.warning {
1569 background-color: #f0ad4e !important;
1573 padding: .3rem .6rem;
1580 body.modal-overlay-active {
1585 body.modal-overlay-active #modal_overlay {
1593 padding-left: 32px !important;
1603 background: url(../resources/icons/loading.gif) no-repeat center;
1604 background-size: 16px;
1614 text-align: left !important;
1619 text-align: right !important;
1624 text-align: center !important;
1628 align-self: flex-start !important;
1629 vertical-align: top !important;
1633 align-self: flex-end !important;
1634 vertical-align: bottom !important;
1646 .cbi-page-actions > form[method="post"] {
1647 display: inline-block;
1651 .cbi-value input[type="password"],
1652 .cbi-value input[type="text"] {
1657 .cbi-value-field .cbi-dropdown,
1658 .cbi-value-field .cbi-input-select {
1662 .cbi-value-field .cbi-input-invalid {
1664 border-bottom-color: #f00;
1673 border: thin solid #999;
1677 .cbi-progressbar > div {
1680 transition: width .25s ease-in;
1681 background: #5bc0de;
1682 background: var(--bar-bg);
1685 .cbi-progressbar::after {
1686 font-family: monospace;
1689 font-size-adjust: .38;
1690 line-height: normal;
1697 content: attr(title);
1700 text-overflow: ellipsis;
1701 text-shadow: 0 0 2px #eee;
1704 .th[data-type="button"],
1705 .td[data-type="button"],
1706 .th[data-type="fvalue"],
1707 .td[data-type="fvalue"] {
1713 display: inline-flex;
1714 padding: .5rem .8rem;
1715 border-bottom: thin solid #ccc;
1717 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
1723 background-color: #f0f0f0;
1728 display: inline-block;
1729 align-self: flex-start;
1733 .ifacebadge > img + img {
1734 margin: 0 .2rem 0 0;
1737 .network-status-table {
1742 .network-status-table .ifacebox {
1747 .network-status-table .ifacebox-body {
1749 flex-direction: column;
1753 .network-status-table .ifacebox-body > span {
1757 .network-status-table .ifacebox-body > div {
1762 .network-status-table .ifacebox-body .ifacebadge {
1763 align-items: center;
1766 margin: .5em .25em 0 .25em;
1768 background-color: #fff;
1772 .cbi-input-textarea {
1773 font-family: monospace;
1784 margin-bottom: 20px;
1790 background-color: #101010;
1791 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1798 /* config changes */
1800 font-family: monospace;
1803 .uci-change-list ins,
1804 .uci-change-legend-label ins {
1807 text-decoration: none;
1808 border: thin solid #0f0;
1809 background-color: #cfc;
1812 .uci-change-list del,
1813 .uci-change-legend-label del {
1817 text-decoration: none;
1818 border: thin solid #f00;
1819 background-color: #fcc;
1822 .uci-change-list var,
1823 .uci-change-legend-label var {
1827 text-decoration: none;
1828 border: thin solid #ccc;
1829 background-color: #eee;
1832 .uci-change-list var ins,
1833 .uci-change-list var del {
1840 .uci-change-legend {
1844 .uci-change-legend-label {
1849 .uci-change-legend-label > ins,
1850 .uci-change-legend-label > del,
1851 .uci-change-legend-label > var {
1859 .uci-change-legend-label var ins,
1860 .uci-change-legend-label var del {
1865 .uci-change-list var,
1866 .uci-change-list del,
1867 .uci-change-list ins {
1875 border: thin solid #d4d4d4 !important;
1879 [data-page="admin-status-realtime-bandwidth"] #bwsvg {
1880 border-top: 0 !important;
1885 display: inline-flex;
1886 flex-direction: column;
1888 border-bottom: thin solid #ccc;
1889 background-color: #f9f9f9;
1890 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2);
1898 .ifacebox-head.active {
1899 background: #5bc0de;
1900 background: var(--bar-bg);
1912 display: inline-block;
1913 padding: .2rem .5rem;
1916 .zonebadge .ifacebadge {
1917 margin: .1rem .2rem;
1918 padding: .2rem .3rem;
1919 border: thin solid #6c6c6c;
1922 .zonebadge > input[type="text"] {
1925 padding: .16rem 1rem;
1929 .zonebadge > strong {
1930 display: inline-block;
1934 .cbi-value-field .cbi-input-checkbox,
1935 .cbi-value-field .cbi-input-radio {
1939 .cbi-value-field > ul > li {
1943 .cbi-value-field > ul > li > label {
1947 .cbi-value-field > ul > li .ifacebadge {
1950 background-color: #eee;
1953 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1957 .cbi-section-create {
1958 display: inline-flex;
1959 align-items: center;
1963 .cbi-section-create > * {
1967 .cbi-section-remove {
1972 td.cbi-value-field var,
1973 .td.cbi-value-field var {
1980 line-height: 1.42857143;
1981 white-space: normal;
1987 display: inline-block;
1989 padding: .2rem .3rem;
1993 padding: 1rem 1rem 0 1rem;
1994 border-top: thin solid #ccc;
1997 .cbi-dropdown-container {
2001 .cbi-tooltip-container,
2003 span[data-tooltip] .label {
2004 cursor: help !important;
2012 transition: opacity .25s ease-out;
2014 pointer-events: none;
2018 box-shadow: 0 0 2px #444;
2021 .cbi-tooltip-container:hover .cbi-tooltip {
2023 transition: opacity .25s ease-in;
2027 .zonebadge .cbi-tooltip {
2028 margin: -1.5rem 0 0 -.5rem;
2030 background: inherit;
2035 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);
2043 .zone-forwards > * {
2047 .zone-forwards > span {
2053 .zone-forwards .zone-src,
2054 .zone-forwards .zone-dest {
2056 flex-direction: column;
2062 padding: .3rem .8rem;
2063 white-space: nowrap;
2064 text-decoration: none;
2065 text-transform: uppercase;
2066 color: #fff !important;
2067 -webkit-border-radius: 3px;
2068 -moz-border-radius: 3px;
2070 background-color: #bfbfbf;
2074 label > input[type="checkbox"],
2075 label > input[type="radio"] {
2080 vertical-align: bottom;
2094 background-color: rgba(0, 0, 0, .56);
2098 #diag-rc-output > pre,
2099 #command-rc-output > pre {
2101 font-size-adjust: .35;
2102 line-height: normal;
2108 background-color: #101010;
2109 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2112 [data-page="admin-network-diagnostics"] .table {
2117 input[name="traceroute"],
2118 input[name="nslookup"] {
2122 /* fix Main Login */
2123 .node-main-login > .main > .main-left {
2127 .node-main-login > .main > .main-right {
2131 .node-main-login > .main fieldset {
2134 margin-bottom: 1rem;
2141 .node-main-login > .main .cbi-value-title {
2145 .node-main-login > .main #maincontent {
2149 .node-main-login > .main .container {
2150 display: inline-block;
2151 margin-top: 2rem !important;
2152 padding: 1rem 3.5rem 2rem;
2154 background-color: #fff;
2155 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2158 .node-main-login > .main form > div:nth-last-child(1) {
2162 .node-main-login > .main .cbi-value {
2166 .node-main-login > .main .cbi-value > * {
2167 display: inline-block !important;
2170 .node-main-login > .main .cbi-input-text {
2174 .node-main-login .cbi-section {
2178 @media screen and (min-height: 585px) {
2179 .node-main-login footer {
2186 /* fix status overview */
2187 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2188 white-space: normal;
2191 /* fix status processes */
2192 .node-status-processes > .main .table .tr .td:nth-child(3) {
2193 white-space: normal;
2196 .node-admin-status form {
2197 margin: 2rem 2rem 0 0;
2200 /* fix system reboot */
2201 [data-page="admin-system-reboot"] p {
2205 [data-page="admin-system-reboot"] p > span {
2212 #cbi-samba .cbi-value-last .cbi-value-field {
2216 #cbi-samba .cbi-value-last .cbi-value-title {
2218 padding-bottom: .6rem;
2222 .controls > * > .btn:not([aria-label$="page"]) {
2223 flex-grow: initial !important;
2227 .controls > #pager > .btn[aria-label$="page"] {
2232 .controls > * > label {
2233 margin-bottom: .2rem;
2236 [data-page="admin-system-opkg"] div.btn {
2239 padding: .3rem .6rem;
2242 [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
2243 [data-page="admin-system-opkg"] #maincontent > .container {
2248 [data-page="admin-system-opkg"] #maincontent > .container {
2250 margin-bottom: 1rem;
2255 white-space: normal !important;
2256 word-break: break-word;
2259 .cbi-tabmenu + .cbi-section {
2263 /* wireless overview */
2264 #cbi-wireless > #wifi_assoclist_table > .tr {
2265 box-shadow: inset 1px -1px 0 #ddd, inset -1px -1px 0 #ddd;
2268 #cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td {
2272 border-top: thin solid #ddd !important;
2275 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles {
2276 box-shadow: inset 1px 0 0 #ddd, inset -1px 0 0 #ddd;
2279 #cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th {
2280 border-bottom: thin solid #ddd;
2281 box-shadow: 0 -1px 0 0 #ddd;
2284 #wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] {
2290 font-family: inherit;
2291 font-weight: normal;
2299 background-color: #fff;
2302 #cbi-firewall-redirect table *,
2303 #cbi-network-switch_vlan table *,
2304 #cbi-firewall-zone table * {
2308 #cbi-firewall-redirect table input[type="text"],
2309 #cbi-network-switch_vlan table input[type="text"],
2310 #cbi-firewall-zone table input[type="text"] {
2314 #cbi-firewall-redirect table select,
2315 #cbi-network-switch_vlan table select,
2316 #cbi-firewall-zone table select {
2320 #cbi-network-switch_vlan .th,
2321 #cbi-network-switch_vlan .td {
2325 #cbi-firewall-zone .table,
2326 #cbi-network-switch_vlan .table {
2330 #cbi-firewall-zone .td.cbi-section-actions {
2334 /* applyreboot fix */
2335 #applyreboot-container {
2339 #applyreboot-section {
2344 /* openvpn bug fix */
2346 line-height: initial !important;
2349 /* custom commands */
2351 width: 24% !important;
2352 padding: .5rem 1rem;
2353 border-bottom: thin solid #ccc;
2355 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
2359 line-height: normal !important;
2361 margin: 6px 0 !important;
2362 white-space: nowrap;
2363 text-overflow: ellipsis;
2367 left: auto !important;
2379 text-overflow: ellipsis;
2382 .commandbox p:first-of-type {
2386 .commandbox p:nth-of-type(2) {
2390 [data-page^="admin-system-commands"] .panel-title,
2391 [data-page^="command-cfg"] .mobile-hide,
2392 [data-page^="command-cfg"] header > .fill > .container > #logo {
2396 #command-rc-output .alert-message {
2397 line-height: 1.42857143;
2403 animation: anim-fade-in 1.5s forwards;
2407 @keyframes anim-fade-in {
2413 @media screen and (max-width: 1600px) {
2414 header > .fill > .container > #logo {
2415 margin: 0 2.5rem 0 .5rem;
2419 width: calc(0% + 13rem);
2423 width: calc(100% - 13rem);
2426 .cbi-dynlist > .item {
2433 padding: .3rem .6rem;
2437 padding: .2rem .6rem;
2442 padding-right: .6rem;
2450 .cbi-input-textarea {
2454 .node-admin-status > .main fieldset li > a {
2455 padding: .3rem .6rem;
2458 #cbi-firewall-zone > .table {
2463 @media screen and (max-width: 1366px) {
2468 header > .fill > .container {
2475 height: calc(100% - 3.5rem);
2480 width: calc(0% + 13rem);
2481 height: calc(100% - 3.5rem);
2485 width: calc(100% - 13rem);
2488 .cbi-dynlist > .item {
2492 .cbi-tabmenu > li > a,
2494 padding: .2rem .5rem;
2499 padding-bottom: 1rem;
2503 font-size: .7rem !important;
2504 width: 100% !important;
2507 .table .cbi-input-text {
2511 .main > .main-left > .nav > li,
2512 .main > .main-left > .nav > li a,
2513 .main > .main-left > .nav > .slide > .menu {
2517 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2525 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) {
2529 [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table),
2530 [data-page="admin-network-firewall-rules"] .table:not(.cbi-section-table),
2531 [data-page="admin-network-hosts"] .table {
2532 overflow-y: visible;
2536 width: 32% !important;
2540 @media screen and (max-width: 1152px) {
2541 header > .fill > .container > #logo {
2545 header > .fill > .container > .brand {
2549 [data-page^="command-cfg"] header > .fill > .container > .brand {
2551 margin-top: -1.75rem;
2556 overflow-y: visible;
2569 .cbi-dynlist > .item {
2574 display: inline-block;
2576 margin-right: .5rem;
2587 body:not(.logged-in) .showSide {
2594 .node-main-login > .main .cbi-value-title {
2600 padding-right: 1rem;
2603 #diag-rc-output > pre,
2604 #command-rc-output > pre {
2618 flex-direction: row;
2622 .Overview .table[width="100%"] > .tr {
2627 border-bottom: thin solid #ddd;
2630 .tr.placeholder > .td,
2631 #cbi-firewall .tr > .td,
2632 #iptables .tr:nth-child(2) > .td,
2633 #cbi-network .tr:nth-child(2) > .td,
2634 .cbi-section #wifi_assoclist_table .tr > .td {
2640 display: inline-block;
2641 align-self: flex-start;
2643 text-overflow: ellipsis;
2644 word-wrap: break-word;
2648 .td input[type="text"] {
2653 .td [data-dynlist] > input,
2654 .td input.cbi-input-password {
2655 width: calc(100% - 1.5rem);
2658 .td[data-type="button"],
2659 .td[data-type="fvalue"] {
2664 .th.cbi-value-field,
2665 .td.cbi-value-field,
2666 .th.cbi-section-table-cell,
2667 .td.cbi-section-table-cell {
2672 .cbi-section-table-row {
2674 flex-direction: row;
2676 justify-content: space-between;
2677 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2680 .td.cbi-value-field,
2681 .cbi-section-table-cell {
2682 display: inline-block;
2688 .td.cbi-section-actions {
2689 vertical-align: bottom;
2693 .tr.cbi-section-table-titles,
2694 .tr.cbi-section-table-descr {
2698 .tr[data-title]::before,
2699 .tr.cbi-section-table-titles.named::before {
2703 border-bottom: thin solid rgba(0, 0, 0, .26);
2704 background: #90c0e0;
2708 [data-page^="admin-status-realtime"] .td[id] {
2712 .td[data-title]::before {
2716 .cbi-button + .cbi-button {
2720 .td.cbi-section-actions > * > *,
2721 .td.cbi-section-actions > * > form > * {
2726 font-family: inherit;
2727 font-weight: normal;
2729 line-height: normal;
2730 position: static !important;
2736 background-color: #fff;
2737 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
2740 .Firewall form input {
2741 width: 100% !important;
2747 .Firewall .center::before {
2748 text-align: left !important;
2752 width: 100% !important;
2756 @media screen and (max-width: 600px) {
2761 .cbi-progressbar::after {
2776 #maincontent > .container {
2777 margin: 0 1rem 1.5rem 1rem;
2780 .main > .main-left > .nav > .slide > .menu {
2784 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2791 min-width: 0 !important;
2793 margin-bottom: .5rem;
2798 .cbi-value-description {
2802 .cbi-value > .cbi-value-field {
2803 display: inline-block;
2811 .cbi-tabmenu > li > a,
2814 padding: .2rem .3rem;
2817 .cbi-page-actions > div > input {
2821 .cbi-page-actions > .cbi-button {
2825 .node-main-login > .main .container {
2826 margin: 2rem 1.2rem 1.5rem 1.2rem !important;
2827 padding: .3rem 1.7rem 2rem 1.6rem;
2830 .node-main-login > .main .cbi-value {
2834 .node-main-login > .main form > div:nth-last-child(1) {
2838 .node-main-login > .main .cbi-value-title {
2840 width: 100% !important;
2843 .node-main-login > .main fieldset {
2848 .commandbox p:first-of-type {
2852 #diag-rc-output > pre,
2853 #command-rc-output > pre {
2880 padding-bottom: 1rem;
2883 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2884 width: 100% !important;
2887 .node-system-packages > .main .cbi-value .cbi-value-field input {
2896 .td.cbi-value-field {
2900 .td.cbi-value-field[data-type="button"],
2901 .td.cbi-value-field[data-type="fvalue"] {
2906 .tr[data-title]::before,
2907 .tr.cbi-section-table-titles.named::before {
2921 .hide-xs:not([data-title="MAC-Address"]) {
2926 @media screen and (min-width: 1152px) {
2927 .cbi-value input[type="password"],
2928 .cbi-value input[type="text"] {
2932 .cbi-value-field .cbi-input-select {
2936 .cbi-value-field .cbi-dropdown {
2940 .cbi-section-node .tr {
2945 @media screen and (min-width: 1366px) {
2946 .cbi-value input[type="password"],
2947 .cbi-value input[type="text"] {
2951 .cbi-value-field .cbi-input-select {
2955 .cbi-value-field .cbi-dropdown {
2960 @media screen and (min-width: 1600px) {
2961 .cbi-value input[type="password"],
2962 .cbi-value input[type="text"] {
2966 .cbi-value-field .cbi-input-select {
2970 .cbi-value-field .cbi-dropdown {