Add variable for toggling pulse effect.
parent
dea7abe861
commit
93874949d8
|
@ -22,6 +22,7 @@ $icedream-fog-base-opacity: 0.05 !default;
|
|||
$icedream-fog-bg: true !default;
|
||||
$icedream-fog-bg-blur: false !default;
|
||||
$icedream-fog-bg-animated: true !default;
|
||||
$icedream-fog-bg-pulse: true !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) !default;
|
||||
|
|
|
@ -30,8 +30,12 @@
|
|||
@if $icedream-fog-bg-animated {
|
||||
background-repeat: repeat-x;
|
||||
background-size: 100% 100%;
|
||||
@if $icedream-fog-bg-pulse {
|
||||
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;
|
||||
} @else {
|
||||
animation: icedream-bg-slide linear $icedream-fog-bg-slide-animation-length infinite;
|
||||
}
|
||||
transform: scale(2, 1) translateX(0);
|
||||
transform-origin: left;
|
||||
@keyframes icedream-bg-pulse {
|
||||
|
|
Loading…
Reference in New Issue