summaryrefslogtreecommitdiff
path: root/searx/static/default/less/mixins.less
diff options
context:
space:
mode:
authorMatej Cotman <cotman.matej@gmail.com>2014-04-24 23:46:40 +0000
committerMatej Cotman <cotman.matej@gmail.com>2014-06-05 13:18:22 +0200
commit08eaffe245303818069df3332eece11f41a0bd8e (patch)
tree9a111cc283b644de9f9df306c531644e8421e283 /searx/static/default/less/mixins.less
parent3386e21cdf30bf0accb84e2dcc4dea0076af1b90 (diff)
add multi theming support
Diffstat (limited to 'searx/static/default/less/mixins.less')
-rw-r--r--searx/static/default/less/mixins.less27
1 files changed, 27 insertions, 0 deletions
diff --git a/searx/static/default/less/mixins.less b/searx/static/default/less/mixins.less
new file mode 100644
index 000000000..dbccce6e3
--- /dev/null
+++ b/searx/static/default/less/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;
+}