From 37471b1b5fbfa3379f1d5f3c0323fc3157bf1afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 26 Apr 2020 17:46:05 +0200 Subject: All HTML graphical events now use same render code. --- static/style.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 7b17d1ca..bc22f765 100644 --- a/static/style.css +++ b/static/style.css @@ -308,7 +308,7 @@ along with their colors. overflow-y: auto; } -.inline-event { +.cal-cell .event { font-size: 8pt; border-radius: 5px; padding: 2px; @@ -392,7 +392,7 @@ along with their colors. * This makes the borders of the object be part of the size. * Making placing it on the correct line much simpler. */ -.clock, .event { +.clock, .days .event { position: absolute; box-sizing: border-box; margin: 0; @@ -438,12 +438,18 @@ along with their colors. } .event { + transition: 0.3s; + font-size: var(--event-font-size); +} + +.days .event { + border: 1px solid black; +} + +.events .event { width: 100%; - border: 2px solid black; - font-size: var(--event-font-size); - transition: 0.3s; } .events .event.continuing { -- cgit v1.2.3