add dedicated rule for railway=* + service=*

and drop respective "wildcard" rule in highways.css

see https://github.com/openstreetmap/iD/pull/10708#discussion_r1934085735
This commit is contained in:
Martin Raifer
2025-01-29 16:23:38 +01:00
parent ea911936ed
commit 5227294b5c
2 changed files with 10 additions and 4 deletions

View File

@@ -418,13 +418,11 @@ path.line.casing.tag-highway-service {
/* special service roads and bus guideways */
/* with `service=* tag` (e.g. parking_aisle, alley, drive-through) */
path.line.stroke.tag-highway-bus_guideway,
path.line.stroke.tag-highway-service.tag-service,
path.line.stroke.tag-service {
path.line.stroke.tag-highway-service.tag-service {
stroke: #dca;
}
path.line.casing.tag-highway-bus_guideway,
path.line.casing.tag-highway-service.tag-service,
path.line.casing.tag-service {
path.line.casing.tag-highway-service.tag-service {
stroke: #666;
}

View File

@@ -76,3 +76,11 @@ path.line.casing.tag-railway-subway {
path.line.stroke.tag-railway-subway {
stroke: #bbb;
}
/* railways with `service=* tag` (e.g. sidings, crossovers, etc.) */
path.line.stroke.tag-railway.tag-service {
stroke: #dca;
}
path.line.casing.tag-railway.tag-service {
stroke: #666;
}