Change altitude based on units. Increase width of altitude legend and use an SVG

This commit is contained in:
James Wilson 2017-01-30 11:58:29 -06:00
parent c34b1c38fb
commit 908d794238
8 changed files with 29 additions and 8 deletions

View file

@ -609,18 +609,25 @@ select.error, textarea.error, input.error {
#altitude_chart {
float: right;
width: 502px;
height: 18px;
right: 40px;
bottom: 10px;
width: calc(100% - 5px);
max-width: 800px;
right: 5px;
bottom: 35px;
background-color: transparent !important;
}
#altitude_chart_button {
background-image: url('images/altitude_legend.png');
background-image: url('images/alt_legend_feet.svg');
background-size: cover;
background-color: transparent;
width: 502px;
height: 18px;
width: 100%;
height: 0;
padding: 0;
padding-bottom: calc(100% * 18 / 502);
}
.altitudeMeters {
background-image: url('images/alt_legend_meters.svg') !important;
}
/* Retina 2x images */