mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 22:48:10 +02:00
Move all structure styles (bridge/tunnel/embarkment) after way styles.
This commit is contained in:
+99
-98
@@ -683,129 +683,40 @@ path.fill.tag-aeroway-apron {
|
||||
}
|
||||
|
||||
|
||||
/* bridges */
|
||||
|
||||
path.casing.tag-bridge {
|
||||
stroke-width: 14;
|
||||
stroke-opacity: 0.5;
|
||||
stroke: #000;
|
||||
}
|
||||
|
||||
path.casing.tag-highway-living_street.tag-bridge,
|
||||
path.casing.tag-highway-path.tag-bridge {
|
||||
stroke-width: 6;
|
||||
}
|
||||
|
||||
path.casing.line.tag-highway-pedestrian,
|
||||
path.casing.tag-highway-service.tag-bridge,
|
||||
path.casing.tag-highway-track.tag-bridge,
|
||||
path.casing.tag-highway-steps.tag-bridge,
|
||||
path.casing.tag-highway-footway.tag-bridge,
|
||||
path.casing.tag-highway-cycleway.tag-bridge,
|
||||
path.casing.tag-highway-bridleway.tag-bridge {
|
||||
stroke-width: 8;
|
||||
}
|
||||
|
||||
path.shadow.tag-highway-residential.tag-bridge {
|
||||
stroke-width:22;
|
||||
}
|
||||
|
||||
path.shadow.tag-highway-living_street.tag-bridge,
|
||||
path.shadow.tag-highway-path.tag-bridge,
|
||||
path.shadow.line.tag-highway-pedestrian,
|
||||
path.shadow.tag-highway-service.tag-bridge,
|
||||
path.shadow.tag-highway-track.tag-bridge,
|
||||
path.shadow.tag-highway-steps.tag-bridge,
|
||||
path.shadow.tag-highway-footway.tag-bridge,
|
||||
path.shadow.tag-highway-cycleway.tag-bridge,
|
||||
path.shadow.tag-highway-bridleway.tag-bridge {
|
||||
stroke-width: 16;
|
||||
}
|
||||
|
||||
/* tunnels */
|
||||
|
||||
path.stroke.tag-tunnel {
|
||||
stroke-opacity: 0.3;
|
||||
}
|
||||
|
||||
path.casing.tag-tunnel {
|
||||
stroke-opacity: 0.5;
|
||||
}
|
||||
|
||||
path.stroke.tag-highway-construction,
|
||||
path.casing.tag-highway-construction {
|
||||
stroke-linecap: butt;
|
||||
stroke-dasharray: 7, 7;
|
||||
}
|
||||
|
||||
/* embankments / cuttings */
|
||||
|
||||
path.casing.tag-embankment,
|
||||
path.casing.tag-cutting {
|
||||
stroke-opacity: 0.5;
|
||||
stroke: #000;
|
||||
stroke-width: 22;
|
||||
stroke-dasharray: 2, 4;
|
||||
stroke-linecap: butt;
|
||||
}
|
||||
|
||||
path.shadow.tag-embankment,
|
||||
path.shadow.tag-cutting {
|
||||
stroke-width: 28;
|
||||
}
|
||||
|
||||
.low-zoom path.casing.tag-embankment,
|
||||
.low-zoom path.casing.tag-cutting {
|
||||
stroke-width: 10;
|
||||
}
|
||||
|
||||
.low-zoom path.shadow.tag-embankment,
|
||||
.low-zoom path.shadow.tag-cutting {
|
||||
stroke-width: 14;
|
||||
}
|
||||
|
||||
|
||||
/* construction */
|
||||
|
||||
.low-zoom path.stroke.tag-highway-construction,
|
||||
.low-zoom path.casing.tag-highway-construction {
|
||||
stroke-linecap: butt;
|
||||
stroke-dasharray: 5, 5;
|
||||
}
|
||||
|
||||
/* railways */
|
||||
|
||||
.line.stroke.tag-railway {
|
||||
path.stroke.tag-railway {
|
||||
stroke: #eee;
|
||||
stroke-width: 2;
|
||||
stroke-linecap: butt;
|
||||
stroke-dasharray: 12,12;
|
||||
}
|
||||
.line.casing.tag-railway {
|
||||
|
||||
path.casing.tag-railway {
|
||||
stroke: #555;
|
||||
stroke-width: 4;
|
||||
}
|
||||
|
||||
.line.stroke.tag-railway-abandoned {
|
||||
path.stroke.tag-railway-abandoned {
|
||||
stroke: #eee;
|
||||
}
|
||||
.line.casing.tag-railway-abandoned {
|
||||
path.casing.tag-railway-abandoned {
|
||||
stroke: #999;
|
||||
}
|
||||
|
||||
.line.stroke.tag-railway-subway {
|
||||
path.stroke.tag-railway-subway {
|
||||
stroke: #666;
|
||||
}
|
||||
.line.casing.tag-railway-subway {
|
||||
path.casing.tag-railway-subway {
|
||||
stroke: #222;
|
||||
}
|
||||
|
||||
.line.stroke.tag-railway-platform {
|
||||
path.stroke.tag-railway-platform {
|
||||
stroke: #999;
|
||||
stroke-width: 4;
|
||||
stroke-dasharray: none;
|
||||
}
|
||||
.line.casing.tag-railway-platform {
|
||||
path.casing.tag-railway-platform {
|
||||
stroke: none;
|
||||
}
|
||||
|
||||
@@ -869,6 +780,96 @@ path.casing.tag-boundary-national_park {
|
||||
}
|
||||
|
||||
|
||||
/* bridges */
|
||||
|
||||
path.casing.tag-bridge {
|
||||
stroke-width: 14;
|
||||
stroke-opacity: 0.5;
|
||||
stroke: #000;
|
||||
}
|
||||
|
||||
path.casing.tag-highway-living_street.tag-bridge,
|
||||
path.casing.tag-highway-path.tag-bridge {
|
||||
stroke-width: 6;
|
||||
}
|
||||
|
||||
path.casing.line.tag-highway-pedestrian,
|
||||
path.casing.tag-highway-service.tag-bridge,
|
||||
path.casing.tag-highway-track.tag-bridge,
|
||||
path.casing.tag-highway-steps.tag-bridge,
|
||||
path.casing.tag-highway-footway.tag-bridge,
|
||||
path.casing.tag-highway-cycleway.tag-bridge,
|
||||
path.casing.tag-highway-bridleway.tag-bridge {
|
||||
stroke-width: 8;
|
||||
}
|
||||
|
||||
path.shadow.tag-highway-residential.tag-bridge {
|
||||
stroke-width:22;
|
||||
}
|
||||
|
||||
path.shadow.tag-highway-living_street.tag-bridge,
|
||||
path.shadow.tag-highway-path.tag-bridge,
|
||||
path.shadow.line.tag-highway-pedestrian,
|
||||
path.shadow.tag-highway-service.tag-bridge,
|
||||
path.shadow.tag-highway-track.tag-bridge,
|
||||
path.shadow.tag-highway-steps.tag-bridge,
|
||||
path.shadow.tag-highway-footway.tag-bridge,
|
||||
path.shadow.tag-highway-cycleway.tag-bridge,
|
||||
path.shadow.tag-highway-bridleway.tag-bridge {
|
||||
stroke-width: 16;
|
||||
}
|
||||
|
||||
/* tunnels */
|
||||
|
||||
path.stroke.tag-tunnel {
|
||||
stroke-opacity: 0.3;
|
||||
}
|
||||
|
||||
path.casing.tag-tunnel {
|
||||
stroke-opacity: 0.5;
|
||||
}
|
||||
|
||||
/* embankments / cuttings */
|
||||
|
||||
path.casing.tag-embankment,
|
||||
path.casing.tag-cutting {
|
||||
stroke-opacity: 0.5;
|
||||
stroke: #000;
|
||||
stroke-width: 22;
|
||||
stroke-dasharray: 2, 4;
|
||||
stroke-linecap: butt;
|
||||
}
|
||||
|
||||
path.shadow.tag-embankment,
|
||||
path.shadow.tag-cutting {
|
||||
stroke-width: 28;
|
||||
}
|
||||
|
||||
.low-zoom path.casing.tag-embankment,
|
||||
.low-zoom path.casing.tag-cutting {
|
||||
stroke-width: 10;
|
||||
}
|
||||
|
||||
.low-zoom path.shadow.tag-embankment,
|
||||
.low-zoom path.shadow.tag-cutting {
|
||||
stroke-width: 14;
|
||||
}
|
||||
|
||||
|
||||
/* construction */
|
||||
|
||||
path.stroke.tag-highway-construction,
|
||||
path.casing.tag-highway-construction {
|
||||
stroke-linecap: butt;
|
||||
stroke-dasharray: 7, 7;
|
||||
}
|
||||
|
||||
.low-zoom path.stroke.tag-highway-construction,
|
||||
.low-zoom path.casing.tag-highway-construction {
|
||||
stroke-linecap: butt;
|
||||
stroke-dasharray: 5, 5;
|
||||
}
|
||||
|
||||
text {
|
||||
font-size:10px;
|
||||
pointer-events: none;
|
||||
|
||||
Reference in New Issue
Block a user