Files
tech-log-frontend/src/features/tech-log/presentation/styles/workflow.module.css
T
DongHyeonka fb478f951b fix: say which version a stale validation judged, before showing its errors
The validation screen presented a report from an earlier version with the same
weight as a current one — same status badge, same full error list — and marked
the difference with two small words. An author read a version 2 report on a
version 5 document and understood those errors as the document's present state.
Every error in that list had already been fixed.

The report now leads with what it is: which version it judged, that the
document has changed since, and where to re-run it. The badge stops claiming a
verdict and the issue list recedes, because a judgement about an older version
is not a verdict about this one.
2026-08-21 18:10:51 +09:00

94 lines
7.9 KiB
CSS

:global(.studio-workflow-screen),
:global(.studio-preview-screen) { min-width: 0; }
:global(.studio-workflow-heading),
:global(.studio-preview-toolbar) { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 42px; border-bottom: 1px solid var(--line-strong); }
:global(.studio-workflow-heading) h1,
:global(.studio-preview-toolbar) h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -0.045em; }
:global(.studio-workflow-heading > div > p:last-child),
:global(.studio-preview-toolbar > div > p:last-child) { max-width: 780px; margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
:global(.studio-workflow-quiet-link) { display: inline-flex; min-height: 44px; align-items: center; color: var(--signal); font-weight: 650; white-space: nowrap; }
:global(.studio-workflow-gate) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; margin-top: 34px; padding: 28px; border: 1px solid var(--line-strong); border-left-width: 4px; }
:global(.studio-workflow-gate--ready) { border-left-color: #166748; background: #f3faf6; }
:global(.studio-workflow-gate--blocked) { border-left-color: #9a5a1f; background: #fff9f0; }
:global(.studio-workflow-gate) h2 { margin: 0; font-size: 25px; letter-spacing: -0.03em; }
:global(.studio-workflow-gate) p:last-child { margin: 10px 0 0; color: var(--muted); line-height: 1.65; }
:global(.studio-workflow-actions) { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
:global(.studio-workflow-actions) button,
:global(.studio-workflow-actions) a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding-inline: 15px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--paper); color: var(--ink); font-weight: 650; }
:global(.studio-workflow-actions) button:first-child { border-color: var(--signal); background: var(--signal); color: #fff; }
:global(.studio-workflow-actions) button:disabled { opacity: 0.55; cursor: wait; }
:global(.studio-workflow-feedback) { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--signal); background: #f5f7ff; }
:global(.studio-workflow-loading) { min-height: 240px; padding-block: 56px; color: var(--muted); }
:global(.studio-workflow-report) { margin-top: 54px; border-top: 1px solid var(--line-strong); }
:global(.studio-workflow-section-heading) { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line); }
:global(.studio-workflow-section-heading) h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
:global(.studio-workflow-status) { display: inline-flex; min-height: 32px; align-items: center; padding-inline: 11px; border: 1px solid currentColor; border-radius: 999px; font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 700; }
:global(.studio-workflow-status--invalid) { color: #8f2f27; }
:global(.studio-workflow-status--warnings) { color: #8b5a14; }
:global(.studio-workflow-status--valid) { color: #166748; }
:global(.studio-workflow-metadata),
:global(.studio-preview-metadata) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); }
:global(.studio-workflow-metadata) div,
:global(.studio-preview-metadata) div { min-width: 0; padding: 20px; border-right: 1px solid var(--line); }
:global(.studio-workflow-metadata) div:last-child,
:global(.studio-preview-metadata) div:last-child { border-right: 0; }
:global(.studio-workflow-metadata) dt,
:global(.studio-preview-metadata) dt { color: var(--muted); font-size: 11px; }
:global(.studio-workflow-metadata) dd,
:global(.studio-preview-metadata) dd { margin: 7px 0 0; font-size: 13px; overflow-wrap: anywhere; }
:global(.studio-workflow-issue-list) { margin: 0; padding: 0; list-style: none; }
:global(.studio-workflow-issue-list) li { min-width: 0; border-bottom: 1px solid var(--line); }
:global(.studio-workflow-issue-list) a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; min-width: 0; gap: 18px; align-items: start; padding-block: 22px; color: inherit; }
:global(.studio-workflow-issue-severity) { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
:global(.studio-workflow-issue-body) { display: grid; min-width: 0; gap: 7px; }
:global(.studio-workflow-issue-body) strong,
:global(.studio-workflow-issue-body) small { overflow-wrap: anywhere; }
:global(.studio-workflow-issue-body) small { color: var(--muted); font-family: "IBM Plex Mono", monospace; }
:global(.studio-workflow-empty-issues),
:global(.studio-workflow-empty-panel) { margin: 0; padding-block: 42px; border-bottom: 1px solid var(--line); color: var(--muted); }
:global(.studio-workflow-empty-panel) h2 { margin: 0; color: var(--ink); font-size: 25px; }
:global(.studio-workflow-empty-panel) p { margin: 10px 0 0; }
:global(.studio-preview-toolbar--compact) { padding-bottom: 28px; }
:global(.studio-preview-title) { margin: 0; color: var(--ink); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
:global(.studio-preview-state) { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin-top: 24px; padding: 20px; border: 1px solid var(--line-strong); border-left-width: 4px; }
:global(.studio-preview-state) strong { font-family: "IBM Plex Mono", monospace; font-size: 12px; }
:global(.studio-preview-state) p { margin: 5px 0 0; color: var(--muted); }
:global(.studio-preview-state--current) { border-left-color: #166748; background: #f3faf6; }
:global(.studio-preview-state--none),
:global(.studio-preview-state--stale) { border-left-color: #9a5a1f; background: #fff9f0; }
:global(.studio-preview-state--expired) { border-left-color: #8f2f27; background: #fff7f4; }
:global(.studio-preview-metadata) { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line); }
:global(.studio-preview-public-frame) { min-width: 0; margin-top: 38px; overflow: clip; border: 1px solid var(--line); background: var(--paper); }
:global(.studio-preview-public-frame .public-record-embedded) { width: 100%; max-width: none; margin: 0; padding: clamp(24px, 5vw, 56px); }
@media (max-width: 1024px) {
:global(.studio-workflow-gate) { grid-template-columns: minmax(0, 1fr); }
:global(.studio-preview-state) { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
:global(.studio-workflow-heading),
:global(.studio-preview-toolbar) { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 28px; }
:global(.studio-workflow-quiet-link) { white-space: normal; }
:global(.studio-workflow-gate) { margin-top: 24px; padding: 22px 18px; }
:global(.studio-workflow-actions) { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); }
:global(.studio-workflow-metadata),
:global(.studio-preview-metadata) { grid-template-columns: minmax(0, 1fr); }
:global(.studio-workflow-metadata) div,
:global(.studio-preview-metadata) div { border-right: 0; border-bottom: 1px solid var(--line); }
:global(.studio-workflow-metadata) div:last-child,
:global(.studio-preview-metadata) div:last-child { border-bottom: 0; }
:global(.studio-workflow-issue-list) a { grid-template-columns: minmax(0, 1fr); gap: 8px; }
:global(.studio-workflow-issue-list) a > span:last-child { display: none; }
:global(.studio-preview-public-frame .public-record-embedded) { padding: 22px 16px; }
}
/* 지난 판정은 현재 것과 같은 무게로 보이면 안 된다 — 읽는 사람이 지금 상태로 읽는다. */
:global(.studio-workflow-status--stale) { border-color: var(--line); background: var(--paper); color: var(--muted); }
:global(.studio-workflow-stale-notice) { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--muted); font-size: 13px; line-height: 1.6; }
:global(.studio-workflow-issue-list--stale) { opacity: 0.62; }