feat(project): 담당자 배정은 어디서나 아이콘 + 이름
- showContextMenu 항목에 icon(HTML)·checked(오른쪽 ✓) 지원. - assigneeMenuItems: 카드·하위 업무 담당자 메뉴를 아바타 + 이름으로(미지정 = 점선 원 사람 아이콘). - enhanceAssigneeSelect: 업무 팝업 담당자·하위 업무 담당자·하위 업무 추가의 <select> 를 아이콘 + 이름 버튼/메뉴로 대체(select 는 숨겨 값 저장소로 유지, value setter·옵션 변경을 따라감). - 규칙 문서화(PROJECT_MODULE.md 3절). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -985,6 +985,40 @@ label.pj-desc-fmtbtn { line-height: 26px; }
|
||||
.pj-ctxmenu-item.is-danger { color: #c22b10; }
|
||||
.pj-ctxmenu-item.is-danger:hover { background: #fbecea; }
|
||||
.pj-ctxmenu-sep { height: 1px; background: var(--pj-border); margin: 4px 2px; }
|
||||
/* 메뉴 항목 아이콘(담당자 아바타 등) + 오른쪽 현재값 ✓ */
|
||||
.pj-ctxmenu-ic { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
|
||||
.pj-ctxmenu-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.pj-ctxmenu-check { flex: 0 0 auto; font-size: 18px; color: var(--pj-accent); }
|
||||
.pj-ctxmenu-item.is-checked { font-weight: 600; }
|
||||
|
||||
/* ── 담당자 아이콘(메뉴·버튼 공용) — 사진 / 기본 사람 / 미지정 점선 원 ── */
|
||||
.pj-person-ic { flex: 0 0 auto; }
|
||||
img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.pj-gicon.pj-person-ic { font-size: 24px; color: #9aa1a9; }
|
||||
.pj-person-ic.is-empty { display: inline-flex; color: #6d6e6f; }
|
||||
|
||||
/* <select> 대신 보이는 담당자 버튼(enhanceAssigneeSelect) — 아이콘 + 이름 */
|
||||
.pj-assignee-btn {
|
||||
display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%;
|
||||
margin: 0; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px;
|
||||
background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--pj-ink);
|
||||
cursor: pointer; text-align: left;
|
||||
}
|
||||
.pj-assignee-btn:hover, .pj-assignee-btn:focus-visible { border-color: var(--pj-border); background: #f6f7f8; outline: none; }
|
||||
.pj-assignee-btn:disabled { cursor: default; opacity: .6; }
|
||||
.pj-assignee-btn.is-empty { color: var(--pj-ink-soft); font-weight: 500; }
|
||||
.pj-assignee-btn-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.pj-meta-cell-assignee .pj-assignee-btn { max-width: 150px; }
|
||||
/* 하위 업무 줄/추가 폼 — 폭 고정, 글자 작게 */
|
||||
.pj-assignee-btn.pj-subtask-assignee { flex: 0 0 auto; width: 110px; font-size: 12px; font-weight: 500; padding: 2px 6px; }
|
||||
.pj-assignee-btn[data-for="pj-subtask-add-assignee"] {
|
||||
flex: 0 0 auto; width: 110px; font-size: 12px; font-weight: 500; padding: 3px 6px;
|
||||
border-color: #d8dce2; border-radius: 8px; background: #fff;
|
||||
}
|
||||
.pj-assignee-btn.pj-subtask-assignee img.pj-person-ic,
|
||||
.pj-assignee-btn[data-for="pj-subtask-add-assignee"] img.pj-person-ic { width: 18px; height: 18px; }
|
||||
.pj-assignee-btn.pj-subtask-assignee .pj-person-ic svg,
|
||||
.pj-assignee-btn[data-for="pj-subtask-add-assignee"] .pj-person-ic svg { width: 18px; height: 18px; }
|
||||
|
||||
/* ── 대시보드 — 통계 카드 + 차트(전부 클라이언트 집계/렌더). 카드 자체는
|
||||
pj-col 과 같은 흰 카드 톤(radius/shadow)을 재사용, 숫자·막대·도넛만
|
||||
|
||||
Reference in New Issue
Block a user