aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-03-23 01:15:13 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-03-23 01:15:13 +0100
commitb3c13c023f75a7857143d24eb06b2bd1ed56061d (patch)
treed4fda7da5efee4f22c3aeebcbf8d909edece76a7
parentRenormalize CSS whitespace. (diff)
downloadcalp-b3c13c023f75a7857143d24eb06b2bd1ed56061d.tar.gz
calp-b3c13c023f75a7857143d24eb06b2bd1ed56061d.tar.xz
Minor CSS cleanup.
-rw-r--r--static/style.css56
1 files changed, 9 insertions, 47 deletions
diff --git a/static/style.css b/static/style.css
index c9806068..0a866ae6 100644
--- a/static/style.css
+++ b/static/style.css
@@ -220,25 +220,12 @@ html, body {
height: 100%;
padding: 0;
overflow-x: scroll;
- /* scroll-snap-type: x mandatory; */
}
.events {
position: relative;
- /* width: 100%; */
- /* height: calc(100% - 50px); */
- /* flex-grow: 1; */
- /* since day container no longer exists */
- border: 1px solid gray;
- /* scroll-snap-align: start; */
-}
-
-/* Clockbar is also .events */
-/* .clockbar { */
-/* /\* Removing this draws timestamps on top of calendar instead of */
-/* * besides it *\/ */
-/* width: 2.5em; */
-/* } */
+ border: 1px solid gray;
+}
/*
* This makes the borders of the object be part of the size.
@@ -258,9 +245,8 @@ html, body {
}
.sideclock .clock {
- /* border: none; */
- border-top: 1px dotted gray;
- grid-row: 3;
+ border-top: 1px dotted gray;
+ grid-row: 3;
}
.clocktext {
@@ -269,15 +255,13 @@ html, body {
}
.meta {
- /* height: 50px; */
- width: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
- margin-left: 1em;
- margin-right: 1em;
+ padding-left: 1em;
+ padding-right: 1em;
}
.meta .dayname {
@@ -296,11 +280,6 @@ html, body {
border: 2px solid black;
font-size: 8pt;
-
- /* overflow: hidden; */
-
- /* Setting this makes popups render under */
- /* z-index: 0; */
}
.root footer {
@@ -350,24 +329,16 @@ html, body {
.longevents .event.continuing {
border-right: none;
- /* background-image: linear-gradient(to left, #0007 0%,#FFF0 4em); */
- border-radius: 1em 0 0 1em;
+ border-radius: 1em 0 0 1em;
}
.longevents .event.continued {
border-left: none;
- /* background-image: linear-gradient(to right, #FFF7 0%,#FFF0 6em); */
- border-radius: 0 1em 1em 0;
+ border-radius: 0 1em 1em 0;
}
.longevents .event.continued.continuing {
- border-left: none;
- border-right: none;
- /* background-image: */
- /* linear-gradient(to right, */
- /* #FFF7 0%, #FFF0 10%, */
- /* #FFF0 90%, #0007 100%); */
- border-radius: 0;
+ border-radius: 0;
}
@@ -375,15 +346,6 @@ html, body {
background-color: #55FF5550;
}
-/* .selected { */
-/* width: 100% !important; */
-/* left: 0 !important; */
-/* z-index: 1 !important; */
-
-/* margin-top: 3mm; */
-/* margin-left: 3mm; */
-/* } */
-
.clock-0 { top: calc(100%/24 * 0); }
.clock-2 { top: calc(100%/24 * 2); }
.clock-4 { top: calc(100%/24 * 4); }