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 color: var
(--header-color
);
440 background: var
(--header-bg
);
442 transition: box-shadow
.2s;
443 box-shadow: 0 2px 5px rgb
(0 0 0 / 26%);
456 padding: .3rem .8rem;
458 text-decoration: none
;
459 text-transform: uppercase
;
460 color: #fff !important
;
462 background-color: #bfbfbf;
466 #modemenu > li
> a
.active
{
467 background-color: #5bc0de !important
;
470 #modemenu > li
.divider
{
472 margin-right: .25rem;
473 border: .5rem solid var
(--submenu-bg-hover
);
474 border-left: 1px solid var
(--submenu-bg-hover
);
475 border-right: 1px solid var
(--submenu-bg-hover
);
484 background-color: #ff7d60 !important
;
488 background-color: #f0e68c !important
;
492 background-color: #5cb85c !important
;
496 [data-indicator
]:not
([data-style
="inactive"]) {
497 background-color: #5bc0de !important
;
510 border-radius: 0 !important
;
511 background-color: #fff;
512 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
513 text-shadow: 1px 1px rgba
(0, 0, 0, .1);
516 .alert-message > h4 {
525 .alert-message .btn {
526 padding: .3rem .6rem;
530 .container .alert-message {
534 .main > .main-left > .nav {
538 .main > .main-left > .nav > li {
541 -webkit-user-select: none
;
542 -moz-user-select: none
;
543 -ms-user-select: none
;
547 .main > .main-left > .nav > li:last-child {
550 margin: 2rem 0 1rem 0;
554 .main > .main-left > .nav > li a {
557 color: var
(--menu-color
);
560 .main > .main-left > .nav > .slide {
564 .main > .main-left > .nav > .slide > ul {
568 .main > .main-left > .nav > .slide.active > ul {
572 .main
> .main-left
> .nav
> .slide
> .menu
,
573 .main > .main-left > .nav > li > [data-title="Logout"] {
580 text-decoration: none
;
582 color: var
(--main-menu-color
);
585 .main > .main-left > .nav > .slide > .menu::before {
591 background: url
(./icons/arrow.svg) no-repeat
;
594 .main > .main-left > .nav > .slide > .menu.active::before {
595 transform: rotate
(-180deg);
598 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu::before
{
599 transition: transform
.1s ease-in-out
;
602 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu
.active::before
{
603 transition: transform
.2s ease-in-out
;
606 .main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before {
610 .main > .main-left > .nav > li:last-child::before {
615 content: url
(./icons/logout.svg);
618 .main
> .main-left
> .nav
> li:hover
,
619 .main > .main-left > .nav > .slide > .menu:hover {
621 background: var
(--submenu-bg-hover
);
624 .main > .main-left > .nav > .slide:hover {
628 .main > .main-left > .nav > .slide > .slide-menu > .active {
629 background-color: #09c;
630 background-color: var
(--submenu-bg-hover-active
);
633 .main > .main-left > .nav > .slide > .slide-menu > li > a {
635 text-decoration: none
;
639 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
643 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
645 background: var
(--submenu-bg-hover
);
648 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
650 color: var
(--menu-color-hover
);
653 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
654 background-color: #09c;
655 background-color: var
(--main-color
);
659 .main
> .main-left
> .nav
> .slide
> .menu
,
660 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li
,
661 .main > .main-left > .nav > li:last-child {
664 transform: translate3d
(0, 0, 0);
667 .main
> .main-left
> .nav
> .slide
> .menu::after
,
668 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li::after
,
669 .main > .main-left > .nav > li:last-child::after {
677 transition: transform
.5s, opacity
1s;
678 transform: scale
(10, 10);
679 pointer-events: none
;
681 background-image: radial-gradient
(circle
, #000 10%, transparent
10.01%);
682 background-repeat: no-repeat
;
683 background-position: 50%;
686 .main
> .main-left
> .nav
> .slide
> .menu:active::after
,
687 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li:active::after
,
688 .main > .main-left > .nav > li:last-child:active::after {
690 transform: scale
(0, 0);
694 #maincontent > .container
{
695 margin: 0 2rem 1rem 2rem;
703 list-style-type: none
;
708 padding-bottom: 10px;
709 border-bottom: thin solid
#eee;
715 padding-bottom: 10px;
716 border-bottom: thin solid
#eee;
722 padding-bottom: 10px;
728 padding-bottom: 10px;
734 padding-bottom: 10px;
741 #cbi-network > .cbi-section-node
,
742 #cbi-wireless > .cbi-section-node
,
743 #cbi-wireless > #wifi_assoclist_table
,
745 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
746 [data-page
="admin-system-opkg"] #maincontent
> .container
{
747 font-family: inherit
;
756 background-color: #fff;
757 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
760 .cbi-modal
.cbi-section
,
761 .cbi-section .cbi-section {
766 .cbi-modal .cbi-tabmenu {
773 line-height: 1.42857143;
778 .cbi-map-descr + fieldset {
782 .cbi-section > legend {
783 display: none
!important
;
787 .cbi-section > .cbi-section {
794 .cbi-section
> h3:first-child
,
801 margin-bottom: .5rem;
802 padding-bottom: 1rem;
804 border-bottom: thin solid
#eee;
807 .cbi-section
> h4:first-child
,
808 .cbi-section
> p:first-child
,
809 [data-tab-title
] > h3:first-child
,
810 [data-tab-title
] > h4:first-child
,
811 [data-tab-title
] > p:first-child
{
817 border-collapse: collapse
;
824 box-shadow: 0 0 0 1px #ddd;
827 table
> tbody
> tr
> td
,
828 table
> tbody
> tr
> th
,
829 table
> tfoot
> tr
> td
,
830 table
> tfoot
> tr
> th
,
831 table
> thead
> tr
> td
,
832 table
> thead
> tr
> th
,
833 .table
> .tbody
> .tr
> .td
,
834 .table
> .tbody
> .tr
> .th
,
835 .table
> .tfoot
> .tr
> .td
,
836 .table
> .tfoot
> .tr
> .th
,
837 .table
> .thead
> .tr
> .td
,
838 .table
> .thead
> .tr
> .th
,
839 .table
> .tr
> .td
.cbi-value-field
,
840 .table > .tr > .th.cbi-section-table-cell {
844 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
848 .cbi-section-table-cell {
850 align-self: flex-end
;
858 .cbi-section-table-row::before
,
859 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
860 border-top: thin solid
#ddd;
864 #cbi-network .tr:first-child
> .td
,
865 .table
[width
="100%"] > .tr:first-child
> .td
,
866 [data-page
="admin-network-diagnostics"] .tr
> .td
,
867 .tr
.table-titles
> .th
,
868 .tr.cbi-section-table-titles > .th {
869 border-top: 0 !important
;
872 .table[width="100%"] > .tr:first-child > .td {
876 .cbi-section-table-row {
878 text-align: center
!important
;
882 .cbi-section-table-row:last-child {
886 .cbi-section-table-row
> .cbi-value-field
.cbi-dropdown
,
887 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
888 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
889 .cbi-section-table-row > .cbi-value-field .cbi-input-password {
893 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
894 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
895 width: calc
(100% - 1.5rem);
898 .cbi-section-table-row .td {
899 text-align: center
!important
;
902 div
> table
> tbody
> tr:nth-of-type
(2n),
903 div
> .table
> .tr:nth-of-type
(2n) {
904 background-color: #f9f9f9;
907 /* fix multiple table */
910 .cbi-value-field table
,
911 .cbi-value-field
.table
,
912 td
> table
> tbody
> tr
> td
,
913 .td
> .table
> .tbody
> .tr
> .td
,
914 .cbi-value-field
> table
> tbody
> tr
> td
,
915 .cbi-value-field > .table > .tbody > .tr > .td {
924 display: inline-block
;
925 width: auto
!important
;
928 -webkit-user-select: none
;
929 -moz-user-select: none
;
930 -ms-user-select: none
;
932 transition: all
.2s ease-in-out
;
934 vertical-align: middle
;
936 text-decoration: none
;
937 text-transform: uppercase
;
938 color: rgba
(0, 0, 0, .87);
940 border-radius: .2rem;
941 background-color: #f0f0f0;
942 background-image: none
;
943 -webkit-appearance: none
;
944 -ms-touch-action: manipulation
;
945 touch-action: manipulation
;
951 display: inline-block
;
953 padding: .2rem .3rem;
954 color: transparent
!important
;
955 background: url
(./icons/arrow.svg) no-repeat center
;
956 background-size: 12px 20px;
960 transform: scaleY
(-1);
963 .cbi-button:not(select) {
964 -webkit-appearance: none
!important
;
967 .cbi-button + .cbi-button {
980 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
981 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
982 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
983 text-decoration: none
;
993 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 2px 2px rgba
(0, 0, 0, .2);
998 .item:active::after {
999 box-shadow: 0 10px 20px rgba
(0, 0, 0, .19), 0 6px 6px rgba
(0, 0, 0, .23);
1002 .cbi-button-up:hover
,
1003 .cbi-button-up:focus {
1004 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 -2px 2px rgba
(0, 0, 0, .2);
1007 .cbi-button-up:active {
1008 box-shadow: 0 -10px 20px rgba
(0, 0, 0, .19), 0 -6px 6px rgba
(0, 0, 0, .23);
1012 .cbi-button:disabled {
1013 cursor: not-allowed
;
1014 pointer-events: none
;
1020 .alert-message
[class
="btn"],
1021 .modal div
[class
="btn"],
1026 .cbi-button-neutral
,
1027 .cbi-button
[name
="zero"],
1028 .cbi-button
[name
="restart"],
1029 .cbi-button[onclick="hide_empty(this)"] {
1031 border: thin solid
#bfbfbf;
1032 background-color: #d4d4d4;
1037 .cbi-page-actions
.cbi-button-save
,
1038 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
1041 .cbi-button-positive
,
1043 .cbi-button
[value
="Enable"],
1044 .cbi-button
[value
="Scan"],
1045 .cbi-button
[value^
="Back"],
1046 .cbi-button-neutral[onclick="handleConfig(event)"] {
1047 font-weight: normal
;
1049 border: thin solid
#2e6da4;
1050 background-color: #337ab7;
1054 .cbi-page-actions
.cbi-button-apply
,
1055 .cbi-section-actions
.cbi-button-edit
,
1060 .cbi-button
[value
="Submit"],
1061 .cbi-button
[value
="Upload"],
1062 .cbi-button
[value$
="Apply"],
1063 .cbi-button[onclick="addKey(event)"] {
1064 font-weight: normal
;
1066 border: thin solid
#46b8da;
1067 background-color: #5bc0de;
1072 .cbi-section-remove
> .cbi-button
,
1075 .cbi-button-negative
,
1076 .cbi-button
[value
="Stop"],
1077 .cbi-button
[value
="Kill"],
1078 .cbi-button
[onclick
="reboot(this)"],
1079 .cbi-button-neutral[value="Restart"] {
1080 font-weight: normal
;
1082 border: thin solid
#d43f3a;
1083 background-color: #d9534f;
1087 .btn
[value
="Dismiss"],
1088 .cbi-button
[value
="Terminate"],
1089 .cbi-button
[value
="Reset"],
1090 .cbi-button
[value
="Disabled"],
1091 .cbi-button
[onclick^
="iface_reconnect"],
1092 .cbi-button
[onclick
="handleReset(event)"],
1093 .cbi-button-neutral[value="Disable"] {
1094 font-weight: normal
;
1096 border: thin solid
#eea236;
1097 background-color: #f0ad4e;
1101 .cbi-button-success
,
1102 .cbi-button-download
,
1103 .cbi-button
[name
="backup"],
1104 .cbi-button
[value
="Download"],
1105 .cbi-button[value="Save mtdblock"] {
1106 font-weight: normal
;
1108 border: thin solid
#4cae4c;
1109 background-color: #5cb85c;
1112 .cbi-page-actions .cbi-button-link:first-child {
1117 text-decoration: none
;
1120 .cbi-value-field .cbi-button-add {
1122 margin: 9px 0 4px 3px;
1128 padding-left: .5rem;
1129 background-color: #fff;
1134 display: inline-block
;
1140 padding-bottom: .4rem;
1141 border-bottom: .2rem solid transparent
;
1144 .tabs
> li
[class
~="active"],
1146 border-bottom-color: #09c;
1147 border-bottom-color: var
(--main-color
);
1152 border-bottom-color: #c9c9c9;
1156 .cbi-tabmenu > li > a {
1157 padding: .6rem .9rem;
1158 text-decoration: none
;
1162 .tabs > li[class~="active"] > a {
1164 color: var
(--main-color
);
1168 border: thin solid
#d4d4d4;
1172 .cbi-tabmenu > li:hover {
1173 background-color: #f1f1f1;
1176 .cbi-tabmenu > li[class~="cbi-tab"] {
1177 background-color: #fff;
1181 background-color: #d4d4d4;
1184 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
1185 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1186 background-color: #f9f9f9;
1194 padding: 0rem 1rem !important
;
1197 [data-tab-active
="true"] {
1201 transition: opacity
.25s ease-in
;
1202 margin: inherit
!important
;
1205 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n+3),
1206 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1207 background-color: #f9f9f9;
1210 .cbi-section-node-tabbed {
1213 border: thin solid
#d4d4d4;
1217 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1218 background-color: #f9f9f9;
1222 .cbi-value-description {
1224 display: table-cell
;
1227 .cbi-value-description {
1234 display: table-cell
;
1237 padding-top: .35rem;
1238 padding-right: 2rem;
1240 word-wrap: break-word
;
1244 display: inline-block
;
1246 padding: .35rem 1rem .2rem 1rem;
1253 .cbi-value-field
.cbi-dropdown
,
1254 .cbi-value-field
.cbi-input-select
,
1255 .cbi-value input
[type
="text"],
1256 .cbi-value input[type="password"] {
1260 #cbi-firewall-zone .cbi-input-select
,
1261 #cbi-network-switch_vlan .cbi-input-select
{
1265 #cbi-network-switch_vlan .cbi-input-text
{
1269 .cbi-input-invalid {
1271 border-bottom-color: #f00;
1274 .cbi-section-error {
1276 line-height: 1.42857143;
1279 border: thin solid
#f00;
1281 background-color: #fce6e6;
1284 .cbi-section-error ul {
1288 .cbi-section-error ul li {
1293 .td[data-title]::before {
1297 content: attr
(data-title
) ":\20";
1299 white-space: nowrap
;
1302 .tr.placeholder .td[data-title]::before {
1306 .tr
[data-title
]::before
,
1307 .tr.cbi-section-table-titles.named::before {
1309 display: table-cell
;
1313 content: attr
(data-title
) "\20";
1315 vertical-align: middle
;
1316 white-space: normal
;
1317 word-wrap: break-word
;
1321 background-color: #f9f9f9;
1325 background-color: #eee;
1328 .cbi-rowstyle-2
.cbi-button-up
,
1329 .cbi-rowstyle-2
.cbi-button-down
,
1330 body:not
(.Interfaces
) .cbi-rowstyle-2:first-child
{
1331 background-color: #fff !important
;
1334 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1335 width: auto
!important
;
1338 .td.cbi-section-actions {
1339 text-align: right
!important
;
1340 vertical-align: middle
;
1343 .td.cbi-section-actions > * {
1344 display: inline-flex
;
1347 .td
.cbi-section-actions
> * > *,
1348 .td.cbi-section-actions > * > form > * {
1352 .td.cbi-section-actions > * > form {
1353 display: inline-flex
;
1360 flex-direction: column
;
1365 .cbi-dynlist > .item {
1369 padding: .5em .25em .25em 0;
1370 pointer-events: none
;
1372 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1376 .cbi-dynlist[name="sshkeys"] > .item {
1380 .cbi-dynlist > .item::after {
1385 display: inline-flex
;
1389 pointer-events: auto
;
1391 border: thin solid
#d43f3a;
1392 background-color: #d9534f;
1395 .cbi-dynlist > .item > span {
1396 white-space: normal
;
1397 word-break: break-word
;
1400 .cbi-dynlist > .add-item {
1401 display: inline-flex
;
1402 align-items: center
;
1407 .cbi-dynlist > .add-item:not([ondrop]) > input {
1411 white-space: nowrap
;
1412 text-overflow: ellipsis
;
1415 .cbi-dynlist > .add-item[ondrop] > input {
1422 display: inline-flex
;
1426 .cbi-dropdown[placeholder*="select"] {
1432 .cbi-dropdown > ul {
1437 margin: 0 !important
;
1443 .cbi-dropdown > ul.preview {
1447 .cbi-dropdown > .open {
1451 .cbi-dropdown
> .open
,
1452 .cbi-dropdown > .more {
1457 flex-direction: column
;
1460 justify-content: center
;
1470 padding-bottom: 0px;
1474 .cbi-dropdown.btn > .open {
1480 .cbi-dropdown.btn > div {
1484 .cbi-dropdown
> .more
,
1485 .cbi-dropdown > ul > li[placeholder] {
1489 text-shadow: 1px 1px 0 #fff;
1492 .cbi-dropdown > ul > li {
1495 align-items: center
;
1501 white-space: nowrap
;
1502 text-overflow: ellipsis
;
1505 .cbi-dropdown > ul > li .hide-open {
1509 .cbi-dropdown > ul > li .hide-close {
1513 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1514 border-left: thin solid
#ccc;
1517 .cbi-dropdown[empty] > ul {
1521 .cbi-dropdown > ul > li > form {
1525 pointer-events: none
;
1528 .cbi-dropdown > ul > li img {
1529 margin-right: .25em;
1530 vertical-align: middle
;
1533 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1538 .cbi-dropdown > ul > li input[type="text"] {
1542 .cbi-dropdown[open] > ul.dropdown {
1549 max-height: 200px !important
;
1550 border: thin solid
#918e8c;
1551 background: #f6f6f6;
1552 box-shadow: 0 0 4px #918e8c;
1553 color: var
(--main-menu-color
);
1556 .cbi-dropdown
> ul
> li
[display
],
1557 .cbi-dropdown
[open
] > ul
.preview
,
1558 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1559 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1560 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1561 .cbi-dropdown
[multiple
][more
] > .more
,
1562 .cbi-dropdown[multiple][empty] > .more {
1564 align-items: center
;
1568 .cbi-dropdown
[empty
] > ul
> li
,
1569 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1570 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1574 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1578 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1582 .cbi-dropdown[open] > ul.dropdown > li {
1583 border-bottom: thin solid
#ccc;
1586 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1587 background: #b0d0f0;
1590 .cbi-dropdown[open] > ul.dropdown > li.focus {
1591 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1594 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1599 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1603 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1607 .cbi-dropdown[disabled] {
1608 pointer-events: none
;
1612 .cbi-dropdown .zonebadge {
1616 .cbi-dropdown[open] .zonebadge {
1626 border: thin solid
#999;
1630 .cbi-progressbar > div {
1633 transition: width
.25s ease-in
;
1634 background: #5bc0de;
1635 background: var
(--bar-bg
);
1638 .cbi-progressbar::after {
1639 font-family: monospace
;
1642 font-size-adjust: .38;
1643 line-height: normal
;
1650 content: attr
(title
);
1653 text-overflow: ellipsis
;
1654 text-shadow: 0 0 2px #eee;
1665 transition: opacity
.125s ease-in
;
1667 background: rgba
(0, 0, 0, .7);
1668 -webkit-overflow-scrolling: touch
;
1673 align-items: center
;
1681 border-radius: 3px !important
;
1683 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1687 line-height: normal
;
1689 margin-bottom: .5em;
1696 font-size-adjust: .35;
1698 margin-bottom: .5em;
1701 white-space: pre-wrap
;
1704 background-color: #101010;
1705 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1714 word-break: break-word
;
1718 list-style-type: square
;
1723 padding-left: .25rem;
1724 word-break: break-word
;
1729 align-items: center
;
1730 white-space: normal
;
1732 text-transform: none
;
1733 padding-bottom: 0.2rem;
1734 padding-top: 0.2rem;
1737 .modal label.warning {
1738 background-color: #f0ad4e !important
;
1746 body
.modal-overlay-active
{
1751 body
.modal-overlay-active #modal_overlay
{
1759 padding-left: 32px !important
;
1769 background: url
(../resources/icons/loading.gif) no-repeat center
;
1770 background-size: 16px;
1780 text-align: left
!important
;
1785 text-align: right
!important
;
1790 text-align: center
!important
;
1794 align-self: flex-start
!important
;
1795 vertical-align: top
!important
;
1799 align-self: flex-end
!important
;
1800 vertical-align: bottom
!important
;
1812 .cbi-page-actions > form[method="post"] {
1813 display: inline-block
;
1816 .th
[data-type
="button"],
1817 .td
[data-type
="button"],
1818 .th
[data-type
="fvalue"],
1819 .td[data-type="fvalue"] {
1825 display: inline-flex
;
1826 padding: .5rem .8rem;
1827 border-bottom: thin solid
#ccc;
1829 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
1835 background-color: #f0f0f0;
1840 display: inline-block
;
1841 align-self: flex-start
;
1845 .ifacebadge > img + img {
1846 margin: 0 .2rem 0 0;
1849 .network-status-table {
1854 .network-status-table .ifacebox {
1859 .network-status-table .ifacebox-body {
1861 flex-direction: column
;
1865 .network-status-table .ifacebox-body > span {
1870 .network-status-table .ifacebox-body > div {
1875 .network-status-table .ifacebox-body .ifacebadge {
1876 align-items: center
;
1879 margin: .5em .25em 0 .25em;
1881 background-color: #fff;
1885 .cbi-input-textarea {
1886 font-family: monospace
;
1904 background-color: #101010;
1905 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1912 /* config changes */
1914 font-family: monospace
;
1917 .uci-change-list ins
,
1918 .uci-change-legend-label ins {
1921 text-decoration: none
;
1922 border: thin solid
#0f0;
1923 background-color: #cfc;
1926 .uci-change-list del
,
1927 .uci-change-legend-label del {
1931 text-decoration: none
;
1932 border: thin solid
#f00;
1933 background-color: #fcc;
1936 .uci-change-list var
,
1937 .uci-change-legend-label var {
1941 text-decoration: none
;
1942 border: thin solid
#ccc;
1943 background-color: #eee;
1946 .uci-change-list var ins
,
1947 .uci-change-list var del {
1954 .uci-change-legend {
1958 .uci-change-legend-label {
1963 .uci-change-legend-label
> ins
,
1964 .uci-change-legend-label
> del
,
1965 .uci-change-legend-label > var {
1973 .uci-change-legend-label var ins
,
1974 .uci-change-legend-label var del {
1979 .uci-change-list var
,
1980 .uci-change-list del
,
1981 .uci-change-list ins {
1989 border: thin solid
#d4d4d4 !important
;
1993 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1994 border-top: 0 !important
;
1999 display: inline-flex
;
2000 flex-direction: column
;
2002 border-bottom: thin solid
#ccc;
2003 background-color: #f9f9f9;
2004 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .4), 0 1px 2px rgba
(0, 0, 0, .2);
2012 .ifacebox-head.active {
2013 background: #5bc0de;
2014 background: var
(--bar-bg
);
2026 display: inline-block
;
2027 padding: .2rem .5rem;
2030 .zonebadge .ifacebadge {
2031 margin: .1rem .2rem;
2032 padding: .2rem .3rem;
2033 border: thin solid
#6c6c6c;
2036 .zonebadge > input[type="text"] {
2039 padding: .16rem 1rem;
2043 .zonebadge > strong {
2044 display: inline-block
;
2048 .cbi-value-field
.cbi-input-checkbox
,
2049 .cbi-value-field .cbi-input-radio {
2053 .cbi-value-field > ul > li {
2057 .cbi-value-field > ul > li > label {
2061 .cbi-value-field > ul > li .ifacebadge {
2064 background-color: #eee;
2067 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
2071 .cbi-section-create {
2072 display: inline-flex
;
2073 align-items: center
;
2077 .cbi-section-create > * {
2081 .cbi-section-remove {
2086 td
.cbi-value-field var
,
2087 .td.cbi-value-field var {
2093 padding: 1rem 1rem 0 1rem;
2094 border-top: thin solid
#ccc;
2097 .cbi-dropdown-container {
2101 .cbi-tooltip-container
,
2103 span
[data-tooltip
] .label
{
2104 cursor: help
!important
;
2112 transition: opacity
.25s ease-out
;
2114 pointer-events: none
;
2118 box-shadow: 0 0 2px #444;
2121 .cbi-tooltip-container:hover .cbi-tooltip {
2123 transition: opacity
.25s ease-in
;
2127 .zonebadge .cbi-tooltip {
2128 margin: -1.5rem 0 0 -.5rem;
2130 background: inherit
;
2135 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);
2143 .zone-forwards > * {
2147 .zone-forwards > span {
2153 .zone-forwards
.zone-src
,
2154 .zone-forwards .zone-dest {
2156 flex-direction: column
;
2163 padding: .3rem .8rem;
2164 white-space: nowrap
;
2165 text-decoration: none
;
2166 text-transform: uppercase
;
2167 color: #fff !important
;
2169 background-color: #bfbfbf;
2173 label
> input
[type
="checkbox"],
2174 label
> input
[type
="radio"] {
2175 margin-right: 0.8rem;
2178 label
[data-index
][data-depends
] {
2192 background-color: rgba
(0, 0, 0, .56);
2193 transition: opacity
400ms, visibility
400ms;
2199 #diag-rc-output > pre
,
2200 #command-rc-output > pre
,
2201 [data-page
="admin-services-wol"] .notice code
{
2203 font-size-adjust: .35;
2204 line-height: normal
;
2211 background-color: #101010;
2212 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2215 [data-page
="admin-network-diagnostics"] .table
{
2220 input
[name
="traceroute"],
2221 input
[name
="nslookup"] {
2225 /* fix Main Login */
2226 .node-main-login > .main > .main-left {
2230 .node-main-login > .main > .main-right {
2234 .node-main-login > .main fieldset {
2237 margin-bottom: 1rem;
2244 .node-main-login > .main .cbi-value-title {
2248 .node-main-login > .main #maincontent {
2252 .node-main-login > .main .container {
2253 display: inline-block
;
2254 margin-top: 2rem !important
;
2255 padding: 1rem 3.5rem 2rem;
2257 background-color: #fff;
2258 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2261 .node-main-login > .main form > div:last-child {
2265 .node-main-login > .main .cbi-value {
2269 .node-main-login > .main .cbi-value > * {
2270 display: inline-block
!important
;
2273 .node-main-login > .main .cbi-input-text {
2274 width: 100% !important
;
2278 .node-main-login .cbi-section {
2282 @media screen and
(min-height: 585px) {
2283 .node-main-login footer {
2291 .node-status-overview
> .main
fieldset:nth-child
(4) .td:nth-child
(2),
2292 .node-status-processes > .main .table .tr .td:nth-child(3) {
2293 white-space: normal
;
2296 /* fix system reboot */
2297 [data-page
="admin-system-reboot"] p
{
2301 [data-page
="admin-system-reboot"] p
> span
{
2308 #cbi-samba [data-tab
="template"] .cbi-value-field
{
2312 #cbi-samba [data-tab
="template"] .cbi-value-title
{
2314 padding-bottom: .6rem;
2318 .controls > * > .btn:not([aria-label$="page"]) {
2319 flex-grow: initial
!important
;
2323 .controls > #pager > .btn[aria-label$="page"] {
2328 .controls > * > label {
2329 margin-bottom: .2rem;
2332 [data-page
="admin-system-opkg"] div
.btn
{
2335 padding: .3rem .6rem;
2338 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
2339 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2344 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2346 margin-bottom: 1rem;
2351 white-space: normal
!important
;
2352 word-break: break-word
;
2355 .cbi-tabmenu + .cbi-section {
2359 /* wireless overview */
2360 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2361 box-shadow: inset
1px -1px 0 #ddd, inset
-1px -1px 0 #ddd;
2364 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2368 border-top: thin solid
#ddd !important
;
2371 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2372 box-shadow: inset
1px 0 0 #ddd, inset
-1px 0 0 #ddd;
2375 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2376 border-bottom: thin solid
#ddd;
2377 box-shadow: 0 -1px 0 0 #ddd;
2380 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2390 margin: 2rem 2rem 0 0;
2395 #cbi-firewall-redirect table
*,
2396 #cbi-network-switch_vlan table
*,
2397 #cbi-firewall-zone table
* {
2401 #cbi-firewall-redirect table input
[type
="text"],
2402 #cbi-network-switch_vlan table input
[type
="text"],
2403 #cbi-firewall-zone table input
[type
="text"] {
2407 #cbi-firewall-redirect table select
,
2408 #cbi-network-switch_vlan table select
,
2409 #cbi-firewall-zone table select
{
2413 #cbi-network-switch_vlan .th
,
2414 #cbi-network-switch_vlan .td
{
2418 #cbi-firewall-zone .table
,
2419 #cbi-network-switch_vlan .table
{
2423 #cbi-firewall-zone .td
,
2424 #cbi-network-switch_vlan .td
{
2428 /* applyreboot fix */
2429 #applyreboot-container {
2433 #applyreboot-section {
2438 /* openvpn bug fix */
2440 line-height: initial
!important
;
2443 /* custom commands */
2445 width: 24% !important
;
2446 margin: 10px 0 0 10px !important
;
2447 padding: .5rem 1rem;
2448 border-bottom: thin solid
#ccc;
2450 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
2454 line-height: normal
!important
;
2456 margin: 6px 0 !important
;
2457 white-space: nowrap
;
2458 text-overflow: ellipsis
;
2462 left: auto
!important
;
2471 white-space: nowrap
;
2472 text-overflow: ellipsis
;
2475 .commandbox code:hover {
2478 white-space: normal
;
2481 .commandbox p:first-of-type {
2485 .commandbox p:nth-of-type(2) {
2489 [data-page^
="admin-system-commands"] .panel-title
,
2490 [data-page^
="command-cfg"] .mobile-hide
,
2491 [data-page^
="command-cfg"] .showSide
{
2495 #command-rc-output .alert-message
{
2496 line-height: 1.42857143;
2502 animation: anim-fade-in
1.5s forwards
;
2503 word-break: break-word
;
2507 @keyframes anim-fade-in
{
2514 @media all and
(-ms-high-contrast: none
) {
2515 .main > .main-left > .nav > .slide > .menu::before {
2519 .main > .main-left > .nav > li:last-child::before {
2528 @media screen and
(max-width: 1600px) {
2529 header
> .fill
> .container
> #logo
{
2530 margin: 0 2.5rem 0 .5rem;
2534 width: calc
(0% + 13rem);
2538 width: calc
(100% - 13rem);
2544 padding: .3rem .6rem;
2549 padding: .2rem .6rem;
2559 padding-right: .6rem;
2562 .cbi-value-field
.cbi-dropdown
,
2563 .cbi-value-field
.cbi-input-select
,
2564 .cbi-value input
[type
="text"],
2565 .cbi-value input[type="password"] {
2569 #cbi-firewall-zone .cbi-input-select
{
2573 .cbi-input-textarea {
2577 .node-admin-status > .main fieldset li > a {
2578 padding: .3rem .6rem;
2582 @media screen and
(max-width: 1366px) {
2587 header
> .fill
> .container
{
2594 height: calc
(100% - 3.5rem);
2599 width: calc
(0% + 13rem);
2600 height: calc
(100% - 3.5rem);
2604 width: calc
(100% - 13rem);
2608 .cbi-tabmenu > li > a {
2609 padding: .2rem .5rem;
2612 .cbi-section
> h3:first-child
,
2615 padding-bottom: 1rem;
2619 font-size: .7rem !important
;
2620 width: 100% !important
;
2623 .table .cbi-input-text {
2627 .cbi-value-field
.cbi-dropdown
,
2628 .cbi-value-field
.cbi-input-select
,
2629 .cbi-value input
[type
="text"],
2630 .cbi-value input[type="password"] {
2634 #cbi-firewall-zone .cbi-input-select
{
2638 .main
> .main-left
> .nav
> li
,
2639 .main
> .main-left
> .nav
> li a
,
2640 .main
> .main-left
> .nav
> .slide
> .menu
,
2641 .main > .main-left > .nav > li > [data-title="Logout"] {
2645 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2653 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2657 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2658 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2659 [data-page
="admin-network-hosts"] .table
,
2660 [data-page
="admin-network-routes"] .table
{
2661 overflow-y: visible
;
2665 width: 32% !important
;
2669 @media screen and
(max-width: 1152px) {
2670 header
> .fill
> .container
> #logo
{
2674 header
> .fill
> .container
> .brand
{
2680 overflow-y: visible
;
2683 .main > .loading > span {
2700 display: inline-flex
;
2701 align-items: center
;
2704 margin-right: .7rem;
2714 background: url
(./icons/menu.svg) no-repeat center
;
2717 body:not
(.logged-in
) .showSide
{
2723 .node-main-login > .main .cbi-value-title {
2729 padding-right: 1rem;
2732 .cbi-value-field
.cbi-dropdown
,
2733 .cbi-value-field
.cbi-input-select
,
2734 .cbi-value input[type="text"] {
2739 .cbi-value input
[type
="password"],
2740 .cbi-value input
[name^
="pw"],
2741 .cbi-value input[data-update="change"]:nth-child(2) {
2742 width: 13rem !important
;
2746 #diag-rc-output > pre
,
2747 #command-rc-output > pre
,
2748 [data-page
="admin-services-wol"] .notice code
{
2756 .Interfaces .table {
2766 flex-direction: row
;
2770 .Overview .table[width="100%"] > .tr {
2775 border-bottom: thin solid
#ddd;
2778 .tr
.placeholder
> .td
,
2779 #cbi-firewall .tr
> .td
,
2780 #cbi-network .tr:nth-child
(2) > .td
,
2781 .cbi-section #wifi_assoclist_table .tr > .td {
2787 display: inline-block
;
2788 align-self: flex-start
;
2790 text-overflow: ellipsis
;
2791 word-wrap: break-word
;
2795 .td input[type="text"] {
2800 .td
[data-dynlist
] > input
,
2801 .td input.cbi-input-password {
2802 width: calc
(100% - 1.5rem);
2805 .td
[data-type
="button"],
2806 .td[data-type="fvalue"] {
2811 .th
.cbi-value-field
,
2812 .td
.cbi-value-field
,
2813 .th
.cbi-section-table-cell
,
2814 .td.cbi-section-table-cell {
2819 .cbi-section-table-row {
2821 flex-direction: row
;
2823 justify-content: space-between
;
2824 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2827 .td
.cbi-value-field
,
2828 .cbi-section-table-cell {
2829 display: inline-block
;
2835 .td.cbi-section-actions {
2836 vertical-align: bottom
;
2840 .tr
.cbi-section-table-titles
,
2841 .tr.cbi-section-table-descr {
2845 .tr
[data-title
]::before
,
2846 .tr.cbi-section-table-titles.named::before {
2850 border-bottom: thin solid rgba
(0, 0, 0, .26);
2851 background: #90c0e0;
2855 [data-page^
="admin-status-realtime"] .td
[id
] {
2859 .td[data-title]::before {
2863 .cbi-button + .cbi-button {
2867 .td
.cbi-section-actions
> * > *,
2868 .td.cbi-section-actions > * > form > * {
2873 position: static
!important
;
2876 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2879 .Firewall form input {
2880 width: 100% !important
;
2886 .Firewall .center::before {
2887 text-align: left
!important
;
2891 width: 100% !important
;
2892 margin-left: 0 !important
;
2896 @media screen and
(max-width: 600px) {
2901 .cbi-progressbar::after {
2915 #maincontent > .container
{
2916 margin: 0 .5rem 1.5rem .5rem;
2919 .main
> .main-left
> .nav
> .slide
> .menu
,
2920 .main > .main-left > .nav > li > [data-title="Logout"] {
2924 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2930 min-width: 0 !important
;
2936 .cbi-value-description
,
2938 .cbi-value-field
.cbi-dropdown
,
2939 .cbi-value-field
.cbi-input-select
,
2940 .cbi-value input[type="text"] {
2944 .cbi-value > .cbi-value-field {
2945 display: inline-block
;
2949 .cbi-tabmenu > li > a {
2951 padding: .2rem .3rem;
2954 .cbi-page-actions > div > input {
2958 .cbi-page-actions > .cbi-button {
2962 .node-main-login > .main .container {
2963 margin: 2rem 1.2rem 1.5rem 1.2rem !important
;
2964 padding: .3rem 1.7rem 2rem 1.6rem;
2967 .node-main-login > .main .cbi-value {
2971 .node-main-login > .main form > div:last-child {
2975 .node-main-login > .main .cbi-value-title {
2977 width: 100% !important
;
2980 .node-main-login > .main fieldset {
2985 .commandbox p:first-of-type {
2990 #diag-rc-output > pre
,
2991 #command-rc-output > pre
,
2992 [data-page
="admin-services-wol"] .notice code
{
2993 font-size: .8rem !important
;
3017 .cbi-section
> h3:first-child
,
3020 padding-bottom: 1rem;
3023 .node-system-packages > .main .cbi-value.cbi-value-last > div {
3024 width: 100% !important
;
3027 .node-system-packages > .main .cbi-value .cbi-value-field input {
3036 .td.cbi-value-field {
3040 .td
.cbi-value-field
[data-type
="button"],
3041 .td.cbi-value-field[data-type="fvalue"] {
3046 .tr
[data-title
]::before
,
3047 .tr.cbi-section-table-titles.named::before {
3056 #cbi-wireless > #wifi_assoclist_table
.td
{
3060 #cbi-wireless > .cbi-section-node
.td
,
3061 .Interfaces .td.cbi-section-actions {
3062 text-align: center
!important
;
3065 [data-page
="admin-status-processes"] .td
[data-title
="Hang Up"]::before
,
3066 [data-page
="admin-status-processes"] .td
[data-title
="Terminate"]::before
,
3067 [data-page
="admin-status-processes"] .td
[data-title
="Kill"]::before
{
3072 .hide-xs:not([data-title="MAC-Address"]) {
3080 .cbi-modal .cbi-value {
3081 padding: 0 0 .25rem 0;
3084 .cbi-modal [data-tab-title] {
3085 padding: 0 .25rem !important
;
3089 padding: 0 .5rem !important
;
3093 @media screen and
(min-width: 600px) {
3094 ::-webkit-scrollbar
{
3099 ::-webkit-scrollbar
,
3100 ::-webkit-scrollbar-corner
{
3101 background: transparent
;
3104 ::-webkit-scrollbar-thumb
{
3105 background: #9e9e9e;
3108 ::-webkit-scrollbar-thumb:hover
{
3109 background: #757575;
3112 ::-webkit-scrollbar-thumb:active
{
3113 background: #424242;