feat(실적): 일자별 표 열 접기 — 사람마다 저장

매출 실적·광고비 일자별 표 머리글 위 버튼으로 열 하나씩 접기/펴기(날짜 열 제외).
접은 열은 26px 띠, 로그인한 사람 본인에게만 적용 — PUT /api/my-col-fold →
perf_settings col_fold:<이메일 sha1> (마이그레이션 없음, 011 테이블 재사용).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 19:53:39 +09:00
parent 9d2e9f6e1b
commit 8636498bc9
8 changed files with 222 additions and 5 deletions
+12
View File
@@ -523,3 +523,15 @@ body.perf-dragging, body.perf-dragging * { cursor: grabbing !important; user-sel
.perf-main thead th:hover > .perf-colw-grip::after { background: #c3c6cb; }
.perf-main thead th > .perf-colw-grip:hover::after, .perf-colw-grip.is-active::after { background: #1a56db; }
body.perf-colw-dragging, body.perf-colw-dragging * { cursor: col-resize !important; user-select: none; }
/* 열 접기(2026-11-06) — 일자별 표 머리글 위 버튼(performance.js initColFold), 접은 열 = 26px 띠(버튼만, 너비는 JS CFOLD_W 와 같게) */
.perf-cfold { display: flex; align-items: center; justify-content: center; width: 20px; height: 16px; margin: -4px auto 2px; padding: 0;
border: 0; border-radius: 4px; background: none; color: #b5b8bd; cursor: pointer; }
.perf-cfold:hover { background: rgba(0, 0, 0, .08); color: #333; }
.perf-cfold:focus-visible { outline: 2px solid #1a56db; outline-offset: 1px; }
.perf-cfold svg { transition: transform .2s ease; }
.perf-cfold[aria-expanded="false"] svg { transform: rotate(180deg); }
.perf-main th.is-cfold, .perf-main td.is-cfold { width: 26px; min-width: 26px; max-width: 26px; padding-left: 0; padding-right: 0;
font-size: 0; pointer-events: none; }
.perf-main .is-cfold > :not(.perf-cfold) { display: none !important; } /* 보기 기준(총매출·차감) 표시 규칙보다 우선 */
.perf-main th.is-cfold .perf-cfold { pointer-events: auto; margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .perf-cfold svg { transition: none; } }