Spaces:
Sleeping
Sleeping
Commit ·
ee00a0f
1
Parent(s): e5c85f7
Switch to white background light theme with gradient accents
Browse files- static/css/style.css +35 -34
static/css/style.css
CHANGED
|
@@ -8,29 +8,29 @@
|
|
| 8 |
--grad-end: #cf2040;
|
| 9 |
--grad-mid: #7a2a82;
|
| 10 |
|
| 11 |
-
--bg-deep: #
|
| 12 |
-
--bg-surface: #
|
| 13 |
-
--bg-elevated: #
|
| 14 |
-
--bg-card: #
|
| 15 |
-
--bg-hover: #
|
| 16 |
-
--border: rgba(
|
| 17 |
-
--border-hover: rgba(
|
| 18 |
-
--border-focus: rgba(46, 51, 197, 0.
|
| 19 |
-
--text: #
|
| 20 |
-
--text-muted: #
|
| 21 |
-
--text-dim: #
|
| 22 |
--accent: #7a6aed;
|
| 23 |
--accent-dim: #6358d4;
|
| 24 |
--accent-glow: rgba(122, 106, 237, 0.2);
|
| 25 |
-
--danger: #
|
| 26 |
-
--danger-dim: #
|
| 27 |
-
--danger-glow: rgba(
|
| 28 |
-
--success: #
|
| 29 |
--radius: 14px;
|
| 30 |
--radius-sm: 10px;
|
| 31 |
--radius-xs: 6px;
|
| 32 |
-
--shadow: 0 4px
|
| 33 |
-
--shadow-sm: 0 2px
|
| 34 |
--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
|
| 35 |
--font-mono: 'JetBrains Mono', monospace;
|
| 36 |
--transition: 0.2s ease;
|
|
@@ -56,8 +56,8 @@ body::before {
|
|
| 56 |
position: fixed;
|
| 57 |
inset: 0;
|
| 58 |
background-image:
|
| 59 |
-
radial-gradient(ellipse at 20% 0%, rgba(46, 51, 197, 0.
|
| 60 |
-
radial-gradient(ellipse at 80% 100%, rgba(207, 32, 64, 0.
|
| 61 |
pointer-events: none;
|
| 62 |
z-index: 0;
|
| 63 |
}
|
|
@@ -187,7 +187,7 @@ body::before {
|
|
| 187 |
background: none;
|
| 188 |
border: none;
|
| 189 |
cursor: pointer;
|
| 190 |
-
color: #
|
| 191 |
padding: 0.2rem;
|
| 192 |
display: flex;
|
| 193 |
align-items: center;
|
|
@@ -195,8 +195,8 @@ body::before {
|
|
| 195 |
transition: color var(--transition);
|
| 196 |
line-height: 0;
|
| 197 |
}
|
| 198 |
-
.password-toggle:hover { color: #
|
| 199 |
-
.password-toggle.active { color: #
|
| 200 |
|
| 201 |
/* ---- Cards ---- */
|
| 202 |
.card {
|
|
@@ -310,7 +310,7 @@ input:focus, select:focus, textarea:focus {
|
|
| 310 |
color: var(--text-muted);
|
| 311 |
padding: 0.5rem 0.75rem;
|
| 312 |
}
|
| 313 |
-
.btn-ghost:hover { color: var(--text); background: rgba(
|
| 314 |
|
| 315 |
.btn-danger {
|
| 316 |
background: var(--danger);
|
|
@@ -364,11 +364,11 @@ input:focus, select:focus, textarea:focus {
|
|
| 364 |
}
|
| 365 |
.user-badge {
|
| 366 |
font-size: 0.8rem;
|
| 367 |
-
color: rgba(255,255,255,0.
|
| 368 |
-
background: rgba(255,255,255,0.
|
| 369 |
padding: 0.3rem 0.7rem;
|
| 370 |
border-radius: 20px;
|
| 371 |
-
border: 1px solid rgba(255,255,255,0.
|
| 372 |
}
|
| 373 |
.nav .btn-ghost {
|
| 374 |
color: rgba(255,255,255,0.8);
|
|
@@ -583,9 +583,10 @@ input:focus, select:focus, textarea:focus {
|
|
| 583 |
}
|
| 584 |
.compare-label-left {
|
| 585 |
left: 10px;
|
| 586 |
-
background: rgba(
|
| 587 |
color: var(--text);
|
| 588 |
backdrop-filter: blur(6px);
|
|
|
|
| 589 |
}
|
| 590 |
.compare-label-right {
|
| 591 |
right: 10px;
|
|
@@ -658,7 +659,7 @@ input:focus, select:focus, textarea:focus {
|
|
| 658 |
}
|
| 659 |
.history-meta .tag {
|
| 660 |
display: inline-block;
|
| 661 |
-
background: var(--bg-
|
| 662 |
border: 1px solid var(--border);
|
| 663 |
padding: 0.1rem 0.45rem;
|
| 664 |
border-radius: var(--radius-xs);
|
|
@@ -680,7 +681,7 @@ input:focus, select:focus, textarea:focus {
|
|
| 680 |
position: fixed;
|
| 681 |
inset: 0;
|
| 682 |
z-index: 1000;
|
| 683 |
-
background: rgba(0,0,0,0.
|
| 684 |
backdrop-filter: blur(4px);
|
| 685 |
display: flex;
|
| 686 |
align-items: center;
|
|
@@ -698,7 +699,7 @@ input:focus, select:focus, textarea:focus {
|
|
| 698 |
padding: 1.75rem;
|
| 699 |
max-width: 400px;
|
| 700 |
width: 90%;
|
| 701 |
-
box-shadow: 0 16px 48px rgba(0,0,0,0.
|
| 702 |
}
|
| 703 |
.modal h3 {
|
| 704 |
font-size: 1.1rem;
|
|
@@ -725,13 +726,13 @@ input:focus, select:focus, textarea:focus {
|
|
| 725 |
margin-bottom: 1rem;
|
| 726 |
}
|
| 727 |
.alert-error {
|
| 728 |
-
background:
|
| 729 |
-
border: 1px solid
|
| 730 |
color: var(--danger);
|
| 731 |
}
|
| 732 |
.alert-success {
|
| 733 |
-
background:
|
| 734 |
-
border: 1px solid
|
| 735 |
color: var(--success);
|
| 736 |
}
|
| 737 |
|
|
|
|
| 8 |
--grad-end: #cf2040;
|
| 9 |
--grad-mid: #7a2a82;
|
| 10 |
|
| 11 |
+
--bg-deep: #ffffff;
|
| 12 |
+
--bg-surface: #f8f9fb;
|
| 13 |
+
--bg-elevated: #f1f3f7;
|
| 14 |
+
--bg-card: #ffffff;
|
| 15 |
+
--bg-hover: #edf0f5;
|
| 16 |
+
--border: rgba(0, 0, 0, 0.08);
|
| 17 |
+
--border-hover: rgba(0, 0, 0, 0.16);
|
| 18 |
+
--border-focus: rgba(46, 51, 197, 0.45);
|
| 19 |
+
--text: #1a1a2e;
|
| 20 |
+
--text-muted: #555770;
|
| 21 |
+
--text-dim: #8890a4;
|
| 22 |
--accent: #7a6aed;
|
| 23 |
--accent-dim: #6358d4;
|
| 24 |
--accent-glow: rgba(122, 106, 237, 0.2);
|
| 25 |
+
--danger: #dc2626;
|
| 26 |
+
--danger-dim: #b91c1c;
|
| 27 |
+
--danger-glow: rgba(220, 38, 38, 0.1);
|
| 28 |
+
--success: #16a34a;
|
| 29 |
--radius: 14px;
|
| 30 |
--radius-sm: 10px;
|
| 31 |
--radius-xs: 6px;
|
| 32 |
+
--shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
|
| 33 |
+
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
|
| 34 |
--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
|
| 35 |
--font-mono: 'JetBrains Mono', monospace;
|
| 36 |
--transition: 0.2s ease;
|
|
|
|
| 56 |
position: fixed;
|
| 57 |
inset: 0;
|
| 58 |
background-image:
|
| 59 |
+
radial-gradient(ellipse at 20% 0%, rgba(46, 51, 197, 0.04) 0%, transparent 50%),
|
| 60 |
+
radial-gradient(ellipse at 80% 100%, rgba(207, 32, 64, 0.03) 0%, transparent 50%);
|
| 61 |
pointer-events: none;
|
| 62 |
z-index: 0;
|
| 63 |
}
|
|
|
|
| 187 |
background: none;
|
| 188 |
border: none;
|
| 189 |
cursor: pointer;
|
| 190 |
+
color: #8890a4;
|
| 191 |
padding: 0.2rem;
|
| 192 |
display: flex;
|
| 193 |
align-items: center;
|
|
|
|
| 195 |
transition: color var(--transition);
|
| 196 |
line-height: 0;
|
| 197 |
}
|
| 198 |
+
.password-toggle:hover { color: #555770; }
|
| 199 |
+
.password-toggle.active { color: #555770; }
|
| 200 |
|
| 201 |
/* ---- Cards ---- */
|
| 202 |
.card {
|
|
|
|
| 310 |
color: var(--text-muted);
|
| 311 |
padding: 0.5rem 0.75rem;
|
| 312 |
}
|
| 313 |
+
.btn-ghost:hover { color: var(--text); background: rgba(0,0,0,0.04); }
|
| 314 |
|
| 315 |
.btn-danger {
|
| 316 |
background: var(--danger);
|
|
|
|
| 364 |
}
|
| 365 |
.user-badge {
|
| 366 |
font-size: 0.8rem;
|
| 367 |
+
color: rgba(255,255,255,0.9);
|
| 368 |
+
background: rgba(255,255,255,0.15);
|
| 369 |
padding: 0.3rem 0.7rem;
|
| 370 |
border-radius: 20px;
|
| 371 |
+
border: 1px solid rgba(255,255,255,0.25);
|
| 372 |
}
|
| 373 |
.nav .btn-ghost {
|
| 374 |
color: rgba(255,255,255,0.8);
|
|
|
|
| 583 |
}
|
| 584 |
.compare-label-left {
|
| 585 |
left: 10px;
|
| 586 |
+
background: rgba(255, 255, 255, 0.85);
|
| 587 |
color: var(--text);
|
| 588 |
backdrop-filter: blur(6px);
|
| 589 |
+
border: 1px solid var(--border);
|
| 590 |
}
|
| 591 |
.compare-label-right {
|
| 592 |
right: 10px;
|
|
|
|
| 659 |
}
|
| 660 |
.history-meta .tag {
|
| 661 |
display: inline-block;
|
| 662 |
+
background: var(--bg-elevated);
|
| 663 |
border: 1px solid var(--border);
|
| 664 |
padding: 0.1rem 0.45rem;
|
| 665 |
border-radius: var(--radius-xs);
|
|
|
|
| 681 |
position: fixed;
|
| 682 |
inset: 0;
|
| 683 |
z-index: 1000;
|
| 684 |
+
background: rgba(0,0,0,0.35);
|
| 685 |
backdrop-filter: blur(4px);
|
| 686 |
display: flex;
|
| 687 |
align-items: center;
|
|
|
|
| 699 |
padding: 1.75rem;
|
| 700 |
max-width: 400px;
|
| 701 |
width: 90%;
|
| 702 |
+
box-shadow: 0 16px 48px rgba(0,0,0,0.12);
|
| 703 |
}
|
| 704 |
.modal h3 {
|
| 705 |
font-size: 1.1rem;
|
|
|
|
| 726 |
margin-bottom: 1rem;
|
| 727 |
}
|
| 728 |
.alert-error {
|
| 729 |
+
background: #fef2f2;
|
| 730 |
+
border: 1px solid #fecaca;
|
| 731 |
color: var(--danger);
|
| 732 |
}
|
| 733 |
.alert-success {
|
| 734 |
+
background: #f0fdf4;
|
| 735 |
+
border: 1px solid #bbf7d0;
|
| 736 |
color: var(--success);
|
| 737 |
}
|
| 738 |
|