Merge branch 'main' into set-animation-for-loading-only

This commit is contained in:
Simon Priet 2023-05-25 23:42:41 +02:00 committed by GitHub
commit 75f5a2d7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 0 deletions

32
Navbar color on Notif.css Normal file
View File

@ -0,0 +1,32 @@
@-moz-document domain("supplierxm.salsify.com"),
domain("alkemics.com") {
/*:root {
--color1: hsla(194, 71%, 30%, 1);
--navbar-gradient-color: rgb(20, 157, 199);
}*/
.PageTop>.Navbar::after {
background-color: var(--navbar-gradient-color);
position: absolute;
bottom: 0;
left: 0;
height: 0%;
width: 100%;
z-index: -1;
transition: height .4s ease 0s;
}
.PageTop>.Navbar--PPR:has(+ :is(.NotificationAnimation-enter-done, .NotificationAnimation-enter-active))::after {
height: 100%;
}
.PageTop>.Navbar:has(+ .Notification--success) {
--navbar-gradient-color: #48b071;
}
.PageTop>.Navbar:has(+ .Notification--error) {
--navbar-gradient-color: #e64c42;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.