aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline
diff options
context:
space:
mode:
authorAshley Cai <ashley.lcai@gmail.com>2021-07-10 00:17:09 -0700
committerAshley Cai <ashley.lcai@gmail.com>2021-07-10 00:17:09 -0700
commit4fe24111c6eafc58927fcca9d8c46a5b92cc4078 (patch)
tree83d5b2b368ac58d1bca7a0bce81d538fe481dba6 /src/client/views/animationtimeline
parent4c1fc6bcfdf603bb8c620f9288da09ed69587bfb (diff)
Standardizing Colors, changing global CSS variables
Diffstat (limited to 'src/client/views/animationtimeline')
-rw-r--r--src/client/views/animationtimeline/Keyframe.scss10
-rw-r--r--src/client/views/animationtimeline/Keyframe.tsx2
-rw-r--r--src/client/views/animationtimeline/Timeline.scss4
-rw-r--r--src/client/views/animationtimeline/TimelineMenu.scss6
-rw-r--r--src/client/views/animationtimeline/TimelineOverview.scss2
-rw-r--r--src/client/views/animationtimeline/Track.scss4
6 files changed, 14 insertions, 14 deletions
diff --git a/src/client/views/animationtimeline/Keyframe.scss b/src/client/views/animationtimeline/Keyframe.scss
index 84c8de287..38eb103c6 100644
--- a/src/client/views/animationtimeline/Keyframe.scss
+++ b/src/client/views/animationtimeline/Keyframe.scss
@@ -1,4 +1,4 @@
-@import "./../globalCssVariables.scss";
+@import "./../global/globalCssVariables.scss";
$timelineColor: #9acedf;
@@ -15,11 +15,11 @@ $timelineDark: #77a1aa;
height: 200px;
top: 50%;
position: relative;
- background-color: $light-color;
+ background-color: $white;
.menutable {
tr:nth-child(odd) {
- background-color: $light-color-secondary;
+ background-color: $light-gray;
}
}
}
@@ -67,7 +67,7 @@ $timelineDark: #77a1aa;
height: 100%;
position: absolute;
pointer-events: none;
- background: linear-gradient(to left, $timelineColor 10%, $light-color);
+ background: linear-gradient(to left, $timelineColor 10%, $white);
}
.fadeRight {
@@ -75,7 +75,7 @@ $timelineDark: #77a1aa;
height: 100%;
position: absolute;
pointer-events: none;
- background: linear-gradient(to right, $timelineColor 10%, $light-color);
+ background: linear-gradient(to right, $timelineColor 10%, $white);
}
.divider {
diff --git a/src/client/views/animationtimeline/Keyframe.tsx b/src/client/views/animationtimeline/Keyframe.tsx
index e84022366..82b0218bf 100644
--- a/src/client/views/animationtimeline/Keyframe.tsx
+++ b/src/client/views/animationtimeline/Keyframe.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import "./Keyframe.scss";
import "./Timeline.scss";
-import "../globalCssVariables.scss";
+import "../global/globalCssVariables.scss";
import { observer } from "mobx-react";
import { observable, reaction, action, IReactionDisposer, observe, computed, runInAction, trace } from "mobx";
import { Doc, DocListCast, DocListCastAsync, Opt } from "../../../fields/Doc";
diff --git a/src/client/views/animationtimeline/Timeline.scss b/src/client/views/animationtimeline/Timeline.scss
index f90249771..d82eb85bf 100644
--- a/src/client/views/animationtimeline/Timeline.scss
+++ b/src/client/views/animationtimeline/Timeline.scss
@@ -1,4 +1,4 @@
-@import "./../globalCssVariables.scss";
+@import "./../global/globalCssVariables.scss";
$timelineColor: #9acedf;
$timelineDark: #77a1aa;
@@ -161,7 +161,7 @@ $timelineDark: #77a1aa;
width: 100%;
height: 300px;
position: absolute;
- background-color: $light-color-secondary;
+ background-color: $light-gray;
border-bottom: 2px solid $timelineDark;
transition: transform 500ms ease;
diff --git a/src/client/views/animationtimeline/TimelineMenu.scss b/src/client/views/animationtimeline/TimelineMenu.scss
index 7ee0a43d5..935f04aba 100644
--- a/src/client/views/animationtimeline/TimelineMenu.scss
+++ b/src/client/views/animationtimeline/TimelineMenu.scss
@@ -1,10 +1,10 @@
-@import "./../globalCssVariables.scss";
+@import "./../global/globalCssVariables.scss";
.timeline-menu-container{
position: absolute;
display: flex;
- box-shadow: $intermediate-color 0.2vw 0.2vw 0.4vw;
+ box-shadow: $medium-gray 0.2vw 0.2vw 0.4vw;
flex-direction: column;
background: whitesmoke;
z-index: 10000;
@@ -79,7 +79,7 @@
.timeline-menu-item:hover {
border-width: .11px;
border-style: none;
- border-color: $intermediate-color;
+ border-color: $medium-gray;
border-bottom-style: solid;
border-top-style: solid;
background: $darker-alt-accent;
diff --git a/src/client/views/animationtimeline/TimelineOverview.scss b/src/client/views/animationtimeline/TimelineOverview.scss
index 283163ea7..c8d96c399 100644
--- a/src/client/views/animationtimeline/TimelineOverview.scss
+++ b/src/client/views/animationtimeline/TimelineOverview.scss
@@ -1,4 +1,4 @@
-@import "./../globalCssVariables.scss";
+@import "./../global/globalCssVariables.scss";
$timelineColor: #9acedf;
$timelineDark: #77a1aa;
diff --git a/src/client/views/animationtimeline/Track.scss b/src/client/views/animationtimeline/Track.scss
index aec587a79..6d6d1620f 100644
--- a/src/client/views/animationtimeline/Track.scss
+++ b/src/client/views/animationtimeline/Track.scss
@@ -1,4 +1,4 @@
-@import "./../globalCssVariables.scss";
+@import "./../global/globalCssVariables.scss";
.track-container {
@@ -6,7 +6,7 @@
.inner {
top: 0px;
width: calc(100%);
- background-color: $light-color;
+ background-color: $white;
border: 1px solid $dark-color;
position: relative;
z-index: 100;