summaryrefslogtreecommitdiff
path: root/searx/static/css/mixins.less
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-05 15:20:30 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-05 15:20:30 +0100
commit425ec3b70738e693922755b4ee8a8a73642b7fee (patch)
treeab3d3f02d7938796ec9ef3885c3ef636e7e1cca9 /searx/static/css/mixins.less
parente30f43bd81b3d7a682b3bb65eacd20ddb46b5230 (diff)
Using .less instead of .css
to generate the .css file from the .less file run: $make styles
Diffstat (limited to 'searx/static/css/mixins.less')
-rw-r--r--searx/static/css/mixins.less27
1 files changed, 27 insertions, 0 deletions
diff --git a/searx/static/css/mixins.less b/searx/static/css/mixins.less
new file mode 100644
index 000000000..dbccce6e3
--- /dev/null
+++ b/searx/static/css/mixins.less
@@ -0,0 +1,27 @@
+/*
+ * searx, A privacy-respecting, hackable metasearch engine
+ */
+
+// Mixins
+
+.text-size-adjust (@property: 100%) {
+ -webkit-text-size-adjust: @property;
+ -ms-text-size-adjust: @property;
+ -moz-text-size-adjust: @property;
+ text-size-adjust: @property;
+}
+
+.rounded-corners (@radius: 4px) {
+ -webkit-border-radius: @radius;
+ -moz-border-radius: @radius;
+ border-radius: @radius;
+}
+
+.user-select () {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}