Make everything unselectable by default

This commit is contained in:
Pavel Djundik 2017-06-16 18:36:05 +03:00 committed by Pavel Djundik
parent 1a6f2fc387
commit ef5b0d9e16

View File

@ -40,6 +40,12 @@ body {
font: 16px Lato, sans-serif; font: 16px Lato, sans-serif;
margin: 0; margin: 0;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
/** /**
* Disable pull-to-refresh on mobile that conflicts with scrolling the message list. * Disable pull-to-refresh on mobile that conflicts with scrolling the message list.
* See http://stackoverflow.com/a/29313685/1935861 * See http://stackoverflow.com/a/29313685/1935861
@ -159,6 +165,17 @@ kbd {
color: rgba(0, 0, 0, .35) !important; color: rgba(0, 0, 0, .35) !important;
} }
#help,
#windows .header .title,
#windows .header .topic,
#chat .messages {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
cursor: text;
}
/* Icons */ /* Icons */
#viewport .lt:before, #viewport .lt:before,
@ -552,14 +569,6 @@ kbd {
right: 3px; right: 3px;
} }
#sidebar,
#footer {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#footer { #footer {
background: rgba(0, 0, 0, .06); background: rgba(0, 0, 0, .06);
bottom: 0; bottom: 0;
@ -1392,10 +1401,6 @@ kbd {
padding-left: 9px; padding-left: 9px;
padding-right: 5px; padding-right: 5px;
border-radius: 2px; border-radius: 2px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-flex: 0 0 auto; -webkit-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
border: 1px solid transparent; border: 1px solid transparent;