mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-08 04:05:35 +00:00
color changes in search
This commit is contained in:
parent
5e48496ccb
commit
f141dd7f06
@ -18,12 +18,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
margin-left: $small;
|
padding: $medium;
|
||||||
background-color: rgb(3, 54, 112);
|
|
||||||
width: 6rem;
|
|
||||||
padding: $small;
|
|
||||||
border-radius: $small;
|
border-radius: $small;
|
||||||
margin-bottom: $small;
|
margin-bottom: $small;
|
||||||
|
text-align: center !important;
|
||||||
|
font-size: 1;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
@ -31,7 +31,6 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-search .scrollable {
|
.right-search .scrollable {
|
||||||
@ -64,7 +63,7 @@
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
padding-left: .75rem;
|
padding-left: 0.75rem;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import Search from "../Search.vue";
|
import Search from "./Search.vue";
|
||||||
import UpNext from "./Queue.vue";
|
import UpNext from "./Queue.vue";
|
||||||
import Tabs from "./Tabs.vue";
|
import Tabs from "./Tabs.vue";
|
||||||
import Main from "./Home/Main.vue";
|
import Main from "./Home/Main.vue";
|
||||||
@ -63,9 +63,9 @@ function changeTab(tab) {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include tablet-landscape {
|
// @include tablet-landscape {
|
||||||
width: 3rem;
|
// width: 3rem;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -77,9 +77,9 @@ function changeTab(tab) {
|
|||||||
width: 29rem;
|
width: 29rem;
|
||||||
|
|
||||||
|
|
||||||
@include tablet-landscape {
|
// @include tablet-landscape {
|
||||||
display: none;
|
// display: none;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.r-search {
|
.r-search {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="albums-results border">
|
<div class="albums-results">
|
||||||
<div class="heading">💿 ALBUMS</div>
|
<div class="heading">ALBUMS</div>
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<AlbumCard v-for="album in albums" :key="album" :album="album" />
|
<AlbumCard v-for="album in albums" :key="album" :album="album" />
|
||||||
</div>
|
</div>
|
||||||
@ -31,19 +31,34 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
$theme: #353333;
|
||||||
|
|
||||||
.right-search .albums-results {
|
.right-search .albums-results {
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
background: #0f131b44;
|
background: #0f131b44;
|
||||||
margin-top: $small;
|
margin-top: $small;
|
||||||
padding-bottom: $small;
|
padding: $small;
|
||||||
padding-top: $small;
|
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
border: solid 2px $theme;
|
||||||
|
|
||||||
|
.result-item:hover {
|
||||||
|
border: solid 2px $theme;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heading {
|
||||||
|
background-color: $theme;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.morexx > button {
|
||||||
|
background-color: $theme !important;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: $small $small 0 $small;
|
|
||||||
gap: $small;
|
gap: $small;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="artists-results border">
|
<div class="artists-results">
|
||||||
<div class="heading">😳 ARTISTS</div>
|
<div class="heading">ARTISTS</div>
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<ArtistCard
|
<ArtistCard v-for="artist in artists" :key="artist" :artist="artist" />
|
||||||
v-for="artist in artists"
|
|
||||||
:key="artist"
|
|
||||||
:artist="artist"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<LoadMore v-if="more" @loadMore="loadMore" />
|
<LoadMore v-if="more" @loadMore="loadMore" />
|
||||||
</div>
|
</div>
|
||||||
@ -35,17 +31,32 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
$theme: #585858cc;
|
||||||
|
|
||||||
.right-search .artists-results {
|
.right-search .artists-results {
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
background: #1214178c;
|
background: #1214178c;
|
||||||
padding: $small 0;
|
padding: $small;
|
||||||
margin-bottom: $small;
|
margin-bottom: $small;
|
||||||
|
border: solid 2px $theme;
|
||||||
|
|
||||||
|
.xartist:hover {
|
||||||
|
border: solid 2px $theme;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heading {
|
||||||
|
background-color: $theme;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.morexx > button {
|
||||||
|
background-color: $theme !important;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
padding: $small $small 0 $small;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: $small;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="tracks-results border" v-if="tracks">
|
<div class="tracks-results" v-if="tracks">
|
||||||
<div class="heading">🎵 TRACKS</div>
|
<div class="heading">TRACKS</div>
|
||||||
<div class="items">
|
<div class="items">
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -31,7 +31,7 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(["loadMore"])
|
const emit = defineEmits(["loadMore"]);
|
||||||
|
|
||||||
function loadMore() {
|
function loadMore() {
|
||||||
emit("loadMore", "tracks");
|
emit("loadMore", "tracks");
|
||||||
@ -39,8 +39,21 @@ function loadMore() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
$theme: rgb(86, 86, 87);
|
||||||
|
|
||||||
.right-search .tracks-results {
|
.right-search .tracks-results {
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
padding: 1rem $small;
|
padding: $small;
|
||||||
|
border: 2px solid $theme;
|
||||||
|
|
||||||
|
.heading {
|
||||||
|
background-color: $theme;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.morexx > button {
|
||||||
|
background-color: $theme !important;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -31,10 +31,11 @@ export default {
|
|||||||
padding: $small;
|
padding: $small;
|
||||||
border-radius: .75rem;
|
border-radius: .75rem;
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
|
border: solid 2px transparent;
|
||||||
|
|
||||||
&:hover {
|
// &:hover {
|
||||||
background-color: #1b3688cb;
|
// background-color: #1b3688cb;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.album-art {
|
.album-art {
|
||||||
height: 7.5rem;
|
height: 7.5rem;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="xartist" :style="{ backgroundColor: `#${color}` }">
|
<div class="xartist" :style="{ backgroundColor: `#${color}` }">
|
||||||
<div
|
<div
|
||||||
class="artist-image image"
|
class="artist-image image border-sm"
|
||||||
:style="{ backgroundImage: `url('${artist.image}')` }"
|
:style="{ backgroundImage: `url('${artist.image}')` }"
|
||||||
></div>
|
></div>
|
||||||
<div>
|
<div>
|
||||||
@ -30,19 +30,17 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
.artist-image {
|
.artist-image {
|
||||||
width: 7em;
|
width: 7em;
|
||||||
height: 7em;
|
height: 7em;
|
||||||
border: solid;
|
|
||||||
border-radius: 60%;
|
border-radius: 60%;
|
||||||
margin-bottom: $small;
|
margin-bottom: $small;
|
||||||
background-size: 7rem 7rem;
|
background-size: 7rem 7rem;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
transition: all 0.5s ease-in-out;
|
transition: all 0.5s ease-in-out;
|
||||||
border: solid 1px rgba(5, 5, 5, 0.055);
|
|
||||||
box-shadow: 0 0 80px rgb(0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user