251 lines
4.2 KiB
CSS
251 lines
4.2 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #0b0d12;
|
|
--panel: #121722;
|
|
--panel-2: #171d2a;
|
|
--border: rgba(255, 255, 255, 0.12);
|
|
--text: #f4f7fb;
|
|
--muted: #9ea6b6;
|
|
--accent: #87f5d1;
|
|
--warning: #f6ca68;
|
|
--danger: #ff8f8f;
|
|
--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
|
|
--radius: 18px;
|
|
--radius-sm: 12px;
|
|
--font: "Segoe UI", "Microsoft YaHei UI", sans-serif;
|
|
--mono: "Cascadia Mono", "Consolas", monospace;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background:
|
|
radial-gradient(circle at top right, rgba(135, 245, 209, 0.16), transparent 28%),
|
|
linear-gradient(180deg, #0b0d12 0%, #101521 100%);
|
|
color: var(--text);
|
|
font-family: var(--font);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text);
|
|
padding: 0.8rem 1rem;
|
|
cursor: pointer;
|
|
transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
|
|
}
|
|
|
|
button:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(135, 245, 209, 0.5);
|
|
background: rgba(135, 245, 209, 0.12);
|
|
}
|
|
|
|
button.primary {
|
|
background: linear-gradient(135deg, #87f5d1 0%, #5ad5f6 100%);
|
|
color: #091016;
|
|
border-color: transparent;
|
|
font-weight: 700;
|
|
}
|
|
|
|
input,
|
|
select {
|
|
width: 100%;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--text);
|
|
padding: 0.9rem 1rem;
|
|
}
|
|
|
|
input:focus,
|
|
select:focus,
|
|
button:focus {
|
|
outline: 2px solid rgba(135, 245, 209, 0.45);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.app-shell {
|
|
width: min(1180px, calc(100vw - 32px));
|
|
margin: 0 auto;
|
|
padding: 32px 0 40px;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
align-items: flex-start;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
color: var(--accent);
|
|
font-size: 0.82rem;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0;
|
|
font-size: clamp(2rem, 4vw, 3rem);
|
|
}
|
|
|
|
.hero-copy {
|
|
margin: 10px 0 0;
|
|
max-width: 680px;
|
|
color: var(--muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.status-chip {
|
|
padding: 0.65rem 0.95rem;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.panel {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
padding: 22px;
|
|
}
|
|
|
|
.warning-panel {
|
|
margin-bottom: 20px;
|
|
border-color: rgba(246, 202, 104, 0.35);
|
|
color: #fff4cf;
|
|
}
|
|
|
|
.grid-two {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.panel-head {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.panel-head h2,
|
|
.driver-card h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.panel-head p,
|
|
.footnote {
|
|
margin: 8px 0 0;
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.field-stack {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.field span,
|
|
.detail-list span,
|
|
.driver-label {
|
|
color: var(--muted);
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.detail-list {
|
|
display: grid;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.detail-list div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.driver-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: var(--panel-2);
|
|
}
|
|
|
|
.driver-card + .driver-card {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.mono,
|
|
.log-output {
|
|
font-family: var(--mono);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.log-output {
|
|
margin: 0;
|
|
min-height: 180px;
|
|
max-height: 320px;
|
|
overflow: auto;
|
|
padding: 14px;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(0, 0, 0, 0.34);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: #dce4f5;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
@media (max-width: 920px) {
|
|
.app-shell {
|
|
width: min(100vw - 20px, 1180px);
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.hero,
|
|
.grid-two,
|
|
.driver-card {
|
|
grid-template-columns: 1fr;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.hero {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.button-row {
|
|
flex-direction: column;
|
|
}
|
|
}
|