changing legend position
This commit is contained in:
@@ -109,8 +109,8 @@ oSpot.pageInit = function(asHash)
|
|||||||
'<div class="line blue">Routeburn Track</div>'+
|
'<div class="line blue">Routeburn Track</div>'+
|
||||||
'<div class="line red">Hors rando</div>'+
|
'<div class="line red">Hors rando</div>'+
|
||||||
'</div>',
|
'</div>',
|
||||||
bottom: true,
|
top: '10px',
|
||||||
left: true
|
left: '116px'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -25,11 +25,10 @@
|
|||||||
|
|
||||||
#legend {
|
#legend {
|
||||||
background:white;
|
background:white;
|
||||||
font-family:Arial;
|
font-family:Roboto,Arial,sans-serif;
|
||||||
margin-top:-3em;
|
|
||||||
margin-left:2em;
|
|
||||||
background: rgba(255, 255, 255, 0.5);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
font-family: Arial;
|
border-radius:3px;
|
||||||
|
padding: 1px 0 0 0;
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -38,24 +37,18 @@
|
|||||||
padding-left: 0.5em;
|
padding-left: 0.5em;
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
|
color: #222;
|
||||||
|
|
||||||
&.green {
|
&.green {
|
||||||
color:#00ff78;
|
|
||||||
border-color: #00ff78;
|
border-color: #00ff78;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.blue {
|
&.blue {
|
||||||
color:#0000ff;
|
|
||||||
border-color: #0000ff;
|
border-color: #0000ff;
|
||||||
}
|
}
|
||||||
&.red {
|
&.red {
|
||||||
color:#FF7814;
|
|
||||||
border-color:#FF7814;
|
border-color:#FF7814;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ .line {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user