Permalink
Browse files

fix(css): update user-select none (#4678)

  • Loading branch information...
kocoten1992 authored and gkatsev committed Oct 30, 2017
1 parent cb638d0 commit 43ddc72c80a340d709bacf8de566c88dba3a6ac1
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/css/_utilities.scss
View
@@ -82,10 +82,19 @@
}
// https://developer.mozilla.org/en-US/docs/Web/CSS/user-select
// https://stackoverflow.com/questions/826782/how-to-disable-text-selection-highlighting-using-css (version: January, 2017)
@mixin user-select($string: none) {
/* iOS Safari */
-webkit-touch-callout: $string;
/* Safari */
-webkit-user-select: $string;
/* Konqueror HTML */
-khtml-user-select: $string;
/* Firefox */
-moz-user-select: $string;
/* Internet Explorer/Edge */
-ms-user-select: $string;
/* Non-prefixed version, currently supported by Chrome and Opera */
user-select: $string;
}

0 comments on commit 43ddc72

Please sign in to comment.