2025-02-22 00:31:14 +08:00
|
|
|
@theme {
|
|
|
|
/* animations */
|
|
|
|
--animate-indeterminate-progress-bar: indeterminate-progress-bar 1s infinite linear;
|
2025-02-28 13:22:23 +08:00
|
|
|
--animate-collapsible-down: collapsible-down 0.12s ease-out;
|
|
|
|
--animate-collapsible-up: collapsible-up 0.12s ease-out;
|
|
|
|
|
2025-02-22 00:31:14 +08:00
|
|
|
@keyframes indeterminate-progress-bar {
|
|
|
|
0% {
|
|
|
|
transform: translateX(0) scaleX(0);
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
transform: translateX(0) scaleX(0.4);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateX(100%) scaleX(0.5);
|
|
|
|
}
|
|
|
|
}
|
2025-02-28 13:22:23 +08:00
|
|
|
|
|
|
|
@keyframes collapsible-down {
|
|
|
|
from {
|
|
|
|
height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
height: var(--radix-collapsible-content-height);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes collapsible-up {
|
|
|
|
from {
|
|
|
|
height: var(--radix-collapsible-content-height);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2025-02-22 00:31:14 +08:00
|
|
|
}
|