mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Render pedestrian streets closer with highway=footway colors but full road width (close #7058)
This commit is contained in:
+31
-19
@@ -247,7 +247,6 @@ path.line.shadow.tag-highway-footway,
|
||||
path.line.shadow.tag-highway-cycleway,
|
||||
path.line.shadow.tag-highway-bridleway,
|
||||
path.line.shadow.tag-highway-corridor,
|
||||
path.line.shadow.tag-highway-pedestrian,
|
||||
path.line.shadow.tag-highway-steps {
|
||||
stroke-width: 16;
|
||||
}
|
||||
@@ -256,7 +255,6 @@ path.line.casing.tag-highway-footway,
|
||||
path.line.casing.tag-highway-cycleway,
|
||||
path.line.casing.tag-highway-bridleway,
|
||||
path.line.casing.tag-highway-corridor,
|
||||
path.line.casing.tag-highway-pedestrian,
|
||||
path.line.casing.tag-highway-steps {
|
||||
stroke-width: 5;
|
||||
}
|
||||
@@ -265,7 +263,6 @@ path.line.stroke.tag-highway-footway,
|
||||
path.line.stroke.tag-highway-cycleway,
|
||||
path.line.stroke.tag-highway-bridleway,
|
||||
path.line.stroke.tag-highway-corridor,
|
||||
path.line.stroke.tag-highway-pedestrian,
|
||||
path.line.stroke.tag-highway-steps {
|
||||
stroke-width: 3;
|
||||
}
|
||||
@@ -297,7 +294,6 @@ path.line.stroke.tag-highway-steps {
|
||||
.low-zoom path.line.shadow.tag-highway-cycleway,
|
||||
.low-zoom path.line.shadow.tag-highway-bridleway,
|
||||
.low-zoom path.line.shadow.tag-highway-corridor,
|
||||
.low-zoom path.line.shadow.tag-highway-pedestrian,
|
||||
.low-zoom path.line.shadow.tag-highway-steps {
|
||||
stroke-width: 12;
|
||||
}
|
||||
@@ -306,7 +302,6 @@ path.line.stroke.tag-highway-steps {
|
||||
.low-zoom path.line.casing.tag-highway-cycleway,
|
||||
.low-zoom path.line.casing.tag-highway-bridleway,
|
||||
.low-zoom path.line.casing.tag-highway-corridor,
|
||||
.low-zoom path.line.casing.tag-highway-pedestrian,
|
||||
.low-zoom path.line.casing.tag-highway-steps {
|
||||
stroke-width: 3;
|
||||
}
|
||||
@@ -315,7 +310,6 @@ path.line.stroke.tag-highway-steps {
|
||||
.low-zoom path.line.stroke.tag-highway-cycleway,
|
||||
.low-zoom path.line.stroke.tag-highway-bridleway,
|
||||
.low-zoom path.line.stroke.tag-highway-corridor,
|
||||
.low-zoom path.line.stroke.tag-highway-pedestrian,
|
||||
.low-zoom path.line.stroke.tag-highway-steps {
|
||||
stroke-width: 1;
|
||||
}
|
||||
@@ -334,34 +328,53 @@ path.line.casing.tag-living_street {
|
||||
stroke: #fff;
|
||||
}
|
||||
|
||||
/* pedestrian streets and corridors */
|
||||
.preset-icon .icon.tag-highway-corridor,
|
||||
.preset-icon .icon.tag-highway-pedestrian {
|
||||
/* corridors */
|
||||
.preset-icon .icon.tag-highway-corridor {
|
||||
color: #8cd05f;
|
||||
fill: #fff;
|
||||
}
|
||||
path.line.stroke.tag-highway-corridor,
|
||||
path.line.stroke.tag-highway-pedestrian,
|
||||
path.line.stroke.tag-corridor,
|
||||
path.line.stroke.tag-pedestrian {
|
||||
path.line.stroke.tag-corridor {
|
||||
stroke: #fff;
|
||||
stroke-dasharray: 2, 8;
|
||||
}
|
||||
.low-zoom path.line.stroke.tag-highway-corridor,
|
||||
.low-zoom path.line.stroke.tag-highway-pedestrian,
|
||||
.low-zoom path.line.stroke.tag-corridor,
|
||||
.low-zoom path.line.stroke.tag-pedestrian {
|
||||
.low-zoom path.line.stroke.tag-corridor {
|
||||
stroke-dasharray: 1, 4;
|
||||
}
|
||||
path.line.casing.tag-highway-corridor,
|
||||
path.line.casing.tag-highway-pedestrian,
|
||||
path.line.casing.tag-corridor,
|
||||
path.line.casing.tag-pedestrian {
|
||||
path.line.casing.tag-corridor {
|
||||
stroke: #8cd05f;
|
||||
stroke-linecap: round;
|
||||
stroke-dasharray: none;
|
||||
}
|
||||
|
||||
/* pedestrian streets */
|
||||
.preset-icon .icon.tag-highway-pedestrian {
|
||||
color: #988;
|
||||
}
|
||||
path.line.stroke.tag-highway-pedestrian,
|
||||
path.line.stroke.tag-pedestrian {
|
||||
stroke: #fff;
|
||||
stroke-width: 3.5;
|
||||
stroke-dasharray: 8, 8;
|
||||
stroke-linecap: butt;
|
||||
}
|
||||
.low-zoom path.line.stroke.tag-highway-pedestrian,
|
||||
.low-zoom path.line.stroke.tag-pedestrian {
|
||||
stroke-width: 2;
|
||||
stroke-dasharray: 4, 4;
|
||||
}
|
||||
path.line.casing.tag-highway-pedestrian,
|
||||
path.line.casing.tag-pedestrian {
|
||||
stroke: #988;
|
||||
stroke-linecap: round;
|
||||
stroke-dasharray: none;
|
||||
}
|
||||
.preset-icon-container path.line.stroke.tag-highway-pedestrian {
|
||||
stroke-dasharray: 12, 12;
|
||||
}
|
||||
|
||||
/* unknown roads */
|
||||
.preset-icon .icon.tag-highway-road {
|
||||
color: #9e9e9e;
|
||||
@@ -607,7 +620,6 @@ path.line.stroke.tag-highway.tag-footway-access_aisle {
|
||||
|
||||
/* highway midpoints */
|
||||
g.midpoint.tag-highway-corridor .fill,
|
||||
g.midpoint.tag-highway-pedestrian .fill,
|
||||
g.midpoint.tag-highway-steps .fill,
|
||||
g.midpoint.tag-highway-path .fill,
|
||||
g.midpoint.tag-highway-footway .fill,
|
||||
|
||||
Reference in New Issue
Block a user