mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] Rate: add less vars (#3135)
This commit is contained in:
parent
9ecbcae725
commit
3645999b3c
@ -6,7 +6,7 @@
|
||||
&__item {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0 2px;
|
||||
padding: 0 @rate-horizontal-padding;
|
||||
}
|
||||
|
||||
&__icon {
|
||||
@ -15,7 +15,7 @@
|
||||
&--half {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 2px;
|
||||
left: @rate-horizontal-padding;
|
||||
width: .5em;;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
@ -201,6 +201,9 @@
|
||||
@radio-disabled-label-color: @gray;
|
||||
@radio-disabled-background-color: @border-color;
|
||||
|
||||
// Rate
|
||||
@rate-horizontal-padding: 2px;
|
||||
|
||||
// Slider
|
||||
@slider-active-background-color: @blue;
|
||||
@slider-inactive-background-color: @gray-light;
|
||||
|
Loading…
x
Reference in New Issue
Block a user