Commit 4e5430a1 authored by Nicolas Gelot's avatar Nicolas Gelot

Add eelo theme

parent bda18956
......@@ -133,6 +133,10 @@ npm_packages() {
echo '[!] install NPM packages for simple theme'
cd -- "$BASE_DIR/searx/static/themes/simple"
npm install
echo '[!] install NPM packages for eelo theme'
cd -- "$BASE_DIR/searx/static/themes/eelo"
npm install
}
build_style() {
......@@ -163,6 +167,8 @@ grunt_build() {
grunt --gruntfile "$SEARX_DIR/static/themes/oscar/gruntfile.js"
echo '[!] Grunt build : simple theme'
grunt --gruntfile "$SEARX_DIR/static/themes/simple/gruntfile.js"
echo '[!] Grunt build : eelo theme'
grunt --gruntfile "$SEARX_DIR/static/themes/eelo/gruntfile.js"
}
docker_build() {
......
$(document).ready(function() {
if($('#q').length) {
$('#categories label').click(function(e) {
$('#categories label[for^="checkbox_"]').click(function(e) {
$('#categories input[type="checkbox"]').each(function(i, checkbox) {
$(checkbox).prop('checked', false);
});
......
This diff is collapsed.
This diff is collapsed.
.leaflet-map-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-pane,.leaflet-tile-container,.leaflet-overlay-pane,.leaflet-shadow-pane,.leaflet-marker-pane,.leaflet-popup-pane,.leaflet-overlay-pane svg,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}
.leaflet-container{overflow:hidden;-ms-touch-action:none}
.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}
.leaflet-marker-icon,.leaflet-marker-shadow{display:block}
.leaflet-container img{max-width:none !important}
.leaflet-container img.leaflet-image-layer{max-width:15000px !important}
.leaflet-tile{filter:inherit;visibility:hidden}
.leaflet-tile-loaded{visibility:inherit}
.leaflet-zoom-box{width:0;height:0}
.leaflet-overlay-pane svg{-moz-user-select:none}
.leaflet-tile-pane{z-index:2}
.leaflet-objects-pane{z-index:3}
.leaflet-overlay-pane{z-index:4}
.leaflet-shadow-pane{z-index:5}
.leaflet-marker-pane{z-index:6}
.leaflet-popup-pane{z-index:7}
.leaflet-vml-shape{width:1px;height:1px}
.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}
.leaflet-control{position:relative;z-index:7;pointer-events:auto}
.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}
.leaflet-top{top:0}
.leaflet-right{right:0}
.leaflet-bottom{bottom:0}
.leaflet-left{left:0}
.leaflet-control{float:left;clear:both}
.leaflet-right .leaflet-control{float:right}
.leaflet-top .leaflet-control{margin-top:10px}
.leaflet-bottom .leaflet-control{margin-bottom:10px}
.leaflet-left .leaflet-control{margin-left:10px}
.leaflet-right .leaflet-control{margin-right:10px}
.leaflet-fade-anim .leaflet-tile,.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}
.leaflet-fade-anim .leaflet-tile-loaded,.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}
.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0, 0, .25, 1);-moz-transition:-moz-transform .25s cubic-bezier(0, 0, .25, 1);-o-transition:-o-transform .25s cubic-bezier(0, 0, .25, 1);transition:transform .25s cubic-bezier(0, 0, .25, 1)}
.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile,.leaflet-touching .leaflet-zoom-animated{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}
.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}
.leaflet-clickable{cursor:pointer}
.leaflet-container{cursor:-webkit-grab;cursor:-moz-grab}
.leaflet-popup-pane,.leaflet-control{cursor:auto}
.leaflet-dragging .leaflet-container,.leaflet-dragging .leaflet-clickable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}
.leaflet-container{background:#ddd;outline:0}
.leaflet-container a{color:#0078a8}
.leaflet-container a.leaflet-active{outline:2px solid #ffa500}
.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,0.5)}
.leaflet-container{font:12px/1.5 "Helvetica Neue",Arial,Helvetica,sans-serif}
.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,0.65);border-radius:4px}
.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}
.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}
.leaflet-bar a:hover{background-color:#f4f4f4}
.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}
.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}
.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}
.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}
.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:bold 18px 'Lucida Console',Monaco,monospace;text-indent:1px}
.leaflet-control-zoom-out{font-size:20px}
.leaflet-touch .leaflet-control-zoom-in{font-size:22px}
.leaflet-touch .leaflet-control-zoom-out{font-size:24px}
.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,0.4);background:#fff;border-radius:5px}
.leaflet-control-layers-toggle{background-image:url(../img/map/layers.png);width:36px;height:36px}
.leaflet-retina .leaflet-control-layers-toggle{background-image:url(../img/map/layers-2x.png);background-size:26px 26px}
.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}
.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}
.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}
.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}
.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}
.leaflet-control-layers label{display:block}
.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}
.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,0.7);margin:0}
.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}
.leaflet-control-attribution a{text-decoration:none}
.leaflet-control-attribution a:hover{text-decoration:underline}
.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}
.leaflet-left .leaflet-control-scale{margin-left:5px}
.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}
.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;-moz-box-sizing:content-box;box-sizing:content-box;background:#fff;background:rgba(255,255,255,0.5)}
.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}
.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}
.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}
.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,0.2);background-clip:padding-box}
.leaflet-popup{position:absolute;text-align:center}
.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}
.leaflet-popup-content{margin:13px 19px;line-height:1.4}
.leaflet-popup-content p{margin:18px 0}
.leaflet-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}
.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,0.4)}
.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:bold;background:transparent}
.leaflet-container a.leaflet-popup-close-button:hover{color:#999}
.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}
.leaflet-oldie .leaflet-popup-content-wrapper{zoom:1}
.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)}
.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}
.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}
.leaflet-div-icon{background:#fff;border:1px solid #666}
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
separator: ';'
},
dist: {
src: ['js/searx_src/*.js'],
dest: 'js/searx.js'
}
},
uglify: {
options: {
banner: '/*! eelo/searx.min.js | <%= grunt.template.today("dd-mm-yyyy") %> | https://github.com/asciimoo/searx */\n'
},
dist: {
files: {
'js/searx.min.js': ['<%= concat.dist.dest %>']
}
}
},
jshint: {
files: ['gruntfile.js', 'js/searx_src/*.js'],
options: {
reporterOutput: "",
// options here to override JSHint defaults
globals: {
jQuery: true,
console: true,
module: true,
document: true
}
}
},
less: {
development: {
options: {
paths: ["less/eelo"]
//banner: '/*! less/eelo/oscar.css | <%= grunt.template.today("dd-mm-yyyy") %> | https://github.com/asciimoo/searx */\n'
},
files: {"css/eelo.css": "less/eelo/eelo.less"}
},
production: {
options: {
paths: ["less/eelo"],
//banner: '/*! less/eelo/oscar.css | <%= grunt.template.today("dd-mm-yyyy") %> | https://github.com/asciimoo/searx */\n',
cleancss: true
},
files: {"css/eelo.min.css": "less/eelo/eelo.less"}
},
/*
// built with ./manage.sh styles
bootstrap: {
options: {
paths: ["less/bootstrap"],
cleancss: true
},
files: {"css/bootstrap.min.css": "less/bootstrap/bootstrap.less"}
},
*/
},
watch: {
scripts: {
files: ['<%= jshint.files %>'],
tasks: ['jshint', 'concat', 'uglify']
},
eelo_styles: {
files: ['less/eelo/**/*.less'],
tasks: ['less:development', 'less:production']
},
bootstrap_styles: {
files: ['less/bootstrap/**/*.less'],
tasks: ['less:bootstrap']
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.registerTask('test', ['jshint']);
grunt.registerTask('default', ['jshint', 'concat', 'uglify', 'less']);
grunt.registerTask('styles', ['less']);
};
<?xml version="1.0" encoding="UTF-8"?>
<svg width="512" height="512" version="1.1" viewBox="0 0 135.46666 135.46667" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="a" x1="-289.53" x2="-289.53" y1="-93.071" y2="210.07" gradientTransform="matrix(.41391 0 0 .41391 187.8 204.94)" gradientUnits="userSpaceOnUse">
<stop stop-color="#1c3248" offset="0"/>
<stop stop-color="#304979" offset="1"/>
</linearGradient>
</defs>
<metadata>
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g transform="translate(0 -161.53)">
<path transform="matrix(.26458 0 0 .26458 0 161.53)" d="m253.3 12.545a237.7 237.7 0 0 0 -237.7 237.7 237.7 237.7 0 0 0 77.74 175.44l-42.316 24.434 20.107 34.828 42.811-24.717 2.5938-1.498 11.648-6.7246a237.7 237.7 0 0 0 125.12 35.939 237.7 237.7 0 0 0 237.7 -237.7 237.7 237.7 0 0 0 -33.783 -121.63 56.5 56.5 0 0 0 23.277 -45.615 56.5 56.5 0 0 0 -56.5 -56.5 56.5 56.5 0 0 0 -44.941 22.377 237.7 237.7 0 0 0 -125.76 -36.332z" fill="none" stroke="#283f65" stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/>
<circle cx="67.02" cy="227.74" r="62.892" fill="url(#a)"/>
<circle cx="20.932" cy="206.78" r=".30551" fill="#f3e9dc"/>
<circle cx="38.262" cy="190.64" r=".66931" fill="#eff4f9"/>
<circle cx="31.515" cy="235.35" r=".38868" fill="#eff4f9"/>
<circle cx="96.069" cy="214.27" r=".30551" fill="#f483bb"/>
<circle transform="rotate(239.73)" cx="-210.12" cy="-24.634" r=".57577" fill="#eff4f9"/>
<circle cx="16.037" cy="240.91" r=".30551" fill="#dce8f3"/>
<circle transform="rotate(143.19)" cx="85.516" cy="-192.48" r=".30551" fill="#91fcf0"/>
<circle transform="rotate(143.19)" cx="76.336" cy="-230.36" r=".30551" fill="#f3dce7"/>
<circle transform="rotate(22.919)" cx="134.2" cy="184.34" r=".30551" fill="#dcebf3"/>
<circle transform="rotate(22.919)" cx="147.86" cy="173.88" r=".57577" fill="#fff"/>
<circle transform="rotate(-25.348)" cx="-22.38" cy="197.4" r=".30551" fill="#dce8f3"/>
<circle transform="rotate(214.39)" cx="-151.61" cy="-107.44" r=".30551" fill="#dcebf3"/>
<circle transform="rotate(75.5)" cx="265.48" cy="-35.706" r=".30551" fill="#dce8f3"/>
<circle transform="rotate(-44.768)" cx="-70.782" cy="236.18" r=".30551" fill="#dcebf3"/>
<circle cx="117.63" cy="240.72" r=".30551" fill="#dce8f3"/>
<circle cx="112.18" cy="183.49" r="14.949" fill="#f2f6fa"/>
<g transform="rotate(-30 72.782 298.63)">
<path d="m60.757 258.65h-3.1765" fill="#fafcfe" stroke="#fafcfe" stroke-width="2.1167"/>
<rect x="30.443" y="253.4" width="26.951" height="10.641" rx="0" ry="0" fill="#e6eefa" stroke="#ebf2ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5875"/>
<rect x="30.443" y="253.4" width="13.079" height="10.641" rx="0" ry="0" fill="#2071ff"/>
<rect x="44.315" y="253.4" width="13.079" height="10.641" rx="0" ry="0" fill="#316dd8"/>
<circle cx="67.399" cy="258.65" r="7.8577" fill="#fafcfe"/>
<path transform="matrix(.26458 0 0 .26458 0 161.53)" d="m254.73 337.34v29.699h29.699v-23.506c0-3.4307-2.7626-6.1934-6.1934-6.1934h-23.506z" fill="#fafcfe"/>
<circle cx="67.399" cy="258.65" r="6.6416" fill="#ff4a9b"/>
<circle cx="67.399" cy="258.65" r="5.6509" fill="#4a8cff" stroke="#0058f3" stroke-linecap="round" stroke-linejoin="round" stroke-width=".52917"/>
<path d="m66.351 254.74a4.0491 4.0491 0 0 1 4.5546 1.8866" fill="#4a8cff" stroke="#ebf2ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.0583"/>
<path d="m46.859 255.94 1.9844 3.437" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m46.959 261.46 0.56224 0.97382" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m54.309 255.49 0.19843 0.3437" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78431" stroke-width=".52917"/>
<path d="m52.267 257.51 2.4226 4.196" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78431" stroke-width=".52917"/>
<path d="m31.986 257.2 1.9844 3.437" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m40.692 254.87 0.56224 0.97382" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m37.249 256.62 2.4226 4.196" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78431" stroke-width=".52917"/>
<path d="m30.262 258.65h27.318" fill="none" stroke="#e6eefa" stroke-width=".52917"/>
<path d="m74.04 258.64h3.1765" fill="#fafcfe" stroke="#fafcfe" stroke-width="2.1167"/>
<rect transform="scale(-1)" x="-104.35" y="-263.89" width="26.951" height="10.641" rx="0" ry="0" fill="#e6eefa" stroke="#ebf2ff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5875"/>
<rect transform="scale(1,-1)" x="77.404" y="-263.89" width="13.079" height="10.641" rx="0" ry="0" fill="#2071ff"/>
<rect transform="scale(1,-1)" x="91.276" y="-263.89" width="13.079" height="10.641" rx="0" ry="0" fill="#316dd8"/>
<path d="m87.938 261.35-1.9844-3.437" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m87.838 255.83-0.56224-0.97382" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m80.489 261.8-0.19843-0.3437" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78431" stroke-width=".52917"/>
<path d="m82.53 259.78-2.4226-4.196" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78431" stroke-width=".52917"/>
<path d="m102.81 260.1-1.9844-3.437" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m94.106 262.42-0.56224-0.97382" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78346" stroke-width=".52917"/>
<path d="m97.549 260.67-2.4226-4.196" fill="none" stroke="#fff" stroke-linecap="round" stroke-opacity=".78431" stroke-width=".52917"/>
<path d="m104.54 258.64h-27.318" fill="none" stroke="#e6eefa" stroke-width=".52917"/>
<circle cx="73.479" cy="252.36" r=".63764" fill="#4a8cff" stroke="#0058f3" stroke-linecap="round" stroke-linejoin="round" stroke-width=".26458"/>
</g>
<circle transform="rotate(-44.768)" cx="-136.73" cy="245.41" r=".30551" fill="#8db6ff"/>
<circle cx="89.469" cy="275.89" r=".30551" fill="#dce8f3"/>
<circle transform="rotate(22.919)" cx="143.51" cy="202.55" r=".55107" fill="#c3e9ea"/>
<path d="m119.66 196.44c-7.15 4.128-16.293 1.6783-20.421-5.4717-4.128-7.15-1.6783-16.293 5.4717-20.421z" fill="#b8cee3"/>
<circle cx="107.46" cy="175.94" r="4.5664" fill="#b8cee3"/>
<circle cx="115.36" cy="176.85" r="2.3812" fill="#b8cee3"/>
<circle cx="115.79" cy="172.68" r="1.0253" fill="#b8cee3"/>
<circle cx="120.82" cy="185.46" r="3.9711" fill="#b8cee3"/>
<circle cx="120.82" cy="185.46" r="2.9128" fill="#f2f6fa"/>
<circle cx="102.17" cy="185.93" r="1.656" fill="#9ebcda"/>
<g transform="translate(146.85 -70.961)">
<path d="m-40.55 243.98c-0.85852 0.393-1.5192 1.1542-1.7693 2.0968-0.33347 1.2568 0.12664 2.595 1.1625 3.381 1.0359 0.78599 2.4487 0.86889 3.5693 0.20934a0.60864 0.60864 0 1 0 -0.61726 -1.0489c-0.69842 0.41071-1.5708 0.35992-2.2163-0.12979-0.64546-0.48975-0.92962-1.3163-0.72184-2.0994 0.20779-0.78316 0.86417-1.36 1.6675-1.4654 0.59494-0.0781 1.177 0.11723 1.6035 0.508l-1.6321 0.94228a0.60868 0.60868 0 1 0 0.60867 1.0543l2.2417-1.2942a0.60864 0.60864 0 0 0 0.2237 -0.82954c-0.64622-1.1284-1.9143-1.7567-3.2036-1.5876-0.3223 0.0424-0.63041 0.13226-0.91659 0.26328z" color="#000000" color-rendering="auto" dominant-baseline="auto" fill="#f2f6fa" image-rendering="auto" shape-rendering="auto" solid-color="#000000" style="font-feature-settings:normal;font-variant-alternates:normal;font-variant-caps:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-position:normal;isolation:auto;mix-blend-mode:normal;shape-padding:0;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-orientation:mixed;text-transform:none;white-space:normal"/>
</g>
<circle transform="rotate(22.919)" cx="147.86" cy="173.88" r="1.1049" fill="#fff" fill-opacity=".19291"/>
</g>
</svg>
Source: http://www.iconspedia.com/pack/flat-gradient-social-icons-4384/
License: Free for non commercial use.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<svg width="128" height="72" version="1.1" viewBox="0 0 33.866666 19.050001" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<metadata>
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g transform="translate(0 -277.95)">
<g transform="matrix(1.1444 0 0 1.1444 -1.0945e-7 -40.149)">
<rect x="1.5947e-6" y="277.95" width="29.592" height="16.646" fill="#f1f1f1"/>
<g transform="matrix(.77212 0 0 .77212 141.52 -132.88)" fill="none" stroke="#507cdd" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.1977">
<path d="m-164.12 538.09v7.5069"/>
<path d="m-166.86 542.37 2.7316 3.2273 2.7316-3.2273"/>
</g>
</g>
</g>
</svg>
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
/*! eelo/searx.min.js | 16-01-2020 | https://github.com/asciimoo/searx */
function configure_image_view(a){document.getElementById("image_view_image").src=a.href,document.getElementById("image_view_file_link").href=a.href,document.getElementById("image_view_url_link").href=a.dataset.url}function show_image_view_modal(a){a.preventDefault();var b=a.target;"IMG"==b.tagName&&(b=b.parentElement);var c=document.getElementById("image_view_modal");c.classList.remove("hidden"),c.style.top=window.scrollY+"px",configure_image_view(b),document.body.classList.add("lock")}function close_image_view_modal(){document.getElementById("image_view_modal").classList.add("hidden"),document.getElementById("image_view_image").src="",document.getElementById("image_view_file_link").href="#",document.getElementById("image_view_url_link").href="#",document.body.classList.remove("lock")}requirejs.config({baseUrl:"./static/themes/oscar/js",paths:{app:"../app"}}),window.searx=function(a){"use strict";var b=a.currentScript||function(){var b=a.getElementsByTagName("script");return b[b.length-1]}();return{autocompleter:"true"===b.getAttribute("data-autocompleter"),method:b.getAttribute("data-method")}}(document),searx.autocompleter&&(searx.searchResults=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("value"),queryTokenizer:Bloodhound.tokenizers.whitespace,remote:"./autocompleter?q=%QUERY"}),searx.searchResults.initialize()),$(document).ready(function(){searx.autocompleter&&$("#q").typeahead(null,{name:"search-results",displayKey:function(a){return a},source:searx.searchResults.ttAdapter()})}),$(document).ready(function(){$("#q.autofocus").focus(),$(".select-all-on-click").click(function(){$(this).select()}),$(".btn-collapse").click(function(){var a=$(this).data("btn-text-collapsed"),b=$(this).data("btn-text-not-collapsed");""!==a&&""!==b&&($(this).hasClass("collapsed")?new_html=$(this).html().replace(a,b):new_html=$(this).html().replace(b,a),$(this).html(new_html))}),$(".btn-toggle .btn").click(function(){var a="btn-"+$(this).data("btn-class"),b=$(this).data("btn-label-default"),c=$(this).data("btn-label-toggled");""!==c&&($(this).hasClass("btn-default")?new_html=$(this).html().replace(b,c):new_html=$(this).html().replace(c,b),$(this).html(new_html)),$(this).toggleClass(a),$(this).toggleClass("btn-default")}),$(".media-loader").click(function(){var a=$(this).data("target"),b=$(a+" > iframe"),c=b.attr("src");void 0!==c&&!1!==c||b.attr("src",b.data("src"))}),$(".btn-sm").dblclick(function(){var a="btn-"+$(this).data("btn-class");$(this).hasClass("btn-default")?($(".btn-sm > input").attr("checked","checked"),$(".btn-sm > input").prop("checked",!0),$(".btn-sm").addClass(a),$(".btn-sm").addClass("active"),$(".btn-sm").removeClass("btn-default")):($(".btn-sm > input").attr("checked",""),$(".btn-sm > input").removeAttr("checked"),$(".btn-sm > input").checked=!1,$(".btn-sm").removeClass(a),$(".btn-sm").removeClass("active"),$(".btn-sm").addClass("btn-default"))})}),$(document).ready(function(){$(".searx_overpass_request").on("click",function(a){var b="https://overpass-api.de/api/interpreter?data=",c=b+"[out:json][timeout:25];(",d=");out meta;",e=$(this).data("osm-id"),f=$(this).data("osm-type"),g=$(this).data("result-table"),h="#"+$(this).data("result-table-loadicon"),i=["addr:city","addr:country","addr:housenumber","addr:postcode","addr:street"];if(e&&f&&g){g="#"+g;var j=null;switch(f){case"node":j=c+"node("+e+");"+d;break;case"way":j=c+"way("+e+");"+d;break;case"relation":j=c+"relation("+e+");"+d}if(j){$.ajax(j).done(function(a){if(a&&a.elements&&a.elements[0]){var b=a.elements[0],c=$(g).html();for(var d in b.tags)if(null===b.tags.name||-1==i.indexOf(d)){switch(c+="<tr><td>"+d+"</td><td>",d){case"phone":case"fax":c+='<a href="tel:'+b.tags[d].replace(/ /g,"")+'">'+b.tags[d]+"</a>";break;case"email":c+='<a href="mailto:'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"website":case"url":c+='<a href="'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"wikidata":c+='<a href="https://www.wikidata.org/wiki/'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"wikipedia":if(-1!=b.tags[d].indexOf(":")){c+='<a href="https://'+b.tags[d].substring(0,b.tags[d].indexOf(":"))+".wikipedia.org/wiki/"+b.tags[d].substring(b.tags[d].indexOf(":")+1)+'">'+b.tags[d]+"</a>";break}default:c+=b.tags[d]}c+="</td></tr>"}$(g).html(c),$(g).removeClass("hidden"),$(h).addClass("hidden")}}).fail(function(){$(h).html($(h).html()+'<p class="text-muted">could not load data!</p>')})}}$(this).off(a)}),$(".searx_init_map").on("click",function(a){var b=$(this).data("leaflet-target"),c=$(this).data("map-lon"),d=$(this).data("map-lat"),e=$(this).data("map-zoom"),f=$(this).data("map-boundingbox"),g=$(this).data("map-geojson");require(["leaflet-0.7.3.min"],function(a){f&&(southWest=L.latLng(f[0],f[2]),northEast=L.latLng(f[1],f[3]),map_bounds=L.latLngBounds(southWest,northEast)),L.Icon.Default.imagePath="./static/themes/oscar/img/map";var h=L.map(b),i="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",j='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors',k=new L.TileLayer(i,{minZoom:1,maxZoom:19,attribution:j}),l="https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png",m='Wikimedia maps beta | Maps data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors';new L.TileLayer(l,{minZoom:1,maxZoom:19,attribution:m});map_bounds?setTimeout(function(){h.fitBounds(map_bounds,{maxZoom:17})},0):c&&d&&(e?h.setView(new L.LatLng(d,c),e):h.setView(new L.LatLng(d,c),8)),h.addLayer(k);var n={"OSM Mapnik":k};L.control.layers(n).addTo(h),g&&L.geoJson(g).addTo(h)}),$(this).off(a)})});
\ No newline at end of file
/**
* searx is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* searx is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with searx. If not, see < http://www.gnu.org/licenses/ >.
*
* (C) 2014 by Thomas Pointhuber, <thomas.pointhuber@gmx.at>
*/
requirejs.config({
baseUrl: './static/themes/oscar/js',
paths: {
app: '../app'
}
});
/**
* searx is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* searx is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with searx. If not, see < http://www.gnu.org/licenses/ >.
*
* (C) 2019 by Alexandre Flament
*/
window.searx = (function(d) {
'use strict';
// add data- properties
var script = d.currentScript || (function() {
var scripts = d.getElementsByTagName('script');
return scripts[scripts.length - 1];
})();
return {
autocompleter: script.getAttribute('data-autocompleter') === 'true',
method: script.getAttribute('data-method')
};
})(document);
/**
* searx is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* searx is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with searx. If not, see < http://www.gnu.org/licenses/ >.
*
* (C) 2014 by Thomas Pointhuber, <thomas.pointhuber@gmx.at>
*/
if(searx.autocompleter) {
searx.searchResults = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
remote: './autocompleter?q=%QUERY'
});
searx.searchResults.initialize();
}
$(document).ready(function(){
if(searx.autocompleter) {
$('#q').typeahead(null, {
name: 'search-results',
displayKey: function(result) {
return result;
},
source: searx.searchResults.ttAdapter()
});
}
});
function configure_image_view(target) {
document.getElementById("image_view_image").src = target.href;
document.getElementById("image_view_file_link").href = target.href;
document.getElementById("image_view_url_link").href = target.dataset.url;
}
function show_image_view_modal(event) {
event.preventDefault();
var target = event.target;
if (target.tagName == "IMG") {
target = target.parentElement;
}
var modal = document.getElementById("image_view_modal");
modal.classList.remove("hidden");
modal.style.top = window.scrollY + "px";
configure_image_view(target);
document.body.classList.add("lock");
}
function close_image_view_modal() {
document.getElementById("image_view_modal").classList.add("hidden");
document.getElementById("image_view_image").src = "";
document.getElementById("image_view_file_link").href = "#";
document.getElementById("image_view_url_link").href = "#";
document.body.classList.remove("lock");
}
\ No newline at end of file
/**
* searx is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* searx is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with searx. If not, see < http://www.gnu.org/licenses/ >.
*
* (C) 2014 by Thomas Pointhuber, <thomas.pointhuber@gmx.at>
*/
$(document).ready(function(){
/**
* focus element if class="autofocus" and id="q"
*/
$('#q.autofocus').focus();
/**
* select full content on click if class="select-all-on-click"
*/
$(".select-all-on-click").click(function () {
$(this).select();
});
/**
* change text during btn-collapse click if possible
*/
$('.btn-collapse').click(function() {
var btnTextCollapsed = $(this).data('btn-text-collapsed');
var btnTextNotCollapsed = $(this).data('btn-text-not-collapsed');
if(btnTextCollapsed !== '' && btnTextNotCollapsed !== '') {
if($(this).hasClass('collapsed')) {
new_html = $(this).html().replace(btnTextCollapsed, btnTextNotCollapsed);
} else {
new_html = $(this).html().replace(btnTextNotCollapsed, btnTextCollapsed);
}
$(this).html(new_html);
}
});
/**
* change text during btn-toggle click if possible
*/
$('.btn-toggle .btn').click(function() {
var btnClass = 'btn-' + $(this).data('btn-class');
var btnLabelDefault = $(this).data('btn-label-default');
var btnLabelToggled = $(this).data('btn-label-toggled');
if(btnLabelToggled !== '') {
if($(this).hasClass('btn-default')) {