aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-17 16:04:05 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-17 16:04:05 +0200
commit147e675a126dd9f4f29236b5416da4e9f6402299 (patch)
tree5d4863f224b3fb6f03817ad03c0230e341cd4d27 /static
parentFix date output on long events. (diff)
downloadcalp-147e675a126dd9f4f29236b5416da4e9f6402299.tar.gz
calp-147e675a126dd9f4f29236b5416da4e9f6402299.tar.xz
Add TRANSPARENT support.
Diffstat (limited to 'static')
-rw-r--r--static/style.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/static/style.scss b/static/style.scss
index 3515dd1e..2ed67236 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -496,10 +496,24 @@ along with their colors.
background-color: var(--color);
color: var(--complement);
+ /* Event is not confirmed to happen */
&.tentative {
border: 3px dashed black;
}
+ /* Event duration is not "busy" time */
+ &.transparent {
+ background-image: linear-gradient(45deg,
+ #EE617DFF 25%,
+ #00000000 25%,
+ #00000000 50%,
+ #EE617DFF 50%,
+ #EE617DFF 75%,
+ #00000000 75%,
+ #00000000 100%);
+ background-size: 56px 56px;
+ }
+
&.generated {
opacity: 40%;
transition: none;