Merge pull request #4762 from Baoyx007/patch-7

style (switch):  change color in disabled&&true status
This commit is contained in:
Aresn 2018-11-02 10:09:57 +08:00 committed by GitHub
commit 3936eb5260
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -166,6 +166,20 @@
}
}
&-disabled&-checked{
border-color: @primary-color;
background-color: @primary-color;
opacity: .4;
&:after {
background: #fff;
}
.@{switch-prefix-cls}-inner {
color: #fff;
}
}
}
@keyframes switch-loading {
@ -175,4 +189,4 @@
100% {
transform: rotate(360deg);
}
}
}