diff --git a/searx/static/themes/simple/css/searxng-rtl.min.css b/searx/static/themes/simple/css/searxng-rtl.min.css index a39225846..359bcd000 100644 Binary files a/searx/static/themes/simple/css/searxng-rtl.min.css and b/searx/static/themes/simple/css/searxng-rtl.min.css differ diff --git a/searx/static/themes/simple/css/searxng-rtl.min.css.map b/searx/static/themes/simple/css/searxng-rtl.min.css.map index 3c7f557ac..147c68f18 100644 Binary files a/searx/static/themes/simple/css/searxng-rtl.min.css.map and b/searx/static/themes/simple/css/searxng-rtl.min.css.map differ diff --git a/searx/static/themes/simple/css/searxng.min.css b/searx/static/themes/simple/css/searxng.min.css index bbda942a1..111a43c32 100644 Binary files a/searx/static/themes/simple/css/searxng.min.css and b/searx/static/themes/simple/css/searxng.min.css differ diff --git a/searx/static/themes/simple/css/searxng.min.css.map b/searx/static/themes/simple/css/searxng.min.css.map index e8877caf5..f1ecf3d40 100644 Binary files a/searx/static/themes/simple/css/searxng.min.css.map and b/searx/static/themes/simple/css/searxng.min.css.map differ diff --git a/searx/static/themes/simple/src/less/index.less b/searx/static/themes/simple/src/less/index.less index 3f1084099..b80d75c8c 100644 --- a/searx/static/themes/simple/src/less/index.less +++ b/searx/static/themes/simple/src/less/index.less @@ -1,9 +1,5 @@ #main_index { margin-top: 26vh; - - #linkto_preferences { - .ltr-right(1.8rem); - } } .index { diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 4011dddb5..59b74aabe 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -576,7 +576,7 @@ article[data-vim-selected].category-social { #linkto_preferences { position: absolute; - .ltr-right(10px); + .ltr-right(1.8rem); top: 2.2rem; padding: 0; border: 0; diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 548710310..33b7a2cbe 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -47,6 +47,10 @@ {% endif %} + {% block linkto_preferences %} + {% from 'simple/icons.html' import icon_big %} + + {% endblock %} {% block header %} {% endblock %} {% block content %} diff --git a/searx/templates/simple/index.html b/searx/templates/simple/index.html index 1e4ea0c48..5a83e10a0 100644 --- a/searx/templates/simple/index.html +++ b/searx/templates/simple/index.html @@ -4,7 +4,6 @@ {% endblock %} {% block content %} -

SearXNG

{% include 'simple/simple_search.html' %} diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 6b21afee4..b674d5d02 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -94,6 +94,7 @@ {%- endmacro -%} {% block head %} {% endblock %} +{% block linkto_preferences %}{% endblock %} {% block content %}

{{ _('Preferences') }}

diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html index b9764addd..4149f83c3 100644 --- a/searx/templates/simple/results.html +++ b/searx/templates/simple/results.html @@ -10,7 +10,6 @@ {% block title %}{% if query_in_title %}{{- q|e }} - {% endif %}{% endblock %} {% block meta %}{% endblock %} {% block content %} - {% include 'simple/search.html' %} {% if results and results|map(attribute='template')|unique|list|count == 1 %}