feat(calendar): add overlapping layout and event attachments

This commit is contained in:
Rafael Foster
2026-04-29 08:53:07 -03:00
parent 5f6baeab4f
commit d9218a4941
21 changed files with 377 additions and 33 deletions
+42 -2
View File
@@ -386,8 +386,6 @@
.week-event {
position: absolute;
left: 2px;
right: 2px;
border-radius: var(--radius-xs);
padding: var(--space-0h) var(--space-1);
font-size: var(--text-xs);
@@ -419,6 +417,29 @@
opacity: 0.85;
}
.event-attachment-preview {
display: flex;
flex-direction: column;
gap: var(--space-2);
margin-top: var(--space-2);
}
.event-attachment-preview img {
width: 100%;
max-height: 180px;
object-fit: cover;
border-radius: var(--radius-md);
border: 1px solid var(--color-border-subtle);
}
.event-attachment-preview a {
display: inline-flex;
align-items: center;
gap: var(--space-2);
color: var(--color-accent);
word-break: break-word;
}
/* --------------------------------------------------------
* Tagesansicht
* -------------------------------------------------------- */
@@ -763,6 +784,25 @@
border-top: 1px solid var(--color-border);
}
.event-popup__attachment {
margin-top: var(--space-2);
}
.event-popup__attachment--image img {
width: 100%;
max-height: 220px;
object-fit: cover;
border-radius: var(--radius-md);
border: 1px solid var(--color-border-subtle);
}
.event-popup__attachment--file {
display: inline-flex;
align-items: center;
gap: var(--space-2);
color: var(--color-accent);
}
/* --------------------------------------------------------
* Ganztägige Ereignisse (oben in Wochen-/Tagesansicht)
* -------------------------------------------------------- */