mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(Loading): add some less vars (#4781)
This commit is contained in:
parent
a625bdca42
commit
1e21ce3cc0
@ -8,14 +8,14 @@
|
||||
&__spinner {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
width: @loading-spinner-size;
|
||||
// compatible for 1.x, users may set width or height in root element
|
||||
max-width: 100%;
|
||||
height: 30px;
|
||||
height: @loading-spinner-size;
|
||||
max-height: 100%;
|
||||
color: @loading-spinner-color;
|
||||
vertical-align: middle;
|
||||
animation: van-rotate 0.8s linear infinite;
|
||||
animation: van-rotate @loading-spinner-animation-duration linear infinite;
|
||||
|
||||
&--spinner {
|
||||
animation-timing-function: steps(12);
|
||||
|
@ -367,6 +367,8 @@
|
||||
@loading-text-color: @gray-dark;
|
||||
@loading-text-font-size: @font-size-md;
|
||||
@loading-spinner-color: @gray;
|
||||
@loading-spinner-size: 30px;
|
||||
@loading-spinner-animation-duration: .8s;
|
||||
|
||||
// NavBar
|
||||
@nav-bar-height: 46px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user