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

52 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-12-05 22:58:05 +08:00
@keyframes loadingCircle {
100% {
transform: rotate(360deg);
}
}
2020-05-31 16:00:40 +08:00
@click-animating-true: ~"[@{ant-prefix}-click-animating='true']";
@click-animating-with-extra-node-true: ~"[@{ant-prefix}-click-animating-without-extra-node='true']";
@{click-animating-true},
@{click-animating-with-extra-node-true} {
2019-12-05 22:58:05 +08:00
position: relative;
}
html {
--antd-wave-shadow-color: @primary-color;
2020-04-06 17:35:04 +08:00
--scroll-bar: 0;
2019-12-05 22:58:05 +08:00
}
2020-05-31 16:00:40 +08:00
@click-animating-with-extra-node-true-after: ~'@{click-animating-with-extra-node-true}::after';
@{click-animating-with-extra-node-true-after},
.@{ant-prefix}-click-animating-node {
2019-12-05 22:58:05 +08:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
border-radius: inherit;
box-shadow: 0 0 0 0 @primary-color;
box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
opacity: 0.2;
animation: fadeEffect 2s @ease-out-circ, waveEffect 0.4s @ease-out-circ;
animation-fill-mode: forwards;
content: '';
pointer-events: none;
}
@keyframes waveEffect {
100% {
box-shadow: 0 0 0 @primary-color;
box-shadow: 0 0 0 @wave-animation-width var(--antd-wave-shadow-color);
}
}
@keyframes fadeEffect {
100% {
opacity: 0;
}
}