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>
2021-11-13 09:05:20 +01:00
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>
2021-11-13 09:05:20 +01:00
MrPaulBlack
303cea3437
[build] /static
2021-11-13 00:52:34 +01:00
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
2021-11-13 00:51:26 +01:00
MrPaulBlack
9badec0260
[build] /static
2021-11-11 22:28:09 +01:00
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
2021-11-11 22:26:26 +01:00
Alexandre Flament
67ab4d4165
[build] /static
2021-11-06 21:14:12 +01:00
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.
2021-11-06 21:13:41 +01:00
Alexandre Flament
558e0c3241
[build] /static
2021-11-05 12:45:15 +01:00
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.
2021-11-05 12:42:44 +01:00
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.
2021-11-05 12:42:44 +01:00
Alexandre Flament
d1c09c84e2
[fix] simple theme: disable hotkeys when they are not enabled in the preferences
2021-11-05 12:42:44 +01:00
Alexandre Flament
6ab78f1a6a
[build] /static
2021-11-05 09:52:50 +01:00
Alexandre Flament
680d70865f
[mod] SearXNG: remove "searx" from the searx*.js file names.
2021-11-05 09:51:27 +01:00
Markus Heiser
aa08c48af8
[build] /static
2021-11-04 00:07:49 +01:00
Markus Heiser
7ecd0583fe
[simple theme] add .rounded-corners to selectable_url
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-04 00:05:04 +01:00
MrPaulBlack
e05bcd4311
[simple theme] result layout suggestions
2021-11-04 00:04:57 +01:00
Markus Heiser
4887c25e7f
[simple theme] simplify and justify #answers & #corrections
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-03 23:59:50 +01:00
Markus Heiser
ca971bd5e5
[simple theme] CSS remove box-shadow effects
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-03 23:51:07 +01:00
Alexandre Flament
8d6c119593
[build] /static
2021-11-03 09:26:20 +01:00
Alexandre Flament
7179af32f2
[mod] simple theme: dark mode: various fixes
2021-11-03 09:25:33 +01:00
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
2021-11-03 09:25:33 +01:00
Markus Heiser
67d3dc01a2
[build] /static
2021-11-02 13:59:45 +01:00
Markus Heiser
7996619691
[theme] simple - improve rendering of the "Answers" box
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-02 13:59:26 +01:00
Alexandre Flament
6782830a4a
[build] /static
2021-10-30 22:34:05 +02:00
Alexandre Flament
540042d0ca
[mod] simple theme: infobox: center the image
2021-10-30 22:33:36 +02:00
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.
2021-10-30 22:33:36 +02:00
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.
2021-10-30 22:33:34 +02:00
Alexandre Flament
67b0b68b40
[fix] simple theme: /preferences: dark theme version for the response time bar charts
2021-10-30 18:03:37 +02:00
Alexandre Flament
9f0b47f525
[fix] simple theme: cookie table doesn't overflow the expected width
2021-10-30 18:03:37 +02:00
Alexandre Flament
7bfaf42e4b
[build] /static
2021-10-29 20:24:30 +02:00
Alexandre Flament
0650e73b12
[mod] simple theme: SearXNG logo
2021-10-29 20:24:04 +02:00
MrPaulBlack
f86a658c1c
[build] /static
2021-10-29 19:27:38 +02:00
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
2021-10-29 19:27:38 +02:00
Alexandre Flament
861f046090
[build] /static
2021-10-28 20:54:17 +02:00
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
2021-10-28 20:53:52 +02:00
Alexandre Flament
a93bd19101
[build] /static
2021-10-28 08:37:38 +02:00
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.
2021-10-28 08:28:21 +02:00
Markus Heiser
84447b87e1
[build] /static
2021-10-27 06:17:37 +00:00
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
2021-10-27 06:17:37 +00:00
MrPaulBlack
8918fb3eb0
[build] /static
2021-10-27 05:47:25 +00:00
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
2021-10-27 05:47:25 +00:00
Alexandre Flament
ff5ded2baf
[mod] upgrade grunt-contrib-concat: ~2.0.0
2021-10-21 08:26:42 +00:00
MrPaulBlack
9ff0a91fca
[build] /static
2021-10-18 21:57:56 +02:00
MrPaulBlack
6204ef665f
[simple theme] define device width with less vars in defenition.less
2021-10-18 21:57:32 +02:00
MrPaulBlack
32fb2bdf85
[build] /static
2021-10-17 11:01:02 +00:00
MrPaulBlack
5e6e964c54
[simple theme] center results on tablet
2021-10-17 11:01:02 +00:00
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>
2021-10-15 07:16:16 +00:00
MrPaulBlack
d8c9839625
[build] /static
2021-10-09 16:03:58 +02:00
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
2021-10-09 16:00:56 +02:00