세션 종료 UX 정리
This commit is contained in:
parent
f472883c31
commit
1007eaf7d9
15 changed files with 460 additions and 245 deletions
|
|
@ -220,6 +220,17 @@
|
|||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
.sx-page--active .sx-panel,
|
||||
.sx-page--active .sx-mobile-context {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(20, 35, 31, 0.92), rgba(13, 25, 22, 0.94)),
|
||||
var(--asset-warm-elements) center / cover no-repeat;
|
||||
border-color: rgba(203, 227, 220, 0.13);
|
||||
box-shadow:
|
||||
0 18px 42px rgba(4, 10, 9, 0.24),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
color: rgba(234, 240, 241, 0.78);
|
||||
}
|
||||
|
||||
/* 컬럼 공통 */
|
||||
.sx-col {
|
||||
|
|
@ -596,9 +607,14 @@
|
|||
overflow: hidden;
|
||||
}
|
||||
.sx-page--active .sx-transcript {
|
||||
background: rgba(251, 250, 248, 0.97);
|
||||
border-color: rgba(255, 255, 255, 0.16);
|
||||
box-shadow: 0 14px 34px rgba(7, 16, 14, 0.16);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(20, 35, 31, 0.94), rgba(12, 23, 20, 0.96)),
|
||||
var(--asset-warm-elements) center / cover no-repeat;
|
||||
border-color: rgba(203, 227, 220, 0.13);
|
||||
box-shadow:
|
||||
0 18px 42px rgba(4, 10, 9, 0.28),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
color: var(--text-body);
|
||||
}
|
||||
.sx-transcript__head {
|
||||
display: flex;
|
||||
|
|
@ -1109,6 +1125,74 @@
|
|||
.sx-page--active .sx-pause:hover {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.sx-page--active .sx-ctx__row,
|
||||
.sx-page--active .sx-compose,
|
||||
.sx-page--active .sx-meter + .sx-meter,
|
||||
.sx-page--active .sx-safety {
|
||||
border-color: rgba(203, 227, 220, 0.1);
|
||||
}
|
||||
.sx-page--active .sx-chip,
|
||||
.sx-page--active .sx-signal__one,
|
||||
.sx-page--active .sx-signal__rest,
|
||||
.sx-page--active .sx-mobile-context__row span,
|
||||
.sx-page--active .sx-mobile-context__brief span {
|
||||
background: rgba(255, 255, 255, 0.055);
|
||||
color: rgba(234, 240, 241, 0.76);
|
||||
}
|
||||
.sx-page--active .sx-chip.is-clay,
|
||||
.sx-page--active .sx-ctx__pf {
|
||||
background: rgba(204, 143, 119, 0.16);
|
||||
color: #e5ad95;
|
||||
}
|
||||
.sx-page--active .sx-ctx__nm,
|
||||
.sx-page--active .sx-vstep.is-cur .sx-vstep__label,
|
||||
.sx-page--active .sx-mobile-context__row b,
|
||||
.sx-page--active .sx-mobile-context__brief b {
|
||||
color: #eaf0f1;
|
||||
}
|
||||
.sx-page--active .sx-ctx__rv,
|
||||
.sx-page--active .sx-vstep.is-done .sx-vstep__label,
|
||||
.sx-page--active .sx-meter__label,
|
||||
.sx-page--active .sx-signal__txt {
|
||||
color: rgba(234, 240, 241, 0.74);
|
||||
}
|
||||
.sx-page--active .sx-ctx__mt,
|
||||
.sx-page--active .sx-ctx__rl,
|
||||
.sx-page--active .sx-vstep__desc,
|
||||
.sx-page--active .sx-vstep__t,
|
||||
.sx-page--active .sx-mobile-context__row small,
|
||||
.sx-page--active .sx-mobile-context__brief small,
|
||||
.sx-page--active .sx-safety__desc {
|
||||
color: rgba(234, 240, 241, 0.52);
|
||||
}
|
||||
.sx-page--active .sx-utt.is-client .sx-utt__line {
|
||||
background: rgba(204, 143, 119, 0.12);
|
||||
color: #edf5f2;
|
||||
}
|
||||
.sx-page--active .sx-utt.is-learner .sx-utt__line {
|
||||
background: rgba(111, 179, 164, 0.13);
|
||||
color: #edf5f2;
|
||||
}
|
||||
.sx-page--active .sx-utt.is-client .sx-utt__spk {
|
||||
color: #e5ad95;
|
||||
}
|
||||
.sx-page--active .sx-utt.is-learner .sx-utt__spk {
|
||||
color: #9ed1c6;
|
||||
}
|
||||
.sx-page--active .sx-compose textarea {
|
||||
background: rgba(255, 255, 255, 0.055);
|
||||
color: #eef6f3;
|
||||
border-color: rgba(203, 227, 220, 0.18);
|
||||
}
|
||||
.sx-page--active .sx-compose textarea::placeholder {
|
||||
color: rgba(234, 240, 241, 0.36);
|
||||
}
|
||||
.sx-page--active .sx-compose .vg-btn--primary:disabled {
|
||||
background: rgba(255, 255, 255, 0.055);
|
||||
color: rgba(234, 240, 241, 0.38);
|
||||
border-color: rgba(203, 227, 220, 0.14);
|
||||
}
|
||||
/* 마이크 (주 컨트롤, 음성 호흡 펄스) — 원형 예외 허용 */
|
||||
.sx-mic-block {
|
||||
display: flex;
|
||||
|
|
@ -1260,63 +1344,139 @@
|
|||
flex: 1;
|
||||
}
|
||||
|
||||
/* 밀어서 종료 (slide-to-confirm) — 종료만 유일하게 crit 색 허용 */
|
||||
.sx-cb-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex: none;
|
||||
}
|
||||
.sx-slide-end {
|
||||
position: relative;
|
||||
width: 176px;
|
||||
height: 40px;
|
||||
.sx-end-button {
|
||||
min-height: 40px;
|
||||
padding: 9px 13px;
|
||||
border: 1px solid color-mix(in srgb, var(--crit-solid) 34%, var(--border-subtle));
|
||||
border-radius: var(--radius);
|
||||
background: var(--crit-tint);
|
||||
border: 1px solid var(--crit-tint);
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.sx-slide-end__track-label {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
background: color-mix(in srgb, var(--crit-tint) 72%, var(--bg-surface));
|
||||
color: var(--crit-text);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--crit-text);
|
||||
pointer-events: none;
|
||||
gap: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background var(--dur-base) var(--ease-out),
|
||||
border-color var(--dur-base) var(--ease-out),
|
||||
color var(--dur-base) var(--ease-out);
|
||||
}
|
||||
.sx-slide-end__fill {
|
||||
position: absolute;
|
||||
.sx-end-button:hover:not(:disabled) {
|
||||
background: color-mix(in srgb, var(--crit-tint) 86%, var(--bg-surface));
|
||||
border-color: var(--crit-solid);
|
||||
}
|
||||
.sx-end-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.6;
|
||||
}
|
||||
.sx-page--active .sx-end-button {
|
||||
background: rgba(216, 100, 89, 0.13);
|
||||
border-color: rgba(232, 144, 134, 0.32);
|
||||
color: #f1b2aa;
|
||||
}
|
||||
.sx-page--active .sx-end-button:hover:not(:disabled) {
|
||||
background: rgba(216, 100, 89, 0.19);
|
||||
border-color: rgba(232, 144, 134, 0.5);
|
||||
color: #ffd1cc;
|
||||
}
|
||||
|
||||
.sx-end-dialog {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: color-mix(in srgb, var(--crit-solid) 16%, transparent);
|
||||
width: 0;
|
||||
pointer-events: none;
|
||||
z-index: 80;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: var(--sp-4);
|
||||
background: rgba(3, 9, 8, 0.62);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.sx-slide-end__knob {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 6px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--crit-tint);
|
||||
display: flex;
|
||||
.sx-end-dialog__panel {
|
||||
width: min(100%, 420px);
|
||||
padding: var(--sp-5);
|
||||
border: 1px solid rgba(203, 227, 220, 0.16);
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(24, 38, 35, 0.98), rgba(13, 24, 21, 0.98)),
|
||||
var(--asset-warm-elements) center / cover no-repeat;
|
||||
box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
|
||||
color: var(--text-body);
|
||||
}
|
||||
.sx-end-dialog__head {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: var(--sp-3);
|
||||
align-items: start;
|
||||
}
|
||||
.sx-end-dialog__icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: var(--radius);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--crit-text);
|
||||
cursor: grab;
|
||||
box-shadow: var(--shadow-sm);
|
||||
background: rgba(216, 100, 89, 0.15);
|
||||
color: #f1b2aa;
|
||||
}
|
||||
.sx-slide-end__knob:active {
|
||||
cursor: grabbing;
|
||||
.sx-end-dialog h2 {
|
||||
margin: 0;
|
||||
color: var(--text-strong);
|
||||
font-size: 19px;
|
||||
font-weight: 760;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.sx-slide-end.is-armed .sx-slide-end__track-label {
|
||||
opacity: 0;
|
||||
.sx-end-dialog p {
|
||||
margin: 6px 0 0;
|
||||
color: var(--text-muted);
|
||||
font-size: var(--fs-sm);
|
||||
line-height: 1.55;
|
||||
}
|
||||
.sx-end-dialog__actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: var(--sp-2);
|
||||
margin-top: var(--sp-5);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.sx-end-dialog__secondary,
|
||||
.sx-end-dialog__danger {
|
||||
min-height: 40px;
|
||||
padding: 9px 13px;
|
||||
border-radius: var(--radius);
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--fs-sm);
|
||||
font-weight: 700;
|
||||
}
|
||||
.sx-end-dialog__secondary {
|
||||
border: 1px solid rgba(203, 227, 220, 0.16);
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: var(--text-body);
|
||||
}
|
||||
.sx-end-dialog__danger {
|
||||
border: 1px solid transparent;
|
||||
background: var(--crit-solid);
|
||||
color: #fff;
|
||||
}
|
||||
.sx-end-dialog__secondary:hover:not(:disabled) {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: var(--text-strong);
|
||||
}
|
||||
.sx-end-dialog__danger:hover:not(:disabled) {
|
||||
background: var(--crit-text);
|
||||
}
|
||||
.sx-end-dialog__secondary:disabled,
|
||||
.sx-end-dialog__danger:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.62;
|
||||
}
|
||||
|
||||
/* ── 시작 전 오버레이 (세션 시작) ── */
|
||||
|
|
@ -1906,28 +2066,10 @@
|
|||
justify-content: center;
|
||||
font-size: 0;
|
||||
}
|
||||
/* 종료 = 위험 액션. 라벨을 노출해 'X / >' 가 미완성처럼 보이지 않게 하고,
|
||||
crit 윤곽으로 일반 액션과 색 위계를 분명히. */
|
||||
.sx-page--active .sx-slide-end {
|
||||
width: 150px;
|
||||
.sx-page--active .sx-end-button {
|
||||
height: 44px;
|
||||
border-color: color-mix(in srgb, var(--crit-solid) 42%, transparent);
|
||||
}
|
||||
.sx-page--active .sx-slide-end__track-label {
|
||||
justify-content: flex-end;
|
||||
gap: 5px;
|
||||
padding-right: 12px;
|
||||
font-size: 11.5px;
|
||||
font-weight: 700;
|
||||
color: var(--crit-text);
|
||||
}
|
||||
.sx-page--active .sx-slide-end__track-label svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.sx-page--active .sx-slide-end__knob {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
padding: 0 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.sx-cb-spacer {
|
||||
display: none;
|
||||
|
|
@ -2134,8 +2276,8 @@
|
|||
.sx-page--active .sx-pause {
|
||||
width: 44px;
|
||||
}
|
||||
.sx-page--active .sx-slide-end {
|
||||
width: 148px;
|
||||
.sx-page--active .sx-end-button {
|
||||
min-width: 116px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2212,13 +2354,10 @@
|
|||
width: 44px;
|
||||
height: 40px;
|
||||
}
|
||||
.sx-page--active .sx-slide-end {
|
||||
width: 140px;
|
||||
.sx-page--active .sx-end-button {
|
||||
min-width: 104px;
|
||||
height: 40px;
|
||||
}
|
||||
.sx-page--active .sx-slide-end__knob {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue