X Tutup
Skip to content

Commit 1622589

Browse files
jancborchardtrullzer
authored andcommitted
prevent selecting on log in page to solve ugliness on accidental selection
1 parent fd96331 commit 1622589

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

core/css/styles.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ body {
254254
width: 22em;
255255
margin: 0 auto;
256256
padding-top: 20px;
257+
-webkit-user-select: none;
258+
-moz-user-select: none;
259+
-ms-user-select: none;
260+
user-select: none;
257261
}
258262
#body-login p.info a {
259263
font-weight: 600;
@@ -291,6 +295,10 @@ body {
291295
#body-login form fieldset {
292296
margin-bottom: 20px;
293297
text-align: left;
298+
-webkit-user-select: none;
299+
-moz-user-select: none;
300+
-ms-user-select: none;
301+
user-select: none;
294302
}
295303
#body-login form #sqliteInformation {
296304
margin-top: -20px;
@@ -348,6 +356,10 @@ body {
348356
.groupmiddle,
349357
.groupbottom {
350358
position: relative;
359+
-webkit-user-select: none;
360+
-moz-user-select: none;
361+
-ms-user-select: none;
362+
user-select: none;
351363
}
352364
#body-login .grouptop input,
353365
.grouptop input {
@@ -385,6 +397,10 @@ label.infield {
385397
padding: 14px;
386398
padding-left: 28px;
387399
vertical-align: middle;
400+
-webkit-user-select: none;
401+
-moz-user-select: none;
402+
-ms-user-select: none;
403+
user-select: none;
388404
}
389405
html.ie8 #body-login form input[type="checkbox"]+label {
390406
margin-left: -28px;

0 commit comments

Comments
 (0)
X Tutup