Add different appearance for disabled fields

This commit is contained in:
Alice Gaudon 2020-04-25 09:39:59 +02:00
parent 8332c439ad
commit e75a7536c7
1 changed files with 9 additions and 0 deletions

View File

@ -179,6 +179,15 @@ form {
cursor: text;
}
[disabled] {
opacity: 0.5;
& ~ label {
opacity: 0.5;
cursor: default;
}
}
input, select, .input-group {
border: 0;
border-bottom: 2px solid #0008;