Newer
Older
margin-top: 1.875rem;
margin-left: 1.875rem;
.timelineGrid {
display: grid;
grid-template-areas: "switcher weeks" "modules background";
grid-template-rows: auto;
row-gap: 0.625rem;
margin-bottom: 1.25rem;
margin-left: -0.625rem;
grid-template-columns: 16.875rem auto;
scrollbar-width: thin;
height: calc(99vh - 11rem);
scrollbar-color: var(--background-color) var(--background-color);
}
.timelineGrid::-webkit-scrollbar {
width: 0.5rem;
height: 0.5rem;
}
.timelineGrid::-webkit-scrollbar-corner {
background: var(--background-color);
}
.timelineGrid::-webkit-scrollbar-track {
background: var(--background-color);
}
.timelineGrid::-webkit-scrollbar-thumb {
background-color: var(--background-color);
border-radius: 0.5rem;
}
.timelineGrid:hover {
scrollbar-color: var(--scrollbar) var(--background-color);
}
.timelineGrid:hover::-webkit-scrollbar-thumb {
background-color: var(--scrollbar);
.timelineTermSwitcher {
grid-area: switcher;
top: 0;
position: sticky;
z-index: 1;
background: var(--background-color);
padding-right: 1.25rem;
padding-left: 0.625rem;
box-sizing: border-box;
.timelineTermSwitcher > * {
width: 100%;
.timelineWeekRow {
grid-area: weeks;
display: grid;
grid-auto-flow: row;
grid-template-columns: repeat(12, 15rem);
grid-gap: 0.625rem;
.timelineModuleColumn {
grid-area: modules;
display: grid;
grid-gap: 0.625rem;
left: 0;
position: sticky;
padding-right: 1.25rem;
box-sizing: border-box;
padding-left: 0.625rem;
margin-bottom: 0.625rem;
background: var(--background-color);
}
.weekHeading {
height: 4.25rem !important;
}
.timelineWeekBackground {
display: grid;
grid-area: background;
grid-template-columns: repeat(12, 15rem);
grid-template-rows: auto;
grid-gap: 0.625rem;
padding-bottom: 0.625rem;
}
.timelineBackgroundEven {
background-color: var(--checker-even-color);
}
.timelineBackgroundOdd {
background-color: var(--checker-odd-color);
}
.timelineBackgroundFirst {
border-top-left-radius: 0.5rem;
border-top-right-radius: 0.5rem;
}
.timelineBackgroundLast {
border-bottom-left-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;