Replace stale Grafana hero with live operations panel
This commit is contained in:
@@ -460,6 +460,94 @@ h1 {
|
||||
border: 1px solid #20232a;
|
||||
}
|
||||
|
||||
.live-ops-panel {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1px;
|
||||
border: 1px solid #20232a;
|
||||
background: var(--line);
|
||||
}
|
||||
|
||||
.ops-chart,
|
||||
.ops-status-grid {
|
||||
background: #070a0f;
|
||||
}
|
||||
|
||||
.ops-chart {
|
||||
min-height: 150px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.ops-chart-head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.ops-chart-head span,
|
||||
.ops-status-grid span {
|
||||
color: var(--dim);
|
||||
font: .56rem var(--mono);
|
||||
letter-spacing: .08em;
|
||||
}
|
||||
|
||||
.ops-chart-head strong {
|
||||
color: var(--green);
|
||||
font: 500 1.1rem var(--mono);
|
||||
}
|
||||
|
||||
.ops-bars {
|
||||
height: 86px;
|
||||
margin-top: 18px;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 4px;
|
||||
border-bottom: 1px solid #26313c;
|
||||
background:
|
||||
linear-gradient(to top, transparent 24%, #121820 25%, transparent 26%, transparent 49%, #121820 50%, transparent 51%, transparent 74%, #121820 75%, transparent 76%);
|
||||
}
|
||||
|
||||
.ops-bars i {
|
||||
flex: 1 1 0;
|
||||
min-width: 3px;
|
||||
height: var(--bar-height, 4%);
|
||||
background: var(--green);
|
||||
opacity: .72;
|
||||
transition: height .25s ease;
|
||||
}
|
||||
|
||||
.ops-chart:nth-child(2) .ops-bars i {
|
||||
background: var(--cyan);
|
||||
}
|
||||
|
||||
.ops-status-grid {
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 1px;
|
||||
background: var(--line);
|
||||
}
|
||||
|
||||
.ops-status-grid div {
|
||||
min-height: 70px;
|
||||
padding: 13px 16px;
|
||||
background: #080c12;
|
||||
}
|
||||
|
||||
.ops-status-grid strong {
|
||||
display: block;
|
||||
margin-top: 9px;
|
||||
color: var(--muted);
|
||||
font: 500 .82rem var(--mono);
|
||||
}
|
||||
|
||||
.window-bar small {
|
||||
color: var(--dim);
|
||||
font: .52rem var(--mono);
|
||||
letter-spacing: .05em;
|
||||
}
|
||||
|
||||
.activity-panel {
|
||||
padding: 24px 18px;
|
||||
border-left: 1px solid var(--line);
|
||||
@@ -1191,6 +1279,19 @@ footer {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.live-ops-panel {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.ops-status-grid {
|
||||
grid-column: 1;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.window-bar small {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metric {
|
||||
min-height: 112px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user