From 7ea14a4459708353d9847fb6476513ccb8282a6e Mon Sep 17 00:00:00 2001 From: Randson Oliveira Date: Fri, 8 May 2015 21:07:53 -0400 Subject: [PATCH] Add mixin user-select --- less/helpers/prefixer.less | 2 +- less/mixins/user-select.less | 7 +++++++ less/stretch.less | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 less/mixins/user-select.less diff --git a/less/helpers/prefixer.less b/less/helpers/prefixer.less index 73f5491..7c747e0 100644 --- a/less/helpers/prefixer.less +++ b/less/helpers/prefixer.less @@ -4,4 +4,4 @@ -ms-@{prop}: @val; // IE 9 -o-@{prop}: @val; @{prop}: @val; -} +} \ No newline at end of file diff --git a/less/mixins/user-select.less b/less/mixins/user-select.less new file mode 100644 index 0000000..85b9d82 --- /dev/null +++ b/less/mixins/user-select.less @@ -0,0 +1,7 @@ + +// User select +// +// For selecting text on the page +.user-select(@select) { + .prefixer(user-select, @select); +} \ No newline at end of file diff --git a/less/stretch.less b/less/stretch.less index 83f4bb7..e644776 100644 --- a/less/stretch.less +++ b/less/stretch.less @@ -20,6 +20,7 @@ @import "mixins/size.less"; @import "mixins/opacity.less"; @import "mixins/box-sizing.less"; +@import "mixins/user-select.less"; // Functions