toodego: copy over map marker images and style

This commit is contained in:
Frédéric Péters 2018-06-27 13:39:55 +02:00
parent 8fd782dabd
commit b455532b6d
12 changed files with 82 additions and 1 deletions

View File

@ -11,11 +11,14 @@ static/includes/_data_uris.scss: $(wildcard static/includes/img/*)
static/grandlyon-gnm/_data_uris.scss: $(wildcard static/grandlyon-gnm/img/*)
python make_data_uris.py static/grandlyon-gnm/
static/toodego/_data_uris.scss: $(wildcard static/toodego/img/*)
python make_data_uris.py static/toodego/
THEMEFILES=$(shell python get_themes.py)
%.css: export LC_ALL=C.UTF-8
.SECONDEXPANSION:
%.css: %.scss $(wildcard static/includes/*.scss) static/includes/_data_uris.scss static/grandlyon-gnm/_data_uris.scss $$(wildcard $$(@D)/*.scss)
%.css: %.scss $(wildcard static/includes/*.scss) static/includes/_data_uris.scss static/grandlyon-gnm/_data_uris.scss static/toodego/_data_uris.scss $$(wildcard $$(@D)/*.scss)
sass $< $@
css: $(THEMEFILES)

68
static/toodego/_maps.scss Normal file
View File

@ -0,0 +1,68 @@
@import 'data_uris';
@keyframes marker_selection_animation {
0% { font-size: 100%; }
50% { font-size: 110%; }
100% { font-size: 100%; }
}
.leaflet-marker-icon.loading {
animation-name: marker_selection_animation;
animation-duration: 400ms;
animation-iteration-count: 10;
animation-timing-function: ease;
}
div.leaflet-div-icon span.layer-aire-de-covoiturage,
div.leaflet-div-icon span.layer-bibliotheque,
div.leaflet-div-icon span.layer-decheterie,
div.leaflet-div-icon span.layer-mairie,
div.leaflet-div-icon span.layer-mdr,
div.leaflet-div-icon span.layer-piscine,
div.leaflet-div-icon span.layer-taxi,
div.leaflet-div-icon span.layer-silo-a-verre,
div.leaflet-div-icon span.layer-velov {
border: 0;
box-shadow: none;
transform: none;
border-radius: 0;
background-color: transparent !important;
background-size: auto 2.3em;
background: transparent top left no-repeat;
}
div.leaflet-div-icon span.layer-aire-de-covoiturage {
background-image: url($data_uri_ic_Aire_covoit);
}
div.leaflet-div-icon span.layer-bibliotheque {
background-image: url($data_uri_ic_Bibliotheque);
}
div.leaflet-div-icon span.layer-decheterie {
background-image: url($data_uri_ic_Decheterie);
}
div.leaflet-div-icon span.layer-mairie {
background-image: url($data_uri_ic_Mairie);
}
div.leaflet-div-icon span.layer-mdr {
background-image: url($data_uri_ic_MDM);
}
div.leaflet-div-icon span.layer-piscine {
background-image: url($data_uri_ic_Piscine);
}
div.leaflet-div-icon span.layer-taxi {
background-image: url($data_uri_ic_Taxis);
}
div.leaflet-div-icon span.layer-velov {
background-image: url($data_uri_ic_Velo);
}
div.leaflet-div-icon span.layer-silo-a-verre {
background-image: url($data_uri_ic_Silos_verre);
}

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 31 43"><defs><style>.cls-1{fill:#1d50b7;}.cls-2{fill:#fff;}</style><symbol id="Nouveau_symbole_18" data-name="Nouveau symbole 18" viewBox="0 0 30.35 41.28"><path class="cls-1" d="M15.18,0A15.18,15.18,0,0,0,0,15.17a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86a15.91,15.91,0,0,0,3.14-9.25A15.18,15.18,0,0,0,15.18,0Z"/><path class="cls-2" d="M24.65,15.17A9.47,9.47,0,1,1,15.18,5.7,9.46,9.46,0,0,1,24.65,15.17Z"/><circle class="cls-1" cx="12.42" cy="9.45" r="1.93"/><path class="cls-1" d="M15.29,15.36H9.54A.55.55,0,0,1,9,14.72l.55-2.42a.58.58,0,0,1,.58-.43h4.62a.58.58,0,0,1,.58.42l.58,2.42A.55.55,0,0,1,15.29,15.36Z"/><path class="cls-1" d="M20.68,16.32H14.94a.55.55,0,0,1-.58-.64l.55-2.42a.58.58,0,0,1,.58-.43H20.1a.58.58,0,0,1,.58.42l.58,2.42A.55.55,0,0,1,20.68,16.32Z"/><circle class="cls-1" cx="17.81" cy="10.41" r="1.93"/><path class="cls-2" d="M17.81,14.32a2,2,0,0,1,2,2h.63a2.63,2.63,0,0,0-5.26,0h.63A2,2,0,0,1,17.81,14.32Z"/><path class="cls-1" d="M13.37,19.64h1.41v1H13.37v1.59H12.3V20.66H10.88v-1H12.3V18.12h1.07Z"/><path class="cls-1" d="M19.26,22.83h-3.9v-.77l1.84-2a4.52,4.52,0,0,0,.56-.72,1.16,1.16,0,0,0,.18-.59.87.87,0,0,0-.19-.6A.69.69,0,0,0,17.2,18a.75.75,0,0,0-.6.26,1,1,0,0,0-.22.69H15.25a1.87,1.87,0,0,1,.25-.95,1.75,1.75,0,0,1,.7-.67,2.13,2.13,0,0,1,1-.24,2,2,0,0,1,1.37.42,1.49,1.49,0,0,1,.49,1.19,1.92,1.92,0,0,1-.22.86,4.76,4.76,0,0,1-.75,1l-1.29,1.36h2.45Z"/></symbol></defs><title>ic_Aire_covoit</title><use id="Nouveau_symbole_18-3" data-name="Nouveau symbole 18" width="30.35" height="41.28" transform="translate(0.54 1.06)" xlink:href="#Nouveau_symbole_18"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 31 43"><defs><style>.cls-1{fill:#f18815;}.cls-2{fill:#fff;}</style><symbol id="Nouveau_symbole_15" data-name="Nouveau symbole 15" viewBox="0 0 30.35 41.28"><path class="cls-1" d="M15.18,0A15.18,15.18,0,0,0,0,15.17a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86a15.91,15.91,0,0,0,3.14-9.25A15.18,15.18,0,0,0,15.18,0Z"/><path class="cls-2" d="M24.65,15.17A9.47,9.47,0,1,1,15.18,5.7,9.46,9.46,0,0,1,24.65,15.17Z"/><path class="cls-1" d="M14.45,12.68a9.85,9.85,0,0,0-5.76-1.86V19.1A9.85,9.85,0,0,1,14.45,21Z"/><path class="cls-1" d="M15.95,12.68V21a9.85,9.85,0,0,1,5.76-1.86V10.82A9.85,9.85,0,0,0,15.95,12.68Z"/></symbol></defs><title>ic_Bibliotheque</title><use id="Nouveau_symbole_15-3" data-name="Nouveau symbole 15" width="30.35" height="41.28" transform="translate(0.32 0.86)" xlink:href="#Nouveau_symbole_15"/></svg>

After

Width:  |  Height:  |  Size: 946 B

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 31 43"><defs><style>.cls-1{fill:#009245;}.cls-2{fill:#fff;}</style><symbol id="Nouveau_symbole_16" data-name="Nouveau symbole 16" viewBox="0 0 30.35 41.28"><path class="cls-1" d="M15.18,0A15.18,15.18,0,0,0,0,15.17a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86a15.91,15.91,0,0,0,3.14-9.25A15.18,15.18,0,0,0,15.18,0Z"/><path class="cls-2" d="M24.65,15.17A9.47,9.47,0,1,1,15.18,5.7,9.46,9.46,0,0,1,24.65,15.17Z"/><path class="cls-1" d="M12.67,21.5h4.86a1.22,1.22,0,0,0,1.21-1.21V13.17H11.46v7.12A1.22,1.22,0,0,0,12.67,21.5Zm7-9.79-1.9-.7-.33-.86-2.85-1-.81.44-1.94-.71-.36,1,7.83,2.87Z"/></symbol></defs><title>ic_Déchetterie</title><use id="Nouveau_symbole_16-3" data-name="Nouveau symbole 16" width="30.35" height="41.28" transform="translate(0.21 1.06)" xlink:href="#Nouveau_symbole_16"/></svg>

After

Width:  |  Height:  |  Size: 924 B

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 43"><defs><style>.cls-1{fill:#631fb2;}.cls-2{fill:#fff;}</style></defs><title>ic_MDM</title><path class="cls-1" d="M15.72.86A15.18,15.18,0,0,0,.54,16a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86A15.91,15.91,0,0,0,30.89,16,15.18,15.18,0,0,0,15.72.86Z"/><path class="cls-2" d="M25.19,16a9.47,9.47,0,1,1-9.47-9.47A9.46,9.46,0,0,1,25.19,16Z"/><polygon class="cls-1" points="20.39 14.18 20.39 11.04 18.45 11.04 18.45 12.49 15.75 10.07 15.71 10.07 9.1 15.87 11.04 15.87 11.04 21.99 15.74 21.99 20.39 21.99 20.39 15.87 22.33 15.87 20.39 14.18"/></svg>

After

Width:  |  Height:  |  Size: 634 B

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 31 43"><defs><style>.cls-1{fill:#631fb2;}.cls-2{fill:#fff;}</style><symbol id="Nouveau_symbole_17" data-name="Nouveau symbole 17" viewBox="0 0 30.35 41.28"><path class="cls-1" d="M15.18,0A15.18,15.18,0,0,0,0,15.17a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86a15.91,15.91,0,0,0,3.14-9.25A15.18,15.18,0,0,0,15.18,0Z"/><path class="cls-2" d="M24.65,15.17A9.47,9.47,0,1,1,15.18,5.7,9.46,9.46,0,0,1,24.65,15.17Z"/><polygon class="cls-1" points="10.59 13.98 10.59 20.98 13.59 20.98 13.59 17.64 16.76 17.64 16.76 20.98 19.76 20.98 19.76 13.98 15.18 11.7 10.59 13.98"/><path class="cls-1" d="M15.18,11.28v-2A2.31,2.31,0,0,1,16.3,9c.71,0,1.11.44,1.72.44a2.54,2.54,0,0,0,1-.18v2a2.21,2.21,0,0,1-1,.26c-.6,0-1-.51-1.7-.51A2.46,2.46,0,0,0,15.18,11.28Z"/></symbol></defs><title>ic_Mairie</title><use id="Nouveau_symbole_17-3" data-name="Nouveau symbole 17" width="30.35" height="41.28" transform="translate(0.54 1.06)" xlink:href="#Nouveau_symbole_17"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 30.89 43"><defs><style>.cls-1{fill:#36c5f3;}.cls-2{fill:#fff;}</style><symbol id="Nouveau_symbole_3" data-name="Nouveau symbole 3" viewBox="0 0 30.35 41.28"><path class="cls-1" d="M15.18,0A15.18,15.18,0,0,0,0,15.17a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86a15.91,15.91,0,0,0,3.14-9.25A15.18,15.18,0,0,0,15.18,0Z"/><path class="cls-2" d="M24.65,15.17A9.47,9.47,0,1,1,15.18,5.7,9.46,9.46,0,0,1,24.65,15.17Z"/><path class="cls-1" d="M21.25,20.64a2.32,2.32,0,0,1-1.32-.39,1.15,1.15,0,0,0-.7-.22,1.1,1.1,0,0,0-.7.22,2.45,2.45,0,0,1-2.65,0,1.15,1.15,0,0,0-.7-.22,1.1,1.1,0,0,0-.7.22,2.36,2.36,0,0,1-1.33.39,2.32,2.32,0,0,1-1.33-.39,1.23,1.23,0,0,0-1.4,0,2.36,2.36,0,0,1-1.33.39V19.42a1.08,1.08,0,0,0,.7-.22,2.37,2.37,0,0,1,1.33-.39,2.32,2.32,0,0,1,1.33.39,1.23,1.23,0,0,0,1.4,0,2.36,2.36,0,0,1,1.33-.39,2.32,2.32,0,0,1,1.33.39,1.14,1.14,0,0,0,.7.22,1.1,1.1,0,0,0,.7-.22,2.45,2.45,0,0,1,2.65,0,1.09,1.09,0,0,0,.7.22Zm0-2.74a2.32,2.32,0,0,1-1.32-.39,1.15,1.15,0,0,0-.7-.22,1.09,1.09,0,0,0-.7.22,2.45,2.45,0,0,1-2.65,0,1.15,1.15,0,0,0-.7-.22,1.09,1.09,0,0,0-.7.22,2.45,2.45,0,0,1-2.65,0,1.14,1.14,0,0,0-.7-.22,1.11,1.11,0,0,0-.7.22,2.4,2.4,0,0,1-1.34.39V16.69a1.09,1.09,0,0,0,.7-.22,2.45,2.45,0,0,1,2.65,0,1.15,1.15,0,0,0,.7.22,1.1,1.1,0,0,0,.7-.22,2.45,2.45,0,0,1,2.65,0,1.14,1.14,0,0,0,.7.22,1.12,1.12,0,0,0,.7-.22,2.45,2.45,0,0,1,2.65,0,1.15,1.15,0,0,0,.7.22V17.9Zm-8.1-2.74a1.09,1.09,0,0,0,.7-.22,2.36,2.36,0,0,1,1.33-.39,2.32,2.32,0,0,1,1.33.39,1.15,1.15,0,0,0,.7.22,1.11,1.11,0,0,0,.7-.22l.25-.14-3.9-3.9A4,4,0,0,0,10.92,9.7v1.52a3,3,0,0,1,2.43.91l.61.61-2,2a3.23,3.23,0,0,1,.47.24A1.09,1.09,0,0,0,13.15,15.17Z"/><circle class="cls-1" cx="17.91" cy="11.22" r="1.52"/></symbol></defs><title>ic_Piscine</title><use id="Nouveau_symbole_3-3" data-name="Nouveau symbole 3" width="30.35" height="41.28" transform="translate(0.27 0.44)" xlink:href="#Nouveau_symbole_3"/></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30.83 43"><defs><style>.cls-1{fill:#009245;}.cls-2{fill:#fff;}</style></defs><title>ic_Silos_verre</title><path class="cls-1" d="M15.41.86A15.18,15.18,0,0,0,.24,16a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86A15.91,15.91,0,0,0,30.59,16,15.18,15.18,0,0,0,15.41.86Z"/><path class="cls-2" d="M24.89,16a9.47,9.47,0,1,1-9.47-9.47A9.46,9.46,0,0,1,24.89,16Z"/><polygon class="cls-1" points="15.4 11.78 14.8 11.08 11.76 11.07 11.15 11.77 9.09 11.76 9.09 12.8 17.42 12.83 17.42 11.78 15.4 11.78"/><path class="cls-1" d="M14.82,21.54V17.9a4.74,4.74,0,0,1,.52-1.77,4,4,0,0,0,.24-.62V14.2a.64.64,0,0,1-.09-.32v-.27H9.61v7.12a1.22,1.22,0,0,0,1.21,1.21h4.09A1,1,0,0,1,14.82,21.54Z"/><path class="cls-2" d="M13.78,16.52l-.35.2h1.12l.56-1-.35.2-.36-.62a.56.56,0,0,0-.49-.28H12.6a.56.56,0,0,0-.47.26h0l0,0h0l-.46.8,1,.56.45-.78.06-.1.14-.23h0Z"/><path class="cls-2" d="M15.67,18.12h0a.56.56,0,0,0,0-.54h0l0,0h0l-.46-.8-1,.56.45.78.06.1.13.23h-1V18l-.23.41h0l-.33.56.56,1v-.41h.72a.56.56,0,0,0,.49-.28l.48-.84h0Z"/><path class="cls-2" d="M11.92,18.4h-.27l.52-.9.35.2-.23-.41h0L12,16.73H10.84l.35.2-.36.62a.56.56,0,0,0,0,.56l.49.85,0,0,.13.23a.56.56,0,0,0,.46.28h1V18.4h-1Z"/><path class="cls-1" d="M18.89,22.11a.57.57,0,0,1-.56-.57l0-2.23a.56.56,0,0,1,.11-.33l.06-.08-.08-.08v-.17a.3.3,0,0,1,.1-.14v-.08a.31.31,0,0,1,.31-.31l2.55,0a.31.31,0,0,1,.31.31v.08l0,0a.27.27,0,0,1,0,.38l.07.07a.57.57,0,0,1,.1.33l0,2.23a.57.57,0,0,1-.57.56Z"/><path class="cls-2" d="M18.89,18.3h0l2.54,0a.11.11,0,0,1,.11.11v.15l.09.1a.07.07,0,0,1,0,.1h0a.18.18,0,0,0,0,.23l.07.1a.37.37,0,0,1,.07.22l0,2.23a.37.37,0,0,1-.37.36h0l-2.43,0a.37.37,0,0,1-.36-.37l0-2.23a.37.37,0,0,1,.07-.21l.06-.08a.18.18,0,0,0,0-.23s0,0,0-.08.11-.1.11-.1v-.18a.11.11,0,0,1,.11-.11m0-.4a.51.51,0,0,0-.51.5h0a.44.44,0,0,0-.09.17.46.46,0,0,0,0,.32.76.76,0,0,0-.12.4l0,2.23a.77.77,0,0,0,.76.78l2.43,0a.77.77,0,0,0,.78-.76l0-2.23a.76.76,0,0,0-.12-.43.47.47,0,0,0-.08-.47.51.51,0,0,0-.5-.51l-2.54,0h0Z"/><path class="cls-1" d="M15.79,21.94h1.72a.4.4,0,0,0,.4-.4V17.9c0-.81-.76-1.95-.76-2.38,0-.2,0-1,0-1.57h0a.08.08,0,0,0,.08-.08v-.27a.08.08,0,0,0-.08-.08h0v-.15a.08.08,0,0,0-.08-.08h-.82a.08.08,0,0,0-.08.08v.15h0a.08.08,0,0,0-.08.08v.27a.08.08,0,0,0,.08.08h0c0,.58,0,1.37,0,1.57,0,.43-.76,1.56-.76,2.38v3.64a.4.4,0,0,0,.4.4Z"/></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 31 43"><defs><style>.cls-1{fill:#1d50b7;}.cls-2{fill:#fff;}</style><symbol id="Nouveau_symbole" data-name="Nouveau symbole" viewBox="0 0 30.35 41.28"><path class="cls-1" d="M15.18,0A15.18,15.18,0,0,0,0,15.17a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86a15.91,15.91,0,0,0,3.14-9.25A15.18,15.18,0,0,0,15.18,0Z"/><path class="cls-2" d="M24.65,15.17A9.47,9.47,0,1,1,15.18,5.7,9.46,9.46,0,0,1,24.65,15.17Z"/><path class="cls-1" d="M10.35,13.81H9v3.54H8V13.81H6.71V13h3.64Z"/><path class="cls-1" d="M12.9,16.53H11.46l-.25.81H10.09L11.69,13h1l1.61,4.35H13.16Zm-1.19-.81h.93l-.47-1.51Z"/><path class="cls-1" d="M16.22,14.44,16.93,13h1.2l-1.22,2.16,1.25,2.19H17l-.73-1.47-.73,1.47H14.28l1.25-2.19L14.31,13h1.19Z"/><path class="cls-1" d="M19.62,17.35h-1V13h1Z"/><path class="cls-1" d="M22.59,16.19a.43.43,0,0,0-.16-.36,2,2,0,0,0-.57-.27,5.49,5.49,0,0,1-.67-.27,1.27,1.27,0,0,1-.85-1.14,1,1,0,0,1,.21-.64,1.37,1.37,0,0,1,.6-.43,2.34,2.34,0,0,1,.87-.15,2,2,0,0,1,.84.17,1.33,1.33,0,0,1,.58.48,1.25,1.25,0,0,1,.21.71h-1a.53.53,0,0,0-.16-.41.63.63,0,0,0-.44-.15.72.72,0,0,0-.44.12.36.36,0,0,0,0,.62,2.2,2.2,0,0,0,.63.28,3.92,3.92,0,0,1,.74.31,1.24,1.24,0,0,1,.7,1.12,1.06,1.06,0,0,1-.43.9,1.91,1.91,0,0,1-1.18.33,2.34,2.34,0,0,1-1-.19,1.43,1.43,0,0,1-.65-.52,1.35,1.35,0,0,1-.22-.76h1.05a.67.67,0,0,0,.18.52.86.86,0,0,0,.59.17.69.69,0,0,0,.41-.11A.37.37,0,0,0,22.59,16.19Z"/></symbol></defs><title>ic_Taxis</title><use width="30.35" height="41.28" transform="translate(0.32 1.06)" xlink:href="#Nouveau_symbole"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 43"><defs><style>.cls-1{fill:#da0d02;}.cls-2{fill:#fff;}</style><symbol id="Nouveau_symbole_12" data-name="Nouveau symbole 12" viewBox="0 0 30.35 41.28"><path class="cls-1" d="M15.18,0A15.18,15.18,0,0,0,0,15.17a15.9,15.9,0,0,0,3.14,9.25l12,16.86,12-16.86a15.91,15.91,0,0,0,3.14-9.25A15.18,15.18,0,0,0,15.18,0Z"/><path class="cls-2" d="M24.65,15.17A9.47,9.47,0,1,1,15.18,5.7,9.46,9.46,0,0,1,24.65,15.17Z"/><path class="cls-1" d="M15.16,17.12l1.7-6.21h2.3l-2.87,8.53H14l-2.85-8.53h2.28Z"/></symbol></defs><title>ic_Velo</title><use width="30.35" height="41.28" transform="translate(0.87 0.9)" xlink:href="#Nouveau_symbole_12"/></svg>

After

Width:  |  Height:  |  Size: 765 B

View File

@ -6,6 +6,7 @@
@import '../includes/font-raleway';
@import '../includes/publik';
@import 'specialpages';
@import 'maps';
@import 'custom';
// individual tiles
@import 'tcl';