From 9407051f1e1b06aaaf4e60839f2f6cfe9a4934b9 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 1 Dec 2025 14:24:13 +0200 Subject: [PATCH] style: refactor --- .../widgets/collections/calendar/index.css | 56 ++++++++++--------- 1 file changed, 31 insertions(+), 25 deletions(-) diff --git a/apps/client/src/widgets/collections/calendar/index.css b/apps/client/src/widgets/collections/calendar/index.css index cd92d1639..bc64195af 100644 --- a/apps/client/src/widgets/collections/calendar/index.css +++ b/apps/client/src/widgets/collections/calendar/index.css @@ -49,30 +49,6 @@ z-index: 50; } -.calendar-container a.fc-event { - text-decoration: none; -} - -.calendar-container a.fc-event.archived { - opacity: .65; -} - -.calendar-container a.fc-event.archived::after { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: -1; - - --c1: transparent; - --c2: var(--callendar-coll-event-archived-sripe-color); - - background: repeating-linear-gradient(45deg, var(--c1), var(--c1) 8px, - var(--c2) 8px, var(--c2) 16px) !important; -} - .calendar-container .fc-button { padding: 0.2em 0.5em; } @@ -113,6 +89,34 @@ body.desktop:not(.zen) .calendar-view .calendar-header { /* #region Events */ +/* + * week, month, year views + */ + + .calendar-container a.fc-event { + text-decoration: none; +} + +.calendar-container a.fc-event.archived { + opacity: .65; +} + +.calendar-container a.fc-event.archived::after { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: -1; + + --c1: transparent; + --c2: var(--callendar-coll-event-archived-sripe-color); + + background: repeating-linear-gradient(45deg, var(--c1), var(--c1) 8px, + var(--c2) 8px, var(--c2) 16px) !important; +} + .calendar-view a.fc-timegrid-event, .calendar-view a.fc-daygrid-event, .fc-daygrid-dot-event .fc-event-title { @@ -170,7 +174,9 @@ body.desktop:not(.zen) .calendar-view .calendar-header { display: none; } -/* List view */ +/* + * List view + */ .fc-list-table tr.fc-event.archived { opacity: .5;