forked from chairemobilite/transition
-
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.
fixes chairemobilite#115 Add TextLayer for text on map
- Loading branch information
Showing
29 changed files
with
750 additions
and
105 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
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,55 +1,105 @@ | ||
.apptr__separator-small { | ||
height: 0.5rem; | ||
height: 0.5rem; | ||
} | ||
|
||
.apptr__separator-medium { | ||
height: 1rem; | ||
height: 1rem; | ||
} | ||
|
||
.apptr__separator-large { | ||
height: 2rem; | ||
height: 2rem; | ||
} | ||
|
||
.tr__main-map-context-menu { | ||
z-index:1000; | ||
position: absolute; | ||
background-color: rgba(0,0,0,0.7); | ||
border: 1px solid $border-white; | ||
font-size: $font-size-small; | ||
padding: 0.5rem; | ||
display: none; | ||
margin: 0; | ||
list-style-type: none; | ||
list-style: none; | ||
|
||
ul { | ||
z-index: 1000; | ||
position: absolute; | ||
background-color: rgba(0, 0, 0, 0.7); | ||
border: 1px solid $border-white; | ||
font-size: $font-size-small; | ||
padding: 0.5rem; | ||
display: none; | ||
margin: 0; | ||
} | ||
list-style-type: none; | ||
list-style: none; | ||
|
||
li { | ||
margin-bottom: 0.2rem; | ||
} | ||
ul { | ||
padding: 0.5rem; | ||
margin: 0; | ||
} | ||
|
||
li:hover { | ||
background-color: rgba(0,0,0,1.0); | ||
color: rgba(255,255,255,1.0); | ||
font-weight: 700; | ||
cursor: pointer; | ||
} | ||
li { | ||
margin-bottom: 0.2rem; | ||
} | ||
|
||
li:hover { | ||
background-color: rgba(0, 0, 0, 1.0); | ||
color: rgba(255, 255, 255, 1.0); | ||
font-weight: 700; | ||
cursor: pointer; | ||
} | ||
|
||
} | ||
|
||
/* Mathjax styles */ | ||
.mjx-math, ._latex { | ||
color: rgba(255, 245, 151, 0.9); | ||
font-size: 110%; | ||
.mjx-math, | ||
._latex { | ||
color: rgba(255, 245, 151, 0.9); | ||
font-size: 110%; | ||
} | ||
|
||
.tr__exception { | ||
white-space: pre-wrap; | ||
margin: 1rem; | ||
padding: 1rem; | ||
background-color: rgb(43, 24, 23); | ||
color: rgba(241, 112, 123, 1); | ||
white-space: pre-wrap; | ||
margin: 1rem; | ||
padding: 1rem; | ||
background-color: rgb(43, 24, 23); | ||
color: rgba(241, 112, 123, 1); | ||
} | ||
|
||
.tr__map-button-container { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
margin: 1rem 1rem 0 0; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.tr__map-button { | ||
display: flex; | ||
align-items: right; | ||
justify-content: right; | ||
width: 3rem; | ||
height: 3rem; | ||
background-color: rgba(0,0,0,0.8); | ||
border: 0.15rem solid rgba(255,255,255,0.3); | ||
border-radius: 0.3rem; | ||
margin-bottom: 0.3rem; | ||
cursor: pointer; | ||
|
||
&:hover { | ||
background-color: rgba(0,0,0,1.0); | ||
border: 0.15rem solid rgba(255,255,255,0.7) !important; | ||
} | ||
|
||
&.active { | ||
background-color: $very-dark-blue; | ||
border: 0.15rem solid rgba(255,255,255,0.3); | ||
} | ||
} | ||
|
||
.tr__map-button-icon { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.tr__measure-distance-display { | ||
position: absolute; | ||
bottom: 2rem; | ||
left: 2rem; | ||
background-color: rgba(0, 0, 0, 0.7); | ||
color: rgba(255,255,255,0.5); | ||
padding: 0.5rem 1rem; | ||
border-radius: 0.3rem; | ||
font-size: 1.2rem; | ||
z-index: 1000; | ||
} |
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.