feat(project): 날짜 팝업 공휴일 숫자 밑에 휴일 이름 표시
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+16
-4
@@ -1502,16 +1502,27 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.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-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 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;
|
||||
position: relative; height: 34px; border: 0; padding: 0; background: transparent; cursor: pointer;
|
||||
font: inherit; font-size: 13.5px; color: var(--pj-ink);
|
||||
display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-width: 0;
|
||||
}
|
||||
/* 원(오늘·선택·마우스)은 숫자 자리(위 34px)의 가운데 — 공휴일 이름 줄이 붙어도 그대로 */
|
||||
.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%);
|
||||
left: 50%; top: 17px; transform: translate(-50%, -50%);
|
||||
}
|
||||
.pj-dp-num { height: 34px; display: flex; align-items: center; justify-content: center; flex: none; }
|
||||
/* 공휴일 이름 — 숫자 밑 작은 글씨. 이 칸이 있는 주만 줄이 높아진다(다른 칸은 34px 그대로 위에 붙음). */
|
||||
.pj-dp-day.has-hol { height: 46px; }
|
||||
.pj-dp-hol {
|
||||
max-width: 100%; margin-top: -3px; padding: 0 1px; box-sizing: border-box;
|
||||
font-size: 9px; line-height: 1.1; letter-spacing: -.5px; font-weight: 500;
|
||||
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #d93025;
|
||||
}
|
||||
.pj-dp-day.is-out .pj-dp-hol { color: #efaaa3; }
|
||||
.pj-dp-day { z-index: 0; }
|
||||
.pj-dp-day > * { position: relative; }
|
||||
.pj-dp-day:hover::before { background: #f1f2f4; }
|
||||
@@ -1528,6 +1539,7 @@ img.pj-person-ic { width: 22px; height: 22px; }
|
||||
.pj-dp-day.is-selected, .pj-dp-day.is-selected.is-sun, .pj-dp-day.is-selected.is-sat { 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.is-selected .pj-dp-hol { color: #d93025; font-weight: 600; }
|
||||
.pj-dp-day { isolation: isolate; }
|
||||
.pj-dp-day::before { z-index: -1; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user