Commit Graph

177 Commits (3f3097c772e8d6d5f6441e4ed81f18891e551e19)

Author SHA1 Message Date
Adam Tauber ceedab6aed
Merge pull request #983 from ahangarha/patch-1
Update results.less
4 years ago
Markus Heiser a3431d59d3 Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme 4 years ago
Noémi Ványi d7d89369cb add disable all and allow all engines button to Oscar preferences 4 years ago
Markus Heiser c9f9e7da52 [build] rebuild of the oscar theme, build from ad208378
the CSS files has been build by:

    $ make themes.oscar

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser ad208378bb [fix] oscar theme, remove inline style attributes (CSP compliants)
Inline styles are blocked by default with Content Security Policy (CSP).  Move
the rest of inline styles to CSS and correct the HTML template of the oscar
preference page.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser 6846402d73 .gitignore: make package-lock.json visible
Even if we do not versioning them right now.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser d471ec86dd Makefile: add target node.env - download & install npm dependencies
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Markus Heiser 757ebb5d9f [fix] brands: add variables from build env to grunt process
We have some variables in the build environment which are also needed in the
grunt process when building themes.  Theses variables are relavant if one
creates a fork with its own branding.  We treat these variables under the term
'brands'.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 years ago
Adam Tauber 9a2f26d915 [enh] submit search on suggestion select - closes #807 4 years ago
Markus Heiser 2a5c39e33c theme: oscar - tidy up trailing whitespaces and tab usage
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser 56b7e05721 themes: remove CR from newlines
Adding a CR in  some files and in others not,  is  a good starting point for a
DOS+Unix mess we all have already seen in many projects.

