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
);
217 select
[multiple
="multiple"] {
227 font-size-adjust: .35;
236 text-decoration: underline
;
257 transition: box-shadow
.2s;
258 box-shadow: 0 2px 5px rgba
(0, 0, 0, .26);
268 text-shadow: 0 0 2px #bbb;
272 text-decoration: none
;
278 line-height: 1.42857143;
288 height: calc
(100% - 4rem);
298 pointer-events: none
;
299 background-color: rgb
(240, 240, 240);
302 .main > .loading > span {
303 font-family: monospace
;
305 font-size-adjust: .35;
313 .main > .loading > span > .loading-img {
317 display: inline-block
;
321 animation: anim-rotate
2s infinite linear
;
322 background: url
(./icons/spinner.svg) no-repeat center
;
325 @keyframes anim-rotate
{
327 -webkit-transform: rotate
(0);
328 -ms-transform: rotate
(0);
329 transform: rotate
(0);
332 -webkit-transform: rotate
(360deg);
333 -ms-transform: rotate
(360deg);
334 transform: rotate
(360deg);
344 width: calc
(0% + 15rem);
346 height: calc
(100% - 4rem);
347 background-color: #fff;
348 background-color: var
(--menu-bg-color
);
354 width: calc
(100% - 15rem);
356 background-color: #eee;
359 .main-right > #maincontent {
360 background-color: #eee;
375 [disabled
="disabled"] {
376 pointer-events: none
;
381 color: var
(--header-color
);
383 background: var
(--header-bg
);
386 header
> .fill
> .container
{
388 padding: .5rem 1rem 0 1rem;
389 -webkit-user-select: none
;
390 -moz-user-select: none
;
391 -ms-user-select: none
;
395 header
> .fill
> .container
> #logo
{
396 margin: 0 3.5rem 0 1.5rem;
399 header
> .fill
> .container
> #logo
> img
{
400 width: calc
(0% + 10rem);
404 header
> .fill
> .container
> .brand
{
408 vertical-align: text-bottom
;
409 text-decoration: none
;
411 color: var
(--header-color
);
414 header
> .fill
> .container
> .status
{
421 header
> .fill
> .container
> .status
> * {
434 background-color: #ff7d60 !important
;
438 background-color: #f0e68c !important
;
442 background-color: #5cb85c !important
;
446 background-color: #5bc0de !important
;
459 border-radius: 0 !important
;
460 background-color: #fff;
461 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
462 text-shadow: 1px 1px rgba
(0, 0, 0, .1);
465 .alert-message > h4 {
474 .alert-message .btn {
475 padding: .3rem .6rem;
479 .container .alert-message {
483 .main > .main-left > .nav {
487 .main > .main-left > .nav > li {
490 -webkit-user-select: none
;
491 -moz-user-select: none
;
492 -ms-user-select: none
;
496 .main > .main-left > .nav > li:last-child {
499 margin: 2rem 0 1rem 0;
503 .main > .main-left > .nav > li a {
506 color: var
(--menu-color
);
509 .main > .main-left > .nav > .slide {
513 .main > .main-left > .nav > .slide > ul {
517 .main
> .main-left
> .nav
> .slide
> .menu
,
518 .main > .main-left > .nav > li > [data-title="Logout"] {
525 text-decoration: none
;
527 color: var
(--main-menu-color
);
530 .main > .main-left > .nav > .slide > .menu::before {
536 background: url
(./icons/arrow.svg) no-repeat
;
539 .main > .main-left > .nav > .slide > .menu.active::before {
540 transform: rotate
(-180deg);
543 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu::before
{
544 transition: transform
.1s ease-in-out
;
547 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu
.active::before
{
548 transition: transform
.2s ease-in-out
;
551 .main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before {
555 .main > .main-left > .nav > li:last-child::before {
560 content: url
(./icons/logout.svg);
563 .main
> .main-left
> .nav
> li:hover
,
564 .main > .main-left > .nav > .slide > .menu:hover {
566 background: var
(--submenu-bg-hover
);
569 .main > .main-left > .nav > .slide:hover {
573 .main > .main-left > .nav > .slide > .slide-menu > li {
577 .main > .main-left > .nav > .slide > .slide-menu > .active {
578 background-color: #09c;
579 background-color: var
(--submenu-bg-hover-active
);
582 .main > .main-left > .nav > .slide > .slide-menu > li > a {
584 text-decoration: none
;
587 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
591 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
593 background: var
(--submenu-bg-hover
);
596 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
598 color: var
(--menu-color-hover
);
601 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
602 background-color: #09c;
603 background-color: var
(--main-color
);
607 .main
> .main-left
> .nav
> .slide
> .menu
,
608 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li
,
609 .main > .main-left > .nav > li:last-child {
612 transform: translate3d
(0, 0, 0);
615 .main
> .main-left
> .nav
> .slide
> .menu::after
,
616 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li::after
,
617 .main > .main-left > .nav > li:last-child::after {
625 transition: transform
.5s, opacity
1s;
626 transform: scale
(10, 10);
627 pointer-events: none
;
629 background-image: radial-gradient
(circle
, #000 10%, transparent
10.01%);
630 background-repeat: no-repeat
;
631 background-position: 50%;
634 .main
> .main-left
> .nav
> .slide
> .menu:active::after
,
635 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li:active::after
,
636 .main > .main-left > .nav > li:last-child:active::after {
638 transform: scale
(0, 0);
642 #maincontent > .container
{
643 margin: 0 2rem 1rem 2rem;
651 list-style-type: none
;
656 padding-bottom: 10px;
657 border-bottom: thin solid
#eee;
663 padding-bottom: 10px;
664 border-bottom: thin solid
#eee;
670 padding-bottom: 10px;
676 padding-bottom: 10px;
682 padding-bottom: 10px;
689 #cbi-network > .cbi-section-node
,
690 #cbi-wireless > .cbi-section-node
,
691 #cbi-wireless > #wifi_assoclist_table
,
692 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
693 [data-page
="admin-system-opkg"] #maincontent
> .container
{
694 font-family: inherit
;
703 background-color: #fff;
704 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
710 line-height: 1.42857143;
715 .cbi-map-descr + fieldset {
719 .cbi-section > legend {
720 display: none
!important
;
724 .cbi-section > .cbi-section {
731 .cbi-section
> h3:first-child
,
738 margin-bottom: .5rem;
739 padding-bottom: 1rem;
741 border-bottom: thin solid
#eee;
746 border-collapse: collapse
;
753 box-shadow: 0 0 0 1px #ddd;
756 table
> tbody
> tr
> td
,
757 table
> tbody
> tr
> th
,
758 table
> tfoot
> tr
> td
,
759 table
> tfoot
> tr
> th
,
760 table
> thead
> tr
> td
,
761 table
> thead
> tr
> th
,
762 .table
> .tbody
> .tr
> .td
,
763 .table
> .tbody
> .tr
> .th
,
764 .table
> .tfoot
> .tr
> .td
,
765 .table
> .tfoot
> .tr
> .th
,
766 .table
> .thead
> .tr
> .td
,
767 .table
> .thead
> .tr
> .th
,
768 .table
> .tr
> .td
.cbi-value-field
,
769 .table > .tr > .th.cbi-section-table-cell {
773 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
777 .cbi-section-table-cell {
779 align-self: flex-end
;
787 .cbi-section-table-row::before
,
788 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
789 border-top: thin solid
#ddd;
793 #cbi-network .tr:first-child
> .td
,
794 .table
[width
="100%"] > .tr:first-child
> .td
,
795 [data-page
="admin-network-diagnostics"] .tr
> .td
,
796 .tr
.table-titles
> .th
,
797 .tr.cbi-section-table-titles > .th {
798 border-top: 0 !important
;
801 .table[width="100%"] > .tr:first-child > .td {
805 .cbi-section-table-row {
807 text-align: center
!important
;
811 .cbi-section-table-row:last-child {
815 .cbi-section-table-row
> .cbi-value-field
.cbi-dropdown
,
816 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
817 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
818 .cbi-section-table-row > .cbi-value-field .cbi-input-password {
822 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
823 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
824 width: calc
(100% - 1.5rem);
827 .cbi-section-table-row .td {
828 text-align: center
!important
;
831 div
> table
> tbody
> tr:nth-of-type
(2n),
832 div
> .table
> .tr:nth-of-type
(2n) {
833 background-color: #f9f9f9;
836 /* fix multiple table */
839 .cbi-value-field table
,
840 .cbi-value-field
.table
,
841 td
> table
> tbody
> tr
> td
,
842 .td
> .table
> .tbody
> .tr
> .td
,
843 .cbi-value-field
> table
> tbody
> tr
> td
,
844 .cbi-value-field > .table > .tbody > .tr > .td {
853 display: inline-block
;
854 width: auto
!important
;
857 -webkit-user-select: none
;
858 -moz-user-select: none
;
859 -ms-user-select: none
;
861 transition: all
.2s ease-in-out
;
863 vertical-align: middle
;
865 text-decoration: none
;
866 text-transform: uppercase
;
867 color: rgba
(0, 0, 0, .87);
869 border-radius: .2rem;
870 background-color: #f0f0f0;
871 background-image: none
;
872 -webkit-appearance: none
;
873 -ms-touch-action: manipulation
;
874 touch-action: manipulation
;
880 display: inline-block
;
882 padding: .2rem .3rem;
883 color: transparent
!important
;
884 background: url
(./icons/arrow.svg) no-repeat center
;
885 background-size: 12px 20px;
889 transform: scaleY
(-1);
892 .cbi-button:not(select) {
893 -webkit-appearance: none
!important
;
896 .cbi-button + .cbi-button {
909 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
910 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
911 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
912 text-decoration: none
;
922 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 2px 2px rgba
(0, 0, 0, .2);
927 .item:active::after {
928 box-shadow: 0 10px 20px rgba
(0, 0, 0, .19), 0 6px 6px rgba
(0, 0, 0, .23);
931 .cbi-button-up:hover
,
932 .cbi-button-up:focus {
933 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 -2px 2px rgba
(0, 0, 0, .2);
936 .cbi-button-up:active {
937 box-shadow: 0 -10px 20px rgba
(0, 0, 0, .19), 0 -6px 6px rgba
(0, 0, 0, .23);
941 .cbi-button:disabled {
943 pointer-events: none
;
949 .alert-message
[class
="btn"],
950 .modal div
[class
="btn"],
956 .cbi-button
[name
="zero"],
957 .cbi-button
[name
="restart"],
958 .cbi-button[onclick="hide_empty(this)"] {
960 border: thin solid
#bfbfbf;
961 background-color: #d4d4d4;
966 .cbi-page-actions
.cbi-button-save
,
967 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
970 .cbi-button-positive
,
972 .cbi-button
[value
="Enable"],
973 .cbi-button
[value
="Scan"],
974 .cbi-button
[value^
="Back"],
975 .cbi-button-neutral[onclick="handleConfig(event)"] {
978 border: thin solid
#2e6da4;
979 background-color: #337ab7;
983 .cbi-page-actions
.cbi-button-apply
,
984 .cbi-section-actions
.cbi-button-edit
,
989 .cbi-button
[value
="Submit"],
990 .cbi-button
[value
="Upload"],
991 .cbi-button
[value$
="Apply"],
992 .cbi-button[onclick="addKey(event)"] {
995 border: thin solid
#46b8da;
996 background-color: #5bc0de;
1001 .cbi-section-remove
> .cbi-button
,
1004 .cbi-button-negative
,
1005 .cbi-button
[value
="Stop"],
1006 .cbi-button
[value
="Kill"],
1007 .cbi-button
[onclick
="reboot(this)"],
1008 .cbi-button-neutral[value="Restart"] {
1009 font-weight: normal
;
1011 border: thin solid
#d43f3a;
1012 background-color: #d9534f;
1016 .btn
[value
="Dismiss"],
1017 .cbi-button
[value
="Terminate"],
1018 .cbi-button
[value
="Reset"],
1019 .cbi-button
[value
="Disabled"],
1020 .cbi-button
[onclick^
="iface_reconnect"],
1021 .cbi-button
[onclick
="handleReset(event)"],
1022 .cbi-button-neutral[value="Disable"] {
1023 font-weight: normal
;
1025 border: thin solid
#eea236;
1026 background-color: #f0ad4e;
1030 .cbi-button-success
,
1031 .cbi-button-download
,
1032 .cbi-button
[name
="backup"],
1033 .cbi-button
[value
="Download"],
1034 .cbi-button[value="Save mtdblock"] {
1035 font-weight: normal
;
1037 border: thin solid
#4cae4c;
1038 background-color: #5cb85c;
1041 .cbi-page-actions .cbi-button-link:first-child {
1046 text-decoration: none
;
1049 .cbi-value-field .cbi-button-add {
1051 margin: 9px 0 4px 3px;
1057 padding-left: .5rem;
1058 background-color: #fff;
1063 display: inline-block
;
1069 padding-bottom: .4rem;
1070 border-bottom: .2rem solid transparent
;
1073 .tabs
> li
[class
~="active"],
1075 border-bottom-color: #09c;
1076 border-bottom-color: var
(--main-color
);
1081 border-bottom-color: #c9c9c9;
1085 .cbi-tabmenu > li > a {
1086 padding: .6rem .9rem;
1087 text-decoration: none
;
1091 .tabs > li[class~="active"] > a {
1093 color: var
(--main-color
);
1097 border: thin solid
#d4d4d4;
1101 .cbi-tabmenu > li:hover {
1102 background-color: #f1f1f1;
1105 .cbi-tabmenu > li[class~="cbi-tab"] {
1106 background-color: #fff;
1110 background-color: #d4d4d4;
1113 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
1114 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1115 background-color: #f9f9f9;
1124 [data-tab-active
="true"] {
1128 transition: opacity
.25s ease-in
;
1131 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n+3),
1132 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1133 background-color: #f9f9f9;
1136 .cbi-section-node-tabbed {
1139 border: thin solid
#d4d4d4;
1143 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1144 background-color: #f9f9f9;
1148 .cbi-value-description {
1150 display: table-cell
;
1153 .cbi-value-description {
1160 display: table-cell
;
1163 padding-top: .35rem;
1164 padding-right: 2rem;
1166 word-wrap: break-word
;
1170 display: inline-block
;
1172 padding: .35rem 1rem .2rem 1rem;
1179 .cbi-value-field
.cbi-dropdown
,
1180 .cbi-value-field
.cbi-input-select
,
1181 .cbi-value input
[type
="text"],
1182 .cbi-value input[type="password"] {
1186 #cbi-firewall-zone .cbi-input-select
,
1187 #cbi-network-switch_vlan .cbi-input-select
{
1191 #cbi-network-switch_vlan .cbi-input-text
{
1195 .cbi-input-invalid {
1197 border-bottom-color: #f00;
1200 .cbi-section-error {
1202 line-height: 1.42857143;
1205 border: thin solid
#f00;
1207 background-color: #fce6e6;
1210 .cbi-section-error ul {
1214 .cbi-section-error ul li {
1219 .td[data-title]::before {
1223 content: attr
(data-title
) ":\20";
1225 white-space: nowrap
;
1228 .tr.placeholder .td[data-title]::before {
1232 .tr
[data-title
]::before
,
1233 .tr.cbi-section-table-titles.named::before {
1235 display: table-cell
;
1239 content: attr
(data-title
) "\20";
1241 vertical-align: middle
;
1242 white-space: normal
;
1243 word-wrap: break-word
;
1247 background-color: #f9f9f9;
1251 background-color: #eee;
1254 .cbi-rowstyle-2
.cbi-button-up
,
1255 .cbi-rowstyle-2
.cbi-button-down
,
1256 body:not
(.Interfaces
) .cbi-rowstyle-2:first-child
{
1257 background-color: #fff !important
;
1260 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1261 width: auto
!important
;
1264 .td.cbi-section-actions {
1265 text-align: right
!important
;
1266 vertical-align: middle
;
1269 .td.cbi-section-actions > * {
1270 display: inline-flex
;
1273 .td
.cbi-section-actions
> * > *,
1274 .td.cbi-section-actions > * > form > * {
1278 .td.cbi-section-actions > * > form {
1279 display: inline-flex
;
1286 flex-direction: column
;
1291 .cbi-dynlist > .item {
1295 padding: .5em .25em .25em 0;
1296 pointer-events: none
;
1298 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1302 .cbi-dynlist[name="sshkeys"] > .item {
1306 .cbi-dynlist > .item::after {
1311 display: inline-flex
;
1315 pointer-events: auto
;
1317 border: thin solid
#d43f3a;
1318 background-color: #d9534f;
1321 .cbi-dynlist > .item > span {
1322 white-space: normal
;
1323 word-break: break-word
;
1326 .cbi-dynlist > .add-item {
1327 display: inline-flex
;
1328 align-items: center
;
1333 .cbi-dynlist > .add-item:not([ondrop]) > input {
1337 white-space: nowrap
;
1338 text-overflow: ellipsis
;
1341 .cbi-dynlist > .add-item[ondrop] > input {
1348 display: inline-flex
;
1352 .cbi-dropdown[placeholder*="select"] {
1358 .cbi-dropdown > ul {
1363 margin: 0 !important
;
1369 .cbi-dropdown > ul.preview {
1373 .cbi-dropdown > .open {
1377 .cbi-dropdown
> .open
,
1378 .cbi-dropdown > .more {
1383 flex-direction: column
;
1386 justify-content: center
;
1393 .cbi-dropdown
> .more
,
1394 .cbi-dropdown > ul > li[placeholder] {
1398 text-shadow: 1px 1px 0 #fff;
1401 .cbi-dropdown > ul > li {
1404 align-items: center
;
1410 white-space: nowrap
;
1411 text-overflow: ellipsis
;
1414 .cbi-dropdown > ul > li .hide-open {
1418 .cbi-dropdown > ul > li .hide-close {
1422 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1423 border-left: thin solid
#ccc;
1426 .cbi-dropdown[empty] > ul {
1430 .cbi-dropdown > ul > li > form {
1434 pointer-events: none
;
1437 .cbi-dropdown > ul > li img {
1438 margin-right: .25em;
1439 vertical-align: middle
;
1442 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1447 .cbi-dropdown > ul > li input[type="text"] {
1451 .cbi-dropdown[open] > ul.dropdown {
1458 max-height: 200px !important
;
1459 border: thin solid
#918e8c;
1460 background: #f6f6f6;
1461 box-shadow: 0 0 4px #918e8c;
1464 .cbi-dropdown
> ul
> li
[display
],
1465 .cbi-dropdown
[open
] > ul
.preview
,
1466 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1467 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1468 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1469 .cbi-dropdown
[multiple
][more
] > .more
,
1470 .cbi-dropdown[multiple][empty] > .more {
1472 align-items: center
;
1476 .cbi-dropdown
[empty
] > ul
> li
,
1477 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1478 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1482 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1486 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1490 .cbi-dropdown[open] > ul.dropdown > li {
1491 border-bottom: thin solid
#ccc;
1494 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1495 background: #b0d0f0;
1498 .cbi-dropdown[open] > ul.dropdown > li.focus {
1499 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1502 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1507 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1511 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1515 .cbi-dropdown[disabled] {
1516 pointer-events: none
;
1520 .cbi-dropdown .zonebadge {
1524 .cbi-dropdown[open] .zonebadge {
1534 border: thin solid
#999;
1538 .cbi-progressbar > div {
1541 transition: width
.25s ease-in
;
1542 background: #5bc0de;
1543 background: var
(--bar-bg
);
1546 .cbi-progressbar::after {
1547 font-family: monospace
;
1550 font-size-adjust: .38;
1551 line-height: normal
;
1558 content: attr
(title
);
1561 text-overflow: ellipsis
;
1562 text-shadow: 0 0 2px #eee;
1573 transition: opacity
.125s ease-in
;
1575 background: rgba
(0, 0, 0, .7);
1576 -webkit-overflow-scrolling: touch
;
1581 align-items: center
;
1590 border-radius: 3px !important
;
1592 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1596 line-height: normal
;
1603 font-size-adjust: .35;
1605 margin-bottom: .5em;
1608 white-space: pre-wrap
;
1611 background-color: #101010;
1612 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1624 list-style-type: square
;
1629 padding-left: .25rem;
1630 word-break: break-word
;
1635 font-weight: normal
;
1636 padding: .1rem .3rem;
1642 .modal .label.warning {
1643 background-color: #f0ad4e !important
;
1647 padding: .3rem .6rem;
1654 body
.modal-overlay-active
{
1659 body
.modal-overlay-active #modal_overlay
{
1667 padding-left: 32px !important
;
1677 background: url
(../resources/icons/loading.gif) no-repeat center
;
1678 background-size: 16px;
1688 text-align: left
!important
;
1693 text-align: right
!important
;
1698 text-align: center
!important
;
1702 align-self: flex-start
!important
;
1703 vertical-align: top
!important
;
1707 align-self: flex-end
!important
;
1708 vertical-align: bottom
!important
;
1720 .cbi-page-actions > form[method="post"] {
1721 display: inline-block
;
1724 .th
[data-type
="button"],
1725 .td
[data-type
="button"],
1726 .th
[data-type
="fvalue"],
1727 .td[data-type="fvalue"] {
1733 display: inline-flex
;
1734 padding: .5rem .8rem;
1735 border-bottom: thin solid
#ccc;
1737 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
1743 background-color: #f0f0f0;
1748 display: inline-block
;
1749 align-self: flex-start
;
1753 .ifacebadge > img + img {
1754 margin: 0 .2rem 0 0;
1757 .network-status-table {
1762 .network-status-table .ifacebox {
1767 .network-status-table .ifacebox-body {
1769 flex-direction: column
;
1773 .network-status-table .ifacebox-body > span {
1778 .network-status-table .ifacebox-body > div {
1783 .network-status-table .ifacebox-body .ifacebadge {
1784 align-items: center
;
1787 margin: .5em .25em 0 .25em;
1789 background-color: #fff;
1793 .cbi-input-textarea {
1794 font-family: monospace
;
1812 background-color: #101010;
1813 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1820 /* config changes */
1822 font-family: monospace
;
1825 .uci-change-list ins
,
1826 .uci-change-legend-label ins {
1829 text-decoration: none
;
1830 border: thin solid
#0f0;
1831 background-color: #cfc;
1834 .uci-change-list del
,
1835 .uci-change-legend-label del {
1839 text-decoration: none
;
1840 border: thin solid
#f00;
1841 background-color: #fcc;
1844 .uci-change-list var
,
1845 .uci-change-legend-label var {
1849 text-decoration: none
;
1850 border: thin solid
#ccc;
1851 background-color: #eee;
1854 .uci-change-list var ins
,
1855 .uci-change-list var del {
1862 .uci-change-legend {
1866 .uci-change-legend-label {
1871 .uci-change-legend-label
> ins
,
1872 .uci-change-legend-label
> del
,
1873 .uci-change-legend-label > var {
1881 .uci-change-legend-label var ins
,
1882 .uci-change-legend-label var del {
1887 .uci-change-list var
,
1888 .uci-change-list del
,
1889 .uci-change-list ins {
1897 border: thin solid
#d4d4d4 !important
;
1901 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1902 border-top: 0 !important
;
1907 display: inline-flex
;
1908 flex-direction: column
;
1910 border-bottom: thin solid
#ccc;
1911 background-color: #f9f9f9;
1912 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .4), 0 1px 2px rgba
(0, 0, 0, .2);
1920 .ifacebox-head.active {
1921 background: #5bc0de;
1922 background: var
(--bar-bg
);
1934 display: inline-block
;
1935 padding: .2rem .5rem;
1938 .zonebadge .ifacebadge {
1939 margin: .1rem .2rem;
1940 padding: .2rem .3rem;
1941 border: thin solid
#6c6c6c;
1944 .zonebadge > input[type="text"] {
1947 padding: .16rem 1rem;
1951 .zonebadge > strong {
1952 display: inline-block
;
1956 .cbi-value-field
.cbi-input-checkbox
,
1957 .cbi-value-field .cbi-input-radio {
1961 .cbi-value-field > ul > li {
1965 .cbi-value-field > ul > li > label {
1969 .cbi-value-field > ul > li .ifacebadge {
1972 background-color: #eee;
1975 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1979 .cbi-section-create {
1980 display: inline-flex
;
1981 align-items: center
;
1985 .cbi-section-create > * {
1989 .cbi-section-remove {
1994 td
.cbi-value-field var
,
1995 .td.cbi-value-field var {
2001 padding: 1rem 1rem 0 1rem;
2002 border-top: thin solid
#ccc;
2005 .cbi-dropdown-container {
2009 .cbi-tooltip-container
,
2011 span
[data-tooltip
] .label
{
2012 cursor: help
!important
;
2020 transition: opacity
.25s ease-out
;
2022 pointer-events: none
;
2026 box-shadow: 0 0 2px #444;
2029 .cbi-tooltip-container:hover .cbi-tooltip {
2031 transition: opacity
.25s ease-in
;
2035 .zonebadge .cbi-tooltip {
2036 margin: -1.5rem 0 0 -.5rem;
2038 background: inherit
;
2043 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);
2051 .zone-forwards > * {
2055 .zone-forwards > span {
2061 .zone-forwards
.zone-src
,
2062 .zone-forwards .zone-dest {
2064 flex-direction: column
;
2070 padding: .3rem .8rem;
2071 white-space: nowrap
;
2072 text-decoration: none
;
2073 text-transform: uppercase
;
2074 color: #fff !important
;
2076 background-color: #bfbfbf;
2080 label
> input
[type
="checkbox"],
2081 label
> input
[type
="radio"] {
2086 vertical-align: bottom
;
2089 label
[data-index
][data-depends
] {
2104 background-color: rgba
(0, 0, 0, .56);
2108 #diag-rc-output > pre
,
2109 #command-rc-output > pre
,
2110 [data-page
="admin-services-wol"] .notice code
{
2112 font-size-adjust: .35;
2113 line-height: normal
;
2120 background-color: #101010;
2121 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2124 [data-page
="admin-network-diagnostics"] .table
{
2129 input
[name
="traceroute"],
2130 input
[name
="nslookup"] {
2134 /* fix Main Login */
2135 .node-main-login > .main > .main-left {
2139 .node-main-login > .main > .main-right {
2143 .node-main-login > .main fieldset {
2146 margin-bottom: 1rem;
2153 .node-main-login > .main .cbi-value-title {
2157 .node-main-login > .main #maincontent {
2161 .node-main-login > .main .container {
2162 display: inline-block
;
2163 margin-top: 2rem !important
;
2164 padding: 1rem 3.5rem 2rem;
2166 background-color: #fff;
2167 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2170 .node-main-login > .main form > div:last-child {
2174 .node-main-login > .main .cbi-value {
2178 .node-main-login > .main .cbi-value > * {
2179 display: inline-block
!important
;
2182 .node-main-login > .main .cbi-input-text {
2183 width: 100% !important
;
2187 .node-main-login .cbi-section {
2191 @media screen and
(min-height: 585px) {
2192 .node-main-login footer {
2200 .node-status-overview
> .main
fieldset:nth-child
(4) .td:nth-child
(2),
2201 .node-status-processes > .main .table .tr .td:nth-child(3) {
2202 white-space: normal
;
2205 /* fix system reboot */
2206 [data-page
="admin-system-reboot"] p
{
2210 [data-page
="admin-system-reboot"] p
> span
{
2217 #cbi-samba [data-tab
="template"] .cbi-value-field
{
2221 #cbi-samba [data-tab
="template"] .cbi-value-title
{
2223 padding-bottom: .6rem;
2227 .controls > * > .btn:not([aria-label$="page"]) {
2228 flex-grow: initial
!important
;
2232 .controls > #pager > .btn[aria-label$="page"] {
2237 .controls > * > label {
2238 margin-bottom: .2rem;
2241 [data-page
="admin-system-opkg"] div
.btn
{
2244 padding: .3rem .6rem;
2247 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
2248 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2253 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2255 margin-bottom: 1rem;
2260 white-space: normal
!important
;
2261 word-break: break-word
;
2264 .cbi-tabmenu + .cbi-section {
2268 /* wireless overview */
2269 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2270 box-shadow: inset
1px -1px 0 #ddd, inset
-1px -1px 0 #ddd;
2273 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2277 border-top: thin solid
#ddd !important
;
2280 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2281 box-shadow: inset
1px 0 0 #ddd, inset
-1px 0 0 #ddd;
2284 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2285 border-bottom: thin solid
#ddd;
2286 box-shadow: 0 -1px 0 0 #ddd;
2289 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2299 margin: 2rem 2rem 0 0;
2304 #cbi-firewall-redirect table
*,
2305 #cbi-network-switch_vlan table
*,
2306 #cbi-firewall-zone table
* {
2310 #cbi-firewall-redirect table input
[type
="text"],
2311 #cbi-network-switch_vlan table input
[type
="text"],
2312 #cbi-firewall-zone table input
[type
="text"] {
2316 #cbi-firewall-redirect table select
,
2317 #cbi-network-switch_vlan table select
,
2318 #cbi-firewall-zone table select
{
2322 #cbi-network-switch_vlan .th
,
2323 #cbi-network-switch_vlan .td
{
2327 #cbi-firewall-zone .table
,
2328 #cbi-network-switch_vlan .table
{
2332 #cbi-firewall-zone .td
,
2333 #cbi-network-switch_vlan .td
{
2337 /* applyreboot fix */
2338 #applyreboot-container {
2342 #applyreboot-section {
2347 /* openvpn bug fix */
2349 line-height: initial
!important
;
2352 /* custom commands */
2354 width: 24% !important
;
2355 margin: 10px 0 0 10px !important
;
2356 padding: .5rem 1rem;
2357 border-bottom: thin solid
#ccc;
2359 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
2363 line-height: normal
!important
;
2365 margin: 6px 0 !important
;
2366 white-space: nowrap
;
2367 text-overflow: ellipsis
;
2371 left: auto
!important
;
2380 white-space: nowrap
;
2381 text-overflow: ellipsis
;
2384 .commandbox code:hover {
2387 white-space: normal
;
2390 .commandbox p:first-of-type {
2394 .commandbox p:nth-of-type(2) {
2398 [data-page^
="admin-system-commands"] .panel-title
,
2399 [data-page^
="command-cfg"] .mobile-hide
,
2400 [data-page^
="command-cfg"] .showSide
{
2404 #command-rc-output .alert-message
{
2405 line-height: 1.42857143;
2411 animation: anim-fade-in
1.5s forwards
;
2412 word-break: break-word
;
2416 @keyframes anim-fade-in
{
2423 @media all and
(-ms-high-contrast: none
) {
2424 .main > .main-left > .nav > .slide > .menu::before {
2428 .main > .main-left > .nav > li:last-child::before {
2437 @media screen and
(max-width: 1600px) {
2438 header
> .fill
> .container
> #logo
{
2439 margin: 0 2.5rem 0 .5rem;
2443 width: calc
(0% + 13rem);
2447 width: calc
(100% - 13rem);
2453 padding: .3rem .6rem;
2457 padding: .2rem .6rem;
2467 padding-right: .6rem;
2470 .cbi-value-field
.cbi-dropdown
,
2471 .cbi-value-field
.cbi-input-select
,
2472 .cbi-value input
[type
="text"],
2473 .cbi-value input[type="password"] {
2477 #cbi-firewall-zone .cbi-input-select
{
2481 .cbi-input-textarea {
2485 .node-admin-status > .main fieldset li > a {
2486 padding: .3rem .6rem;
2490 @media screen and
(max-width: 1366px) {
2495 header
> .fill
> .container
{
2502 height: calc
(100% - 3.5rem);
2507 width: calc
(0% + 13rem);
2508 height: calc
(100% - 3.5rem);
2512 width: calc
(100% - 13rem);
2516 .cbi-tabmenu > li > a {
2517 padding: .2rem .5rem;
2522 padding-bottom: 1rem;
2526 font-size: .7rem !important
;
2527 width: 100% !important
;
2530 .table .cbi-input-text {
2534 .cbi-value-field
.cbi-dropdown
,
2535 .cbi-value-field
.cbi-input-select
,
2536 .cbi-value input
[type
="text"],
2537 .cbi-value input[type="password"] {
2541 #cbi-firewall-zone .cbi-input-select
{
2545 .main
> .main-left
> .nav
> li
,
2546 .main
> .main-left
> .nav
> li a
,
2547 .main
> .main-left
> .nav
> .slide
> .menu
,
2548 .main > .main-left > .nav > li > [data-title="Logout"] {
2552 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2560 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2564 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2565 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2566 [data-page
="admin-network-hosts"] .table
,
2567 [data-page
="admin-network-routes"] .table
{
2568 overflow-y: visible
;
2572 width: 32% !important
;
2576 @media screen and
(max-width: 1152px) {
2577 header
> .fill
> .container
> #logo
{
2581 header
> .fill
> .container
> .brand
{
2587 overflow-y: visible
;
2590 .main > .loading > span {
2607 display: inline-flex
;
2608 align-items: center
;
2611 margin-right: .7rem;
2621 background: url
(./icons/menu.svg) no-repeat center
;
2624 body:not
(.logged-in
) .showSide
{
2630 .node-main-login > .main .cbi-value-title {
2636 padding-right: 1rem;
2639 .cbi-value-field
.cbi-dropdown
,
2640 .cbi-value-field
.cbi-input-select
,
2641 .cbi-value input[type="text"] {
2646 .cbi-value input
[type
="password"],
2647 .cbi-value input
[name^
="pw"],
2648 .cbi-value input[data-update="change"]:nth-child(2) {
2649 width: 13rem !important
;
2653 #diag-rc-output > pre
,
2654 #command-rc-output > pre
,
2655 [data-page
="admin-services-wol"] .notice code
{
2663 .Interfaces .table {
2673 flex-direction: row
;
2677 .Overview .table[width="100%"] > .tr {
2682 border-bottom: thin solid
#ddd;
2685 .tr
.placeholder
> .td
,
2686 #cbi-firewall .tr
> .td
,
2687 #cbi-network .tr:nth-child
(2) > .td
,
2688 .cbi-section #wifi_assoclist_table .tr > .td {
2694 display: inline-block
;
2695 align-self: flex-start
;
2697 text-overflow: ellipsis
;
2698 word-wrap: break-word
;
2702 .td input[type="text"] {
2707 .td
[data-dynlist
] > input
,
2708 .td input.cbi-input-password {
2709 width: calc
(100% - 1.5rem);
2712 .td
[data-type
="button"],
2713 .td[data-type="fvalue"] {
2718 .th
.cbi-value-field
,
2719 .td
.cbi-value-field
,
2720 .th
.cbi-section-table-cell
,
2721 .td.cbi-section-table-cell {
2726 .cbi-section-table-row {
2728 flex-direction: row
;
2730 justify-content: space-between
;
2731 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2734 .td
.cbi-value-field
,
2735 .cbi-section-table-cell {
2736 display: inline-block
;
2742 .td.cbi-section-actions {
2743 vertical-align: bottom
;
2747 .tr
.cbi-section-table-titles
,
2748 .tr.cbi-section-table-descr {
2752 .tr
[data-title
]::before
,
2753 .tr.cbi-section-table-titles.named::before {
2757 border-bottom: thin solid rgba
(0, 0, 0, .26);
2758 background: #90c0e0;
2762 [data-page^
="admin-status-realtime"] .td
[id
] {
2766 .td[data-title]::before {
2770 .cbi-button + .cbi-button {
2774 .td
.cbi-section-actions
> * > *,
2775 .td.cbi-section-actions > * > form > * {
2780 position: static
!important
;
2783 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2786 .Firewall form input {
2787 width: 100% !important
;
2793 .Firewall .center::before {
2794 text-align: left
!important
;
2798 width: 100% !important
;
2799 margin-left: 0 !important
;
2803 @media screen and
(max-width: 600px) {
2808 .cbi-progressbar::after {
2822 #maincontent > .container
{
2823 margin: 0 1rem 1.5rem 1rem;
2826 .main
> .main-left
> .nav
> .slide
> .menu
,
2827 .main > .main-left > .nav > li > [data-title="Logout"] {
2831 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2837 min-width: 0 !important
;
2843 .cbi-value-description
,
2845 .cbi-value-field
.cbi-dropdown
,
2846 .cbi-value-field
.cbi-input-select
,
2847 .cbi-value input[type="text"] {
2851 .cbi-value > .cbi-value-field {
2852 display: inline-block
;
2856 .cbi-tabmenu > li > a {
2858 padding: .2rem .3rem;
2861 .cbi-page-actions > div > input {
2865 .cbi-page-actions > .cbi-button {
2869 .node-main-login > .main .container {
2870 margin: 2rem 1.2rem 1.5rem 1.2rem !important
;
2871 padding: .3rem 1.7rem 2rem 1.6rem;
2874 .node-main-login > .main .cbi-value {
2878 .node-main-login > .main form > div:last-child {
2882 .node-main-login > .main .cbi-value-title {
2884 width: 100% !important
;
2887 .node-main-login > .main fieldset {
2892 .commandbox p:first-of-type {
2897 #diag-rc-output > pre
,
2898 #command-rc-output > pre
,
2899 [data-page
="admin-services-wol"] .notice code
{
2900 font-size: .8rem !important
;
2926 padding-bottom: 1rem;
2929 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2930 width: 100% !important
;
2933 .node-system-packages > .main .cbi-value .cbi-value-field input {
2942 .td.cbi-value-field {
2946 .td
.cbi-value-field
[data-type
="button"],
2947 .td.cbi-value-field[data-type="fvalue"] {
2952 .tr
[data-title
]::before
,
2953 .tr.cbi-section-table-titles.named::before {
2962 #cbi-wireless > #wifi_assoclist_table
.td
{
2966 #cbi-wireless > .cbi-section-node
.td
,
2967 .Interfaces .td.cbi-section-actions {
2968 text-align: center
!important
;
2971 [data-page
="admin-status-processes"] .td
[data-title
="Hang Up"]::before
,
2972 [data-page
="admin-status-processes"] .td
[data-title
="Terminate"]::before
,
2973 [data-page
="admin-status-processes"] .td
[data-title
="Kill"]::before
{
2978 .hide-xs:not([data-title="MAC-Address"]) {
2983 @media screen and
(min-width: 600px) {
2984 ::-webkit-scrollbar
{
2989 ::-webkit-scrollbar
,
2990 ::-webkit-scrollbar-corner
{
2991 background: transparent
;
2994 ::-webkit-scrollbar-thumb
{
2995 background: #9e9e9e;
2998 ::-webkit-scrollbar-thumb:hover
{
2999 background: #757575;
3002 ::-webkit-scrollbar-thumb:active
{
3003 background: #424242;