mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
Add a helper for the user-select
vendor prefix CSS
This commit is contained in:
parent
ae1743c61f
commit
552b66a2ff
@ -88,10 +88,14 @@
|
||||
|
||||
// Unselectable (avoids unwanted selections with iPad, touch laptops, etc)
|
||||
|
||||
@mixin user-select($mode) {
|
||||
-webkit-user-select: $mode;
|
||||
-moz-user-select: $mode;
|
||||
-ms-user-select: $mode;
|
||||
}
|
||||
|
||||
@mixin unselectable {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
@include user-select(none);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user