feat(ssulbox): 썰박스 진입 탭·생성 플로우와 통합 콘텐츠 목록 분기
This commit is contained in:
1 parent
c4c46db0d9
commit
bb0ab91bcc
26 files changed
+2793
-119
No files matched your search
@@ -2408,6 +2408,94 @@
|
||||
max-width: 375px;
|
||||
}
|
||||
|
||||
/* =====================================================
|
||||
PipelineTabs — ADO2 / 썰박스 전환 (밑줄 탭)
|
||||
진입 화면에서 로고와 하위 폼 사이에 형제로 얹힌다.
|
||||
|
||||
컨테이너 하단의 옅은 전체 폭 구분선 위로, 활성 탭 아래에만
|
||||
진한 밑줄이 얹힌다. 밑줄 색은 탭에 따라 민트↔앰버로 바뀐다.
|
||||
===================================================== */
|
||||
.pipeline-tabs {
|
||||
position: relative;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
/* 전체 폭 구분선. 활성 밑줄이 이 위에 겹쳐 얹힌다 */
|
||||
border-bottom: 1px solid var(--color-border-white-10);
|
||||
}
|
||||
|
||||
.pipeline-tab {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
/* 13px 상하 패딩 + 폰트로 터치 타겟 44px 이상 확보.
|
||||
밑줄 탭은 필과 달리 배경이 없어 타겟이 작아 보이기 쉽다 */
|
||||
padding: 13px 6px;
|
||||
border: none;
|
||||
background: none;
|
||||
font-family: inherit;
|
||||
font-size: 13.5px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.006em;
|
||||
color: var(--color-text-gray-400);
|
||||
cursor: pointer;
|
||||
transition: color var(--transition-normal);
|
||||
}
|
||||
|
||||
/* 활성 표시 밑줄. 구분선(1px)을 덮도록 bottom: -1px */
|
||||
.pipeline-tab::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -1px;
|
||||
height: 2px;
|
||||
border-radius: 2px;
|
||||
background: transparent;
|
||||
transition: background var(--transition-normal);
|
||||
}
|
||||
|
||||
.pipeline-tab:hover {
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
/* 활성 탭은 배경이 없으므로 밝은 글자 + 굵기로 대비를 만든다 */
|
||||
.pipeline-tab[aria-selected="true"] {
|
||||
color: var(--color-text-white);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.pipeline-tabs[data-active="ado2"] .pipeline-tab[aria-selected="true"]::after {
|
||||
background: var(--color-mint);
|
||||
}
|
||||
|
||||
.pipeline-tabs[data-active="ssul"] .pipeline-tab[aria-selected="true"]::after {
|
||||
background: var(--color-ssul-accent);
|
||||
}
|
||||
|
||||
.pipeline-tab__emoji {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
/* 밑줄은 위치가 아니라 색만 바뀌므로 모션이 미미하지만,
|
||||
castad 전체에서 이 컴포넌트만 전환 효과를 쓰므로 함께 끈다 */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pipeline-tab,
|
||||
.pipeline-tab::after {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* 썰박스 탭의 임시 자리 (Phase 7 에서 SsulCreateForm 으로 교체) */
|
||||
.pipeline-placeholder {
|
||||
width: 100%;
|
||||
padding: 40px 16px;
|
||||
border: 1px dashed var(--color-border-white-10);
|
||||
border-radius: 16px;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.url-input-icon {
|
||||
color: #AE72F9;
|
||||
margin-bottom: 24px;
|
||||
|
||||
@@ -10,3 +10,9 @@
|
||||
@import './studio-assets.css';
|
||||
@import './contents-social.css';
|
||||
@import './modals-overlays.css';
|
||||
|
||||
/* 썰박스 UI — 모든 규칙이 .ssul-scope 안에 갇혀 있어 castad 화면에 영향 없음.
|
||||
ssulbox.css 는 스크립트 생성 파일이므로 직접 수정 금지 (파일 상단 주석 참조).
|
||||
castad 안에서 새로 만든 화면의 스타일은 ssulbox-castad.css 에 둔다. */
|
||||
@import './ssulbox.css';
|
||||
@import './ssulbox-castad.css';
|
||||
@@ -129,7 +129,7 @@
|
||||
|
||||
/* Hero Form */
|
||||
.hero-form {
|
||||
padding-top: 50px;
|
||||
padding-top: 20px;
|
||||
width: 100%;
|
||||
max-width: 375px;
|
||||
display: flex;
|
||||
|
||||
@@ -0,0 +1,587 @@
|
||||
/* =====================================================
|
||||
썰박스 — castad 통합용 신규 컴포넌트 스타일
|
||||
|
||||
ssulbox.css 는 원본에서 스크립트로 변환한 파일이라 직접 수정하지 않는다.
|
||||
castad 안에서 새로 만든 화면(SsulCreateForm 등)의 스타일은 여기에 둔다.
|
||||
|
||||
모든 규칙은 원본과 동일하게 `.ssul-scope` 안에 가둔다.
|
||||
===================================================== */
|
||||
|
||||
/* ssulbox.css 의 `.ssul-scope` 는 원본에서 전체 화면 셸(`#app`)이었던 탓에
|
||||
`overflow: hidden` 을 갖는다. castad 안에서는 셸이 아니라 폼·화면 컨테이너로
|
||||
쓰므로 그 클리핑이 **요소 바깥으로 그려지는 것들을 잘라 먹는다** —
|
||||
선택 카드의 링(테두리 바깥 1px)이 좌우에서 잘리고, 버튼 hover 글로우도 잘린다.
|
||||
생성물 파일은 직접 고치지 않으므로 여기서 되돌린다(0,2,0 이라 이긴다). */
|
||||
.ssul-scope.ssul-create,
|
||||
.ssul-scope.ssul-making,
|
||||
.ssul-scope.ssul-result {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* ── 생성 폼 ─────────────────────────────────────── */
|
||||
.ssul-scope.ssul-create {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.ssul-create__step {
|
||||
align-self: flex-start;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--color-ssul-accent);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* 2단계 라벨. 강조를 1단계에만 두어 시선 순서를 만든다 */
|
||||
.ssul-create__step.muted {
|
||||
font-weight: 600;
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
/* ── 시나리오 2x2 그리드 ─────────────────────────── */
|
||||
.ssul-create__scenarios {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.ssul-scn {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 5px;
|
||||
padding: 14px 12px;
|
||||
/* 테두리 두께는 모든 상태에서 1px 로 고정한다. 선택 시 굵기를 바꾸면
|
||||
border-box 안쪽 폭이 줄어 글자가 흔들린다 — 굵기는 box-shadow 링으로 더한다 */
|
||||
border: 1px solid var(--color-border-white-10);
|
||||
border-radius: 14px;
|
||||
background: var(--color-bg-card);
|
||||
color: inherit;
|
||||
font-family: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
transition: border-color var(--transition-normal), transform var(--transition-normal);
|
||||
}
|
||||
|
||||
/* 시나리오 표지 그라디언트를 옅게 깐다.
|
||||
--scn / --scn-a / --scn-b 는 컴포넌트가 인라인으로 넘긴다. */
|
||||
.ssul-scn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(150deg, var(--scn-a), var(--scn-b));
|
||||
/* 비선택은 눌러 둔다 — 채도까지 낮춰야 선택 카드와 확실히 갈린다 */
|
||||
opacity: 0.22;
|
||||
filter: saturate(0.75);
|
||||
pointer-events: none;
|
||||
transition: opacity var(--transition-normal), filter var(--transition-normal);
|
||||
}
|
||||
|
||||
/* 선택한 카드는 채도·명도를 함께 올린다.
|
||||
불투명도만 올리면 어두운 배경과 섞여 오히려 탁해지므로 filter 로 직접 올린다. */
|
||||
.ssul-scn.active::before {
|
||||
opacity: 0.72;
|
||||
filter: saturate(1.55) brightness(1.18);
|
||||
}
|
||||
|
||||
.ssul-scn:hover {
|
||||
border-color: rgba(255, 255, 255, 0.25);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* 선택 표시는 밝은 중립색 테두리로 둔다.
|
||||
앰버(썰박스 강조색)를 쓰면 시나리오마다 다른 표지색과 부딪힌다 —
|
||||
특히 삼국지(적)·오디세이(청) 위에서 탁해진다. */
|
||||
.ssul-scn.active {
|
||||
border-color: var(--color-mint);
|
||||
/* 링을 **테두리와 같은 색**으로 둔다. 색이 다르면 안쪽 테두리와 바깥 링이
|
||||
갈라져 두 줄로 보인다. 같은 색이면 1px 테두리 + 1px 링이 이어져
|
||||
2px 한 줄로 읽히고, 테두리 두께를 바꾸지 않아 글자도 흔들리지 않는다.
|
||||
마지막 그림자만 시나리오 대표색 글로우. */
|
||||
box-shadow:
|
||||
0 0 0 1px var(--color-mint),
|
||||
0 0 20px -2px var(--scn);
|
||||
}
|
||||
|
||||
/* 표지가 밝아진 만큼 설명 글자도 올려 대비를 지킨다 */
|
||||
.ssul-scn.active .ssul-scn__desc {
|
||||
color: rgba(255, 255, 255, 0.92);
|
||||
}
|
||||
|
||||
.ssul-scn__emoji {
|
||||
position: relative;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.ssul-scn__name {
|
||||
position: relative;
|
||||
font-size: 13.5px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.ssul-scn__desc {
|
||||
position: relative;
|
||||
font-size: 11px;
|
||||
line-height: 1.4;
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
/* ── 업장 검색 ───────────────────────────────────── */
|
||||
.ssul-create__search {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.ssul-create__input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 46px;
|
||||
padding: 8px 16px;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
background: #fff;
|
||||
color: #1f2937;
|
||||
font-family: inherit;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.006em;
|
||||
}
|
||||
|
||||
.ssul-create__input::placeholder {
|
||||
color: #9ca3af;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ssul-create__search-btn {
|
||||
flex: none;
|
||||
padding: 0 18px;
|
||||
border: 1px solid var(--color-border-white-10);
|
||||
border-radius: 999px;
|
||||
background: var(--color-bg-card-inner);
|
||||
color: var(--color-text-white);
|
||||
font-family: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: opacity var(--transition-normal);
|
||||
}
|
||||
|
||||
.ssul-create__search-btn:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* ── 검색 결과 / 선택 / 안내 ─────────────────────── */
|
||||
.ssul-places {
|
||||
width: 100%;
|
||||
margin: 0 0 14px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
border: 1px solid var(--color-border-white-10);
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ssul-places li + li {
|
||||
border-top: 1px solid var(--color-border-white-10);
|
||||
}
|
||||
|
||||
.ssul-places button {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
width: 100%;
|
||||
padding: 11px 14px;
|
||||
border: none;
|
||||
background: var(--color-bg-card);
|
||||
color: inherit;
|
||||
font-family: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ssul-places button:hover {
|
||||
background: var(--color-bg-card-inner);
|
||||
}
|
||||
|
||||
.ssul-places b {
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.ssul-places span {
|
||||
font-size: 11.5px;
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.ssul-picked {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
padding: 11px 14px;
|
||||
margin-bottom: 14px;
|
||||
border: 1.5px solid var(--color-ssul-accent);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 184, 107, 0.08);
|
||||
}
|
||||
|
||||
.ssul-picked__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.ssul-picked__body b {
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.ssul-picked__body span {
|
||||
font-size: 11.5px;
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.ssul-picked__change {
|
||||
flex: none;
|
||||
padding: 6px 12px;
|
||||
border: 1px solid var(--color-border-white-10);
|
||||
border-radius: 999px;
|
||||
background: none;
|
||||
color: var(--color-text-gray-300);
|
||||
font-family: inherit;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ssul-hint {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
margin-bottom: 14px;
|
||||
border-radius: 12px;
|
||||
background: var(--color-bg-card-inner);
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
.ssul-hint.ok {
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
/* 시나리오 확인 안내 — 앞에 점을 찍어 상태 표시임을 드러낸다 */
|
||||
.ssul-hint.dot {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
.ssul-hint.dot::before {
|
||||
content: '';
|
||||
flex: none;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-ssul-accent);
|
||||
}
|
||||
|
||||
.ssul-hint.warn {
|
||||
color: #ffb4a8;
|
||||
}
|
||||
|
||||
/* ── 비용 고지 + 제출 ────────────────────────────── */
|
||||
.ssul-create__cost {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
padding: 10px 4px;
|
||||
font-size: 12.5px;
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.ssul-create__cost-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-weight: 700;
|
||||
color: var(--color-ssul-accent);
|
||||
}
|
||||
|
||||
.ssul-create__coin {
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.ssul-create__submit {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(90deg, #ff8a5c, var(--color-ssul-accent));
|
||||
color: #1a1200;
|
||||
font-family: inherit;
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
transition: filter var(--transition-normal), box-shadow var(--transition-normal);
|
||||
}
|
||||
|
||||
.ssul-create__submit:hover:not(:disabled) {
|
||||
filter: brightness(1.08);
|
||||
box-shadow: 0 4px 28px rgba(255, 180, 90, 0.4);
|
||||
}
|
||||
|
||||
.ssul-create__submit:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* ── 생성 진행 화면 ──────────────────────────────── */
|
||||
.ssul-scope.ssul-making {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
max-width: 420px;
|
||||
margin: 0 auto;
|
||||
padding: 48px 20px;
|
||||
text-align: center;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.ssul-making__scenario {
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.ssul-making__title {
|
||||
margin: 0 0 24px;
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.015em;
|
||||
}
|
||||
|
||||
.ssul-making__title.warn {
|
||||
color: #ffb4a8;
|
||||
}
|
||||
|
||||
/* 진행 스피너 — 원본 LoadingSection 의 회전 요소만 가져왔다.
|
||||
SVG(loading-spinner.svg)를 쓰지 않은 이유: 색이 민트로 하드코딩돼 있어
|
||||
시나리오 대표색(삼국지=적, 오디세이=청)과 부딪힌다. CSS 로 그리면 --scn 을 받는다.
|
||||
`spin` 키프레임은 castad 전역에 이미 있어 재사용한다(새로 만들면 3번째 중복). */
|
||||
.ssul-making__spinner {
|
||||
position: relative;
|
||||
flex: none;
|
||||
width: 104px;
|
||||
height: 104px;
|
||||
margin: 4px 0 26px;
|
||||
}
|
||||
|
||||
/* 트랙(전체 원) */
|
||||
.ssul-making__spinner::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 50%;
|
||||
border: 7px solid var(--color-border-white-10);
|
||||
}
|
||||
|
||||
/* 회전하는 호 — 3/4 만 칠해 원본 SVG 의 형태를 따른다 */
|
||||
.ssul-making__spinner::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 50%;
|
||||
border: 7px solid transparent;
|
||||
border-top-color: var(--scn);
|
||||
border-right-color: var(--scn);
|
||||
border-bottom-color: var(--scn);
|
||||
animation: spin 1.1s linear infinite;
|
||||
}
|
||||
|
||||
.ssul-making__bar {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-bg-card-inner);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ssul-making__fill {
|
||||
height: 100%;
|
||||
border-radius: 999px;
|
||||
transition: width 400ms ease;
|
||||
}
|
||||
|
||||
.ssul-making__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
font-size: 12.5px;
|
||||
color: var(--color-text-gray-300);
|
||||
}
|
||||
|
||||
.ssul-making__pct {
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.ssul-making__desc {
|
||||
margin: 22px 0 0;
|
||||
font-size: 12.5px;
|
||||
line-height: 1.6;
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
|
||||
.ssul-making__refund {
|
||||
margin: 8px 0 0;
|
||||
font-size: 12.5px;
|
||||
color: var(--color-mint);
|
||||
}
|
||||
|
||||
.ssul-making__btn {
|
||||
margin-top: 28px;
|
||||
padding: 12px 24px;
|
||||
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: 13.5px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: border-color var(--transition-normal);
|
||||
}
|
||||
|
||||
.ssul-making__btn:hover {
|
||||
border-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
/* 진행바·스피너 애니메이션은 모션 민감 사용자에게 끈다.
|
||||
스피너는 회전을 멈추면 3/4 호가 그대로 남아 정적 표시로 읽힌다. */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.ssul-making__fill {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.ssul-making__spinner::after {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* 썰박스 뷰어 전용 스타일은 두지 않는다 —
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,571 @@
|
||||
/* =====================================================
|
||||
썰박스 UI — 원본(o2o-ssulbox/frontend/src/index.css)에서 스코프 변환
|
||||
|
||||
**이 파일은 스크립트로 생성됐다.** 직접 고치지 말고
|
||||
scratchpad/scope_ssulbox_css.py 를 고쳐 다시 생성할 것.
|
||||
|
||||
변환 내용:
|
||||
1. @import "tailwindcss" 삭제 (castad 는 index.html 의 Play CDN 사용)
|
||||
2. #app → .ssul-scope, 100dvh → 100%
|
||||
3. 모든 최상위 셀렉터에 .ssul-scope 접두
|
||||
4. 전역 리셋(*, html, body, button, img, ul)을 .ssul-scope 하위로
|
||||
← 이게 빠지면 castad 전 화면의 버튼·이미지·폰트가 깨진다
|
||||
5. html,body{height:100%} 삭제
|
||||
6. :root 변수 → .ssul-scope 로 이동, 값은 castad 다크 팔레트로 매핑
|
||||
7. .nav* .topbar .brand .login* 삭제 (castad Sidebar/카카오가 대체)
|
||||
8. --nav-h/--top-h → 0 (셸이 없으므로)
|
||||
9. .grid → .ssul-grid (Tailwind CDN 의 .grid 와 충돌 회피)
|
||||
10. font-family 미지정 → castad Noto Sans KR 상속
|
||||
===================================================== */
|
||||
|
||||
/* castad 다크 팔레트로 매핑한 썰박스 변수.
|
||||
원본은 라이트 테마 기본이었으나 castad 대시보드는 다크 단일이다. */
|
||||
.ssul-scope {
|
||||
--bg: var(--color-bg-darker);
|
||||
--surface: var(--color-bg-card);
|
||||
--surface-2: var(--color-bg-card-inner);
|
||||
--fg: var(--color-text-white);
|
||||
--muted: var(--color-text-gray-400);
|
||||
--faint: var(--color-text-gray-500);
|
||||
--border: var(--color-border-white-10);
|
||||
--elev: 0 2px 16px rgba(0, 0, 0, 0.6);
|
||||
|
||||
/* 시나리오 색 (원본 유지) */
|
||||
--joseon: #3b4cc0;
|
||||
--samgukji: #d63a2f;
|
||||
--greek: #0a8f6b;
|
||||
--greek-2: #e0a91b;
|
||||
--odyssey: #6d4aff;
|
||||
|
||||
--ig: linear-gradient(45deg, #f9a03f 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
|
||||
|
||||
/* 셸(하단 네비·상단바)이 castad 에는 없으므로 0 */
|
||||
--nav-h: 0px;
|
||||
--top-h: 0px;
|
||||
--r: 14px;
|
||||
}
|
||||
|
||||
/* 원본의 전역 리셋 — 스코프 안으로 가둔다.
|
||||
|
||||
요소 리셋은 `:where()` 로 감싸 **특정도를 0 으로** 만든다.
|
||||
그러지 않으면 `.ssul-scope button`(0,1,1)이 우리 컴포넌트의 BEM
|
||||
클래스(`.ssul-create__submit` 등 0,1,0)를 임포트 순서와 무관하게 이겨
|
||||
버튼 배경·테두리가 통째로 사라진다(2026-07-29 실제 발생).
|
||||
리셋의 목적(클래스 없는 원본 마크업 정규화)은 그대로 유지된다. */
|
||||
.ssul-scope,
|
||||
.ssul-scope * {
|
||||
box-sizing: border-box;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
:where(.ssul-scope) :where(button) {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
:where(.ssul-scope) :where(img) {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
:where(.ssul-scope) :where(ul) {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
:where(.ssul-scope) :where(button) {font:inherit;color:inherit;background:none;border:none;cursor:pointer}
|
||||
|
||||
:where(.ssul-scope) :where(img) {display:block;max-width:100%}
|
||||
|
||||
:where(.ssul-scope) :where(ul) {list-style:none}
|
||||
|
||||
.ssul-scope {position:relative;
|
||||
width:100%;
|
||||
height:100%;
|
||||
background:var(--bg);
|
||||
display:flex;flex-direction:column;
|
||||
overflow:hidden;}
|
||||
|
||||
.ssul-scope .main {flex:1 1 auto;display:flex;flex-direction:column;min-height:0;min-width:0;position:relative}
|
||||
|
||||
.ssul-scope .screen {flex:1 1 auto;overflow-y:auto;overflow-x:hidden;
|
||||
-webkit-overflow-scrolling:touch;
|
||||
padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px);}
|
||||
|
||||
.ssul-scope .screen::-webkit-scrollbar {width:0}
|
||||
|
||||
.ssul-scope .ssul-grid {display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}
|
||||
|
||||
.ssul-scope .card {position:relative;aspect-ratio:9/16;border-radius:var(--r);overflow:hidden;
|
||||
background:#222;isolation:isolate;transition:transform .12s ease;}
|
||||
|
||||
.ssul-scope .card:active {transform:scale(.975)}
|
||||
|
||||
.ssul-scope .card .cover {position:absolute;inset:0;display:grid;place-items:center}
|
||||
|
||||
.ssul-scope .card .cov-vid {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
|
||||
|
||||
.ssul-scope .card .emoji {font-size:58px;filter:drop-shadow(0 3px 8px rgba(0,0,0,.35));opacity:.92}
|
||||
|
||||
.ssul-scope .card .shade {position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 42%,rgba(0,0,0,.72) 100%)}
|
||||
|
||||
.ssul-scope .card .meta {position:absolute;left:9px;right:9px;bottom:8px;z-index:2}
|
||||
|
||||
.ssul-scope .card .title {color:#fff;font-size:12.5px;font-weight:700;line-height:1.28;
|
||||
display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
|
||||
text-shadow:0 1px 3px rgba(0,0,0,.5);}
|
||||
|
||||
.ssul-scope .card .sub {display:flex;align-items:center;gap:4px;margin-top:5px;color:rgba(255,255,255,.9);font-size:11px;font-variant-numeric:tabular-nums}
|
||||
|
||||
.ssul-scope .card .sub svg {width:12px;height:12px;fill:currentColor}
|
||||
|
||||
.ssul-scope .badge {position:absolute;top:8px;left:8px;z-index:2;
|
||||
display:inline-flex;align-items:center;gap:4px;
|
||||
padding:3px 8px;border-radius:999px;
|
||||
font-size:10.5px;font-weight:700;color:#fff;
|
||||
background:rgba(0,0,0,.32);backdrop-filter:blur(3px);}
|
||||
|
||||
.ssul-scope .badge i {width:7px;height:7px;border-radius:50%;display:inline-block}
|
||||
|
||||
.ssul-scope .play-fab {position:absolute;top:8px;right:8px;z-index:2;width:24px;height:24px;border-radius:50%;
|
||||
background:rgba(0,0,0,.35);backdrop-filter:blur(3px);display:grid;place-items:center}
|
||||
|
||||
.ssul-scope .play-fab svg {width:12px;height:12px;fill:#fff;margin-left:1px}
|
||||
|
||||
.ssul-scope .sec-h {display:flex;align-items:baseline;justify-content:space-between;padding:16px 14px 4px}
|
||||
|
||||
.ssul-scope .sec-h h3 {font-size:16px;font-weight:800;letter-spacing:-.01em}
|
||||
|
||||
.ssul-scope .sec-h span {font-size:12px;color:var(--muted)}
|
||||
|
||||
.ssul-scope .searchbar {position:sticky;top:0;z-index:4;background:var(--bg);padding:10px 12px;border-bottom:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .searchbox {display:flex;align-items:center;gap:8px;background:var(--surface-2);border-radius:11px;padding:9px 12px}
|
||||
|
||||
.ssul-scope .searchbox svg {width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;flex:0 0 auto}
|
||||
|
||||
.ssul-scope .searchbox input {flex:1;background:none;border:none;outline:none;color:var(--fg);font-size:14px}
|
||||
|
||||
.ssul-scope .searchbox input::placeholder {color:var(--faint)}
|
||||
|
||||
.ssul-scope .chips {display:flex;gap:8px;overflow-x:auto;padding:10px 12px;scrollbar-width:none}
|
||||
|
||||
.ssul-scope .chips::-webkit-scrollbar {display:none}
|
||||
|
||||
.ssul-scope .chip {flex:0 0 auto;padding:7px 13px;border-radius:999px;background:var(--surface-2);
|
||||
font-size:13px;font-weight:600;color:var(--muted);border:1px solid transparent;transition:.15s}
|
||||
|
||||
.ssul-scope .chip[aria-pressed="true"] {background:var(--fg);color:var(--bg)}
|
||||
|
||||
.ssul-scope .empty {padding:60px 24px;text-align:center;color:var(--muted);font-size:14px;line-height:1.6}
|
||||
|
||||
.ssul-scope .profile {padding:20px 16px 6px}
|
||||
|
||||
.ssul-scope .profile .row {display:flex;align-items:center;gap:18px}
|
||||
|
||||
.ssul-scope .avatar {width:74px;height:74px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;
|
||||
color:#fff;font-size:30px;font-weight:800;background:var(--ig)}
|
||||
|
||||
.ssul-scope .avatar img {width:100%;height:100%;object-fit:cover;display:block}
|
||||
|
||||
.ssul-scope .avatar.lg {width:92px;height:92px;font-size:38px}
|
||||
|
||||
.ssul-scope .stats {flex:1;display:flex;justify-content:space-around;text-align:center}
|
||||
|
||||
.ssul-scope .stats b {display:block;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
|
||||
|
||||
.ssul-scope .stats span {font-size:12px;color:var(--muted)}
|
||||
|
||||
.ssul-scope .bio {margin-top:12px}
|
||||
|
||||
.ssul-scope .bio .name {font-weight:700;font-size:14px}
|
||||
|
||||
.ssul-scope .bio .bio-txt {font-size:13px;color:var(--fg);margin-top:3px;line-height:1.45;white-space:pre-wrap}
|
||||
|
||||
.ssul-scope .bio .bio-txt.muted {color:var(--faint)}
|
||||
|
||||
.ssul-scope .pe-avatar {display:flex;flex-direction:column;align-items:center;gap:10px;padding:6px 0 14px}
|
||||
|
||||
.ssul-scope .pe-av-btns {display:flex;gap:8px}
|
||||
|
||||
.ssul-scope .pe-av-btns button {font-size:13px;font-weight:700;color:var(--samgukji);padding:6px 12px;border-radius:9px;background:var(--surface-2)}
|
||||
|
||||
.ssul-scope .pe-av-btns button.rm {color:var(--muted)}
|
||||
|
||||
.ssul-scope .pe-bio {width:100%;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:11px 13px;
|
||||
color:var(--fg);outline:none;font-size:14px;resize:none;line-height:1.5}
|
||||
|
||||
.ssul-scope .pe-bio:focus {border-color:var(--samgukji)}
|
||||
|
||||
.ssul-scope .token-card {display:flex;align-items:center;justify-content:space-between;gap:12px;
|
||||
margin:14px 0 2px;padding:14px 16px;border-radius:14px;border:1px solid var(--border);
|
||||
background:linear-gradient(135deg,rgba(220,39,67,.06),rgba(188,24,136,.06))}
|
||||
|
||||
.ssul-scope .token-card .tk-left {display:flex;flex-direction:column;gap:1px;min-width:0}
|
||||
|
||||
.ssul-scope .token-card .tk-left span {font-size:11.5px;color:var(--muted);font-weight:600}
|
||||
|
||||
.ssul-scope .token-card .tk-left b {font-size:23px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15}
|
||||
|
||||
.ssul-scope .token-card .tk-left em {font-size:11px;color:var(--muted);font-style:normal;margin-top:2px}
|
||||
|
||||
.ssul-scope .token-card .tk-btn {flex:0 0 auto;padding:11px 20px;border-radius:11px;color:#fff;font-weight:800;font-size:13px;
|
||||
background:var(--ig);box-shadow:0 4px 12px rgba(220,39,67,.28)}
|
||||
|
||||
.ssul-scope .pf-actions {display:flex;gap:8px;margin:12px 0 4px}
|
||||
|
||||
.ssul-scope .pf-actions button {flex:1;padding:8px;border-radius:9px;background:var(--surface-2);font-size:13px;font-weight:700}
|
||||
|
||||
.ssul-scope .pf-tabs {display:flex;border-top:1px solid var(--border);margin-top:12px}
|
||||
|
||||
.ssul-scope .pf-tabs button {flex:1;padding:11px;display:grid;place-items:center;color:var(--faint);border-bottom:2px solid transparent}
|
||||
|
||||
.ssul-scope .pf-tabs button[aria-selected="true"] {color:var(--fg);border-bottom-color:var(--fg)}
|
||||
|
||||
.ssul-scope .pf-tabs svg {width:22px;height:22px;fill:currentColor}
|
||||
|
||||
.ssul-scope .scrim {position:absolute;inset:0;z-index:40;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .22s}
|
||||
|
||||
.ssul-scope .scrim.on {opacity:1;pointer-events:auto}
|
||||
|
||||
.ssul-scope .sheet {position:absolute;left:0;right:0;bottom:0;z-index:50;
|
||||
background:var(--surface);border-radius:22px 22px 0 0;
|
||||
transform:translateY(101%);transition:transform .28s cubic-bezier(.22,1,.36,1);
|
||||
max-height:92%;display:flex;flex-direction:column;
|
||||
padding-bottom:env(safe-area-inset-bottom);
|
||||
box-shadow:0 -8px 40px rgba(0,0,0,.35);
|
||||
pointer-events:none;}
|
||||
|
||||
.ssul-scope .sheet.on {transform:translateY(0);pointer-events:auto}
|
||||
|
||||
.ssul-scope .sheet .grab {width:38px;height:4px;border-radius:2px;background:var(--faint);margin:9px auto 4px}
|
||||
|
||||
.ssul-scope .sheet-h {display:flex;align-items:center;justify-content:space-between;padding:6px 16px 10px;border-bottom:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .sheet-h h3 {font-size:17px;font-weight:800}
|
||||
|
||||
.ssul-scope .sheet-h button {color:var(--muted);font-size:22px;line-height:1;padding:4px}
|
||||
|
||||
.ssul-scope .sheet-body {overflow-y:auto;padding:16px}
|
||||
|
||||
.ssul-scope .step-label {font-size:13px;font-weight:700;color:var(--muted);margin:2px 2px 10px}
|
||||
|
||||
.ssul-scope .step-label b {color:var(--fg)}
|
||||
|
||||
.ssul-scope .scn-list {display:flex;flex-direction:column;gap:10px}
|
||||
|
||||
.ssul-scope .scn {display:flex;align-items:center;gap:14px;padding:14px;border-radius:16px;
|
||||
border:1.5px solid var(--border);background:var(--surface);text-align:left;transition:.14s;width:100%;}
|
||||
|
||||
.ssul-scope .scn:active {transform:scale(.99)}
|
||||
|
||||
.ssul-scope .scn[aria-pressed="true"] {border-color:var(--sc);background:color-mix(in srgb,var(--sc) 8%,var(--surface))}
|
||||
|
||||
.ssul-scope .scn .ic {width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-size:26px;flex:0 0 auto;
|
||||
background:color-mix(in srgb,var(--sc) 15%,var(--surface))}
|
||||
|
||||
.ssul-scope .scn .tx {flex:1}
|
||||
|
||||
.ssul-scope .scn .tx .t {font-weight:800;font-size:15px}
|
||||
|
||||
.ssul-scope .scn .tx .d {font-size:12.5px;color:var(--muted);margin-top:2px;line-height:1.4}
|
||||
|
||||
.ssul-scope .scn .ck {width:22px;height:22px;border-radius:50%;border:2px solid var(--border);flex:0 0 auto;display:grid;place-items:center}
|
||||
|
||||
.ssul-scope .scn[aria-pressed="true"] .ck {background:var(--sc);border-color:var(--sc)}
|
||||
|
||||
.ssul-scope .scn[aria-pressed="true"] .ck::after {content:"";width:7px;height:11px;border:2.5px solid #fff;border-top:0;border-left:0;transform:rotate(42deg) translateY(-1px)}
|
||||
|
||||
.ssul-scope .field {margin-top:20px}
|
||||
|
||||
.ssul-scope .field > label {display:block;font-size:13px;font-weight:700;margin-bottom:8px}
|
||||
|
||||
.ssul-scope .input {display:flex;align-items:center;gap:8px;background:var(--surface-2);border-radius:12px;padding:12px 14px;border:1.5px solid transparent}
|
||||
|
||||
.ssul-scope .input:focus-within {border-color:var(--fg)}
|
||||
|
||||
.ssul-scope .input svg {width:17px;height:17px;color:var(--muted);flex:0 0 auto}
|
||||
|
||||
.ssul-scope .input input {flex:1;background:none;border:none;outline:none;color:var(--fg);font-size:15px}
|
||||
|
||||
.ssul-scope .input input::placeholder {color:var(--faint)}
|
||||
|
||||
.ssul-scope .hint {font-size:11.5px;color:var(--muted);margin-top:7px;line-height:1.5;padding:0 2px}
|
||||
|
||||
.ssul-scope .sheet-foot {padding:12px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface)}
|
||||
|
||||
.ssul-scope .cta {width:100%;padding:15px;border-radius:14px;font-size:15px;font-weight:800;color:#fff;background:var(--ig);
|
||||
transition:.15s;box-shadow:0 6px 18px rgba(220,39,67,.32)}
|
||||
|
||||
.ssul-scope .cta:disabled {background:var(--surface-2);color:var(--faint);box-shadow:none;cursor:not-allowed}
|
||||
|
||||
.ssul-scope .making {padding:44px 24px;text-align:center}
|
||||
|
||||
@keyframes sp{to{transform:rotate(360deg)}}
|
||||
|
||||
.ssul-scope .making h4 {font-size:17px;font-weight:800}
|
||||
|
||||
.ssul-scope .making p {font-size:13px;color:var(--muted);margin-top:8px;line-height:1.6}
|
||||
|
||||
.ssul-scope .making .prog {margin-top:22px;display:flex;align-items:center;gap:12px}
|
||||
|
||||
.ssul-scope .making .prog-bar {flex:1;height:10px;border-radius:99px;background:var(--surface-2);overflow:hidden;position:relative}
|
||||
|
||||
.ssul-scope .making .prog-fill {height:100%;border-radius:99px;background:var(--sc,#dc2743);
|
||||
transition:width .5s cubic-bezier(.22,1,.36,1);position:relative;overflow:hidden}
|
||||
|
||||
.ssul-scope .making .prog-fill::after {content:"";position:absolute;inset:0;
|
||||
background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
|
||||
animation:progsh 1.15s linear infinite}
|
||||
|
||||
@keyframes progsh{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
|
||||
|
||||
.ssul-scope .making .prog-pct {font-size:14px;font-weight:800;color:var(--fg);min-width:40px;text-align:right;font-variant-numeric:tabular-nums}
|
||||
|
||||
.ssul-scope .viewer {position:absolute;inset:0;z-index:60;background:#000;display:none;flex-direction:column}
|
||||
|
||||
.ssul-scope .viewer.on {display:flex}
|
||||
|
||||
.ssul-scope .viewer .vtop {position:absolute;top:0;left:0;right:0;z-index:3;display:flex;align-items:center;gap:14px;
|
||||
padding:14px 16px;padding-top:calc(14px + env(safe-area-inset-top));
|
||||
background:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}
|
||||
|
||||
.ssul-scope .viewer .vtop button {color:#fff;display:flex;align-items:center;justify-content:center;
|
||||
width:38px;height:38px;border-radius:50%;background:rgba(0,0,0,.4);flex:0 0 auto}
|
||||
|
||||
.ssul-scope .viewer .vtop button svg {width:22px;height:22px}
|
||||
|
||||
.ssul-scope .viewer .vtop h2 {color:#fff;font-size:16px;font-weight:700}
|
||||
|
||||
.ssul-scope .vframe {position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden}
|
||||
|
||||
.ssul-scope .vstage {flex:1;position:relative;display:grid;place-items:center;overflow:hidden}
|
||||
|
||||
.ssul-scope .vstage .cover {position:absolute;inset:0;display:grid;place-items:center}
|
||||
|
||||
.ssul-scope .vstage .cover .emoji {font-size:120px;opacity:.9;filter:drop-shadow(0 6px 20px rgba(0,0,0,.5))}
|
||||
|
||||
.ssul-scope .vstage video {width:100%;height:100%;object-fit:contain;background:#000}
|
||||
|
||||
.ssul-scope .vbig {position:relative;z-index:2;width:74px;height:74px;border-radius:50%;background:rgba(255,255,255,.14);
|
||||
backdrop-filter:blur(4px);display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.5)}
|
||||
|
||||
.ssul-scope .vbig svg {width:30px;height:30px;fill:#fff;margin-left:4px}
|
||||
|
||||
.ssul-scope .vrail {position:absolute;right:10px;bottom:120px;z-index:3;display:flex;flex-direction:column;gap:20px;align-items:center}
|
||||
|
||||
.ssul-scope .vrail button {color:#fff;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
|
||||
|
||||
.ssul-scope .vrail svg {width:29px;height:29px;fill:#fff}
|
||||
|
||||
.ssul-scope .vbottom {position:absolute;left:0;right:64px;bottom:0;z-index:3;padding:16px;pointer-events:none;
|
||||
padding-bottom:calc(56px + env(safe-area-inset-bottom));
|
||||
background:linear-gradient(0deg,rgba(0,0,0,.55),transparent)}
|
||||
|
||||
.ssul-scope .vbottom .vt {color:#fff;font-weight:800;font-size:17px;line-height:1.3}
|
||||
|
||||
.ssul-scope .vbottom .vn {color:rgba(255,255,255,.86);font-size:13px;margin-top:8px;line-height:1.5;
|
||||
display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
||||
|
||||
.ssul-scope .vbottom .vbadge {margin-bottom:10px}
|
||||
|
||||
.ssul-scope .note-pill {display:inline-block;margin-top:12px;font-size:11px;color:rgba(255,255,255,.7);
|
||||
background:rgba(255,255,255,.12);padding:5px 10px;border-radius:8px}
|
||||
|
||||
@media (min-width:860px) {
|
||||
.ssul-scope {flex-direction:row}
|
||||
.ssul-scope .screen {padding-bottom:24px}
|
||||
.ssul-scope .ssul-grid {grid-template-columns:repeat(4,1fr);gap:18px;padding:22px 26px;max-width:1240px;margin:0 auto}
|
||||
.ssul-scope .sec-h {padding:24px 26px 2px;max-width:1240px;margin:0 auto}
|
||||
.ssul-scope .sec-h h3 {font-size:22px}
|
||||
.ssul-scope .searchbar {padding:16px 26px;max-width:1240px;margin:0 auto}
|
||||
.ssul-scope .chips {padding:6px 26px 14px;max-width:1240px;margin:0 auto}
|
||||
.ssul-scope .ch-wrap {max-width:1240px;margin:0 auto}
|
||||
.ssul-scope .sheet {left:50%;right:auto;bottom:auto;top:50%;width:min(460px,92vw);max-height:86vh;
|
||||
border-radius:22px;transform:translate(-50%,-46%);opacity:0;
|
||||
transition:transform .22s cubic-bezier(.22,1,.36,1),opacity .22s}
|
||||
.ssul-scope .sheet.on {transform:translate(-50%,-50%);opacity:1}
|
||||
.ssul-scope .sheet .grab {display:none}
|
||||
.ssul-scope .viewer.on {align-items:center;justify-content:center}
|
||||
.ssul-scope .vframe {position:relative;inset:auto;width:min(430px,26vw);height:min(90vh,780px);
|
||||
border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.6)}
|
||||
}
|
||||
|
||||
.ssul-scope .vrail button.liked svg {fill:#ff3b5c}
|
||||
|
||||
.ssul-scope .cmts {position:absolute;left:0;right:0;bottom:0;z-index:5;max-height:64%;display:flex;flex-direction:column;
|
||||
background:var(--surface);border-radius:18px 18px 0 0;color:var(--fg);box-shadow:0 -8px 30px rgba(0,0,0,.4)}
|
||||
|
||||
.ssul-scope .cmts-h {display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border);font-weight:800;font-size:14px}
|
||||
|
||||
.ssul-scope .cmts-h button {color:var(--muted);font-size:20px;line-height:1}
|
||||
|
||||
.ssul-scope .cmts-list {flex:1;overflow-y:auto;padding:6px 16px}
|
||||
|
||||
.ssul-scope .cmts-empty {color:var(--muted);font-size:13px;text-align:center;padding:30px 0}
|
||||
|
||||
.ssul-scope .cmt {padding:9px 0;border-bottom:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .cmt .who {font-size:12px;color:var(--muted);font-weight:700}
|
||||
|
||||
.ssul-scope .cmt .bd {font-size:14px;margin-top:2px;line-height:1.4}
|
||||
|
||||
.ssul-scope .cmt .del {font-size:11px;color:var(--faint);float:right}
|
||||
|
||||
.ssul-scope .cmt .rep {margin:8px 0 0 16px;padding-left:10px;border-left:2px solid var(--border)}
|
||||
|
||||
.ssul-scope .cmts-in {display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--border);align-items:center}
|
||||
|
||||
.ssul-scope .cmts-in input {flex:1;background:var(--surface-2);border:none;border-radius:20px;padding:10px 14px;color:var(--fg);outline:none;font-size:14px}
|
||||
|
||||
.ssul-scope .cmts-in button {color:var(--samgukji);font-weight:800;padding:0 8px;font-size:14px}
|
||||
|
||||
.ssul-scope .cmts-in button:disabled {color:var(--faint)}
|
||||
|
||||
.ssul-scope .lbl-sub {font-weight:500;color:var(--muted);font-size:11px}
|
||||
|
||||
.ssul-scope .input.search {align-items:center}
|
||||
|
||||
.ssul-scope .srch-btn {flex:0 0 auto;padding:8px 14px;border-radius:9px;background:var(--fg);color:var(--bg);font-size:13px;font-weight:800}
|
||||
|
||||
.ssul-scope .srch-btn:disabled {opacity:.4}
|
||||
|
||||
.ssul-scope .places {margin:8px 0 0;list-style:none;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface);max-height:230px;overflow-y:auto}
|
||||
|
||||
.ssul-scope .places li+li {border-top:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .places button {display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;padding:11px 13px;background:none}
|
||||
|
||||
.ssul-scope .places button:hover {background:var(--surface-2)}
|
||||
|
||||
.ssul-scope .places b {font-size:14px;font-weight:700;color:var(--fg)}
|
||||
|
||||
.ssul-scope .places span {font-size:12px;color:var(--muted)}
|
||||
|
||||
.ssul-scope .picked {margin:8px 0 0;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;
|
||||
border:1.5px solid color-mix(in srgb,var(--sc,#22c55e) 55%,var(--border));background:color-mix(in srgb,var(--sc,#22c55e) 8%,var(--surface))}
|
||||
|
||||
.ssul-scope .picked .pk-body {flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
|
||||
|
||||
.ssul-scope .picked .pk-body b {font-size:15px;font-weight:800;color:var(--fg)}
|
||||
|
||||
.ssul-scope .picked .pk-body b::before {content:"✓ ";color:#22c55e}
|
||||
|
||||
.ssul-scope .picked .pk-body span {font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
|
||||
.ssul-scope .pk-change {flex:0 0 auto;font-size:12.5px;font-weight:800;color:var(--muted);padding:6px 10px;border-radius:8px;background:var(--surface-2)}
|
||||
|
||||
.ssul-scope .place-loading {margin:10px 2px 0;display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}
|
||||
|
||||
.ssul-scope .spin.sm {width:16px;height:16px;border-width:2px;margin:0}
|
||||
|
||||
.ssul-scope .hint.ok {color:#16a34a}
|
||||
|
||||
.ssul-scope .hint.warn {color:#d97706}
|
||||
|
||||
.ssul-scope .sns-card {margin:14px 16px 4px;border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden}
|
||||
|
||||
.ssul-scope .sns-h {display:flex;align-items:baseline;gap:8px;padding:13px 16px 9px;border-bottom:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .sns-h span {font-size:14px;font-weight:800}
|
||||
|
||||
.ssul-scope .sns-h em {font-style:normal;font-size:11.5px;color:var(--muted)}
|
||||
|
||||
.ssul-scope .sns-row {display:flex;align-items:center;gap:11px;padding:11px 16px}
|
||||
|
||||
.ssul-scope .sns-row+.sns-row {border-top:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .sns-ic {display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--sc) 16%,transparent)}
|
||||
|
||||
.ssul-scope .sns-ic svg {width:20px;height:20px;fill:var(--sc);stroke:var(--sc)}
|
||||
|
||||
.ssul-scope .sns-name {flex:1;font-size:14px;font-weight:600;display:flex;align-items:center;gap:6px}
|
||||
|
||||
.ssul-scope .sns-dot {width:7px;height:7px;border-radius:50%;background:#22c55e;display:inline-block}
|
||||
|
||||
.ssul-scope .sns-soon {font-style:normal;font-size:10.5px;font-weight:800;color:var(--muted);background:var(--surface-2);padding:2px 7px;border-radius:10px}
|
||||
|
||||
.ssul-scope .sns-btn {padding:7px 15px;border-radius:20px;font-size:13px;font-weight:800;background:var(--fg);color:var(--bg)}
|
||||
|
||||
.ssul-scope .sns-btn.on {background:var(--surface-2);color:var(--muted)}
|
||||
|
||||
.ssul-scope .sns-btn:disabled {opacity:.5}
|
||||
|
||||
.ssul-scope .sns-row.sns-sub {padding-left:61px;border-top:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .sns-row.sns-sub .sns-name {font-weight:500;color:var(--muted)}
|
||||
|
||||
.ssul-scope .cmts.share .share-list {flex:1;overflow-y:auto;padding:8px 12px}
|
||||
|
||||
.ssul-scope .share-row {display:flex;align-items:center;gap:12px;width:100%;padding:13px 8px;background:none}
|
||||
|
||||
.ssul-scope .share-row+.share-row {border-top:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .share-name {flex:1;text-align:left;font-size:15px;font-weight:700;color:var(--fg)}
|
||||
|
||||
.ssul-scope .share-state {font-size:12.5px;font-weight:800;color:var(--samgukji)}
|
||||
|
||||
.ssul-scope .share-row:disabled .share-state {color:var(--faint)}
|
||||
|
||||
.ssul-scope .share-row.share-sub {padding-left:54px;border-top:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .share-row.share-sub .share-name {font-weight:500}
|
||||
|
||||
.ssul-scope .share-hint {padding:10px 16px 14px;font-size:12px;color:var(--muted);line-height:1.5}
|
||||
|
||||
.ssul-scope .share-hint b {color:var(--fg)}
|
||||
|
||||
.ssul-scope .cmts.cap .cap-body {flex:1;overflow-y:auto;padding:14px 16px;font-size:14px;line-height:1.6;color:var(--fg);white-space:pre-wrap;word-break:break-word}
|
||||
|
||||
.ssul-scope .cap-foot {padding:10px 12px;border-top:1px solid var(--border)}
|
||||
|
||||
.ssul-scope .cap-copy {display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:12px;border-radius:12px;background:var(--samgukji);color:#fff;font-size:14px;font-weight:800}
|
||||
|
||||
.ssul-scope .cap-copy svg {width:17px;height:17px;stroke:#fff}
|
||||
|
||||
.ssul-scope .toast {position:fixed;left:50%;bottom:86px;z-index:60;transform:translate(-50%,14px);opacity:0;pointer-events:none;
|
||||
max-width:min(88vw,420px);padding:12px 18px;border-radius:14px;background:rgba(20,18,16,.94);color:#fff;
|
||||
font-size:13.5px;font-weight:600;line-height:1.45;text-align:center;box-shadow:0 10px 34px rgba(0,0,0,.4);
|
||||
transition:opacity .2s,transform .2s}
|
||||
|
||||
.ssul-scope .toast.on {opacity:1;transform:translate(-50%,0)}
|
||||
|
||||
@media (min-width:860px) {
|
||||
.ssul-scope .toast {bottom:32px}
|
||||
}
|
||||
|
||||
.ssul-scope .job-badge {position:fixed;right:14px;bottom:86px;z-index:55;padding:11px 16px;border-radius:999px;
|
||||
background:rgba(20,18,16,.94);color:#fff;font-size:13px;font-weight:700;box-shadow:0 10px 34px rgba(0,0,0,.4);
|
||||
display:flex;align-items:center;gap:6px;cursor:pointer}
|
||||
|
||||
.ssul-scope .job-badge.err {background:#b3261e}
|
||||
|
||||
@media (min-width:860px) {
|
||||
.ssul-scope .job-badge {bottom:32px}
|
||||
}
|
||||
|
||||
.ssul-scope .prods {display:flex;flex-direction:column;gap:10px;margin-top:6px}
|
||||
|
||||
.ssul-scope .prod {position:relative;display:grid;grid-template-columns:1fr auto;grid-template-areas:"cr price" "bonus price" "name price";
|
||||
align-items:center;gap:2px 12px;text-align:left;padding:14px 16px;border-radius:14px;border:1.5px solid var(--border);background:var(--surface)}
|
||||
|
||||
.ssul-scope .prod:hover {border-color:var(--samgukji)}
|
||||
|
||||
.ssul-scope .prod.best {border-color:var(--samgukji);background:color-mix(in srgb,var(--samgukji) 7%,var(--surface))}
|
||||
|
||||
.ssul-scope .prod:disabled {opacity:.55}
|
||||
|
||||
.ssul-scope .prod-tag {position:absolute;top:-9px;left:14px;background:var(--samgukji);color:#fff;font-size:10.5px;font-weight:800;padding:2px 8px;border-radius:10px}
|
||||
|
||||
.ssul-scope .prod-cr {grid-area:cr;font-size:15px;color:var(--muted);font-weight:600}
|
||||
|
||||
.ssul-scope .prod-cr b {font-size:22px;color:var(--fg);font-weight:800;margin-right:3px}
|
||||
|
||||
.ssul-scope .prod-bonus {grid-area:bonus;font-size:11.5px;color:var(--samgukji);font-weight:700}
|
||||
|
||||
.ssul-scope .prod-name {grid-area:name;font-size:12px;color:var(--faint)}
|
||||
|
||||
.ssul-scope .prod-price {grid-area:price;font-size:16px;font-weight:800;color:var(--fg);white-space:nowrap}
|
||||
|
||||
.ssul-scope .tb-login {background:var(--samgukji);color:#fff;font-size:13px;font-weight:800;padding:8px 15px;border-radius:20px}
|
||||
|
||||
.ssul-scope :focus-visible {outline:2px solid var(--samgukji);outline-offset:2px}
|
||||
@@ -20,6 +20,9 @@
|
||||
--color-purple-glow: rgba(166, 130, 255, 0.2);
|
||||
--color-purple-80: rgba(166, 130, 255, 0.8);
|
||||
|
||||
/* 썰박스 파이프라인 강조색 (진입 화면 탭 활성 표시 전용) */
|
||||
--color-ssul-accent: #ffb86b;
|
||||
|
||||
/* Background Colors - Teal-600 based */
|
||||
--color-bg-dark: #002224;
|
||||
--color-bg-darker: #001a1c;
|
||||
|
||||
Reference in new issue
Block a user