feat: improve cursor

This commit is contained in:
陈嘉涵
2020-01-11 15:46:47 +08:00
parent 5cbb9e2998
commit 2eb680723d
33 changed files with 97 additions and 24 deletions
+7
View File
@@ -4,6 +4,7 @@
position: relative;
background-color: @slider-inactive-background-color;
border-radius: @border-radius-max;
cursor: pointer;
// use pseudo element to expand click area
&::before {
@@ -34,11 +35,17 @@
top: 50%;
right: 0;
transform: translate3d(50%, -50%, 0);
cursor: grab;
}
}
&--disabled {
cursor: not-allowed;
opacity: @slider-disabled-opacity;
.van-slider__button-wrapper {
cursor: not-allowed;
}
}
&--vertical {