feat: strengthen design skill and refresh all showcases
Some checks failed
ci / build (push) Has been cancelled

This commit is contained in:
Yun Chan 2026-09-12 18:16:33 +09:00
parent 69e5cc1efd
commit e09d4efb1c
257 changed files with 8196 additions and 2374 deletions

View file

@ -141,8 +141,9 @@ h3 { font-size: var(--step-0); font-weight: 500; }
max-width: 1180px;
margin-inline: auto;
padding: var(--space-5) var(--space-5) 96px;
min-width: 0;
}
.view { display: none; }
.view { display: none; min-width: 0; }
.view.is-on { display: block; }
.view:focus { outline: none; }
.view > h1 { margin-bottom: 4px; }
@ -152,11 +153,15 @@ h3 { font-size: var(--step-0); font-weight: 500; }
.view.is-on { animation: view-in 70ms var(--ease-out) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } }
}
.view-sub { color: var(--muted-foreground); font-size: var(--step-0); margin-bottom: var(--space-5); max-width: 46em; }
.view-sub { color: var(--muted-foreground); font-size: var(--workspace-meta-size); margin-bottom: var(--space-5); max-width: 46em; }
#view-catalog.is-on {
display: grid;
grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
gap: var(--space-4);
gap: 0;
background: var(--card);
border: 1px solid var(--workspace-rule);
border-radius: var(--workspace-radius);
box-shadow: none;
align-items: start;
}
.view > *:not(:first-child):not(.view-sub) { margin-top: 0; }
@ -226,16 +231,17 @@ h3 { font-size: var(--step-0); font-weight: 500; }
appearance: none; background: none; cursor: pointer; font: inherit;
width: 100%; text-align: left;
display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
padding: var(--space-3) var(--space-2);
min-width: 0;
padding: 0.875rem var(--space-2);
border: 0; border-bottom: 1px solid var(--border);
border-radius: var(--radius);
border-radius: 0;
transition: background-color 80ms ease;
}
.course-row:first-child { border-top: 1px solid var(--border); }
.course-row:hover { background: var(--muted); }
.course-row:active { scale: 0.995; }
.c-main { display: grid; gap: 2px; min-width: 0; }
.c-name { font-weight: 600; display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; }
.c-name { font-weight: 600; display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; font-size: var(--workspace-body-size); }
.c-dept {
font-size: var(--step--1); font-weight: 500;
color: var(--muted-foreground);
@ -243,10 +249,10 @@ h3 { font-size: var(--step-0); font-weight: 500; }
border-radius: var(--radius-xs);
padding: 1px 6px;
}
.c-sub { color: var(--muted-foreground); font-size: var(--step--1); }
.c-side { display: grid; gap: 2px; text-align: right; flex: none; font-size: var(--step--1); }
.c-credit { font-weight: 500; color: var(--foreground); }
.c-seats { color: var(--muted-foreground); }
.c-sub { color: var(--muted-foreground); font-size: var(--workspace-meta-size); }
.c-side { display: grid; min-width: 4.75rem; gap: 0.25rem; text-align: right; flex: none; font-size: var(--workspace-meta-size); }
.c-credit { font-weight: 500; color: var(--foreground); font-variant-numeric: tabular-nums; }
.c-seats { color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.c-seats.is-low { color: var(--danger); font-weight: 600; }
.c-star { color: var(--accent); font-weight: 600; }
.c-enrolled {
@ -262,8 +268,11 @@ h3 { font-size: var(--step-0); font-weight: 500; }
.empty { padding: var(--space-4) 0; color: var(--muted-foreground); }
/* ── 표 ── */
.table-wrap { overflow-x: auto; overflow-y: hidden; }
table { width: 100%; border-collapse: collapse; }
.table-wrap { max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-gutter: stable both-edges; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-wrap > table { min-width: 600px; }
#en-table, #ar-table { min-width: 680px; }
table th, table td { overflow-wrap: normal; word-break: keep-all; }
th { font-weight: 500; } /* UA 기본 th 볼드 재정의 */
thead th {
text-align: left; font-weight: 500; font-size: var(--step--1);
@ -289,7 +298,7 @@ tbody tr:hover { background: var(--muted); }
background: none; color: var(--muted-foreground);
border: 1px solid var(--border-strong); border-radius: var(--radius);
height: 28px; padding: 0 10px;
transition: all 100ms ease;
transition: background-color 100ms ease, border-color 100ms ease, color 100ms ease;
white-space: nowrap;
}
.give-btn:hover { border-color: var(--danger); color: var(--danger); }
@ -403,6 +412,8 @@ tbody tr:hover { background: var(--muted); }
/* ── 모달: 스플릿. 정보 패널과 핵심 동작을 분리한다. ── */
.modal {
position: fixed;
inset: 0;
margin: auto;
width: min(94vw, 860px);
max-height: min(86dvh, 760px);
@ -412,8 +423,11 @@ tbody tr:hover { background: var(--muted); }
background: var(--card);
color: var(--foreground);
overflow: hidden;
overscroll-behavior: contain;
box-shadow: var(--shadow-xl);
}
html:has(dialog.modal[open]) { overflow: hidden; }
.modal::backdrop { background: var(--backdrop-dim); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@media (prefers-reduced-motion: no-preference) {
.modal[open] { animation: modal-in 200ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@ -514,7 +528,8 @@ tbody tr:hover { background: var(--muted); }
/* ── 반응형 ── */
@media (max-width: 900px) {
#view-catalog.is-on { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
#view-catalog.is-on { grid-template-columns: minmax(0, 1fr); gap: 0; }
#view-catalog .catalog { border-right: 0; border-bottom: 1px solid var(--workspace-rule); }
.timetable-panel { position: static; }
.notice-list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
.no-kind, .no-date { justify-self: start; }
@ -526,6 +541,10 @@ tbody tr:hover { background: var(--muted); }
.layout {
padding: var(--space-4) max(var(--space-5), var(--safe-right)) calc(72px + var(--safe-bottom)) max(var(--space-5), var(--safe-left));
}
.toolbar { align-items: stretch; min-width: 0; }
#q { width: 100%; min-width: 0; flex: 1 1 100%; }
.chips { width: 100%; min-width: 0; flex-wrap: wrap; }
.chip { min-width: 0; flex: 1 1 0; justify-content: center; }
}
@media (max-width: 680px) {
.mspread { grid-template-columns: minmax(0, 1fr); }
@ -675,15 +694,15 @@ kbd {
border-top: 1px solid var(--border);
padding: 6px max(var(--space-2), var(--safe-left)) calc(6px + var(--safe-bottom)) max(var(--space-2), var(--safe-right));
}
@media (max-width: 900px) { .bottom-nav { display: grid; grid-auto-flow: column; } }
@media (max-width: 900px) { .bottom-nav { display: grid; min-width: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: row; } }
.bnav-item {
appearance: none; background: none; border: 0; cursor: pointer; font: inherit;
display: grid; justify-items: center; align-content: center; gap: 3px;
min-height: 52px; min-width: 48px; padding: 4px 2px;
min-height: 52px; min-width: 0; padding: 4px 2px;
border-radius: var(--radius);
color: var(--muted-foreground);
}
.bnav-item span { font-size: var(--step--2); font-weight: 500; }
.bnav-item span { max-width: 100%; font-size: var(--step--2); font-weight: 500; overflow-wrap: anywhere; }
.bnav-item.is-current { color: var(--accent-ink); font-weight: 600; }
.bnav-item.is-current svg { color: var(--accent); }