mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-25 07:49:15 +08:00
[bugfix] AddressList: radio style (#2669)
This commit is contained in:
parent
3958a42484
commit
ed8a294fe2
@ -36,16 +36,24 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.van-radio__input {
|
.van-radio__icon {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 0;
|
left: 0;
|
||||||
font-size: 16px;
|
height: 16px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
line-height: 16px;
|
||||||
transform: translate(0, -50%);
|
transform: translate(0, -50%);
|
||||||
|
|
||||||
|
.van-icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.van-icon-checked {
|
.van-radio__icon--checked .van-icon {
|
||||||
color: @red;
|
border-color: @red;
|
||||||
|
background-color: @red;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__name {
|
&__name {
|
||||||
@ -62,10 +70,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--unswitchable {
|
&--unswitchable {
|
||||||
.van-radio__input {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.van-radio__label {
|
.van-radio__label {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user