Merge pull request #12 from alk-spriet/pagination-blinkers

feat(#11): Add new style with blinkers animations
This commit is contained in:
Simon Priet 2023-03-24 17:42:18 +01:00 committed by GitHub
commit 66aa9f498f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 1 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"conventionalCommits.scopes": [
"#11"
]
}

17
Blinkers.less Normal file
View File

@ -0,0 +1,17 @@
@-moz-document domain("supplierxm.salsify.com"),
domain("alkemics.com") {
button:not([disabled]) .mdi-arrow-right-bold,
button:not([disabled]) .mdi-arrow-left-bold {
&:not([disabled]):hover {
animation: car-blinkers 900ms steps(1, end) infinite;
}
}
@keyframes car-blinkers {
45% {
color: lightgreen;
}
}
}

View File

@ -6,20 +6,24 @@ domain("ppr-admin.alkemics.com") {
--color2: hsl(194, 77%, 35%);
--duration: 20s;
}
.AuthLayoutFooter,
.Navbar.navbar.Navbar--PPR.bg-inverse {
background: repeating-linear-gradient(-45deg, var(--color2) 25%, var(--color1) 50%, var(--color1) 75%);
background-size: var(--stripe-size) var(--stripe-size);
animation: alkegrad var(--duration) linear infinite;
}
.AuthLayoutFooter {
--stripe-size: 200px;
--duration: 40s;
}
@keyframes alkegrad {
from {
background-position: 0 0;
}
to {
background-position: var(--stripe-size) 0;
}