mirror of
https://github.com/DerTyp7/street-map-typescript.git
synced 2025-10-30 13:17:10 +01:00
added sidebar with route information
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
header{
|
||||
background-color: rgb(37, 37, 37);
|
||||
height: 50px;
|
||||
font-size: 15pt;
|
||||
color:white;
|
||||
font-weight: bold;
|
||||
|
||||
background-color: rgb(37, 37, 37);
|
||||
height: 50px;
|
||||
font-size: 15pt;
|
||||
color:white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
header p{
|
||||
@@ -18,3 +17,42 @@ header p{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.osrm-route-container{
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width:300px;
|
||||
margin-top: 50px;
|
||||
background-color: rgba(27, 27, 27, 0.801);
|
||||
top:0;
|
||||
bottom: 0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.osrm-route-container h4{
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
letter-spacing: 1px;
|
||||
padding-top: 0px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.route-list{
|
||||
width: 100%;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.route-list div{
|
||||
width: 100%;
|
||||
display: block;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.418);
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.route-list div p{
|
||||
display: inline-block;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user