ArduinoPlayground/server/public/styles.css

44 lines
2.8 KiB
CSS

:root {
color-scheme: dark;
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
background: #07110e;
color: #e5f7ef;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top right, #123d32, transparent 36%), #07110e; }
main { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0; }
header, .panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
h1 { margin: 4px 0 8px; font-size: clamp(2rem, 6vw, 4.5rem); letter-spacing: -.055em; }
h2 { margin: 2px 0; }
p { color: #91a99f; }
.eyebrow { color: #62e6ae; margin: 0; text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.status, button, code { border: 1px solid #285244; background: #10231d; border-radius: 999px; padding: 10px 14px; }
.status.online { color: #62e6ae; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 16px; }
.metrics article, .panel { border: 1px solid #1d3a31; background: rgba(11, 28, 23, .88); border-radius: 18px; }
.metrics article { padding: 22px; }
.metrics span { color: #91a99f; display: block; font-size: .85rem; }
.metrics strong { display: block; margin-top: 8px; font-size: 2.2rem; }
.panel { padding: 24px; margin-top: 16px; }
button { color: #e5f7ef; cursor: pointer; }
.column-picker { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 20px 0 14px; padding: 12px 16px; border: 1px solid #1d3a31; border-radius: 12px; }
.column-picker legend { color: #91a99f; padding: 0 7px; font-size: .8rem; }
.column-picker label { color: #b8cec5; font-size: .85rem; cursor: pointer; }
.column-picker input { accent-color: #62e6ae; }
.activity-wrap { overflow-x: auto; }
.activity-table { width: 100%; border-collapse: collapse; }
.activity-table th, .activity-table td { padding: 12px 10px; border-top: 1px solid #183129; text-align: left; white-space: nowrap; }
.activity-table th { color: #91a99f; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.activity-table td { color: #d7e9e1; }
.time { color: #6f887e; font-variant-numeric: tabular-nums; }
.method { color: #f5c96a; font-weight: 800; }
.http-status { display: inline-block; min-width: 3.2rem; padding: 4px 8px; border-radius: 999px; text-align: center; background: #23342e; }
.status-2xx { color: #62e6ae; background: #123a2d; }
.status-4xx, .status-5xx { color: #ff9d91; background: #44201d; }
.empty { color: #91a99f !important; text-align: center !important; padding: 28px !important; }
[hidden] { display: none !important; }
pre { overflow: auto; color: #bfead8; background: #07110e; padding: 18px; border-radius: 12px; }
@media (max-width: 650px) {
header, .panel-heading { align-items: flex-start; flex-direction: column; }
.metrics { grid-template-columns: 1fr; }
}