major redesign: move to rounded and extra spaceous UI

+ fix `play next` bug
+ add new folder banner image
+ add new now playing component
+ move to gray4 for accent color
+ increase image sizes, for clean UI
This commit is contained in:
geoffrey45
2022-08-18 02:55:46 +03:00
parent a7dc2fa6bd
commit 5476575d10
40 changed files with 339 additions and 328 deletions
+2 -17
View File
@@ -1,10 +1,7 @@
<template>
<div class="topnav">
<div class="left">
<div class="btn">
<NavButtons />
</div>
<NavButtons />
<div class="info">
<APTitle v-show="showAPTitle" />
<Playlists v-show="$route.name == Routes.playlists" />
@@ -15,16 +12,12 @@
<div class="center rounded">
<Loader />
</div>
<!-- <div class="right">
<Search />
</div> -->
</div>
</template>
<script setup lang="ts">
import NavButtons from "./NavButtons.vue";
import Loader from "../shared/Loader.vue";
// import Search from "./Search.vue";
import { useRoute } from "vue-router";
import { ref, watch } from "vue";
import { Routes } from "@/composables/enums";
@@ -82,13 +75,11 @@ watch(
display: grid;
grid-template-columns: 1fr min-content;
width: 100%;
gap: 1rem;
overflow: hidden;
.left {
display: grid;
grid-template-columns: max-content 1fr;
overflow: hidden;
gap: 1rem;
.info {
overflow: hidden;
@@ -106,11 +97,5 @@ watch(
place-items: center;
margin-right: 1rem;
}
.right {
width: 100%;
display: flex;
gap: $small;
}
}
</style>