make distinction between selected, unselected and disabled radio buttons clearer

This commit is contained in:
Alexej Rotar 2023-11-20 18:12:46 +01:00
parent 2fca260bfe
commit 2f34ca8637

View file

@ -112,8 +112,8 @@
&:checked {
+ .form-input > label {
font-weight: typography.$emphasized-weight;
color: colors.$teal-800;
border-color: colors.$teal-800;
color: colors.$gray-50;
background-color: colors.$gray-600;
@include colors.coderdojo-theme {
color: colors.$orange-500;
@ -121,6 +121,7 @@
&::before {
opacity: 1;
color: colors.$gray-600;
}
}
}
@ -130,10 +131,13 @@
}
&:disabled + .form-input > label {
background-color: colors.$gray-300;
color: colors.$gray-600;
border-color: colors.$gray-600;
border: 1px solid colors.$gray-300;
&:hover {
cursor: default;
background-color: colors.$gray-50;
}
}
}