mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(Button): add transition when toggle disabled (#2089)
This commit is contained in:
parent
b38672c8e6
commit
338df00e8f
@ -11,6 +11,7 @@
|
||||
line-height: 42px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
transition: opacity @animation-duration-fast;
|
||||
.theme(border-radius, '@button-border-radius');
|
||||
|
||||
-webkit-appearance: none;
|
||||
|
@ -33,6 +33,10 @@
|
||||
@font-size-md: 14px;
|
||||
@font-size-lg: 16px;
|
||||
|
||||
// Animation
|
||||
@animation-duration-base: .3s;
|
||||
@animation-duration-fast: .2s;
|
||||
|
||||
// Button
|
||||
@button-default-color: @text-color;
|
||||
@button-default-background-color: @white;
|
||||
|
Loading…
x
Reference in New Issue
Block a user