Compare View
Commits (5)
Showing
4 changed files
Show diff stats
src/styles/components/button.less
... | ... | @@ -156,8 +156,16 @@ |
156 | 156 | color: #fff; |
157 | 157 | border-color: #fff; |
158 | 158 | &:hover{ |
159 | - color: tint(@primary-color, 20%); | |
160 | - border-color: tint(@primary-color, 20%); | |
159 | + color: tint(@search-color, 20%); | |
160 | + border-color: tint(@search-color, 20%); | |
161 | + } | |
162 | + } | |
163 | + &-default { | |
164 | + color: #333; | |
165 | + border-color: @border-color-base; | |
166 | + &:hover { | |
167 | + color: #333; | |
168 | + border-color: @search-hover-color; | |
161 | 169 | } |
162 | 170 | } |
163 | 171 | &-ghost&-primary{ |
... | ... | @@ -201,7 +209,7 @@ |
201 | 209 | color: #fff; |
202 | 210 | &:hover{ |
203 | 211 | color: #fff; |
204 | - background: #15bcad; | |
212 | + background: @search-hover-color; | |
205 | 213 | } |
206 | 214 | } |
207 | 215 | |
... | ... | @@ -209,7 +217,7 @@ |
209 | 217 | color: #fff; |
210 | 218 | &:hover { |
211 | 219 | color: #fff; |
212 | - background: #ff903a; | |
220 | + background: @confirm-hover-color; | |
213 | 221 | } |
214 | 222 | } |
215 | 223 | |
... | ... | @@ -217,8 +225,8 @@ |
217 | 225 | color: #333; |
218 | 226 | border-color: @border-color-base; |
219 | 227 | &:hover { |
220 | - color: #ff9a4c; | |
221 | - border-color: #ff903a; | |
228 | + color: @confirm-hover-color; | |
229 | + border-color: @confirm-hover-color; | |
222 | 230 | } |
223 | 231 | } |
224 | 232 | |
... | ... | @@ -226,8 +234,8 @@ |
226 | 234 | color: #333; |
227 | 235 | border-color: @border-color-base; |
228 | 236 | &:hover { |
229 | - color: #15bcad; | |
230 | - border-color: #15bcad; | |
237 | + color: @reset-hover-color; | |
238 | + border-color: @reset-hover-color; | |
231 | 239 | } |
232 | 240 | } |
233 | 241 | ... | ... |
src/styles/components/tabs.less
src/styles/custom.less
... | ... | @@ -91,7 +91,7 @@ |
91 | 91 | @btn-font-size-large : 14px; |
92 | 92 | @btn-border-radius : 4px; |
93 | 93 | @btn-border-radius-small: 3px; |
94 | -@btn-group-border : shade(@primary-color, 5%); | |
94 | +@btn-group-border : shade(@mew-common-color, 5%); | |
95 | 95 | |
96 | 96 | @btn-disable-color : #c5c8ce; |
97 | 97 | @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-hover-color, 20%); white; tint(@search-hover-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 | ... | ... |