Files
Duriin-API/public/admin/assets/css/layout.css
T

174 lines
5.4 KiB
CSS

header.app-header {
position: fixed;
inset: 0 auto 0 0;
z-index: 80;
width: 224px;
height: 100vh;
padding: 26px 18px 18px;
display: flex;
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 {
display: flex;
align-items: center;
gap: 11px;
margin: 0 8px 34px;
color: var(--foreground);
font-size: 15px;
font-weight: 700;
letter-spacing: -.02em;
}
.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;
}
.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;
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 {
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); 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); }
.rail-status {
margin-top: auto;
padding: 13px 12px;
background: #101310;
border: 1px solid var(--border-light);
border-radius: 6px;
}
.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 {
min-height: 48px;
padding: 0 32px;
display: flex;
align-items: stretch;
gap: 22px;
background: rgba(9,11,10,.88);
border-bottom: 1px solid var(--border-light);
backdrop-filter: blur(14px);
}
.subnav a {
display: flex;
align-items: center;
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;
}
.subnav a:hover { color: var(--foreground); }
.subnav a.active { color: var(--accent); 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);
}
.stat, #intel-stats-row .intel-stat-card {
min-width: 0;
padding: 20px 26px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 7px;
background: transparent;
border: 0;
border-right: 1px solid var(--border-light);
border-radius: 0;
}
.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; }
.content { width: min(1480px, 100%); margin: 0 auto; padding: 32px; }
.filters {
display: flex;
gap: 10px;
margin-bottom: 18px;
padding: 13px;
align-items: flex-end;
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: 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; }
@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; }
}