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 {
|
&__item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0 2px;
|
padding: 0 @rate-horizontal-padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__icon {
|
&__icon {
|
||||||
@ -15,7 +15,7 @@
|
|||||||
&--half {
|
&--half {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 2px;
|
left: @rate-horizontal-padding;
|
||||||
width: .5em;;
|
width: .5em;;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -201,6 +201,9 @@
|
|||||||
@radio-disabled-label-color: @gray;
|
@radio-disabled-label-color: @gray;
|
||||||
@radio-disabled-background-color: @border-color;
|
@radio-disabled-background-color: @border-color;
|
||||||
|
|
||||||
|
// Rate
|
||||||
|
@rate-horizontal-padding: 2px;
|
||||||
|
|
||||||
// Slider
|
// Slider
|
||||||
@slider-active-background-color: @blue;
|
@slider-active-background-color: @blue;
|
||||||
@slider-inactive-background-color: @gray-light;
|
@slider-inactive-background-color: @gray-light;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user