summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-08-19 18:22:14 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-10-05 08:18:28 +0200
commit5ded9ada823e12be96514505ba08157356d75ea7 (patch)
tree0f0801779b4130a9aa7fa704f2dcffa2d21e35ee /searx/static/themes/simple/src
parent7ab577a1fba43578b77f56b76275d0e65d03b318 (diff)
downloadsearxng-5ded9ada823e12be96514505ba08157356d75ea7.tar.gz
searxng-5ded9ada823e12be96514505ba08157356d75ea7.zip
[mod] UI: add favicon's border- and background color to the definitons
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/src')
-rw-r--r--searx/static/themes/simple/src/less/definitions.less6
-rw-r--r--searx/static/themes/simple/src/less/search.less4
2 files changed, 8 insertions, 2 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less
index 9f23ecaeb..cf3930c99 100644
--- a/searx/static/themes/simple/src/less/definitions.less
+++ b/searx/static/themes/simple/src/less/definitions.less
@@ -123,6 +123,9 @@
--color-loading-indicator: rgba(255, 255, 255, 0.2);
--color-loading-indicator-gap: #fff;
--color-line-number: #64708d;
+ // Favicons Colors
+ --color-favicon-background-color: #ddd;
+ --color-favicon-border-color: #ccc;
}
.dark-themes() {
@@ -235,6 +238,9 @@
--color-toolkit-loader-borderleft: rgba(0, 0, 0, 0);
--color-doc-code: #ddd;
--color-doc-code-background: #4d5a6f;
+ // Favicons Colors
+ --color-favicon-background-color: #ddd;
+ --color-favicon-border-color: #ccc;
}
.black-themes() {
diff --git a/searx/static/themes/simple/src/less/search.less b/searx/static/themes/simple/src/less/search.less
index 0c8fbe9f3..252af3844 100644
--- a/searx/static/themes/simple/src/less/search.less
+++ b/searx/static/themes/simple/src/less/search.less
@@ -383,7 +383,7 @@ html.no-js #clear_search.hide_if_nojs {
height: 1.8rem;
width: 1.8rem;
border-radius: 20%;
- background-color: #ddd;
- border: 1px solid #ccc;
+ background-color: var(--color-favicon-background-color);
+ border: 1px solid var(--color-favicon-border-color);
display: flex;
}