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,8 +154,16 @@ | ||
| 154 | color: #fff; | 154 | color: #fff; |
| 155 | border-color: #fff; | 155 | border-color: #fff; |
| 156 | &:hover{ | 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 | &-ghost&-primary{ | 169 | &-ghost&-primary{ |
src/styles/components/tabs.less
| @@ -198,7 +198,7 @@ | @@ -198,7 +198,7 @@ | ||
| 198 | background: #fff; | 198 | background: #fff; |
| 199 | transform: translateZ(0); | 199 | transform: translateZ(0); |
| 200 | border-color: @border-color-base; | 200 | border-color: @border-color-base; |
| 201 | - color: @primary-color; | 201 | + color: @mew-common-color; |
| 202 | } | 202 | } |
| 203 | &&-card > &-bar &-nav-wrap { | 203 | &&-card > &-bar &-nav-wrap { |
| 204 | margin-bottom: 0; | 204 | margin-bottom: 0; |
src/styles/custom.less
| @@ -89,7 +89,7 @@ | @@ -89,7 +89,7 @@ | ||
| 89 | @btn-font-size-large : 14px; | 89 | @btn-font-size-large : 14px; |
| 90 | @btn-border-radius : 4px; | 90 | @btn-border-radius : 4px; |
| 91 | @btn-border-radius-small: 3px; | 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 | @btn-disable-color : #c5c8ce; | 94 | @btn-disable-color : #c5c8ce; |
| 95 | @btn-disable-bg : @background-color-base; | 95 | @btn-disable-bg : @background-color-base; |
src/styles/mixins/button.less
| @@ -206,13 +206,13 @@ | @@ -206,13 +206,13 @@ | ||
| 206 | &:hover | 206 | &:hover |
| 207 | //&:focus | 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 | &:active, | 211 | &:active, |
| 212 | &.active { | 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 | // Primary | 218 | // Primary |