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
+5 -8
View File
@@ -1,12 +1,12 @@
<template>
<div id="f-view-parent">
<div id="scrollable" ref="scrollable">
<div class="banner shadow-lg">
<div class="banner shadow-lg rounded">
<div class="text abs rounded pad-medium">
<h3><FolderSvg /> {{ getFolderName($route) }}</h3>
</div>
<img
src="../assets/images/folder.webp"
src="@/assets/images/folderbg.webp"
alt=""
class="rounded"
loading="lazy"
@@ -79,20 +79,16 @@ onBeforeRouteUpdate((to, from) => {
pointer-events: none;
user-select: none;
width: 100%;
// display: table-cell;
// vertical-align: bottom;
background-color: $accent;
.text {
bottom: 1rem;
// height: 100%;
left: 1rem;
// right: 1rem;
// width: min-content;
width: max-content;
max-width: calc(100% - 2rem);
background-color: $black;
@include for-desktop-down {
max-width: 31rem;
right: 1rem;
}
@@ -110,6 +106,7 @@ onBeforeRouteUpdate((to, from) => {
height: 100%;
width: 100%;
object-fit: cover;
object-position: bottom;
}
}
+2 -2
View File
@@ -25,11 +25,11 @@ const pStore = usePStore();
scrollbar-color: $gray2 transparent;
.grid {
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
gap: 1rem;
@include for-desktop-down {
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
.name {
font-size: 0.9rem;