mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 07:35:19 +00:00
1687bfd6ed
This PR adds support for BVH animation files, with a custom animation player and retargeting solution for our Blender Rigify-based skeletal meshes. --------- Co-authored-by: Brooks Palin <brookspalin710@gmail.com>
71 lines
994 B
SCSS
71 lines
994 B
SCSS
.app-root {
|
|
position: fixed;
|
|
inset: 0;
|
|
}
|
|
|
|
// Layout utilities
|
|
.v-start {
|
|
position: absolute;
|
|
top: 16px;
|
|
}
|
|
.v-after-toolbar {
|
|
position: absolute;
|
|
top: 60px;
|
|
}
|
|
.h-start { left: 16px }
|
|
.h-end { right: 16px }
|
|
.h-center {
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
sts-button.active {
|
|
background: #7A2C34E3;
|
|
color: #FFF;
|
|
}
|
|
|
|
// Hierarchy (TODO: Probably move this)
|
|
.hierarchy {
|
|
overflow: auto;
|
|
|
|
box-sizing: border-box;
|
|
width: 290px;
|
|
max-height: calc(100vh - 32px);
|
|
padding: 10px 15px;
|
|
|
|
background: #0006;
|
|
backdrop-filter: blur(16px);
|
|
border: 8px solid transparent;
|
|
border-radius: 0.5rem;
|
|
|
|
pointer-events: auto;
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
|
|
&-thumb {
|
|
border-radius: 2px;
|
|
background: #FFF2;
|
|
|
|
&:hover {
|
|
background: #FFF3;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.loading {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #222;
|
|
color: #FFF;
|
|
font: {
|
|
family: "Fira Sans", sans-serif;
|
|
weight: 700;
|
|
}
|
|
}
|