Patch fixes all files matching (even those comming from grunt's build)::

   find ./searx -exec file {} \; | grep CR

BTW: Same with mixing TAB and SPACE indent styles in one and the same file.  So
if sources are tuched here in this patch, its also fixed.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Dalf 6fbba63c83 oscar and simple themes: no inline script (allow A+ Content-Security-Policy) 5 years ago
Frank de Lange e4e8e6da4c Add image format and source information to display (#1567)
Add image format and source information to display - needs changes to engines to actually display something. 

Displays result.source (website from which the image was taken) and result.img_format (image type and size).

Result is styled with result-format and result-source classes. See PR #1566 for an example of an engine which has the necessary changes.

Strip <span class="highlight">...</span> in the oscar image template.
5 years ago
cy8aer 4dc792e1e2 [enh] add invidious engine. (#1657)
closes #1372
5 years ago
Adam Tauber 666982bd35
Merge pull request #1244 from Venca24/master
[UI] new youtube icon for oscar theme
6 years ago
Author Name 7635ebb126 Min width 50 px to oscar theme category. #1158 6 years ago
Venca24 3867b9fba2 [UI] new youtube icon for oscar theme 7 years ago
Adam Tauber 0fe6042cc9 [mod] add bottom margin to results - closes #1176 7 years ago
Adam Tauber a173c5b4e2 [enh] build oscar css 7 years ago
Matthew Olmsted c61e1a8165
Preserve image aspect ratio in results
Noticed that images are often distorted in the results due to a hard minimum height.  This keeps the 4-per-row image results consistent in row height without distorting wider images.
7 years ago
Noémi Ványi 0cb8a849da dark background for answers && no background for highlight 7 years ago
Adam Tauber 46fb0d860e [enh] add dark version of oscar/logicodev 7 years ago
Noémi Ványi 47ee15f5ce preferences: make supported/not supported labels
Also, Time range support display was missing from RTL locales.
Now it is fixed.

Closes #558
7 years ago
Alexandre Flament 57dc6b625f [fix] travis build : various fix about grunt builds 7 years ago
Mostafa Ahangarha b142e88391 Update results.less
More gap between search results increase the readability. Currently, the result page is just filled with text.
7 years ago
marc 80460be8f6 [fix] wrap suggestions inside suggestion box
long suggestions now wrap around the box instead of going overboard.
7 years ago
Alexandre Flament e4d46d21c7 [mod] oscar theme: use tinypng.com to reduce logos and favicon 8 years ago
Alexandre Flament e9785a69c7 [mod] reduce png and gif image sizes using optipng and gifsicle tools. 8 years ago
Adam Tauber ee1d44caf9 [mod] darker green url in logicodev 8 years ago
Adam Tauber 4906ac5192 [fix] add padding to pointhi theme's navbar - closes #841 8 years ago
Noémi Ványi d88950c25f [fix] darker green for result urls 8 years ago
Noémi Ványi d635b5fd4d [enh] make navbar smaller 8 years ago
Noémi Ványi 8354bd0c60 [enh] make result url green 8 years ago
Adam Tauber 30695265c2 [enh] search input design mods according to #226 8 years ago
jcherqui d98705bd06 Add 1337x icon 8 years ago
Noémi Ványi e8319fa2cb Revert "Merge pull request #793 from kvch/pics-modal"
This reverts commit bff41987a4, reversing
changes made to d08108be62.
8 years ago
Noémi Ványi 8af29d9797 Revert "Merge pull request #799 from kvch/modal-arrows"
This reverts commit 79ceb13577, reversing
changes made to eaa0fb8102.
8 years ago
Noémi Ványi d18d09a98b [fix] change modal glyphicon arrows to image icons 8 years ago
Noémi Ványi 1710043eb7 remove unnecessary media query && generated files 8 years ago
Noémi Ványi 2ec6034c85 add modal window for pointhi style 8 years ago
Noémi Ványi 1157cefb1e add generated css of modal window 8 years ago
Noemi Vanyi 5fa6af648d add own pics modal window 8 years ago
Adam Tauber 142cd87095 [fix] menu style in pointhi oscar theme 8 years ago
Adam Tauber 9782633054 [fix] menu without js - closes #747 8 years ago
Adam Tauber b816752719 [enh] more compact image results ++ fixed modal links 8 years ago
Adam Tauber 3a1b6fa818 [fix] replace modal-content class to prevent remote content load
details: http://stackoverflow.com/questions/18378720/bootstrap-3-with-remote-modal
8 years ago
Adam Tauber 94b5f2ca77 [fix] result url wrap - closes #652 8 years ago
Adam Tauber 959497e26b [fix] remove trailing whitespaces 8 years ago
Adam Tauber 975bd5beb5 [fix] oscar grunt css build 8 years ago
Noémi Ványi e7f93f4f12 set type of cursor to pointer in advanced search 8 years ago
Noemi Vanyi c59ef83353 redesign toggle button of engines && plugins 8 years ago
Adam Tauber bf92aa3fdd [fix] wrap categories on small screens ++ some code formatting - closes #647 8 years ago
Noemi Vanyi 713d30400b add advanced settings to pointhi style 8 years ago
Noemi Vanyi 2e8ab34d76 add advanced settings for logicodev style 8 years ago
Adam Tauber 3a9c3fbd68 Merge pull request #644 from dalf/logicodev_fix
[fix] close #637 : the search box doesn't overlap the menu.
8 years ago
Alexandre Flament e655e44133 [fix] close #637 : the search box doesn't overlap the menu. 8 years ago
Alexandre Flament 34835b77e2 [fix] Close #640 : remove MapQuest maps. Add in comment maps.wikimedia.org maps, see https://www.mediawiki.org/wiki/Maps 8 years ago
Noemi Vanyi c428f2d980 [fix] remove unecessary capitalize of name of instance 8 years ago
Adam Tauber 5924abd483 [fix] mobile navbar errors - closes #596 8 years ago
Adam Tauber 1ee2a3d25d [mod] more compact logicodev skin 8 years ago
Adam Tauber 7013c3dc0d [fix] logo responsivity ++ preferences button hover 8 years ago
Adam Tauber f496dc353d [enh] oscar theme redesign added
The original code made by @logico-dev (#559)
8 years ago
a01200356 4267b11a45 [fix] apply changes in infobox's styles
changes were made for wolframalpha infobox:

    - wrap text inside infobox.
      for example, there's a hill in New Zealand called
      Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu
      (don't blame me, blame the Kiwis)
      and now it doesn't break the infobox.

    - add an optional image field for infobox's attributes.
      (doesn't affect ddg infobox at all)

    - table is now always split in half.
      needed so that images stay inside infobox.
      (max-width doesn't work for inline elements, it's the table
      that has to set the width.

if you don't like how the table width looks now in ddg/wiki's infobox,
i can change that code so that the style only applies when using
wolframalpha.
9 years ago
Adam Tauber 5eabba2da1 [mod] list all engines of a result 9 years ago
Niklas Haas 7144c94e26
[fix] reduce server traffic by optimizing images
Simply running ‘optipng’ on every PNG image reduces the overall size of
them by 10% on average.
9 years ago
Cqoicebordel f7b052c354 Allow autocompleter to work in a sub folder of the domain name. 10 years ago
Thomas Pointhuber 7366a0e141 [fix] add wordwrap to fix style issues 10 years ago
Cqoicebordel 14447a0761 Modify courgette theme and less it. 10 years ago
Adam Tauber a04fafd419 Merge branch 'code_results' of https://github.com/pointhi/searx into pointhi-code_results
Conflicts:
	searx/static/themes/default/css/style.css
	searx/static/themes/oscar/css/oscar.min.css
	searx/templates/oscar/result_templates/torrent.html
10 years ago
Thomas Pointhuber 5bfaabeb6b [enh] add nojs support into oscar-template 10 years ago
Adam Tauber 410dbc573b [enh] static content generalization 10 years ago
Thomas Pointhuber 400b54191c Merge branch 'master' of https://github.com/asciimoo/searx into code_results
Conflicts:
	searx/engines/searchcode_code.py
	searx/engines/searchcode_doc.py
	searx/static/oscar/js/searx.min.js
	searx/templates/oscar/result_templates/default.html
	searx/templates/oscar/result_templates/images.html
	searx/templates/oscar/result_templates/map.html
	searx/templates/oscar/result_templates/torrent.html
	searx/templates/oscar/result_templates/videos.html
10 years ago
Cqoicebordel b918cd2b8e Whitespace correction 10 years ago
Cqoicebordel 4a195e0b28 Integrated media in results + Deezer Engine
New "embedded" item for the results, allow to give an iframe to display the media directly in the results.
Note that the attributes src of the iframes are not set, but instead data-src is set, allowing to only load the iframe when clicked.

Deezer engine based on public API (no key).
10 years ago
Adam Tauber 20c4de8f06 [fix] filename strip 10 years ago
Adam Tauber 8151585918 [fix] static file paths 10 years ago
Adam Tauber 9f12605f7e [enh] themes static content refactor 10 years ago