From 1e7d37c54a1ddcccbe83bb2f75b22973dd99c97d Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Wed, 13 Feb 2019 15:41:01 -0500 Subject: [PATCH] Make preset icon lines visible on the light background --- css/20_map.css | 3 +++ css/25_areas.css | 6 ++++-- css/30_highways.css | 27 ++++++++++++++++++++++----- css/50_misc.css | 26 ++++++++++++++++++++------ 4 files changed, 49 insertions(+), 13 deletions(-) diff --git a/css/20_map.css b/css/20_map.css index e316573a5..d5e7b0e24 100644 --- a/css/20_map.css +++ b/css/20_map.css @@ -179,6 +179,9 @@ g.vertex.selected .shadow { .preset-icon .icon.iD-other-line { color: #989898; } +.preset-icon-line path.casing { + stroke: #afafaf; +} path.line { stroke-linecap: round; diff --git a/css/25_areas.css b/css/25_areas.css index 7e6d9f41a..a2e469f64 100644 --- a/css/25_areas.css +++ b/css/25_areas.css @@ -33,7 +33,8 @@ path.stroke.tag-leisure-garden, path.stroke.tag-leisure-park, path.stroke.tag-landuse-forest, path.stroke.tag-landuse-wood, -path.stroke.tag-landuse-grass { +path.stroke.tag-landuse-grass, +path.stroke.tag-barrier-hedge { stroke: rgb(140, 208, 95); } path.fill.tag-landuse, @@ -46,7 +47,8 @@ path.fill.tag-leisure-garden, path.fill.tag-leisure-park, path.fill.tag-landuse-forest, path.fill.tag-natural-wood, -path.fill.tag-landuse-grass { +path.fill.tag-landuse-grass, +path.fill.tag-barrier-hedge { stroke: rgba(140, 208, 95, 0.3); fill: rgba(140, 208, 95, 0.3); } diff --git a/css/30_highways.css b/css/30_highways.css index 7c70ced90..7630289be 100644 --- a/css/30_highways.css +++ b/css/30_highways.css @@ -535,35 +535,45 @@ path.line.stroke.tag-highway-path { color: #988; fill: #fff; } -path.line.stroke.tag-highway-footway { +path.line.stroke.tag-highway-footway, +.preset-icon-line path.casing.tag-highway-footway { stroke: #988; } - +.preset-icon-line path.stroke.tag-highway-footway { + stroke: #fff; +} .preset-icon .icon.tag-route-bicycle, .preset-icon .icon.tag-highway-cycleway { color: #58a9ed; fill: #fff; } -path.line.stroke.tag-highway-cycleway { +path.line.stroke.tag-highway-cycleway, +.preset-icon-line path.casing.tag-highway-cycleway { stroke: #58a9ed; } +.preset-icon-line path.stroke.tag-highway-cycleway { + stroke: #fff; +} .preset-icon .icon.tag-route-horse, .preset-icon .icon.tag-highway-bridleway { color: #e06d5f; fill: #fff; } -path.line.stroke.tag-highway-bridleway { +path.line.stroke.tag-highway-bridleway, +.preset-icon-line path.casing.tag-highway-bridleway { stroke: #e06d5f; } +.preset-icon-line path.stroke.tag-highway-bridleway { + stroke: #fff; +} .preset-icon .icon.tag-highway-steps { color: #81d25c; fill: #fff; } path.line.stroke.tag-highway-steps { - stroke: #81d25c; stroke-linecap: butt; stroke-dasharray: 3, 3; } @@ -576,6 +586,13 @@ path.line.casing.tag-highway-steps.tag-unpaved { stroke-linecap: round; stroke-dasharray: none; } +path.line.stroke.tag-highway-steps, +.preset-icon-line path.line.casing.tag-highway-steps { + stroke: #81d25c; +} +.preset-icon-line path.line.stroke.tag-highway-steps { + stroke: #fff; +} /* highway midpoints */ g.midpoint.tag-highway-corridor .fill, diff --git a/css/50_misc.css b/css/50_misc.css index b1c9b2011..8d36f87df 100644 --- a/css/50_misc.css +++ b/css/50_misc.css @@ -80,6 +80,9 @@ path.line.stroke.tag-route-ferry { path.line.stroke.tag-route-ferry { stroke: #58a9ed; } +path.line.casing.tag-route-ferry { + stroke: none; +} /* aerialways */ @@ -180,13 +183,18 @@ path.line.casing.tag-boundary-national_park { /* barriers and similar */ -path.line.stroke.tag-barrier { +path.line.stroke.tag-barrier:not(.tag-barrier-hedge) { stroke: #ddd; } -path.line.stroke.tag-barrier-hedge { - stroke: rgb(140, 208, 95); +.preset-icon-line path.line.stroke.tag-barrier:not(.tag-barrier-hedge) { + stroke: rgb(170, 170, 170); +} +path.line.casing.tag-natural, +path.line.casing.tag-barrier, +path.line.casing.tag-man_made-groyne, +path.line.casing.tag-man_made-breakwater { + stroke: none; } - path.line.stroke.tag-barrier, path.line.stroke.tag-man_made-groyne, path.line.stroke.tag-man_made-breakwater { @@ -360,17 +368,23 @@ path.line.shadow.tag-status.tag-status-construction { stroke-width: 20; } path.line.casing.tag-status.tag-status-construction { - stroke: #fff; stroke-width: 10; stroke-linecap: butt; stroke-dasharray: none } path.line.stroke.tag-status.tag-status-construction { - stroke: #fc6c14; stroke-width: 8; stroke-linecap: butt; stroke-dasharray: 10, 10; } +path.line.casing.tag-status.tag-status-construction, +.preset-icon-line path.line.stroke.tag-status.tag-status-construction { + stroke: #fff; +} +path.line.stroke.tag-status.tag-status-construction, +.preset-icon-line path.line.casing.tag-status.tag-status-construction { + stroke: #fc6c14; +} .low-zoom path.line.shadow.tag-status.tag-status-construction { stroke-width: 16; }