Redesign page search input area

+ redefine global search input colors
+ redesign settings page
+ move settings text to a strings module
+ add title and description to now playing settings
This commit is contained in:
geoffrey45
2022-09-27 21:28:42 +03:00
committed by Mungai Njoroge
parent 460695fd87
commit 62b9aa7a3e
23 changed files with 181 additions and 143 deletions
@@ -13,7 +13,7 @@ defineProps<{
<style lang="scss">
.switch {
height: 1.5rem;
background-color: $gray;
background-color: $gray3;
width: 2.5rem;
padding: $smaller;
position: relative;
+11 -6
View File
@@ -1,10 +1,10 @@
<template>
<div class="settingsgroup">
<div v-if="group.name || group.desc">
<h4 v-if="group.name">{{ group.name }}</h4>
<div v-if="group.title || group.desc" class="info">
<h4 v-if="group.title">{{ group.title }}</h4>
<div class="desc" v-if="group.desc">{{ group.desc }}</div>
</div>
<div class="setting rounded border pad-lg">
<div class="setting rounded pad-lg">
<div
v-for="(setting, index) in group.settings"
:key="index"
@@ -39,21 +39,26 @@ defineProps<{
display: grid;
gap: $small;
margin-top: 2rem;
&:first-child {
margin-top: 0;
}
.info {
margin-left: $smaller;
}
h4 {
margin: $small auto;
}
.desc {
opacity: 0.5;
font-size: 0.9rem;
font-size: 0.8rem;
}
.setting {
background-color: $gray;
display: grid;
gap: 1rem;