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 | 17 | cursor: pointer; |
| 18 | 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 | 26 | &-dot{ |
| 21 | 27 | height: 32px; |
| 22 | 28 | line-height: 32px; |
| ... | ... | @@ -190,4 +196,4 @@ |
| 190 | 196 | { |
| 191 | 197 | background: @error-color; |
| 192 | 198 | } |
| 193 | 199 | -} |
| 200 | +} | |
| 194 | 201 | \ No newline at end of file | ... | ... |