From 1c35a44d39050bacd50deea61151b16c2e364c08 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Fri, 2 Nov 2018 10:16:41 +0800 Subject: [PATCH] update Switch style --- src/styles/components/switch.less | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/styles/components/switch.less b/src/styles/components/switch.less index ec08879..172b556 100644 --- a/src/styles/components/switch.less +++ b/src/styles/components/switch.less @@ -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; } } -- libgit2 0.21.4