From 823d28339c2427da08e5a89ea41b6b4f828c05f1 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 30 Apr 2013 15:56:04 -0400 Subject: [PATCH] add styles of schools, universities, pitches fixes #1389 --- css/map.css | 19 +++++++++++++++++++ test/rendering.html | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/css/map.css b/css/map.css index a1324cc48..5e70a6760 100644 --- a/css/map.css +++ b/css/map.css @@ -198,6 +198,23 @@ path.fill.tag-natural-water { fill: #77d3de; } +path.stroke.tag-amenity-school { + stroke: #ffff94; + stroke-width: 1; +} +path.fill.tag-amenity-school { + fill: #ffff94; + fill-opacity: 0.2; +} + +path.stroke.tag-amenity-university { + stroke: #ffff94; +} +path.fill.tag-amenity-university { + fill: #ffff94; + fill-opacity: 0.1; +} + path.stroke.tag-building { stroke: #e06e5f; stroke-width: 1; @@ -213,6 +230,7 @@ path.stroke.tag-landuse, path.stroke.tag-natural-wood, path.stroke.tag-natural-tree, path.stroke.tag-natural-grassland, +path.stroke.tag-leisure-pitch, path.stroke.tag-leisure-park { stroke: #8cd05f; stroke-width: 1; @@ -263,6 +281,7 @@ path.fill.tag-natural-wood, path.fill.tag-natural-tree, path.fill.tag-natural-grassland, path.fill.tag-natural-grass, +path.fill.tag-leisure-pitch, path.fill.tag-leisure-park { fill: #8cd05f; fill-opacity: 0.2; diff --git a/test/rendering.html b/test/rendering.html index 3962da960..a15da19ad 100644 --- a/test/rendering.html +++ b/test/rendering.html @@ -334,7 +334,8 @@ {natural: 'water'}, {natural: 'wood'}, {building: 'yes'}, - {amenity: 'parking'} + {amenity: 'parking'}, + {amenity: 'school'} ]; var row = d3.select('.areas').selectAll('tr')