further refactor paddings and colors

This commit is contained in:
geoffrey45
2022-02-12 11:32:50 +03:00
parent 88e1d42ab5
commit 6d6d2831c0
14 changed files with 26 additions and 24 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
<AlbumArt :collapsed="collapsed" /> <AlbumArt :collapsed="collapsed" />
</div> </div>
</div> </div>
<div class="content"> <div class="content card-dark">
<div class="search-box"></div> <div class="search-box"></div>
<router-view /> <router-view />
</div> </div>
+1 -2
View File
@@ -1,6 +1,6 @@
.right-search { .right-search {
position: relative; position: relative;
background-color: #03000eab; background-color: $card-dark;
display: grid; display: grid;
grid-template-rows: min-content 1fr; grid-template-rows: min-content 1fr;
overflow: hidden; overflow: hidden;
@@ -10,7 +10,6 @@
.no-res { .no-res {
text-align: center; text-align: center;
// height: calc(100% - 1rem);
display: grid; display: grid;
.highlight { .highlight {
+1 -1
View File
@@ -183,7 +183,7 @@ button {
/* Handle */ /* Handle */
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background: grey; background: rgba(128, 128, 128, 0.322);
border-radius: 1rem; border-radius: 1rem;
} }
+6 -2
View File
@@ -146,16 +146,20 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 1rem 0 1rem; padding: 0 1rem 0 1rem;
position: relative;
padding-left: 14rem;
.art { .art {
width: 14rem; position: absolute;
left: $small;
width: 13rem;
height: 13rem; height: 13rem;
background: no-repeat center/cover; background: no-repeat center/cover;
margin-right: 1rem; margin-right: 1rem;
} }
.info { .info {
width: calc(100% - 13rem); width: 100%;
height: calc(100% - 1rem); height: calc(100% - 1rem);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
+1 -2
View File
@@ -23,8 +23,7 @@ const props = defineProps({
<style lang="scss"> <style lang="scss">
.f-container { .f-container {
padding: $small 0 $smaller 0; padding: 0 0 0 0;
overflow: hidden;
} }
.no_f { .no_f {
@@ -87,6 +87,8 @@ const props = defineProps({
padding: 0.6rem 0 0.6rem 0; padding: 0.6rem 0 0.6rem 0;
&:hover { &:hover {
background-color: rgba(73, 73, 73, 0.13);
#home-icon { #home-icon {
background-color: rgba(145, 58, 58, 0.555); background-color: rgba(145, 58, 58, 0.555);
} }
+1
View File
@@ -29,6 +29,7 @@
height: 14rem; height: 14rem;
background-image: url("../../assets/images/eggs.jpg"); background-image: url("../../assets/images/eggs.jpg");
position: relative; position: relative;
margin-top: $small;
.last-updated { .last-updated {
position: absolute; position: absolute;
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<div class="r-home border"> <div class="r-home">
<NowPlaying /> <NowPlaying />
<Recommendations /> <Recommendations />
</div> </div>
+2 -2
View File
@@ -1,7 +1,7 @@
<template> <template>
<div class="r-sidebar"> <div class="r-sidebar">
<div class="grid"> <div class="grid">
<div class="r-content"> <div class="r-content border">
<div class="r-dash" v-show="current_tab == tabs.home"> <div class="r-dash" v-show="current_tab == tabs.home">
<DashBoard /> <DashBoard />
</div> </div>
@@ -13,7 +13,7 @@
<UpNext /> <UpNext />
</div> </div>
</div> </div>
<div class="tab-keys card-dark"> <div class="tab-keys card-dark border">
<Tabs :current_tab="current_tab" :tabs="tabs" @changeTab="changeTab" /> <Tabs :current_tab="current_tab" :tabs="tabs" @changeTab="changeTab" />
</div> </div>
</div> </div>
+1 -5
View File
@@ -1,5 +1,5 @@
<template> <template>
<div class="up-next border"> <div class="up-next">
<p class="heading">COMING UP NEXT</p> <p class="heading">COMING UP NEXT</p>
<div class="r-grid"> <div class="r-grid">
<div class="main-item h-1 border" @click="playNext"> <div class="main-item h-1 border" @click="playNext">
@@ -129,10 +129,6 @@ export default {
overflow: auto; overflow: auto;
background-color: $card-dark; background-color: $card-dark;
scrollbar-color: grey transparent; scrollbar-color: grey transparent;
&::-webkit-scrollbar-track {
background-color: transparent;
}
} }
} }
} }
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<div class="right-search border"> <div class="right-search">
<div> <div>
<div class="input"> <div class="input">
<Loader/> <Loader/>
+2 -1
View File
@@ -71,8 +71,9 @@ export default {
.al-view { .al-view {
height: calc(100% - 1rem); height: calc(100% - 1rem);
overflow: auto; overflow: auto;
margin-top: $small; margin: $smaller $small;
scrollbar-width: none; scrollbar-width: none;
.songs { .songs {
padding: $small; padding: $small;
background-color: $card-dark; background-color: $card-dark;
+2 -3
View File
@@ -1,5 +1,5 @@
<template> <template>
<div id="f-view-parent" class="rounded"> <div id="f-view-parent" class="card-dark">
<div class="fixed"> <div class="fixed">
<Header :path="path" :first_song="songs[0]" @search="updateQueryString" /> <Header :path="path" :first_song="songs[0]" @search="updateQueryString" />
</div> </div>
@@ -128,10 +128,9 @@ export default {
<style lang="scss"> <style lang="scss">
#f-view-parent { #f-view-parent {
position: relative; position: relative;
background-color: $card-dark;
padding: 4rem $small 0 $small; padding: 4rem $small 0 $small;
overflow: hidden; overflow: hidden;
margin: $smaller; margin: 0;
} }
#f-view-parent .fixed { #f-view-parent .fixed {
+4 -3
View File
@@ -3,7 +3,7 @@
<Header :playlist_info="playlist_info" /> <Header :playlist_info="playlist_info" />
<div class="separator no-border"></div> <div class="separator no-border"></div>
<div class="songlist rounded border"> <div class="songlist rounded">
<SongList :songs="songs" /> <SongList :songs="songs" />
</div> </div>
<div class="separator no-border"></div> <div class="separator no-border"></div>
@@ -40,9 +40,10 @@ export default {
<style lang="scss"> <style lang="scss">
.playlist-view { .playlist-view {
height: calc(100% - $small); height: calc(100% - 0rem);
margin: $smaller $smaller 0 $smaller; margin: 0 $small;
overflow: auto; overflow: auto;
padding-bottom: $small;
&::-webkit-scrollbar { &::-webkit-scrollbar {
display: none; display: none;