mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 02:34:43 +08:00
style: change label text color when checkbox is disabled
This commit is contained in:
parent
e1510b86ea
commit
92a05f171c
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ input[type="checkbox"] {
|
|||
}
|
||||
}
|
||||
|
||||
label:has(input[type="checkbox"][disabled]) {
|
||||
color: color-mix(in srgb, transparent 66%, var(--text-color));
|
||||
}
|
||||
|
||||
input[type="color"] {
|
||||
height: 3px; //i dont know why its 3, but safari gods have spoken - 3 makes it work
|
||||
opacity: 0;
|
||||
|
|
Loading…
Reference in a new issue