aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-17 10:45:08 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-17 10:45:08 +0200
commit5890893a4c60af290843601252caf890360d29cf (patch)
treec77b41c831521738679eb09d452495e54d365d97 /styles
parentaf58b27c92fea7594f4ec2b2948f48ec333bb0c2 (diff)
timeline labels
Diffstat (limited to 'styles')
-rw-r--r--styles/editor.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/styles/editor.css b/styles/editor.css
index 4b1e006..d1a6256 100644
--- a/styles/editor.css
+++ b/styles/editor.css
@@ -100,6 +100,7 @@
grid-column: 2;
grid-row: 3;
background-color: var(--c100);
+ overflow: hidden;
}
.appGrid .viewer {
@@ -158,6 +159,7 @@
.appGrid .timeline .keyframes {
height: 100%;
+ width: calc(var(--zoom) * var(--total-frames) * 1px);
}
.appGrid .timeline .keyframes .frame {
@@ -223,3 +225,8 @@
.timeline .scrubber .head { fill: var(--blue); }
.timeline .scrubber .needle { background-color: var(--blue); }
+.timeline .labels .label {
+ transform: translate(-50%, -100%);
+ color: var(--c700);
+}
+