From 425ec3b70738e693922755b4ee8a8a73642b7fee Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Wed, 5 Mar 2014 15:20:30 +0100 Subject: Using .less instead of .css to generate the .css file from the .less file run: $make styles --- searx/static/css/mixins.less | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 searx/static/css/mixins.less (limited to 'searx/static/css/mixins.less') 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; +} -- cgit v1.2.3