more refactoring

This commit is contained in:
geoffrey45
2022-02-23 21:48:57 +03:00
parent fe07961757
commit 38df211882
16 changed files with 85 additions and 51 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
<template>
<div class="albums-results">
<div class="heading theme">ALBUMS</div>
<div class="heading">Albums</div>
<div class="grid">
<AlbumCard v-for="album in albums" :key="album" :album="album" />
</div>
@@ -39,16 +39,17 @@ export default {
padding: $small;
overflow-x: hidden;
border: solid 2px $theme;
.result-item:hover {
border: solid 2px $theme;
background-color: $gray3;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
flex-wrap: wrap;
gap: $small;
gap: 1rem;
}
}
</style>
+12 -9
View File
@@ -1,6 +1,6 @@
<template>
<div class="artists-results">
<div class="heading theme">ARTISTS</div>
<div class="heading">Artists</div>
<div class="grid">
<ArtistCard v-for="artist in artists" :key="artist" :artist="artist" />
</div>
@@ -31,23 +31,26 @@ export default {
</script>
<style lang="scss">
.right-search .artists-results {
border-radius: 0.5rem;
background: #1214178c;
padding: $small;
margin-bottom: $small;
border: solid 2px $theme;
.xartist:hover {
border: solid 2px $theme;
.xartist {
background: linear-gradient(
to bottom,
$gray2 20%,
$gray4 50%,
$gray 80%
);
}
.grid {
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: .75rem;
}
}
</style>
+12 -2
View File
@@ -1,6 +1,6 @@
<template>
<div class="morexx">
<button @click="loadMore" class="theme">
<button @click="loadMore" class="">
<div class="text">Load More</div>
</button>
</div>
@@ -27,9 +27,19 @@ export default {
margin-top: $small;
button {
border-radius: 1.5rem;
height: 2.5rem;
width: 10rem;
width: 15rem;
display: grid;
transition: all 0.5s ease;
color: rgba(255, 255, 255, 0.87) !important;
background-color: transparent;
border: solid 1px $gray;
&:hover {
background-color: $gray !important;
width: 50%;
}
}
}
</style>
+1
View File
@@ -68,6 +68,7 @@ export default {
overflow: hidden;
transition: all 0.2s ease-in-out;
position: relative;
background-color: $gray4;
.title {
position: absolute;
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="tracks-results" v-if="tracks">
<div class="heading theme">TRACKS</div>
<div class="heading">Tracks</div>
<div class="items">
<table>
<tbody>