mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:29:03 +02:00
Prevent dragging
This commit is contained in:
parent
27d2aaa8ce
commit
9066682d32
2 changed files with 19 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head draggable="false">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Title</title>
|
<title>Title</title>
|
||||||
|
@ -15,6 +15,14 @@
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.disabledrag {
|
||||||
|
-webkit-user-drag: none !important;
|
||||||
|
-khtml-user-drag: none !important;
|
||||||
|
-moz-user-drag: none !important;
|
||||||
|
-o-user-drag: none !important;
|
||||||
|
user-drag: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
@ -153,12 +161,20 @@
|
||||||
background-color: #a62113 !important;
|
background-color: #a62113 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body,img,a,div {
|
||||||
|
-moz-user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-user-drag: none;
|
||||||
|
user-drag: none;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="Content row">
|
<div class="Content row">
|
||||||
|
|
||||||
<div class="col s12 valign-wrapper" style="padding: 10px ">
|
<div class="col s12 valign-wrapper" style="padding: 10px ">
|
||||||
<ul class="tabs tabs-fixed-width z-depth-2 col s6" id="tabs">
|
<ul class="tabs tabs-fixed-width z-depth-2 col s6" id="tabs">
|
||||||
<li class="tab col s2"><a class="black-text active" href="#Local">Local</a></li>
|
<li class="tab col s2"><a class="black-text active" href="#Local">Local</a></li>
|
||||||
|
@ -183,7 +199,6 @@
|
||||||
<div id="Domain" class="col s12 ChatLog"></div>
|
<div id="Domain" class="col s12 ChatLog"></div>
|
||||||
<div id="Grid" class="col s12 ChatLog"></div>
|
<div id="Grid" class="col s12 ChatLog"></div>
|
||||||
<input type="text" class="ChatInputText col s12" id="ChatInputText" size="256">
|
<input type="text" class="ChatInputText col s12" id="ChatInputText" size="256">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -457,4 +457,4 @@ function shutdown() {
|
||||||
}
|
}
|
||||||
chatBar.close();
|
chatBar.close();
|
||||||
chatHistory.close();
|
chatHistory.close();
|
||||||
}
|
}
|
Loading…
Reference in a new issue