mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
refactor colors
This commit is contained in:
@@ -140,3 +140,54 @@ search.$subscribe((mutation, state) => {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.right-search {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-rows: min-content 1fr;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
padding: $small $small 0 0;
|
||||
|
||||
.no-res {
|
||||
text-align: center;
|
||||
display: grid;
|
||||
height: calc(100% - $small);
|
||||
place-items: center;
|
||||
font-size: 2rem;
|
||||
transition: all 0.3s ease;
|
||||
line-height: 4rem !important;
|
||||
|
||||
.highlight {
|
||||
padding: $small;
|
||||
background-color: rgb(29, 26, 26);
|
||||
}
|
||||
}
|
||||
|
||||
.heading {
|
||||
padding: $medium;
|
||||
border-radius: $small;
|
||||
margin-bottom: $small;
|
||||
text-align: center !important;
|
||||
font-size: 2rem;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.right-search .scrollable {
|
||||
overflow-y: auto;
|
||||
scrollbar-width: none;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<template>
|
||||
<div class="gsearch-input">
|
||||
<Filters :filters="search.filters" @removeFilter="removeFilter" />
|
||||
<div class="input-loader border">
|
||||
<div class="input-loader">
|
||||
<input
|
||||
id="search"
|
||||
class="rounded"
|
||||
v-model="search.query"
|
||||
placeholder="Aretha Franklin"
|
||||
placeholder="Search"
|
||||
type="text"
|
||||
@keyup.backspace="removeLastFilter"
|
||||
/>
|
||||
@@ -44,8 +45,7 @@ function removeLastFilter() {
|
||||
|
||||
<style lang="scss">
|
||||
.gsearch-input {
|
||||
margin-top: $small;
|
||||
padding: 0 $small;
|
||||
padding: $small;
|
||||
display: flex;
|
||||
|
||||
@include tablet-landscape {
|
||||
@@ -59,7 +59,7 @@ function removeLastFilter() {
|
||||
|
||||
._loader {
|
||||
position: absolute;
|
||||
top: -0.25rem;
|
||||
top: -0.15rem;
|
||||
right: 2rem;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,8 @@ function removeLastFilter() {
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
border: none;
|
||||
line-height: 2rem;
|
||||
border: solid 1px $primary;
|
||||
line-height: 2.25rem;
|
||||
background-color: transparent;
|
||||
color: rgb(255, 255, 255);
|
||||
font-size: 1rem;
|
||||
|
||||
@@ -25,7 +25,7 @@ const tabs = useTabStore();
|
||||
padding: $small;
|
||||
|
||||
.cont {
|
||||
background-color: $gray3;
|
||||
background-color: $primary;
|
||||
display: flex;
|
||||
gap: $small;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user