diff --git a/css/app.css b/css/app.css index 0194acd69..eff5c8db8 100644 --- a/css/app.css +++ b/css/app.css @@ -59,6 +59,7 @@ a, button, input, textarea { } a, button { + cursor: pointer; /* Opera compatibility */ cursor: url(../img/cursor-pointer.png) 6 1, pointer; } @@ -1073,6 +1074,7 @@ input[type=number] { } .checkselect label:hover { + cursor: pointer; /* Opera compatibility */ cursor: url(../img/cursor-pointer.png) 6 1, pointer; background: #f1f1f1; } @@ -1543,6 +1545,7 @@ img.wiki-image { height: 100%; display: block; float: left; + cursor: pointer; /* Opera compatibility */ cursor: url(../img/cursor-pointer.png) 6 1, pointer; } @@ -2226,6 +2229,7 @@ img.wiki-image { .radial-menu-item { fill: white; + cursor: pointer; /* Opera compatibility */ cursor: url(../img/cursor-pointer.png) 6 1, pointer; } diff --git a/css/map.css b/css/map.css index 935c4389b..ab8325c65 100644 --- a/css/map.css +++ b/css/map.css @@ -860,6 +860,8 @@ text.point { /* Cursors */ #map:hover { + cursor: auto; /* Opera */ + cursor: url(../img/cursor-grab.png) 9 9, auto; /* FF */ cursor: -webkit-image-set( url(../img/cursor-grab.png) 1x, url(../img/cursor-grab2x.png) 2x @@ -867,6 +869,8 @@ text.point { } #map:active { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-grabbing.png) 9 9, auto; /* FF */ cursor: -webkit-image-set( url(../img/cursor-grabbing.png) 1x, url(../img/cursor-grabbing2x.png) 2x @@ -875,6 +879,8 @@ text.point { .mode-browse .point, .mode-select .point { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-point.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-point.png) 1x, url(../img/cursor-select-point2x.png) 2x @@ -883,6 +889,8 @@ text.point { .mode-select .vertex, .mode-browse .vertex { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-vertex.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-vertex.png) 1x, url(../img/cursor-select-vertex2x.png) 2x @@ -891,6 +899,8 @@ text.point { .mode-browse .line, .mode-select .line { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-line.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-line.png) 1x, url(../img/cursor-select-line2x.png) 2x @@ -899,6 +909,8 @@ text.point { .mode-select .area, .mode-browse .area { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-area.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-area.png) 1x, url(../img/cursor-select-area2x.png) 2x @@ -907,6 +919,8 @@ text.point { .mode-select .midpoint, .mode-browse .midpoint { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-split.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-split.png) 1x, url(../img/cursor-select-split2x.png) 2x @@ -917,6 +931,8 @@ text.point { .mode-select .behavior-multiselect .vertex, .mode-select .behavior-multiselect .line, .mode-select .behavior-multiselect .area { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-add.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-add.png) 1x, url(../img/cursor-select-add2x.png) 2x @@ -924,6 +940,8 @@ text.point { } .mode-select .behavior-multiselect .selected { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-remove.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-remove.png) 1x, url(../img/cursor-select-remove2x.png) 2x @@ -936,6 +954,8 @@ text.point { #map .area:active, #map .midpoint:active, #map .mode-select .selected { + cursor: pointer; /* Opera */ + cursor: url(../img/cursor-select-acting.png), pointer; /* FF */ cursor: -webkit-image-set( url(../img/cursor-select-acting.png) 1x, url(../img/cursor-select-acting2x.png) 2x @@ -947,7 +967,8 @@ text.point { .mode-add-line #map:hover, .mode-add-area #map:hover, .mode-drag-node #map:hover { - cursor: crosshair; + cursor: crosshair; /* Opera */ + cursor: url(../img/cursor-draw.png) 9 9, crosshair; /* FF */ cursor: -webkit-image-set( url(../img/cursor-draw.png) 1x, url(../img/cursor-draw2x.png) 2x @@ -958,12 +979,22 @@ text.point { .mode-draw-area .behavior-hover .way, .mode-add-line .behavior-hover .way, .mode-add-area .behavior-hover .way, -.mode-drag-node .behavior-hover .way, +.mode-drag-node .behavior-hover .way { + cursor: crosshair; /* Opera */ + cursor: url(../img/cursor-draw-connect-line.png) 9 9, crosshair; /* FF */ + cursor: -webkit-image-set( + url(../img/cursor-draw-connect-line.png) 1x, + url(../img/cursor-draw-connect-line2x.png) 2x + ) 9 9, crosshair; +} + .mode-draw-line .behavior-hover .vertex, .mode-draw-area .behavior-hover .vertex, .mode-add-line .behavior-hover .vertex, .mode-add-area .behavior-hover .vertex, -.mode-drag-node .behavior-hover .vertex, { +.mode-drag-node .behavior-hover .vertex { + cursor: crosshair; /* Opera */ + cursor: url(../img/cursor-draw-connect-vertex.png) 9 9, crosshair; /* FF */ cursor: -webkit-image-set( url(../img/cursor-draw-connect-vertex.png) 1x, url(../img/cursor-draw-connect-vertex2x.png) 2x @@ -974,6 +1005,8 @@ text.point { .lasso #map:hover, .lasso .way, .lasso .vertex { + cursor: crosshair; /* Opera */ + cursor: url(../img/cursor-draw.png) 9 9, crosshair; /* FF */ cursor: -webkit-image-set( url(../img/cursor-draw.png) 1x, url(../img/cursor-draw2x.png) 2x diff --git a/test/index.html b/test/index.html index f2d4d6bfc..aae9c6458 100644 --- a/test/index.html +++ b/test/index.html @@ -4,6 +4,7 @@