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 { &-disabled {
cursor: @cursor-disabled; cursor: @cursor-disabled;
background: #f3f3f3; opacity: .4;
border-color: #f3f3f3;
&:after { &:after {
background: #ccc; background: #fff;
cursor: not-allowed; cursor: not-allowed;
} }
.@{switch-prefix-cls}-inner { .@{switch-prefix-cls}-inner {
color: #ccc; color: #fff;
} }
} }