add disabled styling for switch

This commit is contained in:
Jiiks 2018-01-22 22:00:12 +02:00
parent 90b9efe5ba
commit db874b6218
1 changed files with 10 additions and 0 deletions

View File

@ -217,4 +217,14 @@
.bd-setting-switch + .bd-form-divider { .bd-setting-switch + .bd-form-divider {
margin: 0 0 10px 0; margin: 0 0 10px 0;
}
.bd-seting-switch.bd-disabled {
input {
cursor: not-allowed;
}
.bd-switch:before {
background: #888888;
}
} }