Commit babf111121bce1afa5a141636720e154a640217b
1 parent
0185d136
将直接填写颜色的地方修改成变量,修改hover bug
Showing
2 changed files
with
9 additions
and
9 deletions
Show diff stats
src/styles/components/button.less
... | ... | @@ -162,8 +162,8 @@ |
162 | 162 | color: #333; |
163 | 163 | border-color: @border-color-base; |
164 | 164 | &:hover { |
165 | - color: #3fcdc0; | |
166 | - border-color: #3fcdc0; | |
165 | + color: #333; | |
166 | + border-color: @search-hover-color; | |
167 | 167 | } |
168 | 168 | } |
169 | 169 | &-ghost&-primary{ |
... | ... | @@ -206,7 +206,7 @@ |
206 | 206 | color: #fff; |
207 | 207 | &:hover{ |
208 | 208 | color: #fff; |
209 | - background: #15bcad; | |
209 | + background: @search-hover-color; | |
210 | 210 | } |
211 | 211 | } |
212 | 212 | |
... | ... | @@ -214,7 +214,7 @@ |
214 | 214 | color: #fff; |
215 | 215 | &:hover { |
216 | 216 | color: #fff; |
217 | - background: #ff903a; | |
217 | + background: @confirm-hover-color; | |
218 | 218 | } |
219 | 219 | } |
220 | 220 | |
... | ... | @@ -222,8 +222,8 @@ |
222 | 222 | color: #333; |
223 | 223 | border-color: @border-color-base; |
224 | 224 | &:hover { |
225 | - color: #ff9a4c; | |
226 | - border-color: #ff903a; | |
225 | + color: #fff; | |
226 | + border-color: @confirm-hover-color; | |
227 | 227 | } |
228 | 228 | } |
229 | 229 | |
... | ... | @@ -231,8 +231,8 @@ |
231 | 231 | color: #333; |
232 | 232 | border-color: @border-color-base; |
233 | 233 | &:hover { |
234 | - color: #15bcad; | |
235 | - border-color: #15bcad; | |
234 | + color: #fff; | |
235 | + border-color: @reset-hover-color; | |
236 | 236 | } |
237 | 237 | } |
238 | 238 | ... | ... |
src/styles/mixins/button.less