Hue the Navbar with notification banner (#17)
* Hue the Navbar with notification banner * Disable default color setting as it overrides other values * Update ReadMe.md and publics
This commit is contained in:
parent
ff6e7d916b
commit
96e881af5e
32
Navbar color on Notif.css
Normal file
32
Navbar color on Notif.css
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -32,3 +32,6 @@ Repeate for each styles you want to enables.
|
||||
*  
|
||||
* `Alkessian.less`: Change the black navbar of Jira & Confluence back to the default white one and add slight animations.
|
||||

|
||||
* `Navbar color on Notif.css`: Emphase the notification banner by coloring the navbar as well, with a nice and tidy `transition`.
|
||||

|
||||

|
||||
|
BIN
public/navbar_notification_error.gif
Normal file
BIN
public/navbar_notification_error.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 410 KiB |
BIN
public/navbar_notification_error.mov
Normal file
BIN
public/navbar_notification_error.mov
Normal file
Binary file not shown.
BIN
public/navbar_notification_success.gif
Normal file
BIN
public/navbar_notification_success.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 257 KiB |
BIN
public/navbar_notification_success.mov
Normal file
BIN
public/navbar_notification_success.mov
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user