Commit Graph

546 Commits

Author SHA1 Message Date
ormai a89848b0ec Improve the layout of the search page on mobile 2023-11-02 10:10:36 +01:00
Markus Heiser d00c4bf496 [build] /static 2023-11-02 10:10:36 +01:00
MatthieuBarbu a6dd432782 rebrand
add zaclys menu
adjust style
2023-11-02 10:10:36 +01:00
Markus Heiser a8d42bcad3 [build] /static 2023-11-02 10:08:01 +01:00
Markus Heiser e09663fe81 [build] /static 2023-11-02 10:02:27 +01:00
MatthieuBarbu 9a8b853e03 fix logo size for ultra small screen 2023-11-02 09:54:48 +01:00
MatthieuBarbu b87ee6be8a new version + new build 2023-10-19 18:14:37 +02:00
Markus Heiser 08551001d4 [build] /static 2023-10-19 18:05:38 +02:00
Bnyro 0971fb0aee [fix] search.js: crash on homepage when setting form listeners 2023-10-19 18:05:12 +02:00
Jinyuan Huang 7722a9b40e [fix] settings icon invisble on mobile devices 2023-10-19 18:04:37 +02:00
Bnyro 82e6016987 [fix] search.less: start page search view on mobile devices 2023-10-19 18:04:21 +02:00
ormai 8de723e2fd Improve the layout of the search page on mobile 2023-10-19 18:04:05 +02:00
Emilien Devos a00e5d2d75 better error message when no results found 2023-10-19 18:03:21 +02:00
Markus Heiser 31aa1c7c33 [build] /static 2023-10-19 18:03:21 +02:00
Jinyuan Huang 208e458b32 [mod] reformatted keyBindingLayouts in JS client (default, vim) 2023-10-19 18:03:08 +02:00
Markus Heiser 2757f60dac [build] /static 2023-10-19 18:03:08 +02:00
Bnyro e26c7dab4d [feat] search on category select without JS
Co-authored-by: Alexandre Flament <alex@al-f.net>
2023-10-19 18:02:46 +02:00
Markus Heiser 72e8dc1e91 [build] /static 2023-10-19 18:02:05 +02:00
Jinyuan Huang 3bd3aa325e [fix] keyboard navigation / simple theme (UI)
- avoid loop select
- fix select next item in mixed result lists

Replaces: https://github.com/searxng/searxng/pull/2789
Closes: https://github.com/searxng/searxng/issues/2751
Closes: https://github.com/searxng/searxng/issues/2788
2023-10-19 18:01:36 +02:00
Jinyuan Huang 73fd5b6ab6 [mod] UI smooth scroll added / CSS scroll-behavior
This PR improves the UX by making auto-scroll more smoother.  The css is changed
so all the auto-scroll will be smoother but User-scroll will not be influenced.

  The scroll-behavior CSS property sets the behavior for a scrolling box when
  scrolling is triggered by the navigation or CSSOM scrolling APIs.[1]

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
2023-10-19 18:01:18 +02:00
MatthieuBarbu bdd3c3deea rebrand
add zaclys menu
adjust style
2023-09-13 16:03:59 +02:00
Markus Heiser 27df993c4c [build] /static 2023-09-13 16:03:12 +02:00
Markus Heiser 396c088c50 [mod] improve handling of the hotkeys
- KeyboardEvent: keyCode property is depricated, replaced by key property [2]

- the check for ifDetailOpened is not necessary, because the hotkeys are not
  only applicable to image-results, by example:

   `!goi !go !scc hello`

- Key bindings like h for help are to be used in general (not only in vim-mode)

