mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 05:49:16 +02:00
Class midpoints to match parent way and adjust styles.
After editing more with 1.5.3, I really dislike the more visible
midpoints I added in afa1efd. This commit gives the midpoints
tag classes so that we can style only *certain* midpoints more visible
(footpath, cycleway, bridleway, etc) and leave all the others dim.
This commit is contained in:
+12
@@ -90,6 +90,18 @@ g.vertex.shared .stroke {
|
||||
}
|
||||
|
||||
g.midpoint .fill {
|
||||
fill: #eee;
|
||||
stroke: #444;
|
||||
stroke-opacity: .6;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
g.midpoint.tag-highway-pedestrian .fill,
|
||||
g.midpoint.tag-highway-steps .fill,
|
||||
g.midpoint.tag-highway-path .fill,
|
||||
g.midpoint.tag-highway-footway .fill,
|
||||
g.midpoint.tag-highway-cycleway .fill,
|
||||
g.midpoint.tag-highway-bridleway .fill {
|
||||
fill: #fff;
|
||||
stroke: #333;
|
||||
stroke-opacity: .8;
|
||||
|
||||
Reference in New Issue
Block a user