update Switch style

This commit is contained in:
梁灏 2018-11-02 10:16:41 +08:00
parent 3936eb5260
commit 1c35a44d39

View file

@ -153,16 +153,15 @@
&-disabled {
cursor: @cursor-disabled;
background: #f3f3f3;
border-color: #f3f3f3;
opacity: .4;
&:after {
background: #ccc;
background: #fff;
cursor: not-allowed;
}
.@{switch-prefix-cls}-inner {
color: #ccc;
color: #fff;
}
}