.timelineContainer { margin-top: 1.875rem; margin-left: 1.875rem; margin-right: 1.875rem; } .timelineGrid { display: grid; grid-template-areas: "switcher weeks" "modules background"; grid-template-rows: auto; margin-bottom: 1.25rem; margin-left: -0.625rem; grid-template-columns: 16.875rem auto; overflow: scroll; 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); margin-left: 16.875rem; margin-top: 4.875rem; margin-right: 0.625rem; margin-bottom: 0.625rem; } .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; left: 0; position: sticky; z-index: 3; background: var(--background-color); padding-right: 1.25rem; padding-left: 0.625rem; height: 5.5rem !important; padding-bottom: 0.625rem; } .timelineTermSwitcher > * { width: 100%; } .timelineWeekRow { grid-area: weeks; display: grid; grid-auto-flow: row; grid-gap: 0.625rem; padding-right: 0.625rem; top: 0; position: sticky; background: var(--background-color); padding-bottom: 0.625rem; height: 5.5rem !important; z-index: 2; } .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); padding-top: 0.625rem; z-index: 2; } .weekHeading { height: 4.25rem !important; } .timelineWeekBackground { padding-top: 0.625rem; display: grid; grid-area: background; grid-template-rows: auto; column-gap: 0.625rem; row-gap: 0; margin-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; } .dayIndicatorGrid { grid-area: background; padding-top: 0.625rem; z-index: 1; display: grid; grid-template-rows: auto; } .dayIndicatorColumn { grid-row: 1; grid-column: 9 / 10; margin-right: 0.75rem; margin-bottom: 0.625rem; margin-left: 0.75rem; background-color: var(--day-indicator-column); border: 0.0625rem solid var(--border-color); }