110 lines
2.5 KiB
CSS
110 lines
2.5 KiB
CSS
.cortex-os-runtime-health {
|
|
border: 1px solid rgba(19, 82, 121, 0.22);
|
|
border-radius: 8px;
|
|
margin: 16px;
|
|
max-width: 520px;
|
|
padding: 14px 16px;
|
|
background: #f7fbff;
|
|
color: #18212b;
|
|
font: 14px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
main.main:not(.svrnty-showing-cortex-os) .cortex-os-runtime-health {
|
|
display: none;
|
|
}
|
|
|
|
.cortex-os-runtime-health h2 {
|
|
margin: 0 0 8px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cortex-os-runtime-health__badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 22px;
|
|
padding: 0 8px;
|
|
border-radius: 999px;
|
|
background: #dde8f0;
|
|
color: #18212b;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cortex-os-runtime-health[data-state="healthy"] .cortex-os-runtime-health__badge {
|
|
background: #d8f1df;
|
|
color: #0d5b27;
|
|
}
|
|
|
|
.cortex-os-runtime-health[data-state="degraded"] .cortex-os-runtime-health__badge,
|
|
.cortex-os-runtime-health[data-state="unknown"] .cortex-os-runtime-health__badge,
|
|
.cortex-os-runtime-health[data-state="loading"] .cortex-os-runtime-health__badge {
|
|
background: #fff0c9;
|
|
color: #6a4a00;
|
|
}
|
|
|
|
.cortex-os-runtime-health[data-state="unavailable"] .cortex-os-runtime-health__badge,
|
|
.cortex-os-runtime-health[data-state="error"] .cortex-os-runtime-health__badge,
|
|
.cortex-os-runtime-health[data-state="redacted"] .cortex-os-runtime-health__badge {
|
|
background: #ffe0dd;
|
|
color: #7a1e17;
|
|
}
|
|
|
|
.cortex-os-runtime-health__summary {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.cortex-os-runtime-health__signals {
|
|
display: grid;
|
|
grid-template-columns: minmax(120px, 1fr) minmax(92px, auto);
|
|
gap: 6px 12px;
|
|
margin: 0;
|
|
}
|
|
|
|
.cortex-os-runtime-health__signals dt,
|
|
.cortex-os-runtime-health__signals dd {
|
|
margin: 0;
|
|
}
|
|
|
|
.cortex-os-runtime-health__signals dt {
|
|
color: #44515f;
|
|
}
|
|
|
|
.cortex-os-runtime-health__signals dd {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cortex-os-runtime-health__details {
|
|
border-top: 1px solid rgba(19, 82, 121, 0.14);
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.cortex-os-runtime-health__detail-group h3 {
|
|
margin: 0 0 4px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cortex-os-runtime-health__detail-list {
|
|
display: grid;
|
|
grid-template-columns: minmax(116px, 0.8fr) minmax(0, 1.2fr);
|
|
gap: 4px 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
.cortex-os-runtime-health__detail-list dt,
|
|
.cortex-os-runtime-health__detail-list dd {
|
|
margin: 0;
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.cortex-os-runtime-health__detail-list dt {
|
|
color: #44515f;
|
|
}
|