[improvement] Checkbox: update style (#2018)

This commit is contained in:
neverland
2018-11-02 14:37:51 +08:00
committed by GitHub
parent fc8937aa26
commit 7e07def544
2 changed files with 5 additions and 4 deletions

View File

@@ -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;
}
}