refactor: improve checkbox style
This commit is contained in:
parent
ce81f5d59c
commit
a99b08aea5
1 changed files with 13 additions and 4 deletions
|
@ -4,10 +4,19 @@ input[type="checkbox"] {
|
|||
height: 13px;
|
||||
}
|
||||
|
||||
input[type="checkbox"][disabled][checked] {
|
||||
filter: invert(100%) brightness(5);
|
||||
:not(.dark) {
|
||||
input[type="checkbox"][disabled] {
|
||||
filter: invert(20%);
|
||||
}
|
||||
|
||||
input[type="checkbox"][disabled][checked] {
|
||||
filter: invert(97%) brightness(2);
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"][disabled] {
|
||||
:is(.dark) {
|
||||
input[type="checkbox"][disabled],
|
||||
input[type="checkbox"][disabled][checked] {
|
||||
filter: invert(100%) brightness(5);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue