|
|
|
|
@ -230,11 +230,11 @@ label:has(input[type="checkbox"]:focus-visible)::before {
|
|
|
|
|
/* The check box background */
|
|
|
|
|
label:has(input[type="checkbox"])::before {
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
background: var(--radio-background);
|
|
|
|
|
background: var(--radio-checkbox-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label:has(input[type="checkbox"]):hover:before {
|
|
|
|
|
background: var(--radio-hover-background);
|
|
|
|
|
background: var(--radio-checkbox-hover-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes checkbox-checked {
|
|
|
|
|
@ -250,7 +250,7 @@ label:has(input[type="checkbox"])::after {
|
|
|
|
|
mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ctitle%3echeck-bold%3c/title%3e%3cpath d='M9%2c20.42L2.79%2c14.21L5.62%2c11.38L9%2c14.77L18.88%2c4.88L21.71%2c7.71L9%2c20.42Z' /%3e%3c/svg%3e");
|
|
|
|
|
mask-position: center center;
|
|
|
|
|
mask-size: .95em;
|
|
|
|
|
background-color: var(--radio-indicator-color);
|
|
|
|
|
background-color: var(--radio-checkbox-indicator-color);
|
|
|
|
|
transform: scale(0);
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: transform 300ms ease-out,
|
|
|
|
|
@ -273,11 +273,11 @@ label:has(input[type="radio"])::after {
|
|
|
|
|
|
|
|
|
|
/* The outer circle */
|
|
|
|
|
label:has(input[type="radio"])::before {
|
|
|
|
|
background: var(--radio-background);
|
|
|
|
|
background: var(--radio-checkbox-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label:has(input[type="radio"]:hover)::before {
|
|
|
|
|
background: var(--radio-hover-background);
|
|
|
|
|
background: var(--radio-checkbox-hover-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* The inner circle */
|
|
|
|
|
@ -288,7 +288,7 @@ label:has(input[type="radio"])::after {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label:has(input[type="radio"]:checked)::after {
|
|
|
|
|
background: var(--radio-indicator-color);
|
|
|
|
|
background: var(--radio-checkbox-indicator-color);
|
|
|
|
|
transform: scale(.5);
|
|
|
|
|
transition: transform 150ms ease-in;
|
|
|
|
|
}
|