aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/Region.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-10-26 23:23:48 -0400
committerbobzel <zzzman@gmail.com>2023-10-26 23:23:48 -0400
commit545508987903be8c2f361bbee8b3beae683c73b5 (patch)
tree6ed7017d4ad905515fc6272b2b21223d376d0649 /src/client/views/animationtimeline/Region.scss
parent51cad21a358e17c1f8e609d1d3f077960922fc38 (diff)
a variety of fixes to the animation timeline to make it make some sense. lots still broken.
Diffstat (limited to 'src/client/views/animationtimeline/Region.scss')
-rw-r--r--src/client/views/animationtimeline/Region.scss106
1 files changed, 106 insertions, 0 deletions
diff --git a/src/client/views/animationtimeline/Region.scss b/src/client/views/animationtimeline/Region.scss
new file mode 100644
index 000000000..f7476ab55
--- /dev/null
+++ b/src/client/views/animationtimeline/Region.scss
@@ -0,0 +1,106 @@
+@import './../global/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: $white;
+
+ .menutable {
+ tr:nth-child(odd) {
+ background-color: $light-gray;
+ }
+ }
+ }
+
+ .leftResize {
+ left: -10px;
+ border: 3px solid black;
+ transform: rotate(45deg) scale(0.25) !important;
+ background-color: black !important;
+ }
+
+ .rightResize {
+ right: -10px;
+ border: 3px solid black;
+ transform: rotate(45deg) scale(0.25) !important;
+ background-color: black !important;
+ }
+
+ .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%, $white);
+ }
+
+ .fadeRight {
+ right: 0px;
+ height: 100%;
+ position: absolute;
+ pointer-events: none;
+ background: linear-gradient(to right, $timelineColor 10%, $white);
+ }
+
+ .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;
+ }
+}