From 2cff43de7b7c5d8cdde366cefe7a6e1aa29e7dd0 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 20 Feb 2014 21:59:45 -0600 Subject: [PATCH] mixing for .disable-user-behavior --- scss/_util.scss | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/scss/_util.scss b/scss/_util.scss index 28ef73872c..f26f9e2b0a 100644 --- a/scss/_util.scss +++ b/scss/_util.scss @@ -42,25 +42,14 @@ // used to prevent the browser from doing its native behavior. this doesnt // prevent the scrolling, but cancels the contextmenu, tap highlighting, etc - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - - -ms-touch-action: none; - touch-action: none; - - -webkit-touch-callout: none; - touch-callout: none; - - -ms-content-zooming: none; - content-zooming: none; + @include user-select(none); + @include touch-callout(none); + @include tap-highlight-transparent(); -webkit-user-drag: none; - user-drag: none; - - -webkit-tap-highlight-color: rgba(0,0,0,0); - tap-highlight-color: rgba(0,0,0,0); + + -ms-touch-action: none; + -ms-content-zooming: none; } .block {