Commit 1c35a44d39050bacd50deea61151b16c2e364c08
1 parent
3936eb52
update Switch style
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
src/styles/components/switch.less
@@ -153,16 +153,15 @@ | @@ -153,16 +153,15 @@ | ||
153 | 153 | ||
154 | &-disabled { | 154 | &-disabled { |
155 | cursor: @cursor-disabled; | 155 | cursor: @cursor-disabled; |
156 | - background: #f3f3f3; | ||
157 | - border-color: #f3f3f3; | 156 | + opacity: .4; |
158 | 157 | ||
159 | &:after { | 158 | &:after { |
160 | - background: #ccc; | 159 | + background: #fff; |
161 | cursor: not-allowed; | 160 | cursor: not-allowed; |
162 | } | 161 | } |
163 | 162 | ||
164 | .@{switch-prefix-cls}-inner { | 163 | .@{switch-prefix-cls}-inner { |
165 | - color: #ccc; | 164 | + color: #fff; |
166 | } | 165 | } |
167 | } | 166 | } |
168 | 167 |