dependabot[bot]
958c7d7280
Bump ionicons from 5.5.4 to 6.0.0 in /searx/static/themes/simple
...
Bumps [ionicons](https://github.com/ionic-team/ionicons ) from 5.5.4 to 6.0.0.
- [Release notes](https://github.com/ionic-team/ionicons/releases )
- [Commits](https://github.com/ionic-team/ionicons/compare/v5.5.4...v6.0.0 )
---
updated-dependencies:
- dependency-name: ionicons
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Markus Heiser
15758f1ac2
[fix] eslint - option configFile changed to overrideConfigFile
...
https://github.com/sindresorhus/grunt-eslint/pull/171
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
dependabot[bot]
d06135e48f
Bump grunt-eslint from 23.0.0 to 24.0.0 in /searx/static/themes/simple
...
Bumps [grunt-eslint](https://github.com/sindresorhus/grunt-eslint ) from 23.0.0 to 24.0.0.
- [Release notes](https://github.com/sindresorhus/grunt-eslint/releases )
- [Commits](https://github.com/sindresorhus/grunt-eslint/compare/v23.0.0...v24.0.0 )
---
updated-dependencies:
- dependency-name: grunt-eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Markus Heiser
b07884c958
[fix] Optimize SVG for WEB usage / CSP 'style-src self'
...
- Replace grunt-contrib-htmlmin by grunt-image [1].
- Activate svgo's [2] convertStyleToAttrs to make the HTML inline SVGs
compoliant to the CSP policy [3]::
Content-Security-Policy: style-src self;
[1] https://www.npmjs.com/package/grunt-image
[2] https://github.com/svg/svgo
[3] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src
Closes: https://github.com/searxng/searxng/issues/502
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
5721617de4
[build] /static
3 years ago
MrPaulBlack
c79bba60a9
[theme] add border radius to engine token input
3 years ago
Alexandre Flament
dfbbc3b471
[fix] simple theme: /preferences: add tokens field
...
include changes to display input text field in the preferences
3 years ago
Markus Heiser
b369ff4425
[fix] delete trailing whitespace
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
MrPaulBlack
29e092b931
[build] /static
3 years ago
MrPaulBlack
566dfe3330
[simple theme] update to ion icons 5 and drop webfont
...
* update from ionicons-npm to ionicons ver.5
* drop the webfont built by grunt for icons
* built icons.html template for inlining icons with jinja2 into html
* update icon to use mostly the outline version
* add icons to categories and do not display them on mobile to save space
* remove all legacy ion icon font files from simple theme
* icons.html is added in this commit since make statc.build.restore requires git to know the file already
* cleanup error-dialog
3 years ago
Markus Heiser
9bf53ab974
[build] /static
3 years ago
Markus Heiser
04ab012e03
[simple theme] SearXNG wordmark (plain SVG)
...
Remove XML namespaces from Incscape [1]::
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd "
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape "
[1] https://wiki.inkscape.org/wiki/PlainSVG
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
ee67a65180
[simple theme] replace old searx logo by searxng-wordmark.min.svg
...
Suggested-by: @dalf https://github.com/searxng/searxng/pull/473#issuecomment-962476683
Suggested-by: @MrPaulBlack https://github.com/searxng/searxng/pull/473#issuecomment-962579826
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
3a981257de
[simple theme] create favicon.png from src/svg/searxng-wordmark.svg
...
new bash function convert_if_newer() / usage::
convert_if_newer <origfile> <outfile> [<options>, ...]
convert_if_newer "path/to/origin.svg" "path/to/converted.png" -transparent white -resize 64x64
Run's ImageMagik' convert comand to generate <outfile> from <origfile>, if
<origfile> is newer than <outfile>. The command line is to convert is::
convert <origfile> [<options>, ...] <outfile>
PNG 'searx/static/themes/simple/img/favicon.png' has been created by::
$ make themes.simple
CONVERT searx/static/themes/simple/src/svg/searxng-wordmark.svg -transparent white -resize 64x64 searx/static/themes/simple/img/favicon.png
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
bf52353a5c
[enh] minify searxng-wordmark.svg (HTMLMinifier)
...
Command::
./node_modules/.bin/html-minifier \
--remove-comments \
--collapse-whitespace \
src/svg/searxng-wordmark.svg \
-o ../../../templates/__common__/searxng-wordmark.min.svg
- html-minifier: https://github.com/kangax/html-minifier
- onilne: https://kangax.github.io/html-minifier
- grunt: https://www.npmjs.com/package/grunt-contrib-htmlmin
- grunt-contrib-htmlmin: https://github.com/gruntjs/grunt-contrib-htmlmin
- npm: https://www.npmjs.com/package/html-minifier
To test, rebuild your node environment::
make node.env
Alternatives:
- pretty-data: https://github.com/vkiryukhin/pretty-data
- grunt: https://www.npmjs.com/package/grunt-xmlmin
- grunt-xmlming: https://github.com/dtrunk90/grunt-xmlmin
- npm: https://www.npmjs.com/package/grunt-xmlmin
- minify-xml: https://github.com/kristian/minify-xml
- no grunt package available
- npm: https://www.npmjs.com/package/minify-xml
src/svg/searxng-wordmark.svg':
'../../../templates/__common__/searxng-wordmark.min.svg'
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
edb081638b
[simple theme] SearXNG wordmark (SVG)
...
Related-to:
- https://github.com/searxng/searxng/pull/430#issuecomment-951967239
- https://github.com/searxng/searxng/pull/378
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
MrPaulBlack
303cea3437
[build] /static
3 years ago
MrPaulBlack
1becb5e138
[simple theme] minor css fixes
...
* remove hover effect from vim help modal
* remove bold font weight from active item in prefenreces tab bar
* remove margin from answer box to unify with rest of result page
3 years ago
MrPaulBlack
9badec0260
[build] /static
3 years ago
MrPaulBlack
a80b5dc110
[fix] scaling of result page on small screens by @ZetaTom
...
* thanks to https://github.com/ZetaTom for the fix!
* set the width of the input#q element to 100% of the 1fr space of the grid layout
* change the viewport meta tag to th recommended value (see: https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag#viewport_basics )
* add a new @ultra-small-phone width of 20rem; when a device is smaller than that the search logo does not get displayed on the result page anymore
3 years ago
Alexandre Flament
67ab4d4165
[build] /static
3 years ago
Alexandre Flament
ddc2346a06
[enh] simple theme: mobile layout: allow access to the preferences
...
when there is no query, reduce the width of the query field,
to display the preference button on the right.
3 years ago
Alexandre Flament
558e0c3241
[build] /static
3 years ago
Alexandre Flament
c00e54d61b
[fix] simple theme: image detail: click on the URL to the HTML page works
...
Before this commit, the default click event on an image result is prevented,
this include clicks inside the detail.
This commit makes sure the click happends outside the detail to prevent the default event.
3 years ago
Alexandre Flament
4d051c43f3
[fix] simple theme: various about the hotkeys help
...
* dark mode: #555 border (same as infoboxes and other borders)
* remove a call to console.log
* center the dialog without using the style attribute.
3 years ago
Alexandre Flament
d1c09c84e2
[fix] simple theme: disable hotkeys when they are not enabled in the preferences
3 years ago
Alexandre Flament
6ab78f1a6a
[build] /static
3 years ago
Alexandre Flament
680d70865f
[mod] SearXNG: remove "searx" from the searx*.js file names.
3 years ago
Markus Heiser
aa08c48af8
[build] /static
3 years ago
Markus Heiser
7ecd0583fe
[simple theme] add .rounded-corners to selectable_url
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
MrPaulBlack
e05bcd4311
[simple theme] result layout suggestions
3 years ago
Markus Heiser
4887c25e7f
[simple theme] simplify and justify #answers & #corrections
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
ca971bd5e5
[simple theme] CSS remove box-shadow effects
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
8d6c119593
[build] /static
3 years ago
Alexandre Flament
7179af32f2
[mod] simple theme: dark mode: various fixes
3 years ago
Alexandre Flament
2dcd9a68d6
[mod] simple theme: adjust button colors in dark version.
...
buttons:
* previous & next in the result page
* save, restore, & back in the preferences
* back to top
<select> input in Chrom* browsers:
* fix the white text with a white background issue
3 years ago
Markus Heiser
67d3dc01a2
[build] /static
3 years ago
Markus Heiser
7996619691
[theme] simple - improve rendering of the "Answers" box
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
6782830a4a
[build] /static
3 years ago
Alexandre Flament
540042d0ca
[mod] simple theme: infobox: center the image
3 years ago
Alexandre Flament
60d595ea52
[mod] simple theme: use :root instead of html to define CSS variables
...
This allows to use the CSS variables in inline svg.
3 years ago
Alexandre Flament
d0a3164514
[fix] simple theme: /preferences: dark theme version for select widgets
...
It is not possible to use CSS variable in a SVG when this is in a background.
This commit adds two .svg files, less converts them into data URL.
The two files are indentical except the fill color.
3 years ago
Alexandre Flament
67b0b68b40
[fix] simple theme: /preferences: dark theme version for the response time bar charts
3 years ago
Alexandre Flament
9f0b47f525
[fix] simple theme: cookie table doesn't overflow the expected width
3 years ago
Alexandre Flament
7bfaf42e4b
[build] /static
3 years ago
Alexandre Flament
0650e73b12
[mod] simple theme: SearXNG logo
3 years ago
MrPaulBlack
f86a658c1c
[build] /static
3 years ago
MrPaulBlack
9ddcd62464
[simple theme] selection ui with border
...
* remove vim arrow
* add 1rem padding to results
* add 0.2rem left border to vim selected article
* set column gap to 1.2rem and make search bar in line with results
* put 10px border-radius selected article
* result article: 0.125rem margin on tablet and esktop; 1rem margin on phone
3 years ago
Alexandre Flament
861f046090
[build] /static
3 years ago
Alexandre Flament
e2d312f6ae
[mod] simple theme: adjust margins
...
* index page: margin top is 24% of the view port.
avoid to scroll a small screen,
center the content in the middle of the screen
* link to preferences at the same height same the input fields
* increase the category tab heighs
* increase the margin bottom of the query field
* in the results, change the h3 margin top and bottom to 0.4rem (6px)
* move the back to top button slightly on the right when the results are only images
3 years ago
Alexandre Flament
a93bd19101
[build] /static
3 years ago
Alexandre Flament
fd374d6322
[enh] simple theme: image detail
...
When an image is selected, the detail with the full size image is displayed
on the right side of the screen (or full screen on tablet and phone).
When Javascript is disabled, the thumbnail is a linked to the full size image,
as it was before.
When the image proxy is enabled, the full size image is also proxied,
in consequence this commit increases the bandwidth usage of instances.
The detail can be closed by the close button or the Esc key.
It is possible to go to the next and previous images using the j and k keys
or the button on the top right of the screen.
3 years ago
Markus Heiser
84447b87e1
[build] /static
3 years ago
MrPaulBlack
1723726361
[simple theme] make url clickable and cleanup result article header
...
* url in article head is clickable
* url is bigger now 0.96em font
* url is now left floating on tablet and phone
* there is a 8px top and bottom margin on h3 result heading
3 years ago
MrPaulBlack
8918fb3eb0
[build] /static
3 years ago
MrPaulBlack
bcc313bcf8
[simple theme] add logo to search form on result page
...
* rework search form as grid layout
* remove various paddings and margins
* add logo and link to index to search form
* make categories bigger on phone
3 years ago
Alexandre Flament
ff5ded2baf
[mod] upgrade grunt-contrib-concat: ~2.0.0
3 years ago
MrPaulBlack
9ff0a91fca
[build] /static
3 years ago
MrPaulBlack
6204ef665f
[simple theme] define device width with less vars in defenition.less
3 years ago
MrPaulBlack
32fb2bdf85
[build] /static
3 years ago
MrPaulBlack
5e6e964c54
[simple theme] center results on tablet
3 years ago
dependabot[bot]
1f39b99c03
Bump eslint from 7.32.0 to 8.0.1 in /searx/static/themes/simple
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.32.0 to 8.0.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.0.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
MrPaulBlack
d8c9839625
[build] /static
3 years ago
MrPaulBlack
bc2c8e6ba9
[simple theme] add a dark theme
...
* add a new color theme for a dark mode
* make the device auto switch between dark and light theme
3 years ago
MrPaulBlack
3daa024c04
[simple theme] new color theme and result on mobile and tablet
...
* clean up vars in defenition
* results look now the same on mobile and desktop
* reworked results on mobile
* new color theme with more vibrant colors
3 years ago
MrPaulBlack
740fca00cc
Redo Color Theme and css cleanup
...
* remove vars and add elements to base and btn vars
* change default border radius to 10px and padding to 0.7em
* put border radius and padding on search input form, infoxbox and buttons
* remove unused .help class in #categories_container
* remove active background from tabs to straemline design
* redo search form: 10px padding
* 2rem margin on search results on desktop
* fix modal pacement of engine reliability in prefs
* use darker accent colors
* streamline autocomplete with more padding and a hover effect
3 years ago
MrPaulBlack
7c2a518d12
[theme] replace all hardcoded colors by css vars and drop ununsed vars
3 years ago
MrPaulBlack
452b266387
[theme] convert less vars to css vars in simple theme
3 years ago
dependabot[bot]
a88ee63aca
Bump grunt-contrib-jshint in /searx/static/themes/simple
...
Bumps [grunt-contrib-jshint](https://github.com/gruntjs/grunt-contrib-jshint ) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/gruntjs/grunt-contrib-jshint/releases )
- [Changelog](https://github.com/gruntjs/grunt-contrib-jshint/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt-contrib-jshint/commits/v3.1.1 )
---
updated-dependencies:
- dependency-name: grunt-contrib-jshint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Alexandre Flament
715c445e9b
[build] /static
3 years ago
Alexandre Flament
a53a4d5012
[build] /static
3 years ago
Alexandre Flament
74b0830362
SearXNG: simple theme
3 years ago
MrPaulBlack
43fc136207
[build] /static
3 years ago
MrPaulBlack
57f58f85bd
[fix] position of engine description tooltip
3 years ago
Markus Heiser
73cb80e71d
[build] /static
3 years ago
Markus Heiser
8ac776765c
[theme] simple: do not prefer arial over user's sans-serif font
...
The default *sans-serif* font from the browsers most often renders much better
compared to Arial font.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
MrPaulBlack
e8ed56251a
[build] /static
3 years ago
MrPaulBlack
f81afed60b
[fix] backtotop and pagination on image result page
3 years ago
MrPaulBlack
8268873701
[fix] several issues in the simple theme
...
- using more rem in style and definitions
- mobile width in preferences.less fix max-width: 75em to 80em (normalized with
style.less and other)
- do not display #backToTop position on tablet (when max-width: 80em)
- fix answer box on mobile (when max-width: 50em)
3 years ago
MrPaulBlack
b6ae1f1c7a
[theme] margin around checkboxes is bigger now, index centers the search more and the pref, stats and about page have a max-width now
3 years ago
MrPaulBlack
859179f0c9
[theme] optimize switching between different device types
3 years ago
MrPaulBlack
385dce213b
[theme] cleanup grid layout and remove various margins and paddings from elements
3 years ago
Alexandre Flament
cc3c54f4cd
simple theme: update
3 years ago
MrPaulBlack
88c17d106d
[fix] make selected tabs not change wifth anymore compared to not being selected
3 years ago
Alexandre Flament
39876d9f14
[build] /static
3 years ago
Alexandre Flament
2f1384f198
[enh] themes: display the engine descriptions
3 years ago
MrPaulBlack
30a9146bdc
[build] /static
3 years ago
MrPaulBlack
7cb5099c88
[preferences] make elements in query selecter align left
3 years ago
MrPaulBlack
fa95cd91a8
[build] /static
3 years ago
MrPaulBlack
79351c2e4d
[fix] searx.js null pointer exception when category div is missing
3 years ago
Markus Heiser
b0623ac9f6
[build] /static
3 years ago
Markus Heiser
bd830f7449
[fix] simple theme - preferences: fix tooltip overflow
...
Suggested-by: @dalf https://github.com/searxng/searxng/pull/295#discussion_r703370358
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
0d070fde92
[build] /static
3 years ago
Markus Heiser
ad528c706e
[fix] make result template map more CSP compliant - simple & oscar
...
Add osm-map-box in::
searx/static/themes/__common__/less/result_templates.less
Replaced sty= in files::
./oscar/result_templates/map.html:64: <div style="height:300px; width:100%; margin: 10px 0;" id="osm-map-{{ index }}"></div>
./simple/result_templates/map.html:65: <div id="result-map-{{ index }}" class="invisible"><div id="osm-map-{{ index }}" style="height:300px; width:100%; margin: 10px 0;" ></div></div>
Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
37b3d8c33b
Merge pull request #276 from dalf/simple_eslint
...
Simple theme: eslint and bug fix
3 years ago
Alexandre Flament
d246679dbe
[build] /static
3 years ago
Alexandre Flament
f77f797f8c
[mod] simple theme: fix eslint errors, fix VIM keys
...
* VIM keys: fix the next page and previous pages (n, p keys)
* Map: Enable the wikipedia map (the layer was initialized but not included)
3 years ago
Alexandre Flament
0ee316f3d1
eslint: grunt integration
3 years ago
Markus Heiser
2948a99b6e
[mod] simple theme - add ESLint
...
[1] https://eslint.org/
[2] https://eslint.org/docs/user-guide/configuring/
[3] https://eslint.org/docs/user-guide/command-line-interface
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
d29094579b
[build] /static
3 years ago