From e07d438fb2abb7e09e2d78718ee9e92a7ddf555a Mon Sep 17 00:00:00 2001 From: Kobe Date: Sun, 25 May 2025 11:48:03 +0200 Subject: [PATCH] restructure login pages --- static/css/auth.css | 47 +++++++++++++++++++++++++++ templates/login.html | 56 +++------------------------------ templates/profile.html | 70 ++++++++++++++++++++++++----------------- templates/register.html | 56 +++------------------------------ 4 files changed, 97 insertions(+), 132 deletions(-) create mode 100644 static/css/auth.css diff --git a/static/css/auth.css b/static/css/auth.css new file mode 100644 index 0000000..e040db3 --- /dev/null +++ b/static/css/auth.css @@ -0,0 +1,47 @@ +:root { + --primary-color: #16767b; + --secondary-color: #741b5f; + --primary-light: #1a8a90; + --secondary-light: #8a2170; +} + +body { + background-color: #f8f9fa; +} + +.auth-container { + max-width: 400px; + margin: 100px auto; +} + +.auth-card { + border: none; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.auth-header { + background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); + color: white; + padding: 20px; + border-radius: 10px 10px 0 0; +} + +.btn-primary { + background-color: var(--primary-color); + border-color: var(--primary-color); +} + +.btn-primary:hover { + background-color: var(--primary-light); + border-color: var(--primary-light); +} + +.form-control:focus { + border-color: var(--primary-color); + box-shadow: 0 0 0 0.2rem rgba(22, 118, 123, 0.25); +} + +.alert { + border-radius: 10px; +} \ No newline at end of file diff --git a/templates/login.html b/templates/login.html index b66ee09..c0445d4 100644 --- a/templates/login.html +++ b/templates/login.html @@ -6,61 +6,13 @@ Login - DocuPulse - +
-