Use class instead of style for Translate cursor

This commit is contained in:
Andreas Hocevar
2017-06-12 13:30:25 +02:00
parent 2f45e14bea
commit 9b41ea4017
3 changed files with 43 additions and 65 deletions

View File

@@ -49,6 +49,17 @@
-ms-user-select: auto;
user-select: auto;
}
.ol-grabbing {
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
}
.ol-grab {
cursor: move;
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
}
.ol-control {
position: absolute;
background-color: rgba(255,255,255,0.4);
@@ -247,4 +258,4 @@
.ol-overviewmap .ol-overviewmap-box:hover {
cursor: move;
}
}