mirror of https://github.com/searxng/searxng.git
21e3c40516
* drop image_layout.js from simple theme * move image_layout.js to oscar theme and delete common js dir (since its empty now) * align top position of image detail modal with bottom position of search header * use flexbox to display images; row height can be set via @results-image-row-height in defenitions.less * display span title underneath each image with a max width of 12rem * increase margin and padding around image article on desktop and tablet * make article height smaller on phone layout (height of 6rem) to display more content on current view * remove content from result, if the title and content matches * use a group that cotains the flex image article, if images are mixed with other categories * fix pylint issues in webapp.py * use the default.html result template in unit tests (thanks @return42) |
||
---|---|---|
.. | ||
css | ||
fonts | ||
img | ||
js | ||
src | ||
.gitignore | ||
README.rst | ||
gruntfile.js | ||
package.json |
README.rst
install dependencies ~~~~~~~~~~~~~~~~~~~~ run this command in the directory ``searx/static/themes/oscar`` ``npm install`` compile sources ~~~~~~~~~~~~~~~ run this command in the directory ``searx/static/themes/oscar`` ``grunt`` or in the root directory: ``make grunt`` directory structure ~~~~~~~~~~~~~~~~~~~ see: - gruntfile.js - package.json ************* css directory ************* - ``bootstrap*``: bootstrap NPM package, - ``leaflet.*``: leaflet NPM package - ``leaflet.min.css``: minimized version of ``leaflet.css`` (see gruntfile.js) - ``logicodev.*``: compiled from ``src/less/logicodev`` - ``logicodev-dark*``: compiled from ``src/less/logicodev-dark`` - ``pointhi*``: compiled from ``src/less/pointhi`` - ``images``: leaflet NPM package ************** font directory ************** - from bootstrap NPM package ************ js directory ************ - ``searx.*``: compiled from ``src/js`` - other files are from NPM packages ************* img directory ************* - images for the oscar theme