Add subtle out-of-sync opacity manipulation for smoke effect.
gitea/icedream/rekt-theme/master This commit looks good
Details
gitea/icedream/rekt-theme/master This commit looks good
Details
parent
88d93f3f70
commit
9dfd022dfb
|
@ -20,7 +20,8 @@ $icedream-nav-bg-fade: true !default;
|
|||
$icedream-fog-bg: true !default;
|
||||
$icedream-fog-bg-blur: false !default;
|
||||
$icedream-fog-bg-animated: true !default;
|
||||
$icedream-fog-bg-animation-length: 30s !default;
|
||||
$icedream-fog-bg-pulse-animation-length: 68s !default;
|
||||
$icedream-fog-bg-slide-animation-length: 25s !default;
|
||||
$icedream-station-fill-background-color: rgba(255, 255, 255, .1);
|
||||
|
||||
$rekt-tab-count: 4 !default;
|
||||
|
|
|
@ -30,9 +30,27 @@
|
|||
@if $icedream-fog-bg-animated {
|
||||
background-repeat: repeat-x;
|
||||
background-size: 100% 100%;
|
||||
animation: icedream-bg-slide linear $icedream-fog-bg-animation-length infinite;
|
||||
animation: icedream-bg-slide linear $icedream-fog-bg-slide-animation-length infinite,
|
||||
icedream-bg-pulse ease-in-out $icedream-fog-bg-pulse-animation-length infinite;
|
||||
transform: scale(2, 1) translateX(0);
|
||||
transform-origin: left;
|
||||
@keyframes icedream-bg-pulse {
|
||||
0% {
|
||||
opacity: .3;
|
||||
}
|
||||
22% {
|
||||
opacity: .2;
|
||||
}
|
||||
54% {
|
||||
opacity: .35;
|
||||
}
|
||||
77% {
|
||||
opacity: .16;
|
||||
}
|
||||
100% {
|
||||
opacity: .3;
|
||||
}
|
||||
}
|
||||
@keyframes icedream-bg-slide {
|
||||
to {
|
||||
transform: scale(2, 1) translateX(-50%);
|
||||
|
|
Loading…
Reference in New Issue