Merge pull request #1233 from thelounge/xPaw/user-select
Make everything unselectable by default
This commit is contained in:
commit
ead4a7f791
@ -40,6 +40,12 @@ body {
|
||||
font: 16px Lato, sans-serif;
|
||||
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.
|
||||
* See http://stackoverflow.com/a/29313685/1935861
|
||||
@ -155,6 +161,17 @@ kbd {
|
||||
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 */
|
||||
|
||||
#viewport .lt:before,
|
||||
@ -551,14 +568,6 @@ kbd {
|
||||
right: 3px;
|
||||
}
|
||||
|
||||
#sidebar,
|
||||
#footer {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#footer {
|
||||
background: rgba(0, 0, 0, .06);
|
||||
bottom: 0;
|
||||
@ -1394,10 +1403,6 @@ kbd {
|
||||
padding-left: 9px;
|
||||
padding-right: 5px;
|
||||
border-radius: 2px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
border: 1px solid transparent;
|
||||
|
Loading…
Reference in New Issue
Block a user