Prevent .buttons being part of a user selection.

It is possible to select the text of a button, especially with a double click, this is ugly IMO.
This commit is contained in:
Brendan Moore 2016-01-31 21:08:05 +00:00
parent 4509738054
commit dfe7ecd440
3 changed files with 9 additions and 5 deletions

View File

@ -20,8 +20,4 @@
margin: 0 !important
.is-unselectable
-webkit-touch-callout: none
-webkit-user-select: none
-moz-user-select: none
-ms-user-select: none
user-select: none
+unselectable

View File

@ -15,6 +15,7 @@
.button
+control
+unselectable
padding: 3px 10px
text-align: center
white-space: nowrap

View File

@ -55,6 +55,13 @@
text-indent: -290486px
width: $width
=unselectable
-webkit-touch-callout: none
-webkit-user-select: none
-moz-user-select: none
-ms-user-select: none
user-select: none
$tablet: 769px
$desktop: 980px