summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/static/themes/simple/src/less/code.less1
-rw-r--r--searx/static/themes/simple/src/less/style.less2
-rw-r--r--searx/static/themes/simple/src/less/toolkit.less3
3 files changed, 6 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/code.less b/searx/static/themes/simple/src/less/code.less
index 37467b0a2..f4e6735ba 100644
--- a/searx/static/themes/simple/src/less/code.less
+++ b/searx/static/themes/simple/src/less/code.less
@@ -5,4 +5,5 @@
border: inherit;
}
+// stylelint-disable no-invalid-position-at-import-rule
@import "../generated/pygments.less";
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less
index 2f91d36c0..49e81acbd 100644
--- a/searx/static/themes/simple/src/less/style.less
+++ b/searx/static/themes/simple/src/less/style.less
@@ -4,6 +4,8 @@
* To convert "style.less" to "style.css" run: $make styles
*/
+// stylelint-disable no-descending-specificity
+
@stacked-bar-chart: rgb(0, 0, 0);
@import "../../__common__/less/new_issue.less";
diff --git a/searx/static/themes/simple/src/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less
index 5f5ee2dfc..8a5a7ef38 100644
--- a/searx/static/themes/simple/src/less/toolkit.less
+++ b/searx/static/themes/simple/src/less/toolkit.less
@@ -1,4 +1,7 @@
// other solution : http://stackoverflow.com/questions/1577598/how-to-hide-parts-of-html-when-javascript-is-disabled/13857783#13857783
+
+// stylelint-disable no-descending-specificity
+
html.no-js .hide_if_nojs {
display: none;
}