style: lighten text colour of disabled radio items (#50036)

This commit is contained in:
Frédéric Péters 2021-01-11 14:11:58 +01:00
parent c1146c167c
commit 967c67f9fa
1 changed files with 6 additions and 0 deletions

View File

@ -212,6 +212,12 @@ input[type="radio"]:focus, input[type="checkbox"]:focus {
box-shadow: none;
}
label input[type="radio"], label input[type="checkbox"] {
&[disabled] + span {
color: lighten($font-color, 30%);
}
}
input[readonly], select[readonly], textarea[readonly] {
border-width: 0 0 1px 0;
}