refs #6 add a few symbols

merge-requests/1/head
Julien Veyssier 2016-12-08 10:23:36 +01:00
parent 078eece7f0
commit 047cf1b1cd
6 changed files with 32 additions and 125 deletions

View File

@ -605,6 +605,28 @@ input[type=checkbox]
background: url('images/symbols/medical.png') no-repeat right 8px center rgba(240, 240, 240, 0.90); background: url('images/symbols/medical.png') no-repeat right 8px center rgba(240, 240, 240, 0.90);
background-size: 24px 20px; background-size: 24px 20px;
} }
.residence{
background-image: url('images/symbols/residence.png') !important;
background-size: 24px 24px !important;
background-repeat: no-repeat !important;
width: 24px !important;
height: 24px !important;
}
.residence-select{
background: url('images/symbols/residence.png') no-repeat right 8px center rgba(240, 240, 240, 0.90);
background-size: 20px 20px;
}
.drinking-water{
background-image: url('images/symbols/drinking-water.png') !important;
background-size: 24px 24px !important;
background-repeat: no-repeat !important;
width: 24px !important;
height: 24px !important;
}
.drinking-water-select{
background: url('images/symbols/drinking-water.png') no-repeat right 8px center rgba(240, 240, 240, 0.90);
background-size: 20px 20px;
}
.campground{ .campground{
background-image: url('images/symbols/campground.png') !important; background-image: url('images/symbols/campground.png') !important;
background-size: 24px 24px !important; background-size: 24px 24px !important;

View File

@ -1,125 +0,0 @@
html {
min-height: 100%;
position: relative;
}
body {
margin: 0;
width: 100%;
height: 100%;
}
div#map {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
}
div#parameters {
font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
color: black;
font-size: 75%;
background-color: white;
position: absolute;
top: 0px;
right: 0px;
width: 300px;
height: 100%;
padding: 10px;
z-index: 5;
}
#gpxselect {
width:100%;
}
div#logo, div#logo img {
height:100px;
}
div#logo {
background-image: url('images/gpxvcomp.png');
width: 125px;
background-size: 125px 100px;
background-repeat: no-repeat;
margin: auto;
}
h1.sectiontitle{
font-size: 18px;
font-weight: bold;
}
h3.sectiontitle{
font-size: 16px;
font-weight: bold;
}
ul,hr {
margin-top : 3px;
margin-bottom : 3px;
}
h3 {
margin-top : 5px;
margin-bottom : 5px;
}
.uibutton {
font-size: 13px;
height : 28px;
}
#help ul, .trackpairlist{
list-style-type:disc;
}
.activeArea{
position: absolute;
top: 10px;
left: 450px;
right: 10px;
bottom: 10px;
}
#stattable{
word-wrap: break-word;
white-space: normal;
border-radius: 7px;
}
#stattable tr:first-child th:first-child
{
border-top-left-radius: 7px;
}
#stattable tr:first-child th:last-child
{
border-top-right-radius: 7px;
}
#stattable tr:last-child td:first-child
{
border-bottom-left-radius: 7px;
}
#stattable tr:last-child td:last-child
{
border-bottom-right-radius: 7px;
}
#stattable th, #stattable td {
border: 1px solid grey;
max-width: 100px;
}
div#statdiv{
overflow:scroll;
}
#stattable td.normal{
background-color: white;
}
td.selectedColumn{
background-color: #FFE464;
}
#stattable td.statnamecol {
background-color: #E6EEEE;
}
/* adapt right leaflet controls when sidebar pushes them */
@media screen and (max-width: 767px) {
.leaflet-right { right:40px; }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 B

View File

@ -25,6 +25,8 @@ var symbolSelectClasses = {
'Blue Diamond': 'diamond-blue-select', 'Blue Diamond': 'diamond-blue-select',
'Green Diamond': 'diamond-green-select', 'Green Diamond': 'diamond-green-select',
'Red Diamond': 'diamond-red-select', 'Red Diamond': 'diamond-red-select',
'Residence': 'residence-select',
'Drinking Water': 'drinking-water-select',
'Trail Head': 'hike-select', 'Trail Head': 'hike-select',
'Bike Trail': 'bike-trail-select', 'Bike Trail': 'bike-trail-select',
'Campground': 'campground-select', 'Campground': 'campground-select',
@ -91,6 +93,14 @@ var symbolIcons = {
className: 'diamond-red', className: 'diamond-red',
iconAnchor: [9, 9] iconAnchor: [9, 9]
}), }),
'Residence': L.divIcon({
className: 'residence',
iconAnchor: [12, 12]
}),
'Drinking Water': L.divIcon({
className: 'drinking-water',
iconAnchor: [12, 12]
}),
'Trail Head': L.divIcon({ 'Trail Head': L.divIcon({
className: 'hike', className: 'hike',
iconAnchor: [12, 12] iconAnchor: [12, 12]