mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-08 04:11:23 +00:00
add transparency for highway tunnels
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user