diff options
author | MrPaulBlack <paul.accounts@protonmail.com> | 2021-09-28 22:41:56 +0200 |
---|---|---|
committer | MrPaulBlack <paul.accounts@protonmail.com> | 2021-10-09 16:00:55 +0200 |
commit | 452b26638756e8412566bc320959402f6016565f (patch) | |
tree | b4d6ca3293d1ffa8da17ac1919eae503c2497a12 /searx/static/themes/simple/src/less/autocomplete.less | |
parent | 878d5d657c1064762da70b03b488517a2b82e759 (diff) | |
download | searxng-452b26638756e8412566bc320959402f6016565f.tar.gz searxng-452b26638756e8412566bc320959402f6016565f.zip |
[theme] convert less vars to css vars in simple theme
Diffstat (limited to 'searx/static/themes/simple/src/less/autocomplete.less')
-rw-r--r-- | searx/static/themes/simple/src/less/autocomplete.less | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/searx/static/themes/simple/src/less/autocomplete.less b/searx/static/themes/simple/src/less/autocomplete.less index bfa8e2bc6..0df6fa550 100644 --- a/searx/static/themes/simple/src/less/autocomplete.less +++ b/searx/static/themes/simple/src/less/autocomplete.less @@ -1,7 +1,5 @@ /*! Autocomplete.js v2.6.3 | license MIT | (c) 2017, Baptiste Donaux | http://autocomplete-js.com */ -@background_color: white; - .autocomplete { position: absolute; max-height: 0; @@ -11,7 +9,7 @@ &:active, &:focus, &:hover { - background-color: @background_color; + background-color: var(--background_color); } &:empty { @@ -30,7 +28,7 @@ &.active, &:active, &:focus { - background-color: @color-base; + background-color: var(--color-base); a:active, a:focus, @@ -47,8 +45,8 @@ &.open { display: block; - background-color: @background_color; - border: 1px solid @color-base; + background-color: var(--background_color); + border: 1px solid var(--color-base); max-height: 500px; overflow-y: auto; z-index: 100; @@ -66,7 +64,7 @@ .autocomplete > ul > li { padding: 7px 0 7px 10px; - border-bottom: 1px solid @color-result-top-border; + border-bottom: 1px solid var(--color-result-top-border); text-align: left; } } |