Skip to content

Commit

Permalink
mixing for .disable-user-behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Feb 21, 2014
1 parent 591dbc3 commit 2cff43d
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions scss/_util.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
@include user-select(none);
@include touch-callout(none);
@include tap-highlight-transparent();

-webkit-user-drag: none;

-ms-touch-action: none;
touch-action: none;

-webkit-touch-callout: none;
touch-callout: none;

-ms-content-zooming: none;
content-zooming: none;

-webkit-user-drag: none;
user-drag: none;

-webkit-tap-highlight-color: rgba(0,0,0,0);
tap-highlight-color: rgba(0,0,0,0);
}

.block {
Expand Down

0 comments on commit 2cff43d

Please sign in to comment.