[1] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
[2] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-13 16:03:12 +02:00
Jinyuan Huang ba7659dd1d [feature] key bindings: left & right arrow are always on 2023-09-13 16:03:12 +02:00
Markus Heiser 00a98865b6 [feature] dark theme for code highlighter in the result list
Closes: https://github.com/searxng/searxng/issues/1354

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-13 16:02:53 +02:00
Markus Heiser dfbc752357 [build] /static 2023-09-13 16:02:04 +02:00
MatthieuBarbu 634c56d171 fix again 2023-09-10 17:07:27 +02:00
MatthieuBarbu 1211d566b9 fix top value for detail image on mobile 2023-09-10 17:02:23 +02:00
MatthieuBarbu 23cb7713b8 fix detail image for mobile 2023-09-10 16:55:31 +02:00
MatthieuBarbu 354e0cdfe0 fix detail buttons (prev next close) 2023-09-10 16:45:22 +02:00
MatthieuBarbu e71b540e2f build new theme 2023-09-10 16:37:40 +02:00
Markus Heiser 33065a619e [fix] preferences - layout of the "special queries" tab
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
Markus Heiser a3c31a97ef [build] /static 2023-09-10 16:22:50 +02:00
MatthieuBarbu 828f600e71 fix detail img 2023-09-10 16:20:48 +02:00
MatthieuBarbu 2e5e5be7d9 debug style for mobile
+ build
2023-09-05 09:45:44 +02:00
MatthieuBarbu 87d3112265 fix bug on menu script
+ ajust top of result page on mobile
+ build
2023-09-04 17:49:32 +02:00
Markus Heiser 97b326a0e3 [build] /static 2023-09-04 17:25:30 +02:00
MatthieuBarbu 45ef7ef25e add rebuild theme 2023-08-28 10:28:48 +02:00
Markus Heiser 8bab384843 [build] /static 2023-08-28 10:25:44 +02:00
Bnyro 0264a1a205 [feat] results: show source of suggested answer 2023-08-28 10:23:45 +02:00
MatthieuBarbu 7c4e5b3860 rebrand
add zaclys menu
adjust style
2023-08-28 09:52:05 +02:00
Markus Heiser c348427f07 [update] make pygments.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-11 10:54:50 +02:00
mrpaulblack b477349824 [build] /static 2023-07-19 15:07:45 +02:00
Kiru de5c1cedca fix "#backToTop" button always being clickable
`pointer-events` never gets set to "none" when the button is hidden,
allowing you to click the button. And your mouse further changes it's
cursor to the pointer style.
2023-07-19 15:06:09 +02:00
Markus Heiser b867c39ce0 [build] /static 2023-06-02 19:05:43 +02:00
Markus Heiser 2149e88bdd [mod] template preferences: split into elements (no functional change)
HINT: this patch has no functional change / it is the preparation for following
      changes and bugfixes

Over the years, the preferences template became an unmanageable beast.  To make
the source code more readable the monolith is splitted into elements.  The
splitting into elements also has the advantage that a new template can make use
of them.

The reversed checkbox is a quirk that is only used in the prefereces and must be
eliminated in the long term.  For this the macro 'checkbox_onoff_reversed' was
added to the preferences.html template.  The 'checkbox' macro is also a quirk of
the preferences.html we don't want to use in other templates (it is an
input-checkbox in a HTML form that was misused for status display).

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-06-02 19:05:43 +02:00
mrpaulblack 60b94dfdca [build] /static 2023-05-28 12:19:32 +02:00
mrpaulblack f087959b02 [mod] simple theme: build design for details (collapsables)
* set border top and bottom on sidebar collasables
* inrease peading on summary so its easier to click on mobile
* remove margins and add flex wrapper to normalize elements in sidebar
2023-05-28 12:19:32 +02:00
Markus Heiser b7e315563d [mod] simple theme: collaps/expand elements in the sidebar
Make elements in the sidebar collapse able.  Except infoboxes all elements in
the sidebar are collapsed by default.

By folding out the sidebar elements, the UI looks less cluttered.  Especially on
small devices like smartphones, where the sidebar is above the results list, the
UX should be improved [1].

[1] https://github.com/searxng/searxng/issues/2140

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-05-28 12:19:32 +02:00
dependabot[bot] 673837f83e
Bump grunt-contrib-cssmin in /searx/static/themes/simple
Bumps [grunt-contrib-cssmin](https://github.com/gruntjs/grunt-contrib-cssmin) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-cssmin/releases)
- [Changelog](https://github.com/gruntjs/grunt-contrib-cssmin/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt-contrib-cssmin/compare/v4.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: grunt-contrib-cssmin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 07:57:12 +00:00