refactor(ui): converge semi history workspace

This commit is contained in:
lingniu
2026-07-19 17:13:55 +08:00
parent a198e0fc4e
commit fa2dcf14d6
3 changed files with 116 additions and 25 deletions

View File

@@ -24258,3 +24258,63 @@
font-size: 12px;
}
}
/*
* Semi UI history workspace convergence.
* Keep high-frequency evidence actions visible and move low-frequency table
* controls into one predictable menu so the table remains the primary surface.
*/
.v2-history-result-meta {
gap: 6px;
border: 1px solid #e0e8f2;
border-radius: 999px;
background: #f8fafc;
padding: 3px 8px 3px 4px;
}
.v2-history-result-meta > .semi-tag {
min-height: 20px;
margin: 0;
border-radius: 999px;
padding-inline: 7px;
}
.v2-history-query-duration {
white-space: nowrap;
}
.v2-history-summary-rail .v2-workspace-metric-list {
grid-template-columns: 1.05fr .85fr 1.35fr;
}
.v2-history-summary-rail .v2-workspace-metric-list > span:last-child > em {
color: #718198;
font-weight: 600;
}
.v2-history-result-actions > .semi-button,
.v2-history-result-actions > .semi-dropdown > .semi-button {
min-height: 32px;
border-radius: 8px;
}
.v2-history-result-actions > .v2-secondary-button {
border-color: #d5e3f6;
background: #f2f7ff;
color: #155fc5;
}
.v2-history-more-button[aria-expanded="true"] {
background: #edf4fe;
color: #155fc5;
}
.v2-history-tools-menu {
min-width: 190px;
}
@media (max-width: 680px) {
.v2-history-summary-rail .v2-workspace-metric-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}