feat(KB-013): complete Step 1 — add step progress component to TaskDetailModal

This commit is contained in:
gsxdsm
2026-03-29 17:53:52 -07:00
parent 0176534396
commit ccdba0de83
2 changed files with 109 additions and 0 deletions

View File

@@ -1117,6 +1117,79 @@ body {
font-family: "SF Mono", Monaco, Consolas, monospace;
}
/* === Step Progress === */
.detail-step-progress {
margin-top: 16px;
}
.detail-step-progress h4 {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-muted);
margin-bottom: 8px;
}
.step-progress-wrapper {
display: flex;
align-items: center;
gap: 12px;
}
.step-progress-bar {
flex: 1;
display: flex;
gap: 2px;
height: 8px;
}
.step-progress-segment {
flex: 1;
height: 100%;
border-radius: 2px;
transition: filter 0.15s ease, transform 0.15s ease;
cursor: pointer;
position: relative;
}
.step-progress-segment:hover {
filter: brightness(1.2);
transform: scaleY(1.1);
}
.step-progress-segment[data-tooltip]:hover::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background: var(--surface);
color: var(--text);
border: 1px solid var(--border);
border-radius: 6px;
padding: 4px 8px;
font-size: 11px;
white-space: nowrap;
z-index: 10;
pointer-events: none;
margin-bottom: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.step-progress-label {
font-size: 11px;
font-weight: 600;
color: var(--text-muted);
font-family: "SF Mono", Monaco, Consolas, monospace;
flex-shrink: 0;
}
.step-progress-empty {
font-size: 13px;
color: var(--text-dim);
opacity: 0.7;
}
/* === Activity Timeline === */
.detail-activity {
margin-top: 20px;