diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-10-30 11:51:52 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-10-30 22:33:34 +0200 |
| commit | d0a31645145aa34dc41e0f4defcdf8c909b10416 (patch) | |
| tree | 85d4b11136c49452b279731f5f6c60da17c044d5 /searx/static/themes/simple/src/less/definitions.less | |
| parent | 67b0b68b407b6080dd3b9e424eb2cfefbda87e13 (diff) | |
[fix] simple theme: /preferences: dark theme version for select widgets
It is not possible to use CSS variable in a SVG when this is in a background.
This commit adds two .svg files, less converts them into data URL.
The two files are indentical except the fill color.
Diffstat (limited to 'searx/static/themes/simple/src/less/definitions.less')
| -rw-r--r-- | searx/static/themes/simple/src/less/definitions.less | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/definitions.less b/searx/static/themes/simple/src/less/definitions.less index 244bd817d..d99cca713 100644 --- a/searx/static/themes/simple/src/less/definitions.less +++ b/searx/static/themes/simple/src/less/definitions.less @@ -232,3 +232,7 @@ html { @icon-font-name: "glyphicons-halflings-regular"; //** Element ID within SVG icon file. @icon-font-svg-id: "glyphicons_halflingsregular"; + +// decoration of the select HTML elements +@select-light-svg-path: "../svg/select-light.svg"; +@select-dark-svg-path: "../svg/select-dark.svg"; |