diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-07-24 12:06:49 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-04-08 11:10:14 +0200 |
commit | f117f969d85566c4a9df6c8a41ec441756b1bfa8 (patch) | |
tree | e69ebf3ed7a48672a202e35521908a715b2ae77e /searx/static/themes/simple/src/less/preferences.less | |
parent | bbb2af7d94cf1e1ea61e5984c7f63cd5de643861 (diff) | |
download | searxng-f117f969d85566c4a9df6c8a41ec441756b1bfa8.tar.gz searxng-f117f969d85566c4a9df6c8a41ec441756b1bfa8.zip |
[mod] in the preference page, show !bang of subgrouping categories
The names of the subgrouping categories in the preference page are translated,
to use this categories the user needs to know by which !bang the category can be
selected. Related to "Make 'non tab category' bangs discoverable" in [#690].
Related:
- [#690] https://github.com/searxng/searxng/issues/690
- https://github.com/searxng/searxng/issues/1604
- https://github.com/searxng/searxng/pull/1545
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/src/less/preferences.less')
-rw-r--r-- | searx/static/themes/simple/src/less/preferences.less | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/preferences.less b/searx/static/themes/simple/src/less/preferences.less index 6913bbb90..4f446245a 100644 --- a/searx/static/themes/simple/src/less/preferences.less +++ b/searx/static/themes/simple/src/less/preferences.less @@ -72,6 +72,15 @@ font-size: 90%; } + .bang { + .ltr-text-align-left(); + .rounded-corners-tiny; + background-color: var(--color-doc-code-background); + color: var(--color-doc-code); + padding: 0.2rem; + border: 0 none; + } + table { border-collapse: collapse; } @@ -114,6 +123,10 @@ .engine-description { margin-top: 0.5rem; } + + .bang { + margin: 0.3rem; + } } } |