From 1f0cb71e8691ab42ce3c23f9b0fffb0d1dd1faa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Mon, 20 Oct 2014 11:09:50 +0200 Subject: [PATCH] Make buttons unselectable This improves copying and pasting quite a lot --- css/glowingbear.css | 8 ++++++++ directives/input.html | 2 +- directives/plugin.html | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index e92d6f4..8a28941 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -478,6 +478,14 @@ li.buffer.indent.private a { font-size: small; } +.unselectable { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + /* */ /* Mobile layout */ /* */ diff --git a/directives/input.html b/directives/input.html index 6f1e4b6..553dcfa 100644 --- a/directives/input.html +++ b/directives/input.html @@ -3,7 +3,7 @@ - + diff --git a/directives/plugin.html b/directives/plugin.html index 9c9afee..f3cd7b3 100644 --- a/directives/plugin.html +++ b/directives/plugin.html @@ -1,5 +1,5 @@
- @@ -8,7 +8,7 @@
-