Skip to content

Commit

Permalink
Fade out disabled and unchecked numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Sep 28, 2024
1 parent 8c8f58a commit 2c4114e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/qwixx/NumbersInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
opacity: 0.5;
}
input:disabled:not(:checked) + label {
opacity: 0.5;
}
input:nth-last-of-type(-n + 2):disabled + label {
opacity: 0.5;
}
Expand Down

0 comments on commit 2c4114e

Please sign in to comment.