add calendar strip date infos

This commit is contained in:
isUnknown 2024-07-29 17:42:30 +02:00
parent df28408af3
commit d4bd4113f1
3 changed files with 69 additions and 20 deletions

View file

@ -27,6 +27,10 @@
transition: opacity 0.2s ease-in-out;
}
.calendar-strip__day.active {
text-decoration: underline;
}
.calendar-strip__calendar-btn {
border: var(--border);
padding: 0.2rem 0.5rem;
@ -38,15 +42,15 @@
left: 0;
top: 100%;
width: 100%;
height: 0;
max-height: 0;
padding: 0 var(--margin-body);
background-color: #fff;
z-index: -1;
transition: height .2s ease-in-out;
transition: max-height 0.3s ease-in-out;
border-bottom: var(--border);
}
.calendar-strip__date.open {
height: 10rem;
max-height: 20rem;
}
.calendar-strip__sessions {
@ -54,7 +58,11 @@
}
.calendar-strip__session {
display: flex;
display: grid;
grid-template-columns: repeat(5, 1fr);
}
.calendar-strip__session:not(:last-child) {
margin-bottom: 4rem;
}
.calendar-strip__session > div {