aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-12-27 23:25:42 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-12-27 23:25:42 +0100
commitc98f1dfd02c9b84f52be9b0dcf1194f7cc9b2bdf (patch)
tree7ae4672bf75d6df3e2cb4ccc9ff0e6932cab03f5 /static
parentFix clock-bar. (diff)
downloadcalp-c98f1dfd02c9b84f52be9b0dcf1194f7cc9b2bdf.tar.gz
calp-c98f1dfd02c9b84f52be9b0dcf1194f7cc9b2bdf.tar.xz
CSS Fix gradients for whole day events.
Diffstat (limited to 'static')
-rw-r--r--static/style.css36
1 files changed, 30 insertions, 6 deletions
diff --git a/static/style.css b/static/style.css
index d644306c..c34470ed 100644
--- a/static/style.css
+++ b/static/style.css
@@ -261,25 +261,49 @@ body {
margin: 0 1em;
}
-.event.continuing {
+/* */
+
+.events .event.continuing {
border-bottom: none;
- background-image: linear-gradient(to top, #0007 0%,#FFF0 4em);
+ background-image: linear-gradient(to top, #0007 0%,#FFF0 2em);
}
-.event.continued {
+.events .event.continued {
border-top: none;
- background-image: linear-gradient(to bottom, #FFF7 0%,#FFF0 6em);
+ background-image: linear-gradient(to bottom, #FFF7 0%,#FFF0 3em);
}
-.event.continued.continuing {
- border-top: none;
+.events .event.continued.continuing {
border-top: none;
+ border-bottom: none;
background-image:
linear-gradient(to bottom,
#FFF7 0%, #FFF0 10%,
#FFF0 90%, #0007 100%);
}
+/* */
+
+.wholeday .event.continuing {
+ border-right: none;
+ background-image: linear-gradient(to left, #0007 0%,#FFF0 4em);
+}
+
+.wholeday .event.continued {
+ border-left: none;
+ background-image: linear-gradient(to right, #FFF7 0%,#FFF0 6em);
+}
+
+.wholeday .event.continued.continuing {
+ border-left: none;
+ border-right: none;
+ background-image:
+ linear-gradient(to right,
+ #FFF7 0%, #FFF0 10%,
+ #FFF0 90%, #0007 100%);
+}
+
+
.event.generated {
background-color: #55FF5550;
}