feat(workbench): separate stale progress items

This commit is contained in:
caoxiaozhu
2026-06-03 12:38:17 +08:00
parent 6fc5e66ea1
commit 3130c42d76
3 changed files with 81 additions and 2 deletions

View File

@@ -553,6 +553,7 @@
}
.progress-row {
position: relative;
display: grid;
grid-template-columns: minmax(78px, 0.44fr) minmax(138px, 0.86fr) minmax(300px, 1.46fr) minmax(92px, auto);
align-items: center;
@@ -563,6 +564,41 @@
text-align: left;
}
.progress-row.has-long-duration-divider {
margin-top: 13px;
padding-top: 13px;
border-top: 0;
}
.progress-row.has-long-duration-divider::before {
content: "10日以上";
position: absolute;
top: -9px;
left: 0;
z-index: 1;
display: inline-flex;
align-items: center;
height: 18px;
padding-right: 8px;
background: var(--workbench-surface);
color: var(--workbench-muted);
font-size: 11px;
font-weight: 850;
line-height: 1;
white-space: nowrap;
}
.progress-row.has-long-duration-divider::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: var(--workbench-line-soft);
pointer-events: none;
}
.progress-time,
.progress-identity,
.progress-result {