feat(nyancat): add the status of stillness nyancat (#541)

master
Map1en_ 4 years ago committed by GitHub
parent 4f4f2b09e3
commit 2ecba8e161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

@ -100,6 +100,11 @@
visibility: visible;
}
.nyancat-stop .vue-slider-dot-handle {
background-image: url("/img/logos/nyancat-stop.png");
transition: 300ms;
}
/* lyrics */
.lyrics-page .vue-slider-rail {
background-color: rgba(128, 128, 128, 0.18);

@ -2,7 +2,10 @@
<div class="player" @click="toggleLyrics">
<div
class="progress-bar"
:class="{ nyancat: settings.nyancatStyle }"
:class="{
nyancat: settings.nyancatStyle,
'nyancat-stop': settings.nyancatStyle && !player.playing,
}"
@click.stop
>
<vue-slider

Loading…
Cancel
Save