Commit 0185d136ec367f746e6a71216d598066fb46ce1b
1 parent
28e7adb7
fix
Showing
4 changed files
with
15 additions
and
7 deletions
Show diff stats
src/styles/components/button.less
... | ... | @@ -154,8 +154,16 @@ |
154 | 154 | color: #fff; |
155 | 155 | border-color: #fff; |
156 | 156 | &:hover{ |
157 | - color: tint(@primary-color, 20%); | |
158 | - border-color: tint(@primary-color, 20%); | |
157 | + color: tint(@search-color, 20%); | |
158 | + border-color: tint(@search-color, 20%); | |
159 | + } | |
160 | + } | |
161 | + &-default { | |
162 | + color: #333; | |
163 | + border-color: @border-color-base; | |
164 | + &:hover { | |
165 | + color: #3fcdc0; | |
166 | + border-color: #3fcdc0; | |
159 | 167 | } |
160 | 168 | } |
161 | 169 | &-ghost&-primary{ | ... | ... |
src/styles/components/tabs.less
src/styles/custom.less
... | ... | @@ -89,7 +89,7 @@ |
89 | 89 | @btn-font-size-large : 14px; |
90 | 90 | @btn-border-radius : 4px; |
91 | 91 | @btn-border-radius-small: 3px; |
92 | -@btn-group-border : shade(@primary-color, 5%); | |
92 | +@btn-group-border : shade(@mew-common-color, 5%); | |
93 | 93 | |
94 | 94 | @btn-disable-color : #c5c8ce; |
95 | 95 | @btn-disable-bg : @background-color-base; | ... | ... |
src/styles/mixins/button.less
... | ... | @@ -206,13 +206,13 @@ |
206 | 206 | &:hover |
207 | 207 | //&:focus |
208 | 208 | { |
209 | - .button-color(tint(@primary-color, 20%); white; tint(@primary-color, 20%)); | |
209 | + .button-color(tint(@search-color, 20%); white; tint(@search-color, 20%)); | |
210 | 210 | } |
211 | 211 | &:active, |
212 | 212 | &.active { |
213 | - .button-color(shade(@primary-color, 5%); white; shade(@primary-color, 5%)); | |
213 | + .button-color(shade(@search-color, 5%); white; shade(@search-color, 5%)); | |
214 | 214 | } |
215 | - .active-btn-color(@primary-color); | |
215 | + .active-btn-color(@search-color); | |
216 | 216 | } |
217 | 217 | |
218 | 218 | // Primary | ... | ... |