searxng/searx/static/themes/oscar
Alexandre Flament 6bd01bf81f [mod] oscar: fix the sourcemap URL in *.min.css
Close https://github.com/searx/searx/issues/2670

Note: clean-css contains a bug:
* a multiline comment or URL adds "$stdin" to the sourcemap (see src/less/logicodev/search.less)
* in this case when the user opens the devtools, the browser fails to load this "https://.../$stdin" URL
* it is not a problem and the error appears only when the user actively tries to debug the CSS.
* seems related to https://github.com/jakubpawlowicz/clean-css/issues/593
2021-03-21 18:03:40 +01:00
..
css [mod] oscar: fix the sourcemap URL in *.min.css 2021-03-21 18:03:40 +01:00
fonts [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
img [mod] oscar: get leaflet and jquery from NPM 2021-03-11 09:32:22 +01:00
js [mod] oscar: fix the sourcemap URL in *.min.css 2021-03-21 18:03:40 +01:00
src [mod] oscar: fix the sourcemap URL in *.min.css 2021-03-21 18:03:40 +01:00
.gitignore .gitignore: make package-lock.json visible 2020-03-26 15:35:32 +01:00
gruntfile.js [mod] oscar: fix the sourcemap URL in *.min.css 2021-03-21 18:03:40 +01:00
package.json [mod] oscar: get bootstrap and typeahead from NPM 2021-03-11 09:33:01 +01:00
README.rst [mod] oscar: update README.rst 2021-03-11 09:33:04 +01:00

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