luci-theme-openwrt-2020: disabled widget style tweaks
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
46d31efc73
commit
52486e5862
1 changed files with 16 additions and 1 deletions
|
@ -153,6 +153,12 @@ body {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#mainmenu:empty {
|
||||||
|
max-width: 0;
|
||||||
|
padding: 1em 0;
|
||||||
|
transition: all .2s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
#mainmenu > div {
|
#mainmenu > div {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 1em;
|
top: 1em;
|
||||||
|
@ -976,6 +982,10 @@ button[disabled], button.disabled, .btn[disabled], .btn.disabled {
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cbi-checkbox input[type="checkbox"][disabled] {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
input:not([type]),
|
input:not([type]),
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
|
@ -1002,7 +1012,8 @@ select:focus,
|
||||||
input[disabled]:not([type]),
|
input[disabled]:not([type]),
|
||||||
input[disabled][type="text"],
|
input[disabled][type="text"],
|
||||||
input[disabled][type="password"],
|
input[disabled][type="password"],
|
||||||
select[disabled] {
|
select[disabled],
|
||||||
|
.cbi-dynlist[disabled] {
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
@ -1149,6 +1160,10 @@ textarea {
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cbi-dynlist[disabled] > .item::after {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.cbi-dynlist > .item:hover {
|
.cbi-dynlist > .item:hover {
|
||||||
box-shadow: 0 0 2px var(--main-bright-color);
|
box-shadow: 0 0 2px var(--main-bright-color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue