vant-weapp/packages/rate/index.less
2019-09-05 16:17:51 +08:00

26 lines
403 B
Plaintext

@import '../common/style/var.less';
.van-rate {
display: inline-block;
user-select: none;
&__item {
position: relative;
display: inline-block;
padding: 0 @rate-horizontal-padding;
}
&__icon {
display: block;
height: 1em;
&--half {
position: absolute;
top: 0;
left: @rate-horizontal-padding;
width: 0.5em;
overflow: hidden;
}
}
}