mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Fix oneway and sided markers for IE11/Edge
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user