add transparency for highway tunnels

This commit is contained in:
Ansis Brammanis
2013-03-10 00:45:22 -05:00
parent 30c44a8729
commit 6440905e36
2 changed files with 9 additions and 1 deletions

View File

@@ -629,6 +629,14 @@ path.casing.tag-bridge-yes {
stroke: #333;
}
path.stroke.tag-highway.tag-tunnel-yes {
stroke-opacity: 0.3;
}
path.casing.tag-highway.tag-tunnel-yes {
stroke-opacity: 0.5;
}
path.stroke.tag-highway-construction,
path.casing.tag-highway-construction {
stroke-linecap: butt;

View File

@@ -2,7 +2,7 @@ iD.svg.TagClasses = function() {
var keys = d3.set([
'highway', 'railway', 'waterway', 'power', 'motorway', 'amenity',
'natural', 'landuse', 'building', 'oneway', 'bridge', 'boundary',
'leisure', 'construction', 'place'
'tunnel', 'leisure', 'construction', 'place'
]), tagClassRe = /^tag-/,
tags = function(entity) { return entity.tags; };