feat: overhaul Duriin autonomy console
This commit is contained in:
+115
-120
@@ -1,178 +1,173 @@
|
||||
/* page chrome — header, tabs, subnav, stats bar, content shell */
|
||||
|
||||
|
||||
/* ── header ── */
|
||||
|
||||
header.app-header {
|
||||
background: var(--bg-card);
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 0 24px;
|
||||
position: fixed;
|
||||
inset: 0 auto 0 0;
|
||||
z-index: 80;
|
||||
width: 224px;
|
||||
height: 100vh;
|
||||
padding: 26px 18px 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
height: 52px;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
background: rgba(13, 16, 14, .96);
|
||||
border-right: 1px solid var(--border);
|
||||
backdrop-filter: blur(18px);
|
||||
}
|
||||
|
||||
header.app-header h1 {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 11px;
|
||||
margin: 0 8px 34px;
|
||||
color: var(--foreground);
|
||||
letter-spacing: -.01em;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -.02em;
|
||||
}
|
||||
|
||||
header.app-header h1 span {
|
||||
color: var(--muted);
|
||||
font-weight: 400;
|
||||
.brand-mark {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: #0b0d0b;
|
||||
background: var(--accent);
|
||||
border-radius: 3px 11px 3px 3px;
|
||||
font-family: var(--mono);
|
||||
font-size: 13px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
|
||||
/* ── primary tabs (underline style) ── */
|
||||
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
|
||||
.brand-copy span { margin-top: 5px; color: var(--muted-dark); font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
margin-left: auto;
|
||||
height: 100%;
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
margin: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.tabs::before {
|
||||
content: "Workspace";
|
||||
margin: 0 10px 10px;
|
||||
color: #5d655b;
|
||||
font-family: var(--mono);
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
letter-spacing: .14em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.tabs a {
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 2px solid transparent;
|
||||
color: var(--muted);
|
||||
padding: 0 14px;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
transition: color .15s, border-color .15s;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
height: 40px;
|
||||
padding: 0 11px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #899087;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
transition: color 140ms, background 140ms, border-color 140ms;
|
||||
}
|
||||
|
||||
.tabs a:hover { color: var(--foreground); }
|
||||
.tabs a:hover { color: var(--foreground); background: #151915; }
|
||||
.tabs a.active { color: var(--foreground); background: #1a1f1a; border-color: #293129; }
|
||||
.tabs a.active::after { content: ""; position: absolute; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(223,255,79,.6); }
|
||||
|
||||
.tabs a.active {
|
||||
color: var(--foreground);
|
||||
border-bottom-color: var(--foreground);
|
||||
.rail-status {
|
||||
margin-top: auto;
|
||||
padding: 13px 12px;
|
||||
background: #101310;
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
|
||||
/* ── subnav (intelligence sub-sections) ── */
|
||||
.rail-status-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 600; }
|
||||
.rail-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 10px rgba(243,201,105,.35); }
|
||||
.rail-status-dot.live { background: var(--positive); box-shadow: 0 0 10px rgba(142,230,168,.4); }
|
||||
.rail-status-meta { margin-top: 7px; color: #5e665d; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
|
||||
|
||||
.subnav {
|
||||
background: var(--bg-card);
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 0 24px;
|
||||
min-height: 48px;
|
||||
padding: 0 32px;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
gap: 0;
|
||||
height: 38px;
|
||||
gap: 22px;
|
||||
background: rgba(9,11,10,.88);
|
||||
border-bottom: 1px solid var(--border-light);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.subnav a {
|
||||
color: var(--muted-dark);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
padding: 0 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: color .15s, border-color .15s;
|
||||
color: var(--muted-dark);
|
||||
border-bottom: 1px solid transparent;
|
||||
text-decoration: none;
|
||||
font-family: var(--mono);
|
||||
font-size: 10px;
|
||||
font-weight: 650;
|
||||
letter-spacing: .09em;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .05em;
|
||||
}
|
||||
|
||||
.subnav a:hover { color: var(--foreground); }
|
||||
.subnav a.active { color: var(--accent); border-bottom-color: var(--accent); }
|
||||
|
||||
.subnav a.active {
|
||||
color: var(--foreground);
|
||||
border-bottom-color: var(--accent);
|
||||
.stats-bar, #intel-stats-row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
||||
background: #0c0f0d;
|
||||
border-bottom: 1px solid var(--border-light);
|
||||
}
|
||||
|
||||
|
||||
/* ── stats bar ── */
|
||||
/* each .stat owns its own horizontal padding so the vertical separator
|
||||
renders edge-to-edge; no margin gap between cells. */
|
||||
|
||||
.stats-bar {
|
||||
display: flex;
|
||||
background: var(--bg-card);
|
||||
border-bottom: 1px solid var(--border);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.stat {
|
||||
.stat, #intel-stats-row .intel-stat-card {
|
||||
min-width: 0;
|
||||
padding: 20px 26px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
padding: 16px 32px;
|
||||
border-right: 1px solid var(--border);
|
||||
flex: 0 0 auto;
|
||||
gap: 7px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-right: 1px solid var(--border-light);
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.stat:first-child { padding-left: 24px; }
|
||||
.stat:last-child { border-right: none; }
|
||||
.stat:last-child, #intel-stats-row .intel-stat-card:last-child { border-right: 0; }
|
||||
.stat .label, #intel-stats-row .label { color: var(--muted-dark); font-family: var(--mono); font-size: 9px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
|
||||
.stat .value, #intel-stats-row .value { color: var(--foreground); font-size: 25px; font-weight: 630; letter-spacing: -.045em; line-height: 1; }
|
||||
|
||||
.stat .label {
|
||||
color: var(--muted-dark);
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .06em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.stat .value {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
color: var(--foreground);
|
||||
letter-spacing: -.02em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
|
||||
/* ── content ── */
|
||||
|
||||
.content { padding: 24px; }
|
||||
|
||||
|
||||
/* ── filters ── */
|
||||
.content { width: min(1480px, 100%); margin: 0 auto; padding: 32px; }
|
||||
|
||||
.filters {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 18px;
|
||||
flex-wrap: wrap;
|
||||
padding: 13px;
|
||||
align-items: flex-end;
|
||||
padding: 14px;
|
||||
background: var(--bg-card);
|
||||
flex-wrap: wrap;
|
||||
background: rgba(17,20,17,.72);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.filters label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: var(--muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .05em;
|
||||
}
|
||||
.filters label { display: flex; flex-direction: column; gap: 6px; color: var(--muted-dark); font-family: var(--mono); font-size: 9px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
|
||||
.section-heading { margin-bottom: 12px; color: var(--muted-dark); font-family: var(--mono); font-size: 10px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
|
||||
|
||||
|
||||
/* ── section heading ── */
|
||||
|
||||
.section-heading {
|
||||
font-size: 12px;
|
||||
color: var(--muted-dark);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .06em;
|
||||
margin-bottom: 12px;
|
||||
@media (max-width: 820px) {
|
||||
header.app-header { inset: 0 0 auto 0; width: 100%; height: 68px; padding: 12px 16px; flex-direction: row; align-items: center; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); }
|
||||
header.app-header h1 { margin: 0 10px 0 0; flex: 0 0 auto; }
|
||||
.brand-copy span, .tabs::before, .rail-status { display: none; }
|
||||
.tabs { flex-direction: row; gap: 2px; }
|
||||
.tabs a { height: 38px; padding: 0 10px; white-space: nowrap; }
|
||||
.tabs a.active::after { display: none; }
|
||||
.subnav { padding: 0 18px; overflow-x: auto; }
|
||||
.content { padding: 20px 16px 32px; }
|
||||
.stats-bar, #intel-stats-row { grid-template-columns: repeat(2, 1fr); }
|
||||
.stat, #intel-stats-row .intel-stat-card { padding: 16px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user