aboutsummaryrefslogtreecommitdiff
path: root/static/style.scss
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-08-20 18:20:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-08-20 18:20:00 +0200
commit1273a3624f1b7099cd3bab4b35e66ab9eb427c2a (patch)
treeb2c79c259310515e633c4857b620344c213dddf6 /static/style.scss
parentRefactor read-file to use string ports. (diff)
downloadcalp-1273a3624f1b7099cd3bab4b35e66ab9eb427c2a.tar.gz
calp-1273a3624f1b7099cd3bab4b35e66ab9eb427c2a.tar.xz
Make zero-length events be part of day flow.
Since not all zero-length events are at midnight/doesn't have a time component, they are now placed on the correct position of each day, with a dummy-length of 1 hour.
Diffstat (limited to 'static/style.scss')
-rw-r--r--static/style.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/static/style.scss b/static/style.scss
index 5a006684..a29bb24b 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -469,6 +469,11 @@ along with their colors.
width: calc(100% * var(--editmode));
}
+ &.zero-length {
+ border-radius: 0 1cm 1cm 0;
+ height: calc(100% * 1/24) !important;
+ }
+
&.continuing {
border-bottom: none;
background-image: linear-gradient(to top, #0007 0%,#FFF0 2em);
@@ -593,6 +598,7 @@ along with their colors.
}
}
+/*
.zero-width-events .event {
width: initial;
padding: 0.5em;
@@ -601,6 +607,7 @@ along with their colors.
position: relative;
float: left;
}
+*/
.repeating {