This commit is contained in:
Janus Knudsen 2025-09-09 14:35:21 +02:00
parent 727a6ec53a
commit 72019a3d9a
15 changed files with 1056 additions and 1230 deletions

View file

@ -147,6 +147,30 @@ swp-spinner {
color: inherit;
}
/* Prevent text selection in calendar UI */
swp-calendar-container,
swp-calendar-grid,
swp-day-column,
swp-event,
swp-event-group,
swp-time-axis,
swp-event-title,
swp-event-time {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
/* Enable text selection for events when double-clicked */
swp-event.text-selectable swp-event-title,
swp-event.text-selectable swp-event-time {
user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
/* Focus styles */
:focus {
outline: 2px solid var(--color-primary);