Prevent users selecting elements of the UI that shouldn't be selectable. Fixes #1976

This commit is contained in:
Dave Page
2016-11-18 10:55:00 +00:00
parent 8e60f33e65
commit 687f1f640f
4 changed files with 48 additions and 24 deletions

View File

@@ -1450,3 +1450,18 @@ table.backgrid {
.backgrid td.editor input[type=password]::-ms-clear {
display: none;
}
/* Disable text selection where not wanted */
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.enable-selection, .form-control, .backgrid td {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}