Loading searx/infopage/__init__.py +1 −0 Original line number Diff line number Diff line Loading @@ -134,6 +134,7 @@ class InfoPageSet: # pylint: disable=too-few-public-methods self.toc: typing.List[str] = [ 'search-syntax', 'about', 'donate', ] """list of articles in the online documentation""" Loading searx/static/themes/simple/gruntfile.js +2 −0 Original line number Diff line number Diff line Loading @@ -189,6 +189,8 @@ module.exports = function (grunt) { 'school-outline': 'node_modules/ionicons/dist/svg/school-outline.svg', 'file-tray-full-outline': 'node_modules/ionicons/dist/svg/file-tray-full-outline.svg', 'people-outline': 'node_modules/ionicons/dist/svg/people-outline.svg', 'heart-outline': 'node_modules/ionicons/dist/svg/heart-outline.svg', 'help-circle-outline': 'src/svg/help-circle-outline.svg', }, dest: '../../../templates/simple/icons.html', }, Loading searx/static/themes/simple/src/less/style.less +44 −5 Original line number Diff line number Diff line Loading @@ -639,16 +639,30 @@ article[data-vim-selected].category-social { } } #linkto_preferences { #links_on_top { position: absolute; .ltr-right(1.8rem); .ltr-text-align-right(); top: 2.2rem; padding: 0; border: 0; display: block; font-size: 1.2em; display: flex; align-items: center; font-size: 1em; color: var(--color-search-font); a { display: flex; align-items: center; margin-left: 1em; svg { font-size: 1.2em; .ltr-margin-right(0.125em); } } a, a:link *, a:hover *, a:visited *, Loading Loading @@ -706,6 +720,12 @@ article[data-vim-selected].category-social { */ .results-tablet() { #links_on_top { span { display: none; } } .page_with_header { margin: 2rem 0.5rem; width: auto; Loading Loading @@ -806,6 +826,25 @@ article[data-vim-selected].category-social { } } @media screen and (max-width: calc(@tablet - 0.5px)) { #links_on_top { span { display: none; } } } @media screen and (max-width: 52rem) { body.results_endpoint { #links_on_top { .link_on_top_about, .link_on_top_donate { display: none; } } } } @media screen and (min-width: @phone) and (max-width: @tablet) { // when .center-aligment-yes, see style-center.less // the media query includes "min-width: @phone" Loading Loading @@ -872,12 +911,12 @@ article[data-vim-selected].category-social { margin: 1rem 0 0 0; } #linkto_preferences { #links_on_top { top: 0.8rem; .ltr-right(0.7rem); } #main_index #linkto_preferences { #main_index #links_on_top { top: 0.5rem; .ltr-right(0.5rem); } Loading searx/static/themes/simple/src/svg/help-circle-outline.svg 0 → 100644 +0 −0 File added.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View file searx/templates/simple/base.html +12 −4 Original line number Diff line number Diff line Loading @@ -40,10 +40,18 @@ </div> {% endif %} {% block linkto_preferences %} {% from 'simple/icons.html' import icon_big %} <nav id="linkto_preferences"><a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}">{{ icon_big('menu-outline') }}</a></nav> {% endblock %} <nav id="links_on_top"> {%- from 'simple/icons.html' import icon_big -%} {%- block linkto_about -%} <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('help-circle-outline') }}<span>{{ _('About') }}</span></a> {%- endblock -%} {%- block linkto_donate -%} <a href="{{ url_for('info', pagename='donate') }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a> {%- endblock -%} {%- block linkto_preferences -%} <a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}</a> {%- endblock -%} </nav> {% block header %} {% endblock %} {% block content %} Loading Loading
searx/infopage/__init__.py +1 −0 Original line number Diff line number Diff line Loading @@ -134,6 +134,7 @@ class InfoPageSet: # pylint: disable=too-few-public-methods self.toc: typing.List[str] = [ 'search-syntax', 'about', 'donate', ] """list of articles in the online documentation""" Loading
searx/static/themes/simple/gruntfile.js +2 −0 Original line number Diff line number Diff line Loading @@ -189,6 +189,8 @@ module.exports = function (grunt) { 'school-outline': 'node_modules/ionicons/dist/svg/school-outline.svg', 'file-tray-full-outline': 'node_modules/ionicons/dist/svg/file-tray-full-outline.svg', 'people-outline': 'node_modules/ionicons/dist/svg/people-outline.svg', 'heart-outline': 'node_modules/ionicons/dist/svg/heart-outline.svg', 'help-circle-outline': 'src/svg/help-circle-outline.svg', }, dest: '../../../templates/simple/icons.html', }, Loading
searx/static/themes/simple/src/less/style.less +44 −5 Original line number Diff line number Diff line Loading @@ -639,16 +639,30 @@ article[data-vim-selected].category-social { } } #linkto_preferences { #links_on_top { position: absolute; .ltr-right(1.8rem); .ltr-text-align-right(); top: 2.2rem; padding: 0; border: 0; display: block; font-size: 1.2em; display: flex; align-items: center; font-size: 1em; color: var(--color-search-font); a { display: flex; align-items: center; margin-left: 1em; svg { font-size: 1.2em; .ltr-margin-right(0.125em); } } a, a:link *, a:hover *, a:visited *, Loading Loading @@ -706,6 +720,12 @@ article[data-vim-selected].category-social { */ .results-tablet() { #links_on_top { span { display: none; } } .page_with_header { margin: 2rem 0.5rem; width: auto; Loading Loading @@ -806,6 +826,25 @@ article[data-vim-selected].category-social { } } @media screen and (max-width: calc(@tablet - 0.5px)) { #links_on_top { span { display: none; } } } @media screen and (max-width: 52rem) { body.results_endpoint { #links_on_top { .link_on_top_about, .link_on_top_donate { display: none; } } } } @media screen and (min-width: @phone) and (max-width: @tablet) { // when .center-aligment-yes, see style-center.less // the media query includes "min-width: @phone" Loading Loading @@ -872,12 +911,12 @@ article[data-vim-selected].category-social { margin: 1rem 0 0 0; } #linkto_preferences { #links_on_top { top: 0.8rem; .ltr-right(0.7rem); } #main_index #linkto_preferences { #main_index #links_on_top { top: 0.5rem; .ltr-right(0.5rem); } Loading
searx/static/themes/simple/src/svg/help-circle-outline.svg 0 → 100644 +0 −0 File added.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View file
searx/templates/simple/base.html +12 −4 Original line number Diff line number Diff line Loading @@ -40,10 +40,18 @@ </div> {% endif %} {% block linkto_preferences %} {% from 'simple/icons.html' import icon_big %} <nav id="linkto_preferences"><a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}">{{ icon_big('menu-outline') }}</a></nav> {% endblock %} <nav id="links_on_top"> {%- from 'simple/icons.html' import icon_big -%} {%- block linkto_about -%} <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('help-circle-outline') }}<span>{{ _('About') }}</span></a> {%- endblock -%} {%- block linkto_donate -%} <a href="{{ url_for('info', pagename='donate') }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a> {%- endblock -%} {%- block linkto_preferences -%} <a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}</a> {%- endblock -%} </nav> {% block header %} {% endblock %} {% block content %} Loading