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 * Menu and loading spinner icons from IcoMoon:
21 * Pure CSS ripple effect:
22 * https://github.com/mladenplavsic/css-ripple-effect
24 * Licensed to the public under the Apache License 2.0
30 @import url
("custom.css");
41 display: table-header-group
;
45 display: table-row-group
;
49 display: table-footer-group
;
58 vertical-align: middle
;
69 .tr.placeholder > .td {
75 text-align: center
!important
;
96 flex: 1 1 30px !important
;
100 flex: 2 2 60px !important
;
104 flex: 3 3 90px !important
;
108 flex: 4 4 120px !important
;
112 flex: 5 5 150px !important
;
116 flex: 6 6 180px !important
;
120 flex: 7 7 210px !important
;
124 flex: 8 8 240px !important
;
128 flex: 9 9 270px !important
;
132 flex: 10 10 300px !important
;
136 box-sizing: border-box
;
153 font-family: inherit
;
155 line-height: 1.1 !important
;
161 -webkit-text-size-adjust: 100%;
162 -ms-text-size-adjust: 100%;
167 background-color: #eee;
172 font-family: "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB";
173 font-family: var
(--font-body
);
180 padding: .36rem .8rem;
182 border: thin solid
#ccc;
183 background-color: #fff;
184 background-image: none
;
194 color: rgba
(0, 0, 0, .87);
196 border-bottom: 2px solid rgba
(0, 0, 0, .26);
199 background-color: transparent
;
200 background-image: none
;
210 select:not
([multiple
="multiple"]):focus
,
211 input:not
(.cbi-button
):focus
,
212 .cbi-dropdown:focus {
214 border-color: var
(--main-color
);
218 select
[multiple
="multiple"] {
228 font-size-adjust: .35;
237 text-decoration: underline
;
258 transition: box-shadow
.2s;
259 box-shadow: 0 2px 5px rgba
(0, 0, 0, .26);
269 text-shadow: 0 0 2px #bbb;
273 text-decoration: none
;
279 line-height: 1.42857143;
289 height: calc
(100% - 4rem);
300 pointer-events: none
;
301 background-color: rgb
(240, 240, 240);
302 transition: visibility
400ms, opacity
400ms;
305 .main > .loading > span {
306 font-family: monospace
;
308 font-size-adjust: .35;
316 .main > .loading > span > .loading-img {
320 display: inline-block
;
324 animation: anim-rotate
2s infinite linear
;
325 background: url
(./icons/spinner.svg) no-repeat center
;
328 @keyframes anim-rotate
{
330 -webkit-transform: rotate
(0);
331 -ms-transform: rotate
(0);
332 transform: rotate
(0);
335 -webkit-transform: rotate
(360deg);
336 -ms-transform: rotate
(360deg);
337 transform: rotate
(360deg);
347 width: calc
(0% + 15rem);
349 height: calc
(100% - 4rem);
350 background-color: #fff;
351 background-color: var
(--menu-bg-color
);
352 transition: visibility
400ms, width
400ms;
358 width: calc
(100% - 15rem);
360 background-color: #eee;
363 .main-right > #maincontent {
364 background-color: #eee;
379 [disabled
="disabled"] {
380 pointer-events: none
;
385 color: var
(--header-color
);
387 background: var
(--header-bg
);
390 header
> .fill
> .container
{
392 padding: .5rem 1rem 0 1rem;
393 -webkit-user-select: none
;
394 -moz-user-select: none
;
395 -ms-user-select: none
;
399 header
> .fill
> .container
> #logo
{
400 margin: 0 3.5rem 0 1.5rem;
403 header
> .fill
> .container
> #logo
> img
{
404 width: calc
(0% + 10rem);
408 header
> .fill
> .container
> .brand
{
412 vertical-align: text-bottom
;
413 text-decoration: none
;
415 color: var
(--header-color
);
418 header
> .fill
> .container
> .status
{
425 header
> .fill
> .container
> .status
> * {
438 background-color: #ff7d60 !important
;
442 background-color: #f0e68c !important
;
446 background-color: #5cb85c !important
;
450 [data-indicator
]:not
([data-style
="inactive"]) {
451 background-color: #5bc0de !important
;
464 border-radius: 0 !important
;
465 background-color: #fff;
466 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
467 text-shadow: 1px 1px rgba
(0, 0, 0, .1);
470 .alert-message > h4 {
479 .alert-message .btn {
480 padding: .3rem .6rem;
484 .container .alert-message {
488 .main > .main-left > .nav {
492 .main > .main-left > .nav > li {
495 -webkit-user-select: none
;
496 -moz-user-select: none
;
497 -ms-user-select: none
;
501 .main > .main-left > .nav > li:last-child {
504 margin: 2rem 0 1rem 0;
508 .main > .main-left > .nav > li a {
511 color: var
(--menu-color
);
514 .main > .main-left > .nav > .slide {
518 .main > .main-left > .nav > .slide > ul {
522 .main > .main-left > .nav > .slide.active > ul {
526 .main
> .main-left
> .nav
> .slide
> .menu
,
527 .main > .main-left > .nav > li > [data-title="Logout"] {
534 text-decoration: none
;
536 color: var
(--main-menu-color
);
539 .main > .main-left > .nav > .slide > .menu::before {
545 background: url
(./icons/arrow.svg) no-repeat
;
548 .main > .main-left > .nav > .slide > .menu.active::before {
549 transform: rotate
(-180deg);
552 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu::before
{
553 transition: transform
.1s ease-in-out
;
556 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu
.active::before
{
557 transition: transform
.2s ease-in-out
;
560 .main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before {
564 .main > .main-left > .nav > li:last-child::before {
569 content: url
(./icons/logout.svg);
572 .main
> .main-left
> .nav
> li:hover
,
573 .main > .main-left > .nav > .slide > .menu:hover {
575 background: var
(--submenu-bg-hover
);
578 .main > .main-left > .nav > .slide:hover {
582 .main > .main-left > .nav > .slide > .slide-menu > .active {
583 background-color: #09c;
584 background-color: var
(--submenu-bg-hover-active
);
587 .main > .main-left > .nav > .slide > .slide-menu > li > a {
589 text-decoration: none
;
593 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
597 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
599 background: var
(--submenu-bg-hover
);
602 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
604 color: var
(--menu-color-hover
);
607 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
608 background-color: #09c;
609 background-color: var
(--main-color
);
613 .main
> .main-left
> .nav
> .slide
> .menu
,
614 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li
,
615 .main > .main-left > .nav > li:last-child {
618 transform: translate3d
(0, 0, 0);
621 .main
> .main-left
> .nav
> .slide
> .menu::after
,
622 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li::after
,
623 .main > .main-left > .nav > li:last-child::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
,
642 .main > .main-left > .nav > li:last-child:active::after {
644 transform: scale
(0, 0);
648 #maincontent > .container
{
649 margin: 0 2rem 1rem 2rem;
657 list-style-type: none
;
662 padding-bottom: 10px;
663 border-bottom: thin solid
#eee;
669 padding-bottom: 10px;
670 border-bottom: thin solid
#eee;
676 padding-bottom: 10px;
682 padding-bottom: 10px;
688 padding-bottom: 10px;
695 #cbi-network > .cbi-section-node
,
696 #cbi-wireless > .cbi-section-node
,
697 #cbi-wireless > #wifi_assoclist_table
,
699 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
700 [data-page
="admin-system-opkg"] #maincontent
> .container
{
701 font-family: inherit
;
710 background-color: #fff;
711 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
714 .cbi-modal
.cbi-section
,
715 .cbi-section .cbi-section {
720 .cbi-modal .cbi-tabmenu {
727 line-height: 1.42857143;
732 .cbi-map-descr + fieldset {
736 .cbi-section > legend {
737 display: none
!important
;
741 .cbi-section > .cbi-section {
748 .cbi-section
> h3:first-child
,
755 margin-bottom: .5rem;
756 padding-bottom: 1rem;
758 border-bottom: thin solid
#eee;
761 .cbi-section
> h4:first-child
,
762 .cbi-section
> p:first-child
,
763 [data-tab-title
] > h3:first-child
,
764 [data-tab-title
] > h4:first-child
,
765 [data-tab-title
] > p:first-child
{
771 border-collapse: collapse
;
778 box-shadow: 0 0 0 1px #ddd;
781 table
> tbody
> tr
> td
,
782 table
> tbody
> tr
> th
,
783 table
> tfoot
> tr
> td
,
784 table
> tfoot
> tr
> th
,
785 table
> thead
> tr
> td
,
786 table
> thead
> tr
> th
,
787 .table
> .tbody
> .tr
> .td
,
788 .table
> .tbody
> .tr
> .th
,
789 .table
> .tfoot
> .tr
> .td
,
790 .table
> .tfoot
> .tr
> .th
,
791 .table
> .thead
> .tr
> .td
,
792 .table
> .thead
> .tr
> .th
,
793 .table
> .tr
> .td
.cbi-value-field
,
794 .table > .tr > .th.cbi-section-table-cell {
798 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
802 .cbi-section-table-cell {
804 align-self: flex-end
;
812 .cbi-section-table-row::before
,
813 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
814 border-top: thin solid
#ddd;
818 #cbi-network .tr:first-child
> .td
,
819 .table
[width
="100%"] > .tr:first-child
> .td
,
820 [data-page
="admin-network-diagnostics"] .tr
> .td
,
821 .tr
.table-titles
> .th
,
822 .tr.cbi-section-table-titles > .th {
823 border-top: 0 !important
;
826 .table[width="100%"] > .tr:first-child > .td {
830 .cbi-section-table-row {
832 text-align: center
!important
;
836 .cbi-section-table-row:last-child {
840 .cbi-section-table-row
> .cbi-value-field
.cbi-dropdown
,
841 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
842 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
843 .cbi-section-table-row > .cbi-value-field .cbi-input-password {
847 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
848 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
849 width: calc
(100% - 1.5rem);
852 .cbi-section-table-row .td {
853 text-align: center
!important
;
856 div
> table
> tbody
> tr:nth-of-type
(2n),
857 div
> .table
> .tr:nth-of-type
(2n) {
858 background-color: #f9f9f9;
861 /* fix multiple table */
864 .cbi-value-field table
,
865 .cbi-value-field
.table
,
866 td
> table
> tbody
> tr
> td
,
867 .td
> .table
> .tbody
> .tr
> .td
,
868 .cbi-value-field
> table
> tbody
> tr
> td
,
869 .cbi-value-field > .table > .tbody > .tr > .td {
878 display: inline-block
;
879 width: auto
!important
;
882 -webkit-user-select: none
;
883 -moz-user-select: none
;
884 -ms-user-select: none
;
886 transition: all
.2s ease-in-out
;
888 vertical-align: middle
;
890 text-decoration: none
;
891 text-transform: uppercase
;
892 color: rgba
(0, 0, 0, .87);
894 border-radius: .2rem;
895 background-color: #f0f0f0;
896 background-image: none
;
897 -webkit-appearance: none
;
898 -ms-touch-action: manipulation
;
899 touch-action: manipulation
;
905 display: inline-block
;
907 padding: .2rem .3rem;
908 color: transparent
!important
;
909 background: url
(./icons/arrow.svg) no-repeat center
;
910 background-size: 12px 20px;
914 transform: scaleY
(-1);
917 .cbi-button:not(select) {
918 -webkit-appearance: none
!important
;
921 .cbi-button + .cbi-button {
934 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
935 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
936 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
937 text-decoration: none
;
947 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 2px 2px rgba
(0, 0, 0, .2);
952 .item:active::after {
953 box-shadow: 0 10px 20px rgba
(0, 0, 0, .19), 0 6px 6px rgba
(0, 0, 0, .23);
956 .cbi-button-up:hover
,
957 .cbi-button-up:focus {
958 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 -2px 2px rgba
(0, 0, 0, .2);
961 .cbi-button-up:active {
962 box-shadow: 0 -10px 20px rgba
(0, 0, 0, .19), 0 -6px 6px rgba
(0, 0, 0, .23);
966 .cbi-button:disabled {
968 pointer-events: none
;
974 .alert-message
[class
="btn"],
975 .modal div
[class
="btn"],
981 .cbi-button
[name
="zero"],
982 .cbi-button
[name
="restart"],
983 .cbi-button[onclick="hide_empty(this)"] {
985 border: thin solid
#bfbfbf;
986 background-color: #d4d4d4;
991 .cbi-page-actions
.cbi-button-save
,
992 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
995 .cbi-button-positive
,
997 .cbi-button
[value
="Enable"],
998 .cbi-button
[value
="Scan"],
999 .cbi-button
[value^
="Back"],
1000 .cbi-button-neutral[onclick="handleConfig(event)"] {
1001 font-weight: normal
;
1003 border: thin solid
#2e6da4;
1004 background-color: #337ab7;
1008 .cbi-page-actions
.cbi-button-apply
,
1009 .cbi-section-actions
.cbi-button-edit
,
1014 .cbi-button
[value
="Submit"],
1015 .cbi-button
[value
="Upload"],
1016 .cbi-button
[value$
="Apply"],
1017 .cbi-button[onclick="addKey(event)"] {
1018 font-weight: normal
;
1020 border: thin solid
#46b8da;
1021 background-color: #5bc0de;
1026 .cbi-section-remove
> .cbi-button
,
1029 .cbi-button-negative
,
1030 .cbi-button
[value
="Stop"],
1031 .cbi-button
[value
="Kill"],
1032 .cbi-button
[onclick
="reboot(this)"],
1033 .cbi-button-neutral[value="Restart"] {
1034 font-weight: normal
;
1036 border: thin solid
#d43f3a;
1037 background-color: #d9534f;
1041 .btn
[value
="Dismiss"],
1042 .cbi-button
[value
="Terminate"],
1043 .cbi-button
[value
="Reset"],
1044 .cbi-button
[value
="Disabled"],
1045 .cbi-button
[onclick^
="iface_reconnect"],
1046 .cbi-button
[onclick
="handleReset(event)"],
1047 .cbi-button-neutral[value="Disable"] {
1048 font-weight: normal
;
1050 border: thin solid
#eea236;
1051 background-color: #f0ad4e;
1055 .cbi-button-success
,
1056 .cbi-button-download
,
1057 .cbi-button
[name
="backup"],
1058 .cbi-button
[value
="Download"],
1059 .cbi-button[value="Save mtdblock"] {
1060 font-weight: normal
;
1062 border: thin solid
#4cae4c;
1063 background-color: #5cb85c;
1066 .cbi-page-actions .cbi-button-link:first-child {
1071 text-decoration: none
;
1074 .cbi-value-field .cbi-button-add {
1076 margin: 9px 0 4px 3px;
1082 padding-left: .5rem;
1083 background-color: #fff;
1088 display: inline-block
;
1094 padding-bottom: .4rem;
1095 border-bottom: .2rem solid transparent
;
1098 .tabs
> li
[class
~="active"],
1100 border-bottom-color: #09c;
1101 border-bottom-color: var
(--main-color
);
1106 border-bottom-color: #c9c9c9;
1110 .cbi-tabmenu > li > a {
1111 padding: .6rem .9rem;
1112 text-decoration: none
;
1116 .tabs > li[class~="active"] > a {
1118 color: var
(--main-color
);
1122 border: thin solid
#d4d4d4;
1126 .cbi-tabmenu > li:hover {
1127 background-color: #f1f1f1;
1130 .cbi-tabmenu > li[class~="cbi-tab"] {
1131 background-color: #fff;
1135 background-color: #d4d4d4;
1138 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
1139 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1140 background-color: #f9f9f9;
1148 padding: 0rem 1rem !important
;
1151 [data-tab-active
="true"] {
1155 transition: opacity
.25s ease-in
;
1156 margin: inherit
!important
;
1159 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n+3),
1160 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1161 background-color: #f9f9f9;
1164 .cbi-section-node-tabbed {
1167 border: thin solid
#d4d4d4;
1171 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1172 background-color: #f9f9f9;
1176 .cbi-value-description {
1178 display: table-cell
;
1181 .cbi-value-description {
1188 display: table-cell
;
1191 padding-top: .35rem;
1192 padding-right: 2rem;
1194 word-wrap: break-word
;
1198 display: inline-block
;
1200 padding: .35rem 1rem .2rem 1rem;
1207 .cbi-value-field
.cbi-dropdown
,
1208 .cbi-value-field
.cbi-input-select
,
1209 .cbi-value input
[type
="text"],
1210 .cbi-value input[type="password"] {
1214 #cbi-firewall-zone .cbi-input-select
,
1215 #cbi-network-switch_vlan .cbi-input-select
{
1219 #cbi-network-switch_vlan .cbi-input-text
{
1223 .cbi-input-invalid {
1225 border-bottom-color: #f00;
1228 .cbi-section-error {
1230 line-height: 1.42857143;
1233 border: thin solid
#f00;
1235 background-color: #fce6e6;
1238 .cbi-section-error ul {
1242 .cbi-section-error ul li {
1247 .td[data-title]::before {
1251 content: attr
(data-title
) ":\20";
1253 white-space: nowrap
;
1256 .tr.placeholder .td[data-title]::before {
1260 .tr
[data-title
]::before
,
1261 .tr.cbi-section-table-titles.named::before {
1263 display: table-cell
;
1267 content: attr
(data-title
) "\20";
1269 vertical-align: middle
;
1270 white-space: normal
;
1271 word-wrap: break-word
;
1275 background-color: #f9f9f9;
1279 background-color: #eee;
1282 .cbi-rowstyle-2
.cbi-button-up
,
1283 .cbi-rowstyle-2
.cbi-button-down
,
1284 body:not
(.Interfaces
) .cbi-rowstyle-2:first-child
{
1285 background-color: #fff !important
;
1288 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1289 width: auto
!important
;
1292 .td.cbi-section-actions {
1293 text-align: right
!important
;
1294 vertical-align: middle
;
1297 .td.cbi-section-actions > * {
1298 display: inline-flex
;
1301 .td
.cbi-section-actions
> * > *,
1302 .td.cbi-section-actions > * > form > * {
1306 .td.cbi-section-actions > * > form {
1307 display: inline-flex
;
1314 flex-direction: column
;
1319 .cbi-dynlist > .item {
1323 padding: .5em .25em .25em 0;
1324 pointer-events: none
;
1326 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1330 .cbi-dynlist[name="sshkeys"] > .item {
1334 .cbi-dynlist > .item::after {
1339 display: inline-flex
;
1343 pointer-events: auto
;
1345 border: thin solid
#d43f3a;
1346 background-color: #d9534f;
1349 .cbi-dynlist > .item > span {
1350 white-space: normal
;
1351 word-break: break-word
;
1354 .cbi-dynlist > .add-item {
1355 display: inline-flex
;
1356 align-items: center
;
1361 .cbi-dynlist > .add-item:not([ondrop]) > input {
1365 white-space: nowrap
;
1366 text-overflow: ellipsis
;
1369 .cbi-dynlist > .add-item[ondrop] > input {
1376 display: inline-flex
;
1380 .cbi-dropdown[placeholder*="select"] {
1386 .cbi-dropdown > ul {
1391 margin: 0 !important
;
1397 .cbi-dropdown > ul.preview {
1401 .cbi-dropdown > .open {
1405 .cbi-dropdown
> .open
,
1406 .cbi-dropdown > .more {
1411 flex-direction: column
;
1414 justify-content: center
;
1424 padding-bottom: 0px;
1428 .cbi-dropdown.btn > .open {
1434 .cbi-dropdown.btn > div {
1438 .cbi-dropdown
> .more
,
1439 .cbi-dropdown > ul > li[placeholder] {
1443 text-shadow: 1px 1px 0 #fff;
1446 .cbi-dropdown > ul > li {
1449 align-items: center
;
1455 white-space: nowrap
;
1456 text-overflow: ellipsis
;
1459 .cbi-dropdown > ul > li .hide-open {
1463 .cbi-dropdown > ul > li .hide-close {
1467 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1468 border-left: thin solid
#ccc;
1471 .cbi-dropdown[empty] > ul {
1475 .cbi-dropdown > ul > li > form {
1479 pointer-events: none
;
1482 .cbi-dropdown > ul > li img {
1483 margin-right: .25em;
1484 vertical-align: middle
;
1487 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1492 .cbi-dropdown > ul > li input[type="text"] {
1496 .cbi-dropdown[open] > ul.dropdown {
1503 max-height: 200px !important
;
1504 border: thin solid
#918e8c;
1505 background: #f6f6f6;
1506 box-shadow: 0 0 4px #918e8c;
1507 color: var
(--main-menu-color
);
1510 .cbi-dropdown
> ul
> li
[display
],
1511 .cbi-dropdown
[open
] > ul
.preview
,
1512 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1513 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1514 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1515 .cbi-dropdown
[multiple
][more
] > .more
,
1516 .cbi-dropdown[multiple][empty] > .more {
1518 align-items: center
;
1522 .cbi-dropdown
[empty
] > ul
> li
,
1523 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1524 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1528 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1532 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1536 .cbi-dropdown[open] > ul.dropdown > li {
1537 border-bottom: thin solid
#ccc;
1540 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1541 background: #b0d0f0;
1544 .cbi-dropdown[open] > ul.dropdown > li.focus {
1545 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1548 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1553 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1557 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1561 .cbi-dropdown[disabled] {
1562 pointer-events: none
;
1566 .cbi-dropdown .zonebadge {
1570 .cbi-dropdown[open] .zonebadge {
1580 border: thin solid
#999;
1584 .cbi-progressbar > div {
1587 transition: width
.25s ease-in
;
1588 background: #5bc0de;
1589 background: var
(--bar-bg
);
1592 .cbi-progressbar::after {
1593 font-family: monospace
;
1596 font-size-adjust: .38;
1597 line-height: normal
;
1604 content: attr
(title
);
1607 text-overflow: ellipsis
;
1608 text-shadow: 0 0 2px #eee;
1619 transition: opacity
.125s ease-in
;
1621 background: rgba
(0, 0, 0, .7);
1622 -webkit-overflow-scrolling: touch
;
1627 align-items: center
;
1635 border-radius: 3px !important
;
1637 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1641 line-height: normal
;
1643 margin-bottom: .5em;
1650 font-size-adjust: .35;
1652 margin-bottom: .5em;
1655 white-space: pre-wrap
;
1658 background-color: #101010;
1659 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1668 word-break: break-word
;
1672 list-style-type: square
;
1677 padding-left: .25rem;
1678 word-break: break-word
;
1683 align-items: center
;
1684 white-space: normal
;
1686 text-transform: none
;
1687 padding-bottom: 0.2rem;
1688 padding-top: 0.2rem;
1691 .modal label.warning {
1692 background-color: #f0ad4e !important
;
1700 body
.modal-overlay-active
{
1705 body
.modal-overlay-active #modal_overlay
{
1713 padding-left: 32px !important
;
1723 background: url
(../resources/icons/loading.gif) no-repeat center
;
1724 background-size: 16px;
1734 text-align: left
!important
;
1739 text-align: right
!important
;
1744 text-align: center
!important
;
1748 align-self: flex-start
!important
;
1749 vertical-align: top
!important
;
1753 align-self: flex-end
!important
;
1754 vertical-align: bottom
!important
;
1766 .cbi-page-actions > form[method="post"] {
1767 display: inline-block
;
1770 .th
[data-type
="button"],
1771 .td
[data-type
="button"],
1772 .th
[data-type
="fvalue"],
1773 .td[data-type="fvalue"] {
1779 display: inline-flex
;
1780 padding: .5rem .8rem;
1781 border-bottom: thin solid
#ccc;
1783 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
1789 background-color: #f0f0f0;
1794 display: inline-block
;
1795 align-self: flex-start
;
1799 .ifacebadge > img + img {
1800 margin: 0 .2rem 0 0;
1803 .network-status-table {
1808 .network-status-table .ifacebox {
1813 .network-status-table .ifacebox-body {
1815 flex-direction: column
;
1819 .network-status-table .ifacebox-body > span {
1824 .network-status-table .ifacebox-body > div {
1829 .network-status-table .ifacebox-body .ifacebadge {
1830 align-items: center
;
1833 margin: .5em .25em 0 .25em;
1835 background-color: #fff;
1839 .cbi-input-textarea {
1840 font-family: monospace
;
1858 background-color: #101010;
1859 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1866 /* config changes */
1868 font-family: monospace
;
1871 .uci-change-list ins
,
1872 .uci-change-legend-label ins {
1875 text-decoration: none
;
1876 border: thin solid
#0f0;
1877 background-color: #cfc;
1880 .uci-change-list del
,
1881 .uci-change-legend-label del {
1885 text-decoration: none
;
1886 border: thin solid
#f00;
1887 background-color: #fcc;
1890 .uci-change-list var
,
1891 .uci-change-legend-label var {
1895 text-decoration: none
;
1896 border: thin solid
#ccc;
1897 background-color: #eee;
1900 .uci-change-list var ins
,
1901 .uci-change-list var del {
1908 .uci-change-legend {
1912 .uci-change-legend-label {
1917 .uci-change-legend-label
> ins
,
1918 .uci-change-legend-label
> del
,
1919 .uci-change-legend-label > var {
1927 .uci-change-legend-label var ins
,
1928 .uci-change-legend-label var del {
1933 .uci-change-list var
,
1934 .uci-change-list del
,
1935 .uci-change-list ins {
1943 border: thin solid
#d4d4d4 !important
;
1947 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1948 border-top: 0 !important
;
1953 display: inline-flex
;
1954 flex-direction: column
;
1956 border-bottom: thin solid
#ccc;
1957 background-color: #f9f9f9;
1958 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .4), 0 1px 2px rgba
(0, 0, 0, .2);
1966 .ifacebox-head.active {
1967 background: #5bc0de;
1968 background: var
(--bar-bg
);
1980 display: inline-block
;
1981 padding: .2rem .5rem;
1984 .zonebadge .ifacebadge {
1985 margin: .1rem .2rem;
1986 padding: .2rem .3rem;
1987 border: thin solid
#6c6c6c;
1990 .zonebadge > input[type="text"] {
1993 padding: .16rem 1rem;
1997 .zonebadge > strong {
1998 display: inline-block
;
2002 .cbi-value-field
.cbi-input-checkbox
,
2003 .cbi-value-field .cbi-input-radio {
2007 .cbi-value-field > ul > li {
2011 .cbi-value-field > ul > li > label {
2015 .cbi-value-field > ul > li .ifacebadge {
2018 background-color: #eee;
2021 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
2025 .cbi-section-create {
2026 display: inline-flex
;
2027 align-items: center
;
2031 .cbi-section-create > * {
2035 .cbi-section-remove {
2040 td
.cbi-value-field var
,
2041 .td.cbi-value-field var {
2047 padding: 1rem 1rem 0 1rem;
2048 border-top: thin solid
#ccc;
2051 .cbi-dropdown-container {
2055 .cbi-tooltip-container
,
2057 span
[data-tooltip
] .label
{
2058 cursor: help
!important
;
2066 transition: opacity
.25s ease-out
;
2068 pointer-events: none
;
2072 box-shadow: 0 0 2px #444;
2075 .cbi-tooltip-container:hover .cbi-tooltip {
2077 transition: opacity
.25s ease-in
;
2081 .zonebadge .cbi-tooltip {
2082 margin: -1.5rem 0 0 -.5rem;
2084 background: inherit
;
2089 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);
2097 .zone-forwards > * {
2101 .zone-forwards > span {
2107 .zone-forwards
.zone-src
,
2108 .zone-forwards .zone-dest {
2110 flex-direction: column
;
2117 padding: .3rem .8rem;
2118 white-space: nowrap
;
2119 text-decoration: none
;
2120 text-transform: uppercase
;
2121 color: #fff !important
;
2123 background-color: #bfbfbf;
2127 label
> input
[type
="checkbox"],
2128 label
> input
[type
="radio"] {
2129 margin-right: 0.8rem;
2132 label
[data-index
][data-depends
] {
2146 background-color: rgba
(0, 0, 0, .56);
2147 transition: opacity
400ms, visibility
400ms;
2153 #diag-rc-output > pre
,
2154 #command-rc-output > pre
,
2155 [data-page
="admin-services-wol"] .notice code
{
2157 font-size-adjust: .35;
2158 line-height: normal
;
2165 background-color: #101010;
2166 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2169 [data-page
="admin-network-diagnostics"] .table
{
2174 input
[name
="traceroute"],
2175 input
[name
="nslookup"] {
2179 /* fix Main Login */
2180 .node-main-login > .main > .main-left {
2184 .node-main-login > .main > .main-right {
2188 .node-main-login > .main fieldset {
2191 margin-bottom: 1rem;
2198 .node-main-login > .main .cbi-value-title {
2202 .node-main-login > .main #maincontent {
2206 .node-main-login > .main .container {
2207 display: inline-block
;
2208 margin-top: 2rem !important
;
2209 padding: 1rem 3.5rem 2rem;
2211 background-color: #fff;
2212 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2215 .node-main-login > .main form > div:last-child {
2219 .node-main-login > .main .cbi-value {
2223 .node-main-login > .main .cbi-value > * {
2224 display: inline-block
!important
;
2227 .node-main-login > .main .cbi-input-text {
2228 width: 100% !important
;
2232 .node-main-login .cbi-section {
2236 @media screen and
(min-height: 585px) {
2237 .node-main-login footer {
2245 .node-status-overview
> .main
fieldset:nth-child
(4) .td:nth-child
(2),
2246 .node-status-processes > .main .table .tr .td:nth-child(3) {
2247 white-space: normal
;
2250 /* fix system reboot */
2251 [data-page
="admin-system-reboot"] p
{
2255 [data-page
="admin-system-reboot"] p
> span
{
2262 #cbi-samba [data-tab
="template"] .cbi-value-field
{
2266 #cbi-samba [data-tab
="template"] .cbi-value-title
{
2268 padding-bottom: .6rem;
2272 .controls > * > .btn:not([aria-label$="page"]) {
2273 flex-grow: initial
!important
;
2277 .controls > #pager > .btn[aria-label$="page"] {
2282 .controls > * > label {
2283 margin-bottom: .2rem;
2286 [data-page
="admin-system-opkg"] div
.btn
{
2289 padding: .3rem .6rem;
2292 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
2293 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2298 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2300 margin-bottom: 1rem;
2305 white-space: normal
!important
;
2306 word-break: break-word
;
2309 .cbi-tabmenu + .cbi-section {
2313 /* wireless overview */
2314 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2315 box-shadow: inset
1px -1px 0 #ddd, inset
-1px -1px 0 #ddd;
2318 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2322 border-top: thin solid
#ddd !important
;
2325 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2326 box-shadow: inset
1px 0 0 #ddd, inset
-1px 0 0 #ddd;
2329 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2330 border-bottom: thin solid
#ddd;
2331 box-shadow: 0 -1px 0 0 #ddd;
2334 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2344 margin: 2rem 2rem 0 0;
2349 #cbi-firewall-redirect table
*,
2350 #cbi-network-switch_vlan table
*,
2351 #cbi-firewall-zone table
* {
2355 #cbi-firewall-redirect table input
[type
="text"],
2356 #cbi-network-switch_vlan table input
[type
="text"],
2357 #cbi-firewall-zone table input
[type
="text"] {
2361 #cbi-firewall-redirect table select
,
2362 #cbi-network-switch_vlan table select
,
2363 #cbi-firewall-zone table select
{
2367 #cbi-network-switch_vlan .th
,
2368 #cbi-network-switch_vlan .td
{
2372 #cbi-firewall-zone .table
,
2373 #cbi-network-switch_vlan .table
{
2377 #cbi-firewall-zone .td
,
2378 #cbi-network-switch_vlan .td
{
2382 /* applyreboot fix */
2383 #applyreboot-container {
2387 #applyreboot-section {
2392 /* openvpn bug fix */
2394 line-height: initial
!important
;
2397 /* custom commands */
2399 width: 24% !important
;
2400 margin: 10px 0 0 10px !important
;
2401 padding: .5rem 1rem;
2402 border-bottom: thin solid
#ccc;
2404 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
2408 line-height: normal
!important
;
2410 margin: 6px 0 !important
;
2411 white-space: nowrap
;
2412 text-overflow: ellipsis
;
2416 left: auto
!important
;
2425 white-space: nowrap
;
2426 text-overflow: ellipsis
;
2429 .commandbox code:hover {
2432 white-space: normal
;
2435 .commandbox p:first-of-type {
2439 .commandbox p:nth-of-type(2) {
2443 [data-page^
="admin-system-commands"] .panel-title
,
2444 [data-page^
="command-cfg"] .mobile-hide
,
2445 [data-page^
="command-cfg"] .showSide
{
2449 #command-rc-output .alert-message
{
2450 line-height: 1.42857143;
2456 animation: anim-fade-in
1.5s forwards
;
2457 word-break: break-word
;
2461 @keyframes anim-fade-in
{
2468 @media all and
(-ms-high-contrast: none
) {
2469 .main > .main-left > .nav > .slide > .menu::before {
2473 .main > .main-left > .nav > li:last-child::before {
2482 @media screen and
(max-width: 1600px) {
2483 header
> .fill
> .container
> #logo
{
2484 margin: 0 2.5rem 0 .5rem;
2488 width: calc
(0% + 13rem);
2492 width: calc
(100% - 13rem);
2498 padding: .3rem .6rem;
2503 padding: .2rem .6rem;
2513 padding-right: .6rem;
2516 .cbi-value-field
.cbi-dropdown
,
2517 .cbi-value-field
.cbi-input-select
,
2518 .cbi-value input
[type
="text"],
2519 .cbi-value input[type="password"] {
2523 #cbi-firewall-zone .cbi-input-select
{
2527 .cbi-input-textarea {
2531 .node-admin-status > .main fieldset li > a {
2532 padding: .3rem .6rem;
2536 @media screen and
(max-width: 1366px) {
2541 header
> .fill
> .container
{
2548 height: calc
(100% - 3.5rem);
2553 width: calc
(0% + 13rem);
2554 height: calc
(100% - 3.5rem);
2558 width: calc
(100% - 13rem);
2562 .cbi-tabmenu > li > a {
2563 padding: .2rem .5rem;
2566 .cbi-section
> h3:first-child
,
2569 padding-bottom: 1rem;
2573 font-size: .7rem !important
;
2574 width: 100% !important
;
2577 .table .cbi-input-text {
2581 .cbi-value-field
.cbi-dropdown
,
2582 .cbi-value-field
.cbi-input-select
,
2583 .cbi-value input
[type
="text"],
2584 .cbi-value input[type="password"] {
2588 #cbi-firewall-zone .cbi-input-select
{
2592 .main
> .main-left
> .nav
> li
,
2593 .main
> .main-left
> .nav
> li a
,
2594 .main
> .main-left
> .nav
> .slide
> .menu
,
2595 .main > .main-left > .nav > li > [data-title="Logout"] {
2599 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2607 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2611 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2612 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2613 [data-page
="admin-network-hosts"] .table
,
2614 [data-page
="admin-network-routes"] .table
{
2615 overflow-y: visible
;
2619 width: 32% !important
;
2623 @media screen and
(max-width: 1152px) {
2624 header
> .fill
> .container
> #logo
{
2628 header
> .fill
> .container
> .brand
{
2634 overflow-y: visible
;
2637 .main > .loading > span {
2654 display: inline-flex
;
2655 align-items: center
;
2658 margin-right: .7rem;
2668 background: url
(./icons/menu.svg) no-repeat center
;
2671 body:not
(.logged-in
) .showSide
{
2677 .node-main-login > .main .cbi-value-title {
2683 padding-right: 1rem;
2686 .cbi-value-field
.cbi-dropdown
,
2687 .cbi-value-field
.cbi-input-select
,
2688 .cbi-value input[type="text"] {
2693 .cbi-value input
[type
="password"],
2694 .cbi-value input
[name^
="pw"],
2695 .cbi-value input[data-update="change"]:nth-child(2) {
2696 width: 13rem !important
;
2700 #diag-rc-output > pre
,
2701 #command-rc-output > pre
,
2702 [data-page
="admin-services-wol"] .notice code
{
2710 .Interfaces .table {
2720 flex-direction: row
;
2724 .Overview .table[width="100%"] > .tr {
2729 border-bottom: thin solid
#ddd;
2732 .tr
.placeholder
> .td
,
2733 #cbi-firewall .tr
> .td
,
2734 #cbi-network .tr:nth-child
(2) > .td
,
2735 .cbi-section #wifi_assoclist_table .tr > .td {
2741 display: inline-block
;
2742 align-self: flex-start
;
2744 text-overflow: ellipsis
;
2745 word-wrap: break-word
;
2749 .td input[type="text"] {
2754 .td
[data-dynlist
] > input
,
2755 .td input.cbi-input-password {
2756 width: calc
(100% - 1.5rem);
2759 .td
[data-type
="button"],
2760 .td[data-type="fvalue"] {
2765 .th
.cbi-value-field
,
2766 .td
.cbi-value-field
,
2767 .th
.cbi-section-table-cell
,
2768 .td.cbi-section-table-cell {
2773 .cbi-section-table-row {
2775 flex-direction: row
;
2777 justify-content: space-between
;
2778 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2781 .td
.cbi-value-field
,
2782 .cbi-section-table-cell {
2783 display: inline-block
;
2789 .td.cbi-section-actions {
2790 vertical-align: bottom
;
2794 .tr
.cbi-section-table-titles
,
2795 .tr.cbi-section-table-descr {
2799 .tr
[data-title
]::before
,
2800 .tr.cbi-section-table-titles.named::before {
2804 border-bottom: thin solid rgba
(0, 0, 0, .26);
2805 background: #90c0e0;
2809 [data-page^
="admin-status-realtime"] .td
[id
] {
2813 .td[data-title]::before {
2817 .cbi-button + .cbi-button {
2821 .td
.cbi-section-actions
> * > *,
2822 .td.cbi-section-actions > * > form > * {
2827 position: static
!important
;
2830 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2833 .Firewall form input {
2834 width: 100% !important
;
2840 .Firewall .center::before {
2841 text-align: left
!important
;
2845 width: 100% !important
;
2846 margin-left: 0 !important
;
2850 @media screen and
(max-width: 600px) {
2855 .cbi-progressbar::after {
2869 #maincontent > .container
{
2870 margin: 0 .5rem 1.5rem .5rem;
2873 .main
> .main-left
> .nav
> .slide
> .menu
,
2874 .main > .main-left > .nav > li > [data-title="Logout"] {
2878 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2884 min-width: 0 !important
;
2890 .cbi-value-description
,
2892 .cbi-value-field
.cbi-dropdown
,
2893 .cbi-value-field
.cbi-input-select
,
2894 .cbi-value input[type="text"] {
2898 .cbi-value > .cbi-value-field {
2899 display: inline-block
;
2903 .cbi-tabmenu > li > a {
2905 padding: .2rem .3rem;
2908 .cbi-page-actions > div > input {
2912 .cbi-page-actions > .cbi-button {
2916 .node-main-login > .main .container {
2917 margin: 2rem 1.2rem 1.5rem 1.2rem !important
;
2918 padding: .3rem 1.7rem 2rem 1.6rem;
2921 .node-main-login > .main .cbi-value {
2925 .node-main-login > .main form > div:last-child {
2929 .node-main-login > .main .cbi-value-title {
2931 width: 100% !important
;
2934 .node-main-login > .main fieldset {
2939 .commandbox p:first-of-type {
2944 #diag-rc-output > pre
,
2945 #command-rc-output > pre
,
2946 [data-page
="admin-services-wol"] .notice code
{
2947 font-size: .8rem !important
;
2971 .cbi-section
> h3:first-child
,
2974 padding-bottom: 1rem;
2977 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2978 width: 100% !important
;
2981 .node-system-packages > .main .cbi-value .cbi-value-field input {
2990 .td.cbi-value-field {
2994 .td
.cbi-value-field
[data-type
="button"],
2995 .td.cbi-value-field[data-type="fvalue"] {
3000 .tr
[data-title
]::before
,
3001 .tr.cbi-section-table-titles.named::before {
3010 #cbi-wireless > #wifi_assoclist_table
.td
{
3014 #cbi-wireless > .cbi-section-node
.td
,
3015 .Interfaces .td.cbi-section-actions {
3016 text-align: center
!important
;
3019 [data-page
="admin-status-processes"] .td
[data-title
="Hang Up"]::before
,
3020 [data-page
="admin-status-processes"] .td
[data-title
="Terminate"]::before
,
3021 [data-page
="admin-status-processes"] .td
[data-title
="Kill"]::before
{
3026 .hide-xs:not([data-title="MAC-Address"]) {
3034 .cbi-modal .cbi-value {
3035 padding: 0 0 .25rem 0;
3038 .cbi-modal [data-tab-title] {
3039 padding: 0 .25rem !important
;
3043 padding: 0 .5rem !important
;
3047 @media screen and
(min-width: 600px) {
3048 ::-webkit-scrollbar
{
3053 ::-webkit-scrollbar
,
3054 ::-webkit-scrollbar-corner
{
3055 background: transparent
;
3058 ::-webkit-scrollbar-thumb
{
3059 background: #9e9e9e;
3062 ::-webkit-scrollbar-thumb:hover
{
3063 background: #757575;
3066 ::-webkit-scrollbar-thumb:active
{
3067 background: #424242;