Prototype #1

Merged
alk-spriet merged 14 commits from prototype into master 2022-02-03 15:23:26 +01:00
Showing only changes of commit 4d2c0e56f2 - Show all commits

View File

@ -4,26 +4,20 @@ domain("ppr-admin.alkemics.com") {
--stripe-size: 100px;
--color1: hsl(194, 71%, 30%);
--color2: hsl(194, 77%, 35%);
--duration: 30s;
--duration: 20s;
}
.Navbar::before {
z-index: -10;
content: "";
position: absolute;
top: 0;
left: 0;
width: calc(100% + var(--stripe-size));
height: 100%;
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color2) 50%, var(--color1) 50%, var(--color1) 75%);
.AuthLayoutFooter,
.Navbar.navbar.Navbar--PPR.bg-inverse {
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color1) 75%);
background-size: var(--stripe-size) var(--stripe-size);
animation: stripeTransform var(--duration) linear infinite;
}
@keyframes stripeTransform {
0% {
transform: translateX(0);
from {
background-position: 0 0;
}
100% {
transform: translateX(calc(var(--stripe-size) * -1));
to {
background-position: var(--stripe-size) 0;
}
}
}