Initial screen starter scaffold

This commit is contained in:
zhougf committed 2026-05-29 00:26:43 +08:00
commit d136b9dddc
49 files changed
+2966

No files matched your search

+143
View File
@@ -0,0 +1,143 @@
* {
box-sizing: border-box;
}
body {
margin: 0;
background: #05090d;
color: #dce8f5;
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.screen-viewport {
background: #05090d;
height: 100vh;
overflow: hidden;
position: relative;
width: 100vw;
}
.screen-stage {
left: 50%;
overflow: hidden;
position: absolute;
top: 50%;
transform-origin: center center;
}
.screen-title {
display: flex;
flex-direction: column;
gap: 8px;
left: 56px;
position: absolute;
top: 42px;
}
.screen-title span {
color: #88a1bd;
font-size: 16px;
}
.screen-title strong {
color: #f1f7ff;
font-size: 42px;
letter-spacing: 0;
}
.metric-row {
display: grid;
gap: 24px;
grid-template-columns: repeat(3, 1fr);
left: 56px;
position: absolute;
right: 56px;
top: 150px;
}
.metric-card {
background: rgb(9 26 42 / 88%);
border: 1px solid rgb(88 130 171 / 42%);
border-radius: 8px;
min-height: 148px;
padding: 22px 24px;
}
.metric-card span {
color: #9fb4cc;
display: block;
font-size: 16px;
margin-bottom: 18px;
}
.metric-card strong {
color: #f0f7ff;
font-size: 48px;
line-height: 1;
}
.metric-card small {
color: #9fb4cc;
font-size: 18px;
margin-left: 8px;
}
.tone-green {
border-color: rgb(78 170 116 / 42%);
}
.tone-amber {
border-color: rgb(216 161 62 / 42%);
}
.screen-panel {
background: rgb(8 22 36 / 86%);
border: 1px solid rgb(88 130 171 / 36%);
border-radius: 8px;
display: flex;
flex-direction: column;
padding: 18px;
}
.screen-panel header {
color: #d7e6f7;
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
}
.screen-panel-body {
flex: 1;
min-height: 0;
}
.chart-grid {
bottom: 56px;
display: grid;
gap: 20px;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, minmax(0, 1fr));
left: 56px;
position: absolute;
right: 56px;
top: 340px;
}
.chart-host {
height: 100%;
width: 100%;
}
.debug-badge {
background: rgb(3 8 13 / 80%);
border: 1px solid rgb(100 135 170 / 35%);
border-radius: 6px;
bottom: 18px;
color: #9fb4cc;
display: flex;
gap: 12px;
padding: 8px 10px;
position: absolute;
right: 18px;
}