Files
dbx-main/app/static/erp-overdue.css
T
king ecc6405299 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>
2026-10-13 13:10:57 +09:00

34 lines
2.1 KiB
CSS

/* 마감 지난 내 업무 알림 — ERP 모든 화면 위쪽 가운데(erp-overdue.js). body 에 붙어 화면 배율(.erp-app zoom) 밖. 긴급 공지(6000)보다 아래. */
.erp-overdue {
position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5500;
width: min(560px, calc(100vw - 32px)); box-sizing: border-box;
padding: 12px 14px 10px; border-radius: 12px; background: #fff; color: #1e1f21;
border: 1px solid #f3c5c6; border-top: 4px solid #e5484d;
box-shadow: 0 12px 36px rgba(16, 24, 40, .22);
font-size: 13.5px; animation: erp-overdue-in .22s ease-out;
}
.erp-overdue[hidden] { display: none; }
@keyframes erp-overdue-in { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.erp-overdue-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.erp-overdue-head b { flex: 1 1 auto; font-size: 14.5px; color: #c62a2f; }
.erp-overdue-ic { font-size: 17px; }
.erp-overdue-close {
flex: none; border: 1px solid #d8dce2; background: #fff; color: #4b5059; border-radius: 8px;
padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer;
}
.erp-overdue-close:hover { background: #f3f4f6; }
.erp-overdue-list { display: flex; flex-direction: column; max-height: 50vh; overflow-y: auto; }
.erp-overdue-item {
display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 8px;
color: inherit; text-decoration: none;
}
.erp-overdue-item:hover { background: #fdf2f2; }
.erp-overdue-dot { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.erp-overdue-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.erp-overdue-text b, .erp-overdue-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erp-overdue-text b { font-weight: 600; }
.erp-overdue-text small { color: #6b7079; font-size: 11.5px; }
.erp-overdue-late { flex: none; color: #c62a2f; font-size: 12px; font-weight: 700; white-space: nowrap; }
.erp-overdue-more { padding: 6px; font-size: 12px; color: #3b6fd8; text-decoration: none; }
.erp-overdue-more:hover { text-decoration: underline; }