Use built in cursors on opera (fixes #865)

Opera chokes on the `url(…) n m` syntax and throws away the
whole style, so we have to use a separate declaration.
This commit is contained in:
John Firebaugh
2013-03-01 11:01:26 -08:00
parent 7a7018bdba
commit 00cd9c7e98
2 changed files with 20 additions and 11 deletions
+12 -7
View File
@@ -682,11 +682,11 @@ text.point {
/* Cursors */
#map:hover {
cursor:url(../img/cursor-grab.png) 9 9, auto;
cursor: url(../img/cursor-grab.png) 9 9, auto;
}
#map:active {
cursor:url(../img/cursor-grabbing.png) 9 9, auto;
cursor: url(../img/cursor-grabbing.png) 9 9, auto;
}
.mode-browse .point,
@@ -727,7 +727,8 @@ text.point {
.mode-draw-area #map:hover,
.mode-add-line #map:hover,
.mode-add-area #map:hover {
cursor:url(../img/cursor-draw.png) 9 9, auto;
cursor: crosshair;
cursor: url(../img/cursor-draw.png) 9 9, crosshair;
}
.mode-draw-line .behavior-hover .way,
@@ -735,7 +736,8 @@ text.point {
.mode-add-line .behavior-hover .way,
.mode-add-area .behavior-hover .way,
.behavior-drag-node.behavior-hover .way {
cursor:url(../img/cursor-draw-connect-line.png) 9 9, auto;
cursor: crosshair;
cursor: url(../img/cursor-draw-connect-line.png) 9 9, crosshair;
}
.mode-draw-line .behavior-hover .vertex,
@@ -743,17 +745,20 @@ text.point {
.mode-add-line .behavior-hover .vertex,
.mode-add-area .behavior-hover .vertex,
.behavior-drag-node.behavior-hover .vertex {
cursor:url(../img/cursor-draw-connect-vertex.png) 9 9, auto;
cursor: crosshair;
cursor: url(../img/cursor-draw-connect-vertex.png) 9 9, crosshair;
}
.mode-add-point #map:hover {
cursor:url(../img/cursor-draw-point.png) 18 18, auto;
cursor: crosshair;
cursor: url(../img/cursor-draw-point.png) 18 18, crosshair;
}
.lasso #map:hover,
.lasso .way,
.lasso .vertex {
cursor:url(../img/cursor-draw.png) 9 9, auto;
cursor: crosshair;
cursor: url(../img/cursor-draw.png) 9 9, crosshair;
}
.lasso #map {