This commit is contained in:
Janus Knudsen 2025-08-05 16:41:29 +02:00
parent 914239fb70
commit ca09fd13a6
3 changed files with 24 additions and 27 deletions

View file

@ -1,12 +1,6 @@
/* Base CSS - Variables are defined in calendar-base-css.css */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
font-size: 14px;
line-height: 1.5;
color: var(--color-text);
background-color: var(--color-surface);
}
/* Custom elements default display */
swp-calendar,
@ -249,20 +243,7 @@ swp-time-grid::before {
background: var(--color-work-hours);
pointer-events: none;
}
/* Grid lines */
swp-grid-lines {
position: absolute;
inset: 0;
pointer-events: none;
background-image: repeating-linear-gradient(
to bottom,
transparent,
transparent calc(var(--hour-height) / 4 - 1px),
rgba(0, 0, 0, 0.03) calc(var(--hour-height) / 4 - 1px),
rgba(0, 0, 0, 0.03) calc(var(--hour-height) / 4)
);
}
/* Day columns */
swp-day-columns {
@ -272,10 +253,6 @@ swp-day-columns {
grid-template-columns: repeat(7, 1fr);
}
swp-day-column {
position: relative;
border-right: 1px solid var(--color-grid-line);
}
swp-day-column:last-child {
border-right: none;