mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat(nyancat): add the status of stillness nyancat (#541)
This commit is contained in:
parent
4f4f2b09e3
commit
2ecba8e161
3 changed files with 9 additions and 1 deletions
BIN
public/img/logos/nyancat-stop.png
Normal file
BIN
public/img/logos/nyancat-stop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 816 B |
|
|
@ -100,6 +100,11 @@
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nyancat-stop .vue-slider-dot-handle {
|
||||||
|
background-image: url("/img/logos/nyancat-stop.png");
|
||||||
|
transition: 300ms;
|
||||||
|
}
|
||||||
|
|
||||||
/* lyrics */
|
/* lyrics */
|
||||||
.lyrics-page .vue-slider-rail {
|
.lyrics-page .vue-slider-rail {
|
||||||
background-color: rgba(128, 128, 128, 0.18);
|
background-color: rgba(128, 128, 128, 0.18);
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,10 @@
|
||||||
<div class="player" @click="toggleLyrics">
|
<div class="player" @click="toggleLyrics">
|
||||||
<div
|
<div
|
||||||
class="progress-bar"
|
class="progress-bar"
|
||||||
:class="{ nyancat: settings.nyancatStyle }"
|
:class="{
|
||||||
|
nyancat: settings.nyancatStyle,
|
||||||
|
'nyancat-stop': settings.nyancatStyle && !player.playing,
|
||||||
|
}"
|
||||||
@click.stop
|
@click.stop
|
||||||
>
|
>
|
||||||
<vue-slider
|
<vue-slider
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue