refactor colors

This commit is contained in:
geoffrey45
2022-03-15 10:38:53 +03:00
parent 33a9aa2c30
commit f11005e523
22 changed files with 157 additions and 128 deletions
+51
View File
@@ -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>
+7 -6
View File
@@ -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;
+1 -1
View File
@@ -25,7 +25,7 @@ const tabs = useTabStore();
padding: $small;
.cont {
background-color: $gray3;
background-color: $primary;
display: flex;
gap: $small;
height: 100%;