日历优化

This commit is contained in:
2026-06-19 09:24:19 +08:00 Unverified
parent 2f834a0eb7
commit 3adca3d226
2 changed files with 139 additions and 18 deletions
+24 -10
View File
@@ -800,17 +800,24 @@ a {
.calendar-grid {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 5px 7px;
gap: 4px 7px;
color: #8aa6be;
font-size: 0.78rem;
text-align: center;
}
.calendar-grid span {
display: grid;
place-items: center;
min-height: 20px;
min-height: 22px;
padding: 0;
border: 1px solid transparent;
border-radius: 999px;
line-height: 1;
}
.calendar-grid b {
font-size: 0.78rem;
font-weight: 700;
}
.calendar-grid .muted {
@@ -820,6 +827,7 @@ a {
.calendar-grid .today {
color: #fff;
background: #66c8f5;
border-color: #66c8f5;
}
.schedule-bars {
@@ -829,7 +837,7 @@ a {
.schedule-row {
display: grid;
grid-template-columns: 34px 1fr 64px;
grid-template-columns: 34px minmax(52px, 1fr) 74px;
align-items: center;
gap: 8px;
color: var(--muted);
@@ -838,27 +846,33 @@ a {
.schedule-row progress {
width: 100%;
height: 18px;
height: 10px;
overflow: hidden;
border: 0;
border-radius: 4px;
background: rgba(102, 200, 245, 0.18);
border-radius: 999px;
background: rgba(102, 200, 245, 0.16);
}
.schedule-row progress::-webkit-progress-bar {
background: rgba(102, 200, 245, 0.18);
border-radius: 999px;
background: rgba(102, 200, 245, 0.16);
}
.schedule-row progress::-webkit-progress-value {
background: rgba(102, 200, 245, 0.58);
border-radius: 999px;
background: linear-gradient(90deg, #5ec7f4, #42d4c4);
}
.schedule-row progress::-moz-progress-bar {
background: rgba(102, 200, 245, 0.58);
border-radius: 999px;
background: linear-gradient(90deg, #5ec7f4, #42d4c4);
}
.schedule-row em {
min-width: 0;
font-style: normal;
text-align: right;
white-space: nowrap;
}
.sidebar-posts {