Commit 7a6c87f8c1aa34a7a00506fb89fb231e3a176f6f
1 parent
68ceb287
fix(button): fix button style error close #312
Showing
3 changed files
with
9 additions
and
4 deletions
CHANGELOG.zh_CN.md
src/design/ant/btn.less
... | ... | @@ -14,6 +14,11 @@ |
14 | 14 | // bottom: 1px; |
15 | 15 | // } |
16 | 16 | // } |
17 | + &-link:hover, | |
18 | + &-link:focus, | |
19 | + &-link:active { | |
20 | + border-color: transparent !important; | |
21 | + } | |
17 | 22 | |
18 | 23 | &-primary { |
19 | 24 | color: @white; |
... | ... | @@ -70,6 +75,7 @@ |
70 | 75 | &:hover, |
71 | 76 | &:focus { |
72 | 77 | color: @button-success-hover-color; |
78 | + border-color: transparent; | |
73 | 79 | } |
74 | 80 | } |
75 | 81 | |
... | ... | @@ -111,6 +117,7 @@ |
111 | 117 | &:hover, |
112 | 118 | &:focus { |
113 | 119 | color: @button-warn-hover-color; |
120 | + border-color: transparent; | |
114 | 121 | } |
115 | 122 | } |
116 | 123 | |
... | ... | @@ -144,6 +151,7 @@ |
144 | 151 | &:hover, |
145 | 152 | &:focus { |
146 | 153 | color: @button-error-hover-color; |
154 | + border-color: transparent; | |
147 | 155 | } |
148 | 156 | } |
149 | 157 | |
... | ... | @@ -165,9 +173,6 @@ |
165 | 173 | color: @white; |
166 | 174 | background-color: fade(@button-error-color, 40%); |
167 | 175 | border-color: fade(@button-error-color, 40%); |
168 | - | |
169 | - // background-color: @button-error-disabled-color; | |
170 | - // border-color: @button-error-disabled-color ; | |
171 | 176 | } |
172 | 177 | } |
173 | 178 | ... | ... |