summaryrefslogtreecommitdiff
path: root/frontend/views/graph
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-09 19:28:01 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-09 19:28:01 +0200
commit149a75f80c5fbd09329a2e7f87204e67a2c429df (patch)
treef601ef3e186b04640094fb3ca23ddd4498273025 /frontend/views/graph
parent8a90618f30faa2955c395cc5d6c989259270a95b (diff)
add opacity slider and properly debounce it
Diffstat (limited to 'frontend/views/graph')
-rw-r--r--frontend/views/graph/graph.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/frontend/views/graph/graph.css b/frontend/views/graph/graph.css
index af29e15..c635f5e 100644
--- a/frontend/views/graph/graph.css
+++ b/frontend/views/graph/graph.css
@@ -127,6 +127,23 @@
font-size: smaller;
margin-bottom: 0.25rem;
}
+
+.box .slider {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: space-between;
+}
+.box .slider span {
+ min-width: 5px;
+}
+.box .slider input[type='number'] {
+ width: 3.5rem;
+}
+.box .slider input[type='range'] {
+ width: 6rem;
+}
+
/* Graph handles */
.handle {