aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-16 10:05:09 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-16 10:05:09 +0200
commit521671978374cc7ed04fdc55f2bf136c289fd45e (patch)
treec775cb566faa9ff080d69e6b7cc36da194e11288 /styles
parent9f5b8d99c34dfea3d1b7321bb1009e5e7e0949e0 (diff)
added scrubber
Diffstat (limited to 'styles')
-rw-r--r--styles/editor.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/styles/editor.css b/styles/editor.css
index 62fa103..3d84c22 100644
--- a/styles/editor.css
+++ b/styles/editor.css
@@ -194,3 +194,22 @@
white-space: nowrap;
}
+.timeline .scrubber {
+ width: 2px;
+ overflow: visible;
+ filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
+ z-index: 999999999;
+ --frame: 30;
+ left: calc((var(--zoom) * (var(--frame) - 0.5)) * 1px - 1px)
+}
+
+.timeline .frameOverlay {
+ left: 2px;
+ width: calc(var(--zoom) * 1px - 2px);
+ background-color: var(--blue);
+ opacity: .0;
+}
+
+.timeline .scrubber .head { fill: var(--blue); }
+.timeline .scrubber .needle { background-color: var(--blue); }
+