mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
make distinction between selected, unselected and disabled radio buttons clearer
This commit is contained in:
parent
2fca260bfe
commit
2f34ca8637
1 changed files with 7 additions and 3 deletions
|
|
@ -112,8 +112,8 @@
|
||||||
&:checked {
|
&:checked {
|
||||||
+ .form-input > label {
|
+ .form-input > label {
|
||||||
font-weight: typography.$emphasized-weight;
|
font-weight: typography.$emphasized-weight;
|
||||||
color: colors.$teal-800;
|
color: colors.$gray-50;
|
||||||
border-color: colors.$teal-800;
|
background-color: colors.$gray-600;
|
||||||
|
|
||||||
@include colors.coderdojo-theme {
|
@include colors.coderdojo-theme {
|
||||||
color: colors.$orange-500;
|
color: colors.$orange-500;
|
||||||
|
|
@ -121,6 +121,7 @@
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
color: colors.$gray-600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -130,10 +131,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled + .form-input > label {
|
&: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 {
|
&:hover {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
background-color: colors.$gray-50;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue