feat(Loading): add some less vars (#4781)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user