feat: ws-scrcpy/NeKo/Chromium hub links, light theme, ECharts, H5 nav, optional Neko Docker
Made-with: Cursor
This commit is contained in:
@@ -11,6 +11,15 @@
|
||||
--ok: #34d399;
|
||||
--text: #e8edf7;
|
||||
--muted: #94a3b8;
|
||||
--ring-offset: #060912;
|
||||
}
|
||||
|
||||
html[data-theme="light"] {
|
||||
--bg-deep: #f1f5f9;
|
||||
--bg-card: rgba(255, 255, 255, 0.88);
|
||||
--text: #0f172a;
|
||||
--muted: #64748b;
|
||||
--ring-offset: #f1f5f9;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -18,6 +27,31 @@ body {
|
||||
background: var(--bg-deep);
|
||||
min-height: 100vh;
|
||||
font-family: var(--font-geist-sans), system-ui, sans-serif;
|
||||
transition: background-color 0.35s ease, color 0.25s ease;
|
||||
}
|
||||
|
||||
.app-bg-layer {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
opacity: 0.92;
|
||||
pointer-events: none;
|
||||
background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.22), transparent),
|
||||
radial-gradient(ellipse 60% 40% at 100% 0%, rgba(167, 139, 250, 0.18), transparent),
|
||||
radial-gradient(ellipse 50% 30% at 0% 100%, rgba(59, 130, 246, 0.12), transparent);
|
||||
transition: opacity 0.35s ease;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .app-bg-layer {
|
||||
opacity: 0.75;
|
||||
background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.12), transparent),
|
||||
radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.1), transparent),
|
||||
radial-gradient(ellipse 50% 30% at 0% 100%, rgba(59, 130, 246, 0.08), transparent);
|
||||
}
|
||||
|
||||
html[data-theme="light"] .chart-surface {
|
||||
border-color: rgba(15, 23, 42, 0.12) !important;
|
||||
background: rgba(255, 255, 255, 0.65) !important;
|
||||
}
|
||||
|
||||
::selection {
|
||||
@@ -37,7 +71,19 @@ body {
|
||||
}
|
||||
|
||||
.btn-focus {
|
||||
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-400/50 focus-visible:ring-offset-2 focus-visible:ring-offset-[#060912];
|
||||
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-400/50 focus-visible:ring-offset-2;
|
||||
--tw-ring-offset-color: var(--ring-offset);
|
||||
}
|
||||
}
|
||||
|
||||
/* H5 底部导航安全区 */
|
||||
.safe-pb-nav {
|
||||
padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.safe-pb-nav {
|
||||
padding-bottom: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user