syntax-video-infer / static /classifier-workflow.css
MesserMMP's picture
Update the research workspace
57ea0fa verified
Raw History Blame Contribute Delete
4.82 kB
.classification-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 16px 0;
border-bottom: 1px solid var(--line);
}
.classification-caption {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}
.classification-caption > .eyebrow {
font-size: 11px;
letter-spacing: 0;
text-transform: none;
font-weight: 500;
}
.classification-badge {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 6px 10px;
border: 1px solid var(--detail-accent-line);
border-radius: 6px;
background: var(--accent-pale);
color: var(--accent);
font-size: 12px;
line-height: 1.3;
font-weight: 600;
cursor: default;
}
.classification-badge::before {
content: '';
width: 5px;
height: 5px;
flex: none;
border-radius: 50%;
background: currentColor;
opacity: .75;
}
.classification-badge.right { background: var(--detail-surface); }
.classification-badge.exclude {
color: var(--muted);
background: var(--bg);
border-color: var(--line);
}
.classification-badge.unassigned {
color: var(--muted);
background: transparent;
border-color: var(--line);
font-weight: 500;
}
.classification-badge.unassigned::before { background: none; border: 1px solid currentColor; }
.classification-reason {
max-width: 310px;
color: var(--muted);
font-size: 11px;
line-height: 1.55;
text-align: right;
}
.analysis-panel > .run-card {
order: -1;
border-color: var(--detail-accent-line);
}
.pipeline-position {
color: var(--muted);
font-size: 11px;
line-height: 1;
font-variant-numeric: tabular-nums;
letter-spacing: .5px;
}
.pipeline-steps {
display: flex;
gap: 14px;
margin: 16px 0 18px;
padding: 0;
list-style: none;
}
.pipeline-step {
display: flex;
align-items: center;
gap: 7px;
flex: 1;
min-width: 0;
padding: 0;
border: 0;
border-radius: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.4;
font-weight: 500;
background: none;
cursor: default;
transition: color 180ms ease;
}
.pipeline-step:first-child::after {
content: '';
flex: 1;
min-width: 12px;
height: 1px;
margin-left: 6px;
background: var(--line);
transition: background-color 180ms ease;
}
.pipeline-step.active { color: var(--accent); font-weight: 600; }
.pipeline-step.done { color: var(--accent); }
.pipeline-step.done:first-child::after { background: var(--detail-accent-line); }
.pipeline-step-icon {
display: grid;
place-items: center;
width: 12px;
height: 14px;
flex: none;
border: 0;
border-radius: 0;
background: none;
}
.pipeline-step-icon::before { content: ''; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; opacity: .55; }
.pipeline-step.active .pipeline-step-icon::before { background: currentColor; opacity: 1; }
.pipeline-step-icon > span { display: none; }
.pipeline-step-icon > svg { display: none; width: 12px; height: 12px; stroke-width: 1.8; }
.pipeline-step.done .pipeline-step-icon::before { display: none; }
.pipeline-step.done .pipeline-step-icon > svg { display: block; }
.classification-badge { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
#run-card .selection-counts { margin-top: 0; }
#run-card .run-hint { min-height: 3.3em; margin: 16px 0; }
#run-card #run-button { gap: 9px; min-height: 43px; }
#run-card #run-button-label { flex: 1; text-align: left; }
#run-card #run-button[aria-busy=true] { opacity: 1; cursor: progress; }
#run-card #run-button .spinner {
width: 14px;
height: 14px;
border-color: #cbd9d380;
border-top-color: currentColor;
}
#run-card #run-button-arrow { width: 17px; height: 17px; }
#run-card .job-status-heading { gap: 10px; }
#run-card #job-percentage { flex: none; font-variant-numeric: tabular-nums; }
@media(max-width:960px) {
.classification-row { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
.classification-reason { max-width: none; text-align: left; }
.pipeline-step { gap: 6px; }
}
@media(max-width:760px) {
.classification-row { align-items: center; gap: 10px 14px; padding: 15px 0; }
.classification-badge { font-size: 12px; }
.classification-reason { font-size: 11px; }
.pipeline-step { font-size: 12px; gap: 8px; }
#run-card .run-hint { font-size: 12px; }
}
#run-card{scroll-margin-top:calc(var(--header-height) + 24px)}#run-card:focus{outline:none}.workspace-grid>.run-card{grid-column:1/-1;order:0}@media(max-width:760px){.workspace-grid>.run-card{margin-bottom:0;padding:18px 20px}.workspace-grid>.run-card .pipeline-steps{margin-top:13px;margin-bottom:15px}.workspace-grid>.run-card .run-hint{min-height:0;margin:14px 0}.workspace-grid>.run-card .selection-counts{margin-top:0}}
@media(prefers-reduced-motion:reduce){.pipeline-step,.pipeline-step::after,.classification-badge{transition:none}}