summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-06-22 14:15:47 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-24 13:27:21 +0200
commit0b7d03c69425745e4111eaaec718ef18182f198c (patch)
tree1529a46516ed9ebeb2b55e582aa263e483bbdcd0 /searx/static
parent14b09c15c488d657fd2b3b9de4955f48b40f5fb2 (diff)
downloadsearxng-0b7d03c69425745e4111eaaec718ef18182f198c.tar.gz
searxng-0b7d03c69425745e4111eaaec718ef18182f198c.zip
[stylelint] simple theme: fix some errors reported by stylelint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static')
-rw-r--r--searx/static/themes/simple/src/less/definitions.less5
-rw-r--r--searx/static/themes/simple/src/less/search.less14
-rw-r--r--searx/static/themes/simple/src/less/style.less23
-rw-r--r--searx/static/themes/simple/src/less/toolkit.less3
4 files changed, 16 insertions, 29 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less
index c1465a579..246f8daa1 100644
--- a/searx/static/themes/simple/src/less/definitions.less
+++ b/searx/static/themes/simple/src/less/definitions.less
@@ -38,11 +38,8 @@
@color-a-font: @color-base;
@color-a-font-hover: @color-base;
-
/// Start-Screen
-
-
/// Search-Input
@color-search-border: @color-base;
@@ -75,7 +72,6 @@
@color-categories-item-border-unselected: #E8E7E6;
@color-categories-item-border-unselected-hover: @color-base;
-
/// Results
@color-suggestions-button-background: @color-base;
@@ -108,7 +104,6 @@
@color-result-search-url-border: #888;
@color-result-search-url-font: #444;
-
/// Settings
@color-settings-fieldset: @color-base;
diff --git a/searx/static/themes/simple/src/less/search.less b/searx/static/themes/simple/src/less/search.less
index 88e033d65..ec67b9f1c 100644
--- a/searx/static/themes/simple/src/less/search.less
+++ b/searx/static/themes/simple/src/less/search.less
@@ -54,11 +54,6 @@
}
}
-#q::-ms-clear,
-#q::-webkit-search-cancel-button {
- display: none;
-}
-
#q,
#send_search {
display: block !important;
@@ -84,6 +79,11 @@
width: @search-width;
}
+#q::-ms-clear,
+#q::-webkit-search-cancel-button {
+ display: none;
+}
+
#send_search {
border-left: none;
width: 2.2em;
@@ -110,8 +110,8 @@
clear: both;
.checkbox_container {
- margin-top: 2px;
margin: auto;
+ margin-top: 2px;
}
}
@@ -246,7 +246,7 @@
opacity: 0;
transition: opacity 1s ease;
font-size: 0.8em;
- text-position: center;
+ text-align: center;
background: white;
}
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less
index dfde66172..2f91d36c0 100644
--- a/searx/static/themes/simple/src/less/style.less
+++ b/searx/static/themes/simple/src/less/style.less
@@ -16,13 +16,6 @@
@import "toolkit.less";
@import "autocomplete.less";
-// ion-icon
-.ion-icon-big {
- .ion-icon;
-
- font-size: 149%;
-}
-
// for index.html template
@import "index.less";
@@ -32,6 +25,13 @@
// Search-Field
@import "search.less";
+// ion-icon
+.ion-icon-big {
+ .ion-icon;
+
+ font-size: 149%;
+}
+
// Main LESS-Code
html {
font-family: arial, sans-serif;
@@ -54,13 +54,6 @@ main {
// position: absolute;
}
-footer {
- // position:absolute;
- bottom: 0;
- width: 100%;
- height: 50px;
-}
-
#main_preferences,
#main_about,
#main_stats {
@@ -711,7 +704,7 @@ article.result-images[data-vim-selected]::before {
#linkto_preferences {
display: none;
- postion: fixed !important;
+ position: fixed !important;
top: 100px;
right: 0;
}
diff --git a/searx/static/themes/simple/src/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less
index fafee6fd1..5f5ee2dfc 100644
--- a/searx/static/themes/simple/src/less/toolkit.less
+++ b/searx/static/themes/simple/src/less/toolkit.less
@@ -105,7 +105,6 @@ div.selectable_url {
padding: 4px;
color: @color-result-search-url-font;
width: 100%;
- display: block;
margin: 0.1em;
overflow: hidden;
height: 1.2em;
@@ -130,7 +129,7 @@ div.selectable_url {
position: absolute;
top: 0.5em;
left: 0.5em;
- font-family: "ion";
+ font-family: "ion"; // stylelint-disable font-family-no-missing-generic-family-keyword
font-size: 1.5em;
}