ant-design/components/style/core/motion/other.less

44 lines
860 B
Plaintext
Raw Normal View History

2015-07-01 17:25:16 +08:00
@keyframes loadingCircle {
100% {
transform: rotate(360deg);
}
2015-11-26 19:32:55 +08:00
}
[ant-click-animating='true'],
[ant-click-animating-without-extra-node='true'] {
position: relative;
}
[ant-click-animating-without-extra-node='true']:after,
.ant-click-animating-node {
2018-12-07 16:17:45 +08:00
content: '';
position: absolute;
top: -1px;
left: -1px;
bottom: -1px;
right: -1px;
border-radius: inherit;
border: 0 solid @primary-color;
2018-08-20 23:55:35 +08:00
opacity: 0.2;
2018-12-07 16:17:45 +08:00
animation: fadeEffect 2s @ease-out-circ, waveEffect 0.4s @ease-out-circ;
2018-08-20 20:59:48 +08:00
animation-fill-mode: forwards;
display: block;
2018-08-27 11:43:54 +08:00
pointer-events: none;
}
@keyframes waveEffect {
2018-08-20 20:59:48 +08:00
100% {
top: -@wave-animation-width;
left: -@wave-animation-width;
bottom: -@wave-animation-width;
right: -@wave-animation-width;
border-width: @wave-animation-width;
}
}
2018-08-20 20:59:48 +08:00
@keyframes fadeEffect {
100% {
opacity: 0;
}
}