refactor: 생성 완료 화면을 CompletionView 로 통일

This commit is contained in:
skkim committed 2026-08-11 14:57:34 +09:00
1 parent 3701490728
commit b9fd77fb51
4 files changed
+383 -343

No files matched your search

+23 -100
View File
@@ -13,8 +13,7 @@
선택 카드의 링(테두리 바깥 1px)이 좌우에서 잘리고, 버튼 hover 글로우도 잘린다.
생성물 파일은 직접 고치지 않으므로 여기서 되돌린다(0,2,0 이라 이긴다). */
.ssul-scope.ssul-create,
.ssul-scope.ssul-making,
.ssul-scope.ssul-result {
.ssul-scope.ssul-making {
overflow: visible;
}
@@ -133,8 +132,10 @@
color: var(--color-text-gray-400);
}
/* ── 업장 검색 ───────────────────────────────────── */
/* ── 업장 검색 (ADO2 식 자동완성) ─────────────────── */
/* position: relative 는 드롭다운(.ssul-places)의 기준점이다 */
.ssul-create__search {
position: relative;
display: flex;
gap: 8px;
width: 100%;
@@ -181,14 +182,23 @@
}
/* ── 검색 결과 / 선택 / 안내 ─────────────────────── */
/* 입력창 아래로 겹쳐 뜨는 자동완성 드롭다운.
문서 흐름에 넣으면 타이핑할 때마다 아래 요소(비용·버튼)가 밀려 흔들린다. */
.ssul-places {
width: 100%;
margin: 0 0 14px;
position: absolute;
top: calc(100% + 6px);
left: 0;
right: 0;
z-index: 20;
max-height: 260px;
overflow-y: auto;
margin: 0;
padding: 0;
list-style: none;
border: 1px solid var(--color-border-white-10);
border-radius: 12px;
overflow: hidden;
background: var(--color-bg-card);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.ssul-places li + li {
@@ -359,7 +369,11 @@
align-items: center;
width: 100%;
max-width: 420px;
margin: 0 auto;
/* 부모(.wizard-page-container)가 height:100% flex column 이다.
`0 auto` 면 수평만 중앙이라 스텝퍼 바로 아래에 붙고 세로 여백이 전부
아래로 몰린다. `auto` 는 상하 여백도 균등 분배해 스텝퍼~바닥 사이
중앙에 놓인다. */
margin: auto;
padding: 48px 20px;
text-align: center;
color: var(--color-text-white);
@@ -492,96 +506,5 @@
SsulViewerModal 이 castad `video-detail-*` 클래스를 그대로 재사용해
통합 목록에서 어떤 카드를 열든 같은 모양이 나오게 했다. */
/* ── 결과 화면 ───────────────────────────────────── */
.ssul-scope.ssul-result {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 420px;
margin: 0 auto;
padding: 32px 20px 48px;
text-align: center;
color: var(--color-text-white);
}
.ssul-result__scenario {
font-size: 13px;
font-weight: 700;
margin-bottom: 10px;
}
.ssul-result__title {
margin: 0 0 22px;
font-size: 19px;
font-weight: 700;
letter-spacing: -0.015em;
}
/* 세로 쇼츠 비율 */
.ssul-result__video,
.ssul-result__video-skeleton {
width: 100%;
max-width: 300px;
aspect-ratio: 9 / 16;
border-radius: 14px;
background: #000;
object-fit: cover;
}
.ssul-result__video-skeleton {
background: var(--color-bg-card);
border: 1px solid var(--color-border-white-10);
}
.ssul-result__actions {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
max-width: 300px;
margin-top: 24px;
}
.ssul-result__btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
height: 46px;
border: 1px solid var(--color-border-white-10);
border-radius: 999px;
background: var(--color-bg-card);
color: var(--color-text-white);
font-family: inherit;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: border-color var(--transition-normal), filter var(--transition-normal);
}
.ssul-result__btn svg {
width: 18px;
height: 18px;
}
.ssul-result__btn:hover:not(:disabled) {
border-color: rgba(255, 255, 255, 0.3);
}
.ssul-result__btn.primary {
border: none;
background: linear-gradient(90deg, #ff8a5c, var(--color-ssul-accent));
color: #1a1200;
font-weight: 800;
}
.ssul-result__btn.primary:hover:not(:disabled) {
filter: brightness(1.08);
}
.ssul-result__btn:disabled {
opacity: 0.4;
cursor: default;
}
/* 결과 화면 스타일은 없다 — SsulResultContent 가 ADO2 완료 화면과 같은
`CompletionView`(comp2-* 클래스)를 쓴다(2026-08-10 통일). */