frontend: improve settings page

This commit is contained in:
hippoz 2022-05-06 03:10:14 +03:00
parent d837dbddb4
commit 96975c149b
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -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>