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
;
567 color: var
(--main-menu-color
);
570 .main
> .main-left
> .nav
> li:hover
,
571 .main > .main-left > .nav > .slide > .menu:hover {
573 background: var
(--submenu-bg-hover
);
576 .main > .main-left > .nav > .slide:hover {
580 .main > .main-left > .nav > .slide > .slide-menu > li {
584 .main > .main-left > .nav > .slide > .slide-menu > .active {
585 background-color: #09c;
586 background-color: var
(--submenu-bg-hover-active
);
589 .main > .main-left > .nav > .slide > .slide-menu > li > a {
591 text-decoration: none
;
594 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
598 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
600 background: var
(--submenu-bg-hover
);
603 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
605 color: var
(--menu-color-hover
);
608 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
610 background-color: #09c;
611 background-color: var
(--main-color
);
615 .main
> .main-left
> .nav
> .slide
> .menu
,
616 .main > .main-left > .nav > .slide > .slide-menu > li {
619 transform: translate3d
(0, 0, 0);
622 .main
> .main-left
> .nav
> .slide
> .menu:after
,
623 .main > .main-left > .nav > .slide > .slide-menu > li:after {
631 transition: transform
.5s, opacity
1s;
632 transform: scale
(10, 10);
633 pointer-events: none
;
635 background-image: radial-gradient
(circle
, #000 10%, transparent
10.01%);
636 background-repeat: no-repeat
;
637 background-position: 50%;
640 .main
> .main-left
> .nav
> .slide
> .menu:active:after
,
641 .main > .main-left > .nav > .slide > .slide-menu > li:active:after {
643 transform: scale
(0, 0);
647 #maincontent > .container
{
648 margin: 0 2rem 1rem 2rem;
651 .Processes #maincontent > .container {
660 list-style-type: none
;
665 padding-bottom: 10px;
666 border-bottom: thin solid
#eee;
672 padding-bottom: 10px;
673 border-bottom: thin solid
#eee;
679 padding-bottom: 10px;
685 padding-bottom: 10px;
691 padding-bottom: 10px;
698 #cbi-network > .cbi-section-node
,
699 #cbi-wireless > .cbi-section-node
,
700 #cbi-wireless > #wifi_assoclist_table
,
701 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
702 [data-page
="admin-system-opkg"] #maincontent
> .container
{
703 font-family: inherit
;
712 background-color: #fff;
713 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
716 .cbi-map-descr + fieldset {
720 .cbi-section > legend {
721 display: none
!important
;
725 .cbi-section > .cbi-section {
732 .cbi-section
> h3:first-child
,
739 margin-bottom: .5rem;
740 padding-bottom: 1rem;
742 border-bottom: thin solid
#eee;
747 border-collapse: collapse
;
754 box-shadow: 0 0 0 1px #ddd;
757 table
> tbody
> tr
> td
,
758 table
> tbody
> tr
> th
,
759 table
> tfoot
> tr
> td
,
760 table
> tfoot
> tr
> th
,
761 table
> thead
> tr
> td
,
762 table
> thead
> tr
> th
,
763 .table
> .tbody
> .tr
> .td
,
764 .table
> .tbody
> .tr
> .th
,
765 .table
> .tfoot
> .tr
> .td
,
766 .table
> .tfoot
> .tr
> .th
,
767 .table
> .thead
> .tr
> .td
,
768 .table
> .thead
> .tr
> .th
,
769 .table
> .tr
> .td
.cbi-value-field
,
770 .table > .tr > .th.cbi-section-table-cell {
774 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
778 .cbi-section-table-cell {
780 align-self: flex-end
;
788 .cbi-section-table-row::before
,
789 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
790 border-top: thin solid
#ddd;
794 .tr:first-child
> .td
,
796 #cbi-network .tr:first-child
> .td
,
797 .table
[width
="100%"] > .tr:first-child
> .td
,
798 [data-page
="admin-network-diagnostics"] .tr
> .td
,
799 .tr
.table-titles
> .th
,
800 .tr.cbi-section-table-titles > .th {
801 border-top: 0 !important
;
804 .cbi-section-table-row {
806 text-align: center
!important
;
810 .cbi-section-table-row:last-child {
814 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
815 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
816 .cbi-section-table-row
> .cbi-value-field
.cbi-input-password
,
817 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
821 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
822 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
823 width: calc
(100% - 1.5rem);
826 .cbi-section-table-row .td {
827 text-align: center
!important
;
830 div
> table
> tbody
> tr:nth-of-type
(2n),
831 div
> .table
> .tr:nth-of-type
(2n) {
832 background-color: #f9f9f9;
835 /* fix multiple table */
841 .cbi-value-field table
,
842 .cbi-value-field .table {
846 td
> table
> tbody
> tr
> td
,
847 .td > .table > .tbody > .tr > .td {
851 .cbi-value-field
> table
> tbody
> tr
> td
,
852 .cbi-value-field > .table > .tbody > .tr > .td {
861 display: inline-block
;
862 width: auto
!important
;
865 -webkit-user-select: none
;
866 -moz-user-select: none
;
867 -ms-user-select: none
;
869 transition: all
.2s ease-in-out
;
871 vertical-align: middle
;
873 text-decoration: none
;
874 text-transform: uppercase
;
875 color: rgba
(0, 0, 0, .87);
877 border-radius: .2rem;
878 background-color: #f0f0f0;
879 background-image: none
;
880 -webkit-appearance: none
;
881 -ms-touch-action: manipulation
;
882 touch-action: manipulation
;
885 .cbi-button:not(select) {
886 -webkit-appearance: none
!important
;
889 form
[method
="post"] + form
[method
="post"],
890 .cbi-button + .cbi-button {
903 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
904 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
905 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
906 text-decoration: none
;
914 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 2px 2px rgba
(0, 0, 0, .2);
919 box-shadow: 0 10px 20px rgba
(0, 0, 0, .19), 0 6px 6px rgba
(0, 0, 0, .23);
923 .cbi-button:disabled {
925 pointer-events: none
;
931 .alert-message
[class
="btn"],
932 .modal div
[class
="btn"],
938 .cbi-button
[name
="zero"],
939 .cbi-button
[name
="restart"],
940 .cbi-button[onclick="hide_empty(this)"] {
942 border: thin solid
#bfbfbf;
943 background-color: #d4d4d4;
948 .cbi-page-actions
.cbi-button-save
,
949 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
952 .cbi-button-positive
,
954 .cbi-button
[value
="Enable"],
955 .cbi-button
[value
="Scan"],
956 .cbi-button
[value^
="Back"],
957 .cbi-button-neutral[onclick="handleConfig(event)"] {
960 border: thin solid
#2e6da4;
961 background-color: #337ab7;
965 .cbi-page-actions
.cbi-button-apply
,
966 .cbi-section-actions
.cbi-button-edit
,
971 .cbi-button
[value
="Submit"],
972 .cbi-button
[value$
="Apply"],
973 .cbi-button[onclick="addKey(event)"] {
976 border: thin solid
#46b8da;
977 background-color: #5bc0de;
982 .cbi-section-remove
> .cbi-button
,
985 .cbi-button-negative
,
986 .cbi-button
[value
="Stop"],
987 .cbi-button
[value
="Kill"],
988 .cbi-button
[onclick
="reboot(this)"],
989 .cbi-button-neutral[value="Restart"] {
992 border: thin solid
#d43f3a;
993 background-color: #d9534f;
997 .btn
[value
="Dismiss"],
998 .cbi-button
[value
="Terminate"],
999 .cbi-button
[value
="Reset"],
1000 .cbi-button
[value
="Disabled"],
1001 .cbi-button
[onclick^
="iface_reconnect"],
1002 .cbi-button
[onclick
="handleReset(event)"],
1003 .cbi-button-neutral[value="Disable"] {
1004 font-weight: normal
;
1006 border: thin solid
#eea236;
1007 background-color: #f0ad4e;
1011 .cbi-button-success
,
1012 .cbi-button-download
,
1013 .cbi-button
[name
="backup"],
1014 .cbi-button
[value
="Upload"],
1015 .cbi-button[value="Save mtdblock"] {
1016 font-weight: normal
;
1018 border: thin solid
#4cae4c;
1019 background-color: #5cb85c;
1022 .cbi-page-actions .cbi-button-link:first-child {
1027 text-decoration: none
;
1030 .cbi-value-field .cbi-button-add {
1035 .cbi-value-field .cbi-button-neutral {
1042 padding-left: .5rem;
1043 background-color: #fff;
1048 display: inline-block
;
1052 .cbi-tabmenu
> li
> a
,
1054 padding: .5rem .8rem;
1055 text-decoration: none
;
1059 .tabs
> li
[class
~="active"],
1061 margin-bottom: -.18751rem;
1064 color: var
(--main-color
);
1065 border-bottom: #09c;
1066 border-bottom: .2rem solid var
(--main-color
);
1069 .tabs > li[class~="active"] > a {
1071 color: var
(--main-color
);
1075 border-bottom: .18751rem solid
#c9c9c9;
1079 border: thin solid
#d4d4d4;
1083 .cbi-tabmenu > li:hover {
1084 background-color: #f1f1f1;
1087 .cbi-tabmenu > li[class~="cbi-tab"] {
1088 background-color: #fff;
1092 background-color: #d4d4d4;
1095 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
1096 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1097 background-color: #f9f9f9;
1106 [data-tab-active
="true"] {
1110 transition: opacity
.25s ease-in
;
1113 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n+3),
1114 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1115 background-color: #f9f9f9;
1118 .cbi-section-node-tabbed {
1121 border: thin solid
#d4d4d4;
1125 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1126 background-color: #f9f9f9;
1130 .cbi-value-description {
1132 display: table-cell
;
1135 .cbi-input-invalid {
1140 .cbi-section-error {
1142 line-height: 1.42857143;
1145 border: thin solid
#f00;
1147 background-color: #fce6e6;
1150 .cbi-section-error ul {
1154 .cbi-section-error ul li {
1159 .cbi-value-helpicon > img {
1163 .cbi-value-helpicon:before {
1167 .cbi-value-description {
1169 padding: .5rem 0 0 0;
1174 display: table-cell
;
1178 padding-right: 2rem;
1180 word-wrap: break-word
;
1184 display: inline-block
;
1186 padding: .3rem 1rem;
1193 .td[data-title]::before {
1197 content: attr
(data-title
) ":\20";
1199 white-space: nowrap
;
1202 .tr.placeholder .td[data-title]::before {
1206 .tr
[data-title
]::before
,
1207 .tr.cbi-section-table-titles.named::before {
1209 display: table-cell
;
1213 content: attr
(data-title
) "\20";
1215 vertical-align: middle
;
1216 white-space: normal
;
1217 word-wrap: break-word
;
1221 background-color: #f9f9f9;
1225 background-color: #eee;
1228 .cbi-rowstyle-2
.cbi-button-up
,
1229 .cbi-rowstyle-2
.cbi-button-down
,
1230 .cbi-rowstyle-2:first-child {
1231 background-color: #fff !important
;
1234 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1235 width: auto
!important
;
1238 .td.cbi-section-actions {
1239 text-align: right
!important
;
1240 vertical-align: middle
;
1243 .td.cbi-section-actions > * {
1244 display: inline-flex
;
1247 .td
.cbi-section-actions
> * > *,
1248 .td.cbi-section-actions > * > form > * {
1252 .td.cbi-section-actions > * > form {
1253 display: inline-flex
;
1261 line-height: 1.42857143;
1268 flex-direction: column
;
1272 .cbi-dynlist > .item {
1275 margin: 0 2em 4px 0;
1278 pointer-events: none
;
1280 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1283 .cbi-dynlist[name="sshkeys"] > .item {
1287 .cbi-dynlist > .item::after {
1292 display: inline-flex
;
1296 pointer-events: auto
;
1298 border: thin solid
#d43f3a;
1299 background-color: #d9534f;
1302 .cbi-dynlist > .item > span {
1303 white-space: normal
;
1304 word-break: break-word
;
1310 display: inline-flex
;
1316 .cbi-dropdown > ul {
1321 margin: 0 !important
;
1326 .cbi-dropdown > ul.preview {
1330 .cbi-dropdown > .open {
1334 .cbi-dropdown
> .open
,
1335 .cbi-dropdown > .more {
1340 flex-direction: column
;
1343 justify-content: center
;
1348 .cbi-dropdown
> .more
,
1349 .cbi-dropdown > ul > li[placeholder] {
1353 text-shadow: 1px 1px 0 #fff;
1356 .cbi-dropdown > ul > li {
1359 align-items: center
;
1365 white-space: nowrap
;
1366 text-overflow: ellipsis
;
1369 .cbi-dropdown > ul > li .hide-open {
1373 .cbi-dropdown > ul > li .hide-close {
1377 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1378 border-left: thin solid
#ccc;
1381 .cbi-dropdown[empty] > ul {
1385 .cbi-dropdown > ul > li > form {
1389 pointer-events: none
;
1392 .cbi-dropdown > ul > li img {
1393 margin-right: .25em;
1394 vertical-align: middle
;
1397 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1402 .cbi-dropdown > ul > li input[type="text"] {
1406 .cbi-dropdown[open] {
1410 .cbi-dropdown[open] > ul.dropdown {
1417 max-height: 200px !important
;
1418 border: thin solid
#918e8c;
1419 background: #f6f6f6;
1420 box-shadow: 0 0 4px #918e8c;
1423 .cbi-dropdown
> ul
> li
[display
],
1424 .cbi-dropdown
[open
] > ul
.preview
,
1425 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1426 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1427 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1428 .cbi-dropdown
[multiple
][more
] > .more
,
1429 .cbi-dropdown[multiple][empty] > .more {
1431 align-items: center
;
1435 .cbi-dropdown
[empty
] > ul
> li
,
1436 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1437 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1441 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1445 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1449 .cbi-dropdown[open] > ul.dropdown > li {
1450 border-bottom: thin solid
#ccc;
1453 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1454 background: #b0d0f0;
1457 .cbi-dropdown[open] > ul.dropdown > li.focus {
1458 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1461 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1466 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1470 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1474 .cbi-dropdown[disabled] {
1475 pointer-events: none
;
1479 .cbi-dropdown .zonebadge {
1483 .cbi-dropdown[open] .zonebadge {
1495 transition: opacity
.125s ease-in
;
1497 background: rgba
(0, 0, 0, .7);
1498 -webkit-overflow-scrolling: touch
;
1503 align-items: center
;
1512 border-radius: 3px !important
;
1514 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1518 line-height: normal
;
1525 font-size-adjust: .35;
1527 margin-bottom: .5em;
1529 white-space: pre-wrap
;
1532 background-color: #101010;
1533 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1545 list-style-type: square
;
1550 padding-left: .25rem;
1551 word-break: break-word
;
1556 font-weight: normal
;
1557 padding: .1rem .3rem;
1563 .modal .label.warning {
1564 background-color: #f0ad4e !important
;
1568 padding: .3rem .6rem;
1575 body
.modal-overlay-active
{
1580 body
.modal-overlay-active #modal_overlay
{
1588 padding-left: 32px !important
;
1598 background: url
(../resources/icons/loading.gif) no-repeat center
;
1599 background-size: 16px;
1609 text-align: left
!important
;
1614 text-align: right
!important
;
1619 text-align: center
!important
;
1623 align-self: flex-start
!important
;
1624 vertical-align: top
!important
;
1628 align-self: flex-end
!important
;
1629 vertical-align: bottom
!important
;
1641 .cbi-page-actions > form[method="post"] {
1642 display: inline-block
;
1646 .cbi-value input
[type
="password"],
1647 .cbi-value input[type="text"] {
1652 .cbi-value-field
.cbi-dropdown
,
1653 .cbi-value-field .cbi-input-select {
1657 .cbi-value-field .cbi-input-invalid {
1659 border-bottom-color: #f00;
1668 border: thin solid
#999;
1672 .cbi-progressbar > div {
1675 transition: width
.25s ease-in
;
1676 background: #5bc0de;
1677 background: var
(--bar-bg
);
1680 .cbi-progressbar::after {
1681 font-family: monospace
;
1684 font-size-adjust: .38;
1685 line-height: normal
;
1692 content: attr
(title
);
1695 text-overflow: ellipsis
;
1696 text-shadow: 0 0 2px #eee;
1699 .th
[data-type
="button"],
1700 .td
[data-type
="button"],
1701 .th
[data-type
="fvalue"],
1702 .td[data-type="fvalue"] {
1708 display: inline-flex
;
1709 padding: .5rem .8rem;
1710 border-bottom: thin solid
#ccc;
1712 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
1718 background-color: #f0f0f0;
1723 display: inline-block
;
1724 align-self: flex-start
;
1728 .ifacebadge > img + img {
1729 margin: 0 .2rem 0 0;
1732 .network-status-table {
1737 .network-status-table .ifacebox {
1742 .network-status-table .ifacebox-body {
1744 flex-direction: column
;
1748 .network-status-table .ifacebox-body > span {
1752 .network-status-table .ifacebox-body > div {
1757 .network-status-table .ifacebox-body .ifacebadge {
1758 align-items: center
;
1761 margin: .5em .25em 0 .25em;
1763 background-color: #fff;
1767 .cbi-input-textarea {
1768 font-family: monospace
;
1780 margin-bottom: 20px;
1782 padding-bottom: 2.5rem;
1787 background-color: #101010;
1788 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1795 /* config changes */
1797 font-family: monospace
;
1800 .uci-change-list ins
,
1801 .uci-change-legend-label ins {
1804 text-decoration: none
;
1805 border: thin solid
#0f0;
1806 background-color: #cfc;
1809 .uci-change-list del
,
1810 .uci-change-legend-label del {
1814 text-decoration: none
;
1815 border: thin solid
#f00;
1816 background-color: #fcc;
1819 .uci-change-list var
,
1820 .uci-change-legend-label var {
1824 text-decoration: none
;
1825 border: thin solid
#ccc;
1826 background-color: #eee;
1829 .uci-change-list var ins
,
1830 .uci-change-list var del {
1837 .uci-change-legend {
1841 .uci-change-legend-label {
1846 .uci-change-legend-label
> ins
,
1847 .uci-change-legend-label
> del
,
1848 .uci-change-legend-label > var {
1856 .uci-change-legend-label var ins
,
1857 .uci-change-legend-label var del {
1862 .uci-change-list var
,
1863 .uci-change-list del
,
1864 .uci-change-list ins {
1872 border: thin solid
#d4d4d4 !important
;
1876 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1877 border-top: 0 !important
;
1882 display: inline-flex
;
1883 flex-direction: column
;
1885 border-bottom: thin solid
#ccc;
1886 background-color: #f9f9f9;
1887 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .4), 0 1px 2px rgba
(0, 0, 0, .2);
1895 .ifacebox-head.active {
1896 background: #5bc0de;
1897 background: var
(--bar-bg
);
1909 display: inline-block
;
1910 padding: .2rem .5rem;
1913 .zonebadge .ifacebadge {
1914 margin: .1rem .2rem;
1915 padding: .2rem .3rem;
1916 border: thin solid
#6c6c6c;
1919 .zonebadge > input[type="text"] {
1922 padding: .16rem 1rem;
1926 .zonebadge > strong {
1927 display: inline-block
;
1931 .cbi-value-field
.cbi-input-checkbox
,
1932 .cbi-value-field .cbi-input-radio {
1936 .cbi-value-field > ul > li {
1940 .cbi-value-field > ul > li > label {
1944 .cbi-value-field > ul > li .ifacebadge {
1947 background-color: #eee;
1950 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1954 .cbi-section-create {
1955 display: inline-flex
;
1956 align-items: center
;
1960 .cbi-section-create > * {
1964 .cbi-section-remove {
1969 td
.cbi-value-field var
,
1970 .td.cbi-value-field var {
1977 line-height: 1.42857143;
1978 white-space: normal
;
1984 display: inline-block
;
1986 padding: .2rem .3rem;
1990 padding: 1rem 1rem 0 1rem;
1991 border-top: thin solid
#ccc;
1994 .cbi-dropdown-container {
1998 .cbi-tooltip-container
,
2000 span
[data-tooltip
] .label
{
2001 cursor: help
!important
;
2009 transition: opacity
.25s ease-out
;
2011 pointer-events: none
;
2015 box-shadow: 0 0 2px #444;
2018 .cbi-tooltip-container:hover .cbi-tooltip {
2020 transition: opacity
.25s ease-in
;
2024 .zonebadge .cbi-tooltip {
2025 margin: -1.5rem 0 0 -.5rem;
2027 background: inherit
;
2032 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);
2040 .zone-forwards > * {
2044 .zone-forwards > span {
2050 .zone-forwards
.zone-src
,
2051 .zone-forwards .zone-dest {
2053 flex-direction: column
;
2059 padding: .3rem .8rem;
2060 white-space: nowrap
;
2061 text-decoration: none
;
2062 text-transform: uppercase
;
2063 color: #fff !important
;
2064 -webkit-border-radius: 3px;
2065 -moz-border-radius: 3px;
2067 background-color: #bfbfbf;
2071 label
> input
[type
="checkbox"],
2072 label
> input
[type
="radio"] {
2077 vertical-align: bottom
;
2091 background-color: rgba
(0, 0, 0, .56);
2095 #diag-rc-output > pre
,
2096 #command-rc-output > pre
{
2098 font-size-adjust: .35;
2099 line-height: normal
;
2105 background-color: #101010;
2106 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2109 [data-page
="admin-network-diagnostics"] .table
{
2114 input
[name
="traceroute"],
2115 input
[name
="nslookup"] {
2119 /* fix Main Login */
2120 .node-main-login > .main > .main-left {
2124 .node-main-login > .main > .main-right {
2128 .node-main-login > .main fieldset {
2131 margin-bottom: 1rem;
2138 .node-main-login > .main .cbi-value-title {
2142 .node-main-login > .main #maincontent {
2146 .node-main-login > .main .container {
2147 display: inline-block
;
2148 margin-top: 2rem !important
;
2149 padding: 1rem 3.5rem 2rem;
2151 background-color: #fff;
2152 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2155 .node-main-login > .main form > div:nth-last-child(1) {
2159 .node-main-login > .main .cbi-value {
2163 .node-main-login > .main .cbi-value > * {
2164 display: inline-block
!important
;
2167 .node-main-login > .main .cbi-input-text {
2171 .node-main-login .cbi-section {
2175 @media screen and
(min-height: 585px) {
2176 .node-main-login footer {
2183 /* fix status overview */
2184 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2185 white-space: normal
;
2188 /* fix status processes */
2189 .node-status-processes > .main .table .tr .td:nth-child(3) {
2190 white-space: normal
;
2193 .node-admin-status form {
2194 margin: 2rem 2rem 0 0;
2197 /* fix system reboot */
2198 [data-page
="admin-system-reboot"] p
{
2202 [data-page
="admin-system-reboot"] p
> span
{
2209 #cbi-samba .cbi-value-last
.cbi-value-field
{
2213 #cbi-samba .cbi-value-last
.cbi-value-title
{
2215 padding-bottom: .6rem;
2219 .controls > * > .btn:not([aria-label$="page"]) {
2220 flex-grow: initial
!important
;
2224 .controls > #pager > .btn[aria-label$="page"] {
2229 .controls > * > label {
2230 margin-bottom: .2rem;
2233 [data-page
="admin-system-opkg"] div
.btn
{
2236 padding: .3rem .6rem;
2239 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
2240 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2245 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2247 margin-bottom: 1rem;
2252 white-space: normal
!important
;
2253 word-break: break-word
;
2256 .cbi-tabmenu + .cbi-section {
2260 /* wireless overview */
2261 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2262 box-shadow: inset
1px -1px 0 #ddd, inset
-1px -1px 0 #ddd;
2265 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2269 border-top: thin solid
#ddd !important
;
2272 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2273 box-shadow: inset
1px 0 0 #ddd, inset
-1px 0 0 #ddd;
2276 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2277 border-bottom: thin solid
#ddd;
2278 box-shadow: 0 -1px 0 0 #ddd;
2281 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2295 #cbi-firewall-redirect table
*,
2296 #cbi-network-switch_vlan table
*,
2297 #cbi-firewall-zone table
* {
2301 #cbi-firewall-redirect table input
[type
="text"],
2302 #cbi-network-switch_vlan table input
[type
="text"],
2303 #cbi-firewall-zone table input
[type
="text"] {
2307 #cbi-firewall-redirect table select
,
2308 #cbi-network-switch_vlan table select
,
2309 #cbi-firewall-zone table select
{
2313 #cbi-network-switch_vlan .th
,
2314 #cbi-network-switch_vlan .td
{
2318 #cbi-firewall-zone .table
,
2319 #cbi-network-switch_vlan .table
{
2323 #cbi-firewall-zone .td
.cbi-section-actions
{
2327 /* applyreboot fix */
2328 #applyreboot-container {
2332 #applyreboot-section {
2337 /* openvpn bug fix */
2339 line-height: initial
!important
;
2342 /* custom commands */
2344 width: 24% !important
;
2345 padding: .5rem 1rem;
2346 border-bottom: thin solid
#ccc;
2348 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
2352 line-height: normal
!important
;
2354 margin: 6px 0 !important
;
2355 white-space: nowrap
;
2356 text-overflow: ellipsis
;
2360 left: auto
!important
;
2372 text-overflow: ellipsis
;
2375 .commandbox p:first-of-type {
2379 .commandbox p:nth-of-type(2) {
2383 [data-page^
="admin-system-commands"] .panel-title
,
2384 [data-page^
="command-cfg"] .mobile-hide
,
2385 [data-page^
="command-cfg"] header
> .fill
> .container
> #logo
{
2389 #command-rc-output .alert-message
{
2390 line-height: 1.42857143;
2396 animation: anim-fade-in
1.5s forwards
;
2400 @keyframes anim-fade-in
{
2406 @media screen and
(max-width: 1600px) {
2407 header
> .fill
> .container
> #logo
{
2408 margin: 0 2.5rem 0 .5rem;
2412 width: calc
(0% + 13rem);
2416 width: calc
(100% - 13rem);
2419 .cbi-dynlist > .item {
2426 padding: .3rem .6rem;
2430 padding: .2rem .6rem;
2435 padding-right: .6rem;
2443 .cbi-input-textarea {
2447 .node-admin-status > .main fieldset li > a {
2448 padding: .3rem .6rem;
2451 #cbi-firewall-zone > .table
{
2456 @media screen and
(max-width: 1366px) {
2461 header
> .fill
> .container
{
2468 height: calc
(100% - 3.5rem);
2473 width: calc
(0% + 13rem);
2474 height: calc
(100% - 3.5rem);
2478 width: calc
(100% - 13rem);
2481 .cbi-dynlist > .item {
2485 .cbi-tabmenu
> li
> a
,
2487 padding: .2rem .5rem;
2492 padding-bottom: 1rem;
2496 font-size: .7rem !important
;
2497 width: 100% !important
;
2500 .table .cbi-input-text {
2504 .main
> .main-left
> .nav
> li
,
2505 .main
> .main-left
> .nav
> li a
,
2506 .main > .main-left > .nav > .slide > .menu {
2510 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2518 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2522 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2523 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2524 [data-page
="admin-network-hosts"] .table
{
2525 overflow-y: visible
;
2529 width: 32% !important
;
2533 @media screen and
(max-width: 1152px) {
2534 header
> .fill
> .container
> #logo
{
2538 header
> .fill
> .container
> .brand
{
2542 [data-page^
="command-cfg"] header
> .fill
> .container
> .brand
{
2544 margin-top: -1.75rem;
2549 overflow-y: visible
;
2562 .cbi-dynlist > .item {
2567 display: inline-block
;
2569 margin-right: .5rem;
2580 body:not
(.logged-in
) .showSide
{
2587 .node-main-login > .main .cbi-value-title {
2593 padding-right: 1rem;
2596 #diag-rc-output > pre
,
2597 #command-rc-output > pre
{
2611 flex-direction: row
;
2615 .Overview .table[width="100%"] > .tr {
2620 border-bottom: thin solid
#ddd;
2623 .tr
.placeholder
> .td
,
2624 #cbi-firewall .tr
> .td
,
2625 #cbi-network .tr:nth-child
(2) > .td
,
2626 .cbi-section #wifi_assoclist_table .tr > .td {
2632 display: inline-block
;
2633 align-self: flex-start
;
2635 text-overflow: ellipsis
;
2636 word-wrap: break-word
;
2640 .td input[type="text"] {
2645 .td
[data-dynlist
] > input
,
2646 .td input.cbi-input-password {
2647 width: calc
(100% - 1.5rem);
2650 .td
[data-type
="button"],
2651 .td[data-type="fvalue"] {
2656 .th
.cbi-value-field
,
2657 .td
.cbi-value-field
,
2658 .th
.cbi-section-table-cell
,
2659 .td.cbi-section-table-cell {
2664 .cbi-section-table-row {
2666 flex-direction: row
;
2668 justify-content: space-between
;
2669 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2672 .td
.cbi-value-field
,
2673 .cbi-section-table-cell {
2674 display: inline-block
;
2680 .td.cbi-section-actions {
2681 vertical-align: bottom
;
2685 .tr
.cbi-section-table-titles
,
2686 .tr.cbi-section-table-descr {
2690 .tr
[data-title
]::before
,
2691 .tr.cbi-section-table-titles.named::before {
2695 border-bottom: thin solid rgba
(0, 0, 0, .26);
2696 background: #90c0e0;
2700 [data-page^
="admin-status-realtime"] .td
[id
] {
2704 .td[data-title]::before {
2708 .cbi-button + .cbi-button {
2712 .td
.cbi-section-actions
> * > *,
2713 .td.cbi-section-actions > * > form > * {
2718 position: static
!important
;
2721 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2724 .Firewall form input {
2725 width: 100% !important
;
2731 .Firewall .center::before {
2732 text-align: left
!important
;
2736 width: 100% !important
;
2740 @media screen and
(max-width: 600px) {
2745 .cbi-progressbar::after {
2760 #maincontent > .container
{
2761 margin: 0 1rem 1.5rem 1rem;
2764 .main > .main-left > .nav > .slide > .menu {
2768 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2775 min-width: 0 !important
;
2777 margin-bottom: .5rem;
2782 .cbi-value-description {
2786 .cbi-value > .cbi-value-field {
2787 display: inline-block
;
2795 .cbi-tabmenu
> li
> a
,
2798 padding: .2rem .3rem;
2801 .cbi-page-actions > div > input {
2805 .cbi-page-actions > .cbi-button {
2809 .node-main-login > .main .container {
2810 margin: 2rem 1.2rem 1.5rem 1.2rem !important
;
2811 padding: .3rem 1.7rem 2rem 1.6rem;
2814 .node-main-login > .main .cbi-value {
2818 .node-main-login > .main form > div:nth-last-child(1) {
2822 .node-main-login > .main .cbi-value-title {
2824 width: 100% !important
;
2827 .node-main-login > .main fieldset {
2832 .commandbox p:first-of-type {
2836 #diag-rc-output > pre
,
2837 #command-rc-output > pre
{
2864 padding-bottom: 1rem;
2867 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2868 width: 100% !important
;
2871 .node-system-packages > .main .cbi-value .cbi-value-field input {
2880 .td.cbi-value-field {
2884 .td
.cbi-value-field
[data-type
="button"],
2885 .td.cbi-value-field[data-type="fvalue"] {
2890 .tr
[data-title
]::before
,
2891 .tr.cbi-section-table-titles.named::before {
2905 .hide-xs:not([data-title="MAC-Address"]) {
2910 @media screen and
(min-width: 600px) {
2911 ::-webkit-scrollbar
{
2914 background: transparent
;
2917 ::-webkit-scrollbar-thumb
{
2918 background: #9e9e9e;
2921 ::-webkit-scrollbar-thumb:hover
{
2922 background: #757575;
2925 ::-webkit-scrollbar-thumb:active
{
2926 background: #424242;
2930 @media screen and
(min-width: 1152px) {
2931 .cbi-value input
[type
="password"],
2932 .cbi-value input[type="text"] {
2936 .cbi-value-field .cbi-input-select {
2940 .cbi-value-field .cbi-dropdown {
2944 .cbi-section-node .tr {
2949 @media screen and
(min-width: 1366px) {
2950 .cbi-value input
[type
="password"],
2951 .cbi-value input[type="text"] {
2955 .cbi-value-field .cbi-input-select {
2959 .cbi-value-field .cbi-dropdown {
2964 @media screen and
(min-width: 1600px) {
2965 .cbi-value input
[type
="password"],
2966 .cbi-value input[type="text"] {
2970 .cbi-value-field .cbi-input-select {
2974 .cbi-value-field .cbi-dropdown {