294 lines
15 KiB
CSS
294 lines
15 KiB
CSS
/* Screen-specific layouts for menu, auth, onboarding, dashboard, builder, config, map, launch, and debrief. Not much to say about this one I suppose :( #whatthehellisexpress.js */
|
|
.menu-root {
|
|
position: absolute; inset: 0; z-index: 2;
|
|
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
pointer-events: none; padding: 24px;
|
|
}
|
|
.menu-root .btn, .menu-root .menu-card { pointer-events: auto; }
|
|
|
|
.menu-brand-pill {
|
|
font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em;
|
|
text-transform: uppercase; color: var(--brand-blue);
|
|
border: 1px solid var(--sim-accent-dim); background: var(--badge-bg);
|
|
padding: 5px 14px; margin-bottom: 18px; border-radius: var(--radius-sm); clip-path: var(--chamfer-sm);
|
|
}
|
|
.menu-title {
|
|
font-family: var(--mono);
|
|
font-size: clamp(32px, 5.5vw, 66px);
|
|
font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
|
|
text-align: center; color: var(--title-color);
|
|
text-shadow: 0 0 36px var(--sim-glow), 0 0 12px var(--sim-accent-dim);
|
|
}
|
|
.menu-title::after {
|
|
content: ''; display: block; height: 2px; margin: 12px auto 0; width: 72%;
|
|
background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
|
|
}
|
|
.menu-subtitle {
|
|
color: var(--text-dim); letter-spacing: 0.42em; text-transform: uppercase;
|
|
font-size: 11px; font-family: var(--mono); margin: 14px 0 42px; text-align: center;
|
|
}
|
|
.menu-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
|
|
.menu-buttons .btn { min-width: 190px; padding: 14px 28px; font-size: 12px; }
|
|
.menu-footer {
|
|
position: absolute; bottom: 18px; font-size: 10px; color: var(--text-faint);
|
|
letter-spacing: 0.16em; font-family: var(--mono); text-align: center;
|
|
}
|
|
|
|
.auth-card { width: min(580px, 100%); padding: 28px; }
|
|
.auth-card h2 { font-size: 18px; margin-bottom: 6px; }
|
|
.auth-card .sub { color: var(--text-dim); font-size: 12px; margin-bottom: 22px; line-height: 1.5; }
|
|
.auth-error { color: var(--red); font-size: 12px; min-height: 16px; font-family: var(--mono); }
|
|
|
|
.diff-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
|
|
.diff-card {
|
|
display: flex; flex-direction: column; gap: 4px; text-align: left;
|
|
padding: 10px 12px; text-transform: none; letter-spacing: 0.02em; font-weight: 500;
|
|
}
|
|
.diff-card .dc-head {
|
|
display: flex; justify-content: space-between; align-items: center; width: 100%;
|
|
font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
|
|
}
|
|
.diff-card .dc-sub { font-size: 11px; color: var(--text-dim); line-height: 1.35; }
|
|
.diff-card .dc-meta { font-family: var(--mono); font-size: 10px; color: var(--text-faint); }
|
|
|
|
.onboard-layout {
|
|
display: grid; grid-template-columns: 1fr 340px; gap: 20px; height: 100%; padding: 22px; overflow: hidden;
|
|
}
|
|
.onboard-scroll { overflow-y: auto; padding-right: 6px; }
|
|
.onboard-preview { display: flex; flex-direction: column; gap: 12px; }
|
|
.onboard-preview-box {
|
|
height: 280px; position: relative; border: 1px solid var(--border);
|
|
background: var(--bg-deep); border-radius: var(--radius-sm); clip-path: var(--chamfer-sm); overflow: hidden;
|
|
}
|
|
|
|
.dash-root { display: grid; grid-template-columns: 1fr 370px; height: 100%; }
|
|
.dash-viewport { position: relative; overflow: hidden; }
|
|
.dash-viewport canvas { display: block; }
|
|
.dash-header {
|
|
position: absolute; top: 0; left: 0; right: 0;
|
|
display: flex; justify-content: space-between; align-items: center; gap: 12px;
|
|
padding: 14px 20px; z-index: 5;
|
|
background: linear-gradient(180deg, var(--bg-header-fade), transparent);
|
|
pointer-events: none;
|
|
}
|
|
.dash-header > * { pointer-events: auto; }
|
|
.dash-header h1 { font-size: 15px; }
|
|
|
|
.dash-overlay-bottom {
|
|
position: absolute; bottom: 16px; left: 20px; right: 20px; z-index: 5;
|
|
display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
|
|
pointer-events: none;
|
|
}
|
|
.dash-overlay-bottom > * { pointer-events: auto; }
|
|
|
|
.dash-sidebar {
|
|
border-left: 1px solid var(--border);
|
|
background: var(--bg-panel-solid);
|
|
padding: 18px; overflow-y: auto;
|
|
display: flex; flex-direction: column; gap: 14px;
|
|
}
|
|
.dash-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 8px; }
|
|
.dash-nav .btn { justify-content: flex-start; padding: 11px 12px; font-size: 10px; }
|
|
.dash-nav .btn.full-span { grid-column: 1 / -1; justify-content: center; padding: 13px 16px; font-size: 12px; }
|
|
|
|
.stat-row {
|
|
display: flex; justify-content: space-between; align-items: center; gap: 8px;
|
|
font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--border-subtle);
|
|
font-family: var(--mono);
|
|
}
|
|
.stat-row .k { color: var(--text-dim); text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; }
|
|
.stat-row .v { font-size: 12px; text-align: right; }
|
|
|
|
.builder-root { display: grid; grid-template-columns: 1fr 440px; height: 100%; }
|
|
.builder-viewport { position: relative; border-right: 1px solid var(--border); overflow: hidden; }
|
|
.builder-sidebar {
|
|
background: var(--bg-panel-solid);
|
|
display: flex; flex-direction: column; overflow: hidden;
|
|
}
|
|
.builder-tier-bar {
|
|
display: flex; gap: 6px; padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border); background: var(--bg-deep); align-items: center;
|
|
}
|
|
.builder-tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--bg-inset); }
|
|
.builder-tabs button {
|
|
flex: 1; padding: 11px 6px; background: none; border: none; color: var(--text-dim);
|
|
font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
|
|
cursor: pointer; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
|
|
}
|
|
.builder-tabs button.active { color: var(--sim-accent); border-bottom-color: var(--sim-accent); }
|
|
.builder-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
|
|
|
|
.stage-card {
|
|
border: 1px solid var(--border); border-radius: var(--radius-sm); clip-path: var(--chamfer-sm);
|
|
padding: 12px; background: var(--bg-elevated); display: flex; flex-direction: column; gap: 9px;
|
|
}
|
|
.stage-card.active { border-color: var(--brand-blue); }
|
|
|
|
.slot-group {
|
|
background: var(--bg-inset); border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 10px; display: flex; flex-direction: column; gap: 6px;
|
|
}
|
|
.slot-title {
|
|
font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
|
|
text-transform: uppercase; color: var(--sim-accent);
|
|
}
|
|
|
|
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
.stat-box { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-sm); clip-path: var(--chamfer-sm); padding: 9px 11px; }
|
|
.stat-box .k { font-family: var(--mono); font-size: 9px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }
|
|
.stat-box .v { font-family: var(--mono); font-size: 13px; margin-top: 3px; font-weight: 700; }
|
|
.stat-box .v.good { color: var(--green); }
|
|
.stat-box .v.bad { color: var(--red); }
|
|
.stat-box .v.warn { color: var(--amber); }
|
|
|
|
.rule-item {
|
|
border: 1px solid var(--border); padding: 8px 10px; background: var(--bg-deep);
|
|
border-radius: var(--radius-sm); clip-path: var(--chamfer-sm); display: flex; flex-direction: column; gap: 4px; font-size: 11px;
|
|
}
|
|
.rule-item.fail { border-color: rgba(248, 113, 113, 0.5); }
|
|
.rule-item.waived { border-color: rgba(245, 158, 11, 0.55); }
|
|
.rule-item.pass { border-color: rgba(52, 211, 153, 0.25); }
|
|
|
|
.builder-hud-bottom {
|
|
position: absolute; left: 16px; bottom: 16px; z-index: 4;
|
|
display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none;
|
|
}
|
|
.builder-hud-bottom > * { pointer-events: auto; }
|
|
|
|
.param-root { display: grid; grid-template-columns: 1fr 440px; height: 100%; overflow: hidden; }
|
|
.param-main { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
|
|
.param-side {
|
|
border-left: 1px solid var(--border); background: var(--bg-panel-solid);
|
|
padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px;
|
|
}
|
|
.canvas-box {
|
|
width: 100%; background: var(--bg-deep); border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm); clip-path: var(--chamfer-sm); display: block;
|
|
}
|
|
|
|
.map-root { display: grid; grid-template-columns: 1fr 340px; height: 100%; }
|
|
.map-viewport { position: relative; overflow: hidden; }
|
|
.map-sidebar {
|
|
border-left: 1px solid var(--border); background: var(--bg-panel-solid);
|
|
padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
|
|
}
|
|
.map-sidebar h3 { font-size: 11px; color: var(--text-dim); margin-top: 8px; }
|
|
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 3px 0; font-family: var(--mono); cursor: pointer; }
|
|
.legend-item:hover { color: var(--sim-accent); }
|
|
.legend-dot { width: 8px; height: 8px; display: inline-block; }
|
|
|
|
.launch-root { display: flex; flex-direction: column; height: 100%; }
|
|
.launch-viewport { flex: 1; position: relative; overflow: hidden; }
|
|
.launch-hud-stack {
|
|
position: absolute; left: 20px; bottom: 20px; z-index: 5;
|
|
display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
|
|
max-height: calc(100vh - 110px);
|
|
pointer-events: none;
|
|
}
|
|
.launch-hud-stack > * { pointer-events: auto; }
|
|
.launch-hud {
|
|
background: var(--bg-glass); backdrop-filter: blur(8px);
|
|
border: 1px solid var(--border); border-radius: var(--radius-panel); clip-path: var(--chamfer);
|
|
padding: 14px 16px; min-width: 310px; width: min(335px, calc(100vw - 40px));
|
|
font-family: var(--mono); font-size: 11px;
|
|
}
|
|
.launch-events {
|
|
background: var(--bg-glass); backdrop-filter: blur(8px);
|
|
border: 1px solid var(--border); border-radius: var(--radius-sm); clip-path: var(--chamfer-sm);
|
|
padding: 12px 14px; width: min(335px, calc(100vw - 40px));
|
|
max-height: 185px; overflow-y: auto;
|
|
font-family: var(--mono); font-size: 11px;
|
|
}
|
|
.launch-banner {
|
|
position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
|
|
font-family: var(--mono); font-size: 22px; font-weight: 800; letter-spacing: 0.32em;
|
|
text-transform: uppercase; color: var(--sim-accent);
|
|
text-shadow: 0 0 28px var(--sim-glow); z-index: 6; pointer-events: none;
|
|
text-align: center;
|
|
}
|
|
.launch-controls { position: absolute; top: 18px; right: 20px; display: flex; gap: 8px; z-index: 6; }
|
|
.launch-title-left { position: absolute; top: 18px; left: 20px; z-index: 6; display: flex; flex-direction: column; gap: 4px; }
|
|
|
|
.list-page { padding: 22px; overflow-y: auto; height: 100%; display: flex; flex-direction: column; gap: 16px; }
|
|
.list-page .cols { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
|
|
|
|
.debrief-root { display: flex; align-items: center; justify-content: center; height: 100%; padding: 20px; overflow-y: auto; }
|
|
.debrief-card { width: min(640px, 100%); padding: 30px; }
|
|
.score-ring { display: flex; align-items: center; gap: 22px; margin: 18px 0; }
|
|
.grade { font-size: 68px; font-weight: 800; font-family: var(--mono); line-height: 1; }
|
|
.grade.s { color: var(--brand-blue); } .grade.a { color: var(--green); }
|
|
.grade.b { color: var(--amber); } .grade.c { color: var(--red); } .grade.f { color: var(--red); }
|
|
|
|
.wiki-page { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--bg-deep); }
|
|
.wiki-topbar {
|
|
padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--bg-panel-solid);
|
|
display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; flex-shrink: 0;
|
|
}
|
|
.wiki-topbar-controls { flex-wrap: wrap; align-items: center; }
|
|
.wiki-search-input { width: clamp(210px, 24vw, 300px); min-width: 180px; }
|
|
.wiki-layout {
|
|
display: grid; grid-template-columns: 270px 1fr; flex: 1; min-height: 0; overflow: hidden;
|
|
}
|
|
.wiki-sidebar {
|
|
border-right: 1px solid var(--border); background: var(--bg-panel-solid);
|
|
padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding-bottom: 64px;
|
|
}
|
|
.wiki-nav-group { display: flex; flex-direction: column; gap: 4px; }
|
|
.wiki-nav-cat {
|
|
font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
|
|
text-transform: uppercase; color: var(--text-faint); padding: 4px 6px;
|
|
}
|
|
.wiki-nav-item {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
|
|
padding: 8px 10px; background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); clip-path: var(--chamfer-sm);
|
|
color: var(--text-dim); font-family: var(--mono); font-size: 11px; text-align: left; cursor: pointer;
|
|
transition: background-color 0.14s, border-color 0.14s, color 0.14s;
|
|
}
|
|
.wiki-nav-item:hover { background: var(--bg-elevated); color: var(--text); border-color: var(--border); }
|
|
.wiki-nav-item.active { background: var(--sim-glow); color: var(--sim-accent); border-color: var(--sim-accent); }
|
|
.wiki-search-hit {
|
|
display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 8px 10px;
|
|
background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-sm); clip-path: var(--chamfer-sm);
|
|
color: var(--text); text-align: left; cursor: pointer;
|
|
}
|
|
.wiki-search-hit:hover { border-color: var(--sim-accent); background: var(--bg-elevated); }
|
|
.wiki-main {
|
|
overflow-y: auto; padding: 22px 26px 86px; display: flex; flex-direction: column; gap: 16px;
|
|
}
|
|
.wiki-main > * { max-width: 980px; }
|
|
.wiki-article-header h2 { font-size: 20px; color: var(--text); }
|
|
.wiki-callout {
|
|
display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px;
|
|
background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.35);
|
|
border-radius: var(--radius-sm); clip-path: var(--chamfer-sm); color: var(--text);
|
|
}
|
|
.wiki-section { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
|
|
.wiki-prose { font-size: 13px; line-height: 1.62; color: var(--text-dim); }
|
|
.wiki-bullets {
|
|
padding-left: 18px; display: flex; flex-direction: column; gap: 6px;
|
|
font-size: 12px; line-height: 1.55; color: var(--text);
|
|
}
|
|
.wiki-formula {
|
|
padding: 8px 12px; background: var(--bg-deep); border: 1px solid var(--border-bright);
|
|
border-radius: var(--radius-sm); clip-path: var(--chamfer-sm); font-family: var(--mono); font-size: 12px; color: var(--brand-blue);
|
|
}
|
|
.wiki-lab-card { padding: 16px 18px; }
|
|
.wiki-lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
|
|
.wiki-checklist-item {
|
|
padding: 10px 12px; background: var(--bg-deep); border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm); clip-path: var(--chamfer-sm); transition: border-color 0.15s;
|
|
}
|
|
.wiki-checklist-item.done { border-color: rgba(52, 211, 153, 0.45); }
|
|
.wiki-glossary-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
|
|
.wiki-glossary-card.highlighted { border-color: var(--sim-accent); box-shadow: 0 0 18px var(--sim-glow); }
|
|
.wiki-refs-section { margin-top: 4px; }
|
|
.wiki-ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
|
|
.wiki-ref-card {
|
|
display: block; text-decoration: none; color: inherit; padding: 12px 14px;
|
|
background: var(--bg-panel-solid); border: 1px solid var(--border); border-radius: var(--radius-sm); clip-path: var(--chamfer-sm);
|
|
transition: border-color 0.15s, background-color 0.15s;
|
|
}
|
|
.wiki-ref-card:hover { border-color: var(--brand-blue); background: var(--bg-elevated); }
|
|
.wiki-ext-link { text-decoration: none; }
|
|
.wiki-footer-nav { padding-top: 8px; border-top: 1px solid var(--border); }
|