mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-09-01 13:49:45 +08:00
* fix: Tabbar icon line-height * [new feature] progress add showPivot prop * [new feature] TabItem support vue-router * [new feature] update document header style * [Doc] add toast english ducoment * [bugfix] Search box-sizing wrong * [Doc] update vant-demo respo * [Doc] translate theme & demo pages * [Doc] add Internationalization document * [bugfix] remove unnecessary props * [fix] optimize clickoutside * [new feature] optimize find-parent * [new feature]: change document title accordinng to language * [new feature] Pagination code review * [improvement] adjust icon-font unicode * [improvement] Icon spinner color inherit * [improvement] icon default width * [bugfix] DateTimePicker validate date props * [bugfix] Tab item text ellipsis * [improvement] optimize single line ellipsis
48 lines
638 B
CSS
48 lines
638 B
CSS
@import "./common/var.css";
|
|
|
|
$van-radio-size: 20px;
|
|
|
|
.van-radio {
|
|
overflow: hidden;
|
|
|
|
&__input {
|
|
position: relative;
|
|
height: $van-radio-size;
|
|
float: left;
|
|
}
|
|
|
|
&__control {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: $van-radio-size;
|
|
height: $van-radio-size;
|
|
opacity: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
&__label {
|
|
line-height: $van-radio-size;
|
|
display: block;
|
|
margin-left: 37px;
|
|
}
|
|
|
|
.van-icon {
|
|
font-size: $van-radio-size;
|
|
}
|
|
|
|
.van-icon-checked {
|
|
color: $green;
|
|
}
|
|
|
|
.van-icon-check {
|
|
color: $gray-dark;
|
|
}
|
|
|
|
&--disabled {
|
|
.van-icon {
|
|
color: #d1dbe5;
|
|
}
|
|
}
|
|
}
|