aboutsummaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-04-14 16:40:19 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-04-14 16:40:49 +0200
commit20920524b7bd1650e6ed15e497d7cbbb5db1a4ed (patch)
treedd4c064dab3c0dea7e2303b9fdd5d1986fd70a37 /static/style.css
parentAdd some TODO's. (diff)
downloadcalp-20920524b7bd1650e6ed15e497d7cbbb5db1a4ed.tar.gz
calp-20920524b7bd1650e6ed15e497d7cbbb5db1a4ed.tar.xz
Add UI sliders to tune CSS.
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css30
1 files changed, 29 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css
index 83cd35d5..2bf4d125 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,5 +1,10 @@
html {
height: 100%;
+ /* TODO
+ * get the default values from the code.
+ */
+ --editmode: 1.0;
+ --event-font-size: 8pt;
}
html, body {
@@ -209,6 +214,27 @@ Each event within the eventlist
display: block;
}
+/* Sliders
+----------------------------------------
+ */
+
+.sliders label {
+ padding-left: 1em;
+}
+
+.sliders input[type="range"] {
+ width: 100%;
+ margin: 0;
+}
+
+.sliders .input-group {
+ display: flex;
+}
+
+.sliders .input-group input {
+ min-width: 0;
+}
+
/* Calendar List
----------------------------------------
The list of all the loaded calendars,
@@ -409,7 +435,9 @@ Find color between gray and lightgray
width: 100%;
border: 2px solid black;
- font-size: 8pt;
+ font-size: var(--event-font-size);
+
+ transition: 0.3s;
}
.events .event.continuing {