mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +00:00
Timeline animation clips (#122)
This is a super initial version of animation clips in timeline. https://github.com/storytold/storyteller-bevy/assets/10376144/b649162b-8758-4662-bfb9-6a492563b9f7 https://github.com/storytold/storyteller-bevy/assets/10376144/a5815685-bf52-4413-8828-d86051bf850a --------- Co-authored-by: Danny McGee <dannymcgee@gmail.com>
This commit is contained in:
@@ -136,3 +136,27 @@
|
||||
background: #0FF; // TODO
|
||||
}
|
||||
}
|
||||
|
||||
.clip {
|
||||
position: absolute;
|
||||
transform: translateX(-4.5px);
|
||||
--clip-name: "";
|
||||
height: 12px;
|
||||
|
||||
&::before {
|
||||
content: var(--clip-name);
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 12px;
|
||||
background: #AAA;
|
||||
color: black;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&.selected::before {
|
||||
background: #0FF; // TODO
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user