primevue-mirror/apps/showcase/assets/styles/layout/_animation.scss

72 lines
1.0 KiB
SCSS
Raw Permalink Normal View History

2024-02-07 10:15:47 +00:00
@keyframes px-fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes px-fadeout {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes px-scalein {
0% {
opacity: 0;
transform: scaleY(0.8);
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
}
100% {
opacity: 1;
transform: scaleY(1);
}
}
@keyframes px-slidedown {
0% {
max-height: 0;
}
100% {
max-height: auto;
}
}
@keyframes px-slideup {
0% {
max-height: 1000px;
}
100% {
max-height: 0;
}
}
.px-hidden {
display: none;
}
.px-scalein {
2024-05-20 11:17:48 +00:00
animation: px-scalein 150ms linear;
2024-02-07 10:15:47 +00:00
}
.px-fadein {
2024-05-20 11:17:48 +00:00
animation: px-fadein 150ms linear;
2024-02-07 10:15:47 +00:00
}
.px-fadeout {
2024-05-20 11:17:48 +00:00
animation: px-fadeout 150ms linear;
2024-02-07 10:15:47 +00:00
}
.px-slidedown {
2024-05-20 11:17:48 +00:00
animation: px-slidedown 0.45s ease-in-out;
2024-02-07 10:15:47 +00:00
}
.px-slideup {
2024-05-20 11:17:48 +00:00
animation: px-slideup 0.45s cubic-bezier(0, 1, 0, 1);
2024-02-07 10:15:47 +00:00
}