Adds /api/health, ntfy notify on config save, /admin/analytics charts, and deploy smoke for miniprogram config/API. Co-authored-by: Cursor <cursoragent@cursor.com>
108 lines
3.1 KiB
CSS
108 lines
3.1 KiB
CSS
@import "tailwindcss";
|
||
@import "github-markdown-css/github-markdown.css";
|
||
@import "animate.css";
|
||
|
||
/*
|
||
* VIP 视觉对齐门户 hub:深色科技底 + 珊瑚/琥珀/青绿渐变;
|
||
* 琥珀 #f59e0b 保留为会员强调色。默认即夜间。
|
||
*/
|
||
:root,
|
||
.dark {
|
||
--font-geist-sans: var(--font-outfit), var(--font-noto-sc), ui-sans-serif,
|
||
system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
|
||
"Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
|
||
"Segoe UI Emoji";
|
||
--font-geist-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
||
"Liberation Mono", "Courier New", monospace;
|
||
--background: #0a0e17;
|
||
--foreground: #f1f5f9;
|
||
--card: rgba(17, 24, 39, 0.7);
|
||
--card-foreground: #f1f5f9;
|
||
--muted: rgba(255, 255, 255, 0.05);
|
||
--muted-foreground: #94a3b8;
|
||
--border: rgba(255, 255, 255, 0.08);
|
||
--accent: #f59e0b;
|
||
--accent-foreground: #1c1917;
|
||
--accent-muted: rgba(245, 158, 11, 0.2);
|
||
--gradient-accent: rgba(251, 191, 36, 0.15);
|
||
--hub-accent-1: #ff6b6b;
|
||
--hub-accent-2: #ffe66d;
|
||
--hub-accent-3: #4ecdc4;
|
||
--hub-gradient-text: linear-gradient(135deg, #ff6b6b 0%, #ffe66d 50%, #4ecdc4 100%);
|
||
--hub-glow: 0 0 40px rgba(78, 205, 196, 0.15);
|
||
}
|
||
|
||
.light {
|
||
--background: #f8fafc;
|
||
--foreground: #0f172a;
|
||
--card: rgba(255, 255, 255, 0.85);
|
||
--card-foreground: #0f172a;
|
||
--muted: #f1f5f9;
|
||
--muted-foreground: #64748b;
|
||
--border: rgba(15, 23, 42, 0.08);
|
||
--accent: #d97706;
|
||
--accent-foreground: #fffbeb;
|
||
--accent-muted: rgba(217, 119, 6, 0.15);
|
||
--gradient-accent: rgba(245, 158, 11, 0.12);
|
||
--hub-accent-1: #ff6b6b;
|
||
--hub-accent-2: #d97706;
|
||
--hub-accent-3: #0d9488;
|
||
--hub-gradient-text: linear-gradient(135deg, #ff6b6b 0%, #d97706 50%, #0d9488 100%);
|
||
--hub-glow: 0 0 40px rgba(13, 148, 136, 0.12);
|
||
}
|
||
|
||
@keyframes gradient-shift {
|
||
0%, 100% { opacity: 1; }
|
||
50% { opacity: 0.85; }
|
||
}
|
||
.animate-gradient { animation: gradient-shift 8s ease-in-out infinite; }
|
||
|
||
@keyframes shimmer {
|
||
0% { background-position: -200% 0; }
|
||
100% { background-position: 200% 0; }
|
||
}
|
||
.hover-shimmer { position: relative; overflow: hidden; }
|
||
.hover-shimmer::after {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 0;
|
||
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
|
||
background-size: 200% 100%;
|
||
opacity: 0;
|
||
transition: opacity 0.3s;
|
||
}
|
||
.hover-shimmer:hover::after {
|
||
opacity: 1;
|
||
animation: shimmer 1.5s ease-in-out;
|
||
}
|
||
|
||
@keyframes float-badge {
|
||
0%, 100% { transform: translateY(0); }
|
||
50% { transform: translateY(-2px); }
|
||
}
|
||
.animate-float-badge { animation: float-badge 3s ease-in-out infinite; }
|
||
|
||
@theme inline {
|
||
--color-background: var(--background);
|
||
--color-foreground: var(--foreground);
|
||
--font-sans: var(--font-geist-sans);
|
||
--font-mono: var(--font-geist-mono);
|
||
}
|
||
|
||
html {
|
||
scroll-behavior: smooth;
|
||
}
|
||
|
||
body {
|
||
background: var(--background);
|
||
color: var(--foreground);
|
||
font-family: var(--font-geist-sans), system-ui, sans-serif;
|
||
transition: background-color 0.2s ease, color 0.2s ease;
|
||
}
|
||
|
||
.vip-root {
|
||
font-family: var(--font-geist-sans), system-ui, sans-serif;
|
||
background: var(--background);
|
||
color: var(--foreground);
|
||
}
|