removed selection restrictions
This commit is contained in:
parent
c07f87edca
commit
903c4577d1
@ -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';
|
||||
|
@ -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 */
|
||||
|
@ -81,14 +81,14 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
|
||||
|
||||
<!-- body -->
|
||||
<body class="base-font not-selectable">
|
||||
<body class="base-font">
|
||||
|
||||
<!-- map -->
|
||||
<div id="map"></div>
|
||||
|
||||
<!-- notification -->
|
||||
<div id="notification-blanket">
|
||||
<div id="notification-wrapper" class="box-wrapper not-selectable">
|
||||
<div id="notification-wrapper" class="box-wrapper">
|
||||
<div id="notification-content" class="box-content">
|
||||
<!-- header -->
|
||||
<div id="notification-toggle" class="iconic-button cancel-marker top-right-button"></div>
|
||||
@ -101,7 +101,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
</div>
|
||||
|
||||
<!-- config gui -->
|
||||
<div id="config-wrapper" class="box-wrapper not-selectable">
|
||||
<div id="config-wrapper" class="box-wrapper">
|
||||
<div id="config-content" class="box-content">
|
||||
<!-- header -->
|
||||
<div id="config-toggle" class="iconic-button cancel-marker top-right-button"></div>
|
||||
@ -129,7 +129,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
</div>
|
||||
|
||||
<!-- mapping gui -->
|
||||
<div id="mapping-wrapper" class="box-wrapper not-selectable">
|
||||
<div id="mapping-wrapper" class="box-wrapper">
|
||||
<div id="mapping-content" class="box-content">
|
||||
<!-- header -->
|
||||
<div id="mapping-toggle" class="iconic-button cancel-marker top-right-button"></div>
|
||||
@ -151,7 +151,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
</div>
|
||||
|
||||
<!-- main gui -->
|
||||
<div id="main-wrapper" class="box-wrapper not-selectable">
|
||||
<div id="main-wrapper" class="box-wrapper">
|
||||
|
||||
<!-- input box -->
|
||||
<div id="main-input" class="box-content">
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -47,7 +47,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
||||
|
||||
|
||||
<!-- body -->
|
||||
<body class="base-font not-selectable">
|
||||
<body class="base-font">
|
||||
|
||||
<!-- header -->
|
||||
<div id="printing-header" class="noprint">
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user