From ef5b0d9e16eff66ec513527ee8aa82e077366586 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 16 Jun 2017 18:36:05 +0300 Subject: [PATCH] Make everything unselectable by default --- client/css/style.css | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index 65f3f206..2a39455b 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -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 @@ -159,6 +165,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, @@ -552,14 +569,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; @@ -1392,10 +1401,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;