wu981526092 commited on
Commit
45acb90
·
1 Parent(s): e0f4f44

Switch login page to light theme for consistency with main app

Browse files
Files changed (1) hide show
  1. backend/templates/login.html +49 -28
backend/templates/login.html CHANGED
@@ -1,5 +1,5 @@
1
  <!DOCTYPE html>
2
- <html lang="en" class="dark">
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: 240 10% 3.9%;
17
- --foreground: 210 40% 98%;
18
- --card: 240 10% 3.9%;
19
- --card-foreground: 210 40% 98%;
20
- --popover: 240 10% 3.9%;
21
- --popover-foreground: 210 40% 98%;
22
  --primary: 262 83% 58%;
23
  --primary-foreground: 210 40% 98%;
24
- --secondary: 240 3.7% 15.9%;
25
- --secondary-foreground: 210 40% 98%;
26
- --muted: 240 3.7% 15.9%;
27
- --muted-foreground: 240 5% 64.9%;
28
- --accent: 240 3.7% 15.9%;
29
- --accent-foreground: 210 40% 98%;
30
- --destructive: 0 62.8% 30.6%;
31
  --destructive-foreground: 210 40% 98%;
32
- --border: 240 3.7% 15.9%;
33
- --input: 240 3.7% 15.9%;
34
  --ring: 262 83% 58%;
35
  --radius: 0.5rem;
36
  }
@@ -43,20 +43,17 @@
43
  }
44
 
45
  .glass-card {
46
- background: rgba(255, 255, 255, 0.05);
47
  backdrop-filter: blur(20px);
48
  -webkit-backdrop-filter: blur(20px);
49
- border: 1px solid rgba(255, 255, 255, 0.1);
50
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
51
- inset 0 1px 0 rgba(255, 255, 255, 0.1);
52
  transition: all 0.3s ease;
53
  }
54
 
55
  .glass-card:hover {
56
- background: rgba(255, 255, 255, 0.08);
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(--muted-foreground)) 100%
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-gradient-to-br from-background via-background to-secondary"
 
 
 
 
 
 
 
113
  >
114
  <!-- Background decoration -->
115
  <div
116
- class="absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/10 pointer-events-none"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-4">
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
  >