[build] add stylelint-config-rational-order plugin
This commit is contained in:
@@ -2,21 +2,21 @@
|
||||
|
||||
.van-slider {
|
||||
position: relative;
|
||||
border-radius: 999px;
|
||||
background-color: @slider-inactive-background-color;
|
||||
border-radius: 999px;
|
||||
|
||||
&__bar {
|
||||
position: relative;
|
||||
border-radius: inherit;
|
||||
background-color: @slider-active-background-color;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
&__button {
|
||||
width: @slider-button-width;
|
||||
height: @slider-button-height;
|
||||
box-shadow: @slider-button-box-shadow;
|
||||
border-radius: @slider-button-border-radius;
|
||||
background-color: @slider-button-background-color;
|
||||
border-radius: @slider-button-border-radius;
|
||||
box-shadow: @slider-button-box-shadow;
|
||||
|
||||
&-wrapper {
|
||||
position: absolute;
|
||||
@@ -26,12 +26,12 @@
|
||||
|
||||
/* use pseudo element to expand touch area */
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41,8 +41,8 @@
|
||||
}
|
||||
|
||||
&--vertical {
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
|
||||
.van-slider__button-wrapper {
|
||||
top: auto;
|
||||
|
||||
Reference in New Issue
Block a user