mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-25 08:29:54 +08:00
feat(nyancat): add the status of stillness nyancat (#541)
This commit is contained in:
parent
4f4f2b09e3
commit
2ecba8e161
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;
|
||||
}
|
||||
|
||||
.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…
Reference in New Issue
Block a user