WIP on (no branch)

This commit is contained in:
Janus Knudsen 2025-08-03 23:29:27 +02:00
parent 5a686da7f5
commit 73c290bb95
2 changed files with 4 additions and 3 deletions

View file

@ -32,7 +32,7 @@
/* Grid colors */ /* Grid colors */
--color-grid-line: #e0e0e0; --color-grid-line: #e0e0e0;
--color-grid-line-light: rgba(0, 0, 0, 0.05); --color-grid-line-light: rgba(0, 0, 0, 0.05);
--color-hour-line: #b0b0b0; --color-hour-line: rgba(0, 0, 0, 0.08);
--color-work-hours: rgba(0, 100, 0, 0.06); --color-work-hours: rgba(0, 100, 0, 0.06);
--color-current-time: #ff0000; --color-current-time: #ff0000;

View file

@ -103,7 +103,7 @@ swp-time-axis {
left: 0; left: 0;
z-index: 3; /* Lower than header elements so it scrolls behind them */ z-index: 3; /* Lower than header elements so it scrolls behind them */
width: 60px; width: 60px;
overflow: visible; overflow: hidden;
height: 100%; height: 100%;
} }
@ -207,7 +207,7 @@ swp-hour-marker::after {
left: 100%; left: 100%;
width: 100vw; width: 100vw;
height: 1px; height: 1px;
background: #d0d0d0; background: var(--color-hour-line);
pointer-events: none; pointer-events: none;
} }
@ -297,6 +297,7 @@ swp-time-grid::before {
left: 0; left: 0;
right: 0; right: 0;
background: var(--color-work-hours); background: var(--color-work-hours);
min-width: calc(var(--week-days) * var(--day-column-min-width));
pointer-events: none; pointer-events: none;
} }