feat(project): 홈 카드 세션 없으면 업무추가 버튼 비활성화

세션이 하나도 없으면 업무를 넣을 세션이 없으므로 아이콘 버튼(disabled)과
우클릭 메뉴 둘 다 막는다. "세션 추가"로 첫 세션을 만들면 새로고침 없이
바로 활성화(dataset.hasStages 갱신 + disabled 해제).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-17 14:18:37 +09:00
parent 29ce3554b1
commit e2734e176c
6 changed files with 38 additions and 17 deletions
+4
View File
@@ -94,6 +94,10 @@
.pj-card-actions .pj-icon-btn .material-symbols-outlined { font-size: 18px; }
.pj-project-card:hover .pj-card-actions .pj-icon-btn { opacity: 1; }
.pj-card-actions .pj-icon-btn:hover { background: rgba(255,255,255,.25); color: #fff; }
/* 세션이 없는 프로젝트는 업무를 넣을 곳이 없다 — 흐리게 + 클릭 불가 */
.pj-project-card:hover .pj-card-actions .pj-icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.pj-card-actions .pj-icon-btn:disabled { pointer-events: none; }
.pj-card-actions .pj-icon-btn:disabled:hover { background: none; }
.pj-project-name { font-weight: 700; font-size: 15px; }
.pj-project-desc { color: #6b7280; font-size: 12.5px; }
/* 프로젝트 이름 아래 — 배정 멤버(아이콘+이름) */