-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
131 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 36 additions & 48 deletions
84
apps/client/src/features/viewers/timeline/Timeline.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,62 @@ | ||
@use '../../../theme/viewerDefs' as *; | ||
|
||
$timeline-entry-height: 20px; | ||
$lane-height: 120px; | ||
|
||
.timeline { | ||
flex: 1; | ||
font-weight: 600; | ||
color: $ui-white; | ||
} | ||
|
||
.timelineEvents { | ||
position: relative; | ||
top: 0.5rem; | ||
height: 100%; | ||
} | ||
|
||
.entryColumn { | ||
.column { | ||
display: flex; | ||
flex-direction: column; | ||
position: absolute; | ||
background-color: var(--lighter, $viewer-card-bg-color); | ||
border-bottom: 0.25rem solid var(--color, $ui-white); | ||
border-right: 1px solid $ui-black; | ||
|
||
min-height: 100px; | ||
} | ||
|
||
.entryContent { | ||
padding-top: var(--top, 0); | ||
padding-bottom: 0.5rem; | ||
border-inline: 1px solid $ui-black; | ||
// avoiding content being larger than the view | ||
height: calc(100% - 3rem); | ||
} | ||
|
||
.entryText { | ||
position: relative; | ||
z-index: 2; | ||
color: $ui-white; | ||
padding-inline: 0.5em; | ||
width: fit-content; | ||
white-space: nowrap; | ||
|
||
&.textBg { | ||
background-color: var(--bg, $black-10); | ||
} | ||
.content { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
padding-top: 0.25rem; | ||
padding-inline-start: 0.25rem; | ||
|
||
&.lastElement { | ||
white-space: normal; | ||
} | ||
background-color: var(--lighter, $viewer-card-bg-color); | ||
border-bottom: 2px solid $ui-black; | ||
box-shadow: 0 0.25rem 0 0 var(--color, $ui-white); | ||
} | ||
|
||
.start, | ||
.title { | ||
font-weight: 600; | ||
} | ||
.timeOverview { | ||
padding-top: 0.25rem; | ||
padding-inline-start: 0.25em; | ||
text-transform: capitalize; | ||
white-space: normal; | ||
height: 6rem; | ||
|
||
// for elapsed events, we can hide some stuff | ||
[data-status='finished'] { | ||
color: $gray-500; | ||
.status { | ||
display: none; | ||
&[data-status='done'] { | ||
opacity: $opacity-disabled; | ||
} | ||
} | ||
|
||
[data-status='live'] { | ||
font-weight: 600; | ||
color: $ui-white; | ||
|
||
.status { | ||
color: $active-red; | ||
&[data-status='live'] { | ||
.status { | ||
color: $active-red; | ||
} | ||
} | ||
} | ||
|
||
[data-status='future'] { | ||
font-weight: 600; | ||
color: $gray-300; | ||
|
||
.status { | ||
color: $green-500; | ||
&[data-status='future'] { | ||
.status { | ||
color: $green-500; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.