Files
tech-log-frontend/src/features/tech-log/presentation/styles/publication-flow.module.css
T
DongHyeonkaandClaude Opus 5 8c5dbe1a0d fix: 게시 기록과 워크플로 버튼도 글자만 남긴다
앞선 변경은 `.studio-app` 규칙만 고쳤다. 게시 기록·게시 흐름·워크플로
게이트는 CSS module 을 쓰므로 그 규칙이 닿지 않아, 다른 화면에서 상자를
걷어낸 뒤에도 「Snapshot 보기」·「게시 취소」·「적용」만 테두리와 파란 채움으로
남아 있었다. 한 화면 안에서 두 언어가 섞여 더 눈에 띄었다.

같은 규칙을 적용한다 — 상자도 선도 없이 글자의 굵기와 색으로만 격을 나누고,
반응은 hover 밑줄로만 나타난다. 입력 칸과 대화상자 테두리는 그대로 둔다:
그쪽은 누르는 것이 아니라 담는 것이라 경계가 필요하다.

로그인 게이트(`auth-gate`)의 채운 버튼은 남긴다. 그 화면의 유일한 행동이고,
폭을 채워 어디를 눌러야 하는지 묻지 않게 한다는 판단이 이미 기록돼 있다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011nAjrqNHGPNngN4aUbcyvJ
2026-08-31 10:17:53 +09:00

561 lines
9.3 KiB
CSS

