diff options
Diffstat (limited to 'webapp/sass/utils')
-rw-r--r-- | webapp/sass/utils/_functions.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/webapp/sass/utils/_functions.scss b/webapp/sass/utils/_functions.scss index f399060cc..26e3c6147 100644 --- a/webapp/sass/utils/_functions.scss +++ b/webapp/sass/utils/_functions.scss @@ -21,3 +21,13 @@ -moz-osx-font-smoothing: grayscale; transform: translate(0, 0); } + +@mixin unselectable { + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ + + /* Rules below not implemented in browsers yet */ + -o-user-select: none; + user-select: none; +} |