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
|
// create handle DOM elements
|
||||||
var wrapper = document.createElement('div');
|
var wrapper = document.createElement('div');
|
||||||
wrapper.id = box_name + '-handle-wrapper';
|
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;
|
wrapper.style.cssText += css;
|
||||||
var content = document.createElement('div');
|
var content = document.createElement('div');
|
||||||
content.id = box_name + '-handle-content';
|
content.id = box_name + '-handle-content';
|
||||||
|
@ -589,23 +589,6 @@ input[type=checkbox],
|
|||||||
min-height:10px;
|
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 */
|
/* table styles */
|
||||||
|
@ -81,14 +81,14 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
|||||||
|
|
||||||
|
|
||||||
<!-- body -->
|
<!-- body -->
|
||||||
<body class="base-font not-selectable">
|
<body class="base-font">
|
||||||
|
|
||||||
<!-- map -->
|
<!-- map -->
|
||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
|
|
||||||
<!-- notification -->
|
<!-- notification -->
|
||||||
<div id="notification-blanket">
|
<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">
|
<div id="notification-content" class="box-content">
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<div id="notification-toggle" class="iconic-button cancel-marker top-right-button"></div>
|
<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>
|
</div>
|
||||||
|
|
||||||
<!-- config gui -->
|
<!-- 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">
|
<div id="config-content" class="box-content">
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<div id="config-toggle" class="iconic-button cancel-marker top-right-button"></div>
|
<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>
|
</div>
|
||||||
|
|
||||||
<!-- mapping gui -->
|
<!-- 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">
|
<div id="mapping-content" class="box-content">
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<div id="mapping-toggle" class="iconic-button cancel-marker top-right-button"></div>
|
<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>
|
</div>
|
||||||
|
|
||||||
<!-- main gui -->
|
<!-- main gui -->
|
||||||
<div id="main-wrapper" class="box-wrapper not-selectable">
|
<div id="main-wrapper" class="box-wrapper">
|
||||||
|
|
||||||
<!-- input box -->
|
<!-- input box -->
|
||||||
<div id="main-input" class="box-content">
|
<div id="main-input" class="box-content">
|
||||||
|
@ -173,14 +173,6 @@ div.label
|
|||||||
min-width:10px;
|
min-width:10px;
|
||||||
min-height: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 {
|
@media print {
|
||||||
.pagebreak
|
.pagebreak
|
||||||
{
|
{
|
||||||
|
@ -47,7 +47,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
|||||||
|
|
||||||
|
|
||||||
<!-- body -->
|
<!-- body -->
|
||||||
<body class="base-font not-selectable">
|
<body class="base-font">
|
||||||
|
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<div id="printing-header" class="noprint">
|
<div id="printing-header" class="noprint">
|
||||||
|
@ -46,7 +46,7 @@ OSRM.debug.init = function() {
|
|||||||
|
|
||||||
var clear = document.createElement('a');
|
var clear = document.createElement('a');
|
||||||
clear.id = "OSRM.debug-clear";
|
clear.id = "OSRM.debug-clear";
|
||||||
clear.className = "button not-selectable";
|
clear.className = "button";
|
||||||
clear.innerHTML = "clear";
|
clear.innerHTML = "clear";
|
||||||
clear.onclick = OSRM.debug.clear;
|
clear.onclick = OSRM.debug.clear;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user