style: change label text color when checkbox is disabled

This commit is contained in:
Miodec 2024-06-16 23:08:44 +02:00
parent e1510b86ea
commit 92a05f171c

View file

@ -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;