feat(project): 아사나식 날짜 팝업 + 마감일 어제/오늘/내일 표기
- openDatePopover: '+ 시작일'/마감일 칸(직접 입력 가능), 월 달력(오늘 테두리, 선택 파란 원, 기간 음영, 주말·다른 달 흐리게), 오늘/지우기, 앵커를 가리키는 꼬리. 카드 마감일·카드 하위 업무·업무 팝업 마감일에 적용(브라우저 기본 date 달력 대체). 카드·하위 업무는 시작일도 함께 저장. - dueInfo: 어제(빨강)·오늘/내일(초록)·그 밖 mm/dd(요일), 지남 빨강 — 보드 카드·하위 업무·업무 팝업·리스트·내 업무 표에 적용. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+80
-5
@@ -1134,12 +1134,87 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.pj-card-meta .is-empty { opacity: 0; transition: opacity .12s; color: #9aa1a9; }
|
||||
.pj-card:hover .pj-card-meta .is-empty { opacity: .8; }
|
||||
.pj-card-due.is-overdue { color: #c22b10; }
|
||||
.pj-inline-date {
|
||||
position: absolute; z-index: 1200; background: #fff; border: 1px solid #d8dce2;
|
||||
border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 8px;
|
||||
display: flex; align-items: center; gap: 6px;
|
||||
/* ── 아사나식 날짜 팝업(openDatePopover) — 시작일/마감일 칸 + 월 달력 + 지우기.
|
||||
앵커 아래(자리 없으면 위)에 뜨고 꼬리가 앵커를 가리킨다(--pj-dp-tail). ── */
|
||||
.pj-datepop {
|
||||
position: fixed; z-index: 2300; width: 300px; box-sizing: border-box;
|
||||
background: #fff; border: 1px solid #e3e5e8; border-radius: 12px;
|
||||
box-shadow: 0 8px 28px rgba(15,23,42,.16), 0 1px 3px rgba(15,23,42,.08);
|
||||
padding: 14px 14px 8px; font-size: 13px; color: var(--pj-ink);
|
||||
animation: pj-dp-in .12s ease-out;
|
||||
}
|
||||
.pj-inline-date input[type="date"] { border: 1px solid #d8dce2; border-radius: 7px; padding: 5px 7px; font-size: 13px; }
|
||||
@keyframes pj-dp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
|
||||
.pj-datepop::before, .pj-datepop::after {
|
||||
content: ""; position: absolute; left: var(--pj-dp-tail, 50%); transform: translateX(-50%);
|
||||
border: 8px solid transparent;
|
||||
}
|
||||
/* 아래에 뜸 → 위쪽 꼬리 */
|
||||
.pj-datepop::before { bottom: 100%; border-bottom-color: #e3e5e8; }
|
||||
.pj-datepop::after { bottom: calc(100% - 1px); border-bottom-color: #fff; }
|
||||
/* 위에 뜸 → 아래쪽 꼬리 */
|
||||
.pj-datepop.is-above::before { bottom: auto; top: 100%; border-bottom-color: transparent; border-top-color: #e3e5e8; }
|
||||
.pj-datepop.is-above::after { bottom: auto; top: calc(100% - 1px); border-bottom-color: transparent; border-top-color: #fff; }
|
||||
|
||||
.pj-dp-fields { display: flex; gap: 8px; margin-bottom: 10px; }
|
||||
.pj-dp-field, .pj-dp-addstart {
|
||||
flex: 1 1 0; min-width: 0; height: 36px; box-sizing: border-box;
|
||||
border: 1px solid #d8dce2; border-radius: 8px; padding: 0 10px;
|
||||
font: inherit; font-size: 13.5px; color: var(--pj-ink); background: #fff;
|
||||
}
|
||||
.pj-dp-field:focus, .pj-dp-field.is-active { outline: none; border: 2px solid #4573d2; padding: 0 9px; }
|
||||
.pj-dp-field::placeholder { color: #9aa1a9; }
|
||||
.pj-dp-addstart {
|
||||
border-color: transparent; background: transparent; cursor: pointer; font-weight: 600; color: #525860; text-align: left;
|
||||
}
|
||||
.pj-dp-addstart:hover { background: #f1f2f4; }
|
||||
|
||||
.pj-dp-nav { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 6px; }
|
||||
.pj-dp-title { font-size: 14px; font-weight: 500; color: var(--pj-ink); }
|
||||
.pj-dp-navbtn {
|
||||
width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
|
||||
border: 0; background: transparent; border-radius: 6px; color: #525860; cursor: pointer;
|
||||
}
|
||||
.pj-dp-navbtn:hover { background: #f1f2f4; color: var(--pj-ink); }
|
||||
.pj-dp-navbtn .material-symbols-outlined { font-size: 22px; }
|
||||
|
||||
.pj-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
|
||||
.pj-dp-wd { text-align: center; font-size: 12px; font-weight: 600; color: #6d6e6f; padding: 4px 0 6px; }
|
||||
.pj-dp-day {
|
||||
position: relative; height: 34px; border: 0; background: transparent; cursor: pointer;
|
||||
font: inherit; font-size: 13.5px; color: var(--pj-ink); display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.pj-dp-day::before {
|
||||
content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; z-index: 0;
|
||||
left: 50%; top: 50%; transform: translate(-50%, -50%);
|
||||
}
|
||||
.pj-dp-day { z-index: 0; }
|
||||
.pj-dp-day > * { position: relative; }
|
||||
.pj-dp-day:hover::before { background: #f1f2f4; }
|
||||
.pj-dp-day.is-weekend, .pj-dp-day.is-out { color: #8b929b; }
|
||||
.pj-dp-day.is-out { color: #b3b8bf; }
|
||||
/* 오늘 = 파란 테두리 원 + 굵게 */
|
||||
.pj-dp-day.is-today { font-weight: 800; }
|
||||
.pj-dp-day.is-today::before { border: 1.5px solid #4573d2; }
|
||||
/* 선택 = 파란 원 + 흰 글자 (숫자가 원 위에 보이도록 글자는 z 위로) */
|
||||
.pj-dp-day.is-selected { color: #fff; font-weight: 600; }
|
||||
.pj-dp-day.is-selected::before { background: #4573d2; border: 0; }
|
||||
.pj-dp-day.is-inrange { background: #e8effb; }
|
||||
.pj-dp-day { isolation: isolate; }
|
||||
.pj-dp-day::before { z-index: -1; }
|
||||
|
||||
.pj-dp-foot {
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
margin-top: 8px; padding-top: 8px; border-top: 1px solid #eef0f2;
|
||||
}
|
||||
.pj-dp-link {
|
||||
border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
|
||||
color: #525860; padding: 6px 8px; border-radius: 6px;
|
||||
}
|
||||
.pj-dp-link:hover { background: #f1f2f4; color: var(--pj-ink); }
|
||||
|
||||
/* 마감일 표기 색 — 오늘·내일 초록, 어제·지남 빨강(아사나) */
|
||||
.pj-card-due.is-soon, .pj-card-sub-due.is-soon, .pj-due-label.is-soon, .pj-due-btn.is-soon { color: #3f8f6b; }
|
||||
.pj-card-due.is-overdue, .pj-card-sub-due.is-overdue, .pj-due-label.is-overdue { color: #c22b10; }
|
||||
|
||||
/* ── 멘션(@태그) ── */
|
||||
.pj-mention {
|
||||
|
||||
Reference in New Issue
Block a user