提交 cb4f694e 编写于 作者: A afc163

update duration less var

上级 ede92ae1
......@@ -150,7 +150,7 @@
.@{iconfont-css-prefix}-windows:before {content:"\e66c";}
.@{iconfont-css-prefix}-loading:before {
display: inline-block;
.animation(loadingCircle @duration-1000 infinite linear);
.animation(loadingCircle 1s infinite linear);
content:"\e610";
}
......
.motion-common() {
animation-duration: .24s;
animation-duration: .22s;
animation-fill-mode: both;
display: block !important;
}
......
......@@ -203,12 +203,12 @@
border-radius: 50% 50%;
content: " ";
.scale(0, 0);
.transition(all @duration-300 @ease-in-out);
.transition(all .3s @ease-in-out);
z-index: 0;
background-color: @primary-color;
}
&:not([disabled]):hover,
&:not([disabled]):hover,
&:not([disabled]):active,
&:not([disabled]).active {
> .@{iconfont-css-prefix} {
......@@ -216,7 +216,7 @@
}
}
&:not([disabled]):hover:before,
&:not([disabled]):hover:before,
&:not([disabled]):active:before,
&:not([disabled]).active:before {
.opacity(1);
......
......@@ -26,16 +26,6 @@
@cursor-disabled : not-allowed;
// Animation
@duration-300 : .3s;
@duration-400 : .4s;
@duration-500 : .5s;
@duration-600 : .6s;
@duration-700 : .7s;
@duration-800 : .8s;
@duration-900 : .9s;
@duration-1000 : 1.0s;
@duration-1100 : 1.1s;
@duration-1200 : 1.2s;
@ease-out : cubic-bezier(0.215, 0.61, 0.355, 1);
@ease-in : cubic-bezier(0.55, 0.055, 0.675, 0.19);
@ease-in-out : cubic-bezier(0.645, 0.045, 0.355, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册