diff options
| author | bobzel <zzzman@gmail.com> | 2020-04-29 11:55:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-29 11:55:38 -0400 |
| commit | a5b7e73784e3f03ca7677f1d1f00b9943b40f0ec (patch) | |
| tree | bd9645f717946e76ae26bd6bc06bd5fbe78620bb /src/client/views/animationtimeline/Keyframe.scss | |
| parent | 6b2896756c55727ed397c223187cb03fe8a51a59 (diff) | |
| parent | f78d614f99fed4555f7a1211e522e34efc19f809 (diff) | |
Merge pull request #355 from browngraphicslab/monika_animation
Monika animation
Diffstat (limited to 'src/client/views/animationtimeline/Keyframe.scss')
| -rw-r--r-- | src/client/views/animationtimeline/Keyframe.scss | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/src/client/views/animationtimeline/Keyframe.scss b/src/client/views/animationtimeline/Keyframe.scss new file mode 100644 index 000000000..84c8de287 --- /dev/null +++ b/src/client/views/animationtimeline/Keyframe.scss @@ -0,0 +1,105 @@ +@import "./../globalCssVariables.scss"; + + +$timelineColor: #9acedf; +$timelineDark: #77a1aa; + +.bar { + height: 100%; + width: 5px; + position: absolute; + + // pointer-events: none; + .menubox { + width: 200px; + height: 200px; + top: 50%; + position: relative; + background-color: $light-color; + + .menutable { + tr:nth-child(odd) { + background-color: $light-color-secondary; + } + } + } + + .leftResize { + left: -10px; + border: 3px solid black; + } + + .rightResize { + right: -10px; + border: 3px solid black; + } + + .keyframe-indicator { + height: 20px; + width: 20px; + top: calc(50% - 10px); + background-color: white; + -ms-transform: rotate(45deg); + -webkit-transform: rotate(45deg); + transform: rotate(45deg); + z-index: 1000; + position: absolute; + } + + .keyframe-information { + display: none; + position: relative; + // z-index: 100000; + // background: $timelineDark; + width: 100px; + // left: -50px; + height: 100px; + // top: 40px; + } + + .keyframeCircle { + left: -10px; + border: 3px solid $timelineDark; + } + + .fadeLeft { + left: 0px; + height: 100%; + position: absolute; + pointer-events: none; + background: linear-gradient(to left, $timelineColor 10%, $light-color); + } + + .fadeRight { + right: 0px; + height: 100%; + position: absolute; + pointer-events: none; + background: linear-gradient(to right, $timelineColor 10%, $light-color); + } + + .divider { + height: 100%; + width: 1px; + position: absolute; + background-color: black; + cursor: col-resize; + pointer-events: none; + } + + .keyframe { + height: 100%; + position: absolute; + } + + .fadeIn-container, + .fadeOut-container, + .body-container { + position: absolute; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + opacity: 0; + } + + +}
\ No newline at end of file |
