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 body:not
(.logged-in
) > header
> .fill
> .container
> #logo
{
408 header
> .fill
> .container
> .brand
{
412 vertical-align: text-bottom
;
413 text-decoration: none
;
415 color: var
(--header-color
);
418 header
> .fill
> .container
> .status
{
425 header
> .fill
> .container
> .status
> * {
438 background-color: #ff7d60 !important
;
442 background-color: #f0e68c !important
;
446 background-color: #5cb85c !important
;
450 background-color: #5bc0de !important
;
463 border-radius: 0 !important
;
464 background-color: #fff;
465 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
466 text-shadow: 1px 1px rgba
(0, 0, 0, .1);
469 .alert-message > h4 {
478 .alert-message .btn {
479 padding: .3rem .6rem;
483 .container .alert-message {
487 .main > .main-left > .nav {
491 .main > .main-left > .nav > li {
494 -webkit-user-select: none
;
495 -moz-user-select: none
;
496 -ms-user-select: none
;
500 .main > .main-left > .nav > li:last-child {
503 margin: 2rem 0 1rem 0;
507 .main > .main-left > .nav > li a {
510 color: var
(--menu-color
);
513 .main > .main-left > .nav > .slide {
517 .main > .main-left > .nav > .slide > ul {
521 .main
> .main-left
> .nav
> .slide
> .menu
,
522 .main > .main-left > .nav > li > [data-title="Logout"] {
529 text-decoration: none
;
531 color: var
(--main-menu-color
);
534 .main > .main-left > .nav > .slide > .menu::before {
540 background: url
(./icons/arrow.svg) no-repeat
;
543 .main > .main-left > .nav > .slide > .menu.active::before {
544 transform: rotate
(-180deg);
547 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu::before
{
548 transition: transform
.1s ease-in-out
;
551 body
[class
*="node-"] > .main
> .main-left
> .nav
> .slide
> .menu
.active::before
{
552 transition: transform
.2s ease-in-out
;
555 .main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before {
559 .main > .main-left > .nav > li:last-child::before {
564 content: url
(./icons/logout.svg);
567 .main
> .main-left
> .nav
> li:hover
,
568 .main > .main-left > .nav > .slide > .menu:hover {
570 background: var
(--submenu-bg-hover
);
573 .main > .main-left > .nav > .slide:hover {
577 .main > .main-left > .nav > .slide > .slide-menu > li {
581 .main > .main-left > .nav > .slide > .slide-menu > .active {
582 background-color: #09c;
583 background-color: var
(--submenu-bg-hover-active
);
586 .main > .main-left > .nav > .slide > .slide-menu > li > a {
588 text-decoration: none
;
591 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
595 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
597 background: var
(--submenu-bg-hover
);
600 .main > .main-left > .nav > .slide > .slide-menu > li:not(.active):hover > a {
602 color: var
(--menu-color-hover
);
605 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
606 background-color: #09c;
607 background-color: var
(--main-color
);
611 .main
> .main-left
> .nav
> .slide
> .menu
,
612 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li
,
613 .main > .main-left > .nav > li:last-child {
616 transform: translate3d
(0, 0, 0);
619 .main
> .main-left
> .nav
> .slide
> .menu::after
,
620 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li::after
,
621 .main > .main-left > .nav > li:last-child::after {
629 transition: transform
.5s, opacity
1s;
630 transform: scale
(10, 10);
631 pointer-events: none
;
633 background-image: radial-gradient
(circle
, #000 10%, transparent
10.01%);
634 background-repeat: no-repeat
;
635 background-position: 50%;
638 .main
> .main-left
> .nav
> .slide
> .menu:active::after
,
639 .main
> .main-left
> .nav
> .slide
> .slide-menu
> li:active::after
,
640 .main > .main-left > .nav > li:last-child:active::after {
642 transform: scale
(0, 0);
646 #maincontent > .container
{
647 margin: 0 2rem 1rem 2rem;
655 list-style-type: none
;
660 padding-bottom: 10px;
661 border-bottom: thin solid
#eee;
667 padding-bottom: 10px;
668 border-bottom: thin solid
#eee;
674 padding-bottom: 10px;
680 padding-bottom: 10px;
686 padding-bottom: 10px;
693 #cbi-network > .cbi-section-node
,
694 #cbi-wireless > .cbi-section-node
,
695 #cbi-wireless > #wifi_assoclist_table
,
696 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
697 [data-page
="admin-system-opkg"] #maincontent
> .container
{
698 font-family: inherit
;
707 background-color: #fff;
708 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
714 line-height: 1.42857143;
719 .cbi-map-descr + fieldset {
723 .cbi-section > legend {
724 display: none
!important
;
728 .cbi-section > .cbi-section {
735 .cbi-section
> h3:first-child
,
742 margin-bottom: .5rem;
743 padding-bottom: 1rem;
745 border-bottom: thin solid
#eee;
750 border-collapse: collapse
;
757 box-shadow: 0 0 0 1px #ddd;
760 table
> tbody
> tr
> td
,
761 table
> tbody
> tr
> th
,
762 table
> tfoot
> tr
> td
,
763 table
> tfoot
> tr
> th
,
764 table
> thead
> tr
> td
,
765 table
> thead
> tr
> th
,
766 .table
> .tbody
> .tr
> .td
,
767 .table
> .tbody
> .tr
> .th
,
768 .table
> .tfoot
> .tr
> .td
,
769 .table
> .tfoot
> .tr
> .th
,
770 .table
> .thead
> .tr
> .td
,
771 .table
> .thead
> .tr
> .th
,
772 .table
> .tr
> .td
.cbi-value-field
,
773 .table > .tr > .th.cbi-section-table-cell {
777 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
781 .cbi-section-table-cell {
783 align-self: flex-end
;
791 .cbi-section-table-row::before
,
792 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
793 border-top: thin solid
#ddd;
797 #cbi-network .tr:first-child
> .td
,
798 .table
[width
="100%"] > .tr:first-child
> .td
,
799 [data-page
="admin-network-diagnostics"] .tr
> .td
,
800 .tr
.table-titles
> .th
,
801 .tr.cbi-section-table-titles > .th {
802 border-top: 0 !important
;
805 .table[width="100%"] > .tr:first-child > .td {
809 .cbi-section-table-row {
811 text-align: center
!important
;
815 .cbi-section-table-row:last-child {
819 .cbi-section-table-row
> .cbi-value-field
.cbi-dropdown
,
820 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
821 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
822 .cbi-section-table-row > .cbi-value-field .cbi-input-password {
826 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
827 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
828 width: calc
(100% - 1.5rem);
831 .cbi-section-table-row .td {
832 text-align: center
!important
;
835 div
> table
> tbody
> tr:nth-of-type
(2n),
836 div
> .table
> .tr:nth-of-type
(2n) {
837 background-color: #f9f9f9;
840 /* fix multiple table */
843 .cbi-value-field table
,
844 .cbi-value-field
.table
,
845 td
> table
> tbody
> tr
> td
,
846 .td
> .table
> .tbody
> .tr
> .td
,
847 .cbi-value-field
> table
> tbody
> tr
> td
,
848 .cbi-value-field > .table > .tbody > .tr > .td {
857 display: inline-block
;
858 width: auto
!important
;
861 -webkit-user-select: none
;
862 -moz-user-select: none
;
863 -ms-user-select: none
;
865 transition: all
.2s ease-in-out
;
867 vertical-align: middle
;
869 text-decoration: none
;
870 text-transform: uppercase
;
871 color: rgba
(0, 0, 0, .87);
873 border-radius: .2rem;
874 background-color: #f0f0f0;
875 background-image: none
;
876 -webkit-appearance: none
;
877 -ms-touch-action: manipulation
;
878 touch-action: manipulation
;
884 display: inline-block
;
886 padding: .2rem .3rem;
887 color: transparent
!important
;
888 background: url
(./icons/arrow.svg) no-repeat center
;
889 background-size: 12px 20px;
893 transform: scaleY
(-1);
896 .cbi-button:not(select) {
897 -webkit-appearance: none
!important
;
900 .cbi-button + .cbi-button {
913 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
914 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
915 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
916 text-decoration: none
;
926 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 2px 2px rgba
(0, 0, 0, .2);
931 .item:active::after {
932 box-shadow: 0 10px 20px rgba
(0, 0, 0, .19), 0 6px 6px rgba
(0, 0, 0, .23);
935 .cbi-button-up:hover
,
936 .cbi-button-up:focus {
937 box-shadow: 0 0 2px rgba
(0, 0, 0, .12), 0 -2px 2px rgba
(0, 0, 0, .2);
940 .cbi-button-up:active {
941 box-shadow: 0 -10px 20px rgba
(0, 0, 0, .19), 0 -6px 6px rgba
(0, 0, 0, .23);
945 .cbi-button:disabled {
947 pointer-events: none
;
953 .alert-message
[class
="btn"],
954 .modal div
[class
="btn"],
960 .cbi-button
[name
="zero"],
961 .cbi-button
[name
="restart"],
962 .cbi-button[onclick="hide_empty(this)"] {
964 border: thin solid
#bfbfbf;
965 background-color: #d4d4d4;
970 .cbi-page-actions
.cbi-button-save
,
971 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
974 .cbi-button-positive
,
976 .cbi-button
[value
="Enable"],
977 .cbi-button
[value
="Scan"],
978 .cbi-button
[value^
="Back"],
979 .cbi-button-neutral[onclick="handleConfig(event)"] {
982 border: thin solid
#2e6da4;
983 background-color: #337ab7;
987 .cbi-page-actions
.cbi-button-apply
,
988 .cbi-section-actions
.cbi-button-edit
,
993 .cbi-button
[value
="Submit"],
994 .cbi-button
[value
="Upload"],
995 .cbi-button
[value$
="Apply"],
996 .cbi-button[onclick="addKey(event)"] {
999 border: thin solid
#46b8da;
1000 background-color: #5bc0de;
1005 .cbi-section-remove
> .cbi-button
,
1008 .cbi-button-negative
,
1009 .cbi-button
[value
="Stop"],
1010 .cbi-button
[value
="Kill"],
1011 .cbi-button
[onclick
="reboot(this)"],
1012 .cbi-button-neutral[value="Restart"] {
1013 font-weight: normal
;
1015 border: thin solid
#d43f3a;
1016 background-color: #d9534f;
1020 .btn
[value
="Dismiss"],
1021 .cbi-button
[value
="Terminate"],
1022 .cbi-button
[value
="Reset"],
1023 .cbi-button
[value
="Disabled"],
1024 .cbi-button
[onclick^
="iface_reconnect"],
1025 .cbi-button
[onclick
="handleReset(event)"],
1026 .cbi-button-neutral[value="Disable"] {
1027 font-weight: normal
;
1029 border: thin solid
#eea236;
1030 background-color: #f0ad4e;
1034 .cbi-button-success
,
1035 .cbi-button-download
,
1036 .cbi-button
[name
="backup"],
1037 .cbi-button
[value
="Download"],
1038 .cbi-button[value="Save mtdblock"] {
1039 font-weight: normal
;
1041 border: thin solid
#4cae4c;
1042 background-color: #5cb85c;
1045 .cbi-page-actions .cbi-button-link:first-child {
1050 text-decoration: none
;
1053 .cbi-value-field .cbi-button-add {
1055 margin: 9px 0 4px 3px;
1061 padding-left: .5rem;
1062 background-color: #fff;
1067 display: inline-block
;
1073 padding-bottom: .4rem;
1074 border-bottom: .2rem solid transparent
;
1077 .tabs
> li
[class
~="active"],
1079 border-bottom-color: #09c;
1080 border-bottom-color: var
(--main-color
);
1085 border-bottom-color: #c9c9c9;
1089 .cbi-tabmenu > li > a {
1090 padding: .6rem .9rem;
1091 text-decoration: none
;
1095 .tabs > li[class~="active"] > a {
1097 color: var
(--main-color
);
1101 border: thin solid
#d4d4d4;
1105 .cbi-tabmenu > li:hover {
1106 background-color: #f1f1f1;
1109 .cbi-tabmenu > li[class~="cbi-tab"] {
1110 background-color: #fff;
1114 background-color: #d4d4d4;
1117 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
1118 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
1119 background-color: #f9f9f9;
1128 [data-tab-active
="true"] {
1132 transition: opacity
.25s ease-in
;
1135 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n+3),
1136 .cbi-section[id] .cbi-section-node:nth-of-type(4n+4) {
1137 background-color: #f9f9f9;
1140 .cbi-section-node-tabbed {
1143 border: thin solid
#d4d4d4;
1147 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1148 background-color: #f9f9f9;
1152 .cbi-value-description {
1154 display: table-cell
;
1157 .cbi-value-description {
1164 display: table-cell
;
1167 padding-top: .35rem;
1168 padding-right: 2rem;
1170 word-wrap: break-word
;
1174 display: inline-block
;
1176 padding: .35rem 1rem .2rem 1rem;
1183 .cbi-value-field
.cbi-dropdown
,
1184 .cbi-value-field
.cbi-input-select
,
1185 .cbi-value input
[type
="text"],
1186 .cbi-value input[type="password"] {
1190 #cbi-firewall-zone .cbi-input-select
,
1191 #cbi-network-switch_vlan .cbi-input-select
{
1195 #cbi-network-switch_vlan .cbi-input-text
{
1199 .cbi-input-invalid {
1201 border-bottom-color: #f00;
1204 .cbi-section-error {
1206 line-height: 1.42857143;
1209 border: thin solid
#f00;
1211 background-color: #fce6e6;
1214 .cbi-section-error ul {
1218 .cbi-section-error ul li {
1223 .td[data-title]::before {
1227 content: attr
(data-title
) ":\20";
1229 white-space: nowrap
;
1232 .tr.placeholder .td[data-title]::before {
1236 .tr
[data-title
]::before
,
1237 .tr.cbi-section-table-titles.named::before {
1239 display: table-cell
;
1243 content: attr
(data-title
) "\20";
1245 vertical-align: middle
;
1246 white-space: normal
;
1247 word-wrap: break-word
;
1251 background-color: #f9f9f9;
1255 background-color: #eee;
1258 .cbi-rowstyle-2
.cbi-button-up
,
1259 .cbi-rowstyle-2
.cbi-button-down
,
1260 body:not
(.Interfaces
) .cbi-rowstyle-2:first-child
{
1261 background-color: #fff !important
;
1264 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1265 width: auto
!important
;
1268 .td.cbi-section-actions {
1269 text-align: right
!important
;
1270 vertical-align: middle
;
1273 .td.cbi-section-actions > * {
1274 display: inline-flex
;
1277 .td
.cbi-section-actions
> * > *,
1278 .td.cbi-section-actions > * > form > * {
1282 .td.cbi-section-actions > * > form {
1283 display: inline-flex
;
1290 flex-direction: column
;
1295 .cbi-dynlist > .item {
1299 padding: .5em .25em .25em 0;
1300 pointer-events: none
;
1302 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1306 .cbi-dynlist[name="sshkeys"] > .item {
1310 .cbi-dynlist > .item::after {
1315 display: inline-flex
;
1319 pointer-events: auto
;
1321 border: thin solid
#d43f3a;
1322 background-color: #d9534f;
1325 .cbi-dynlist > .item > span {
1326 white-space: normal
;
1327 word-break: break-word
;
1330 .cbi-dynlist > .add-item {
1331 display: inline-flex
;
1332 align-items: center
;
1337 .cbi-dynlist > .add-item:not([ondrop]) > input {
1341 white-space: nowrap
;
1342 text-overflow: ellipsis
;
1345 .cbi-dynlist > .add-item[ondrop] > input {
1352 display: inline-flex
;
1356 .cbi-dropdown[placeholder*="select"] {
1362 .cbi-dropdown > ul {
1367 margin: 0 !important
;
1373 .cbi-dropdown > ul.preview {
1377 .cbi-dropdown > .open {
1381 .cbi-dropdown
> .open
,
1382 .cbi-dropdown > .more {
1387 flex-direction: column
;
1390 justify-content: center
;
1397 .cbi-dropdown
> .more
,
1398 .cbi-dropdown > ul > li[placeholder] {
1402 text-shadow: 1px 1px 0 #fff;
1405 .cbi-dropdown > ul > li {
1408 align-items: center
;
1414 white-space: nowrap
;
1415 text-overflow: ellipsis
;
1418 .cbi-dropdown > ul > li .hide-open {
1422 .cbi-dropdown > ul > li .hide-close {
1426 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1427 border-left: thin solid
#ccc;
1430 .cbi-dropdown[empty] > ul {
1434 .cbi-dropdown > ul > li > form {
1438 pointer-events: none
;
1441 .cbi-dropdown > ul > li img {
1442 margin-right: .25em;
1443 vertical-align: middle
;
1446 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1451 .cbi-dropdown > ul > li input[type="text"] {
1455 .cbi-dropdown[open] > ul.dropdown {
1462 max-height: 200px !important
;
1463 border: thin solid
#918e8c;
1464 background: #f6f6f6;
1465 box-shadow: 0 0 4px #918e8c;
1468 .cbi-dropdown
> ul
> li
[display
],
1469 .cbi-dropdown
[open
] > ul
.preview
,
1470 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1471 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1472 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1473 .cbi-dropdown
[multiple
][more
] > .more
,
1474 .cbi-dropdown[multiple][empty] > .more {
1476 align-items: center
;
1480 .cbi-dropdown
[empty
] > ul
> li
,
1481 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1482 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1486 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1490 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1494 .cbi-dropdown[open] > ul.dropdown > li {
1495 border-bottom: thin solid
#ccc;
1498 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1499 background: #b0d0f0;
1502 .cbi-dropdown[open] > ul.dropdown > li.focus {
1503 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1506 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1511 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1515 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1519 .cbi-dropdown[disabled] {
1520 pointer-events: none
;
1524 .cbi-dropdown .zonebadge {
1528 .cbi-dropdown[open] .zonebadge {
1538 border: thin solid
#999;
1542 .cbi-progressbar > div {
1545 transition: width
.25s ease-in
;
1546 background: #5bc0de;
1547 background: var
(--bar-bg
);
1550 .cbi-progressbar::after {
1551 font-family: monospace
;
1554 font-size-adjust: .38;
1555 line-height: normal
;
1562 content: attr
(title
);
1565 text-overflow: ellipsis
;
1566 text-shadow: 0 0 2px #eee;
1577 transition: opacity
.125s ease-in
;
1579 background: rgba
(0, 0, 0, .7);
1580 -webkit-overflow-scrolling: touch
;
1585 align-items: center
;
1594 border-radius: 3px !important
;
1596 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1600 line-height: normal
;
1607 font-size-adjust: .35;
1609 margin-bottom: .5em;
1612 white-space: pre-wrap
;
1615 background-color: #101010;
1616 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1628 list-style-type: square
;
1633 padding-left: .25rem;
1634 word-break: break-word
;
1639 font-weight: normal
;
1640 padding: .1rem .3rem;
1646 .modal .label.warning {
1647 background-color: #f0ad4e !important
;
1651 padding: .3rem .6rem;
1658 body
.modal-overlay-active
{
1663 body
.modal-overlay-active #modal_overlay
{
1671 padding-left: 32px !important
;
1681 background: url
(../resources/icons/loading.gif) no-repeat center
;
1682 background-size: 16px;
1692 text-align: left
!important
;
1697 text-align: right
!important
;
1702 text-align: center
!important
;
1706 align-self: flex-start
!important
;
1707 vertical-align: top
!important
;
1711 align-self: flex-end
!important
;
1712 vertical-align: bottom
!important
;
1724 .cbi-page-actions > form[method="post"] {
1725 display: inline-block
;
1728 .th
[data-type
="button"],
1729 .td
[data-type
="button"],
1730 .th
[data-type
="fvalue"],
1731 .td[data-type="fvalue"] {
1737 display: inline-flex
;
1738 padding: .5rem .8rem;
1739 border-bottom: thin solid
#ccc;
1741 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
1747 background-color: #f0f0f0;
1752 display: inline-block
;
1753 align-self: flex-start
;
1757 .ifacebadge > img + img {
1758 margin: 0 .2rem 0 0;
1761 .network-status-table {
1766 .network-status-table .ifacebox {
1771 .network-status-table .ifacebox-body {
1773 flex-direction: column
;
1777 .network-status-table .ifacebox-body > span {
1781 .network-status-table .ifacebox-body > div {
1786 .network-status-table .ifacebox-body .ifacebadge {
1787 align-items: center
;
1790 margin: .5em .25em 0 .25em;
1792 background-color: #fff;
1796 .cbi-input-textarea {
1797 font-family: monospace
;
1815 background-color: #101010;
1816 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1823 /* config changes */
1825 font-family: monospace
;
1828 .uci-change-list ins
,
1829 .uci-change-legend-label ins {
1832 text-decoration: none
;
1833 border: thin solid
#0f0;
1834 background-color: #cfc;
1837 .uci-change-list del
,
1838 .uci-change-legend-label del {
1842 text-decoration: none
;
1843 border: thin solid
#f00;
1844 background-color: #fcc;
1847 .uci-change-list var
,
1848 .uci-change-legend-label var {
1852 text-decoration: none
;
1853 border: thin solid
#ccc;
1854 background-color: #eee;
1857 .uci-change-list var ins
,
1858 .uci-change-list var del {
1865 .uci-change-legend {
1869 .uci-change-legend-label {
1874 .uci-change-legend-label
> ins
,
1875 .uci-change-legend-label
> del
,
1876 .uci-change-legend-label > var {
1884 .uci-change-legend-label var ins
,
1885 .uci-change-legend-label var del {
1890 .uci-change-list var
,
1891 .uci-change-list del
,
1892 .uci-change-list ins {
1900 border: thin solid
#d4d4d4 !important
;
1904 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1905 border-top: 0 !important
;
1910 display: inline-flex
;
1911 flex-direction: column
;
1913 border-bottom: thin solid
#ccc;
1914 background-color: #f9f9f9;
1915 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .4), 0 1px 2px rgba
(0, 0, 0, .2);
1923 .ifacebox-head.active {
1924 background: #5bc0de;
1925 background: var
(--bar-bg
);
1937 display: inline-block
;
1938 padding: .2rem .5rem;
1941 .zonebadge .ifacebadge {
1942 margin: .1rem .2rem;
1943 padding: .2rem .3rem;
1944 border: thin solid
#6c6c6c;
1947 .zonebadge > input[type="text"] {
1950 padding: .16rem 1rem;
1954 .zonebadge > strong {
1955 display: inline-block
;
1959 .cbi-value-field
.cbi-input-checkbox
,
1960 .cbi-value-field .cbi-input-radio {
1964 .cbi-value-field > ul > li {
1968 .cbi-value-field > ul > li > label {
1972 .cbi-value-field > ul > li .ifacebadge {
1975 background-color: #eee;
1978 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1982 .cbi-section-create {
1983 display: inline-flex
;
1984 align-items: center
;
1988 .cbi-section-create > * {
1992 .cbi-section-remove {
1997 td
.cbi-value-field var
,
1998 .td.cbi-value-field var {
2004 padding: 1rem 1rem 0 1rem;
2005 border-top: thin solid
#ccc;
2008 .cbi-dropdown-container {
2012 .cbi-tooltip-container
,
2014 span
[data-tooltip
] .label
{
2015 cursor: help
!important
;
2023 transition: opacity
.25s ease-out
;
2025 pointer-events: none
;
2029 box-shadow: 0 0 2px #444;
2032 .cbi-tooltip-container:hover .cbi-tooltip {
2034 transition: opacity
.25s ease-in
;
2038 .zonebadge .cbi-tooltip {
2039 margin: -1.5rem 0 0 -.5rem;
2041 background: inherit
;
2046 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);
2054 .zone-forwards > * {
2058 .zone-forwards > span {
2064 .zone-forwards
.zone-src
,
2065 .zone-forwards .zone-dest {
2067 flex-direction: column
;
2073 padding: .3rem .8rem;
2074 white-space: nowrap
;
2075 text-decoration: none
;
2076 text-transform: uppercase
;
2077 color: #fff !important
;
2079 background-color: #bfbfbf;
2083 label
> input
[type
="checkbox"],
2084 label
> input
[type
="radio"] {
2089 vertical-align: bottom
;
2103 background-color: rgba
(0, 0, 0, .56);
2107 #diag-rc-output > pre
,
2108 #command-rc-output > pre
,
2109 [data-page
="admin-services-wol"] .notice code
{
2111 font-size-adjust: .35;
2112 line-height: normal
;
2119 background-color: #101010;
2120 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2123 [data-page
="admin-network-diagnostics"] .table
{
2128 input
[name
="traceroute"],
2129 input
[name
="nslookup"] {
2133 /* fix Main Login */
2134 .node-main-login > .main > .main-left {
2138 .node-main-login > .main > .main-right {
2142 .node-main-login > .main fieldset {
2145 margin-bottom: 1rem;
2152 .node-main-login > .main .cbi-value-title {
2156 .node-main-login > .main #maincontent {
2160 .node-main-login > .main .container {
2161 display: inline-block
;
2162 margin-top: 2rem !important
;
2163 padding: 1rem 3.5rem 2rem;
2165 background-color: #fff;
2166 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2169 .node-main-login > .main form > div:last-child {
2173 .node-main-login > .main .cbi-value {
2177 .node-main-login > .main .cbi-value > * {
2178 display: inline-block
!important
;
2181 .node-main-login > .main .cbi-input-text {
2182 width: 100% !important
;
2186 .node-main-login .cbi-section {
2190 @media screen and
(min-height: 585px) {
2191 .node-main-login footer {
2199 .node-status-overview
> .main
fieldset:nth-child
(4) .td:nth-child
(2),
2200 .node-status-processes > .main .table .tr .td:nth-child(3) {
2201 white-space: normal
;
2204 /* fix system reboot */
2205 [data-page
="admin-system-reboot"] p
{
2209 [data-page
="admin-system-reboot"] p
> span
{
2216 #cbi-samba [data-tab
="template"] .cbi-value-field
{
2220 #cbi-samba [data-tab
="template"] .cbi-value-title
{
2222 padding-bottom: .6rem;
2226 .controls > * > .btn:not([aria-label$="page"]) {
2227 flex-grow: initial
!important
;
2231 .controls > #pager > .btn[aria-label$="page"] {
2236 .controls > * > label {
2237 margin-bottom: .2rem;
2240 [data-page
="admin-system-opkg"] div
.btn
{
2243 padding: .3rem .6rem;
2246 [data-page^
="admin-system-admin"]:not
(.node-main-login
) .cbi-map:not
(#cbi-dropbear
),
2247 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2252 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2254 margin-bottom: 1rem;
2259 white-space: normal
!important
;
2260 word-break: break-word
;
2263 .cbi-tabmenu + .cbi-section {
2267 /* wireless overview */
2268 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2269 box-shadow: inset
1px -1px 0 #ddd, inset
-1px -1px 0 #ddd;
2272 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2276 border-top: thin solid
#ddd !important
;
2279 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2280 box-shadow: inset
1px 0 0 #ddd, inset
-1px 0 0 #ddd;
2283 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2284 border-bottom: thin solid
#ddd;
2285 box-shadow: 0 -1px 0 0 #ddd;
2288 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2298 margin: 2rem 2rem 0 0;
2303 #cbi-firewall-redirect table
*,
2304 #cbi-network-switch_vlan table
*,
2305 #cbi-firewall-zone table
* {
2309 #cbi-firewall-redirect table input
[type
="text"],
2310 #cbi-network-switch_vlan table input
[type
="text"],
2311 #cbi-firewall-zone table input
[type
="text"] {
2315 #cbi-firewall-redirect table select
,
2316 #cbi-network-switch_vlan table select
,
2317 #cbi-firewall-zone table select
{
2321 #cbi-network-switch_vlan .th
,
2322 #cbi-network-switch_vlan .td
{
2326 #cbi-firewall-zone .table
,
2327 #cbi-network-switch_vlan .table
{
2331 #cbi-firewall-zone .td
,
2332 #cbi-network-switch_vlan .td
{
2336 /* applyreboot fix */
2337 #applyreboot-container {
2341 #applyreboot-section {
2346 /* openvpn bug fix */
2348 line-height: initial
!important
;
2351 /* custom commands */
2353 width: 24% !important
;
2354 margin: 10px 0 0 10px !important
;
2355 padding: .5rem 1rem;
2356 border-bottom: thin solid
#ccc;
2358 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, .2), 0 1px 2px rgba
(0, 0, 0, .05);
2362 line-height: normal
!important
;
2364 margin: 6px 0 !important
;
2365 white-space: nowrap
;
2366 text-overflow: ellipsis
;
2370 left: auto
!important
;
2379 white-space: nowrap
;
2380 text-overflow: ellipsis
;
2383 .commandbox code:hover {
2386 white-space: normal
;
2389 .commandbox p:first-of-type {
2393 .commandbox p:nth-of-type(2) {
2397 [data-page^
="admin-system-commands"] .panel-title
,
2398 [data-page^
="command-cfg"] .mobile-hide
,
2399 [data-page^
="command-cfg"] .showSide
{
2403 #command-rc-output .alert-message
{
2404 line-height: 1.42857143;
2410 animation: anim-fade-in
1.5s forwards
;
2411 word-break: break-word
;
2415 @keyframes anim-fade-in
{
2422 @media all and
(-ms-high-contrast: none
) {
2423 .main > .main-left > .nav > .slide > .menu::before {
2427 .main > .main-left > .nav > li:last-child::before {
2436 @media screen and
(max-width: 1600px) {
2437 header
> .fill
> .container
> #logo
{
2438 margin: 0 2.5rem 0 .5rem;
2442 width: calc
(0% + 13rem);
2446 width: calc
(100% - 13rem);
2452 padding: .3rem .6rem;
2456 padding: .2rem .6rem;
2466 padding-right: .6rem;
2469 .cbi-value-field
.cbi-dropdown
,
2470 .cbi-value-field
.cbi-input-select
,
2471 .cbi-value input
[type
="text"],
2472 .cbi-value input[type="password"] {
2476 #cbi-firewall-zone .cbi-input-select
{
2480 .cbi-input-textarea {
2484 .node-admin-status > .main fieldset li > a {
2485 padding: .3rem .6rem;
2489 @media screen and
(max-width: 1366px) {
2494 header
> .fill
> .container
{
2501 height: calc
(100% - 3.5rem);
2506 width: calc
(0% + 13rem);
2507 height: calc
(100% - 3.5rem);
2511 width: calc
(100% - 13rem);
2515 .cbi-tabmenu > li > a {
2516 padding: .2rem .5rem;
2521 padding-bottom: 1rem;
2525 font-size: .7rem !important
;
2526 width: 100% !important
;
2529 .table .cbi-input-text {
2533 .cbi-value-field
.cbi-dropdown
,
2534 .cbi-value-field
.cbi-input-select
,
2535 .cbi-value input
[type
="text"],
2536 .cbi-value input[type="password"] {
2540 #cbi-firewall-zone .cbi-input-select
{
2544 .main
> .main-left
> .nav
> li
,
2545 .main
> .main-left
> .nav
> li a
,
2546 .main
> .main-left
> .nav
> .slide
> .menu
,
2547 .main > .main-left > .nav > li > [data-title="Logout"] {
2551 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2559 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2563 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2564 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2565 [data-page
="admin-network-hosts"] .table
,
2566 [data-page
="admin-network-routes"] .table
{
2567 overflow-y: visible
;
2571 width: 32% !important
;
2575 @media screen and
(max-width: 1152px) {
2576 header
> .fill
> .container
> #logo
{
2580 header
> .fill
> .container
> .brand
{
2586 overflow-y: visible
;
2589 .main > .loading > span {
2606 display: inline-flex
;
2607 align-items: center
;
2610 margin-right: .7rem;
2620 background: url
(./icons/menu.svg) no-repeat center
;
2623 body:not
(.logged-in
) .showSide
{
2629 .node-main-login > .main .cbi-value-title {
2635 padding-right: 1rem;
2638 .cbi-value-field
.cbi-dropdown
,
2639 .cbi-value-field
.cbi-input-select
,
2640 .cbi-value input[type="text"] {
2645 .cbi-value input
[type
="password"],
2646 .cbi-value input
[name^
="pw"],
2647 .cbi-value input[data-update="change"]:nth-child(2) {
2648 width: 13rem !important
;
2652 #diag-rc-output > pre
,
2653 #command-rc-output > pre
,
2654 [data-page
="admin-services-wol"] .notice code
{
2662 .Interfaces .table {
2672 flex-direction: row
;
2676 .Overview .table[width="100%"] > .tr {
2681 border-bottom: thin solid
#ddd;
2684 .tr
.placeholder
> .td
,
2685 #cbi-firewall .tr
> .td
,
2686 #cbi-network .tr:nth-child
(2) > .td
,
2687 .cbi-section #wifi_assoclist_table .tr > .td {
2693 display: inline-block
;
2694 align-self: flex-start
;
2696 text-overflow: ellipsis
;
2697 word-wrap: break-word
;
2701 .td input[type="text"] {
2706 .td
[data-dynlist
] > input
,
2707 .td input.cbi-input-password {
2708 width: calc
(100% - 1.5rem);
2711 .td
[data-type
="button"],
2712 .td[data-type="fvalue"] {
2717 .th
.cbi-value-field
,
2718 .td
.cbi-value-field
,
2719 .th
.cbi-section-table-cell
,
2720 .td.cbi-section-table-cell {
2725 .cbi-section-table-row {
2727 flex-direction: row
;
2729 justify-content: space-between
;
2730 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2733 .td
.cbi-value-field
,
2734 .cbi-section-table-cell {
2735 display: inline-block
;
2741 .td.cbi-section-actions {
2742 vertical-align: bottom
;
2746 .tr
.cbi-section-table-titles
,
2747 .tr.cbi-section-table-descr {
2751 .tr
[data-title
]::before
,
2752 .tr.cbi-section-table-titles.named::before {
2756 border-bottom: thin solid rgba
(0, 0, 0, .26);
2757 background: #90c0e0;
2761 [data-page^
="admin-status-realtime"] .td
[id
] {
2765 .td[data-title]::before {
2769 .cbi-button + .cbi-button {
2773 .td
.cbi-section-actions
> * > *,
2774 .td.cbi-section-actions > * > form > * {
2779 position: static
!important
;
2782 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2785 .Firewall form input {
2786 width: 100% !important
;
2792 .Firewall .center::before {
2793 text-align: left
!important
;
2797 width: 100% !important
;
2798 margin-left: 0 !important
;
2802 @media screen and
(max-width: 600px) {
2807 .cbi-progressbar::after {
2821 #maincontent > .container
{
2822 margin: 0 1rem 1.5rem 1rem;
2825 .main
> .main-left
> .nav
> .slide
> .menu
,
2826 .main > .main-left > .nav > li > [data-title="Logout"] {
2830 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2836 min-width: 0 !important
;
2842 .cbi-value-description
,
2844 .cbi-value-field
.cbi-dropdown
,
2845 .cbi-value-field
.cbi-input-select
,
2846 .cbi-value input[type="text"] {
2850 .cbi-value > .cbi-value-field {
2851 display: inline-block
;
2855 .cbi-tabmenu > li > a {
2857 padding: .2rem .3rem;
2860 .cbi-page-actions > div > input {
2864 .cbi-page-actions > .cbi-button {
2868 .node-main-login > .main .container {
2869 margin: 2rem 1.2rem 1.5rem 1.2rem !important
;
2870 padding: .3rem 1.7rem 2rem 1.6rem;
2873 .node-main-login > .main .cbi-value {
2877 .node-main-login > .main form > div:last-child {
2881 .node-main-login > .main .cbi-value-title {
2883 width: 100% !important
;
2886 .node-main-login > .main fieldset {
2891 .commandbox p:first-of-type {
2896 #diag-rc-output > pre
,
2897 #command-rc-output > pre
,
2898 [data-page
="admin-services-wol"] .notice code
{
2899 font-size: .8rem !important
;
2925 padding-bottom: 1rem;
2928 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2929 width: 100% !important
;
2932 .node-system-packages > .main .cbi-value .cbi-value-field input {
2941 .td.cbi-value-field {
2945 .td
.cbi-value-field
[data-type
="button"],
2946 .td.cbi-value-field[data-type="fvalue"] {
2951 .tr
[data-title
]::before
,
2952 .tr.cbi-section-table-titles.named::before {
2961 #cbi-wireless > #wifi_assoclist_table
.td
{
2965 #cbi-wireless > .cbi-section-node
.td
,
2966 .Interfaces .td.cbi-section-actions {
2967 text-align: center
!important
;
2970 [data-page
="admin-status-processes"] .td
[data-title
="Hang Up"]::before
,
2971 [data-page
="admin-status-processes"] .td
[data-title
="Terminate"]::before
,
2972 [data-page
="admin-status-processes"] .td
[data-title
="Kill"]::before
{
2977 .hide-xs:not([data-title="MAC-Address"]) {
2982 @media screen and
(min-width: 600px) {
2983 ::-webkit-scrollbar
{
2988 ::-webkit-scrollbar
,
2989 ::-webkit-scrollbar-corner
{
2990 background: transparent
;
2993 ::-webkit-scrollbar-thumb
{
2994 background: #9e9e9e;
2997 ::-webkit-scrollbar-thumb:hover
{
2998 background: #757575;
3001 ::-webkit-scrollbar-thumb:active
{
3002 background: #424242;