diff --git a/server/app/api.py b/server/app/api.py index 1906b985..226e1d77 100644 --- a/server/app/api.py +++ b/server/app/api.py @@ -269,6 +269,7 @@ def get_album_tracks(title: str, artist: str): "count": len(songs), "duration": "56 Minutes", "image": songs[0].image, + "date": songs[0].date, "artist": songs[0].albumartist, "artist_image": "http://127.0.0.1:8900/images/artists/" + songs[0].albumartist.replace("/", "::") diff --git a/src/assets/css/BottomBar/BottomBar.scss b/src/assets/css/BottomBar/BottomBar.scss index ec84aabc..30a71672 100644 --- a/src/assets/css/BottomBar/BottomBar.scss +++ b/src/assets/css/BottomBar/BottomBar.scss @@ -1,5 +1,6 @@ .b-bar { height: 100%; + border-top: solid 1px $gray; .grid { display: grid; @@ -62,12 +63,12 @@ width: 100%; .durationx { - background-color: #97979725; - // border: solid 1px rgba(255, 255, 255, 0.253); + background-color: $black; padding: $smaller; - border-radius: 0.75rem; + border-radius: 0.5rem; margin: 0 $small 0 $small; font-size: 0.8rem; + min-width: 2.5rem; } } } diff --git a/src/assets/css/ProgressBar.scss b/src/assets/css/ProgressBar.scss index ddac3efb..8cb6566c 100644 --- a/src/assets/css/ProgressBar.scss +++ b/src/assets/css/ProgressBar.scss @@ -5,7 +5,7 @@ input[type="range"] { height: 0.3rem; border-radius: 5px; background-size: 0 100%; - background: rgb(59, 57, 57) linear-gradient($blue, $blue) no-repeat; + background: $black linear-gradient($blue, $blue) no-repeat; } /* Input Thumb */ diff --git a/src/assets/css/global.scss b/src/assets/css/global.scss index b0f6cf65..938dfe4f 100644 --- a/src/assets/css/global.scss +++ b/src/assets/css/global.scss @@ -40,7 +40,7 @@ a { } .border { - border: solid 2px #27262654; + border: solid 1px $gray; } .border-sm { diff --git a/src/components/AlbumView/Header.vue b/src/components/AlbumView/Header.vue index a6793e65..6baf520b 100644 --- a/src/components/AlbumView/Header.vue +++ b/src/components/AlbumView/Header.vue @@ -11,7 +11,7 @@
- {{ album_info.count }} Tracks • {{ album_info.duration }} • 2021 + {{ album_info.count }} Tracks • {{ album_info.duration }} • {{album_info.date}}
@@ -58,7 +58,7 @@ export default { overflow: hidden; display: flex; align-items: center; - padding: 1rem; + padding: $small; height: 100%; background-image: url("../../assets/images/abg.webp"); background-position: 0% 60%; @@ -74,7 +74,7 @@ export default { .top { .h { - color: rgba(255, 255, 255, 0.795); + color: #ffffffcb; } .title { font-size: 2rem; @@ -94,9 +94,16 @@ export default { } .bottom { + position: relative; + .stats { + background-color: #1f1f1f8e; + padding: $small; + border-radius: $small; + position: absolute; + right: 0; + bottom: 0; font-weight: bold; - display: none; } .play { @@ -106,7 +113,6 @@ export default { align-items: center; background: $highlight-blue; padding: $small; - margin: $small 0; cursor: pointer; .icon { diff --git a/src/components/BottomBar/BottomBar.vue b/src/components/BottomBar/BottomBar.vue index 0b550551..a8dc7132 100644 --- a/src/components/BottomBar/BottomBar.vue +++ b/src/components/BottomBar/BottomBar.vue @@ -1,5 +1,5 @@