mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Button): improve cursor
This commit is contained in:
parent
0a70d34412
commit
c1a535b0dd
@ -11,6 +11,7 @@
|
|||||||
line-height: @button-default-line-height;
|
line-height: @button-default-line-height;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: @button-border-radius;
|
border-radius: @button-border-radius;
|
||||||
|
cursor: pointer;
|
||||||
transition: opacity @animation-duration-fast;
|
transition: opacity @animation-duration-fast;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
@ -134,9 +135,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--disabled {
|
&--disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
opacity: @button-disabled-opacity;
|
opacity: @button-disabled-opacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--loading {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
&--round {
|
&--round {
|
||||||
border-radius: @button-round-border-radius;
|
border-radius: @button-round-border-radius;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user