Commit 6261a49dfdf8b273b621ed9ce87f74d3b2b75a6f
Committed by
GitHub
Merge pull request #2171 from iview/pr/2124
update Tag style for check
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
src/styles/components/tag.less
| @@ -17,6 +17,12 @@ | @@ -17,6 +17,12 @@ | ||
| 17 | cursor: pointer; | 17 | cursor: pointer; |
| 18 | //transition: all @transition-time @ease-in-out; | 18 | //transition: all @transition-time @ease-in-out; |
| 19 | 19 | ||
| 20 | + // for color and unchecked | ||
| 21 | + &:not(&-border):not(&-dot):not(&-checked){ | ||
| 22 | + background: transparent; | ||
| 23 | + border: 0; | ||
| 24 | + } | ||
| 25 | + | ||
| 20 | &-dot{ | 26 | &-dot{ |
| 21 | height: 32px; | 27 | height: 32px; |
| 22 | line-height: 32px; | 28 | line-height: 32px; |
| @@ -190,4 +196,4 @@ | @@ -190,4 +196,4 @@ | ||
| 190 | { | 196 | { |
| 191 | background: @error-color; | 197 | background: @error-color; |
| 192 | } | 198 | } |
| 193 | -} | 199 | -} |
| 200 | +} | ||
| 194 | \ No newline at end of file | 201 | \ No newline at end of file |