frontend: improve settings page
This commit is contained in:
parent
d837dbddb4
commit
96975c149b
1 changed files with 5 additions and 6 deletions
|
@ -22,17 +22,19 @@ import { maybeFade, maybeFly } from "../../animations";
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
/*
|
||||
.separator {
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
*/
|
||||
|
||||
.user-account-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: left;
|
||||
padding: var(--space-md);
|
||||
border-radius: var(--radius-md);
|
||||
border: solid 1px var(--background-color-3);
|
||||
border-radius: var(--radius-norm);
|
||||
background-color: var(--background-color-1);
|
||||
}
|
||||
|
||||
.large-settings {
|
||||
|
@ -47,10 +49,7 @@ import { maybeFade, maybeFly } from "../../animations";
|
|||
|
||||
<div class="modal-backdrop" transition:maybeFade="{{ duration: 300, easing: quintInOut }}" on:click="{ close }">
|
||||
<div class="modal" class:large-settings="{ !$smallViewport }" transition:maybeFly="{{ duration: 300, easing: quintInOut, y: 10 }}" on:click|stopPropagation>
|
||||
<span class="h4">Account</span>
|
||||
|
||||
<div class="separator" />
|
||||
|
||||
<span class="input-label">Account</span>
|
||||
<div class="user-account-card full-width">
|
||||
<AtSignIcon />
|
||||
<span class="h5 top-bar-heading">{ $userInfoStore ? $userInfoStore.username : "" }</span>
|
||||
|
|
Loading…
Reference in a new issue