Add transition in navbar background

This commit is contained in:
Konstantinos Triantafyllou 2022-08-04 15:31:10 +03:00
parent ee5eeb0ccc
commit eb5739ab82
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@
background-size: cover; background-size: cover;
box-shadow: @navbar-box-shadow; box-shadow: @navbar-box-shadow;
position: relative; position: relative;
transition: background 0.35s ease-out;
z-index: @navbar-z-index; z-index: @navbar-z-index;
& .uk-logo { & .uk-logo {
@ -158,6 +159,7 @@
.hook-inverse() { .hook-inverse() {
.uk-navbar-container:not(.uk-navbar-transparent) { .uk-navbar-container:not(.uk-navbar-transparent) {
background-color: @inverse-navbar-background;
background-image: @inverse-navbar-background-image; background-image: @inverse-navbar-background-image;
} }
} }