[frontend/components] Update settings menu and styling
This commit is contained in:
parent
c3086418e8
commit
db9db4f180
3 changed files with 33 additions and 8 deletions
|
@ -10,18 +10,18 @@
|
||||||
<span class="text">@Loc["Profile"]</span>
|
<span class="text">@Loc["Profile"]</span>
|
||||||
</div>
|
</div>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
<NavLink href="/settings/about">
|
|
||||||
<div class="sidebar-btn">
|
|
||||||
<Icon Name="Icons.Info"/>
|
|
||||||
<span class="text">@Loc["About"]</span>
|
|
||||||
</div>
|
|
||||||
</NavLink>
|
|
||||||
<NavLink href="/settings/filters">
|
<NavLink href="/settings/filters">
|
||||||
<div class="sidebar-btn">
|
<div class="sidebar-btn">
|
||||||
<Icon Name="Icons.SpeakerX"/>
|
<Icon Name="Icons.SpeakerX"/>
|
||||||
<span class="text">@Loc["Filters"]</span>
|
<span class="text">@Loc["Filters"]</span>
|
||||||
</div>
|
</div>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
|
<NavLink href="/settings/about">
|
||||||
|
<div class="sidebar-btn">
|
||||||
|
<Icon Name="Icons.Info"/>
|
||||||
|
<span class="text">@Loc["About"]</span>
|
||||||
|
</div>
|
||||||
|
</NavLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
|
@ -4,17 +4,24 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
padding-inline: 0.5rem;
|
padding-inline: 1rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
margin-inline: 1rem;
|
margin-inline: 1rem;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
background: var(--foreground-color);
|
background: var(--foreground-color);
|
||||||
|
|
||||||
|
> i {
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.sidebar-btn:hover {
|
||||||
|
background-color: var(--hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
min-width: 10rem;
|
width: 15rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
::deep {
|
::deep {
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
::deep {
|
||||||
|
.input {
|
||||||
|
display: block;
|
||||||
|
background-color: var(--foreground-color);
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
width: 100%;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
padding: 0.5rem;
|
||||||
|
padding-inline: 1rem;
|
||||||
|
margin: 0.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.layout {
|
.layout {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -8,6 +22,10 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
|
|
||||||
|
> .body {
|
||||||
|
max-width: 50rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media(max-width: 1000px){
|
@media(max-width: 1000px){
|
||||||
|
|
Loading…
Add table
Reference in a new issue