Files
pikasTech-HWLAB/web/hwlab-cloud-web/styles.css
T
2026-05-22 07:17:33 +00:00

504 lines
7.2 KiB
CSS

:root {
color-scheme: dark;
--bg: #11120f;
--surface: #181914;
--surface-2: #202119;
--surface-3: #28291f;
--surface-4: #313226;
--text: #f2f0e8;
--muted: #b8b3a5;
--line: #464333;
--line-strong: #6e674c;
--accent: #e8bf50;
--accent-2: #7dcfc4;
--ok: #83c77b;
--warn: #e1a84b;
--bad: #f06d5f;
--info: #8ab4df;
--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
--body: "Aptos", "Segoe UI", system-ui, sans-serif;
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
min-height: 100%;
background:
linear-gradient(90deg, rgba(232, 191, 80, 0.05) 1px, transparent 1px),
linear-gradient(0deg, rgba(125, 207, 196, 0.04) 1px, transparent 1px),
var(--bg);
background-size: 44px 44px;
color: var(--text);
font: 13px/1.45 var(--body);
}
body {
padding: 18px;
}
.shell {
max-width: 1440px;
margin: 0 auto;
display: grid;
gap: 12px;
}
.masthead,
.module-nav,
.panel,
.section-head {
background: rgba(24, 25, 20, 0.96);
border: 1px solid var(--line);
}
.masthead {
min-height: 112px;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
gap: 16px;
align-items: stretch;
padding: 16px;
}
.identity {
display: grid;
align-content: center;
gap: 6px;
}
.eyebrow {
margin: 0;
color: var(--accent-2);
font-size: 11px;
letter-spacing: 0;
text-transform: uppercase;
}
h1,
h2,
h3,
p,
dl,
ol,
ul,
table {
margin: 0;
}
h1 {
font-size: 28px;
line-height: 1.08;
font-weight: 780;
}
h2 {
font-size: 18px;
line-height: 1.2;
}
h3 {
font-size: 14px;
line-height: 1.2;
}
.lede,
.section-head p,
.panel-head p,
.live-card small {
color: var(--muted);
}
.lede {
max-width: 780px;
}
.live-card {
display: grid;
align-content: center;
gap: 5px;
padding: 14px;
background: var(--surface-2);
border-left: 4px solid var(--accent);
}
.live-card .label {
color: var(--muted);
font-size: 11px;
text-transform: uppercase;
}
.live-card strong {
font-size: 22px;
line-height: 1.1;
text-transform: uppercase;
}
.module-nav {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 1px;
padding: 1px;
position: sticky;
top: 0;
z-index: 5;
}
.module-nav a {
min-height: 42px;
display: flex;
align-items: center;
justify-content: center;
padding: 8px 10px;
background: var(--surface-2);
color: var(--text);
text-align: center;
text-decoration: none;
overflow-wrap: anywhere;
}
.module-nav a:hover,
.module-nav a:focus-visible {
background: var(--surface-3);
outline: 0;
}
.module-nav a.active {
background: #35311f;
color: #fff4cd;
box-shadow: inset 0 -3px 0 var(--accent);
}
.view {
display: grid;
gap: 12px;
}
.view[hidden] {
display: none;
}
.section-head {
display: flex;
justify-content: space-between;
gap: 18px;
align-items: end;
padding: 14px 16px;
}
.section-head p {
max-width: 620px;
text-align: right;
}
.panel {
min-width: 0;
padding: 14px 16px;
}
.panel.compact {
padding: 12px 14px;
}
.panel-head {
display: grid;
gap: 4px;
margin-bottom: 12px;
}
.split {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 12px;
}
.metrics {
display: grid;
gap: 8px;
}
.metrics.six {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.metrics.four {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metrics.two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.metric,
.milestone {
min-width: 0;
background: var(--surface-2);
border: 1px solid var(--line);
padding: 9px 10px;
}
.metric-label {
display: block;
color: var(--muted);
font-size: 11px;
line-height: 1.2;
text-transform: uppercase;
}
.metric-value {
display: block;
margin-top: 4px;
font-size: 13px;
line-height: 1.25;
overflow-wrap: anywhere;
}
.method-grid {
display: flex;
flex-wrap: wrap;
gap: 7px;
}
.method-pill {
max-width: 100%;
min-height: 28px;
display: inline-flex;
align-items: center;
padding: 4px 8px;
border: 1px solid var(--line);
background: var(--surface-2);
font-family: var(--mono);
font-size: 12px;
overflow-wrap: anywhere;
}
.method-pill.read {
border-color: rgba(125, 207, 196, 0.45);
}
.milestones {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 8px;
}
.milestone {
display: grid;
gap: 7px;
min-height: 118px;
}
.milestone-head,
.blocker-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
}
.milestone p,
.blockers p {
color: var(--text);
overflow-wrap: anywhere;
}
.milestone small {
color: var(--muted);
}
.badge {
display: inline-flex;
align-items: center;
width: fit-content;
max-width: 100%;
min-height: 24px;
padding: 3px 8px;
border: 1px solid var(--line);
background: var(--surface-3);
color: var(--text);
font-size: 11px;
font-weight: 730;
text-transform: uppercase;
overflow-wrap: anywhere;
}
.tone-pass,
.tone-healthy,
.tone-connected,
.tone-completed,
.tone-succeeded,
.tone-available,
.tone-active,
.tone-accepted {
color: var(--ok);
}
.tone-blocked,
.tone-degraded,
.tone-network_blocker,
.tone-failed,
.tone-rejected,
.tone-unavailable {
color: var(--bad);
}
.tone-not_run,
.tone-warn,
.tone-warning,
.tone-probing,
.tone-false {
color: var(--warn);
}
.tone-live,
.tone-recorded {
color: var(--info);
}
.tone-muted {
color: var(--muted);
}
.table-wrap {
overflow-x: auto;
border: 1px solid var(--line);
}
.compact-table table {
min-width: 620px;
}
table {
width: 100%;
min-width: 900px;
border-collapse: collapse;
background: var(--surface-2);
}
th,
td {
text-align: left;
vertical-align: top;
padding: 8px 9px;
border-bottom: 1px solid var(--line);
}
th {
color: var(--muted);
font-size: 11px;
font-weight: 730;
text-transform: uppercase;
}
td {
max-width: 360px;
overflow-wrap: anywhere;
}
tbody tr:last-child td {
border-bottom: 0;
}
.mono {
font-family: var(--mono);
font-size: 12px;
}
.wrap {
overflow-wrap: anywhere;
word-break: break-word;
}
.empty,
.notice-cell {
color: var(--muted);
background: var(--surface-2);
}
.empty {
width: 100%;
padding: 10px;
border: 1px solid var(--line);
}
.danger {
border-color: #875148;
}
.blockers,
.commands {
display: grid;
gap: 8px;
padding-left: 0;
list-style: none;
}
.blockers li,
.commands li {
min-width: 0;
padding: 9px 10px;
background: var(--surface-2);
border: 1px solid var(--line);
overflow-wrap: anywhere;
}
.commands {
counter-reset: command;
}
.commands li {
counter-increment: command;
}
.commands li::before {
content: counter(command) ". ";
color: var(--accent);
font-family: var(--body);
font-weight: 730;
}
@media (max-width: 1180px) {
.module-nav,
.metrics.six,
.milestones {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metrics.four {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 860px) {
body {
padding: 10px;
}
.masthead,
.split,
.section-head {
grid-template-columns: 1fr;
}
.masthead,
.section-head {
display: grid;
align-items: start;
}
.section-head p {
text-align: left;
}
.module-nav,
.metrics.six,
.metrics.four,
.metrics.two,
.milestones {
grid-template-columns: 1fr;
}
}