feat(project): 아사나식 세션 머리(+ / … 메뉴) + 카드 하위 업무 펼치기
- 세션 머리: 이름 바로 오른쪽에 업무 수(숫자만), 오른쪽 끝 +(업무 추가)·… 메뉴(업무 추가/이름 변경/세션 편집/세션 업무 모두 완료/완료 세션 지정·해제/ 삭제). 기존 ✎·☐·× 버튼 제거, 헤더 우클릭도 같은 메뉴. - 카드: 하위 업무가 있으면 'N ⤷ ▾' 토글. 누르면 카드 아래로 하위 업무 목록 (완료 체크·제목·마감·담당자) 펼침. 체크로 바로 완료 토글. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+42
-11
@@ -270,14 +270,17 @@
|
||||
border-radius: 13px 13px 0 0;
|
||||
}
|
||||
.pj-col-head.pj-col-head-colored .pj-col-name { color: #fff; }
|
||||
.pj-col-head.pj-col-head-colored .pj-col-count { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.4); color: #fff; }
|
||||
.pj-col-head.pj-col-head-colored .pj-col-ctrls .pj-icon-btn { color: #fff; }
|
||||
.pj-col-head.pj-col-head-colored .pj-col-count { color: rgba(255,255,255,.85); }
|
||||
.pj-col-head.pj-col-head-colored .pj-col-actions .pj-icon-btn { color: #fff; }
|
||||
.pj-col-head.pj-col-head-colored .pj-col-actions .pj-icon-btn:hover { background: rgba(255,255,255,.22); }
|
||||
.pj-col-head.pj-col-head-colored .pj-chip { background: rgba(255,255,255,.28); color: #fff; }
|
||||
.pj-col-count {
|
||||
margin-left: auto; color: var(--pj-ink-soft); font-weight: 700; font-size: 11px;
|
||||
background: #fff; border: 1px solid #e2e4ea; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px;
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
}
|
||||
/* 업무 수 — 아사나처럼 이름 바로 오른쪽에 숫자만(배지 없음) */
|
||||
.pj-col-count { color: var(--pj-ink-soft); font-weight: 500; font-size: 14px; margin-left: 2px; }
|
||||
/* 오른쪽 끝 + (업무 추가) / … (세션 메뉴) */
|
||||
.pj-col-actions { margin-left: auto; display: inline-flex; gap: 2px; flex: 0 0 auto; }
|
||||
.pj-col-actions .pj-icon-btn { width: 28px; height: 28px; color: var(--pj-ink-soft); }
|
||||
.pj-col-actions .pj-icon-btn .material-symbols-outlined { font-size: 20px; }
|
||||
.pj-col-actions .pj-icon-btn:hover { color: var(--pj-ink); background: rgba(0,0,0,.06); }
|
||||
/* 컬럼 안의 카드가 많아지면 보드 전체가 아니라 이 컬럼만 세로로 스크롤한다
|
||||
— 그래야 가로로 늘어난 다른 세션들이 화면 밖으로 밀려나지 않는다. */
|
||||
.pj-col-body {
|
||||
@@ -766,9 +769,6 @@
|
||||
/* ── 보드 단계 컨트롤 ── */
|
||||
.pj-col-head { position: relative; }
|
||||
.pj-col-name { font-weight: 700; }
|
||||
.pj-col-ctrls { display: none; gap: 3px; margin-left: 6px; }
|
||||
.pj-col:hover .pj-col-ctrls { display: inline-flex; }
|
||||
.pj-col-ctrls .pj-icon-btn { width: 28px; height: 28px; font-size: 17px; }
|
||||
.pj-icon-btn[disabled] { opacity: .3; cursor: default; }
|
||||
.pj-add-stage { width: 100%; padding: 10px; border: 1px dashed #c9cdd3; border-radius: 12px; background: #fff; color: #6b7280; font-size: 13px; font-weight: 600; cursor: pointer; }
|
||||
.pj-add-stage:hover { border-color: #1e1f21; color: #1e1f21; }
|
||||
@@ -788,7 +788,38 @@
|
||||
.pj-col.pj-col-drop-target { outline: 2px dashed #aebfe6; outline-offset: -2px; border-radius: 12px; }
|
||||
|
||||
/* 업무 카드 — 하위 업무 진행 배지("2/5") */
|
||||
.pj-card-subtasks { font-size: 11px; color: #6b7280; background: #eef0f2; border-radius: 999px; padding: 1px 7px; font-weight: 600; }
|
||||
/* ── 카드 하위 업무(아사나처럼) — "N ⤷ ▾" 토글 + 카드 아래로 펼치는 목록 ── */
|
||||
.pj-card-subtoggle {
|
||||
display: inline-flex; align-items: center; gap: 1px; flex: 0 0 auto; margin-left: auto;
|
||||
height: 22px; padding: 0 2px 0 6px; border: 1px solid transparent; border-radius: 6px;
|
||||
background: transparent; color: var(--pj-ink-soft); font: inherit; font-size: 12px; font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
.pj-card-subtoggle:hover { background: #f1f2f4; color: var(--pj-ink); }
|
||||
.pj-card-subtoggle.is-open { border-color: #4573d2; color: var(--pj-ink); background: #fff; }
|
||||
.pj-card-subtoggle-ic { font-size: 15px; transform: scaleX(-1) rotate(90deg); }
|
||||
.pj-card-subtoggle-caret { font-size: 18px; margin-left: -2px; transition: transform .12s; }
|
||||
.pj-card-subtoggle.is-open .pj-card-subtoggle-caret { transform: rotate(180deg); }
|
||||
.pj-card-subs { margin: 10px -4px 0; border-top: 1px solid #eef0f2; }
|
||||
.pj-card-sub {
|
||||
display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 2px 4px;
|
||||
border-bottom: 1px solid #eef0f2; font-size: 13px; color: var(--pj-ink);
|
||||
}
|
||||
.pj-card-sub:hover { background: #f7f8fa; }
|
||||
.pj-card-sub-check {
|
||||
flex: 0 0 auto; display: inline-flex; padding: 0; border: 0; background: none; cursor: pointer;
|
||||
color: #8b929b; border-radius: 50%;
|
||||
}
|
||||
.pj-card-sub-check .material-symbols-outlined { font-size: 19px; }
|
||||
.pj-card-sub-check:hover { color: #58a182; }
|
||||
.pj-card-sub.is-done .pj-card-sub-check { color: #58a182; }
|
||||
.pj-card-sub.is-done .pj-card-sub-check .material-symbols-outlined { font-variation-settings: "FILL" 1; }
|
||||
.pj-card-sub-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.pj-card-sub.is-done .pj-card-sub-title { color: #9aa1a9; }
|
||||
.pj-card-sub-due { flex: 0 0 auto; font-size: 12px; color: var(--pj-ink-soft); }
|
||||
.pj-card-sub-due.is-overdue { color: #c22b10; }
|
||||
.pj-card-sub-av { flex: 0 0 auto; display: inline-flex; }
|
||||
.pj-card-sub-empty { padding: 8px 4px; font-size: 12px; color: #9aa1a9; }
|
||||
|
||||
/* 프로젝트 스코프 토글(이 프로젝트 / 전체 프로젝트) — 뷰 탭과 같은 모양 재사용 */
|
||||
#pj-scope-toggle { margin-left: auto; }
|
||||
|
||||
Reference in New Issue
Block a user