You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
7.6 KiB
CSS

/* ===========================================================
아리 — 알림 트리아지 (dash.css 토큰 위에 얹는 페이지 전용)
=========================================================== */
/* ---------- 토글 스위치 ---------- */
.sw {
width: 42px; height: 24px; border-radius: 999px;
background: var(--card-3);
border: 1px solid var(--line-2);
position: relative; flex-shrink: 0;
padding: 0;
transition: background 0.18s, border-color 0.18s;
}
.sw::after {
content: ""; position: absolute; top: 2px; left: 2px;
width: 18px; height: 18px; border-radius: 50%;
background: #fff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
transition: transform 0.18s;
}
.sw.on { background: var(--green); border-color: var(--green); }
.sw.on::after { transform: translateX(18px); }
/* ---------- 트리아지 탭 ---------- */
.nt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.nt-tab {
display: inline-flex; align-items: center; gap: 7px;
font-size: 13px; font-weight: 600; color: var(--ink-2);
background: var(--glass-2); border: 1px solid var(--glass-brd);
padding: 8px 14px; border-radius: 999px;
white-space: nowrap;
transition: background 0.15s, color 0.15s;
}
.nt-tab:hover { color: var(--ink); }
.nt-tab .n { font-size: 11px; font-weight: 700; font-family: var(--font-mono); color: var(--muted); }
.nt-tab.on { background: var(--fill); color: var(--on-fill); border-color: var(--fill); }
.nt-tab.on .n { color: var(--on-fill); opacity: 0.7; }
.nt-cap { font-size: 12px; color: var(--muted); margin: 4px 2px 10px; line-height: 1.5; }
/* ---------- 알림 스트림 ---------- */
.nt-list { display: flex; flex-direction: column; }
.nt-row {
display: flex; gap: 12px; align-items: flex-start;
padding: 14px 0; border-top: 1px solid var(--line);
}
.nt-row:first-child { border-top: none; padding-top: 4px; }
.nt-ic {
width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
display: grid; place-items: center;
background: var(--glass-2); border: 1px solid var(--glass-brd);
}
.nt-ic .ic { width: 16px; height: 16px; }
.nt-body { flex: 1; min-width: 0; }
.nt-app {
font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em;
color: var(--muted);
display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.nt-why { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.nt-title { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; margin-top: 4px; line-height: 1.35; }
.nt-sum { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.nt-acts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.nt-act {
font-size: 11.5px; font-weight: 600;
padding: 6px 12px; border-radius: 9px;
background: var(--fill); color: var(--on-fill);
white-space: nowrap;
transition: filter 0.14s;
}
.nt-act:hover { filter: brightness(1.1); }
.nt-act.ghost {
background: var(--glass-2); border: 1px solid var(--glass-brd); color: var(--ink-2);
}
.nt-act.ghost:hover { filter: none; background: var(--card-2); color: var(--ink); }
.nt-time { font-size: 11px; color: var(--faint); font-family: var(--font-mono); flex-shrink: 0; padding-top: 3px; white-space: nowrap; }
.nt-more {
margin-top: 12px;
font-size: 12px; font-weight: 600; color: var(--muted); text-align: center;
padding: 10px; border-radius: 11px;
background: var(--glass-2); border: 1px dashed var(--line-2);
}
.nt-empty {
display: flex; gap: 8px; align-items: center;
font-size: 12.5px; color: var(--muted); padding: 14px 2px;
}
.nt-empty .ic { width: 15px; height: 15px; color: var(--green); }
/* ---------- 집중 보호 · 묶음 배달 ---------- */
.gd-hold {
display: flex; gap: 11px; align-items: center;
padding: 13px;
border-radius: var(--radius-sm);
background: linear-gradient(100deg, color-mix(in oklab, var(--coral) 13%, transparent), transparent 70%), var(--glass-2);
border: 1px solid color-mix(in oklab, var(--coral) 30%, var(--glass-brd));
margin-bottom: 6px;
}
.gd-hold.off {
background: var(--glass-2);
border-color: var(--glass-brd);
}
.gd-ic {
width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
display: grid; place-items: center;
background: color-mix(in oklab, var(--coral) 16%, transparent);
color: var(--coral);
}
.gd-hold.off .gd-ic { background: var(--card-2); color: var(--muted); }
.gd-ic .ic { width: 17px; height: 17px; }
.gd-body { flex: 1; min-width: 0; }
.gd-t { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.gd-s { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.gd-quiet {
display: flex; align-items: center; gap: 9px;
padding: 12px 2px;
border-bottom: 1px solid var(--line);
font-size: 12.5px; color: var(--ink-2);
}
.gd-quiet .ic { width: 15px; height: 15px; color: var(--violet); flex-shrink: 0; }
.gd-quiet b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.gd-quiet .hint { margin-left: auto; font-size: 11px; color: var(--faint); }
.dg2-list { display: flex; flex-direction: column; margin-top: 2px; }
.dg2-row {
display: flex; gap: 11px; align-items: center;
padding: 11px 0; border-bottom: 1px solid var(--line);
}
.dg2-row:last-child { border-bottom: none; padding-bottom: 2px; }
.dg2-row.done { opacity: 0.5; }
.dg2-time { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-2); width: 44px; flex-shrink: 0; }
.dg2-body { flex: 1; min-width: 0; }
.dg2-name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.dg2-desc { font-size: 11px; color: var(--muted); margin-top: 1px; }
.dg2-n {
font-size: 11px; font-weight: 700; font-family: var(--font-mono);
color: var(--ink-2);
background: var(--glass-2); border: 1px solid var(--glass-brd);
padding: 2px 9px; border-radius: 999px; flex-shrink: 0;
}
.gd-sec {
font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
color: var(--muted);
margin: 14px 0 4px;
}
/* ---------- 발신자 규칙 ---------- */
.sd-list { display: flex; flex-direction: column; }
.sd-row {
display: flex; align-items: center; gap: 11px;
padding: 13px 0; border-top: 1px solid var(--line);
}
.sd-row:first-child { border-top: none; padding-top: 4px; }
.sd-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.sd-who { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; flex: 1; min-width: 0; }
.sd-who span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 1px; }
.sd-rule {
font-size: 11px; font-weight: 700;
padding: 4px 11px; border-radius: 999px;
background: var(--glass-2); border: 1px solid var(--glass-brd);
color: var(--ink-2); white-space: nowrap;
}
.sd-note {
margin-top: 12px;
display: flex; gap: 9px; align-items: flex-start;
background: var(--glass-2); border: 1px solid var(--glass-brd);
border-radius: var(--radius-sm);
padding: 11px 13px;
font-size: 12.5px; color: var(--ink-2); line-height: 1.45;
}
.sd-note .ic { width: 15px; height: 15px; color: var(--coral); flex-shrink: 0; margin-top: 1px; }
/* ---------- 오늘 요약 그리드 ---------- */
.nt-sumgrid {
display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
}
.nt-sumcell {
padding: 15px 16px;
border-radius: var(--radius-sm);
background: var(--glass-2); border: 1px solid var(--glass-brd);
}
.nt-sumcell.hi {
background: linear-gradient(100deg, color-mix(in oklab, var(--coral) 13%, transparent), transparent 70%), var(--glass-2);
border-color: color-mix(in oklab, var(--coral) 30%, var(--glass-brd));
}
.nt-sumcell b { font-family: var(--font-disp); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.nt-sumcell span { font-size: 12px; color: var(--muted); margin-top: 2px; display: block; }