Adjust layer ordering to draw touch targets above data layers

This commit is contained in:
Bryan Housel
2018-11-09 16:51:19 -05:00
parent 3e313cffe4
commit 3bc841e95b
18 changed files with 132 additions and 161 deletions
+2 -13
View File
@@ -66,7 +66,6 @@
/* points & notes */
g.note .stroke {
stroke: #222;
stroke-width: 1;
@@ -118,21 +117,17 @@ g.point ellipse.stroke {
/* vertices and midpoints */
g.vertex .fill {
fill: #000;
}
g.vertex .stroke {
stroke: #666;
stroke-width: 1;
fill: white;
}
g.vertex.shared .stroke {
fill: #bbb;
}
g.midpoint .fill {
fill: #eee;
stroke: #444;
@@ -160,7 +155,6 @@ g.vertex.selected .shadow {
/* lines */
.preset-icon .icon.iD-other-line {
color: #fff;
fill: #777;
@@ -198,7 +192,6 @@ path.line.stroke {
/* Labels / Markers */
text {
font-size: 10px;
color: #222;
@@ -238,7 +231,7 @@ text.pointlabel {
dominant-baseline: auto;
}
.layer-labels-halo text {
.labels-group.halo text {
opacity: 0.7;
stroke: #fff;
stroke-width: 5px;
@@ -246,9 +239,8 @@ text.pointlabel {
}
text.nolabel {
opacity: 0;
opacity: 0 !important;
}
text.point {
font-size: 10px;
}
@@ -259,14 +251,12 @@ text.point {
stroke-width: 2px;
stroke-miterlimit: 1;
}
.icon.areaicon {
fill: #222;
opacity: 0.8;
}
/* Highlighting */
g.point.highlighted .shadow,
path.shadow.highlighted {
stroke-opacity: 0.95;
@@ -279,7 +269,6 @@ g.vertex.highlighted .shadow {
}
/* Turn Restrictions */
g.turn rect,
g.turn circle {
fill: none;