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
> h3:first-child
,
758 .cbi-section
> h4:first-child
,
759 .cbi-section
> p:first-child
,
760 [data-tab-title
] > h3:first-child
,
761 [data-tab-title
] > h4:first-child
,
762 [data-tab-title
] > p:first-child
{
768 border-collapse: collapse
;
775 box-shadow: 0 0 0 1px #ddd;
778 table
> tbody
> tr
> td
,
779 table
> tbody
> tr
> th
,
780 table
> tfoot
> tr
> td
,
781 table
> tfoot
> tr
> th
,
782 table
> thead
> tr
> td
,
783 table
> thead
> tr
> th
,
784 .table
> .tbody
> .tr
> .td
,
785 .table
> .tbody
> .tr
> .th
,
786 .table
> .tfoot
> .tr
> .td
,
787 .table
> .tfoot
> .tr
> .th
,
788 .table
> .thead
> .tr
> .td
,
789 .table
> .thead
> .tr
> .th
,
790 .table
> .tr
> .td
.cbi-value-field
,
791 .table > .tr > .th.cbi-section-table-cell {
795 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
799 .cbi-section-table-cell {
801 align-self: flex-end
;
809 .cbi-section-table-row::before
,
810 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
811 border-top: thin solid
#ddd;
815 #cbi-network .tr:first-child
> .td
,
816 .table
[width
="100%"] > .tr:first-child
> .td
,
817 [data-page
="admin-network-diagnostics"] .tr
> .td
,
818 .tr
.table-titles
> .th
,
819 .tr.cbi-section-table-titles > .th {
820 border-top: 0 !important
;
823 .table[width="100%"] > .tr:first-child > .td {
827 .cbi-section-table-row {
829 text-align: center
!important
;
833 .cbi-section-table-row:last-child {
837 .cbi-section-table-row
> .cbi-value-field
.cbi-dropdown
,
838 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
839 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
840 .cbi-section-table-row > .cbi-value-field .cbi-input-password {
844 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
845 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
846 width: calc
(100% - 1.5rem);
849 .cbi-section-table-row .td {
850 text-align: center
!important
;
853 div
> table
> tbody
> tr:nth-of-type
(2n),
854 div
> .table
> .tr:nth-of-type
(2n) {
855 background-color: #f9f9f9;
858 /* fix multiple table */
861 .cbi-value-field table
,
862 .cbi-value-field
.table
,
863 td
> table
> tbody
> tr
> td
,
864 .td
> .table
> .tbody
> .tr
> .td
,
865 .cbi-value-field
> table
> tbody
> tr
> td
,
866 .cbi-value-field > .table > .tbody > .tr > .td {
875 display: inline-block
;
876 width: auto
!important
;
879 -webkit-user-select: none
;
880 -moz-user-select: none
;
881 -ms-user-select: none
;
883 transition: all
.2s ease-in-out
;
885 vertical-align: middle
;
887 text-decoration: none
;
888 text-transform: uppercase
;
889 color: rgba
(0, 0, 0, .87);
891 border-radius: .2rem;
892 background-color: #f0f0f0;
893 background-image: none
;
894 -webkit-appearance: none
;
895 -ms-touch-action: manipulation
;
896 touch-action: manipulation
;
902 display: inline-block
;
904 padding: .2rem .3rem;
905 color: transparent
!important
;
906 background: url
(./icons/arrow.svg) no-repeat center
;
907 background-size: 12px 20px;
911 transform: scaleY
(-1);
914 .cbi-button:not(select) {
915 -webkit-appearance: none
!important
;
918 .cbi-button + .cbi-button {
931 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
932 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
933 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
934 text-decoration: none
;
944 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 2px 2px rgba
(0, 0, 0, .2);
949 .item:active::after {
950 box-shadow: 0 10px 20px rgba
(0, 0, 0, .19), 0 6px 6px rgba
(0, 0, 0, .23);
953 .cbi-button-up:hover
,
954 .cbi-button-up:focus {
955 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 -2px 2px rgba
(0, 0, 0, .2);
958 .cbi-button-up:active {
959 box-shadow: 0 -10px 20px rgba
(0, 0, 0, .19), 0 -6px 6px rgba
(0, 0, 0, .23);
963 .cbi-button:disabled {
965 pointer-events: none
;
971 .alert-message
[class
="btn"],
972 .modal div
[class
="btn"],
978 .cbi-button
[name
="zero"],
979 .cbi-button
[name
="restart"],
980 .cbi-button[onclick="hide_empty(this)"] {
982 border: thin solid
#bfbfbf;
983 background-color: #d4d4d4;
988 .cbi-page-actions
.cbi-button-save
,
989 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
992 .cbi-button-positive
,
994 .cbi-button
[value
="Enable"],
995 .cbi-button
[value
="Scan"],
996 .cbi-button
[value^
="Back"],
997 .cbi-button-neutral[onclick="handleConfig(event)"] {
1000 border: thin solid
#2e6da4;
1001 background-color: #337ab7;
1005 .cbi-page-actions
.cbi-button-apply
,
1006 .cbi-section-actions
.cbi-button-edit
,
1011 .cbi-button
[value
="Submit"],
1012 .cbi-button
[value
="Upload"],
1013 .cbi-button
[value$
="Apply"],
1014 .cbi-button[onclick="addKey(event)"] {
1015 font-weight: normal
;
1017 border: thin solid
#46b8da;
1018 background-color: #5bc0de;
1023 .cbi-section-remove
> .cbi-button
,
1026 .cbi-button-negative
,
1027 .cbi-button
[value
="Stop"],
1028 .cbi-button
[value
="Kill"],
1029 .cbi-button
[onclick
="reboot(this)"],
1030 .cbi-button-neutral[value="Restart"] {
1031 font-weight: normal
;
1033 border: thin solid
#d43f3a;
1034 background-color: #d9534f;
1038 .btn
[value
="Dismiss"],
1039 .cbi-button
[value
="Terminate"],
1040 .cbi-button
[value
="Reset"],
1041 .cbi-button
[value
="Disabled"],
1042 .cbi-button
[onclick^
="iface_reconnect"],
1043 .cbi-button
[onclick
="handleReset(event)"],
1044 .cbi-button-neutral[value="Disable"] {
1045 font-weight: normal
;
1047 border: thin solid
#eea236;
1048 background-color: #f0ad4e;
1052 .cbi-button-success
,
1053 .cbi-button-download
,
1054 .cbi-button
[name
="backup"],
1055 .cbi-button
[value
="Download"],
1056 .cbi-button[value="Save mtdblock"] {
1057 font-weight: normal
;
1059 border: thin solid
#4cae4c;
1060 background-color: #5cb85c;
1063 .cbi-page-actions .cbi-button-link:first-child {
1068 text-decoration: none
;
1071 .cbi-value-field .cbi-button-add {
1073 margin: 9px 0 4px 3px;
1079 padding-left: .5rem;
1080 background-color: #fff;
1085 display: inline-block
;
1091 padding-bottom: .4rem;
1092 border-bottom: .2rem solid transparent
;
1095 .tabs
> li
[class
~="active"],
1097 border-bottom-color: #09c;
1098 border-bottom-color: var
(--main-color
);
1103 border-bottom-color: #c9c9c9;
1107 .cbi-tabmenu > li > a {
1108 padding: .6rem .9rem;
1109 text-decoration: none
;
1113 .tabs > li[class~="active"] > a {
1115 color: var
(--main-color
);
1119 border: thin solid
#d4d4d4;
1123 .cbi-tabmenu > li:hover {
1124 background-color: #f1f1f1;
1127 .cbi-tabmenu > li[class~="cbi-tab"] {
1128 background-color: #fff;
1132 background-color: #d4d4d4;
1135 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
1136 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1137 background-color: #f9f9f9;
1145 padding: 0rem 1rem !important
;
1148 [data-tab-active
="true"] {
1152 transition: opacity
.25s ease-in
;
1153 margin: inherit
!important
;
1156 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n+3),
1157 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1158 background-color: #f9f9f9;
1161 .cbi-section-node-tabbed {
1164 border: thin solid
#d4d4d4;
1168 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1169 background-color: #f9f9f9;
1173 .cbi-value-description {
1175 display: table-cell
;
1178 .cbi-value-description {
1185 display: table-cell
;
1188 padding-top: .35rem;
1189 padding-right: 2rem;
1191 word-wrap: break-word
;
1195 display: inline-block
;
1197 padding: .35rem 1rem .2rem 1rem;
1204 .cbi-value-field
.cbi-dropdown
,
1205 .cbi-value-field
.cbi-input-select
,
1206 .cbi-value input
[type
="text"],
1207 .cbi-value input[type="password"] {
1211 #cbi-firewall-zone .cbi-input-select
,
1212 #cbi-network-switch_vlan .cbi-input-select
{
1216 #cbi-network-switch_vlan .cbi-input-text
{
1220 .cbi-input-invalid {
1222 border-bottom-color: #f00;
1225 .cbi-section-error {
1227 line-height: 1.42857143;
1230 border: thin solid
#f00;
1232 background-color: #fce6e6;
1235 .cbi-section-error ul {
1239 .cbi-section-error ul li {
1244 .td[data-title]::before {
1248 content: attr
(data-title
) ":\20";
1250 white-space: nowrap
;
1253 .tr.placeholder .td[data-title]::before {
1257 .tr
[data-title
]::before
,
1258 .tr.cbi-section-table-titles.named::before {
1260 display: table-cell
;
1264 content: attr
(data-title
) "\20";
1266 vertical-align: middle
;
1267 white-space: normal
;
1268 word-wrap: break-word
;
1272 background-color: #f9f9f9;
1276 background-color: #eee;
1279 .cbi-rowstyle-2
.cbi-button-up
,
1280 .cbi-rowstyle-2
.cbi-button-down
,
1281 body:not
(.Interfaces
) .cbi-rowstyle-2:first-child
{
1282 background-color: #fff !important
;
1285 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1286 width: auto
!important
;
1289 .td.cbi-section-actions {
1290 text-align: right
!important
;
1291 vertical-align: middle
;
1294 .td.cbi-section-actions > * {
1295 display: inline-flex
;
1298 .td
.cbi-section-actions
> * > *,
1299 .td.cbi-section-actions > * > form > * {
1303 .td.cbi-section-actions > * > form {
1304 display: inline-flex
;
1311 flex-direction: column
;
1316 .cbi-dynlist > .item {
1320 padding: .5em .25em .25em 0;
1321 pointer-events: none
;
1323 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1327 .cbi-dynlist[name="sshkeys"] > .item {
1331 .cbi-dynlist > .item::after {
1336 display: inline-flex
;
1340 pointer-events: auto
;
1342 border: thin solid
#d43f3a;
1343 background-color: #d9534f;
1346 .cbi-dynlist > .item > span {
1347 white-space: normal
;
1348 word-break: break-word
;
1351 .cbi-dynlist > .add-item {
1352 display: inline-flex
;
1353 align-items: center
;
1358 .cbi-dynlist > .add-item:not([ondrop]) > input {
1362 white-space: nowrap
;
1363 text-overflow: ellipsis
;
1366 .cbi-dynlist > .add-item[ondrop] > input {
1373 display: inline-flex
;
1377 .cbi-dropdown[placeholder*="select"] {
1383 .cbi-dropdown > ul {
1388 margin: 0 !important
;
1394 .cbi-dropdown > ul.preview {
1398 .cbi-dropdown > .open {
1402 .cbi-dropdown
> .open
,
1403 .cbi-dropdown > .more {
1408 flex-direction: column
;
1411 justify-content: center
;
1418 .cbi-dropdown
> .more
,
1419 .cbi-dropdown > ul > li[placeholder] {
1423 text-shadow: 1px 1px 0 #fff;
1426 .cbi-dropdown > ul > li {
1429 align-items: center
;
1435 white-space: nowrap
;
1436 text-overflow: ellipsis
;
1439 .cbi-dropdown > ul > li .hide-open {
1443 .cbi-dropdown > ul > li .hide-close {
1447 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1448 border-left: thin solid
#ccc;
1451 .cbi-dropdown[empty] > ul {
1455 .cbi-dropdown > ul > li > form {
1459 pointer-events: none
;
1462 .cbi-dropdown > ul > li img {
1463 margin-right: .25em;
1464 vertical-align: middle
;
1467 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1472 .cbi-dropdown > ul > li input[type="text"] {
1476 .cbi-dropdown[open] > ul.dropdown {
1483 max-height: 200px !important
;
1484 border: thin solid
#918e8c;
1485 background: #f6f6f6;
1486 box-shadow: 0 0 4px #918e8c;
1487 color: var
(--main-menu-color
);
1490 .cbi-dropdown
> ul
> li
[display
],
1491 .cbi-dropdown
[open
] > ul
.preview
,
1492 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1493 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1494 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1495 .cbi-dropdown
[multiple
][more
] > .more
,
1496 .cbi-dropdown[multiple][empty] > .more {
1498 align-items: center
;
1502 .cbi-dropdown
[empty
] > ul
> li
,
1503 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1504 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1508 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1512 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1516 .cbi-dropdown[open] > ul.dropdown > li {
1517 border-bottom: thin solid
#ccc;
1520 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1521 background: #b0d0f0;
1524 .cbi-dropdown[open] > ul.dropdown > li.focus {
1525 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1528 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1533 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1537 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1541 .cbi-dropdown[disabled] {
1542 pointer-events: none
;
1546 .cbi-dropdown .zonebadge {
1550 .cbi-dropdown[open] .zonebadge {
1560 border: thin solid
#999;
1564 .cbi-progressbar > div {
1567 transition: width
.25s ease-in
;
1568 background: #5bc0de;
1569 background: var
(--bar-bg
);
1572 .cbi-progressbar::after {
1573 font-family: monospace
;
1576 font-size-adjust: .38;
1577 line-height: normal
;
1584 content: attr
(title
);
1587 text-overflow: ellipsis
;
1588 text-shadow: 0 0 2px #eee;
1599 transition: opacity
.125s ease-in
;
1601 background: rgba
(0, 0, 0, .7);
1602 -webkit-overflow-scrolling: touch
;
1607 align-items: center
;
1615 border-radius: 3px !important
;
1617 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1621 line-height: normal
;
1623 margin-bottom: .5em;
1630 font-size-adjust: .35;
1632 margin-bottom: .5em;
1635 white-space: pre-wrap
;
1638 background-color: #101010;
1639 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1651 list-style-type: square
;
1656 padding-left: .25rem;
1657 word-break: break-word
;
1662 font-weight: normal
;
1663 padding: .1rem .3rem;
1669 .modal .label.warning {
1670 background-color: #f0ad4e !important
;
1674 padding: .3rem .6rem;
1682 body
.modal-overlay-active
{
1687 body
.modal-overlay-active #modal_overlay
{
1695 padding-left: 32px !important
;
1705 background: url
(../resources/icons/loading.gif) no-repeat center
;
1706 background-size: 16px;
1716 text-align: left
!important
;
1721 text-align: right
!important
;
1726 text-align: center
!important
;
1730 align-self: flex-start
!important
;
1731 vertical-align: top
!important
;
1735 align-self: flex-end
!important
;
1736 vertical-align: bottom
!important
;
1748 .cbi-page-actions > form[method="post"] {
1749 display: inline-block
;
1752 .th
[data-type
="button"],
1753 .td
[data-type
="button"],
1754 .th
[data-type
="fvalue"],
1755 .td[data-type="fvalue"] {
1761 display: inline-flex
;
1762 padding: .5rem .8rem;
1763 border-bottom: thin solid
#ccc;
1765 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
1771 background-color: #f0f0f0;
1776 display: inline-block
;
1777 align-self: flex-start
;
1781 .ifacebadge > img + img {
1782 margin: 0 .2rem 0 0;
1785 .network-status-table {
1790 .network-status-table .ifacebox {
1795 .network-status-table .ifacebox-body {
1797 flex-direction: column
;
1801 .network-status-table .ifacebox-body > span {
1806 .network-status-table .ifacebox-body > div {
1811 .network-status-table .ifacebox-body .ifacebadge {
1812 align-items: center
;
1815 margin: .5em .25em 0 .25em;
1817 background-color: #fff;
1821 .cbi-input-textarea {
1822 font-family: monospace
;
1840 background-color: #101010;
1841 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1848 /* config changes */
1850 font-family: monospace
;
1853 .uci-change-list ins
,
1854 .uci-change-legend-label ins {
1857 text-decoration: none
;
1858 border: thin solid
#0f0;
1859 background-color: #cfc;
1862 .uci-change-list del
,
1863 .uci-change-legend-label del {
1867 text-decoration: none
;
1868 border: thin solid
#f00;
1869 background-color: #fcc;
1872 .uci-change-list var
,
1873 .uci-change-legend-label var {
1877 text-decoration: none
;
1878 border: thin solid
#ccc;
1879 background-color: #eee;
1882 .uci-change-list var ins
,
1883 .uci-change-list var del {
1890 .uci-change-legend {
1894 .uci-change-legend-label {
1899 .uci-change-legend-label
> ins
,
1900 .uci-change-legend-label
> del
,
1901 .uci-change-legend-label > var {
1909 .uci-change-legend-label var ins
,
1910 .uci-change-legend-label var del {
1915 .uci-change-list var
,
1916 .uci-change-list del
,
1917 .uci-change-list ins {
1925 border: thin solid
#d4d4d4 !important
;
1929 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1930 border-top: 0 !important
;
1935 display: inline-flex
;
1936 flex-direction: column
;
1938 border-bottom: thin solid
#ccc;
1939 background-color: #f9f9f9;
1940 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .4), 0 1px 2px rgba
(0, 0, 0, .2);
1948 .ifacebox-head.active {
1949 background: #5bc0de;
1950 background: var
(--bar-bg
);
1962 display: inline-block
;
1963 padding: .2rem .5rem;
1966 .zonebadge .ifacebadge {
1967 margin: .1rem .2rem;
1968 padding: .2rem .3rem;
1969 border: thin solid
#6c6c6c;
1972 .zonebadge > input[type="text"] {
1975 padding: .16rem 1rem;
1979 .zonebadge > strong {
1980 display: inline-block
;
1984 .cbi-value-field
.cbi-input-checkbox
,
1985 .cbi-value-field .cbi-input-radio {
1989 .cbi-value-field > ul > li {
1993 .cbi-value-field > ul > li > label {
1997 .cbi-value-field > ul > li .ifacebadge {
2000 background-color: #eee;
2003 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
2007 .cbi-section-create {
2008 display: inline-flex
;
2009 align-items: center
;
2013 .cbi-section-create > * {
2017 .cbi-section-remove {
2022 td
.cbi-value-field var
,
2023 .td.cbi-value-field var {
2029 padding: 1rem 1rem 0 1rem;
2030 border-top: thin solid
#ccc;
2033 .cbi-dropdown-container {
2037 .cbi-tooltip-container
,
2039 span
[data-tooltip
] .label
{
2040 cursor: help
!important
;
2048 transition: opacity
.25s ease-out
;
2050 pointer-events: none
;
2054 box-shadow: 0 0 2px #444;
2057 .cbi-tooltip-container:hover .cbi-tooltip {
2059 transition: opacity
.25s ease-in
;
2063 .zonebadge .cbi-tooltip {
2064 margin: -1.5rem 0 0 -.5rem;
2066 background: inherit
;
2071 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);
2079 .zone-forwards > * {
2083 .zone-forwards > span {
2089 .zone-forwards
.zone-src
,
2090 .zone-forwards .zone-dest {
2092 flex-direction: column
;
2099 padding: .3rem .8rem;
2100 white-space: nowrap
;
2101 text-decoration: none
;
2102 text-transform: uppercase
;
2103 color: #fff !important
;
2105 background-color: #bfbfbf;
2109 label
> input
[type
="checkbox"],
2110 label
> input
[type
="radio"] {
2115 vertical-align: bottom
;
2118 label
[data-index
][data-depends
] {
2133 background-color: rgba
(0, 0, 0, .56);
2137 #diag-rc-output > pre
,
2138 #command-rc-output > pre
,
2139 [data-page
="admin-services-wol"] .notice code
{
2141 font-size-adjust: .35;
2142 line-height: normal
;
2149 background-color: #101010;
2150 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2153 [data-page
="admin-network-diagnostics"] .table
{
2158 input
[name
="traceroute"],
2159 input
[name
="nslookup"] {
2163 /* fix Main Login */
2164 .node-main-login > .main > .main-left {
2168 .node-main-login > .main > .main-right {
2172 .node-main-login > .main fieldset {
2175 margin-bottom: 1rem;
2182 .node-main-login > .main .cbi-value-title {
2186 .node-main-login > .main #maincontent {
2190 .node-main-login > .main .container {
2191 display: inline-block
;
2192 margin-top: 2rem !important
;
2193 padding: 1rem 3.5rem 2rem;
2195 background-color: #fff;
2196 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2199 .node-main-login > .main form > div:last-child {
2203 .node-main-login > .main .cbi-value {
2207 .node-main-login > .main .cbi-value > * {
2208 display: inline-block
!important
;
2211 .node-main-login > .main .cbi-input-text {
2212 width: 100% !important
;
2216 .node-main-login .cbi-section {
2220 @media screen and
(min-height: 585px) {
2221 .node-main-login footer {
2229 .node-status-overview
> .main
fieldset:nth-child
(4) .td:nth-child
(2),
2230 .node-status-processes > .main .table .tr .td:nth-child(3) {
2231 white-space: normal
;
2234 /* fix system reboot */
2235 [data-page
="admin-system-reboot"] p
{
2239 [data-page
="admin-system-reboot"] p
> span
{
2246 #cbi-samba [data-tab
="template"] .cbi-value-field
{
2250 #cbi-samba [data-tab
="template"] .cbi-value-title
{
2252 padding-bottom: .6rem;
2256 .controls > * > .btn:not([aria-label$="page"]) {
2257 flex-grow: initial
!important
;
2261 .controls > #pager > .btn[aria-label$="page"] {
2266 .controls > * > label {
2267 margin-bottom: .2rem;
2270 [data-page
="admin-system-opkg"] div
.btn
{
2273 padding: .3rem .6rem;
2276 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
2277 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2282 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2284 margin-bottom: 1rem;
2289 white-space: normal
!important
;
2290 word-break: break-word
;
2293 .cbi-tabmenu + .cbi-section {
2297 /* wireless overview */
2298 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2299 box-shadow: inset
1px -1px 0 #ddd, inset
-1px -1px 0 #ddd;
2302 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2306 border-top: thin solid
#ddd !important
;
2309 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2310 box-shadow: inset
1px 0 0 #ddd, inset
-1px 0 0 #ddd;
2313 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2314 border-bottom: thin solid
#ddd;
2315 box-shadow: 0 -1px 0 0 #ddd;
2318 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2328 margin: 2rem 2rem 0 0;
2333 #cbi-firewall-redirect table
*,
2334 #cbi-network-switch_vlan table
*,
2335 #cbi-firewall-zone table
* {
2339 #cbi-firewall-redirect table input
[type
="text"],
2340 #cbi-network-switch_vlan table input
[type
="text"],
2341 #cbi-firewall-zone table input
[type
="text"] {
2345 #cbi-firewall-redirect table select
,
2346 #cbi-network-switch_vlan table select
,
2347 #cbi-firewall-zone table select
{
2351 #cbi-network-switch_vlan .th
,
2352 #cbi-network-switch_vlan .td
{
2356 #cbi-firewall-zone .table
,
2357 #cbi-network-switch_vlan .table
{
2361 #cbi-firewall-zone .td
,
2362 #cbi-network-switch_vlan .td
{
2366 /* applyreboot fix */
2367 #applyreboot-container {
2371 #applyreboot-section {
2376 /* openvpn bug fix */
2378 line-height: initial
!important
;
2381 /* custom commands */
2383 width: 24% !important
;
2384 margin: 10px 0 0 10px !important
;
2385 padding: .5rem 1rem;
2386 border-bottom: thin solid
#ccc;
2388 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
2392 line-height: normal
!important
;
2394 margin: 6px 0 !important
;
2395 white-space: nowrap
;
2396 text-overflow: ellipsis
;
2400 left: auto
!important
;
2409 white-space: nowrap
;
2410 text-overflow: ellipsis
;
2413 .commandbox code:hover {
2416 white-space: normal
;
2419 .commandbox p:first-of-type {
2423 .commandbox p:nth-of-type(2) {
2427 [data-page^
="admin-system-commands"] .panel-title
,
2428 [data-page^
="command-cfg"] .mobile-hide
,
2429 [data-page^
="command-cfg"] .showSide
{
2433 #command-rc-output .alert-message
{
2434 line-height: 1.42857143;
2440 animation: anim-fade-in
1.5s forwards
;
2441 word-break: break-word
;
2445 @keyframes anim-fade-in
{
2452 @media all and
(-ms-high-contrast: none
) {
2453 .main > .main-left > .nav > .slide > .menu::before {
2457 .main > .main-left > .nav > li:last-child::before {
2466 @media screen and
(max-width: 1600px) {
2467 header
> .fill
> .container
> #logo
{
2468 margin: 0 2.5rem 0 .5rem;
2472 width: calc
(0% + 13rem);
2476 width: calc
(100% - 13rem);
2482 padding: .3rem .6rem;
2487 padding: .2rem .6rem;
2497 padding-right: .6rem;
2500 .cbi-value-field
.cbi-dropdown
,
2501 .cbi-value-field
.cbi-input-select
,
2502 .cbi-value input
[type
="text"],
2503 .cbi-value input[type="password"] {
2507 #cbi-firewall-zone .cbi-input-select
{
2511 .cbi-input-textarea {
2515 .node-admin-status > .main fieldset li > a {
2516 padding: .3rem .6rem;
2520 @media screen and
(max-width: 1366px) {
2525 header
> .fill
> .container
{
2532 height: calc
(100% - 3.5rem);
2537 width: calc
(0% + 13rem);
2538 height: calc
(100% - 3.5rem);
2542 width: calc
(100% - 13rem);
2546 .cbi-tabmenu > li > a {
2547 padding: .2rem .5rem;
2552 padding-bottom: 1rem;
2556 font-size: .7rem !important
;
2557 width: 100% !important
;
2560 .table .cbi-input-text {
2564 .cbi-value-field
.cbi-dropdown
,
2565 .cbi-value-field
.cbi-input-select
,
2566 .cbi-value input
[type
="text"],
2567 .cbi-value input[type="password"] {
2571 #cbi-firewall-zone .cbi-input-select
{
2575 .main
> .main-left
> .nav
> li
,
2576 .main
> .main-left
> .nav
> li a
,
2577 .main
> .main-left
> .nav
> .slide
> .menu
,
2578 .main > .main-left > .nav > li > [data-title="Logout"] {
2582 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2590 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2594 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2595 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2596 [data-page
="admin-network-hosts"] .table
,
2597 [data-page
="admin-network-routes"] .table
{
2598 overflow-y: visible
;
2602 width: 32% !important
;
2606 @media screen and
(max-width: 1152px) {
2607 header
> .fill
> .container
> #logo
{
2611 header
> .fill
> .container
> .brand
{
2617 overflow-y: visible
;
2620 .main > .loading > span {
2637 display: inline-flex
;
2638 align-items: center
;
2641 margin-right: .7rem;
2651 background: url
(./icons/menu.svg) no-repeat center
;
2654 body:not
(.logged-in
) .showSide
{
2660 .node-main-login > .main .cbi-value-title {
2666 padding-right: 1rem;
2669 .cbi-value-field
.cbi-dropdown
,
2670 .cbi-value-field
.cbi-input-select
,
2671 .cbi-value input[type="text"] {
2676 .cbi-value input
[type
="password"],
2677 .cbi-value input
[name^
="pw"],
2678 .cbi-value input[data-update="change"]:nth-child(2) {
2679 width: 13rem !important
;
2683 #diag-rc-output > pre
,
2684 #command-rc-output > pre
,
2685 [data-page
="admin-services-wol"] .notice code
{
2693 .Interfaces .table {
2703 flex-direction: row
;
2707 .Overview .table[width="100%"] > .tr {
2712 border-bottom: thin solid
#ddd;
2715 .tr
.placeholder
> .td
,
2716 #cbi-firewall .tr
> .td
,
2717 #cbi-network .tr:nth-child
(2) > .td
,
2718 .cbi-section #wifi_assoclist_table .tr > .td {
2724 display: inline-block
;
2725 align-self: flex-start
;
2727 text-overflow: ellipsis
;
2728 word-wrap: break-word
;
2732 .td input[type="text"] {
2737 .td
[data-dynlist
] > input
,
2738 .td input.cbi-input-password {
2739 width: calc
(100% - 1.5rem);
2742 .td
[data-type
="button"],
2743 .td[data-type="fvalue"] {
2748 .th
.cbi-value-field
,
2749 .td
.cbi-value-field
,
2750 .th
.cbi-section-table-cell
,
2751 .td.cbi-section-table-cell {
2756 .cbi-section-table-row {
2758 flex-direction: row
;
2760 justify-content: space-between
;
2761 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2764 .td
.cbi-value-field
,
2765 .cbi-section-table-cell {
2766 display: inline-block
;
2772 .td.cbi-section-actions {
2773 vertical-align: bottom
;
2777 .tr
.cbi-section-table-titles
,
2778 .tr.cbi-section-table-descr {
2782 .tr
[data-title
]::before
,
2783 .tr.cbi-section-table-titles.named::before {
2787 border-bottom: thin solid rgba
(0, 0, 0, .26);
2788 background: #90c0e0;
2792 [data-page^
="admin-status-realtime"] .td
[id
] {
2796 .td[data-title]::before {
2800 .cbi-button + .cbi-button {
2804 .td
.cbi-section-actions
> * > *,
2805 .td.cbi-section-actions > * > form > * {
2810 position: static
!important
;
2813 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2816 .Firewall form input {
2817 width: 100% !important
;
2823 .Firewall .center::before {
2824 text-align: left
!important
;
2828 width: 100% !important
;
2829 margin-left: 0 !important
;
2833 @media screen and
(max-width: 600px) {
2838 .cbi-progressbar::after {
2852 #maincontent > .container
{
2853 margin: 0 .5rem 1.5rem .5rem;
2856 .main
> .main-left
> .nav
> .slide
> .menu
,
2857 .main > .main-left > .nav > li > [data-title="Logout"] {
2861 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2867 min-width: 0 !important
;
2873 .cbi-value-description
,
2875 .cbi-value-field
.cbi-dropdown
,
2876 .cbi-value-field
.cbi-input-select
,
2877 .cbi-value input[type="text"] {
2881 .cbi-value > .cbi-value-field {
2882 display: inline-block
;
2886 .cbi-tabmenu > li > a {
2888 padding: .2rem .3rem;
2891 .cbi-page-actions > div > input {
2895 .cbi-page-actions > .cbi-button {
2899 .node-main-login > .main .container {
2900 margin: 2rem 1.2rem 1.5rem 1.2rem !important
;
2901 padding: .3rem 1.7rem 2rem 1.6rem;
2904 .node-main-login > .main .cbi-value {
2908 .node-main-login > .main form > div:last-child {
2912 .node-main-login > .main .cbi-value-title {
2914 width: 100% !important
;
2917 .node-main-login > .main fieldset {
2922 .commandbox p:first-of-type {
2927 #diag-rc-output > pre
,
2928 #command-rc-output > pre
,
2929 [data-page
="admin-services-wol"] .notice code
{
2930 font-size: .8rem !important
;
2956 padding-bottom: 1rem;
2959 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2960 width: 100% !important
;
2963 .node-system-packages > .main .cbi-value .cbi-value-field input {
2972 .td.cbi-value-field {
2976 .td
.cbi-value-field
[data-type
="button"],
2977 .td.cbi-value-field[data-type="fvalue"] {
2982 .tr
[data-title
]::before
,
2983 .tr.cbi-section-table-titles.named::before {
2992 #cbi-wireless > #wifi_assoclist_table
.td
{
2996 #cbi-wireless > .cbi-section-node
.td
,
2997 .Interfaces .td.cbi-section-actions {
2998 text-align: center
!important
;
3001 [data-page
="admin-status-processes"] .td
[data-title
="Hang Up"]::before
,
3002 [data-page
="admin-status-processes"] .td
[data-title
="Terminate"]::before
,
3003 [data-page
="admin-status-processes"] .td
[data-title
="Kill"]::before
{
3008 .hide-xs:not([data-title="MAC-Address"]) {
3016 .cbi-modal .cbi-value {
3017 padding: 0 0 .25rem 0;
3020 .cbi-modal [data-tab-title] {
3021 padding: 0 .25rem !important
;
3025 padding: 0 .5rem !important
;
3029 @media screen and
(min-width: 600px) {
3030 ::-webkit-scrollbar
{
3035 ::-webkit-scrollbar
,
3036 ::-webkit-scrollbar-corner
{
3037 background: transparent
;
3040 ::-webkit-scrollbar-thumb
{
3041 background: #9e9e9e;
3044 ::-webkit-scrollbar-thumb:hover
{
3045 background: #757575;
3048 ::-webkit-scrollbar-thumb:active
{
3049 background: #424242;