diff options
Diffstat (limited to '')
-rw-r--r-- | module/output/html.scm | 8 | ||||
-rw-r--r-- | static/style.css | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index 2877a399..016bd45e 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -206,7 +206,13 @@ (class "hidelink")) (div (@ (class "event CAL_" ,(html-attr (attr (parent ev) 'NAME)) ,(when (and (attr ev 'PARTSTAT) (string= "TENTATIVE" (attr ev 'PARTSTAT))) - " tentative")) + " tentative") + ,(when (date/-time< (attr ev 'DTSTART) start-date) + " continued") + ,(when (date/-time< (date+ end-date (date day: 1)) (attr ev 'DTEND)) + " continuing" + ) + ) (style ,style)) (div (@ (class "event-inner")) (div (@ (class "popup")) diff --git a/static/style.css b/static/style.css index 5ff30e3f..44322d63 100644 --- a/static/style.css +++ b/static/style.css @@ -343,17 +343,17 @@ html, body { /* */ -.wholeday .event.continuing { +.longevents .event.continuing { border-right: none; background-image: linear-gradient(to left, #0007 0%,#FFF0 4em); } -.wholeday .event.continued { +.longevents .event.continued { border-left: none; background-image: linear-gradient(to right, #FFF7 0%,#FFF0 6em); } -.wholeday .event.continued.continuing { +.longevents .event.continued.continuing { border-left: none; border-right: none; background-image: |