Markus Heiser
1a361e6635
[build] /static
2 years ago
Markus Heiser
882282d0e9
[fix] keyboard.js - highlightResult: don't steal focus on click event
...
For keyboard navigation the highlightResult() function in keyboard.js steals the
focus. On a mouse click event (non keyboard action) the focus should resist
where it is, otherwise a marked region gets lost. This is the reason why text
can't be selected when using simple theme with JS enabled.
Closes: https://github.com/searxng/searxng/issues/794
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
3ade7ffc26
[build] /static
2 years ago
Alexandre Flament
fe1683c9c6
UX fix: when the user clicks on the search input, don't move the cursor at the end
...
Related to https://github.com/searxng/searxng/pull/1153#issuecomment-1154247988
2 years ago
Alexandre Flament
06217ef184
[build] /static
2 years ago
Alexandre Flament
9723cef99a
Revert "Theme: add a preference to center the results (Oscar)"
...
This reverts commit 4237f5fd50
.
2 years ago
Alexandre Flament
2c62360e6e
[build] /static
2 years ago
Alexandre Flament
4237f5fd50
Theme: add a preference to center the results (Oscar)
...
related to #1169
2 years ago
Alexandre FLAMENT
7e8a60fb27
[build] /static
2 years ago
Alexandre FLAMENT
fbad93e808
Theme: enable autofocus of #q only on the index page and when the width > 50em
...
Related to #1270
2 years ago
mrpaulblack
bc89bb4790
[build] /static
2 years ago
mrpaulblack
392c9c4243
[simple theme] add products.html template
2 years ago
mrpaulblack
58d4086ce1
[build] /static
2 years ago
mrpaulblack
33c0a9e410
[fix] loading of external resources in JS client toolkit
2 years ago
mrpaulblack
6b124e5120
[build] /static
2 years ago
Monty
2115f6565e
[mod] simple theme: colors, autocomplete, border
...
* change colors, autocomplete, delete border in some places
2 years ago
Alexandre Flament
1e45dbbae9
[build] /static
2 years ago
Alexandre Flament
9b3efa6d8a
theme: remove __common__
2 years ago
Markus Heiser
8175290867
[build] /static
2 years ago
Markus Heiser
444b1e70db
[mod] add setting: search.autocomplete_min
...
Minimun characters to type before autocompleter starts.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
ed2a4c8087
[mod] client_settings: pass settings from server to JS client
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
3f18761adb
Revert "[build] /static"
2 years ago
Markus Heiser
0f18bfc8a5
[build] /static
2 years ago
Markus Heiser
ad1aca6823
[theme] delete static/themes/oscar and templates/oscar
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
templates/oscar# gelöscht: searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttf
2 years ago
Markus Heiser
0275f0f5ad
[upd] ./manage pyenv.cmd searxng_extra/update/update_pygments.py
...
After each update of the pygments version, we (or github action) should [1]
1. update less files:
./manage pyenv.cmd searxng_extra/update/update_pygments.py
update: static/themes/oscar/src/generated/pygments-logicodev.less
update: static/themes/oscar/src/generated/pygments-pointhi.less
update: static/themes/simple/src/generated/pygments.less
2. rebuild the static files of each themes:
make static.build.commit
[1] https://github.com/searxng/searxng/pull/2#issuecomment-826958666
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
dependabot[bot]
1974a85461
Bump grunt-contrib-uglify in /searx/static/themes/simple
...
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify ) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases )
- [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt-contrib-uglify/compare/v5.1.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: grunt-contrib-uglify
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Markus Heiser
50bac93363
Merge pull request #1094 from searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/grunt-1.5.2
...
Bump grunt from 1.4.1 to 1.5.2 in /searx/static/themes/simple
2 years ago
Markus Heiser
4ab189315b
[build] /static
2 years ago
Markus Heiser
2bcd610eeb
[fix] add missing result.length and result.author to simple theme
...
Closes: https://github.com/searxng/searxng/issues/1027
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
dependabot[bot]
e314cfe667
Bump grunt from 1.4.1 to 1.5.2 in /searx/static/themes/simple
...
Bumps [grunt](https://github.com/gruntjs/grunt ) from 1.4.1 to 1.5.2.
- [Release notes](https://github.com/gruntjs/grunt/releases )
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt/compare/v1.4.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: grunt
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
mrpaulblack
170f0081c9
[build] /static
2 years ago
mrpaulblack
169f8d9988
[simple theme] add netloc to image result articles
2 years ago
dependabot[bot]
b40d57df82
Bump grunt-contrib-uglify in /searx/static/themes/oscar
...
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify ) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases )
- [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt-contrib-uglify/compare/v5.0.1...v5.1.0 )
---
updated-dependencies:
- dependency-name: grunt-contrib-uglify
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
c199eadaf9
Bump grunt-contrib-uglify in /searx/static/themes/simple
...
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify ) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases )
- [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt-contrib-uglify/compare/v5.0.1...v5.1.0 )
---
updated-dependencies:
- dependency-name: grunt-contrib-uglify
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Monty
a5b013be4f
[build] /static
2 years ago
Monty
c09ce4d0f2
Fix answer box bug
...
Fix bug of too long words.
2 years ago
mrpaulblack
fb5169c839
[build] /static
3 years ago
mrpaulblack
d8d42c8541
[fix] revert changes from #997
...
* in #997 there was a bug introduced: #1002
-> for now we just revert the change to make the image detail modal usable again
3 years ago
mrpaulblack
4ba9f98209
[build] /static
3 years ago
Monty
47dcf876ff
[simple theme] refactor search form
...
* update search input form params; inspiried by whoogle
* remove autofocus from result page input form (JS impl. as well as input param)
-> autofocus on landing page still works only on desktop and tablet with JS impl.
* update landing page margins on mobile
* rework border and radius for search form to 0.8rem and outline
* remove positioning from autocomplete JS lib and use CSS impl.
* match search box and autocomplete width
* rework search form to a google like design on mobile
* fix settings icon display withg RTL on mobile on result page when search input is empty
3 years ago
Markus Heiser
11b2724b29
[build] /static
3 years ago
Markus Heiser
022479d4c2
[fix] Text can't be selected when using simple theme with JS enabled
...
Closes: https://github.com/searxng/searxng/issues/794
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
2486cdc2dc
[build] /static
3 years ago
Alexandre Flament
6eae697c73
simple theme: upgrade some of dependencies
...
* less-plugin-clean-css: no updated version.
@wikipedia/less-plugin-clean-css might be an alternative.
* stylelint & stylelint-config-standard
the new versions require configuration and source code changes
3 years ago
Alexandre Flament
2366345429
[build] /static
3 years ago
Alexandre Flament
84340f56ec
simple theme: JS version: the reset button clear the text
...
The <input type="reset"> introduced in the PR 894, restores the default value.
It works in the index page, but it doesn't work in the /search page:
the reset button restore the initial query.
This PR:
* fix the JS version: the reset button clear the text
* keep the clear button in the / page
* hide the clear button in the /search page
3 years ago
mrpaulblack
f428dea87c
[build] /static
3 years ago
mrpaulblack
3620d006a4
[fix] naming of id for prefs in css
3 years ago
mrpaulblack
a1776ff57d
[build] /static
3 years ago
mrpaulblack
6a8e168e25
[simple theme] use default font and font-size in info page
3 years ago