仿互站小程序
This commit is contained in:
65
vant/checkbox/index.wxss
Normal file
65
vant/checkbox/index.wxss
Normal file
@@ -0,0 +1,65 @@
|
||||
@import "../area/index.wxss";
|
||||
|
||||
.van-checkbox {
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.van-checkbox__icon-wrap,.van-checkbox__label {
|
||||
display: inline-block;
|
||||
line-height: 18px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.van-checkbox__icon {
|
||||
border-radius: 2px;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: transparent;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #e5e5e5;
|
||||
transition: .2s;
|
||||
}
|
||||
|
||||
.van-checkbox__icon--round {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.van-checkbox__icon--checked {
|
||||
color: #fff;
|
||||
border-color: #5FB878;
|
||||
color: #5FB878;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.van-checkbox__icon--disabled {
|
||||
border-color: #c9c9c9;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.van-checkbox__icon--disabled.van-checkbox__icon--checked {
|
||||
color: #c9c9c9;
|
||||
}
|
||||
|
||||
.van-checkbox__label {
|
||||
color: #333;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.van-checkbox__label--left {
|
||||
float: left;
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
|
||||
.van-checkbox__label--disabled {
|
||||
color: #c9c9c9;
|
||||
}
|
||||
|
||||
.van-checkbox__label:empty {
|
||||
margin: 0;
|
||||
}
|
Reference in New Issue
Block a user