forked from zaclys/searxng
6bd01bf81f
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 |
||
---|---|---|
.. | ||
css | ||
fonts | ||
img | ||
js | ||
src | ||
.gitignore | ||
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 packageleaflet.min.css
: minimized version ofleaflet.css
(see gruntfile.js)logicodev.*
: compiled fromsrc/less/logicodev
logicodev-dark*
: compiled fromsrc/less/logicodev-dark
pointhi*
: compiled fromsrc/less/pointhi
images
: leaflet NPM package
font directory
- from bootstrap NPM package
js directory
searx.*
: compiled fromsrc/js
- other files are from NPM packages
img directory
- images for the oscar theme