2024-07-24 09:43:31 +02:00
|
|
|
.calendar-strip {
|
2024-07-31 08:50:49 +02:00
|
|
|
--padding-vertical: calc(var(--space-m) / 2);
|
2024-07-24 18:19:25 +02:00
|
|
|
position: relative;
|
2024-07-24 09:43:31 +02:00
|
|
|
background-color: var(--color-yellow);
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2024-09-12 13:05:44 +02:00
|
|
|
z-index: 4;
|
2024-07-24 09:43:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-strip__selector {
|
|
|
|
|
flex-shrink: 0;
|
2024-07-24 15:56:28 +02:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
width: 10rem;
|
2024-07-24 09:43:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-strip__days {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-24 18:19:25 +02:00
|
|
|
.calendar-strip__day {
|
2024-08-28 19:11:58 +02:00
|
|
|
font-size: var(--font-size-s);
|
2024-07-24 18:19:25 +02:00
|
|
|
transition: opacity 0.2s ease-in-out;
|
2024-07-24 18:01:01 +02:00
|
|
|
}
|
|
|
|
|
|
2024-08-28 19:11:58 +02:00
|
|
|
.calendar-strip__day button {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
.calendar-strip__day button.today {
|
|
|
|
|
color: var(--color-salmon);
|
|
|
|
|
opacity: 1 !important;
|
|
|
|
|
}
|
|
|
|
|
.calendar-strip__day button span {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
.calendar-strip__day span:nth-child(1) {
|
|
|
|
|
margin-bottom: 0.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-12 13:05:44 +02:00
|
|
|
.calendar-strip__day.active span:nth-child(3) {
|
2024-07-29 17:42:30 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-24 09:43:31 +02:00
|
|
|
.calendar-strip__calendar-btn {
|
|
|
|
|
border: var(--border);
|
|
|
|
|
padding: 0.2rem 0.5rem;
|
|
|
|
|
}
|
2024-07-24 18:19:25 +02:00
|
|
|
|
|
|
|
|
.calendar-strip__date {
|
|
|
|
|
position: absolute;
|
2024-07-31 09:20:47 +02:00
|
|
|
box-sizing: border-box;
|
2024-07-26 10:33:31 +02:00
|
|
|
overflow: hidden;
|
2024-07-24 18:19:25 +02:00
|
|
|
left: 0;
|
|
|
|
|
top: 100%;
|
|
|
|
|
width: 100%;
|
2024-07-29 17:42:30 +02:00
|
|
|
max-height: 0;
|
2024-07-26 10:33:31 +02:00
|
|
|
background-color: #fff;
|
2024-07-30 16:31:55 +02:00
|
|
|
z-index: 0;
|
2024-09-12 13:11:54 +02:00
|
|
|
transition: max-height 0.5s ease-in-out;
|
2024-07-26 10:33:31 +02:00
|
|
|
border-bottom: var(--border);
|
|
|
|
|
}
|
|
|
|
|
.calendar-strip__date.open {
|
2024-09-12 13:11:54 +02:00
|
|
|
max-height: 50rem;
|
2024-07-26 10:33:31 +02:00
|
|
|
}
|
2024-09-10 15:23:24 +02:00
|
|
|
|
2024-09-12 13:05:44 +02:00
|
|
|
.calendar-strip .session {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr 0.5fr 1.5fr 1.5fr;
|
|
|
|
|
padding: var(--padding-vertical) var(--space-m);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-strip .session__event-link {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-10 15:23:24 +02:00
|
|
|
@media screen and (max-width: 800px) {
|
|
|
|
|
.calendar-strip {
|
|
|
|
|
margin-top: 2rem;
|
|
|
|
|
border-top: var(--border);
|
|
|
|
|
}
|
2024-09-11 14:36:08 +02:00
|
|
|
|
|
|
|
|
.calendar-strip__selector {
|
|
|
|
|
width: 7rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-strip__calendar-btn {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-strip .prev-month,
|
|
|
|
|
.calendar-strip .next-month {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2024-09-10 15:23:24 +02:00
|
|
|
}
|