2 Commits

Author SHA1 Message Date
694ddec9cd fix(PREP): Fixed animation always running on admin panel 2022-04-11 19:58:05 +02:00
99b4f505b1 feat(PREP): Strip now only animate during loading times
Strips are suspended while ilde and will animate when the loading animation is triggered.

Animations are saccaded when the browser is too busy updating the DOM with the fetched items
2022-04-07 21:07:53 +02:00
2 changed files with 7 additions and 7 deletions

View File

@ -5,26 +5,26 @@ domain("ppr-admin.alkemics.com") {
--color1: hsla(194, 71%, 30%, 1);
--color2: hsla(194, 77%, 35%, 1);
--duration: 1s;
--state: running;
--state: paused;
}
.AuthLayoutFooter,
.Navbar.navbar.Navbar--PPR.bg-inverse {
background: repeating-linear-gradient(-45deg, hsla(194, 77%, 35%, 0) 25%, var(--color1) 50%, var(--color1) 75%);
background-color: var(--color2);
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color2) 50%, var(--color1) 50%, var(--color1) 75%);
background-color: var(--color1);
background-size: var(--stripe-size) var(--stripe-size);
animation: alkegrad var(--duration) linear 0s infinite normal var(--state);
transition: background 200ms linear;
}
.AuthLayoutFooter {
--stripe-size: 200px;
--duration: 40s;
}
.navbar:only-child {
--state: paused;
--color2: hsla(194, 71%, 30%, 1);
.PageTop>.navbar:not(:only-child) {
--state: running;
}
.PageTop>.Loader {
visibility: hidden;
animation: none;
--state: paused;
}
@keyframes alkegrad {
from {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 35 KiB