diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-12-27 23:25:42 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-12-27 23:25:42 +0100 |
commit | c98f1dfd02c9b84f52be9b0dcf1194f7cc9b2bdf (patch) | |
tree | 7ae4672bf75d6df3e2cb4ccc9ff0e6932cab03f5 | |
parent | Fix clock-bar. (diff) | |
download | calp-c98f1dfd02c9b84f52be9b0dcf1194f7cc9b2bdf.tar.gz calp-c98f1dfd02c9b84f52be9b0dcf1194f7cc9b2bdf.tar.xz |
CSS Fix gradients for whole day events.
-rw-r--r-- | static/style.css | 36 |
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; } |