From f77d60e504cc5ef5bfb902f0468073a37f43e205 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Thu, 6 Aug 2020 23:24:54 +0200 Subject: [PATCH] noSelect class for disabling selecting items. --- frontend/styles/global.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/styles/global.scss b/frontend/styles/global.scss index dd55e5c..a601a39 100644 --- a/frontend/styles/global.scss +++ b/frontend/styles/global.scss @@ -137,7 +137,14 @@ h4 { } } - +.noSelect { + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; /* Non-prefixed version, currently */ +} // Colors .bg-green {