This commit is contained in:
@@ -168,6 +168,7 @@
|
|||||||
class="pulse-orb"
|
class="pulse-orb"
|
||||||
:class="{
|
:class="{
|
||||||
active: isPlaying,
|
active: isPlaying,
|
||||||
|
playing: isPlaying && !isAnswerClip,
|
||||||
answer: isPlaying && isAnswerClip,
|
answer: isPlaying && isAnswerClip,
|
||||||
idle: !currentClipUrl
|
idle: !currentClipUrl
|
||||||
}"
|
}"
|
||||||
@@ -179,6 +180,11 @@
|
|||||||
></div>
|
></div>
|
||||||
<div
|
<div
|
||||||
class="pulse-tentacles"
|
class="pulse-tentacles"
|
||||||
|
:class="{
|
||||||
|
playing: isPlaying && !isAnswerClip,
|
||||||
|
answer: isPlaying && isAnswerClip,
|
||||||
|
idle: !currentClipUrl
|
||||||
|
}"
|
||||||
:style="{ '--pulse': pulseLevel.toFixed(3) }"
|
:style="{ '--pulse': pulseLevel.toFixed(3) }"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
|||||||
@@ -445,10 +445,25 @@ audio.hidden-audio {
|
|||||||
scaleX(calc(0.7 + var(--level, 0) * 0.5));
|
scaleX(calc(0.7 + var(--level, 0) * 0.5));
|
||||||
transition: height 0.08s ease-out, opacity 0.08s ease-out, transform 0.08s ease-out, filter 0.08s ease-out;
|
transition: height 0.08s ease-out, opacity 0.08s ease-out, transform 0.08s ease-out, filter 0.08s ease-out;
|
||||||
mix-blend-mode: screen;
|
mix-blend-mode: screen;
|
||||||
|
color: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pulse-tentacles.playing {
|
||||||
color: #7df9ff;
|
color: #7df9ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pulse-tentacles.playing .tentacle {
|
||||||
animation: planetShift 4s linear infinite;
|
animation: planetShift 4s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pulse-tentacles.answer {
|
||||||
|
color: #2bdc7b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pulse-tentacles.idle {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@keyframes pulseGlow {
|
@keyframes pulseGlow {
|
||||||
0%,
|
0%,
|
||||||
|
|||||||
Reference in New Issue
Block a user