.page,
.snapshotPage {
min-width: 0;
}
.heading {
max-width: 780px;
padding-bottom: 44px;
border-bottom: 1px solid var(--line-strong);
}
.heading h1,
.routeState h1 {
margin: 0 0 16px;
font-size: clamp(36px, 6vw, 62px);
line-height: 1.08;
letter-spacing: -0.045em;
overflow-wrap: anywhere;
}
.heading > p:last-child,
.routeState > p {
color: var(--muted);
line-height: 1.75;
}
.eyebrow {
margin: 0 0 13px;
color: var(--muted);
font-family: "IBM Plex Mono", monospace;
font-size: 11px;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.loading {
min-height: 220px;
color: var(--muted);
}
.routeState,
.errorState,
.emptyState {
max-width: 740px;
padding-block: 48px;
}
.routeState a,
.routeState button,
.errorState button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
margin-top: 18px;
padding-inline: 2px;
border: 0;
background: none;
color: var(--ink);
font-weight: 700;
}
.routeState a:hover,
.routeState button:hover,
.errorState button:hover {
text-decoration: underline;
text-underline-offset: 5px;
}
.summary {
margin-top: 30px;
border-block: 1px solid var(--line);
}
.summary dl {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
margin: 0;
}
.summary dl > div {
min-width: 0;
padding: 20px;
border-right: 1px solid var(--line);
}
.summary dl > div:last-child {
border-right: 0;
}
.summary dt,
.snapshotToolbar dt {
color: var(--muted);
font-size: 11px;
}
.summary dd,
.snapshotToolbar dd {
margin: 7px 0 0;
font-size: 14px;
overflow-wrap: anywhere;
}
.changeSummary,
.publishAction,
.blocked,
.gateReady {
max-width: 850px;
padding-block: 42px;
border-bottom: 1px solid var(--line);
}
.changeSummary h2,
.publishAction h2,
.blocked h2,
.gateReady h2,
.errorState h2,
.emptyState h2 {
margin: 0 0 12px;
font-size: 27px;
line-height: 1.3;
overflow-wrap: anywhere;
}
.changeSummary p,
.publishAction > p,
.blocked p,
.gateReady p,
.errorState p,
.emptyState p {
color: var(--muted);
line-height: 1.75;
}
.blocked {
margin-top: 30px;
padding-inline: 22px;
border-left: 3px solid #9a611e;
background: #fff9f0;
}
.blocked a,
.gateReady a {
display: inline-flex;
min-height: 44px;
align-items: center;
color: var(--signal);
font-weight: 650;
}
.gateReady {
margin-top: 30px;
padding-inline: 22px;
border-left: 3px solid #2d7257;
background: #f4fbf7;
}
.warningGroup {
margin: 26px 0 0;
padding: 0;
border: 0;
border-top: 1px solid var(--line-strong);
}
.warningGroup legend {
padding: 22px 0 0;
font-size: 17px;
font-weight: 700;
}
.warningGroup > p,
.noWarnings {
margin: 8px 0 16px;
color: var(--muted);
font-size: 13px;
}
.warningList {
border-bottom: 1px solid var(--line);
}
.warningItem {
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
gap: 13px;
min-height: 66px;
align-items: start;
padding-block: 16px;
border-top: 1px solid var(--line);
cursor: pointer;
}
.warningItem input {
width: 20px;
height: 20px;
margin-top: 2px;
accent-color: var(--signal);
}
.warningItem span {
display: grid;
min-width: 0;
gap: 4px;
}
.warningItem strong {
font-family: "IBM Plex Mono", monospace;
font-size: 12px;
overflow-wrap: anywhere;
}
.warningItem small {
color: var(--muted);
line-height: 1.6;
}
.actions,
.dialogActions,
.rowActions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.actions {
justify-content: flex-end;
margin-top: 28px;
}
/*
Studio 의 나머지 화면과 같은 언어를 쓴다 — 상자도 선도 두지 않고 글자의 굵기와 색으로만
격을 나눈다. 이 화면은 CSS module 을 쓰므로 `.studio-app` 규칙이 닿지 않아, 다른 화면에서
파란 채움을 걷어낸 뒤에도 「Snapshot 보기」·「게시 취소」·「적용」만 상자로 남아 있었다.
*/
.actions a,
.actions button,
.rowActions a,
.rowActions button,
.filters button,
.dialogActions button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
padding-inline: 2px;
border: 0;
border-radius: 0;
background: none;
color: var(--muted);
font: inherit;
font-size: 13px;
font-weight: 600;
}
/* 각 화면의 주 동작. 진한 굵은 글자로만 올린다. */
.actions button,
.filters button {
color: var(--ink);
font-weight: 700;
}
.actions a:hover,
.actions button:hover:not(:disabled),
.rowActions a:hover,
.rowActions button:hover:not(:disabled),
.filters button:hover:not(:disabled),
.dialogActions button:hover:not(:disabled) {
color: var(--ink);
text-decoration: underline;
text-underline-offset: 5px;
}
.actions button:disabled,
.dialogActions button:disabled {
color: var(--faint);
cursor: not-allowed;
}
.error {
margin-top: 18px;
padding: 13px 15px;
border-left: 3px solid #a13b31;
background: #fff7f4;
color: #75271f !important;
}
.success {
margin-top: 22px;
padding: 13px 15px;
border-left: 3px solid #2d7257;
background: #f4fbf7;
color: #215943;
}
.filters {
display: grid;
grid-template-columns: minmax(260px, 1fr) 190px auto;
gap: 14px;
align-items: end;
padding-block: 28px;
border-bottom: 1px solid var(--line-strong);
}
.filters label {
display: grid;
min-width: 0;
gap: 7px;
color: var(--muted);
font-size: 12px;
font-weight: 650;
}
.filters input,
.filters select {
width: 100%;
min-width: 0;
min-height: 44px;
padding-inline: 12px;
border: 1px solid var(--line-strong);
border-radius: 5px;
background: var(--paper);
color: var(--ink);
font: inherit;
}
.historyList {
margin: 28px 0 0;
padding: 0;
border-top: 1px solid var(--line-strong);
list-style: none;
}
.historyRow {
display: grid;
grid-template-columns: 100px minmax(260px, 1fr) 180px minmax(160px, auto);
gap: 20px;
align-items: start;
padding-block: 25px;
border-bottom: 1px solid var(--line);
}
.eventType,
.kind {
margin: 3px 0 0;
color: var(--muted);
font-family: "IBM Plex Mono", monospace;
font-size: 11px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.eventMain {
min-width: 0;
}
.eventMain h2 {
margin: 5px 0 0;
font-size: 17px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.eventMain > p:last-child,
.historyRow time {
margin: 6px 0 0;
color: var(--muted);
font-size: 12px;
line-height: 1.6;
overflow-wrap: anywhere;
}
.rowActions {
justify-content: flex-end;
}
.rowActions a,
.rowActions button {
color: var(--signal);
}
.dialog {
/* studio.css 의 두 다이얼로그와 같은 이유로 명시한다 — UA 기본 margin:auto 에
맡기면 좌상단에 붙는다. */
position: fixed;
inset: 0;
margin: auto;
width: min(580px, calc(100% - 32px));
max-height: calc(100dvh - 32px);
padding: 0;
overflow: auto;
border: 1px solid var(--line-strong);
border-radius: 8px;
background: var(--paper);
color: var(--ink);
}
.dialog::backdrop {
background: rgba(23, 24, 27, 0.5);
}
.dialogBody {
padding: 30px;
}
.dialogBody h2 {
margin: 0 0 12px;
font-size: 28px;
}
.dialogBody > p {
line-height: 1.7;
}
.preservedNote {
margin-top: 22px;
padding: 17px;
border-left: 3px solid #2d7257;
background: #f4fbf7;
}
.preservedNote p {
margin: 6px 0 0;
color: var(--muted);
line-height: 1.6;
}
.dialogActions {
justify-content: flex-end;
margin-top: 28px;
}
.dialogActions button:last-child {
border-color: #9b342d;
background: #9b342d;
color: #fff;
}
.snapshotToolbar {
display: grid;
grid-template-columns: minmax(220px, 1fr) minmax(420px, 1.4fr) auto;
gap: 24px;
align-items: center;
padding-bottom: 28px;
border-bottom: 1px solid var(--line-strong);
}
.snapshotTitle {
margin: 0;
font-size: 21px;
font-weight: 700;
}
.snapshotToolbar dl {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin: 0;
}
.snapshotToolbar a {
display: inline-flex;
min-height: 44px;
align-items: center;
color: var(--signal);
font-size: 13px;
font-weight: 650;
}
.snapshotDocument {
min-width: 0;
padding-top: 30px;
}
.snapshotDocument :global(.public-record-embedded) {
width: 100%;
}
@media (max-width: 980px) {
.summary dl {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.summary dl > div:nth-child(2) {
border-right: 0;
}
.summary dl > div:nth-child(-n + 2) {
border-bottom: 1px solid var(--line);
}
.historyRow {
grid-template-columns: 84px minmax(0, 1fr) 170px;
}
.rowActions {
grid-column: 2 / -1;
}
.snapshotToolbar {
grid-template-columns: minmax(0, 1fr) auto;
}
.snapshotToolbar dl {
grid-column: 1 / -1;
grid-row: 2;
}
}
@media (max-width: 767px) {
.heading {
padding-bottom: 32px;
}
.summary dl,
.filters,
.historyRow,
.snapshotToolbar,
.snapshotToolbar dl {
grid-template-columns: minmax(0, 1fr);
}
.summary dl > div,
.summary dl > div:nth-child(2) {
border-right: 0;
border-bottom: 1px solid var(--line);
}
.summary dl > div:last-child {
border-bottom: 0;
}
.filters button,
.actions a,
.actions button,
.rowActions a,
.rowActions button,
.dialogActions button {
width: 100%;
}
.historyRow {
gap: 8px;
}
.rowActions,
.snapshotToolbar dl {
grid-column: 1;
}
.rowActions,
.actions,
.dialogActions {
align-items: stretch;
flex-direction: column;
}
.dialogBody {
padding: 24px 20px;
}
}