feat(cupang): 달력 칸에 공휴일 이름 표시(대체공휴일 포함)
- holidays.py 를 이름까지 담도록 확장(holiday_name), is_holiday 는 이름 유무로 판정 - 대체공휴일은 원래 명칭 대신 "대체공휴일"로 표기, 겹치는 날은 "어린이날·부처님오신날" - 달력 칸에 날짜 아래 빨강 소형 라벨 + title 툴팁, 칸 최소 높이 62→70px Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+11
-1
@@ -1112,7 +1112,7 @@ body.cpg-dragging { cursor: grabbing; user-select: none; }
|
||||
.cpg-mcal-cell {
|
||||
position: relative;
|
||||
display: flex; flex-direction: column; align-items: center; gap: 4px;
|
||||
min-height: 62px; min-width: 0; padding: 6px 4px 7px;
|
||||
min-height: 70px; min-width: 0; padding: 6px 4px 7px;
|
||||
border: 1px solid var(--color-subtle-ash);
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
@@ -1141,6 +1141,16 @@ body.cpg-dragging { cursor: grabbing; user-select: none; }
|
||||
box-shadow: inset 0 0 0 1.5px var(--color-deep-black);
|
||||
}
|
||||
|
||||
/* 공휴일 이름 — 날짜 아래 작은 빨강 글씨 */
|
||||
.cpg-mcal-holi {
|
||||
max-width: 100%;
|
||||
font-size: 11px; font-weight: 700; line-height: 1.3;
|
||||
color: var(--color-callout-red);
|
||||
text-align: center;
|
||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||
}
|
||||
.cpg-mcal-cell.is-out .cpg-mcal-holi { color: #e3a59b; }
|
||||
|
||||
/* 출고 있는 날 — 건수/센터수 태그 */
|
||||
.cpg-mcal-tag {
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
|
||||
Reference in New Issue
Block a user