mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 06:59:15 +08:00
feat: improve cursor of some components
This commit is contained in:
parent
c1a535b0dd
commit
4ed3bd4c7e
@ -65,6 +65,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--clickable {
|
&--clickable {
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: @cell-active-color;
|
background-color: @cell-active-color;
|
||||||
}
|
}
|
||||||
|
@ -93,6 +93,7 @@
|
|||||||
z-index: @popup-close-icon-z-index;
|
z-index: @popup-close-icon-z-index;
|
||||||
color: @popup-close-icon-color;
|
color: @popup-close-icon-color;
|
||||||
font-size: @popup-close-icon-size;
|
font-size: @popup-close-icon-size;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
opacity: @active-opacity;
|
opacity: @active-opacity;
|
||||||
|
@ -117,8 +117,6 @@ export default {
|
|||||||
padding-bottom: 30px;
|
padding-bottom: 30px;
|
||||||
|
|
||||||
.van-swipe {
|
.van-swipe {
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&-item {
|
&-item {
|
||||||
color: @white;
|
color: @white;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
.van-swipe {
|
.van-swipe {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
&__track {
|
&__track {
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
color: @tabbar-item-text-color;
|
color: @tabbar-item-text-color;
|
||||||
font-size: @tabbar-item-font-size;
|
font-size: @tabbar-item-font-size;
|
||||||
line-height: @tabbar-item-line-height;
|
line-height: @tabbar-item-line-height;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&__icon {
|
&__icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -111,10 +111,6 @@ export default {
|
|||||||
.demo-tabbar {
|
.demo-tabbar {
|
||||||
.van-tabbar {
|
.van-tabbar {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&-item {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user