From 0150c19b75d284373013eb52efdb5c52146dbdc9 Mon Sep 17 00:00:00 2001 From: Ian Roddis <31021769+iroddis@users.noreply.github.com> Date: Thu, 16 Jul 2026 22:10:36 -0300 Subject: [PATCH] Making login screen a bit clearer --- app/static/css/style.css | 38 +++++++++++++++++++++++ app/templates/login.html | 66 ++++++++++++++++++++++++++-------------- app/web/pages.py | 5 ++- 3 files changed, 83 insertions(+), 26 deletions(-) diff --git a/app/static/css/style.css b/app/static/css/style.css index fb41736..6c1f7ca 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -607,6 +607,44 @@ textarea:focus { margin-bottom: 0.75rem; } +.local-login-panel { + margin-top: 1.25rem; + border-top: 1px solid var(--border); + padding-top: 1rem; +} + +.local-login-panel summary { + cursor: pointer; + color: var(--muted); + font-size: 0.875rem; + user-select: none; + list-style: none; + display: flex; + align-items: center; + gap: 0.4rem; +} + +.local-login-panel summary::-webkit-details-marker { display: none; } + +.local-login-panel summary::before { + content: '›'; + font-size: 1.1em; + transition: transform 0.15s; + display: inline-block; +} + +.local-login-panel[open] summary::before { + transform: rotate(90deg); +} + +.local-login-panel summary:hover { + color: var(--text); +} + +.local-login-panel form { + margin-top: 1rem; +} + /* ─── Light theme ────────────────────────────────────────────────────────── */ @media (prefers-color-scheme: light) { :root { diff --git a/app/templates/login.html b/app/templates/login.html index d740062..ee71fce 100644 --- a/app/templates/login.html +++ b/app/templates/login.html @@ -2,31 +2,51 @@ {% block title %}Sign in · {{ app_name }}{% endblock %} {% block body %}