mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] Checkbox: update style (#848)
This commit is contained in:
parent
e56f0ab126
commit
bc2b5ef02e
@ -22,6 +22,7 @@
|
||||
color: transparent;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
transition: .2s;
|
||||
|
||||
&--round {
|
||||
border-radius: 100%;
|
||||
@ -29,8 +30,8 @@
|
||||
|
||||
&--checked {
|
||||
color: @white;
|
||||
border-color: @green;
|
||||
background-color: @green;
|
||||
border-color: @blue;
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
&--disabled {
|
||||
@ -52,5 +53,9 @@
|
||||
margin: 0 10px 0 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
&:empty {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user