mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] Checkbox: update style (#2018)
This commit is contained in:
@@ -23,6 +23,7 @@ $van-checkbox-size: 20px;
|
||||
width: $van-checkbox-size;
|
||||
height: $van-checkbox-size;
|
||||
box-sizing: border-box;
|
||||
transition: .2s;
|
||||
}
|
||||
|
||||
&--round {
|
||||
@@ -34,8 +35,8 @@ $van-checkbox-size: 20px;
|
||||
&--checked {
|
||||
.van-icon {
|
||||
color: $white;
|
||||
border-color: $green;
|
||||
background-color: $green;
|
||||
border-color: $blue;
|
||||
background-color: $blue;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user