aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/animationtimeline
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-25 01:03:25 -0500
committerbobzel <zzzman@gmail.com>2025-02-25 01:03:25 -0500
commit515707c4561eb526426b8fa07dd50bd499fb91cc (patch)
treef4cbc69387da19add6dbc88acecbcdbdca575039 /src/client/views/animationtimeline
parent30b07ed24fbe5e6d49741bc63031807408cd4a0c (diff)
added a hideUI option to hide buttons. fixed a mess of runtime warnings mostly related to how scss files can be included in each other
Diffstat (limited to 'src/client/views/animationtimeline')
-rw-r--r--src/client/views/animationtimeline/Region.scss10
-rw-r--r--src/client/views/animationtimeline/Timeline.scss6
-rw-r--r--src/client/views/animationtimeline/TimelineMenu.scss16
-rw-r--r--src/client/views/animationtimeline/TimelineOverview.scss2
-rw-r--r--src/client/views/animationtimeline/Track.scss6
5 files changed, 20 insertions, 20 deletions
diff --git a/src/client/views/animationtimeline/Region.scss b/src/client/views/animationtimeline/Region.scss
index b390ae34e..df82febea 100644
--- a/src/client/views/animationtimeline/Region.scss
+++ b/src/client/views/animationtimeline/Region.scss
@@ -1,4 +1,4 @@
-@import './../global/globalCssVariables.module.scss';
+@use './../global/globalCssVariables.module.scss' as global;
$timelineColor: #9acedf;
$timelineDark: #77a1aa;
@@ -14,11 +14,11 @@ $timelineDark: #77a1aa;
height: 200px;
top: 50%;
position: relative;
- background-color: $white;
+ background-color: global.$white;
.menutable {
tr:nth-child(odd) {
- background-color: $light-gray;
+ background-color: global.$light-gray;
}
}
}
@@ -70,7 +70,7 @@ $timelineDark: #77a1aa;
height: 100%;
position: absolute;
pointer-events: none;
- background: linear-gradient(to left, $timelineColor 10%, $white);
+ background: linear-gradient(to left, $timelineColor 10%, global.$white);
}
.fadeRight {
@@ -78,7 +78,7 @@ $timelineDark: #77a1aa;
height: 100%;
position: absolute;
pointer-events: none;
- background: linear-gradient(to right, $timelineColor 10%, $white);
+ background: linear-gradient(to right, $timelineColor 10%, global.$white);
}
.divider {
diff --git a/src/client/views/animationtimeline/Timeline.scss b/src/client/views/animationtimeline/Timeline.scss
index 35ba0fa7f..e1d3b190c 100644
--- a/src/client/views/animationtimeline/Timeline.scss
+++ b/src/client/views/animationtimeline/Timeline.scss
@@ -1,4 +1,4 @@
-@import './../global/globalCssVariables.module.scss';
+@use './../global/globalCssVariables.module.scss' as global;
$timelineColor: #9acedf;
$timelineDark: #77a1aa;
@@ -159,7 +159,7 @@ $timelineDark: #77a1aa;
width: 100%;
height: 300px;
position: absolute;
- background-color: $light-gray;
+ background-color: global.$light-gray;
border-bottom: 2px solid $timelineDark;
transition: transform 500ms ease;
@@ -247,7 +247,7 @@ $timelineDark: #77a1aa;
top: 0px;
width: 100px;
height: 30%;
- border: 1px solid $dark-gray;
+ border: 1px solid global.$dark-gray;
font-size: 12px;
line-height: 11px;
background-color: $timelineDark;
diff --git a/src/client/views/animationtimeline/TimelineMenu.scss b/src/client/views/animationtimeline/TimelineMenu.scss
index de2042f17..5398a4a97 100644
--- a/src/client/views/animationtimeline/TimelineMenu.scss
+++ b/src/client/views/animationtimeline/TimelineMenu.scss
@@ -1,9 +1,9 @@
-@import './../global/globalCssVariables.module.scss';
+@use './../global/globalCssVariables.module.scss' as global;
.timeline-menu-container {
position: absolute;
display: flex;
- box-shadow: $medium-gray 0.2vw 0.2vw 0.4vw;
+ box-shadow: global.$medium-gray 0.2vw 0.2vw 0.4vw;
flex-direction: column;
background: whitesmoke;
z-index: 10000;
@@ -14,7 +14,7 @@
border: solid #bbbbbbbb 1px;
.timeline-menu-input {
- font: $sans-serif;
+ font: global.$sans-serif;
font-size: 13px;
width: 100%;
text-transform: uppercase;
@@ -33,11 +33,11 @@
border-top-left-radius: 15px;
border-top-right-radius: 15px;
text-transform: uppercase;
- background: $dark-gray;
+ background: global.$dark-gray;
letter-spacing: 2px;
.timeline-menu-header-desc {
- font: $sans-serif;
+ font: global.$sans-serif;
font-size: 13px;
text-align: center;
color: whitesmoke;
@@ -72,15 +72,15 @@
.timeline-menu-item:hover {
border-width: 0.11px;
border-style: none;
- border-color: $medium-gray;
+ border-color: global.$medium-gray;
border-bottom-style: solid;
border-top-style: solid;
- background: $medium-blue;
+ background: global.$medium-blue;
}
.timeline-menu-desc {
padding-left: 10px;
- font: $sans-serif;
+ font: global.$sans-serif;
font-size: 13px;
}
}
diff --git a/src/client/views/animationtimeline/TimelineOverview.scss b/src/client/views/animationtimeline/TimelineOverview.scss
index 2878232e6..8336f2b2f 100644
--- a/src/client/views/animationtimeline/TimelineOverview.scss
+++ b/src/client/views/animationtimeline/TimelineOverview.scss
@@ -1,4 +1,4 @@
-@import './../global/globalCssVariables.module.scss';
+@use './../global/globalCssVariables.module.scss' as global;
$timelineColor: #9acedf;
$timelineDark: #77a1aa;
diff --git a/src/client/views/animationtimeline/Track.scss b/src/client/views/animationtimeline/Track.scss
index f56b2fe5f..7f5e8b8f3 100644
--- a/src/client/views/animationtimeline/Track.scss
+++ b/src/client/views/animationtimeline/Track.scss
@@ -1,12 +1,12 @@
-@import './../global/globalCssVariables.module.scss';
+@use './../global/globalCssVariables.module.scss' as global;
.track-container {
.track {
.inner {
top: 0px;
width: calc(100%);
- background-color: $white;
- border: 1px solid $dark-gray;
+ background-color: global.$white;
+ border: 1px solid global.$dark-gray;
position: relative;
z-index: 100;
}