feat: port TechLog shells and styles

This commit is contained in:
DongHyeonka
2026-08-15 21:20:47 +09:00
parent 01316763e3
commit 627df884dd
14 changed files with 4124 additions and 8 deletions
@@ -0,0 +1,533 @@
.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: 16px;
border: 1px solid var(--line-strong);
border-radius: 5px;
background: var(--paper);
color: var(--signal);
font-weight: 650;
}
.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;
}
.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: 15px;
border: 1px solid var(--line-strong);
border-radius: 5px;
background: var(--paper);
color: var(--ink);
font: inherit;
font-size: 13px;
font-weight: 650;
}
.actions button,
.filters button {
border-color: var(--signal);
background: var(--signal);
color: #fff;
}
.actions button:disabled,
.dialogActions button:disabled {
opacity: 0.52;
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 {
width: min(580px, calc(100% - 32px));
max-height: calc(100vh - 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;
}
}