Fix oneway and sided markers for IE11/Edge

This commit is contained in:
Bryan Housel
2018-11-30 15:57:16 -05:00
parent c7fc3ea062
commit 2e6652f8cb

View File

@@ -1,8 +1,17 @@
/* base styles */
.layer-osm path:not(.oneway-marker-path) { /* IE/Edge needs :not(.oneway) */
.layer-osm path {
fill: none;
}
.layer-osm path.viewfield-marker-path { /* IE/Edge rule for <use> marker style */
/* IE/Edge needs these overrides for markers to show up */
.layer-osm path.oneway-marker-path { fill: #000; }
.layer-osm path.sided-marker-natural-path { fill: rgb(140, 208, 95); }
.layer-osm path.sided-marker-coastline-path { fill: #77dede; }
.layer-osm path.sided-marker-barrier-path { fill: #ddd; }
.layer-osm path.sided-marker-man_made-path { fill: #fff; }
/* IE/Edge rule for <use> marker style */
.layer-osm path.viewfield-marker-path {
fill: #333;
fill-opacity: 0.75;
stroke: #fff;