Make preset icon lines visible on the light background

This commit is contained in:
Quincy Morgan
2019-02-13 15:41:01 -05:00
parent a3099fadf5
commit 1e7d37c54a
4 changed files with 49 additions and 13 deletions

View File

@@ -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;

View File

@@ -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);
}

View File

@@ -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,

View File

@@ -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;
}