mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-06-26 12:31:47 +02:00
[bug] fix header shade transition on scroll
This commit is contained in:
parent
bf09fcd852
commit
b514eca850
@ -24,6 +24,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header-shade {
|
.header-shade {
|
||||||
|
background-color: transparent;
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -42,6 +43,11 @@
|
|||||||
background-color: rgba(var(--header-shade-color), var(--header-shade-opacity));
|
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 {
|
.header-area {
|
||||||
padding: calc(var(--gutter) * var(--layout-padding-multiplier));
|
padding: calc(var(--gutter) * var(--layout-padding-multiplier));
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -60,11 +66,6 @@
|
|||||||
border-radius: calc(var(--theme-radius) * 4);
|
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 {
|
.is-header-search-text-align-left .header-search-input {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
// version is normally bumped when the state needs changing or any new functionality is added
|
// 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 compare = function(a, b) {
|
||||||
var pa = a.split(".");
|
var pa = a.split(".");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user