diff --git a/public/assets/icons/bell.svg b/public/assets/icons/bell.svg new file mode 100644 index 0000000..bba561c --- /dev/null +++ b/public/assets/icons/bell.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/style.css b/public/style.css index ba3c47b..50e4533 100644 --- a/public/style.css +++ b/public/style.css @@ -14,14 +14,17 @@ -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; - background-color: #fff; - color: #111; - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; --accent-color: rgb(245, 141, 210); --accent-color-bri: rgb(255, 191, 234); accent-color: var(--accent-color); + + --text-color: #111; + --background-color: #fff; + + background-color: var(--background-color); + color: var(--text-color); } ::selection { @@ -47,8 +50,8 @@ a:hover { @media (prefers-color-scheme: dark) { :root { - background-color: #111; - color: #fff; + --text-color: #fff; + --background-color: #111; } .dim { @@ -112,4 +115,37 @@ pre { .error { color: #f33; +} + +.circle-button { + border-radius: 10px; + border: 1px solid var(--accent-color); + color: var(--accent-color); + transition: 0.1s border-color, 0.1s color; + padding: 0.5em; + margin: 0.5em; + height: 48px; + width: 48px; +} +.circle-button:hover { + border-color: var(--accent-color-bri); + color: var(--accent-color-bri); +} +.circle-button > svg, .circle-button > img { + display: block; + width: 100%; + height: 100%; + object-fit: contain; +} + +@media (max-width: 650px) { + /* mobile layout gets bigger buttons */ + .circle-button { + height: 54px; + width: 54px; + } +} + +.circle-button.notifications-unread > svg { + fill: currentColor; } \ No newline at end of file diff --git a/public/template/account_management.ecr b/public/template/account_management.ecr index 7d5e525..20f7c5f 100644 --- a/public/template/account_management.ecr +++ b/public/template/account_management.ecr @@ -21,7 +21,6 @@ color: #000; border-radius: 1.5em; padding: 1em; - margin: 1em; display: flex; flex-direction: row; @@ -85,26 +84,48 @@ margin: auto; display: block; } + + .header { + height: 96px; + display: flex; + flex-direction: row; + align-items: center; + gap: 1em; + margin: 1em; + } + .header > .greeting { + flex: 1 1 0px; + min-width: 0; + } + .header > .circle-button { + flex: 0 0 auto; + max-width: 100%; + }