Add transition between default/changed state on setting dividers

This commit is contained in:
Samuel Elliott 2018-02-19 18:13:02 +00:00
parent 9f6394eae3
commit 8419bc51c1
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 6 additions and 3 deletions

View File

@ -43,14 +43,17 @@
font-size: 12px; font-size: 12px;
} }
.bd-form-item-changed .bd-form-divider {
background: $colok;
}
.bd-form-divider { .bd-form-divider {
height: 1px; height: 1px;
margin: 15px 0; margin: 15px 0;
background: hsla(218,5%,47%,.3); background: hsla(218,5%,47%,.3);
transition: background-color 0.2s ease;
.bd-form-item-changed > & {
background: $colok;
}
} }
.bd-form-warning { .bd-form-warning {