This commit is contained in:
2026-03-04 01:58:26 +01:00
parent a7844c145a
commit c360663603
23 changed files with 1115 additions and 81 deletions

View File

@@ -1,15 +1,51 @@
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Space+Grotesk:wght@400;600;700&display=swap');
:root {
--bg: #0b0d12;
--panel: #121622;
--panel-2: #171c2b;
--text: #f4f6ff;
--muted: #b6bdd6;
--accent: #ff5e5b;
--accent-2: #20e3b2;
--line: #2a3147;
--shadow: 0 30px 80px rgba(8, 10, 18, 0.45);
--bg: #f4f6fb;
--panel: #ffffff;
--panel-2: #f0f3fb;
--text: #151a2d;
--muted: #5a6685;
--accent: #ff6b4a;
--accent-2: #0fb4a4;
--line: #d7dceb;
--shadow: 0 20px 50px rgba(22, 32, 74, 0.12);
}
body[data-theme="light"] {
--bg: #f4f6fb;
--panel: #ffffff;
--panel-2: #f0f3fb;
--text: #151a2d;
--muted: #5a6685;
--accent: #ff6b4a;
--accent-2: #0fb4a4;
--line: #d7dceb;
--shadow: 0 20px 50px rgba(22, 32, 74, 0.12);
}
body[data-theme="ocean"] {
--bg: #eef6ff;
--panel: #ffffff;
--panel-2: #e6f0ff;
--text: #0b1b33;
--muted: #3a4c6e;
--accent: #2d7bff;
--accent-2: #00b6b2;
--line: #c9d9f3;
--shadow: 0 20px 50px rgba(22, 32, 74, 0.12);
}
body[data-theme="graphite"] {
--bg: #f7f7f8;
--panel: #ffffff;
--panel-2: #eceff3;
--text: #1e222a;
--muted: #5c667a;
--accent: #ff7a00;
--accent-2: #6b7bff;
--line: #d5d8df;
--shadow: 0 20px 50px rgba(20, 24, 34, 0.12);
}
* { box-sizing: border-box; }
@@ -17,8 +53,8 @@ html, body { height: 100%; }
body {
margin: 0;
font-family: "Space Grotesk", "Segoe UI", sans-serif;
background: radial-gradient(1200px 500px at 10% -10%, rgba(255, 94, 91, 0.2), transparent 60%),
radial-gradient(900px 500px at 90% 10%, rgba(32, 227, 178, 0.18), transparent 55%),
background: radial-gradient(1200px 500px at 10% -10%, rgba(255, 107, 74, 0.12), transparent 60%),
radial-gradient(900px 500px at 90% 10%, rgba(15, 180, 164, 0.12), transparent 55%),
var(--bg);
color: var(--text);
}
@@ -36,26 +72,50 @@ body {
.orb-a { top: -120px; left: -80px; background: #ff5e5b; }
.orb-b { bottom: -160px; right: -120px; background: #20e3b2; }
.site-shell {
.app-shell {
position: relative;
z-index: 1;
min-height: 100vh;
display: flex;
flex-direction: column;
padding: 32px 28px 24px;
display: grid;
grid-template-columns: 260px 1fr;
gap: 24px;
padding: 24px;
}
.site-header {
display: grid;
grid-template-columns: 1fr auto auto;
gap: 24px;
align-items: center;
background: linear-gradient(140deg, rgba(18, 22, 34, 0.9), rgba(23, 28, 43, 0.9));
.app-sidebar {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 18px;
padding: 20px 24px;
padding: 20px;
box-shadow: var(--shadow);
backdrop-filter: blur(6px);
display: flex;
flex-direction: column;
gap: 18px;
position: sticky;
top: 24px;
height: fit-content;
}
.sidebar-toggle {
background: var(--panel-2);
border: 1px solid var(--line);
border-radius: 10px;
padding: 8px 10px;
cursor: pointer;
color: var(--text);
font-weight: 700;
}
.sidebar-collapsed .app-shell {
grid-template-columns: 72px 1fr;
}
.sidebar-collapsed .app-sidebar .brand-text,
.sidebar-collapsed .app-sidebar .nav-section,
.sidebar-collapsed .app-sidebar .nav-link {
display: none;
}
.sidebar-collapsed .app-sidebar .brand img {
height: 36px;
}
.brand {
@@ -78,35 +138,41 @@ body {
font-size: 0.9rem;
}
.site-nav {
.sidebar-nav {
display: flex;
gap: 12px;
flex-wrap: wrap;
flex-direction: column;
gap: 8px;
}
.nav-section {
color: var(--muted);
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-top: 6px;
}
.nav-link {
color: var(--muted);
color: var(--text);
text-decoration: none;
padding: 8px 14px;
border-radius: 999px;
border-radius: 10px;
border: 1px solid transparent;
transition: all 180ms ease;
font-weight: 600;
}
.nav-link:hover {
color: var(--text);
border-color: var(--line);
background: rgba(255, 255, 255, 0.04);
background: var(--panel-2);
}
.nav-link.is-active {
color: var(--bg);
color: #ffffff;
background: var(--accent);
border-color: var(--accent);
}
.header-cta .cta-button {
.cta-button {
background: linear-gradient(120deg, var(--accent), #ff9f45);
border: none;
color: #0b0d12;
color: #ffffff;
font-weight: 700;
padding: 10px 18px;
border-radius: 12px;
@@ -114,9 +180,66 @@ body {
box-shadow: 0 14px 30px rgba(255, 94, 91, 0.35);
}
.app-content {
display: flex;
flex-direction: column;
gap: 16px;
}
.topbar {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 16px;
padding: 16px 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
box-shadow: var(--shadow);
}
.page-title {
margin: 0;
font-size: 1.25rem;
}
.topbar-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.module-subnav {
display: flex;
gap: 10px;
flex-wrap: wrap;
padding: 8px 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-2);
}
.debug-fab {
position: fixed;
right: 24px;
bottom: 24px;
width: 52px;
height: 52px;
border-radius: 50%;
background: var(--accent);
color: #ffffff;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 22px;
box-shadow: 0 16px 32px rgba(255, 107, 74, 0.28);
z-index: 50;
}
.debug-fab:hover {
filter: brightness(0.95);
}
.site-main {
flex: 1;
margin-top: 28px;
}
.site-footer {
@@ -136,7 +259,15 @@ body {
}
.card input,
.card textarea {
background: #0f121b;
background: #ffffff;
border: 1px solid var(--line);
color: var(--text);
padding: 10px 12px;
border-radius: 10px;
font-family: inherit;
}
.card select {
background: #ffffff;
border: 1px solid var(--line);
color: var(--text);
padding: 10px 12px;
@@ -167,17 +298,13 @@ body {
gap: 16px;
}
@media (max-width: 900px) {
.site-header {
grid-template-columns: 1fr;
}
.header-cta {
justify-self: start;
}
@media (max-width: 1100px) {
.app-shell { grid-template-columns: 1fr; }
.app-sidebar { position: relative; top: 0; }
}
@media (max-width: 720px) {
.grid { grid-template-columns: 1fr; }
.site-shell { padding: 24px 18px 20px; }
.app-shell { padding: 18px; }
}
/* Minimal Tailwind-like utility support for existing templates */
@@ -194,13 +321,13 @@ body {
}
.text-white { color: #ffffff; }
.text-gray-200 { color: #d9deee; }
.text-gray-300 { color: #c2c9de; }
.text-gray-400 { color: #a9b1c9; }
.text-gray-500 { color: #8b94ad; }
.text-red-100 { color: #ffe2e2; }
.text-indigo-400 { color: #9aa5ff; }
.hover\\:text-indigo-300:hover { color: #b7c0ff; }
.text-gray-200 { color: #3a4c6e; }
.text-gray-300 { color: #4b5775; }
.text-gray-400 { color: #5a6685; }
.text-gray-500 { color: #6b7696; }
.text-red-100 { color: #8b1d1d; }
.text-indigo-400 { color: #2d7bff; }
.hover\\:text-indigo-300:hover { color: #1b63da; }
.font-medium { font-weight: 600; }
.font-semibold { font-weight: 700; }
.font-bold { font-weight: 700; }
@@ -219,8 +346,8 @@ body {
.border-red-500 { border-color: #ff5e5b; }
.border-gray-700 { border-color: var(--line); }
.bg-gray-800 { background: var(--panel); }
.bg-gray-900 { background: #0f121b; }
.bg-red-900 { background: #2c1214; }
.bg-gray-900 { background: var(--panel-2); }
.bg-red-900 { background: #ffe9e9; }
.shadow { box-shadow: var(--shadow); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }