feat(project): 세부 업무 협업자 등록·대시보드 프로젝트별·마감 지난 업무 알림
- 세부 업무를 만들 때 협업자도 같이(업무 창 추가 칸·보드 카드 새 줄) — POST tasks 의 followers, 비멤버면 400 - 보드 카드 세부 업무 줄에도 협업자 아이콘, 업무 창 줄의 빈 협업자 아이콘은 늘 보이게 - 협업자 메뉴는 고를 때마다 다시 열려 여러 명을 이어서 지정(openFollowerMenu 공용) - 대시보드 "업무 합계(프로젝트별)" 카드 — 완료 상태별 카드 왼쪽, 프로젝트별 완료/전체·완료율 - 마감 지난 내 업무 위쪽 알림(ERP 모든 화면, erp-overdue.js, GET /project/api/my-overdue) — 닫으면 1시간 뒤 다시, 새로 지난 업무는 바로 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+41
-3
@@ -1275,6 +1275,18 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z);
|
||||
.pj-card-sub:hover .pj-card-sub-av.is-empty { opacity: 1; }
|
||||
.pj-card-sub-av.is-empty:hover { color: #1e1f21; background: #eceef0; }
|
||||
.pj-card-sub-empty { padding: 8px 4px; font-size: 12px; color: #9aa1a9; }
|
||||
/* 카드 세부 업무 줄 협업자(담당자 오른쪽) — 없으면 줄에 마우스를 올릴 때만 점선 원 두 사람 */
|
||||
.pj-card-sub-fol {
|
||||
flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 1px;
|
||||
min-width: 24px; height: 24px; padding: 0 2px; border-radius: 12px; cursor: pointer; color: #6d6e6f;
|
||||
}
|
||||
.pj-card-sub-fol img.pj-person-ic { width: 20px; height: 20px; border-radius: 50%; }
|
||||
.pj-card-sub-fol .pj-gicon { font-size: 20px; }
|
||||
.pj-card-sub-fol > svg { width: 20px; height: 20px; }
|
||||
.pj-card-sub-fol:not(.is-empty):hover { background: #eceef0; }
|
||||
.pj-card-sub-fol.is-empty { opacity: 0; transition: opacity .12s; }
|
||||
.pj-card-sub:hover .pj-card-sub-fol.is-empty { opacity: 1; }
|
||||
.pj-card-sub-fol.is-empty:hover { color: #1e1f21; background: #eceef0; }
|
||||
/* 카드 하위 작업 맨 아래 "+ 하위 작업 추가"와 새 줄 입력(아사나) */
|
||||
.pj-card-subnew {
|
||||
display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 2px 4px;
|
||||
@@ -1287,9 +1299,10 @@ html.pj-ui-scale #pj-timeline { zoom: calc(1 / var(--pj-z)); --tz: var(--pj-z);
|
||||
padding: 4px 0; font-size: 13px; font-family: inherit; color: var(--pj-ink);
|
||||
}
|
||||
.pj-card-subnew-title::placeholder { color: #9aa1a9; }
|
||||
/* 새 줄의 마감일·담당자 아이콘은 늘 보인다(기존 줄은 마우스를 올릴 때만) */
|
||||
/* 새 줄의 마감일·담당자·협업자 아이콘은 늘 보인다(기존 줄은 마우스를 올릴 때만) */
|
||||
.pj-card-subnew .pj-card-sub-due.is-empty,
|
||||
.pj-card-subnew .pj-card-sub-av.is-empty { opacity: 1; }
|
||||
.pj-card-subnew .pj-card-sub-av.is-empty,
|
||||
.pj-card-subnew .pj-card-sub-fol.is-empty { opacity: 1; }
|
||||
.pj-card-subadd {
|
||||
display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 2px; padding: 4px 6px;
|
||||
border: none; background: transparent; border-radius: 6px; cursor: pointer;
|
||||
@@ -1457,7 +1470,8 @@ label.pj-desc-fmtbtn {
|
||||
.pj-subtask-fol .pj-gicon { font-size: 22px; }
|
||||
.pj-subtask-fol-n { font-size: 11px; font-weight: 600; color: var(--pj-ink-soft); }
|
||||
.pj-subtask-fol:not(.is-empty):hover { background: #eceef0; }
|
||||
.pj-subtask-fol.is-empty { opacity: 0; transition: opacity .12s; }
|
||||
.pj-subtask-fol > svg { width: 22px; height: 22px; }
|
||||
.pj-subtask-fol.is-empty { opacity: .5; transition: opacity .12s; } /* 비어 있어도 늘 보인다(옅게) */
|
||||
.pj-subtask-row:hover .pj-subtask-fol.is-empty { opacity: 1; }
|
||||
.pj-subtask-fol.is-empty:hover { color: #1e1f21; background: #eceef0; }
|
||||
/* 하위 작업 열기(›) — 줄에 마우스를 올리면 진해진다 */
|
||||
@@ -1572,6 +1586,14 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
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-add-fol {
|
||||
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-add-fol img.pj-person-ic { width: 18px; height: 18px; }
|
||||
.pj-assignee-btn.pj-subtask-add-fol .pj-person-ic svg,
|
||||
.pj-assignee-btn.pj-subtask-add-fol > svg { width: 18px; height: 18px; flex: 0 0 auto; }
|
||||
.pj-assignee-btn.pj-subtask-add-fol .pj-subtask-fol-n { margin-left: -2px; }
|
||||
.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,
|
||||
@@ -1594,6 +1616,21 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
box-shadow: var(--pj-card-shadow); padding: 18px 20px 20px; min-width: 0;
|
||||
}
|
||||
.pj-dash-card-wide { grid-column: 1 / -1; }
|
||||
/* 업무 합계(프로젝트별) — 가로 막대 줄(채움 = 완료율) */
|
||||
.pj-dash-projbars { display: flex; flex-direction: column; gap: 4px; max-height: 210px; overflow-y: auto; margin: 0 -6px; }
|
||||
.pj-dash-projrow {
|
||||
display: grid; grid-template-columns: 10px minmax(0, 1fr) minmax(70px, 1.2fr) auto; align-items: center; gap: 8px;
|
||||
padding: 6px; border-radius: 8px; color: var(--pj-ink); text-decoration: none; font-size: 12.5px;
|
||||
}
|
||||
.pj-dash-projrow:hover { background: #f5f6f8; }
|
||||
.pj-dash-projdot { width: 10px; height: 10px; border-radius: 3px; }
|
||||
.pj-dash-projname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
||||
.pj-dash-projtrack { position: relative; height: 10px; border-radius: 5px; background: #e6e3f7; overflow: hidden; }
|
||||
.pj-dash-projtrack i {
|
||||
position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px;
|
||||
background: var(--color-success-green, #2e9e5b); transition: width .6s cubic-bezier(.22,.9,.3,1);
|
||||
}
|
||||
.pj-dash-projval { color: var(--pj-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 12px; }
|
||||
/* 담당자별 작업 합계 — 사람마다 메인·하위 세로 막대. 막대 = 그 작업 전체(100%), 초록 채움 = 완료율. 누르면 오른쪽 업무 목록 패널 */
|
||||
.pj-wl-legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: -6px 0 14px; font-size: 12px; color: var(--pj-ink-soft); }
|
||||
.pj-wl-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
|
||||
@@ -1709,6 +1746,7 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.pj-dash-stats .pj-dash-stat:nth-child(4) { animation-delay: .12s; }
|
||||
.pj-dash-charts .pj-dash-card:nth-child(2) { animation-delay: .06s; }
|
||||
.pj-dash-charts .pj-dash-card:nth-child(3) { animation-delay: .12s; }
|
||||
.pj-dash-charts .pj-dash-card:nth-child(4) { animation-delay: .18s; }
|
||||
@keyframes pj-dash-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
|
||||
@media (max-width: 900px) { .pj-dash-stats { grid-template-columns: repeat(2, 1fr); } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user