Prototype #1

Merged
alk-spriet merged 14 commits from prototype into master 2022-02-03 15:23:26 +01:00
2 changed files with 10 additions and 10 deletions
Showing only changes of commit 428180de22 - Show all commits

View File

@ -14,16 +14,16 @@ domain("ltg-admin.alkemics.com") {
left: 0; left: 0;
width: calc(100% + var(--stripe-size)); width: calc(100% + var(--stripe-size));
height: 100%; height: 100%;
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color2) 50%, var(--color1) 50%, var(--color1) 75%); background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color1) 75%);
background-size: var(--stripe-size) var(--stripe-size); background-size: var(--stripe-size) var(--stripe-size);
animation: stripeTransform var(--duration) linear infinite; animation: stripeTransform var(--duration) linear infinite;
} }
@keyframes stripeTransform { @keyframes stripeTransform {
0% { from {
transform: translateX(0); background-position: 0 0;
} }
100% { to {
transform: translateX(calc(var(--stripe-size) * -1)); background-position: var(--stripe-size) 0;
} }
} }
} }

View File

@ -13,16 +13,16 @@
left: 0; left: 0;
width: calc(100% + var(--stripe-size)); width: calc(100% + var(--stripe-size));
height: 100%; height: 100%;
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color2) 50%, var(--color1) 50%, var(--color1) 75%); background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color1) 75%);
background-size: var(--stripe-size) var(--stripe-size); background-size: var(--stripe-size) var(--stripe-size);
animation: stripeTransform var(--duration) linear infinite; animation: stripeTransform var(--duration) linear infinite;
} }
@keyframes stripeTransform { @keyframes stripeTransform {
0% { from {
transform: translateX(0); background-position: 0 0;
} }
100% { to {
transform: translateX(calc(var(--stripe-size) * -1)); background-position: var(--stripe-size) 0;
} }
} }
} }