refine Semi UI operations health hierarchy

This commit is contained in:
lingniu
2026-07-18 19:25:40 +08:00
parent 5d4aa92cc1
commit 532524b992
3 changed files with 157 additions and 17 deletions

View File

@@ -15460,3 +15460,55 @@
padding-inline: 6px;
}
}
/*
* Semi UI operations health attention hierarchy.
* Protocol readiness is part of the global verdict, so its actionable
* evidence now appears before healthy infrastructure detail.
*/
.v2-ops-sources.has-attention.semi-card {
border-color: #e8d2a6;
box-shadow: 0 9px 28px rgba(127, 88, 23, .075);
}
.v2-ops-sources.has-attention > .semi-card-body > .v2-workspace-panel-header {
background: linear-gradient(96deg, #fffaf0 0%, #fffdf9 54%, #fff 100%);
}
.v2-ops-link-status > span {
display: grid;
min-width: 0;
gap: 2px;
}
.v2-ops-link-status > span > strong,
.v2-ops-link-status > span > small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.v2-ops-link-status > span > small {
color: #91a0b2;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 8px;
font-weight: 500;
}
.v2-ops-source-empty.is-error.semi-empty {
background: #fff9f8;
}
.v2-ops-source-empty.is-error .semi-empty-title {
color: #b94a45;
}
@media (max-width: 680px) {
.v2-ops-sources.has-attention.semi-card {
box-shadow: 0 6px 20px rgba(127, 88, 23, .07);
}
.v2-ops-link-status > span > small {
font-size: 7px;
}
}