diff --git a/app/components/Card.vue b/app/components/Card.vue index 92e5b55..cb3cfc4 100644 --- a/app/components/Card.vue +++ b/app/components/Card.vue @@ -13,10 +13,10 @@ -
+
- Pochette de l'album + cover-image de l'album
@@ -92,11 +92,7 @@ const isTrackLoaded = ref(false) /* Flip effect */ .card { perspective: 1000px; - @apply transition-all scale-100 w-56 h-80 min-w-56 min-h-80; - - .pochette { - border-radius: 0.75rem; - } + @apply transition-all scale-100 size-full; .flip-inner { position: relative; @@ -121,6 +117,14 @@ const isTrackLoaded = ref(false) border-radius: 1rem; transform: rotateY(0deg); transition: box-shadow 0.6s; + + .cover { + @apply flex-1 flex justify-center items-center overflow-hidden cursor-pointer; + + .cover-image { + border-radius: 0.75rem; + } + } } .face-down { @@ -200,7 +204,7 @@ const isTrackLoaded = ref(false) } } - .pochette:active, + .cover-image:active, .face-down:active { .play-button { @apply scale-90; diff --git a/app/components/Platine.vue b/app/components/Platine.vue index 6800aa8..dddaffe 100644 --- a/app/components/Platine.vue +++ b/app/components/Platine.vue @@ -1,6 +1,6 @@