2021-01-24 19:20:07 +08:00
|
|
|
$faa-pulse-speed: 2s;
|
2021-01-23 21:07:47 +08:00
|
|
|
@keyframes pulse {
|
2021-01-24 19:20:07 +08:00
|
|
|
0%, 100% {
|
2021-01-23 21:07:47 +08:00
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: scale(0.8);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.faa-pulse.animated,
|
|
|
|
.faa-pulse.animated-hover:hover,
|
|
|
|
.faa-parent.animated-hover:hover > .faa-pulse {
|
2021-01-24 19:20:07 +08:00
|
|
|
animation: pulse $faa-pulse-speed linear infinite;
|
2021-01-23 21:07:47 +08:00
|
|
|
}
|
|
|
|
.faa-pulse.animated.faa-fast,
|
|
|
|
.faa-pulse.animated-hover.faa-fast:hover,
|
|
|
|
.faa-parent.animated-hover:hover > .faa-pulse.faa-fast {
|
2021-01-24 19:20:07 +08:00
|
|
|
animation: pulse ($faa-pulse-speed * $faa-speed-coeff-fast) linear infinite;
|
2021-01-23 21:07:47 +08:00
|
|
|
}
|
|
|
|
.faa-pulse.animated.faa-slow,
|
|
|
|
.faa-pulse.animated-hover.faa-slow:hover,
|
|
|
|
.faa-parent.animated-hover:hover > .faa-pulse.faa-slow {
|
2021-01-24 19:20:07 +08:00
|
|
|
animation: pulse ($faa-pulse-speed * $faa-speed-coeff-slow) linear infinite;
|
2021-01-23 21:07:47 +08:00
|
|
|
}
|