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.

477 lines
20 KiB
CSS

/* ===========================================================
아리 — '오늘의 여정' 대시보드 · RON 디자인 언어
레퍼런스 시각 언어를 아리 콘텐츠로 원본 재구성:
· 좌측 플로팅 아이콘 레일
· 거대한 프로스티드 글래스 패널 안 중첩 흐름 보드
· 컬럼을 잇는 커넥터 라인
· 겹친 아바타 + 카운트 배지
· 검정 말풍선 툴팁 / 검정 강조 카드
· 반원 게이지 차트 / 상태 칩 데이터 테이블
팔레트: #10141A 잉크 · #83A2DB 블루 · #CE6969 레드 · 쿨 그레이/화이트
=========================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
--bg1: #e8eaf0;
--bg2: #dde0e8;
--bg3: #d6d9e2;
--ink: #10141a;
--ink-2: #3b4250;
--muted: #868d9b;
--faint: #aab0bc;
--white: #ffffff;
--card: #ffffff;
--card-2: #f1f3f8;
--blue: #83a2db;
--blue-d: #6286c9;
--blue-soft: rgba(131, 162, 219, 0.16);
--red: #ce6969;
--red-d: #bb5757;
--red-soft: rgba(206, 105, 105, 0.15);
--line: rgba(16, 20, 26, 0.08);
--line-2: rgba(16, 20, 26, 0.13);
--panel: rgba(255, 255, 255, 0.46);
--panel-brd: rgba(255, 255, 255, 0.72);
--col: rgba(255, 255, 255, 0.5);
--col-brd: rgba(255, 255, 255, 0.6);
--blur: blur(34px) saturate(165%);
--r-xl: 36px;
--r-lg: 26px;
--r: 20px;
--r-sm: 14px;
--sh-panel: 0 34px 70px -34px rgba(28, 36, 54, 0.34), 0 6px 18px -10px rgba(28, 36, 54, 0.10);
--sh-card: 0 12px 28px -18px rgba(28, 36, 54, 0.30), 0 2px 6px -3px rgba(28, 36, 54, 0.07);
--sh-soft: 0 8px 22px -14px rgba(28, 36, 54, 0.24);
--font: "Lufga", "Onest", "Pretendard", system-ui, sans-serif;
--font-ui: "Pretendard", "Lufga", "Onest", system-ui, sans-serif;
--font-mono: "DM Mono", ui-monospace, monospace;
}
[data-theme="dark"] {
--bg1: #161b23;
--bg2: #10141a;
--bg3: #0a0d12;
--ink: #eef1f6;
--ink-2: #b7bfcb;
--muted: #868d9b;
--faint: #5e6573;
--white: #1b212b;
--card: #1b212b;
--card-2: #232a35;
--line: rgba(238, 241, 246, 0.10);
--line-2: rgba(238, 241, 246, 0.17);
--panel: rgba(28, 34, 45, 0.5);
--panel-brd: rgba(255, 255, 255, 0.09);
--col: rgba(34, 41, 53, 0.46);
--col-brd: rgba(255, 255, 255, 0.07);
--sh-panel: 0 34px 70px -34px rgba(0, 0, 0, 0.7), 0 6px 18px -10px rgba(0, 0, 0, 0.4);
--sh-card: 0 12px 28px -18px rgba(0, 0, 0, 0.6);
--sh-soft: 0 8px 22px -14px rgba(0, 0, 0, 0.5);
}
body {
font-family: var(--font-ui);
color: var(--ink);
letter-spacing: -0.011em;
word-break: keep-all;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
background:
radial-gradient(44% 50% at 8% -6%, rgba(131, 162, 219, 0.26), transparent 68%),
radial-gradient(40% 46% at 98% 4%, rgba(206, 105, 105, 0.18), transparent 70%),
radial-gradient(60% 66% at 78% 112%, rgba(131, 162, 219, 0.14), transparent 72%),
linear-gradient(170deg, var(--bg1) 0%, var(--bg2) 46%, var(--bg3) 100%);
background-attachment: fixed;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.ic { width: 1em; height: 1em; flex-shrink: 0; display: block; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.app { max-width: 1560px; margin: 0 auto; padding: 0 30px 46px; }
/* ===================== 상단바 ===================== */
.top {
position: sticky; top: 0; z-index: 50;
display: flex; align-items: center; gap: 26px;
height: 80px;
margin: 0 -30px; padding: 0 34px;
-webkit-backdrop-filter: blur(16px) saturate(150%);
backdrop-filter: blur(16px) saturate(150%);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
width: 44px; height: 44px; border-radius: 14px;
background: var(--ink); color: var(--blue);
display: grid; place-items: center; position: relative;
box-shadow: var(--sh-soft);
}
.brand-mark .ic { width: 23px; height: 23px; }
.brand-mark::after {
content: ""; position: absolute; top: -2px; right: -2px;
width: 11px; height: 11px; border-radius: 50%;
background: var(--red); border: 2.5px solid var(--bg1);
}
.brand-name { font-family: var(--font); font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
.nav {
margin: 0 auto;
display: flex; align-items: center; gap: 4px;
background: var(--panel); border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
padding: 6px; border-radius: 999px; box-shadow: var(--sh-soft);
}
.nav a {
text-decoration: none; white-space: nowrap;
display: inline-flex; align-items: center; gap: 8px;
font-size: 14.5px; font-weight: 500; color: var(--ink-2);
padding: 10px 18px; border-radius: 999px;
transition: background 0.16s, color 0.16s;
}
.nav a .ic { width: 16px; height: 16px; opacity: 0.7; }
.nav a:hover { color: var(--ink); }
.nav a.active {
background: var(--ink); color: #fff; font-weight: 600;
box-shadow: 0 8px 20px -8px rgba(16, 20, 26, 0.5);
}
.nav a.active .ic { opacity: 1; }
.nav a .badge {
font-size: 11px; font-weight: 700; background: var(--red); color: #fff;
border-radius: 999px; padding: 1px 6px; min-width: 19px; text-align: center;
}
.top-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.circ {
width: 46px; height: 46px; border-radius: 50%;
display: grid; place-items: center; color: var(--ink-2);
background: var(--panel); border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
box-shadow: var(--sh-soft); position: relative;
transition: transform 0.13s, color 0.16s;
}
.circ .ic { width: 19px; height: 19px; }
.circ:hover { color: var(--ink); transform: translateY(-1px); }
.circ.dot::after {
content: ""; position: absolute; top: 10px; right: 11px;
width: 8px; height: 8px; border-radius: 50%;
background: var(--red); border: 2px solid var(--white);
}
.avatar {
width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px;
background: linear-gradient(140deg, var(--blue), var(--red));
box-shadow: var(--sh-soft);
}
/* ===================== 무대(레일 + 메인) ===================== */
.stage { display: flex; gap: 22px; align-items: flex-start; padding-top: 8px; }
.rail {
position: sticky; top: 100px; flex-shrink: 0;
display: flex; flex-direction: column; align-items: center; gap: 8px;
background: var(--panel); border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
padding: 10px; border-radius: 999px; box-shadow: var(--sh-soft);
}
.rail button {
width: 44px; height: 44px; border-radius: 50%;
display: grid; place-items: center; color: var(--muted); position: relative;
transition: background 0.15s, color 0.15s;
}
.rail button .ic { width: 19px; height: 19px; }
.rail button:hover { background: var(--card-2); color: var(--ink); }
.rail button.active { background: var(--ink); color: #fff; box-shadow: var(--sh-soft); }
.rail .sep { width: 22px; height: 1px; background: var(--line-2); margin: 3px 0; }
.rail button .tip {
position: absolute; left: 56px; top: 50%; transform: translateY(-50%) scale(0.92);
background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
padding: 6px 11px; border-radius: 9px; opacity: 0; pointer-events: none;
transition: opacity 0.14s, transform 0.14s; z-index: 9; box-shadow: var(--sh-soft);
}
.rail button:hover .tip { opacity: 1; transform: translateY(-50%) scale(1); }
.main { flex: 1; min-width: 0; }
/* ===================== 페이지 헤더 ===================== */
.pagehead { display: flex; align-items: center; gap: 16px; padding: 6px 6px 22px; }
.ph-back {
width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
display: grid; place-items: center; color: var(--ink);
background: var(--panel); border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
box-shadow: var(--sh-soft); transition: transform 0.13s;
}
.ph-back .ic { width: 20px; height: 20px; }
.ph-back:hover { transform: translateX(-2px); }
.ph-titles { min-width: 0; }
.ph-title {
font-family: var(--font); font-weight: 700;
font-size: clamp(30px, 3.3vw, 44px); letter-spacing: -0.04em; line-height: 1; margin: 0;
}
.ph-sub { font-size: 14px; color: var(--muted); margin-top: 9px; }
.ph-sub b { color: var(--ink-2); font-weight: 600; }
.ph-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ph-weather {
display: flex; align-items: center; gap: 9px;
background: var(--panel); border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
box-shadow: var(--sh-soft); padding: 11px 16px; border-radius: 999px;
font-size: 13.5px; color: var(--ink-2); font-weight: 500; white-space: nowrap;
}
.ph-weather .ic { width: 17px; height: 17px; color: var(--red); }
.ph-weather b { font-weight: 700; color: var(--ink); }
/* ===================== 글래스 패널 공통 ===================== */
.panel {
background: var(--panel); border: 1px solid var(--panel-brd);
-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
border-radius: var(--r-xl); box-shadow: var(--sh-panel);
padding: 26px;
}
/* ===================== 흐름 보드 ===================== */
.journey { position: relative; overflow: hidden; }
.journey-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.journey-label { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.journey-label span { color: var(--muted); font-weight: 500; }
.stack { display: flex; align-items: flex-end; margin: 0 auto 0 8px; }
.stack .av {
width: 46px; height: 46px; border-radius: 50%; margin-left: -12px;
border: 3px solid var(--white); position: relative;
display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px;
box-shadow: var(--sh-soft);
}
.stack .av:first-child { margin-left: 0; }
.stack .av .cnt {
position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
font-size: 10.5px; font-weight: 700; color: #fff;
border-radius: 999px; padding: 0 5px; min-width: 18px; text-align: center;
border: 2px solid var(--white);
}
.stack .av .cnt.b { background: var(--blue-d); }
.stack .av .cnt.r { background: var(--red); }
.stack .more {
width: 46px; height: 46px; border-radius: 50%; margin-left: -12px;
border: 3px solid var(--white); background: var(--card-2); color: var(--ink-2);
display: grid; place-items: center; font-size: 15px; box-shadow: var(--sh-soft);
}
.journey-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.act {
width: 44px; height: 44px; border-radius: 50%;
display: grid; place-items: center; color: var(--ink-2);
background: var(--white); border: 1px solid var(--line);
box-shadow: var(--sh-soft); transition: transform 0.13s, color 0.16s;
}
.act .ic { width: 18px; height: 18px; }
.act:hover { transform: translateY(-1px); color: var(--ink); }
.act.fill { background: var(--ink); color: #fff; border-color: transparent; }
/* 보드 그리드 */
.board { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.col { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.col-head {
display: flex; align-items: center; gap: 9px; padding: 0 4px 2px;
}
.col-head .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.col-head .t { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.col-head .n { margin-left: auto; font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
.col-body {
flex: 1; display: flex; flex-direction: column; gap: 12px;
background: var(--col); border: 1px solid var(--col-brd);
border-radius: var(--r-lg); padding: 14px;
}
/* 흐름 카드 */
.fcard {
background: var(--card); border: 1px solid var(--line);
border-radius: var(--r); padding: 14px; box-shadow: var(--sh-card);
display: flex; flex-direction: column; gap: 10px;
transition: transform 0.14s, box-shadow 0.14s;
}
.fcard:hover { transform: translateY(-2px); box-shadow: var(--sh-card), 0 14px 30px -20px rgba(28,36,54,.3); }
.fcard-row { display: flex; align-items: center; gap: 11px; }
.fc-av {
width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
}
.fc-ic {
width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
display: grid; place-items: center; background: var(--card-2); color: var(--ink);
}
.fc-ic .ic { width: 17px; height: 17px; }
.fc-main { flex: 1; min-width: 0; }
.fc-title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.fc-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.fc-time { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-2); flex-shrink: 0; }
.fc-tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mini {
width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
color: var(--muted); background: var(--card-2); transition: color 0.15s, background 0.15s;
}
.mini .ic { width: 15px; height: 15px; }
.mini:hover { color: var(--ink); }
.mini.b { color: var(--blue-d); background: var(--blue-soft); }
.mini.r { color: var(--red); background: var(--red-soft); }
.fcard-foot { display: flex; align-items: center; gap: 8px; padding-top: 2px; border-top: 1px solid var(--line); margin-top: 2px; padding-top: 10px; }
.fcard-foot .tag {
font-size: 11px; font-weight: 600; color: var(--ink-2);
background: var(--card-2); border-radius: 999px; padding: 3px 9px;
}
/* 체크 카드(할 일) */
.fcard.task { cursor: pointer; }
.fcheck {
width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent;
transition: all 0.14s;
}
.fcheck .ic { width: 13px; height: 13px; }
.fcard.task.done .fcheck { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.fcard.task.done .fc-title { color: var(--faint); text-decoration: line-through; }
/* 작은 타일(마무리 컬럼) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
box-shadow: var(--sh-card); padding: 14px; min-height: 92px;
display: flex; flex-direction: column; gap: 8px;
transition: transform 0.14s, box-shadow 0.14s;
}
.tile:hover { transform: translateY(-2px); }
.tile .tic {
width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
background: var(--card-2); color: var(--ink-2);
}
.tile .tic .ic { width: 16px; height: 16px; }
.tile .tt { font-size: 12.5px; font-weight: 600; line-height: 1.3; margin-top: auto; }
.tile .ts { font-size: 11px; color: var(--muted); }
.tile.hi {
background: var(--ink); border-color: transparent; color: #fff;
box-shadow: 0 18px 36px -18px rgba(16,20,26,.6);
}
.tile.hi .tic { background: rgba(255,255,255,0.12); color: var(--blue); }
.tile.hi .ts { color: rgba(255,255,255,0.6); }
/* 컬럼 라벨(보드 하단) */
.col-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.col-labels .cl { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.col-labels .cl span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }
/* 검정 말풍선 툴팁 */
.bubble {
position: absolute; z-index: 6;
background: var(--ink); color: #fff; border-radius: 16px;
padding: 12px 15px; font-size: 12.5px; line-height: 1.35; max-width: 160px;
box-shadow: 0 18px 36px -16px rgba(16,20,26,.6);
}
.bubble b { font-weight: 700; }
.bubble .bsm { display: block; font-size: 10.5px; color: var(--blue); font-weight: 600; margin-bottom: 3px; letter-spacing: 0.02em; }
.bubble::after {
content: ""; position: absolute; right: -7px; top: 26px;
width: 16px; height: 16px; background: var(--ink); border-radius: 4px;
transform: rotate(45deg);
}
/* ===================== 하단 2열 ===================== */
.bottom { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; margin-top: 22px; }
.panel-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.panel-head .pt { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.panel-head .ps { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.panel-head .pa { margin-left: auto; display: flex; gap: 8px; }
/* 데이터 테이블 */
.table { width: 100%; border-collapse: collapse; }
.table th {
text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted);
padding: 0 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table th:last-child, .table td:last-child { text-align: right; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 0.14s; }
.table tbody tr:hover { background: var(--card-2); }
.t-subj { display: flex; align-items: center; gap: 11px; }
.t-subj .star { color: var(--faint); width: 16px; height: 16px; flex-shrink: 0; }
.t-subj .star.on { color: var(--blue); }
.t-subj .nm { font-weight: 600; letter-spacing: -0.01em; }
.chip {
display: inline-flex; align-items: center; gap: 6px;
font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.done { color: var(--blue-d); background: var(--blue-soft); }
.chip.sched { color: var(--red); background: var(--red-soft); }
.chip.prog { color: var(--ink-2); background: var(--card-2); }
.t-date { color: var(--ink-2); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.t-user { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.t-user .ua {
width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
color: #fff; font-size: 11px; font-weight: 700;
}
.t-user .un { font-size: 12.5px; color: var(--ink-2); }
/* 반원 게이지 */
.gauges { display: flex; gap: 16px; }
.gauge {
flex: 1; background: var(--card); border: 1px solid var(--line);
border-radius: var(--r-lg); box-shadow: var(--sh-card); padding: 20px 16px 18px;
display: flex; flex-direction: column; align-items: center;
}
.gauge svg { width: 100%; max-width: 168px; display: block; overflow: visible; }
.gauge .gval {
font-family: var(--font); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
}
.gauge .gunit { font-size: 12px; color: var(--muted); font-weight: 500; }
.gauge .glabel { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: 12px; }
.gauge .gsub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.gauge-foot {
margin-top: 16px; display: flex; align-items: center; gap: 9px;
background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; box-shadow: var(--sh-card);
}
.gauge-foot .ic { width: 16px; height: 16px; color: var(--blue-d); flex-shrink: 0; }
/* 진입 애니메이션 */
.enter .panel, .enter .pagehead > * { animation: up 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.enter .bottom .panel:nth-child(2) { animation-delay: 0.06s; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .enter .panel, .enter .pagehead > * { animation: none; } }
/* ===================== 반응형 ===================== */
@media (max-width: 1200px) {
.bottom { grid-template-columns: 1fr; }
.board { grid-template-columns: repeat(2, 1fr); }
.col-labels { grid-template-columns: repeat(2, 1fr); }
.connectors { display: none; }
.bubble { display: none; }
}
@media (max-width: 760px) {
.app { padding: 0 14px 30px; }
.top { margin: 0 -14px; padding: 0 16px; gap: 14px; height: 68px; }
.nav { display: none; }
.brand-name { display: none; }
.stage { flex-direction: column; }
.rail { flex-direction: row; position: static; width: 100%; border-radius: 999px; overflow-x: auto; }
.rail .sep { width: 1px; height: 22px; }
.board { grid-template-columns: 1fr; }
.col-labels { display: none; }
.gauges { flex-direction: column; }
.ph-right { display: none; }
}