diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-16 09:32:02 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-16 09:32:02 +0200 |
commit | 9f5b8d99c34dfea3d1b7321bb1009e5e7e0949e0 (patch) | |
tree | a65a34df64c347e911b1875b89726762f5bb2c3d /styles/editor.css | |
parent | 6c5787b034db7349d096ec1d2406f72b14efb707 (diff) |
loop keyframe + line in frame
Diffstat (limited to 'styles/editor.css')
-rw-r--r-- | styles/editor.css | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/styles/editor.css b/styles/editor.css index 3005be7..62fa103 100644 --- a/styles/editor.css +++ b/styles/editor.css @@ -142,34 +142,42 @@ margin: 4px; } +.appGrid .timeline { + --zoom: 4; +} + .appGrid .timeline .frames { height: 100%; } .appGrid .timeline .frames .frame { background-color: transparent; - margin-top: 28px; height: 100%; - width: 4px; + width: calc(var(--zoom) * 1px); display: inline-block; border-radius: 2px 2px 0 0; position: relative; overflow: visible; } +.appGrid .timeline .frames .frame:nth-child(30n) .line { + background-color: var(--c300); + top: 28px; + width: 2px; + border-radius: 2px 2px 0 0; +} + .appGrid .timeline .frames .frame .timecode { display: none; } .appGrid .timeline .frames .frame .keyframeWrapper { line-height: 0; - top: 16px; + top: 44px; z-index: 999; color: var(--gruble); -} - -.appGrid .timeline .frames .frame:nth-child(30n) { - background-color: var(--c300); + width: 24px; + height: 24px; } .appGrid .timeline .frames .frame:nth-child(30n) .timecode { @@ -177,7 +185,7 @@ font-weight: 500; line-height: 1; display: inline-block; - top: -16px; + top: 12px; } .appGrid .timeline { |