From 56c233bc22c5f2a9ba9f92abec79a1ed9a8d62cf Mon Sep 17 00:00:00 2001 From: Silversthorn Date: Sun, 28 Jul 2024 19:24:51 +0200 Subject: [PATCH] Fixing Login page --- app/frontend/static/assets/css/crafty.css | 3 +-- .../static/assets/css/partial/crafty-login_page.css | 12 ++++++++++-- app/frontend/templates/panel/custom_login.html | 4 ---- app/frontend/templates/public/login.html | 2 +- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/frontend/static/assets/css/crafty.css b/app/frontend/static/assets/css/crafty.css index a613bbd8..2e3fe1ba 100644 --- a/app/frontend/static/assets/css/crafty.css +++ b/app/frontend/static/assets/css/crafty.css @@ -277,7 +277,7 @@ div>.input-group>.form-control { } .custom-switch .custom-control-label::after { - top: calc(-0.125rem + 1px); + top: calc(-0.175rem); } .custom-radio .custom-control-label::after { @@ -366,7 +366,6 @@ noscript.noscript-warning { color: var(--purple); } - /**************************************************************/ div.form-group.reset-secret { background: rgba(243, 21, 6, 0.3); diff --git a/app/frontend/static/assets/css/partial/crafty-login_page.css b/app/frontend/static/assets/css/partial/crafty-login_page.css index 51325b57..6ecc0166 100644 --- a/app/frontend/static/assets/css/partial/crafty-login_page.css +++ b/app/frontend/static/assets/css/partial/crafty-login_page.css @@ -28,9 +28,17 @@ box-shadow: 0 12px 16px 0 hsla(0, 0%, 0%, 0.4); } -#error-filed { - color: red; +#error-field { + color: var(--red); text-align: center; + margin-bottom: 2rem; } +.loginError { + color: var(--red); + text-align: center; + margin-bottom: 2rem; +} + + /**************************************************************/ \ No newline at end of file diff --git a/app/frontend/templates/panel/custom_login.html b/app/frontend/templates/panel/custom_login.html index c2973de5..3f25f181 100644 --- a/app/frontend/templates/panel/custom_login.html +++ b/app/frontend/templates/panel/custom_login.html @@ -185,10 +185,6 @@ In -
- -
-
  diff --git a/app/frontend/templates/public/login.html b/app/frontend/templates/public/login.html index 8b05b65b..47abe045 100644 --- a/app/frontend/templates/public/login.html +++ b/app/frontend/templates/public/login.html @@ -71,7 +71,7 @@
-
+