diff --git a/WebContent/gui/OSRM.GUIBoxHandle.js b/WebContent/gui/OSRM.GUIBoxHandle.js index 301665dc0..5384ffbf8 100644 --- a/WebContent/gui/OSRM.GUIBoxHandle.js +++ b/WebContent/gui/OSRM.GUIBoxHandle.js @@ -29,7 +29,7 @@ OSRM.GUIBoxHandle = function( box_name, side, css, transitionStartFct, transitio // create handle DOM elements var wrapper = document.createElement('div'); wrapper.id = box_name + '-handle-wrapper'; - wrapper.className = 'not-selectable box-wrapper box-handle-wrapper-'+side; + wrapper.className = 'box-wrapper box-handle-wrapper-'+side; wrapper.style.cssText += css; var content = document.createElement('div'); content.id = box_name + '-handle-content'; diff --git a/WebContent/main.css b/WebContent/main.css index 2b61e5071..d37b91ac1 100644 --- a/WebContent/main.css +++ b/WebContent/main.css @@ -589,23 +589,6 @@ input[type=checkbox], min-height:10px; } -.not-selectable -{ - cursor:default; - -moz-user-select: -moz-none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -.text-selectable -{ - cursor:default; - -moz-user-select: text; - -webkit-user-select: text; - -ms-user-select: text; - user-select: text; -} - /* ------------------------------------------------------------------------ */ /* table styles */ diff --git a/WebContent/main.html b/WebContent/main.html index 4dadffd95..18b4e5dd5 100644 --- a/WebContent/main.html +++ b/WebContent/main.html @@ -81,14 +81,14 @@ or see http://www.gnu.org/licenses/agpl.txt. - +
-
+
@@ -101,7 +101,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
-
+
@@ -129,7 +129,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
-
+
@@ -151,7 +151,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
-
+
diff --git a/WebContent/printing/printing.css b/WebContent/printing/printing.css index 9c6acbcba..3c7cf3556 100644 --- a/WebContent/printing/printing.css +++ b/WebContent/printing/printing.css @@ -173,14 +173,6 @@ div.label min-width:10px; min-height:10px; } -.not-selectable -{ - cursor:default; - -moz-user-select: -moz-none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} @media print { .pagebreak { diff --git a/WebContent/printing/printing.html b/WebContent/printing/printing.html index df6523305..c383444b7 100644 --- a/WebContent/printing/printing.html +++ b/WebContent/printing/printing.html @@ -47,7 +47,7 @@ or see http://www.gnu.org/licenses/agpl.txt. - +
diff --git a/WebContent/utils/OSRM.debug.js b/WebContent/utils/OSRM.debug.js index bce76898a..8752ea38f 100644 --- a/WebContent/utils/OSRM.debug.js +++ b/WebContent/utils/OSRM.debug.js @@ -46,7 +46,7 @@ OSRM.debug.init = function() { var clear = document.createElement('a'); clear.id = "OSRM.debug-clear"; - clear.className = "button not-selectable"; + clear.className = "button"; clear.innerHTML = "clear"; clear.onclick = OSRM.debug.clear;