aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline/Region.scss
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-11-02 02:12:19 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-11-02 02:12:19 -0400
commita1d00a36ef1afa97198a825bd25ebb4c5e598848 (patch)
treee0c0454c99938562132794333a22e490e3e37cb9 /src/client/views/animationtimeline/Region.scss
parent78d8261522c0079b0298613a856547a9ac96ef50 (diff)
parent84c15417f2247fc650a9f7b2c959479519bd3ebb (diff)
Merge branch 'master' into sophie-ai-images
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;
+ }
+}