From d17513bec089e4fe7e969e5b6da5529187d3bdcc Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 8 Mar 2025 20:40:00 +0200 Subject: [PATCH] style(next): tweak the style of the login page --- src/public/stylesheets/theme-next/shell.css | 34 +++++++++++++++++++++ src/views/login.ejs | 15 ++++----- 2 files changed, 42 insertions(+), 7 deletions(-) diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css index f19ca12d7..ea20a2b66 100644 --- a/src/public/stylesheets/theme-next/shell.css +++ b/src/public/stylesheets/theme-next/shell.css @@ -86,6 +86,40 @@ body.background-effects.platform-win32.layout-vertical #vertical-main-container border-right: 2px solid var(--left-pane-collapsed-border-color); } +/* + * Log in page + */ + +.login-page { + display: flex; + height: 100%; + flex-direction: column; + justify-content: center; +} + +.login-page > div { + padding-top: 0 !important; + padding-bottom: 20vh; +} + +.login-page h1 { + margin-bottom: .5em; + font-weight: 300; + color: var(--muted-text-color); +} + +.login-page .form-group { + margin-top: 8px; +} + +.login-page .alert { + margin: 0; + border: unset; + padding: 8px 0 0 0; + font-size: .85em; + color: var(--dropdown-item-icon-destructive-color) !important; +} + /* * Global menu */ diff --git a/src/views/login.ejs b/src/views/login.ejs index b4d9bc9bf..da23c76f2 100644 --- a/src/views/login.ejs +++ b/src/views/login.ejs @@ -13,17 +13,11 @@ -
+