fix: 点击日历日期后高亮跟随选中日期

This commit is contained in:
mac
2026-06-01 23:23:59 +08:00
parent 6eb0a42fc5
commit a64f113aa7
2 changed files with 19 additions and 0 deletions

View File

@@ -252,6 +252,20 @@ body {
background: var(--primary-light);
}
.cal-cell.selected {
font-weight: 600;
color: var(--primary-dark);
border-color: var(--primary-dark);
background: #DDE3FD;
}
.cal-cell.selected.today {
font-weight: 700;
color: #FFF;
border-color: var(--primary-dark);
background: var(--primary);
}
.cal-cell::after {
content: '';
position: absolute;