mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-09 05:59:45 +08:00
* fix: loading small style, search style and dialog style * fix: scroll to top * fix mobile scroll * fix scroll to top * 文档细节优化 * unit test * dialog and image-preview unit test * fix form component style * fix radio and checkbox style * fix search component style
52 lines
825 B
CSS
52 lines
825 B
CSS
@import './common/var.css';
|
|
|
|
@component-namespace van {
|
|
@b checkbox {
|
|
overflow: hidden;
|
|
|
|
@m disabled {
|
|
.van-icon {
|
|
color: #d1dbe5;
|
|
}
|
|
}
|
|
|
|
@e input {
|
|
position: relative;
|
|
height: 22px;
|
|
margin-right: 15px;
|
|
float: left;
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
@e control {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 22px;
|
|
height: 22px;
|
|
opacity: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
@e label {
|
|
line-height: 22px;
|
|
margin-left: 37px;
|
|
display: block;
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
.van-icon {
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.van-icon-checked {
|
|
color: $c-green;
|
|
}
|
|
|
|
.van-icon-check {
|
|
color: $c-gray-dark;
|
|
}
|
|
}
|
|
}
|