diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-01-23 11:10:40 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-02-28 12:27:41 +0100 |
| commit | a1132deaa4618f228e82252397247a150081a5f3 (patch) | |
| tree | 0445fbe04c8932acdfbe5362db40ea1782f38539 /searx/static/themes/simple/src/less/autocomplete.less | |
| parent | b6487b70aaa199aba6ae999a9c99b340b5e98884 (diff) | |
[web-client] simple theme: move sources to client/simple/src
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/src/less/autocomplete.less')
| -rw-r--r-- | searx/static/themes/simple/src/less/autocomplete.less | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/searx/static/themes/simple/src/less/autocomplete.less b/searx/static/themes/simple/src/less/autocomplete.less deleted file mode 100644 index 8285ff2c6..000000000 --- a/searx/static/themes/simple/src/less/autocomplete.less +++ /dev/null @@ -1,74 +0,0 @@ -/*! Autocomplete.js v2.6.3 | license MIT | (c) 2017, Baptiste Donaux | http://autocomplete-js.com */ - -.autocomplete { - position: absolute; - width: @search-width; - max-height: 0; - overflow-y: hidden; - .ltr-text-align-left(); - - .rounded-corners; - - &:active, - &:focus, - &:hover { - background-color: var(--color-autocomplete-background); - } - - &:empty { - display: none; - } - - > ul { - list-style-type: none; - margin: 0; - padding: 0; - - > li { - cursor: pointer; - padding: 0.5rem 1rem; - - &.active, - &:active, - &:focus, - &:hover { - background-color: var(--color-autocomplete-background-hover); - - a:active, - a:focus, - a:hover { - text-decoration: none; - } - } - - &.locked { - cursor: inherit; - } - } - } - - &.open { - display: block; - background-color: var(--color-autocomplete-background); - color: var(--color-autocomplete-font); - max-height: 32rem; - overflow-y: auto; - z-index: 5000; - margin-top: 3.5rem; - border-radius: 0.8rem; - - &:empty { - display: none; - } - } -} - -@media screen and (max-width: @phone) { - .autocomplete { - width: 100%; - - > ul > li { - padding: 1rem; - } - } -} |