Move is-changed to control

This commit is contained in:
MattIPv4
2020-04-30 17:01:21 +01:00
parent 969d610831
commit 8e97e8d4f2
5 changed files with 68 additions and 66 deletions

View File

@@ -96,6 +96,27 @@ $highlight: #f2c94c;
}
}
.is-changed {
input {
&,
&:focus {
background: rgba($highlight, .35);
}
}
.checkbox,
.radio,
.text {
background: rgba($highlight, .35);
}
label {
&.text {
padding: .25rem .5rem;
}
}
}
label {
@include sailec-medium;
@@ -131,27 +152,6 @@ $highlight: #f2c94c;
}
}
.is-changed {
input {
&,
&:focus {
background: rgba($highlight, .35);
}
}
.checkbox,
.radio,
.text {
background: rgba($highlight, .35);
}
label {
&.text {
padding: .25rem .5rem;
}
}
}
.checkbox,
.radio {
border-radius: $border-radius;