Use subpart for highway=footway,bicycle=yes
authorRichard Fairhurst <richard@systemeD.net>
Mon, 3 Oct 2011 11:43:19 +0000 (12:43 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Mon, 3 Oct 2011 11:43:19 +0000 (12:43 +0100)
resources/stylesheets/core_ways.css

index b7c2823..30c6e8e 100644 (file)
@@ -30,7 +30,7 @@ way[highway=pedestrian] :area  { color: #555555; width: 1; fill-color: #ddddee;
 
 way[highway=steps]     { color: #FF6644; width: 6; dashes: 2, 2; }
 way[highway=footway]   { color: #FF6644; width: 2; dashes: 6, 3; set .path;}
-way[highway=footway][bicycle=yes]   { z-index: 4; color: blue; width: 1; }
+way[highway=footway][bicycle=yes]::bike   { z-index: 4; color: blue; width: 1; }
 way[highway=bridleway] { z-index:9; color: #996644; width: 2; dashes: 4, 2, 2, 2; set .path;}
 way[highway=track]     { color: #996644; width: 2; dashes: 4, 2; set .path;}
 way[highway=path]      { color: brown; width: 2; dashes: 2, 2; set .path;}