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;
|
color: transparent;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
transition: .2s;
|
||||||
|
|
||||||
&--round {
|
&--round {
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
@ -29,8 +30,8 @@
|
|||||||
|
|
||||||
&--checked {
|
&--checked {
|
||||||
color: @white;
|
color: @white;
|
||||||
border-color: @green;
|
border-color: @blue;
|
||||||
background-color: @green;
|
background-color: @blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--disabled {
|
&--disabled {
|
||||||
@ -52,5 +53,9 @@
|
|||||||
margin: 0 10px 0 0;
|
margin: 0 10px 0 0;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:empty {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user