summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/search.less
diff options
context:
space:
mode:
authorMrPaulBlack <paul.accounts@protonmail.com>2021-09-30 18:12:42 +0200
committerMrPaulBlack <paul.accounts@protonmail.com>2021-10-09 16:00:55 +0200
commit7c2a518d120ec02c4cead76faa1ba5fcec205373 (patch)
treec93abfab92a962062ac0a54b3680dc7bf30198b3 /searx/static/themes/simple/src/less/search.less
parent452b26638756e8412566bc320959402f6016565f (diff)
[theme] replace all hardcoded colors by css vars and drop ununsed vars
Diffstat (limited to 'searx/static/themes/simple/src/less/search.less')
-rw-r--r--searx/static/themes/simple/src/less/search.less10
1 files changed, 3 insertions, 7 deletions
diff --git a/searx/static/themes/simple/src/less/search.less b/searx/static/themes/simple/src/less/search.less
index 04a1bef30..db12289cb 100644
--- a/searx/static/themes/simple/src/less/search.less
+++ b/searx/static/themes/simple/src/less/search.less
@@ -6,7 +6,7 @@
padding: 0 2em 0 @results-offset;
margin: 0;
background: var(--color-header-background);
- border-bottom: 1px solid var(--color-header-border);
+ border-bottom: 1px solid var(--color-base-border);
}
#search_wrapper {
@@ -225,13 +225,9 @@
}
input[type="checkbox"]:focus + label {
- box-shadow: 0 0 8px #3498db;
+ box-shadow: 0 0 8px var(--color-base);
}
- /* label:hover {
- border-bottom: 2px solid @color-categories-item-border-unselected-hover;
- } */
-
input[type="checkbox"]:checked + label {
background: var(--color-categories-item-selected);
color: var(--color-categories-item-selected-font);
@@ -251,7 +247,7 @@
transition: opacity 1s ease;
font-size: 0.8em;
text-align: center;
- background: white;
+ background: var(--color-search-help);
}
&:hover .help {