[bug] fix header shade transition on scroll

This commit is contained in:
Kuldeep M 2019-06-13 16:11:23 +01:00
parent bf09fcd852
commit b514eca850
2 changed files with 7 additions and 6 deletions

View File

@ -24,6 +24,7 @@
}
.header-shade {
background-color: transparent;
content: "";
display: block;
position: absolute;
@ -42,6 +43,11 @@
background-color: rgba(var(--header-shade-color), var(--header-shade-opacity));
}
.is-header-shade-style-scroll .header-shade {
transition: background-color var(--animation-speed-slow) ease-in-out;
animation: none;
}
.header-area {
padding: calc(var(--gutter) * var(--layout-padding-multiplier));
position: relative;
@ -60,11 +66,6 @@
border-radius: calc(var(--theme-radius) * 4);
}
.is-header-shade-style-scroll .header-area {
transition: background-color var(--animation-speed-slow) ease-in-out;
animation: none;
}
.is-header-search-text-align-left .header-search-input {
text-align: left;
}

View File

@ -1,7 +1,7 @@
var version = (function() {
// version is normally bumped when the state needs changing or any new functionality is added
var current = "3.9.1";
var current = "3.9.2";
var compare = function(a, b) {
var pa = a.split(".");