Spaces:
Sleeping
Sleeping
Commit ·
45acb90
1
Parent(s): e0f4f44
Switch login page to light theme for consistency with main app
Browse files- backend/templates/login.html +49 -28
backend/templates/login.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html lang="en"
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
@@ -13,24 +13,24 @@
|
|
| 13 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 14 |
<style>
|
| 15 |
:root {
|
| 16 |
-
--background:
|
| 17 |
-
--foreground:
|
| 18 |
-
--card:
|
| 19 |
-
--card-foreground:
|
| 20 |
-
--popover:
|
| 21 |
-
--popover-foreground:
|
| 22 |
--primary: 262 83% 58%;
|
| 23 |
--primary-foreground: 210 40% 98%;
|
| 24 |
-
--secondary: 240
|
| 25 |
-
--secondary-foreground:
|
| 26 |
-
--muted: 240
|
| 27 |
-
--muted-foreground: 240
|
| 28 |
-
--accent: 240
|
| 29 |
-
--accent-foreground:
|
| 30 |
-
--destructive: 0
|
| 31 |
--destructive-foreground: 210 40% 98%;
|
| 32 |
-
--border: 240
|
| 33 |
-
--input: 240
|
| 34 |
--ring: 262 83% 58%;
|
| 35 |
--radius: 0.5rem;
|
| 36 |
}
|
|
@@ -43,20 +43,17 @@
|
|
| 43 |
}
|
| 44 |
|
| 45 |
.glass-card {
|
| 46 |
-
background:
|
| 47 |
backdrop-filter: blur(20px);
|
| 48 |
-webkit-backdrop-filter: blur(20px);
|
| 49 |
-
border: 1px solid
|
| 50 |
-
box-shadow: 0
|
| 51 |
-
|
| 52 |
transition: all 0.3s ease;
|
| 53 |
}
|
| 54 |
|
| 55 |
.glass-card:hover {
|
| 56 |
-
|
| 57 |
-
border: 1px solid rgba(255, 255, 255, 0.15);
|
| 58 |
-
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4),
|
| 59 |
-
inset 0 1px 0 rgba(255, 255, 255, 0.15);
|
| 60 |
transform: translateY(-2px);
|
| 61 |
}
|
| 62 |
|
|
@@ -81,7 +78,7 @@
|
|
| 81 |
background: linear-gradient(
|
| 82 |
135deg,
|
| 83 |
hsl(var(--foreground)) 0%,
|
| 84 |
-
hsl(var(--
|
| 85 |
);
|
| 86 |
-webkit-background-clip: text;
|
| 87 |
-webkit-text-fill-color: transparent;
|
|
@@ -109,11 +106,35 @@
|
|
| 109 |
</head>
|
| 110 |
<body>
|
| 111 |
<div
|
| 112 |
-
class="min-h-screen bg-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
>
|
| 114 |
<!-- Background decoration -->
|
| 115 |
<div
|
| 116 |
-
class="absolute inset-0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
></div>
|
| 118 |
|
| 119 |
<div class="container mx-auto px-4 py-20 relative z-10">
|
|
@@ -121,7 +142,7 @@
|
|
| 121 |
<!-- Content Section -->
|
| 122 |
<div class="space-y-8">
|
| 123 |
<!-- Title -->
|
| 124 |
-
<div class="space-y-
|
| 125 |
<h1
|
| 126 |
class="text-4xl lg:text-6xl font-bold gradient-text tracking-tight"
|
| 127 |
>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
| 13 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 14 |
<style>
|
| 15 |
:root {
|
| 16 |
+
--background: 0 0% 100%;
|
| 17 |
+
--foreground: 240 10% 3.9%;
|
| 18 |
+
--card: 0 0% 100%;
|
| 19 |
+
--card-foreground: 240 10% 3.9%;
|
| 20 |
+
--popover: 0 0% 100%;
|
| 21 |
+
--popover-foreground: 240 10% 3.9%;
|
| 22 |
--primary: 262 83% 58%;
|
| 23 |
--primary-foreground: 210 40% 98%;
|
| 24 |
+
--secondary: 240 4.8% 95.9%;
|
| 25 |
+
--secondary-foreground: 240 5.9% 10%;
|
| 26 |
+
--muted: 240 4.8% 95.9%;
|
| 27 |
+
--muted-foreground: 240 3.8% 46.1%;
|
| 28 |
+
--accent: 240 4.8% 95.9%;
|
| 29 |
+
--accent-foreground: 240 5.9% 10%;
|
| 30 |
+
--destructive: 0 84.2% 60.2%;
|
| 31 |
--destructive-foreground: 210 40% 98%;
|
| 32 |
+
--border: 240 5.9% 90%;
|
| 33 |
+
--input: 240 5.9% 90%;
|
| 34 |
--ring: 262 83% 58%;
|
| 35 |
--radius: 0.5rem;
|
| 36 |
}
|
|
|
|
| 43 |
}
|
| 44 |
|
| 45 |
.glass-card {
|
| 46 |
+
background: hsl(var(--card));
|
| 47 |
backdrop-filter: blur(20px);
|
| 48 |
-webkit-backdrop-filter: blur(20px);
|
| 49 |
+
border: 1px solid hsl(var(--border));
|
| 50 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05),
|
| 51 |
+
0 10px 15px rgba(0, 0, 0, 0.1);
|
| 52 |
transition: all 0.3s ease;
|
| 53 |
}
|
| 54 |
|
| 55 |
.glass-card:hover {
|
| 56 |
+
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
|
|
|
|
|
|
|
|
|
| 57 |
transform: translateY(-2px);
|
| 58 |
}
|
| 59 |
|
|
|
|
| 78 |
background: linear-gradient(
|
| 79 |
135deg,
|
| 80 |
hsl(var(--foreground)) 0%,
|
| 81 |
+
hsl(var(--primary)) 100%
|
| 82 |
);
|
| 83 |
-webkit-background-clip: text;
|
| 84 |
-webkit-text-fill-color: transparent;
|
|
|
|
| 106 |
</head>
|
| 107 |
<body>
|
| 108 |
<div
|
| 109 |
+
class="min-h-screen bg-background"
|
| 110 |
+
style="
|
| 111 |
+
background: linear-gradient(
|
| 112 |
+
135deg,
|
| 113 |
+
hsl(var(--background)) 0%,
|
| 114 |
+
hsl(var(--secondary)) 100%
|
| 115 |
+
);
|
| 116 |
+
"
|
| 117 |
>
|
| 118 |
<!-- Background decoration -->
|
| 119 |
<div
|
| 120 |
+
class="absolute inset-0 pointer-events-none"
|
| 121 |
+
style="
|
| 122 |
+
background: radial-gradient(
|
| 123 |
+
circle at 20% 50%,
|
| 124 |
+
rgba(120, 119, 198, 0.08) 0%,
|
| 125 |
+
transparent 50%
|
| 126 |
+
),
|
| 127 |
+
radial-gradient(
|
| 128 |
+
circle at 80% 20%,
|
| 129 |
+
rgba(255, 107, 107, 0.06) 0%,
|
| 130 |
+
transparent 50%
|
| 131 |
+
),
|
| 132 |
+
radial-gradient(
|
| 133 |
+
circle at 40% 80%,
|
| 134 |
+
rgba(78, 205, 196, 0.07) 0%,
|
| 135 |
+
transparent 50%
|
| 136 |
+
);
|
| 137 |
+
"
|
| 138 |
></div>
|
| 139 |
|
| 140 |
<div class="container mx-auto px-4 py-20 relative z-10">
|
|
|
|
| 142 |
<!-- Content Section -->
|
| 143 |
<div class="space-y-8">
|
| 144 |
<!-- Title -->
|
| 145 |
+
<div class="space-y-6">
|
| 146 |
<h1
|
| 147 |
class="text-4xl lg:text-6xl font-bold gradient-text tracking-tight"
|
| 148 |
>
|