-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix slowzone date parsing in map (#1024)
- Loading branch information
1 parent
01bb429
commit 4332ffe
Showing
10 changed files
with
108 additions
and
110 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
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,16 +1,16 @@ | ||
.slowSegmentLabel { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
height: 100%; | ||
/* This is in weird SVG values btw */ | ||
font-size: 2.5pt; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
height: 100%; | ||
/* This is in weird SVG values btw */ | ||
font-size: 2.5pt; | ||
} | ||
|
||
.slowZoneLabel { | ||
display: flex; | ||
align-items: baseline; | ||
gap: 1.5px; | ||
} | ||
display: flex; | ||
align-items: baseline; | ||
gap: 1.5px; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,77 @@ | ||
.slowZonesTooltip { | ||
display: flex; | ||
align-items: center; | ||
user-select: none; | ||
--tooltip-background: white; | ||
display: flex; | ||
align-items: center; | ||
user-select: none; | ||
--tooltip-background: white; | ||
} | ||
|
||
.reverseVertical { | ||
flex-direction: row; | ||
flex-direction: row-reverse; | ||
flex-direction: row; | ||
flex-direction: row-reverse; | ||
} | ||
|
||
.horizontal { | ||
flex-direction: column-reverse; | ||
align-items: center; | ||
transform: translateY(-5px); | ||
flex-direction: column-reverse; | ||
align-items: center; | ||
transform: translateY(-5px); | ||
} | ||
|
||
.triangle { | ||
width: 0; | ||
height: 0; | ||
z-index: 1; | ||
border-top: 8px solid transparent; | ||
border-bottom: 8px solid transparent; | ||
border-right: 8px solid white; | ||
width: 0; | ||
height: 0; | ||
z-index: 1; | ||
border-top: 8px solid transparent; | ||
border-bottom: 8px solid transparent; | ||
border-right: 8px solid white; | ||
} | ||
|
||
.triangleReverse { | ||
transform: scaleX(-1); | ||
transform: scaleX(-1); | ||
} | ||
|
||
.triangleHorizontal { | ||
width: 0; | ||
height: 0; | ||
z-index: 1; | ||
border-left: 8px solid transparent; | ||
border-right: 8px solid transparent; | ||
border-top: 8px solid white; | ||
width: 0; | ||
height: 0; | ||
z-index: 1; | ||
border-left: 8px solid transparent; | ||
border-right: 8px solid transparent; | ||
border-top: 8px solid white; | ||
} | ||
|
||
.content { | ||
border-radius: 4px; | ||
overflow: hidden; | ||
background: var(--tooltip-background); | ||
border-radius: 4px; | ||
overflow: hidden; | ||
background: var(--tooltip-background); | ||
} | ||
|
||
|
||
.title { | ||
font-weight: 500; | ||
padding: 6px 10px; | ||
background: var(--tooltip-accent-color); | ||
color: white; | ||
font-weight: 500; | ||
padding: 6px 10px; | ||
background: var(--tooltip-accent-color); | ||
color: white; | ||
} | ||
|
||
.body { | ||
display: flex; | ||
flex-direction: column; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.directionTitle { | ||
display: flex; | ||
align-items: center; | ||
gap: 4px; | ||
margin-bottom: 4px; | ||
display: flex; | ||
align-items: center; | ||
gap: 4px; | ||
margin-bottom: 4px; | ||
} | ||
|
||
.speedRestriction { | ||
padding: 6px; | ||
margin: 6px; | ||
margin-top: 0px; | ||
border-radius: 4px; | ||
max-width: 300px; | ||
padding: 6px; | ||
margin: 6px; | ||
margin-top: 0px; | ||
border-radius: 4px; | ||
max-width: 300px; | ||
} | ||
|
||
.speedRestrictionStats { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
display: flex; | ||
flex-direction: column; | ||
} |
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