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

View File

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