#animation-curve-editor {
font-family: acumin-pro-condensed;
.icon {
width: 40px;
height: 40px;
&.babylon-logo {
background-image: url('./assets/babylonLogo.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
}
&.close {
background-image: url('./assets/closeWindowIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.auto-tangent {
background-image: url('./assets/autoTangentIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.break-tangent {
background-image: url('./assets/breakTangentIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.flat-tangent {
background-image: url('./assets/flatTangentIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.frame {
background-image: url('./assets/frameIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.linear-tangent {
background-image: url('./assets/linearTangentIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.unify-tangent {
background-image: url('./assets/unifyTangentIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.add-animation {
background-image: url('./assets/addAnimationIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
cursor: pointer;
}
&.animation-bullet {
background-image: url('./assets/animationBulletIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-delete {
background-image: url('./assets/animationDeleteIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-end {
background-image: url('./assets/animationEndIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-lastkey {
background-image: url('./assets/animationLastKeyIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
&:hover{
background-image: url('./assets/animationLastKeyHoverIcon.svg');
}
}
&.animation-nextkey {
background-image: url('./assets/animationNextKeyIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
&:hover{
background-image: url('./assets/animationNextKeyHoverIcon.svg');
}
}
&.animation-options {
background-image: url('./assets/animationOptionsIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-playfwd {
background-image: url('./assets/animationPlayFwdIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-playrev {
background-image: url('./assets/animationPlayRevIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-start {
background-image: url('./assets/animationStartIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-stop {
background-image: url('./assets/animationStopIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.animation-triangle {
background-image: url('./assets/animationTriangleIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.key-active {
background-image: url('./assets/keyActiveIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.key-inactive {
background-image: url('./assets/keyInactiveIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.key-selected {
background-image: url('./assets/keySelectedIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.loop-active {
background-image: url('./assets/loopActiveIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.loop-inactive {
background-image: url('./assets/loopInactiveIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.move {
background-image: url('./assets/moveIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.new-key {
background-image: url('./assets/newKeyIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.scale {
background-image: url('./assets/scaleIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
&.scrollbar-handle {
background-image: url('./assets/scrollbarHandleIcon.svg');
background-repeat: no-repeat;
background-color: transparent;
background-size: contain;
color: white;
}
}
.notification-area{
position: absolute;
width: auto;
left: 0.53em;
bottom: 60px;
background-color: rgb(199, 50, 40);
padding: 16px;
border-radius: 5px;
color: white;
right: 2em;
z-index: 10;
button{
position: absolute;
top: 3px;
right: 10px;
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
color: #000;
text-shadow: 0 1px 0 #fff;
opacity: .4;
font-size: 1.8em;
}
}
.header{
display: flex;
padding: 9px;
background: #333333;
color: white;
height: 1.3em;
justify-content: space-between;
align-items: center;
padding-left: 12px;
padding-right: 12px;
.title{ text-transform: uppercase; }
.close {
grid-column: 2;
display: grid;
align-items: center;
justify-items: center;
cursor: pointer;
}
}
.actions-wrapper {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
background: #333333;
.close {
position: absolute;
right: 1px;
}
.title-container {
display: flex;
justify-content: stretch;
align-items: center;
color: white;
width: 220px;
.title {
font-size: 15pt;
}
}
.buttons-container{
display: flex;
}
.action-input{
display: flex;
justify-content: center;
flex-direction: row;
align-items: center;
margin-right: 8px;
input {
width: 75px;
height: 24px;
color: white;
font-size: 12px;
background: none;
border: none;
background-color: black;
padding: 6px;
}
}
}
.content{
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-direction: column;
.row {
display: flex;
align-items: stretch;
justify-content: flex-start;
flex-direction: row;
width: 100vw;
height: 84vh;
.timeline{
width: 100vw;
background: #333333;
display: flex;
align-items: center;
justify-content: stretch;
height: 2.5rem;
.display-line {
width: 80vw;
height: 2em;
overflow: hidden;
overflow-x: scroll;
scrollbar-color: cornflowerblue slategrey;
scrollbar-width: thin;
margin-right: 1.3em;
padding-left: 1em;
padding-right: 1em;
&::-webkit-scrollbar{
height: 0.4em;
}
&::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
&::-webkit-scrollbar-thumb {
background-color: cornflowerblue;
outline: 1px solid slategrey;
}
}
.controls {
display: flex;
justify-content: center;
align-items: center;
width: 15em;
.input-frame input {
width: 3em;
}
.button {
margin-left: 0.5em;
margin-right: 0.5em;
}
}
}
}
.animation-list{
padding: 1.5rem;
background: #333333;
color: white;
ul {
list-style:none;
padding-left: 0px;
li.property {
&:before {
content: '';
background: none;
}
}
li {
p {
font-weight: bolder;
font-variant: all-small-caps;
display: inline;
}
cursor: pointer;
&:before {
content: '';
display: inline-block;
height: 0.7em;
width: 0.7em;
background-size: contain;
background-repeat: no-repeat;
margin-right:0.5em;
background-image: url('data:image/svg+xml;utf8,');
}
}
}
li.active {
cursor: pointer;
&:before{
background-image: url('data:image/svg+xml;utf8,');
}
}
.object-tree{
background-color:#111111;
padding: 10px;
margin-top: 19px;
height: 11em;
overflow: scroll;
overflow-x: hidden;
}
.label-input{
display: grid;
height: 54px;
place-items: center stretch;
color:white;
}
}
.sample-chart{
.linear {
.draggable {
cursor: move;
}
}
}
.graph-chart{
flex: 1 1 0%;
overflow-x: scroll;
padding-left: 32px;
overflow-y: scroll;
scroll-behavior: smooth;
background-color: #111111;
height: 100%;
.linear{
overflow: visible;
border: 1px solid lightgrey;
height: 100%;
svg {
overflow: visible;
}
&:focus {
outline-color: transparent;
}
line {
stroke: #cecece;
stroke-width: 0.2;
}
text {
fill: #cecece;
}
.control-point {
display: none;
}
.control-point.active {
display: inline;
}
}
.playhead-wrapper {
position: relative;
left: -13px;
}
.playhead {
width: fit-content;
background-color: #ffc60e;
color: black;
text-align: center;
min-width: 2em;
justify-content: center;
display: flex;
padding: 0.1em;
font-size: 0.75em;
}
.playhead-triangle {
background-color: transparent;
width: 0px;
height: 0px;
border-left: 13.5px solid transparent;
border-right: 13.5px solid transparent;
border-top: 12px solid #ffc60e;
}
.playhead-line {
width: 2px;
height: calc(90vh - 100px);
background-color: rgb(255, 198, 14);
position: absolute;
margin-left: 12.5px;
}
}
}
.buttonLine {
height: 30px;
display: grid;
align-items: center;
justify-items: stretch;
input[type="file"] {
display: none;
}
.file-upload {
background: #222222;
border: 1px solid rgb(51, 122, 183);
margin: 5px 10px 5px 10px;
color:white;
padding: 4px 5px;
opacity: 0.9;
cursor: pointer;
text-align: center;
}
.file-upload:hover {
opacity: 1.0;
}
.file-upload:active {
transform: scale(0.98);
transform-origin: 0.5 0.5;
}
button {
background: #222222;
border: 1px solid rgb(51, 122, 183);
margin: 5px 10px 5px 10px;
color:white;
padding: 4px 5px;
opacity: 0.9;
cursor: pointer;
}
button:hover {
opacity: 1.0;
}
button:active {
background: #282828;
}
button:focus {
border: 1px solid rgb(51, 122, 183);
outline: 0px;
}
}
}