diff --git a/src/assets/img/playbar-animate.svg b/src/assets/img/playbar-animate.svg new file mode 100644 index 0000000..223ae6a --- /dev/null +++ b/src/assets/img/playbar-animate.svg @@ -0,0 +1,16 @@ + diff --git a/src/assets/img/playbar.svg b/src/assets/img/playbar.svg index 2a9fb57..c553a2d 100644 --- a/src/assets/img/playbar.svg +++ b/src/assets/img/playbar.svg @@ -1,16 +1,8 @@ - \ No newline at end of file diff --git a/src/assets/scss/5-modules/track.scss b/src/assets/scss/5-modules/track.scss index 641da36..2ceb015 100644 --- a/src/assets/scss/5-modules/track.scss +++ b/src/assets/scss/5-modules/track.scss @@ -21,6 +21,10 @@ content: ""; } +.track--playing::before { + background-image: url("/assets/img/playbar-animate.svg"); +} + .track__main { flex-grow: 1; min-width: 0; diff --git a/src/components/Queue.svelte b/src/components/Queue.svelte index b67a9e1..470b9a3 100644 --- a/src/components/Queue.svelte +++ b/src/components/Queue.svelte @@ -23,7 +23,7 @@