Using .less instead of .css

to generate the .css file from the .less file run: $make styles
This commit is contained in:
Thomas Pointhuber
2014-03-05 15:20:30 +01:00
parent e30f43bd81
commit 425ec3b707
6 changed files with 749 additions and 227 deletions

View File

@@ -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;
}