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);
299 pointer-events: none
;
300 background-color: rgb
(240, 240, 240);
303 .main > .loading > span {
304 font-family: monospace
;
306 font-size-adjust: .35;
314 .main > .loading > span > .loading-img {
318 display: inline-block
;
322 animation: anim-rotate
2s infinite linear
;
323 background: url
(./icons/spinner.svg) no-repeat center
;
326 @keyframes anim-rotate
{
328 -webkit-transform: rotate
(0);
329 -ms-transform: rotate
(0);
330 transform: rotate
(0);
333 -webkit-transform: rotate
(360deg);
334 -ms-transform: rotate
(360deg);
335 transform: rotate
(360deg);
345 width: calc
(0% + 15rem);
347 height: calc
(100% - 4rem);
348 background-color: #fff;
349 background-color: var
(--menu-bg-color
);
355 width: calc
(100% - 15rem);
357 background-color: #eee;
360 .main-right > #maincontent {
361 background-color: #eee;
376 [disabled
="disabled"] {
377 pointer-events: none
;
382 color: var
(--header-color
);
384 background: var
(--header-bg
);
387 header
> .fill
> .container
{
389 padding: .5rem 1rem 0 1rem;
390 -webkit-user-select: none
;
391 -moz-user-select: none
;
392 -ms-user-select: none
;
396 header
> .fill
> .container
> #logo
{
397 margin: 0 3.5rem 0 1.5rem;
400 header
> .fill
> .container
> #logo
> img
{
401 width: calc
(0% + 10rem);
405 header
> .fill
> .container
> .brand
{
409 vertical-align: text-bottom
;
410 text-decoration: none
;
412 color: var
(--header-color
);
415 header
> .fill
> .container
> .status
{
422 header
> .fill
> .container
> .status
> * {
435 background-color: #ff7d60 !important
;
439 background-color: #f0e68c !important
;
443 background-color: #5cb85c !important
;
447 [data-indicator
]:not
([data-style
="inactive"]) {
448 background-color: #5bc0de !important
;
461 border-radius: 0 !important
;
462 background-color: #fff;
463 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
464 text-shadow: 1px 1px rgba
(0, 0, 0, .1);
467 .alert-message > h4 {
476 .alert-message .btn {
477 padding: .3rem .6rem;
481 .container .alert-message {
485 .main > .main-left > .nav {
489 .main > .main-left > .nav > li {
492 -webkit-user-select: none
;
493 -moz-user-select: none
;
494 -ms-user-select: none
;
498 .main > .main-left > .nav > li:last-child {
501 margin: 2rem 0 1rem 0;
505 .main > .main-left > .nav > li a {
508 color: var
(--menu-color
);
511 .main > .main-left > .nav > .slide {
515 .main > .main-left > .nav > .slide > ul {
519 .main
> .main-left
> .nav
> .slide
> .menu
,
520 .main > .main-left > .nav > li > [data-title="Logout"] {
527 text-decoration: none
;
529 color: var
(--main-menu-color
);
532 .main > .main-left > .nav > .slide > .menu::before {
538 background: url
(./icons/arrow.svg) no-repeat
;
541 .main > .main-left > .nav > .slide > .menu.active::before {
542 transform: rotate
(-180deg);
545 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu::before
{
546 transition: transform
.1s ease-in-out
;
549 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu
.active::before
{
550 transition: transform
.2s ease-in-out
;
553 .main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before {
557 .main > .main-left > .nav > li:last-child::before {
562 content: url
(./icons/logout.svg);
565 .main
> .main-left
> .nav
> li:hover
,
566 .main > .main-left > .nav > .slide > .menu:hover {
568 background: var
(--submenu-bg-hover
);
571 .main > .main-left > .nav > .slide:hover {
575 .main > .main-left > .nav > .slide > .slide-menu > li {
579 .main > .main-left > .nav > .slide > .slide-menu > .active {
580 background-color: #09c;
581 background-color: var
(--submenu-bg-hover-active
);
584 .main > .main-left > .nav > .slide > .slide-menu > li > a {
586 text-decoration: none
;
589 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
593 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
595 background: var
(--submenu-bg-hover
);
598 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
600 color: var
(--menu-color-hover
);
603 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
604 background-color: #09c;
605 background-color: var
(--main-color
);
609 .main
> .main-left
> .nav
> .slide
> .menu
,
610 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li
,
611 .main > .main-left > .nav > li:last-child {
614 transform: translate3d
(0, 0, 0);
617 .main
> .main-left
> .nav
> .slide
> .menu::after
,
618 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li::after
,
619 .main > .main-left > .nav > li:last-child::after {
627 transition: transform
.5s, opacity
1s;
628 transform: scale
(10, 10);
629 pointer-events: none
;
631 background-image: radial-gradient
(circle
, #000 10%, transparent
10.01%);
632 background-repeat: no-repeat
;
633 background-position: 50%;
636 .main
> .main-left
> .nav
> .slide
> .menu:active::after
,
637 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li:active::after
,
638 .main > .main-left > .nav > li:last-child:active::after {
640 transform: scale
(0, 0);
644 #maincontent > .container
{
645 margin: 0 2rem 1rem 2rem;
653 list-style-type: none
;
658 padding-bottom: 10px;
659 border-bottom: thin solid
#eee;
665 padding-bottom: 10px;
666 border-bottom: thin solid
#eee;
672 padding-bottom: 10px;
678 padding-bottom: 10px;
684 padding-bottom: 10px;
691 #cbi-network > .cbi-section-node
,
692 #cbi-wireless > .cbi-section-node
,
693 #cbi-wireless > #wifi_assoclist_table
,
695 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
696 [data-page
="admin-system-opkg"] #maincontent
> .container
{
697 font-family: inherit
;
706 background-color: #fff;
707 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
710 .cbi-modal
.cbi-section
,
711 .cbi-section .cbi-section {
716 .cbi-modal .cbi-tabmenu {
723 line-height: 1.42857143;
728 .cbi-map-descr + fieldset {
732 .cbi-section > legend {
733 display: none
!important
;
737 .cbi-section > .cbi-section {
744 .cbi-section
> h3:first-child
,
751 margin-bottom: .5rem;
752 padding-bottom: 1rem;
754 border-bottom: thin solid
#eee;
757 .cbi-section
> h4:first-child
,
758 .cbi-section
> p:first-child
,
759 [data-tab-title
] > h3:first-child
,
760 [data-tab-title
] > h4:first-child
,
761 [data-tab-title
] > p:first-child
{
767 border-collapse: collapse
;
774 box-shadow: 0 0 0 1px #ddd;
777 table
> tbody
> tr
> td
,
778 table
> tbody
> tr
> th
,
779 table
> tfoot
> tr
> td
,
780 table
> tfoot
> tr
> th
,
781 table
> thead
> tr
> td
,
782 table
> thead
> tr
> th
,
783 .table
> .tbody
> .tr
> .td
,
784 .table
> .tbody
> .tr
> .th
,
785 .table
> .tfoot
> .tr
> .td
,
786 .table
> .tfoot
> .tr
> .th
,
787 .table
> .thead
> .tr
> .td
,
788 .table
> .thead
> .tr
> .th
,
789 .table
> .tr
> .td
.cbi-value-field
,
790 .table > .tr > .th.cbi-section-table-cell {
794 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
798 .cbi-section-table-cell {
800 align-self: flex-end
;
808 .cbi-section-table-row::before
,
809 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
810 border-top: thin solid
#ddd;
814 #cbi-network .tr:first-child
> .td
,
815 .table
[width
="100%"] > .tr:first-child
> .td
,
816 [data-page
="admin-network-diagnostics"] .tr
> .td
,
817 .tr
.table-titles
> .th
,
818 .tr.cbi-section-table-titles > .th {
819 border-top: 0 !important
;
822 .table[width="100%"] > .tr:first-child > .td {
826 .cbi-section-table-row {
828 text-align: center
!important
;
832 .cbi-section-table-row:last-child {
836 .cbi-section-table-row
> .cbi-value-field
.cbi-dropdown
,
837 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
838 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
839 .cbi-section-table-row > .cbi-value-field .cbi-input-password {
843 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
844 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
845 width: calc
(100% - 1.5rem);
848 .cbi-section-table-row .td {
849 text-align: center
!important
;
852 div
> table
> tbody
> tr:nth-of-type
(2n),
853 div
> .table
> .tr:nth-of-type
(2n) {
854 background-color: #f9f9f9;
857 /* fix multiple table */
860 .cbi-value-field table
,
861 .cbi-value-field
.table
,
862 td
> table
> tbody
> tr
> td
,
863 .td
> .table
> .tbody
> .tr
> .td
,
864 .cbi-value-field
> table
> tbody
> tr
> td
,
865 .cbi-value-field > .table > .tbody > .tr > .td {
874 display: inline-block
;
875 width: auto
!important
;
878 -webkit-user-select: none
;
879 -moz-user-select: none
;
880 -ms-user-select: none
;
882 transition: all
.2s ease-in-out
;
884 vertical-align: middle
;
886 text-decoration: none
;
887 text-transform: uppercase
;
888 color: rgba
(0, 0, 0, .87);
890 border-radius: .2rem;
891 background-color: #f0f0f0;
892 background-image: none
;
893 -webkit-appearance: none
;
894 -ms-touch-action: manipulation
;
895 touch-action: manipulation
;
901 display: inline-block
;
903 padding: .2rem .3rem;
904 color: transparent
!important
;
905 background: url
(./icons/arrow.svg) no-repeat center
;
906 background-size: 12px 20px;
910 transform: scaleY
(-1);
913 .cbi-button:not(select) {
914 -webkit-appearance: none
!important
;
917 .cbi-button + .cbi-button {
930 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
931 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
932 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
933 text-decoration: none
;
943 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 2px 2px rgba
(0, 0, 0, .2);
948 .item:active::after {
949 box-shadow: 0 10px 20px rgba
(0, 0, 0, .19), 0 6px 6px rgba
(0, 0, 0, .23);
952 .cbi-button-up:hover
,
953 .cbi-button-up:focus {
954 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 -2px 2px rgba
(0, 0, 0, .2);
957 .cbi-button-up:active {
958 box-shadow: 0 -10px 20px rgba
(0, 0, 0, .19), 0 -6px 6px rgba
(0, 0, 0, .23);
962 .cbi-button:disabled {
964 pointer-events: none
;
970 .alert-message
[class
="btn"],
971 .modal div
[class
="btn"],
977 .cbi-button
[name
="zero"],
978 .cbi-button
[name
="restart"],
979 .cbi-button[onclick="hide_empty(this)"] {
981 border: thin solid
#bfbfbf;
982 background-color: #d4d4d4;
987 .cbi-page-actions
.cbi-button-save
,
988 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
991 .cbi-button-positive
,
993 .cbi-button
[value
="Enable"],
994 .cbi-button
[value
="Scan"],
995 .cbi-button
[value^
="Back"],
996 .cbi-button-neutral[onclick="handleConfig(event)"] {
999 border: thin solid
#2e6da4;
1000 background-color: #337ab7;
1004 .cbi-page-actions
.cbi-button-apply
,
1005 .cbi-section-actions
.cbi-button-edit
,
1010 .cbi-button
[value
="Submit"],
1011 .cbi-button
[value
="Upload"],
1012 .cbi-button
[value$
="Apply"],
1013 .cbi-button[onclick="addKey(event)"] {
1014 font-weight: normal
;
1016 border: thin solid
#46b8da;
1017 background-color: #5bc0de;
1022 .cbi-section-remove
> .cbi-button
,
1025 .cbi-button-negative
,
1026 .cbi-button
[value
="Stop"],
1027 .cbi-button
[value
="Kill"],
1028 .cbi-button
[onclick
="reboot(this)"],
1029 .cbi-button-neutral[value="Restart"] {
1030 font-weight: normal
;
1032 border: thin solid
#d43f3a;
1033 background-color: #d9534f;
1037 .btn
[value
="Dismiss"],
1038 .cbi-button
[value
="Terminate"],
1039 .cbi-button
[value
="Reset"],
1040 .cbi-button
[value
="Disabled"],
1041 .cbi-button
[onclick^
="iface_reconnect"],
1042 .cbi-button
[onclick
="handleReset(event)"],
1043 .cbi-button-neutral[value="Disable"] {
1044 font-weight: normal
;
1046 border: thin solid
#eea236;
1047 background-color: #f0ad4e;
1051 .cbi-button-success
,
1052 .cbi-button-download
,
1053 .cbi-button
[name
="backup"],
1054 .cbi-button
[value
="Download"],
1055 .cbi-button[value="Save mtdblock"] {
1056 font-weight: normal
;
1058 border: thin solid
#4cae4c;
1059 background-color: #5cb85c;
1062 .cbi-page-actions .cbi-button-link:first-child {
1067 text-decoration: none
;
1070 .cbi-value-field .cbi-button-add {
1072 margin: 9px 0 4px 3px;
1078 padding-left: .5rem;
1079 background-color: #fff;
1084 display: inline-block
;
1090 padding-bottom: .4rem;
1091 border-bottom: .2rem solid transparent
;
1094 .tabs
> li
[class
~="active"],
1096 border-bottom-color: #09c;
1097 border-bottom-color: var
(--main-color
);
1102 border-bottom-color: #c9c9c9;
1106 .cbi-tabmenu > li > a {
1107 padding: .6rem .9rem;
1108 text-decoration: none
;
1112 .tabs > li[class~="active"] > a {
1114 color: var
(--main-color
);
1118 border: thin solid
#d4d4d4;
1122 .cbi-tabmenu > li:hover {
1123 background-color: #f1f1f1;
1126 .cbi-tabmenu > li[class~="cbi-tab"] {
1127 background-color: #fff;
1131 background-color: #d4d4d4;
1134 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
1135 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1136 background-color: #f9f9f9;
1144 padding: 0rem 1rem !important
;
1147 [data-tab-active
="true"] {
1151 transition: opacity
.25s ease-in
;
1152 margin: inherit
!important
;
1155 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n+3),
1156 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1157 background-color: #f9f9f9;
1160 .cbi-section-node-tabbed {
1163 border: thin solid
#d4d4d4;
1167 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1168 background-color: #f9f9f9;
1172 .cbi-value-description {
1174 display: table-cell
;
1177 .cbi-value-description {
1184 display: table-cell
;
1187 padding-top: .35rem;
1188 padding-right: 2rem;
1190 word-wrap: break-word
;
1194 display: inline-block
;
1196 padding: .35rem 1rem .2rem 1rem;
1203 .cbi-value-field
.cbi-dropdown
,
1204 .cbi-value-field
.cbi-input-select
,
1205 .cbi-value input
[type
="text"],
1206 .cbi-value input[type="password"] {
1210 #cbi-firewall-zone .cbi-input-select
,
1211 #cbi-network-switch_vlan .cbi-input-select
{
1215 #cbi-network-switch_vlan .cbi-input-text
{
1219 .cbi-input-invalid {
1221 border-bottom-color: #f00;
1224 .cbi-section-error {
1226 line-height: 1.42857143;
1229 border: thin solid
#f00;
1231 background-color: #fce6e6;
1234 .cbi-section-error ul {
1238 .cbi-section-error ul li {
1243 .td[data-title]::before {
1247 content: attr
(data-title
) ":\20";
1249 white-space: nowrap
;
1252 .tr.placeholder .td[data-title]::before {
1256 .tr
[data-title
]::before
,
1257 .tr.cbi-section-table-titles.named::before {
1259 display: table-cell
;
1263 content: attr
(data-title
) "\20";
1265 vertical-align: middle
;
1266 white-space: normal
;
1267 word-wrap: break-word
;
1271 background-color: #f9f9f9;
1275 background-color: #eee;
1278 .cbi-rowstyle-2
.cbi-button-up
,
1279 .cbi-rowstyle-2
.cbi-button-down
,
1280 body:not
(.Interfaces
) .cbi-rowstyle-2:first-child
{
1281 background-color: #fff !important
;
1284 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1285 width: auto
!important
;
1288 .td.cbi-section-actions {
1289 text-align: right
!important
;
1290 vertical-align: middle
;
1293 .td.cbi-section-actions > * {
1294 display: inline-flex
;
1297 .td
.cbi-section-actions
> * > *,
1298 .td.cbi-section-actions > * > form > * {
1302 .td.cbi-section-actions > * > form {
1303 display: inline-flex
;
1310 flex-direction: column
;
1315 .cbi-dynlist > .item {
1319 padding: .5em .25em .25em 0;
1320 pointer-events: none
;
1322 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1326 .cbi-dynlist[name="sshkeys"] > .item {
1330 .cbi-dynlist > .item::after {
1335 display: inline-flex
;
1339 pointer-events: auto
;
1341 border: thin solid
#d43f3a;
1342 background-color: #d9534f;
1345 .cbi-dynlist > .item > span {
1346 white-space: normal
;
1347 word-break: break-word
;
1350 .cbi-dynlist > .add-item {
1351 display: inline-flex
;
1352 align-items: center
;
1357 .cbi-dynlist > .add-item:not([ondrop]) > input {
1361 white-space: nowrap
;
1362 text-overflow: ellipsis
;
1365 .cbi-dynlist > .add-item[ondrop] > input {
1372 display: inline-flex
;
1376 .cbi-dropdown[placeholder*="select"] {
1382 .cbi-dropdown > ul {
1387 margin: 0 !important
;
1393 .cbi-dropdown > ul.preview {
1397 .cbi-dropdown > .open {
1401 .cbi-dropdown
> .open
,
1402 .cbi-dropdown > .more {
1407 flex-direction: column
;
1410 justify-content: center
;
1420 padding-bottom: 0px;
1424 .cbi-dropdown.btn > .open {
1430 .cbi-dropdown.btn > div {
1434 .cbi-dropdown
> .more
,
1435 .cbi-dropdown > ul > li[placeholder] {
1439 text-shadow: 1px 1px 0 #fff;
1442 .cbi-dropdown > ul > li {
1445 align-items: center
;
1451 white-space: nowrap
;
1452 text-overflow: ellipsis
;
1455 .cbi-dropdown > ul > li .hide-open {
1459 .cbi-dropdown > ul > li .hide-close {
1463 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1464 border-left: thin solid
#ccc;
1467 .cbi-dropdown[empty] > ul {
1471 .cbi-dropdown > ul > li > form {
1475 pointer-events: none
;
1478 .cbi-dropdown > ul > li img {
1479 margin-right: .25em;
1480 vertical-align: middle
;
1483 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1488 .cbi-dropdown > ul > li input[type="text"] {
1492 .cbi-dropdown[open] > ul.dropdown {
1499 max-height: 200px !important
;
1500 border: thin solid
#918e8c;
1501 background: #f6f6f6;
1502 box-shadow: 0 0 4px #918e8c;
1503 color: var
(--main-menu-color
);
1506 .cbi-dropdown
> ul
> li
[display
],
1507 .cbi-dropdown
[open
] > ul
.preview
,
1508 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1509 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1510 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1511 .cbi-dropdown
[multiple
][more
] > .more
,
1512 .cbi-dropdown[multiple][empty] > .more {
1514 align-items: center
;
1518 .cbi-dropdown
[empty
] > ul
> li
,
1519 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1520 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1524 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1528 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1532 .cbi-dropdown[open] > ul.dropdown > li {
1533 border-bottom: thin solid
#ccc;
1536 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1537 background: #b0d0f0;
1540 .cbi-dropdown[open] > ul.dropdown > li.focus {
1541 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1544 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1549 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1553 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1557 .cbi-dropdown[disabled] {
1558 pointer-events: none
;
1562 .cbi-dropdown .zonebadge {
1566 .cbi-dropdown[open] .zonebadge {
1576 border: thin solid
#999;
1580 .cbi-progressbar > div {
1583 transition: width
.25s ease-in
;
1584 background: #5bc0de;
1585 background: var
(--bar-bg
);
1588 .cbi-progressbar::after {
1589 font-family: monospace
;
1592 font-size-adjust: .38;
1593 line-height: normal
;
1600 content: attr
(title
);
1603 text-overflow: ellipsis
;
1604 text-shadow: 0 0 2px #eee;
1615 transition: opacity
.125s ease-in
;
1617 background: rgba
(0, 0, 0, .7);
1618 -webkit-overflow-scrolling: touch
;
1623 align-items: center
;
1631 border-radius: 3px !important
;
1633 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1637 line-height: normal
;
1639 margin-bottom: .5em;
1646 font-size-adjust: .35;
1648 margin-bottom: .5em;
1651 white-space: pre-wrap
;
1654 background-color: #101010;
1655 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1664 word-break: break-word
;
1668 list-style-type: square
;
1673 padding-left: .25rem;
1674 word-break: break-word
;
1679 align-items: center
;
1680 white-space: normal
;
1682 text-transform: none
;
1683 padding-bottom: 0.2rem;
1684 padding-top: 0.2rem;
1687 .modal label.warning {
1688 background-color: #f0ad4e !important
;
1696 body
.modal-overlay-active
{
1701 body
.modal-overlay-active #modal_overlay
{
1709 padding-left: 32px !important
;
1719 background: url
(../resources/icons/loading.gif) no-repeat center
;
1720 background-size: 16px;
1730 text-align: left
!important
;
1735 text-align: right
!important
;
1740 text-align: center
!important
;
1744 align-self: flex-start
!important
;
1745 vertical-align: top
!important
;
1749 align-self: flex-end
!important
;
1750 vertical-align: bottom
!important
;
1762 .cbi-page-actions > form[method="post"] {
1763 display: inline-block
;
1766 .th
[data-type
="button"],
1767 .td
[data-type
="button"],
1768 .th
[data-type
="fvalue"],
1769 .td[data-type="fvalue"] {
1775 display: inline-flex
;
1776 padding: .5rem .8rem;
1777 border-bottom: thin solid
#ccc;
1779 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
1785 background-color: #f0f0f0;
1790 display: inline-block
;
1791 align-self: flex-start
;
1795 .ifacebadge > img + img {
1796 margin: 0 .2rem 0 0;
1799 .network-status-table {
1804 .network-status-table .ifacebox {
1809 .network-status-table .ifacebox-body {
1811 flex-direction: column
;
1815 .network-status-table .ifacebox-body > span {
1820 .network-status-table .ifacebox-body > div {
1825 .network-status-table .ifacebox-body .ifacebadge {
1826 align-items: center
;
1829 margin: .5em .25em 0 .25em;
1831 background-color: #fff;
1835 .cbi-input-textarea {
1836 font-family: monospace
;
1854 background-color: #101010;
1855 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1862 /* config changes */
1864 font-family: monospace
;
1867 .uci-change-list ins
,
1868 .uci-change-legend-label ins {
1871 text-decoration: none
;
1872 border: thin solid
#0f0;
1873 background-color: #cfc;
1876 .uci-change-list del
,
1877 .uci-change-legend-label del {
1881 text-decoration: none
;
1882 border: thin solid
#f00;
1883 background-color: #fcc;
1886 .uci-change-list var
,
1887 .uci-change-legend-label var {
1891 text-decoration: none
;
1892 border: thin solid
#ccc;
1893 background-color: #eee;
1896 .uci-change-list var ins
,
1897 .uci-change-list var del {
1904 .uci-change-legend {
1908 .uci-change-legend-label {
1913 .uci-change-legend-label
> ins
,
1914 .uci-change-legend-label
> del
,
1915 .uci-change-legend-label > var {
1923 .uci-change-legend-label var ins
,
1924 .uci-change-legend-label var del {
1929 .uci-change-list var
,
1930 .uci-change-list del
,
1931 .uci-change-list ins {
1939 border: thin solid
#d4d4d4 !important
;
1943 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1944 border-top: 0 !important
;
1949 display: inline-flex
;
1950 flex-direction: column
;
1952 border-bottom: thin solid
#ccc;
1953 background-color: #f9f9f9;
1954 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .4), 0 1px 2px rgba
(0, 0, 0, .2);
1962 .ifacebox-head.active {
1963 background: #5bc0de;
1964 background: var
(--bar-bg
);
1976 display: inline-block
;
1977 padding: .2rem .5rem;
1980 .zonebadge .ifacebadge {
1981 margin: .1rem .2rem;
1982 padding: .2rem .3rem;
1983 border: thin solid
#6c6c6c;
1986 .zonebadge > input[type="text"] {
1989 padding: .16rem 1rem;
1993 .zonebadge > strong {
1994 display: inline-block
;
1998 .cbi-value-field
.cbi-input-checkbox
,
1999 .cbi-value-field .cbi-input-radio {
2003 .cbi-value-field > ul > li {
2007 .cbi-value-field > ul > li > label {
2011 .cbi-value-field > ul > li .ifacebadge {
2014 background-color: #eee;
2017 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
2021 .cbi-section-create {
2022 display: inline-flex
;
2023 align-items: center
;
2027 .cbi-section-create > * {
2031 .cbi-section-remove {
2036 td
.cbi-value-field var
,
2037 .td.cbi-value-field var {
2043 padding: 1rem 1rem 0 1rem;
2044 border-top: thin solid
#ccc;
2047 .cbi-dropdown-container {
2051 .cbi-tooltip-container
,
2053 span
[data-tooltip
] .label
{
2054 cursor: help
!important
;
2062 transition: opacity
.25s ease-out
;
2064 pointer-events: none
;
2068 box-shadow: 0 0 2px #444;
2071 .cbi-tooltip-container:hover .cbi-tooltip {
2073 transition: opacity
.25s ease-in
;
2077 .zonebadge .cbi-tooltip {
2078 margin: -1.5rem 0 0 -.5rem;
2080 background: inherit
;
2085 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);
2093 .zone-forwards > * {
2097 .zone-forwards > span {
2103 .zone-forwards
.zone-src
,
2104 .zone-forwards .zone-dest {
2106 flex-direction: column
;
2113 padding: .3rem .8rem;
2114 white-space: nowrap
;
2115 text-decoration: none
;
2116 text-transform: uppercase
;
2117 color: #fff !important
;
2119 background-color: #bfbfbf;
2123 label
> input
[type
="checkbox"],
2124 label
> input
[type
="radio"] {
2125 margin-right: 0.8rem;
2128 label
[data-index
][data-depends
] {
2143 background-color: rgba
(0, 0, 0, .56);
2147 #diag-rc-output > pre
,
2148 #command-rc-output > pre
,
2149 [data-page
="admin-services-wol"] .notice code
{
2151 font-size-adjust: .35;
2152 line-height: normal
;
2159 background-color: #101010;
2160 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2163 [data-page
="admin-network-diagnostics"] .table
{
2168 input
[name
="traceroute"],
2169 input
[name
="nslookup"] {
2173 /* fix Main Login */
2174 .node-main-login > .main > .main-left {
2178 .node-main-login > .main > .main-right {
2182 .node-main-login > .main fieldset {
2185 margin-bottom: 1rem;
2192 .node-main-login > .main .cbi-value-title {
2196 .node-main-login > .main #maincontent {
2200 .node-main-login > .main .container {
2201 display: inline-block
;
2202 margin-top: 2rem !important
;
2203 padding: 1rem 3.5rem 2rem;
2205 background-color: #fff;
2206 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2209 .node-main-login > .main form > div:last-child {
2213 .node-main-login > .main .cbi-value {
2217 .node-main-login > .main .cbi-value > * {
2218 display: inline-block
!important
;
2221 .node-main-login > .main .cbi-input-text {
2222 width: 100% !important
;
2226 .node-main-login .cbi-section {
2230 @media screen and
(min-height: 585px) {
2231 .node-main-login footer {
2239 .node-status-overview
> .main
fieldset:nth-child
(4) .td:nth-child
(2),
2240 .node-status-processes > .main .table .tr .td:nth-child(3) {
2241 white-space: normal
;
2244 /* fix system reboot */
2245 [data-page
="admin-system-reboot"] p
{
2249 [data-page
="admin-system-reboot"] p
> span
{
2256 #cbi-samba [data-tab
="template"] .cbi-value-field
{
2260 #cbi-samba [data-tab
="template"] .cbi-value-title
{
2262 padding-bottom: .6rem;
2266 .controls > * > .btn:not([aria-label$="page"]) {
2267 flex-grow: initial
!important
;
2271 .controls > #pager > .btn[aria-label$="page"] {
2276 .controls > * > label {
2277 margin-bottom: .2rem;
2280 [data-page
="admin-system-opkg"] div
.btn
{
2283 padding: .3rem .6rem;
2286 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
2287 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2292 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2294 margin-bottom: 1rem;
2299 white-space: normal
!important
;
2300 word-break: break-word
;
2303 .cbi-tabmenu + .cbi-section {
2307 /* wireless overview */
2308 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2309 box-shadow: inset
1px -1px 0 #ddd, inset
-1px -1px 0 #ddd;
2312 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2316 border-top: thin solid
#ddd !important
;
2319 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2320 box-shadow: inset
1px 0 0 #ddd, inset
-1px 0 0 #ddd;
2323 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2324 border-bottom: thin solid
#ddd;
2325 box-shadow: 0 -1px 0 0 #ddd;
2328 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2338 margin: 2rem 2rem 0 0;
2343 #cbi-firewall-redirect table
*,
2344 #cbi-network-switch_vlan table
*,
2345 #cbi-firewall-zone table
* {
2349 #cbi-firewall-redirect table input
[type
="text"],
2350 #cbi-network-switch_vlan table input
[type
="text"],
2351 #cbi-firewall-zone table input
[type
="text"] {
2355 #cbi-firewall-redirect table select
,
2356 #cbi-network-switch_vlan table select
,
2357 #cbi-firewall-zone table select
{
2361 #cbi-network-switch_vlan .th
,
2362 #cbi-network-switch_vlan .td
{
2366 #cbi-firewall-zone .table
,
2367 #cbi-network-switch_vlan .table
{
2371 #cbi-firewall-zone .td
,
2372 #cbi-network-switch_vlan .td
{
2376 /* applyreboot fix */
2377 #applyreboot-container {
2381 #applyreboot-section {
2386 /* openvpn bug fix */
2388 line-height: initial
!important
;
2391 /* custom commands */
2393 width: 24% !important
;
2394 margin: 10px 0 0 10px !important
;
2395 padding: .5rem 1rem;
2396 border-bottom: thin solid
#ccc;
2398 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
2402 line-height: normal
!important
;
2404 margin: 6px 0 !important
;
2405 white-space: nowrap
;
2406 text-overflow: ellipsis
;
2410 left: auto
!important
;
2419 white-space: nowrap
;
2420 text-overflow: ellipsis
;
2423 .commandbox code:hover {
2426 white-space: normal
;
2429 .commandbox p:first-of-type {
2433 .commandbox p:nth-of-type(2) {
2437 [data-page^
="admin-system-commands"] .panel-title
,
2438 [data-page^
="command-cfg"] .mobile-hide
,
2439 [data-page^
="command-cfg"] .showSide
{
2443 #command-rc-output .alert-message
{
2444 line-height: 1.42857143;
2450 animation: anim-fade-in
1.5s forwards
;
2451 word-break: break-word
;
2455 @keyframes anim-fade-in
{
2462 @media all and
(-ms-high-contrast: none
) {
2463 .main > .main-left > .nav > .slide > .menu::before {
2467 .main > .main-left > .nav > li:last-child::before {
2476 @media screen and
(max-width: 1600px) {
2477 header
> .fill
> .container
> #logo
{
2478 margin: 0 2.5rem 0 .5rem;
2482 width: calc
(0% + 13rem);
2486 width: calc
(100% - 13rem);
2492 padding: .3rem .6rem;
2497 padding: .2rem .6rem;
2507 padding-right: .6rem;
2510 .cbi-value-field
.cbi-dropdown
,
2511 .cbi-value-field
.cbi-input-select
,
2512 .cbi-value input
[type
="text"],
2513 .cbi-value input[type="password"] {
2517 #cbi-firewall-zone .cbi-input-select
{
2521 .cbi-input-textarea {
2525 .node-admin-status > .main fieldset li > a {
2526 padding: .3rem .6rem;
2530 @media screen and
(max-width: 1366px) {
2535 header
> .fill
> .container
{
2542 height: calc
(100% - 3.5rem);
2547 width: calc
(0% + 13rem);
2548 height: calc
(100% - 3.5rem);
2552 width: calc
(100% - 13rem);
2556 .cbi-tabmenu > li > a {
2557 padding: .2rem .5rem;
2560 .cbi-section
> h3:first-child
,
2563 padding-bottom: 1rem;
2567 font-size: .7rem !important
;
2568 width: 100% !important
;
2571 .table .cbi-input-text {
2575 .cbi-value-field
.cbi-dropdown
,
2576 .cbi-value-field
.cbi-input-select
,
2577 .cbi-value input
[type
="text"],
2578 .cbi-value input[type="password"] {
2582 #cbi-firewall-zone .cbi-input-select
{
2586 .main
> .main-left
> .nav
> li
,
2587 .main
> .main-left
> .nav
> li a
,
2588 .main
> .main-left
> .nav
> .slide
> .menu
,
2589 .main > .main-left > .nav > li > [data-title="Logout"] {
2593 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2601 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2605 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2606 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2607 [data-page
="admin-network-hosts"] .table
,
2608 [data-page
="admin-network-routes"] .table
{
2609 overflow-y: visible
;
2613 width: 32% !important
;
2617 @media screen and
(max-width: 1152px) {
2618 header
> .fill
> .container
> #logo
{
2622 header
> .fill
> .container
> .brand
{
2628 overflow-y: visible
;
2631 .main > .loading > span {
2648 display: inline-flex
;
2649 align-items: center
;
2652 margin-right: .7rem;
2662 background: url
(./icons/menu.svg) no-repeat center
;
2665 body:not
(.logged-in
) .showSide
{
2671 .node-main-login > .main .cbi-value-title {
2677 padding-right: 1rem;
2680 .cbi-value-field
.cbi-dropdown
,
2681 .cbi-value-field
.cbi-input-select
,
2682 .cbi-value input[type="text"] {
2687 .cbi-value input
[type
="password"],
2688 .cbi-value input
[name^
="pw"],
2689 .cbi-value input[data-update="change"]:nth-child(2) {
2690 width: 13rem !important
;
2694 #diag-rc-output > pre
,
2695 #command-rc-output > pre
,
2696 [data-page
="admin-services-wol"] .notice code
{
2704 .Interfaces .table {
2714 flex-direction: row
;
2718 .Overview .table[width="100%"] > .tr {
2723 border-bottom: thin solid
#ddd;
2726 .tr
.placeholder
> .td
,
2727 #cbi-firewall .tr
> .td
,
2728 #cbi-network .tr:nth-child
(2) > .td
,
2729 .cbi-section #wifi_assoclist_table .tr > .td {
2735 display: inline-block
;
2736 align-self: flex-start
;
2738 text-overflow: ellipsis
;
2739 word-wrap: break-word
;
2743 .td input[type="text"] {
2748 .td
[data-dynlist
] > input
,
2749 .td input.cbi-input-password {
2750 width: calc
(100% - 1.5rem);
2753 .td
[data-type
="button"],
2754 .td[data-type="fvalue"] {
2759 .th
.cbi-value-field
,
2760 .td
.cbi-value-field
,
2761 .th
.cbi-section-table-cell
,
2762 .td.cbi-section-table-cell {
2767 .cbi-section-table-row {
2769 flex-direction: row
;
2771 justify-content: space-between
;
2772 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2775 .td
.cbi-value-field
,
2776 .cbi-section-table-cell {
2777 display: inline-block
;
2783 .td.cbi-section-actions {
2784 vertical-align: bottom
;
2788 .tr
.cbi-section-table-titles
,
2789 .tr.cbi-section-table-descr {
2793 .tr
[data-title
]::before
,
2794 .tr.cbi-section-table-titles.named::before {
2798 border-bottom: thin solid rgba
(0, 0, 0, .26);
2799 background: #90c0e0;
2803 [data-page^
="admin-status-realtime"] .td
[id
] {
2807 .td[data-title]::before {
2811 .cbi-button + .cbi-button {
2815 .td
.cbi-section-actions
> * > *,
2816 .td.cbi-section-actions > * > form > * {
2821 position: static
!important
;
2824 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2827 .Firewall form input {
2828 width: 100% !important
;
2834 .Firewall .center::before {
2835 text-align: left
!important
;
2839 width: 100% !important
;
2840 margin-left: 0 !important
;
2844 @media screen and
(max-width: 600px) {
2849 .cbi-progressbar::after {
2863 #maincontent > .container
{
2864 margin: 0 .5rem 1.5rem .5rem;
2867 .main
> .main-left
> .nav
> .slide
> .menu
,
2868 .main > .main-left > .nav > li > [data-title="Logout"] {
2872 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2878 min-width: 0 !important
;
2884 .cbi-value-description
,
2886 .cbi-value-field
.cbi-dropdown
,
2887 .cbi-value-field
.cbi-input-select
,
2888 .cbi-value input[type="text"] {
2892 .cbi-value > .cbi-value-field {
2893 display: inline-block
;
2897 .cbi-tabmenu > li > a {
2899 padding: .2rem .3rem;
2902 .cbi-page-actions > div > input {
2906 .cbi-page-actions > .cbi-button {
2910 .node-main-login > .main .container {
2911 margin: 2rem 1.2rem 1.5rem 1.2rem !important
;
2912 padding: .3rem 1.7rem 2rem 1.6rem;
2915 .node-main-login > .main .cbi-value {
2919 .node-main-login > .main form > div:last-child {
2923 .node-main-login > .main .cbi-value-title {
2925 width: 100% !important
;
2928 .node-main-login > .main fieldset {
2933 .commandbox p:first-of-type {
2938 #diag-rc-output > pre
,
2939 #command-rc-output > pre
,
2940 [data-page
="admin-services-wol"] .notice code
{
2941 font-size: .8rem !important
;
2965 .cbi-section
> h3:first-child
,
2968 padding-bottom: 1rem;
2971 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2972 width: 100% !important
;
2975 .node-system-packages > .main .cbi-value .cbi-value-field input {
2984 .td.cbi-value-field {
2988 .td
.cbi-value-field
[data-type
="button"],
2989 .td.cbi-value-field[data-type="fvalue"] {
2994 .tr
[data-title
]::before
,
2995 .tr.cbi-section-table-titles.named::before {
3004 #cbi-wireless > #wifi_assoclist_table
.td
{
3008 #cbi-wireless > .cbi-section-node
.td
,
3009 .Interfaces .td.cbi-section-actions {
3010 text-align: center
!important
;
3013 [data-page
="admin-status-processes"] .td
[data-title
="Hang Up"]::before
,
3014 [data-page
="admin-status-processes"] .td
[data-title
="Terminate"]::before
,
3015 [data-page
="admin-status-processes"] .td
[data-title
="Kill"]::before
{
3020 .hide-xs:not([data-title="MAC-Address"]) {
3028 .cbi-modal .cbi-value {
3029 padding: 0 0 .25rem 0;
3032 .cbi-modal [data-tab-title] {
3033 padding: 0 .25rem !important
;
3037 padding: 0 .5rem !important
;
3041 @media screen and
(min-width: 600px) {
3042 ::-webkit-scrollbar
{
3047 ::-webkit-scrollbar
,
3048 ::-webkit-scrollbar-corner
{
3049 background: transparent
;
3052 ::-webkit-scrollbar-thumb
{
3053 background: #9e9e9e;
3056 ::-webkit-scrollbar-thumb:hover
{
3057 background: #757575;
3060 ::-webkit-scrollbar-thumb:active
{
3061 background: #424242;