lofi hip hop mix 📚 beats to relax/study to (Part 1)
- @@ -56,7 +89,7 @@ function togglePlay() { justify-content: flex-end; padding: 30px; align-items: center; - gap: 20px; + gap: 5px; height: 100%; width: 100%; flex-shrink: 0; @@ -73,6 +106,7 @@ function togglePlay() { gap: 20px; flex: 1 0 0; align-self: stretch; + margin-bottom: 20px; &__img { flex: 1 0 0; @@ -93,9 +127,30 @@ function togglePlay() { &__timebar { width: 100%; - height: 5px; - background: var(--primary-600); + height: 8px; + background: var(--neutral-300); border-radius: 900px; + position: relative; + transition: height 0.2s ease; + + &:hover { + cursor: pointer; + } + + &__progress { + height: 100%; + background: var(--primary-500); + border-radius: 900px; + transition: width 0.2s ease; + } + + &__time { + display: flex; + justify-content: space-between; + width: 100%; + font-size: 12px; + color: var(--neutral-500); + } } &__controls { @@ -115,7 +170,7 @@ function togglePlay() { } .play_button { - background: var(--primary-600); + background: var(--primary-500); display: flex; padding: 16px 15px; align-items: center; diff --git a/frontend/src/items/Button.vue b/frontend/src/items/Button.vue index 974d633..989b303 100644 --- a/frontend/src/items/Button.vue +++ b/frontend/src/items/Button.vue @@ -35,7 +35,7 @@ const props = defineProps<{ color: white; &:hover { - background-color: var(--primary-600); + background-color: var(--primary-500); } } diff --git a/frontend/src/items/Loader.vue b/frontend/src/items/Loader.vue index 02371ac..19936fd 100644 --- a/frontend/src/items/Loader.vue +++ b/frontend/src/items/Loader.vue @@ -14,7 +14,7 @@ /* From Uiverse.io by mobinkakei */ .loader { --path: var(--neutral-950); - --dot: var(--primary-600); + --dot: var(--primary-500); --duration: 2.5s; --size: 44px; width: var(--size); diff --git a/frontend/src/items/PlaylistItem.vue b/frontend/src/items/PlaylistItem.vue index a81e1b6..9a2800a 100644 --- a/frontend/src/items/PlaylistItem.vue +++ b/frontend/src/items/PlaylistItem.vue @@ -1,5 +1,5 @@{{ props.title }}
-Composant introuvable