forked from akariv/speculatron
-
Notifications
You must be signed in to change notification settings - Fork 0
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
16 changed files
with
298 additions
and
62 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
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
7 changes: 2 additions & 5 deletions
7
projects/chronomaps/src/app/chronomap-page/map-selector/map-selector.component.html
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,7 +1,4 @@ | ||
<div class='map'> | ||
<div #mapEl></div> | ||
<div class='container' #mapEl></div> | ||
<div class='crosshair'></div> | ||
</div> | ||
<div class='controls'> | ||
<button (click)='cancel()'>cancel</button> | ||
<button (click)='submit()' [style.color]='chronomap.primaryColor()' [style.border-color]='chronomap.secondaryColor() + "40"'>select</button> | ||
</div> |
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
12 changes: 12 additions & 0 deletions
12
...ects/chronomaps/src/app/chronomap-page/timeline-selector/timeline-selector.component.html
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div class='map'> | ||
<div class='container' #mapEl></div> | ||
</div> | ||
<div class='date-display'> | ||
<div class='date' [style.background-color]='chronomap.primaryColor()'>{{mapSelector.selectedDate}}</div> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="7" height="151" viewBox="0 0 7 151" fill="none"> | ||
<path d="M3.5 150.667C4.97276 150.667 6.16667 149.473 6.16667 148C6.16667 146.527 4.97276 145.333 3.5 145.333C2.02724 145.333 0.833333 146.527 0.833333 148C0.833333 149.473 2.02724 150.667 3.5 150.667ZM4 148L4 147L3 147L3 148L4 148ZM4 145L4 143L3 143L3 145L4 145ZM4 141L4 139L3 139L3 141L4 141ZM4 137L4 135L3 135L3 137L4 137ZM4 133L4 131L3 131L3 133L4 133ZM4 129L4 127L3 127L3 129L4 129ZM4 125L4 123L3 123L3 125L4 125ZM4 121L4 119L3 119L3 121L4 121ZM4 117L4 115L3 115L3 117L4 117ZM4 113L4 111L3 111L3 113L4 113ZM4 109L4 107L3 107L3 109L4 109ZM4 105L4 103L3 103L3 105L4 105ZM4 101L4 99L3 99L3 101L4 101ZM4 97L4 95L3 95L3 97L4 97ZM4 93L4 91L3 91L3 93L4 93ZM4 89L4 87L3 87L3 89L4 89ZM4 85L4 83L3 83L3 85L4 85ZM4 81L4 79L3 79L3 81L4 81ZM4 77L4 75L3 75L3 77L4 77ZM4 73L4 71L3 71L3 73L4 73ZM4 69L4 67L3 67L3 69L4 69ZM4 65L4 63L3 63L3 65L4 65ZM4 61L4 59L3 59L3 61L4 61ZM4 57L4 55L3 55L3 57L4 57ZM4 53L4 51L3 51L3 53L4 53ZM4 49L4 47L3 47L3 49L4 49ZM4 45L4 43L3 43L3 45L4 45ZM4 41L4 39L3 39L3 41L4 41ZM4 37L4 35L3 35L3 37L4 37ZM4.00001 33L4.00001 31L3.00001 31L3.00001 33L4.00001 33ZM4.00001 29L4.00001 27L3.00001 27L3.00001 29L4.00001 29ZM4.00001 25L4.00001 23L3.00001 23L3.00001 25L4.00001 25ZM4.00001 21L4.00001 19L3.00001 19L3.00001 21L4.00001 21ZM4.00001 17L4.00001 15L3.00001 15L3.00001 17L4.00001 17ZM4.00001 13L4.00001 11L3.00001 11L3.00001 13L4.00001 13ZM4.00001 9L4.00001 7L3.00001 7L3.00001 9L4.00001 9ZM4.00001 5L4.00001 3L3.00001 3L3.00001 5L4.00001 5ZM4.00001 1L4.00001 2.18557e-08L3.00001 -2.18557e-08L3.00001 1L4.00001 1Z" | ||
[attr.fill]="chronomap.primaryColor()"/> | ||
</svg> | ||
</div> | ||
<app-time-line | ||
[minDate]='minDate' [maxDate]='maxDate' [chronomap]='chronomap' [date]='date' [includeTime]='includeTime'></app-time-line> |
47 changes: 47 additions & 0 deletions
47
...ects/chronomaps/src/app/chronomap-page/timeline-selector/timeline-selector.component.less
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@import '../../../common.less'; | ||
|
||
:host { | ||
display: flex; | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
flex-flow: column; | ||
align-items: center; | ||
.map { | ||
width: 100%; | ||
height: 100%; | ||
position: relative; | ||
|
||
.container { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} | ||
|
||
app-time-line { | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
|
||
.date-display { | ||
position: absolute; | ||
bottom: 12px; | ||
z-index: 1; | ||
pointer-events: none; | ||
display: flex; | ||
flex-flow: column; | ||
align-items: center; | ||
|
||
.date { | ||
padding: 4px 8px; | ||
border-radius: 4px; | ||
color: white; | ||
.font-manrope; | ||
font-size: 18px; | ||
font-weight: 600; | ||
line-height: 23px; | ||
letter-spacing: 0.18px; | ||
} | ||
} | ||
} |
Oops, something went wrong.