Allow user selection in overlay container

This commit is contained in:
Frederic Junod
2017-04-24 09:32:36 +02:00
committed by Tim Schaub
parent 2b5d6536ca
commit 10aebb58d2
3 changed files with 17 additions and 3 deletions

View File

@@ -37,13 +37,18 @@
.ol-viewport, .ol-unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.ol-selectable {
-webkit-touch-callout: default;
-webkit-user-select: auto;
-moz-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}
.ol-control {
position: absolute;
background-color: rgba(255,255,255,0.4);