feat: Inverse le design des checkbox
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2023-06-05 17:39:12 +02:00
parent f26a7b0c21
commit 7cce542804
1 changed files with 2 additions and 2 deletions

View File

@ -291,9 +291,9 @@ legend
height: calc(1rem - 6px) height: calc(1rem - 6px)
&:checked + label &:checked + label
text-shadow: -0.06ex 0 0 currentColor, 0.06ex 0 0 currentColor text-shadow: -0.06ex 0 0 currentColor, 0.06ex 0 0 currentColor
&:checked + label::before &:not(:checked) + label::before
background-color: var(--color-green) background-color: var(--color-green)
&:checked + label::after &:not(:checked) + label::after
background-color: white background-color: white
.main .main