summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less
diff options
context:
space:
mode:
authorBrock Vojkovic <github@vojk.au>2024-08-11 08:39:46 +0000
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-10-05 08:18:28 +0200
commite17d7632d0ed8284c218f65604ab5fa5d4b8ff81 (patch)
tree720692ebe4c8087f6c928d28f79bae5040a85605 /searx/static/themes/simple/src/less
parent3e747d0491b23f9431ce6ccc79875233614e165a (diff)
downloadsearxng-e17d7632d0ed8284c218f65604ab5fa5d4b8ff81.tar.gz
searxng-e17d7632d0ed8284c218f65604ab5fa5d4b8ff81.zip
[feat] add favicons to result urls
Diffstat (limited to 'searx/static/themes/simple/src/less')
-rw-r--r--searx/static/themes/simple/src/less/search.less9
-rw-r--r--searx/static/themes/simple/src/less/style-ltr.less4
-rw-r--r--searx/static/themes/simple/src/less/style-rtl.less4
-rw-r--r--searx/static/themes/simple/src/less/style.less1
4 files changed, 18 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/search.less b/searx/static/themes/simple/src/less/search.less
index f18a7ba2c..0c8fbe9f3 100644
--- a/searx/static/themes/simple/src/less/search.less
+++ b/searx/static/themes/simple/src/less/search.less
@@ -378,3 +378,12 @@ html.no-js #clear_search.hide_if_nojs {
#categories_container {
position: relative;
}
+
+.favicon img {
+ height: 1.8rem;
+ width: 1.8rem;
+ border-radius: 20%;
+ background-color: #ddd;
+ border: 1px solid #ccc;
+ display: flex;
+}
diff --git a/searx/static/themes/simple/src/less/style-ltr.less b/searx/static/themes/simple/src/less/style-ltr.less
index 6f7218b02..5d8c5dbe5 100644
--- a/searx/static/themes/simple/src/less/style-ltr.less
+++ b/searx/static/themes/simple/src/less/style-ltr.less
@@ -82,4 +82,8 @@
transform: scale(1, 1);
}
+.favicon {
+ margin: 0 8px 0 0;
+}
+
@import "style.less";
diff --git a/searx/static/themes/simple/src/less/style-rtl.less b/searx/static/themes/simple/src/less/style-rtl.less
index aa97e039c..aa663436f 100644
--- a/searx/static/themes/simple/src/less/style-rtl.less
+++ b/searx/static/themes/simple/src/less/style-rtl.less
@@ -96,6 +96,10 @@
.result .url_wrapper {
justify-content: end;
+
+ .favicon {
+ margin: 0 0 0 8px;
+ }
}
}
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less
index d35dd744c..29ae4039e 100644
--- a/searx/static/themes/simple/src/less/style.less
+++ b/searx/static/themes/simple/src/less/style.less
@@ -234,6 +234,7 @@ article[data-vim-selected].category-social {
.url_wrapper {
display: flex;
+ align-items: center;
font-size: 1rem;
color: var(--color-result-url-font);
flex-wrap: nowrap;