Use turn restriction icons

This commit is contained in:
John Firebaugh
2014-05-17 08:15:22 -07:00
parent 3d210ac3c1
commit d4d80b2d6e
12 changed files with 154 additions and 330 deletions
-4
View File
@@ -2763,10 +2763,6 @@ img.wiki-image {
fill: rgba(255,255,255,.5);
}
.radial-menu .icon {
pointer-events: none;
}
.lasso-box {
fill-opacity:0.1;
stroke: #fff;
+14
View File
@@ -957,6 +957,11 @@ g.turn.restricted path {
stroke: red;
}
g.turn rect {
fill: none;
pointer-events: all;
}
/* Cursors */
#map {
@@ -1104,6 +1109,15 @@ g.turn.restricted path {
) 9 9, crosshair;
}
.turn rect {
cursor: pointer; /* Opera */
cursor: url(img/cursor-pointer.png) 6 1, pointer; /* FF */
cursor: -webkit-image-set(
url(img/cursor-pointer.png) 1x,
url(img/cursor-pointer2x.png) 2x
) 6 1, pointer;
}
.lasso #map {
pointer-events: visibleStroke;
}