From adc545a0cb55836c92f8e7e31153584c219767aa Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 5 Apr 2024 13:46:33 -0400 Subject: user menu --- src/public/css/common.css | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'src/public/css') diff --git a/src/public/css/common.css b/src/public/css/common.css index 3e6b6b6..de9dedb 100644 --- a/src/public/css/common.css +++ b/src/public/css/common.css @@ -446,8 +446,8 @@ input.btn:focus { @keyframes slideIn { 0% { - animation-timing-function: ease-out; - transform: translate(0, -50%); + animation-timing-function: ease-in; + transform: translate(0, -20%); } } @@ -621,3 +621,27 @@ input[type=radio] { .grow { flex-grow: 1; } + +#user-menu { + position: fixed; + right: .5rem; + top: 4rem; + min-width: fit-content; + animation: fadeIn .1s, slideIn .1s linear; +} + +#user-menu .btn { + width: 100%; +} + +#user-menu-header { + align-items: center; +} + +#user-menu-header .pfp { + margin-right: 1rem; +} + +.hidden { + display: none; +} -- cgit v1.2.3-freya