From 24db32ae094e513d88f852be1a77ef7f8980803f Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Fri, 8 Apr 2022 21:04:52 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=B7=20add=20play=20and=20actions=20btn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/playlists/PlaylistCard.vue | 56 +++++++++++++---- src/components/shared/Option.vue | 74 +++++++++++++++++++++++ src/components/shared/PlayBtn.vue | 28 +++++---- src/components/shared/PlayBtnRect.vue | 2 +- 4 files changed, 134 insertions(+), 26 deletions(-) create mode 100644 src/components/shared/Option.vue diff --git a/src/components/playlists/PlaylistCard.vue b/src/components/playlists/PlaylistCard.vue index 7a081435..931868e2 100644 --- a/src/components/playlists/PlaylistCard.vue +++ b/src/components/playlists/PlaylistCard.vue @@ -4,12 +4,18 @@ :playlist="props.playlist" class="p-card rounded" > +
+
+
+ +
{{ props.playlist.name }}
@@ -25,33 +31,59 @@ diff --git a/src/components/shared/PlayBtn.vue b/src/components/shared/PlayBtn.vue index faf18ca2..917f222c 100644 --- a/src/components/shared/PlayBtn.vue +++ b/src/components/shared/PlayBtn.vue @@ -1,23 +1,25 @@ - + diff --git a/src/components/shared/PlayBtnRect.vue b/src/components/shared/PlayBtnRect.vue index c04fbfd4..90857423 100644 --- a/src/components/shared/PlayBtnRect.vue +++ b/src/components/shared/PlayBtnRect.vue @@ -55,7 +55,7 @@ function play() { cursor: pointer; background: linear-gradient(34deg, $accent, $red); user-select: none; - transition: all 0.5s ease; + transition: all 0.5s ease-in-out; .icon { height: 2rem;