[build] add stylelint-config-rational-order plugin

This commit is contained in:
陈嘉涵
2019-05-09 19:00:53 +08:00
parent 21589c9b9f
commit ba4f02b9b4
64 changed files with 571 additions and 442 deletions
+8 -8
View File
@@ -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;