summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2018-03-09 15:22:14 +0100
committerhellekin <hellekin@cepheide.org>2018-03-09 15:22:14 +0100
commitd8a61d4f5ba6af2d36f22f5821292edcf7fc2388 (patch)
treedd231f1919af470c3860a2664ac71c2a42c6e055 /assets
parent0397fc21cb462775af898a031da92c2b893ca42d (diff)
downloadwallonie-demain-proto-d8a61d4f5ba6af2d36f22f5821292edcf7fc2388.tar.gz
Here come colors
Diffstat (limited to 'assets')
-rw-r--r--assets/css/style.css59
-rw-r--r--assets/mapper.js18
2 files changed, 28 insertions, 49 deletions
diff --git a/assets/css/style.css b/assets/css/style.css
index 2819109..a0750d0 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -87,45 +87,24 @@ body > aside {
}
/* in order */
-body > aside nav > ul > li#c-6 { background-color: #FFEB00; }
-body > aside nav > ul > li#c-11 { background-color: #7CFB80; }
-body > aside nav > ul > li#c-10 { background-color: #02ACCC; }
-body > aside nav > ul > li#c-15 { background-color: #97C000; }
-body > aside nav > ul > li#c-7 { background-color: #7E8A0E; }
-body > aside nav > ul > li#c-3 { background-color: #677362; }
-body > aside nav > ul > li#c-2 { background-color: #008080; }
-body > aside nav > ul > li#c-13 { background-color: #0E408A; color: #8A580E; }
-body > aside nav > ul > li#c-9 { background-color: #0E0140; color: #8A580E; }
+body > aside nav > ul > li#c-6 { background-color: #FF9200; }
+body > aside nav > ul > li#c-11 { background-color: #FFEB00; }
+body > aside nav > ul > li#c-10 { background-color: #7CFB80; }
+body > aside nav > ul > li#c-15 { background-color: #02ACCC; }
+body > aside nav > ul > li#c-7 { background-color: #97C000; }
+body > aside nav > ul > li#c-3 { background-color: #C6B117; }
+body > aside nav > ul > li#c-2 { background-color: #7E8A0E; }
+body > aside nav > ul > li#c-13 { background-color: #677362; }
+body > aside nav > ul > li#c-9 { background-color: #D3A9B5; }
/* c-0 is non-existent, used as fallback */
-.marker.popup .change.c-0 {
- border-color: #FFEB00;
-}
-.marker.popup .change.c-6 {
- border-color: #FFEB00;
-}
-.marker.popup .change.c-11 {
- border-color: #7CFB80;
-}
-.marker.popup .change.c-10 {
- border-color: #02ACCC;
-}
-.marker.popup .change.c-15 {
- border-color: #97C000;
-}
-.marker.popup .change.c-7 {
- border-color: #7E8A0E;
-}
-.marker.popup .change.c-3 {
- border-color: #677362;
-}
-.marker.popup .change.c-2 {
- border-color: #008080;
-}
-.marker.popup .change.c-13 {
- border-color: #0E408A;
-}
-.marker.popup .change.c-9 {
- border-color: #0E0140;
-}
-
+.marker.popup .change.c-0 { border-color: #FFEB00; }
+.marker.popup .change.c-6 { border-color: #FF9200; }
+.marker.popup .change.c-11 { border-color: #FFEB00; }
+.marker.popup .change.c-10 { border-color: #7CFB80; }
+.marker.popup .change.c-15 { border-color: #02ACCC; }
+.marker.popup .change.c-7 { border-color: #97C000; }
+.marker.popup .change.c-3 { border-color: #C6B117; }
+.marker.popup .change.c-2 { border-color: #7E8A0E; }
+.marker.popup .change.c-13 { border-color: #677362; }
+.marker.popup .change.c-9 { border-color: #D3A9B5; }
diff --git a/assets/mapper.js b/assets/mapper.js
index 083405b..3255407 100644
--- a/assets/mapper.js
+++ b/assets/mapper.js
@@ -23,7 +23,7 @@ const Categories = [
{"name":"Initiatives de récup' alimentaire", "id":28},
{"name":"GASAP (groupes d'achat)", "id":27},
{"name":"GASAP (producteurs)", "id":185}
- ], "color":"#FFEB00"},
+ ], "color":"#FF9200"},
{"id":11, "name":"2. Se laver, s'habiller", "subcategories":[
{"name":"Boîtes à dons", "id":210},
@@ -31,13 +31,13 @@ const Categories = [
{"name":"Donneries, marchés gratuits", "id":46},
{"name":"Douches publiques", "id":144},
{"name":"Friperies, vêtements de 2ème main", "id":104}
- ], "color":"#7CFB80"},
+ ], "color":"#FFEB00"},
{"id":10, "name":"3. Guérir, se soigner", "subcategories":[
{"name":"Maisons médicales", "id":18},
{"name":"Réseaux de santé", "id":145},
{"name":"Services de santé pour personnes précaires", "id":157}
- ], "color":"#02ACCC"},
+ ], "color":"#7CFB80"},
{"id":15, "name":"4. Recycler, réparer", "subcategories":[
{"name":"Ateliers de travail du bois", "id":138},
@@ -50,7 +50,7 @@ const Categories = [
{"name":"Matériaux informatiques recyclés", "id":47},
{"name":"Recyclage de verre", "id":205},
{"name":"Marchés aux puces", "id":120}
- ], "color":"#97C000"},
+ ], "color":"#02ACCC"},
{"id":7, "name":"5. respirer, se mettre au vert", "subcategories":[
{"name":"Soutien aux potagistes", "id":128},
@@ -61,7 +61,7 @@ const Categories = [
{"name":"Parcs publics", "id":129},
{"name":"Grainothèques, bourses aux semences", "id":125},
{"name":"Associations apicoles", "id":127}
- ], "color":"#7E8A0E"},
+ ], "color":"#97C000"},
{"id":3, "name":"6. Se rencontrer, s'entraider", "subcategories":[
{"name":"Comités de quartiers", "id":102},
@@ -81,14 +81,14 @@ const Categories = [
{"name":"Initiatives de récup' alimentaire", "id":201},
{"name":"Soutien aux personnes précaires", "id":193},
{"name":"Systèmes d'échange locaux (SEL)", "id":184}
- ], "color":"#677362"},
+ ], "color":"#C6B117"},
{"id":2, "name":"7. Apprendre, se former", "subcategories":[
{"name":"Association d'écologie urbaine", "id":90},
{"name":"Espaces de travail partagés, co-working", "id":87},
{"name":"Soutien à l'économie locale", "id":12},
{"name":"Associations d'éducation permanente", "id":13}
- ], "color":"#008080"},
+ ], "color":"#7E8AE0"},
{"id":13, "name":"8. S'exprimer, communiquer", "subcategories":[
{"name":"Bornes d'accès à Internet", "id":124},
@@ -96,7 +96,7 @@ const Categories = [
{"name":"Médias indépendants", "id":109},
{"name":"Écrivains publics", "id":177},
{"name":"Lieux de promotion du logiciel libre", "id":174}
- ], "color":"#0E408A"},
+ ], "color":"#677362"},
{"id":9, "name":"9. Bouger, se déplacer", "subcategories":[
{"name":"Cours de vélo", "id":179},
@@ -106,7 +106,7 @@ const Categories = [
{"name":"Pompes à vélos", "id":212},
{"name":"Taxis collectifs (Collecto)", "id":196},
{"name":"Voitures partagées", "id":141}
- ], "color":"#0E0140"}
+ ], "color":"#D3A9B5"}
]
// Our map