[mod] themes: remove legacy, courgette and pix-art themes
|
@ -1 +0,0 @@
|
|||
#search_submit,#sidebar,.right{right:auto;left:0}.q{padding:.5em 1em .5em 3em}.result .favicon{float:right;margin-left:.5em;margin-right:0}#results{padding:0 32px 0 272px}.search.center{padding-right:0;padding-left:17em}#pagination form+form{float:left;margin-top:-2em}.engine-table{text-align:right}
|
Before Width: | Height: | Size: 342 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 3.8 KiB |
|
@ -1,203 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
sodipodi:docname="searx_logo.svg"
|
||||
inkscape:export-filename="/home/a/magnif.png"
|
||||
inkscape:export-xdpi="203.1774"
|
||||
inkscape:export-ydpi="203.1774">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3857">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3859" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3861" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3790">
|
||||
<stop
|
||||
style="stop-color:#a9a9a9;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3792" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop3794" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3790"
|
||||
id="radialGradient3798"
|
||||
cx="294.45947"
|
||||
cy="208.37973"
|
||||
fx="294.45947"
|
||||
fy="208.37973"
|
||||
r="107.58125"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3857"
|
||||
id="linearGradient3865"
|
||||
x1="120.68947"
|
||||
y1="239.61774"
|
||||
x2="120.68947"
|
||||
y2="602.17517"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3790"
|
||||
id="linearGradient3912"
|
||||
x1="186.74416"
|
||||
y1="354.42426"
|
||||
x2="255.84358"
|
||||
y2="254.35953"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.2227304,0,0,0.89945099,-289.31433,113.40259)" />
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter4024"
|
||||
x="-0.12996517"
|
||||
width="1.2599303"
|
||||
y="-0.14709377"
|
||||
height="1.2941875">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="6.4759344"
|
||||
id="feGaussianBlur4026" />
|
||||
</filter>
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter3983"
|
||||
x="-1.0608404"
|
||||
width="3.1216809"
|
||||
y="-0.31017202"
|
||||
height="1.620344">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="9.392858"
|
||||
id="feGaussianBlur3985" />
|
||||
</filter>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.979899"
|
||||
inkscape:cx="30.708726"
|
||||
inkscape:cy="948.08556"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1364"
|
||||
inkscape:window-height="663"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="30"
|
||||
inkscape:window-maximized="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<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
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
d="m 70.523181,34.870671 c -7.11959,15.242893 -10.17798,31.779192 -8.22563,48.814566 5.01677,43.774133 41.675309,79.324503 91.536109,95.162893 -6.62576,-22.40752 -5.34093,-44.9362 2.6395,-65.84431 C 108.73618,98.821131 74.828141,70.195435 70.523181,34.870671 z"
|
||||
id="path3814-0-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
d="m 303.77876,36.21406 c 7.11959,15.242893 10.17798,31.779192 8.22563,48.814566 -5.01677,43.774134 -41.67531,79.324504 -91.53611,95.162894 6.62576,-22.40752 5.34093,-44.9362 -2.6395,-65.84431 47.73698,-14.18269 81.64502,-42.808386 85.94998,-78.13315 z"
|
||||
id="path3814-0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
transform="matrix(0.6556593,-0.75505688,0.75505688,0.6556593,0,0)"
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
d="m -5.0905523,259.06055 18.4167573,0 c 6.220455,0 11.228257,16.68196 11.228257,37.40349 l 0,172.83701 c 0,20.72153 -5.007802,37.40349 -11.228257,37.40349 l -18.4167573,0 c -6.2204547,0 -11.2282577,-16.68196 -11.2282577,-37.40349 l 0,-172.83701 c 0,-20.72153 5.007803,-37.40349 11.2282577,-37.40349 z"
|
||||
id="rect3804" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient3798);fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path2987"
|
||||
sodipodi:cx="294.45947"
|
||||
sodipodi:cy="208.37973"
|
||||
sodipodi:rx="107.58125"
|
||||
sodipodi:ry="107.58125"
|
||||
d="m 402.04073,208.37973 a 107.58125,107.58125 0 1 1 -215.16251,0 107.58125,107.58125 0 1 1 215.16251,0 z"
|
||||
transform="translate(-107.07617,-60.609153)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#linearGradient3865);fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path3757"
|
||||
sodipodi:cx="131.82491"
|
||||
sodipodi:cy="299.29346"
|
||||
sodipodi:rx="101.52033"
|
||||
sodipodi:ry="101.52033"
|
||||
d="m 233.34524,299.29346 a 101.52033,101.52033 0 1 1 -203.040667,0 101.52033,101.52033 0 1 1 203.040667,0 z"
|
||||
transform="matrix(0.76865672,0,0,0.76865672,85.80266,-82.535889)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#1a1a1a;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path3800"
|
||||
sodipodi:cx="183.34268"
|
||||
sodipodi:cy="156.35687"
|
||||
sodipodi:rx="27.274118"
|
||||
sodipodi:ry="27.274118"
|
||||
d="m 210.6168,156.35687 a 27.274118,27.274118 0 1 1 -54.54824,0 27.274118,27.274118 0 1 1 54.54824,0 z"
|
||||
transform="translate(5,-7.1428572)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path3802"
|
||||
sodipodi:cx="197.9899"
|
||||
sodipodi:cy="203.32896"
|
||||
sodipodi:rx="5.5558391"
|
||||
sodipodi:ry="5.5558391"
|
||||
d="m 203.54574,203.32896 a 5.5558391,5.5558391 0 1 1 -11.11168,0 5.5558391,5.5558391 0 1 1 11.11168,0 z"
|
||||
transform="translate(1.4847712,-63.564549)" />
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:0.82211531000000004;fill-rule:nonzero;stroke:none;filter:url(#filter4024)"
|
||||
id="rect3916"
|
||||
width="2.2392972"
|
||||
height="159.43797"
|
||||
x="19.525793"
|
||||
y="337.8396"
|
||||
rx="2.8666623"
|
||||
ry="9.0007057"
|
||||
transform="matrix(0.74466525,-0.84318084,0.84318084,0.74466525,-35.543204,-26.349917)" />
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 7.1 KiB |
|
@ -1,45 +0,0 @@
|
|||
if(searx.autocompleter) {
|
||||
window.addEvent('domready', function() {
|
||||
new Autocompleter.Request.JSON('q', './autocompleter', {
|
||||
postVar:'q',
|
||||
postData:{
|
||||
'format': 'json'
|
||||
},
|
||||
ajaxOptions:{
|
||||
timeout: 5 // Correct option?
|
||||
},
|
||||
'minLength': 4,
|
||||
// 'selectMode': 'type-ahead',
|
||||
cache: true,
|
||||
delay: 300
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
(function (w, d) {
|
||||
'use strict';
|
||||
function addListener(el, type, fn) {
|
||||
if (el.addEventListener) {
|
||||
el.addEventListener(type, fn, false);
|
||||
} else {
|
||||
el.attachEvent('on' + type, fn);
|
||||
}
|
||||
}
|
||||
|
||||
function placeCursorAtEnd() {
|
||||
if (this.setSelectionRange) {
|
||||
var len = this.value.length * 2;
|
||||
this.setSelectionRange(len, len);
|
||||
}
|
||||
}
|
||||
|
||||
addListener(w, 'load', function () {
|
||||
var qinput = d.getElementById('q');
|
||||
if (qinput !== null && qinput.value === "") {
|
||||
addListener(qinput, 'focus', placeCursorAtEnd);
|
||||
qinput.focus();
|
||||
}
|
||||
});
|
||||
|
||||
})(window, document);
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
.q {
|
||||
padding: 0.5em 1em 0.5em 3em;
|
||||
}
|
||||
|
||||
#search_submit {
|
||||
left: 0;
|
||||
right:auto;
|
||||
}
|
||||
|
||||
.result .favicon {
|
||||
float: right;
|
||||
margin-left: 0.5em;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#results {
|
||||
padding: 0px 32px 0px 272px;
|
||||
}
|
||||
|
||||
.search.center {
|
||||
padding-right: 0;
|
||||
padding-left: 17em;
|
||||
}
|
||||
|
||||
.right {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#pagination form + form {
|
||||
float: left;
|
||||
margin-top: -2em;
|
||||
}
|
||||
|
||||
.engine-table {
|
||||
text-align:right;
|
||||
}
|
|
@ -1,695 +0,0 @@
|
|||
|
||||
@color-main: #3498DB;
|
||||
@color-focus: #0665A2;
|
||||
@color-other-links: #666;
|
||||
@color-fonts: #333;
|
||||
@center-width: 70em;
|
||||
|
||||
|
||||
|
||||
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: @color-other-links;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
background: #EEE;
|
||||
}
|
||||
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @color-other-links;
|
||||
}
|
||||
|
||||
.title h1 {
|
||||
font-size:7em;
|
||||
color:@color-main;
|
||||
margin:0 auto;
|
||||
line-height:100px;
|
||||
margin-top:-20px;
|
||||
padding-bottom:20px;
|
||||
}
|
||||
|
||||
.center {
|
||||
max-width: @center-width;
|
||||
text-align: center;
|
||||
background: rgba(255,255,255,0.6);
|
||||
padding: 2em;
|
||||
margin: 7% auto 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.center.search {
|
||||
position: static;
|
||||
width: auto;
|
||||
background: none;
|
||||
margin: auto;
|
||||
padding-top: 1.8em;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1001px) {
|
||||
.center:after {
|
||||
content: "";
|
||||
z-index: -1;
|
||||
background: url(../img/bg-body-index.jpg) no-repeat;
|
||||
background-size: cover;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
}
|
||||
.center.search:after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
.autocompleter-choices {
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
.autocompleter-choices li {
|
||||
padding: 0.5em 1em;
|
||||
}
|
||||
|
||||
.autocompleter-choices li:hover {
|
||||
background: @color-main;
|
||||
color: #FFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#categories {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.top_margin {
|
||||
position: absolute;
|
||||
bottom: -3.5em;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.top_margin a {
|
||||
display: inline-block;
|
||||
margin-right: 1em;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.top_margin a:hover,
|
||||
.top_margin a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1000px) {
|
||||
.center { background: none; }
|
||||
.top_margin a {
|
||||
color: @color-fonts;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox_container { margin-top: 1.5em; }
|
||||
.checkbox_container label {
|
||||
padding: 0.5em 1em;
|
||||
color: @color-fonts;
|
||||
cursor: pointer;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.checkbox_container label:hover {
|
||||
background: @color-main;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.checkbox_container input[type="checkbox"] {
|
||||
position: absolute;
|
||||
top: -9999px;
|
||||
}
|
||||
|
||||
.checkbox_container input[type="checkbox"]:checked + label {
|
||||
background: @color-main;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#categories_container > div {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#categories .hidden {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 1em;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
font-size: 0.9em;
|
||||
font-style: italic;
|
||||
color: @color-fonts;
|
||||
}
|
||||
|
||||
#categories:hover .hidden {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
#categories_container { letter-spacing: -5px; }
|
||||
#categories_container > div {
|
||||
letter-spacing: normal;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.checkbox_container {
|
||||
margin: 0;
|
||||
}
|
||||
.checkbox_container label {
|
||||
display: block;
|
||||
background: #CCC;
|
||||
padding: 1em;
|
||||
border: 1px solid #FFF;
|
||||
}
|
||||
.top_margin { position: static; }
|
||||
#categories .hidden {
|
||||
position: static;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) and (min-width: 501px) {
|
||||
#categories_container > div {
|
||||
width: 31%;
|
||||
margin-left: 2.333%;
|
||||
}
|
||||
#categories_container > div:nth-child(3n+1) { margin-left: 0; }
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
#categories_container > div {
|
||||
width: 48%;
|
||||
margin-left: 2%;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
#categories_container > div:nth-child(2n+1) { margin-left: 0; }
|
||||
.title h1 {
|
||||
background: url(../img/searx-mobile.png) no-repeat;
|
||||
width: 200px;
|
||||
height: 39px;
|
||||
}
|
||||
}
|
||||
|
||||
#search_wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.q {
|
||||
padding: 0.5em 3em 0.5em 1em;
|
||||
width: 100%;
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#search_submit {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
border: 0;
|
||||
background:url("../img/search-icon.png") no-repeat scroll center center / 65% auto @color-main;
|
||||
text-indent: -9999px;
|
||||
width: 5em;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#search_submit:hover,
|
||||
#search_submit:focus {
|
||||
background-color: @color-focus;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
background: @color-main;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 15em;
|
||||
height: 100%;
|
||||
padding: 1.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.right {
|
||||
position: fixed;
|
||||
bottom: 1.5em;
|
||||
width: 15em;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
padding: 0 1.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.right a {
|
||||
color: #FFF;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.right a:hover,
|
||||
.right a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#preferences {
|
||||
background: url("../img/preference-icon.png") no-repeat right center / 12% auto;
|
||||
padding-right: 1.8em;
|
||||
}
|
||||
|
||||
#preferences:hover,
|
||||
#preferences:focus {
|
||||
|
||||
}
|
||||
|
||||
#search_url input {
|
||||
border: 0;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
#sidebar > div {
|
||||
margin-bottom: 1em;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#sidebar form {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#sidebar input[type="submit"] {
|
||||
background: #CCC;
|
||||
border: 0;
|
||||
padding: 0.5em 1em;
|
||||
cursor: pointer;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
#sidebar input[type="submit"]:hover,
|
||||
#sidebar input[type="submit"]:focus {
|
||||
color: #FFF;
|
||||
background-color: @color-focus;
|
||||
}
|
||||
|
||||
#results {
|
||||
padding-right: 17em;
|
||||
padding-left: 2em;
|
||||
padding: 0 17em 0 2em;
|
||||
}
|
||||
|
||||
.result p {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.result .engines {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.result .content {
|
||||
margin: 0;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.result .url {
|
||||
margin-top: 0;
|
||||
color: #FF6530;
|
||||
}
|
||||
|
||||
.result .favicon {
|
||||
float: left;
|
||||
position: relative;
|
||||
top: 0.5em;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
.definition_result {
|
||||
background: #CCC;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.definition_result .result_title,
|
||||
.definition_result p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.result_title {
|
||||
margin-bottom: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.result_title a {
|
||||
color: @color-main;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.result_title a:hover,
|
||||
.result_title a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cache_link {
|
||||
color: #666;
|
||||
font-size: 0.9em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.search.center {
|
||||
padding-right: 17em;
|
||||
}
|
||||
|
||||
#answers {
|
||||
border: 2px solid @color-main;
|
||||
padding: 20px;
|
||||
color:#666;
|
||||
text-align: center;
|
||||
max-width:@center-width;
|
||||
margin:0 auto 20px;
|
||||
}
|
||||
|
||||
#suggestions { margin-bottom: 1em; }
|
||||
|
||||
#suggestions span { color: #666; }
|
||||
|
||||
#suggestions form {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#suggestions input[type="submit"] {
|
||||
color: @color-fonts;
|
||||
padding: 0.5em 1em;
|
||||
border: 0;
|
||||
background: #CCC;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#suggestions input[type="submit"]:hover,
|
||||
#suggestions input[type="submit"]:focus {
|
||||
background: @color-main;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#pagination {
|
||||
margin: 1.5em 0 2em;
|
||||
}
|
||||
|
||||
#pagination form + form {
|
||||
float: right;
|
||||
margin-top: -2em;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
display: inline-block;
|
||||
background: @color-main;
|
||||
color: #FFF;
|
||||
border: 0;
|
||||
padding: 0.6em 1em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="submit"]:hover,
|
||||
input[type="submit"]:focus {
|
||||
background: @color-focus;
|
||||
}
|
||||
|
||||
.row {
|
||||
max-width: 60em;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.row a {
|
||||
color: @color-main;
|
||||
}
|
||||
|
||||
.row form {
|
||||
letter-spacing: -5px;
|
||||
}
|
||||
|
||||
.row form > * { letter-spacing: normal; }
|
||||
|
||||
.row p { margin: 0; }
|
||||
|
||||
.row fieldset {
|
||||
display: inline-block;
|
||||
width: 48%;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.row fieldset:last-of-type {
|
||||
display: block;
|
||||
width: auto;
|
||||
background: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.row fieldset:nth-child(odd) {
|
||||
margin-right: 2%;
|
||||
}
|
||||
|
||||
.row fieldset:nth-child(2) {
|
||||
min-height: 10.5em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.row {
|
||||
margin: 0 1em;
|
||||
}
|
||||
|
||||
.row fieldset { width: 49%; }
|
||||
.row fieldset,
|
||||
.row fieldset:nth-child(odd) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.row fieldset:first-child {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.row fieldset:nth-child(even) {
|
||||
margin-right: 2%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.row fieldset { width: 100%; }
|
||||
|
||||
select { width: 100%; }
|
||||
|
||||
table { font-size: 0.8em; }
|
||||
.right {display: none;}
|
||||
#sidebar { display: none; }
|
||||
#results { padding: 0 2em; }
|
||||
.search.center {
|
||||
padding-right: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 400px) {
|
||||
.row #categories_container > div {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 0;
|
||||
margin: 1em 0;
|
||||
background: #CCC;
|
||||
padding: 1.5em;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border: 1px solid #CCC;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table th {
|
||||
background: #999;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
table tr:nth-child(odd) {
|
||||
background: #CCC;
|
||||
}
|
||||
|
||||
table th,
|
||||
table td {
|
||||
padding: 0.5em 1em;
|
||||
border: 1px solid #FFF;
|
||||
}
|
||||
|
||||
.engine_checkbox label {
|
||||
padding: 0.5em;
|
||||
background: @color-main;
|
||||
color: #FFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.engine_checkbox .deny {
|
||||
background: @color-main;
|
||||
}
|
||||
|
||||
.engine_checkbox .allow {
|
||||
display: none;
|
||||
background: #666;
|
||||
}
|
||||
|
||||
.engine_checkbox input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.engine_checkbox input:checked + .allow {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.engine_checkbox input:checked + .allow + .deny{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.row input[type="submit"] {
|
||||
font-size: 1em;
|
||||
margin: 1em 0 2em;
|
||||
}
|
||||
|
||||
.row .right {
|
||||
position: static;
|
||||
display: inline-block;
|
||||
|
||||
}
|
||||
|
||||
.row .right a {
|
||||
color: @color-fonts;
|
||||
width: auto;
|
||||
text-align: left;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.small_font {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
table th {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
legend {
|
||||
background: #EEE;
|
||||
padding: 0 1em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
select {
|
||||
border: 1px solid #DDD;
|
||||
padding: 0.5em 0.8em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.highlight .hll { background-color: #ffffcc }
|
||||
.highlight { background: #f8f8f8; }
|
||||
.highlight .c { color: #408080; font-style: italic } /* Comment */
|
||||
.highlight .err { border: 1px solid #FF0000 } /* Error */
|
||||
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
||||
.highlight .o { color: #666666 } /* Operator */
|
||||
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
||||
.highlight .gd { color: #A00000 } /* Generic.Deleted */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||
.highlight .gi { color: #00A000 } /* Generic.Inserted */
|
||||
.highlight .go { color: #888888 } /* Generic.Output */
|
||||
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||
.highlight .gt { color: #0044DD } /* Generic.Traceback */
|
||||
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
||||
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #B00040 } /* Keyword.Type */
|
||||
.highlight .m { color: #666666 } /* Literal.Number */
|
||||
.highlight .s { color: #BA2121 } /* Literal.String */
|
||||
.highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.highlight .nb { color: #008000 } /* Name.Builtin */
|
||||
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
||||
.highlight .no { color: #880000 } /* Name.Constant */
|
||||
.highlight .nd { color: #AA22FF } /* Name.Decorator */
|
||||
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
||||
.highlight .nf { color: #0000FF } /* Name.Function */
|
||||
.highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||
.highlight .nv { color: #19177C } /* Name.Variable */
|
||||
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.highlight .mf { color: #666666 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
||||
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #008000 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #19177C } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #19177C } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
||||
|
||||
.highlight pre { overflow: auto; }
|
||||
|
||||
.highlight .lineno {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.highlight .lineno::selection { background: transparent; } /* WebKit/Blink Browsers */
|
||||
.highlight .lineno::-moz-selection { background: transparent; } /* Gecko Browsers */
|
|
@ -1 +0,0 @@
|
|||
#search_submit{left:1px;right:auto}.result .favicon{float:right;margin-left:.5em;margin-right:0}
|
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 532 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.8 KiB |
|
@ -1,203 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
sodipodi:docname="searx_logo.svg"
|
||||
inkscape:export-filename="/home/a/magnif.png"
|
||||
inkscape:export-xdpi="203.1774"
|
||||
inkscape:export-ydpi="203.1774">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3857">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3859" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop3861" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3790">
|
||||
<stop
|
||||
style="stop-color:#a9a9a9;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3792" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop3794" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3790"
|
||||
id="radialGradient3798"
|
||||
cx="294.45947"
|
||||
cy="208.37973"
|
||||
fx="294.45947"
|
||||
fy="208.37973"
|
||||
r="107.58125"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3857"
|
||||
id="linearGradient3865"
|
||||
x1="120.68947"
|
||||
y1="239.61774"
|
||||
x2="120.68947"
|
||||
y2="602.17517"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3790"
|
||||
id="linearGradient3912"
|
||||
x1="186.74416"
|
||||
y1="354.42426"
|
||||
x2="255.84358"
|
||||
y2="254.35953"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1.2227304,0,0,0.89945099,-289.31433,113.40259)" />
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter4024"
|
||||
x="-0.12996517"
|
||||
width="1.2599303"
|
||||
y="-0.14709377"
|
||||
height="1.2941875">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="6.4759344"
|
||||
id="feGaussianBlur4026" />
|
||||
</filter>
|
||||
<filter
|
||||
inkscape:collect="always"
|
||||
id="filter3983"
|
||||
x="-1.0608404"
|
||||
width="3.1216809"
|
||||
y="-0.31017202"
|
||||
height="1.620344">
|
||||
<feGaussianBlur
|
||||
inkscape:collect="always"
|
||||
stdDeviation="9.392858"
|
||||
id="feGaussianBlur3985" />
|
||||
</filter>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.979899"
|
||||
inkscape:cx="30.708726"
|
||||
inkscape:cy="948.08556"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1364"
|
||||
inkscape:window-height="663"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="30"
|
||||
inkscape:window-maximized="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<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
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
d="m 70.523181,34.870671 c -7.11959,15.242893 -10.17798,31.779192 -8.22563,48.814566 5.01677,43.774133 41.675309,79.324503 91.536109,95.162893 -6.62576,-22.40752 -5.34093,-44.9362 2.6395,-65.84431 C 108.73618,98.821131 74.828141,70.195435 70.523181,34.870671 z"
|
||||
id="path3814-0-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
d="m 303.77876,36.21406 c 7.11959,15.242893 10.17798,31.779192 8.22563,48.814566 -5.01677,43.774134 -41.67531,79.324504 -91.53611,95.162894 6.62576,-22.40752 5.34093,-44.9362 -2.6395,-65.84431 47.73698,-14.18269 81.64502,-42.808386 85.94998,-78.13315 z"
|
||||
id="path3814-0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
transform="matrix(0.6556593,-0.75505688,0.75505688,0.6556593,0,0)"
|
||||
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
d="m -5.0905523,259.06055 18.4167573,0 c 6.220455,0 11.228257,16.68196 11.228257,37.40349 l 0,172.83701 c 0,20.72153 -5.007802,37.40349 -11.228257,37.40349 l -18.4167573,0 c -6.2204547,0 -11.2282577,-16.68196 -11.2282577,-37.40349 l 0,-172.83701 c 0,-20.72153 5.007803,-37.40349 11.2282577,-37.40349 z"
|
||||
id="rect3804" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient3798);fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path2987"
|
||||
sodipodi:cx="294.45947"
|
||||
sodipodi:cy="208.37973"
|
||||
sodipodi:rx="107.58125"
|
||||
sodipodi:ry="107.58125"
|
||||
d="m 402.04073,208.37973 a 107.58125,107.58125 0 1 1 -215.16251,0 107.58125,107.58125 0 1 1 215.16251,0 z"
|
||||
transform="translate(-107.07617,-60.609153)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#linearGradient3865);fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path3757"
|
||||
sodipodi:cx="131.82491"
|
||||
sodipodi:cy="299.29346"
|
||||
sodipodi:rx="101.52033"
|
||||
sodipodi:ry="101.52033"
|
||||
d="m 233.34524,299.29346 a 101.52033,101.52033 0 1 1 -203.040667,0 101.52033,101.52033 0 1 1 203.040667,0 z"
|
||||
transform="matrix(0.76865672,0,0,0.76865672,85.80266,-82.535889)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#1a1a1a;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path3800"
|
||||
sodipodi:cx="183.34268"
|
||||
sodipodi:cy="156.35687"
|
||||
sodipodi:rx="27.274118"
|
||||
sodipodi:ry="27.274118"
|
||||
d="m 210.6168,156.35687 a 27.274118,27.274118 0 1 1 -54.54824,0 27.274118,27.274118 0 1 1 54.54824,0 z"
|
||||
transform="translate(5,-7.1428572)" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
||||
id="path3802"
|
||||
sodipodi:cx="197.9899"
|
||||
sodipodi:cy="203.32896"
|
||||
sodipodi:rx="5.5558391"
|
||||
sodipodi:ry="5.5558391"
|
||||
d="m 203.54574,203.32896 a 5.5558391,5.5558391 0 1 1 -11.11168,0 5.5558391,5.5558391 0 1 1 11.11168,0 z"
|
||||
transform="translate(1.4847712,-63.564549)" />
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:0.82211531000000004;fill-rule:nonzero;stroke:none;filter:url(#filter4024)"
|
||||
id="rect3916"
|
||||
width="2.2392972"
|
||||
height="159.43797"
|
||||
x="19.525793"
|
||||
y="337.8396"
|
||||
rx="2.8666623"
|
||||
ry="9.0007057"
|
||||
transform="matrix(0.74466525,-0.84318084,0.84318084,0.74466525,-35.543204,-26.349917)" />
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 7.1 KiB |
|
@ -1,49 +0,0 @@
|
|||
if(searx.autocompleter) {
|
||||
window.addEvent('domready', function() {
|
||||
new Autocompleter.Request.JSON('q', './autocompleter', {
|
||||
postVar:'q',
|
||||
postData:{
|
||||
'format': 'json'
|
||||
},
|
||||
ajaxOptions:{
|
||||
timeout: 5 // Correct option?
|
||||
},
|
||||
'minLength': 4,
|
||||
'selectMode': false,
|
||||
cache: true,
|
||||
delay: 300
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
(function (w, d) {
|
||||
'use strict';
|
||||
function addListener(el, type, fn) {
|
||||
if (el.addEventListener) {
|
||||
el.addEventListener(type, fn, false);
|
||||
} else {
|
||||
el.attachEvent('on' + type, fn);
|
||||
}
|
||||
}
|
||||
|
||||
function placeCursorAtEnd() {
|
||||
if (this.setSelectionRange) {
|
||||
var len = this.value.length * 2;
|
||||
this.setSelectionRange(len, len);
|
||||
}
|
||||
}
|
||||
|
||||
addListener(w, 'load', function () {
|
||||
var qinput = d.getElementById('q');
|
||||
if (qinput !== null && qinput.value === "") {
|
||||
addListener(qinput, 'focus', placeCursorAtEnd);
|
||||
qinput.focus();
|
||||
}
|
||||
});
|
||||
|
||||
if (!!('ontouchstart' in window)) {
|
||||
document.getElementsByTagName("html")[0].className += " touch";
|
||||
}
|
||||
|
||||
})(window, document);
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*/
|
||||
|
||||
ul {
|
||||
&.autocompleter-choices {
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
border: 1px solid @color-autocompleter-choices-border;
|
||||
border-left-color: @color-autocompleter-choices-border-left-right;
|
||||
border-right-color: @color-autocompleter-choices-border-left-right;
|
||||
border-bottom-color: @color-autocompleter-choices-border-bottom;
|
||||
text-align: left;
|
||||
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
|
||||
z-index: 50;
|
||||
background-color: @color-autocompleter-choices-background;
|
||||
color: @color-autocompleter-choices-font;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
margin: -2px 0 0 0;
|
||||
padding: 0.2em 1.5em 0.2em 1em;
|
||||
display: block;
|
||||
float: none !important;
|
||||
cursor: pointer;
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
font-size: 1em;
|
||||
line-height: 1.5em;
|
||||
|
||||
&.autocompleter-selected {
|
||||
background-color: @color-autocompleter-selected-background;
|
||||
color: @color-autocompleter-selected-font;
|
||||
|
||||
span.autocompleter-queried {
|
||||
color: @color-autocompleter-selected-queried-font;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
span.autocompleter-queried {
|
||||
display: inline;
|
||||
float: none;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*.autocompleter-loading {
|
||||
//background-image: url(images/spinner.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 50%;
|
||||
}*/
|
||||
|
||||
/*textarea.autocompleter-loading {
|
||||
background-position: right bottom;
|
||||
}*/
|
|
@ -1,83 +0,0 @@
|
|||
.highlight .hll { background-color: #ffffcc }
|
||||
.highlight { background: #f8f8f8; }
|
||||
.highlight .c { color: #408080; font-style: italic } /* Comment */
|
||||
.highlight .err { border: 1px solid #FF0000 } /* Error */
|
||||
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
||||
.highlight .o { color: #666666 } /* Operator */
|
||||
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
||||
.highlight .gd { color: #A00000 } /* Generic.Deleted */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||
.highlight .gi { color: #00A000 } /* Generic.Inserted */
|
||||
.highlight .go { color: #888888 } /* Generic.Output */
|
||||
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||
.highlight .gt { color: #0044DD } /* Generic.Traceback */
|
||||
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
||||
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #B00040 } /* Keyword.Type */
|
||||
.highlight .m { color: #666666 } /* Literal.Number */
|
||||
.highlight .s { color: #BA2121 } /* Literal.String */
|
||||
.highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.highlight .nb { color: #008000 } /* Name.Builtin */
|
||||
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
||||
.highlight .no { color: #880000 } /* Name.Constant */
|
||||
.highlight .nd { color: #AA22FF } /* Name.Decorator */
|
||||
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
||||
.highlight .nf { color: #0000FF } /* Name.Function */
|
||||
.highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||
.highlight .nv { color: #19177C } /* Name.Variable */
|
||||
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.highlight .mf { color: #666666 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
||||
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #008000 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #19177C } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #19177C } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
||||
|
||||
.highlight pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.highlight .lineno {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
|
||||
&::selection {
|
||||
background: transparent; /* WebKit/Blink Browsers */
|
||||
}
|
||||
&::-moz-selection {
|
||||
background: transparent; /* Gecko Browsers */
|
||||
}
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
* To change the colors of the site, simple edit this variables
|
||||
*/
|
||||
|
||||
/// Basic Colors
|
||||
|
||||
@color-base: #3498DB;
|
||||
@color-base-dark: #2980B9;
|
||||
@color-base-light: #ECF0F1;
|
||||
@color-highlight: #094089;
|
||||
@color-black: #000000;
|
||||
|
||||
/// General
|
||||
|
||||
@color-font: #444;
|
||||
@color-font-light: #888;
|
||||
|
||||
@color-red: #C0392B;
|
||||
|
||||
@color-url-font: #1a11be;
|
||||
@color-url-visited-font: #8E44AD;
|
||||
@results-width: 50em;
|
||||
|
||||
|
||||
/// Start-Screen
|
||||
|
||||
// hmarg
|
||||
@color-hmarg-border: @color-base;
|
||||
@color-hmarg-font: @color-base;
|
||||
@color-hmarg-font-hover: @color-base;
|
||||
|
||||
|
||||
/// Search-Input
|
||||
|
||||
@color-search-border: @color-base;
|
||||
@color-search-background: #FFF;
|
||||
@color-search-font: #222;
|
||||
|
||||
/// Autocompleter
|
||||
|
||||
@color-autocompleter-choices-background: #FFF;
|
||||
@color-autocompleter-choices-border: @color-base;
|
||||
@color-autocompleter-choices-border-left-right: @color-base;
|
||||
@color-autocompleter-choices-border-bottom: @color-base;
|
||||
|
||||
@color-autocompleter-choices-font: #444;
|
||||
|
||||
/// Answers
|
||||
@color-answers-border: @color-base-dark;
|
||||
|
||||
// Selected
|
||||
@color-autocompleter-selected-background: #444;
|
||||
@color-autocompleter-selected-font: #FFF;
|
||||
@color-autocompleter-selected-queried-font: #9FCFFF;
|
||||
|
||||
/// Categories
|
||||
|
||||
@color-categories-item-selected: @color-base;
|
||||
@color-categories-item-selected-font: #FFF;
|
||||
|
||||
@color-categories-item-border-selected: @color-base-dark;
|
||||
@color-categories-item-border-unselected: #E8E7E6;
|
||||
@color-categories-item-border-unselected-hover: @color-base;
|
||||
|
||||
|
||||
/// Results
|
||||
|
||||
@color-suggestions-button-background: @color-base;
|
||||
@color-suggestions-button-font: #FFF;
|
||||
|
||||
@color-download-button-background: @color-base;
|
||||
@color-download-button-font: #FFF;
|
||||
|
||||
@color-result-search-background: @color-base-light;
|
||||
|
||||
@color-result-definition-border: gray;
|
||||
@color-result-torrent-border: lightgray;
|
||||
@color-result-top-border: #E8E7E6;
|
||||
|
||||
// Link to result
|
||||
@color-result-link-font: @color-base-dark;
|
||||
@color-result-link-visited-font: @color-url-visited-font;
|
||||
|
||||
// Url to result
|
||||
@color-result-url-font: @color-red;
|
||||
|
||||
// Publish Date
|
||||
@color-result-publishdate-font: @color-font-light;
|
||||
|
||||
// Images
|
||||
@color-result-image-span-background-hover: rgba(0, 0, 0, 0.6);
|
||||
@color-result-image-span-font: #FFF;
|
||||
|
||||
// Search-URL
|
||||
@color-result-search-url-border: #888;
|
||||
@color-result-search-url-font: #444;
|
||||
|
||||
|
||||
/// Settings
|
||||
|
||||
@color-settings-fieldset: @color-base;
|
||||
@color-settings-tr-hover: #DDD;
|
||||
|
||||
// Labels
|
||||
@color-settings-label-allowed-background: #E74C3C;
|
||||
@color-settings-label-allowed-font: #FFF;
|
||||
|
||||
@color-settings-label-deny-background: #2ECC71;
|
||||
@color-settings-label-deny-font: @color-font;
|
||||
|
||||
@color-settings-return-background: @color-base;
|
||||
@color-settings-return-font: #FFF;
|
||||
|
||||
/// Other
|
||||
|
||||
@color-engines-font: @color-font-light;
|
||||
@color-percentage-div-background: #444;
|
|
@ -1,27 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*/
|
||||
|
||||
// Mixins
|
||||
|
||||
.text-size-adjust (@property: 100%) {
|
||||
-webkit-text-size-adjust: @property;
|
||||
-ms-text-size-adjust: @property;
|
||||
-moz-text-size-adjust: @property;
|
||||
text-size-adjust: @property;
|
||||
}
|
||||
|
||||
.rounded-corners (@radius: 4px) {
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
.user-select () {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
|
@ -1,68 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*/
|
||||
|
||||
.search {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
.checkbox_container label {
|
||||
font-size: 0.9em;
|
||||
border-bottom: 2px solid @color-categories-item-border-unselected;
|
||||
}
|
||||
|
||||
.checkbox_container label:hover {
|
||||
border-bottom: 2px solid @color-categories-item-border-unselected-hover;
|
||||
}
|
||||
|
||||
.checkbox_container input[type="checkbox"]:checked + label {
|
||||
border-bottom: 2px solid @color-categories-item-border-selected;
|
||||
}
|
||||
}
|
||||
|
||||
#search_wrapper {
|
||||
position: relative;
|
||||
width: @results-width;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.center #search_wrapper {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.q {
|
||||
background: none repeat scroll 0 0 @color-search-background;
|
||||
border: 1px solid @color-search-border;
|
||||
color: @color-search-font;
|
||||
font-size: 16px;
|
||||
height: 28px;
|
||||
margin: 0;
|
||||
outline: medium none;
|
||||
padding: 2px;
|
||||
padding-left: 8px;
|
||||
padding-right: 0px !important;
|
||||
width: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#search_submit {
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
right: 1px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: url('../img/search-icon.png') no-repeat;
|
||||
background-size: 24px 24px;
|
||||
opacity: 0.8;
|
||||
width: 24px;
|
||||
height: 30px;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @results-width) {
|
||||
#search_wrapper {
|
||||
width: 90%;
|
||||
clear:both;
|
||||
overflow: hidden
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
#search_submit {
|
||||
left: 1px;
|
||||
right:auto;
|
||||
}
|
||||
|
||||
.result .favicon {
|
||||
float: right;
|
||||
margin-left: 0.5em;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
|
@ -1,747 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
* To convert "style.less" to "style.css" run: $make styles
|
||||
*/
|
||||
|
||||
@import "definitions.less";
|
||||
|
||||
@import "mixins.less";
|
||||
|
||||
@import "code.less";
|
||||
|
||||
// Main LESS-Code
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
font-size: 0.9em;
|
||||
.text-size-adjust;
|
||||
color: @color-font;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body, #container {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#container {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
// Search-Field
|
||||
|
||||
@import "search.less";
|
||||
|
||||
// Autocompleter
|
||||
|
||||
@import "autocompleter.less";
|
||||
|
||||
.row {
|
||||
max-width: 800px;
|
||||
margin: 20px auto;
|
||||
text-align: justify;
|
||||
|
||||
h1 {
|
||||
font-size: 3em;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
padding: 0 10px;
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
h3,ul {
|
||||
margin: 4px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.hmarg {
|
||||
margin: 0 20px;
|
||||
border: 1px solid @color-hmarg-border;
|
||||
padding: 4px 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
&:link.hmarg {
|
||||
color: @color-hmarg-font;
|
||||
}
|
||||
|
||||
&:visited.hmarg {
|
||||
color: @color-hmarg-font;
|
||||
}
|
||||
|
||||
&:active.hmarg {
|
||||
color: @color-hmarg-font-hover;
|
||||
}
|
||||
|
||||
&:hover.hmarg {
|
||||
color: @color-hmarg-font-hover;
|
||||
}
|
||||
}
|
||||
|
||||
.top_margin {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 5em;
|
||||
}
|
||||
|
||||
div.title {
|
||||
background: url('../img/searx.png') no-repeat;
|
||||
width: 100%;
|
||||
min-height: 80px;
|
||||
background-position: center;
|
||||
|
||||
h1 {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
padding: 2px 6px;
|
||||
margin: 2px 4px;
|
||||
display: inline-block;
|
||||
background: @color-download-button-background;
|
||||
color: @color-download-button-font;
|
||||
.rounded-corners;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
margin: 8px;
|
||||
border: 1px solid @color-settings-fieldset;
|
||||
}
|
||||
|
||||
#categories {
|
||||
margin: 0 10px;
|
||||
.user-select;
|
||||
}
|
||||
|
||||
.checkbox_container {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin: 0 3px;
|
||||
padding: 0px;
|
||||
|
||||
input {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox_container label, .engine_checkbox label {
|
||||
cursor: pointer;
|
||||
padding: 4px 10px;
|
||||
margin: 0;
|
||||
display: block;
|
||||
text-transform: capitalize;
|
||||
.user-select;
|
||||
}
|
||||
|
||||
.checkbox_container input[type="checkbox"]:checked + label {
|
||||
background: @color-categories-item-selected;
|
||||
color: @color-categories-item-selected-font;
|
||||
}
|
||||
|
||||
.engine_checkbox {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
label {
|
||||
&.allow {
|
||||
background: @color-settings-label-allowed-background;
|
||||
padding: 4px 8px;
|
||||
color: @color-settings-label-allowed-font;
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.deny {
|
||||
background: @color-settings-label-deny-background;
|
||||
padding: 4px 8px;
|
||||
color: @color-settings-label-deny-font;
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
.engine_checkbox input[type="checkbox"]:checked + label {
|
||||
&:nth-child(2) + label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.allow {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: @color-url-font;
|
||||
|
||||
&:visited {
|
||||
color: @color-url-visited-font;
|
||||
}
|
||||
}
|
||||
|
||||
.result {
|
||||
margin: 19px 0 18px 0;
|
||||
padding: 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.result_title {
|
||||
margin-bottom: 0;
|
||||
|
||||
a {
|
||||
color: @color-result-link-font;
|
||||
font-weight: normal;
|
||||
font-size: 1.1em;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&:visited {
|
||||
color: @color-result-link-visited-font;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cache_link {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
|
||||
.result {
|
||||
h3 {
|
||||
font-size: 1em;
|
||||
word-wrap:break-word;
|
||||
margin: 5px 0 1px 0;
|
||||
padding: 0
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 0.8em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
max-width: 54em;
|
||||
word-wrap:break-word;
|
||||
line-height: 1.24;
|
||||
|
||||
img {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
max-width: 200px;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
br.last {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
.url {
|
||||
font-size: 0.8em;
|
||||
margin: 0 0 3px 0;
|
||||
padding: 0;
|
||||
max-width: 54em;
|
||||
word-wrap:break-word;
|
||||
color: @color-result-url-font;
|
||||
}
|
||||
|
||||
.published_date {
|
||||
font-size: 0.8em;
|
||||
color: @color-result-publishdate-font;
|
||||
Margin: 5px 20px;
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
width: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
.engines {
|
||||
color: @color-engines-font;
|
||||
}
|
||||
|
||||
.small_font {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.small p {
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.invisible {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
color: @color-highlight;
|
||||
}
|
||||
|
||||
.content .highlight {
|
||||
color: @color-black;
|
||||
}
|
||||
|
||||
.image_result {
|
||||
display: inline-block;
|
||||
margin: 10px 10px;
|
||||
position: relative;
|
||||
max-height: 160px;
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
max-height: 160px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
span a {
|
||||
display: none;
|
||||
color: @color-result-image-span-font;
|
||||
}
|
||||
|
||||
&:hover span a {
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding: 4px;
|
||||
background-color: @color-result-image-span-background-hover;
|
||||
font-size: 0.7em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.torrent_result {
|
||||
border-left: 10px solid @color-result-torrent-border;
|
||||
padding-left: 3px;
|
||||
|
||||
p {
|
||||
margin: 3px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @color-result-link-font;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&:visited {
|
||||
color: @color-result-link-visited-font;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.definition_result {
|
||||
border-left: 10px solid @color-result-definition-border;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.percentage {
|
||||
position: relative;
|
||||
width: 300px;
|
||||
|
||||
div {
|
||||
background: @color-percentage-div-background;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.result-table {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
tr {
|
||||
&:hover {
|
||||
background: @color-settings-tr-hover;
|
||||
}
|
||||
}
|
||||
|
||||
#results {
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
width: @results-width;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
position: fixed;
|
||||
bottom: 10px;
|
||||
left: 10px;
|
||||
margin: 0 2px 5px 5px;
|
||||
padding: 0 2px 2px 2px;
|
||||
width: 14em;
|
||||
|
||||
input {
|
||||
padding: 0;
|
||||
margin: 3px;
|
||||
font-size: 0.8em;
|
||||
display: inline-block;
|
||||
background: transparent;
|
||||
color: @color-result-search-url-font;
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type="submit"] {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
#suggestions {
|
||||
|
||||
form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#suggestions, #answers {
|
||||
|
||||
margin-top: 20px;
|
||||
max-width: 45em;
|
||||
|
||||
}
|
||||
|
||||
#suggestions, #answers, #infoboxes {
|
||||
|
||||
input {
|
||||
padding: 0;
|
||||
margin: 3px;
|
||||
font-size: 0.8em;
|
||||
display: inline-block;
|
||||
background: transparent;
|
||||
color: @color-result-search-url-font;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#suggestions-title {
|
||||
|
||||
color: @color-font-light;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#answers {
|
||||
|
||||
border: 2px solid @color-answers-border;
|
||||
padding: 20px;
|
||||
|
||||
}
|
||||
|
||||
#answers, #infoboxes {
|
||||
form {
|
||||
min-width: 210px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#infoboxes {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
right: 20px;
|
||||
margin: 0px 2px 5px 5px;
|
||||
padding: 0px 2px 2px;
|
||||
max-width: 21em;
|
||||
word-wrap: break-word;
|
||||
|
||||
.infobox {
|
||||
margin: 10px 0 10px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 5px;
|
||||
font-size: 0.8em;
|
||||
/* box-shadow: 0px 0px 5px #CCC; */
|
||||
|
||||
img {
|
||||
max-width: 90%;
|
||||
max-heigt: 12em;
|
||||
display: block;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
table-layout: fixed;
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
input {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
br {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#search_url {
|
||||
margin-top: 8px;
|
||||
|
||||
input {
|
||||
border: 1px solid @color-result-search-url-border;
|
||||
padding: 4px;
|
||||
color: @color-result-search-url-font;
|
||||
width: 14em;
|
||||
display: block;
|
||||
margin: 4px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
|
||||
#preferences {
|
||||
top: 10px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: url('../img/preference-icon.png') no-repeat;
|
||||
background-size: 28px 28px;
|
||||
opacity: 0.8;
|
||||
width: 28px;
|
||||
height: 30px;
|
||||
display: block;
|
||||
|
||||
* {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#pagination {
|
||||
clear: both;
|
||||
|
||||
br {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
#apis {
|
||||
margin-top: 8px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#categories_container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @results-width) {
|
||||
|
||||
#results {
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.github {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.checkbox_container {
|
||||
display: block;
|
||||
width: 90%;
|
||||
//float: left;
|
||||
|
||||
label {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.preferences_container {
|
||||
display: none;
|
||||
postion: fixed !important;
|
||||
top: 100px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 75em) {
|
||||
|
||||
div.title {
|
||||
|
||||
h1 {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
html.touch #categories {
|
||||
width: 95%;
|
||||
height: 30px;
|
||||
text-align: left;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
#categories_container {
|
||||
width: 1000px;
|
||||
width: -moz-max-content;
|
||||
width: -webkit-max-content;
|
||||
width: max-content;
|
||||
|
||||
.checkbox_container {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#categories {
|
||||
font-size: 90%;
|
||||
clear: both;
|
||||
|
||||
.checkbox_container {
|
||||
margin-top: 2px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
#suggestions, #answers {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#infoboxes {
|
||||
position: inherit;
|
||||
max-width: inherit;
|
||||
|
||||
.infobox {
|
||||
clear:both;
|
||||
|
||||
img {
|
||||
float: left;
|
||||
max-width: 10em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#categories {
|
||||
font-size: 90%;
|
||||
clear: both;
|
||||
|
||||
.checkbox_container {
|
||||
margin-top: 2px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
position: static;
|
||||
max-width: @results-width;
|
||||
margin: 0 0 2px 0;
|
||||
padding: 0;
|
||||
float: none;
|
||||
border: none;
|
||||
width: auto;
|
||||
input {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#apis {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#search_url {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.result {
|
||||
border-top: 1px solid @color-result-top-border;
|
||||
margin: 8px 0 8px 0;
|
||||
|
||||
.thumbnail {
|
||||
max-width: 98%;
|
||||
}
|
||||
}
|
||||
|
||||
.image_result {
|
||||
max-width: 98%;
|
||||
img {
|
||||
max-width: 98%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.favicon {
|
||||
float: left;
|
||||
margin-right: 4px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.preferences_back {
|
||||
background: none repeat scroll 0 0 @color-settings-return-background;
|
||||
border: 0 none;
|
||||
.rounded-corners;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
margin: 2px 4px;
|
||||
padding: 4px 6px;
|
||||
|
||||
a {
|
||||
color: @color-settings-return-font;
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
font-size: 0.8em;
|
||||
position: absolute;
|
||||
bottom: -20px;
|
||||
width: 100%;
|
||||
text-position: center;
|
||||
background: white;
|
||||
transition: opacity 1s ease;
|
||||
}
|
||||
|
||||
#categories_container:hover .hidden {
|
||||
transition: opacity 1s ease;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
pre code {
|
||||
white-space: pre-wrap;
|
||||
}
|
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 435 B |
|
@ -1,141 +0,0 @@
|
|||
if(searx.autocompleter) {
|
||||
window.addEvent('domready', function() {
|
||||
new Autocompleter.Request.JSON('q', '/autocompleter', {
|
||||
postVar:'q',
|
||||
postData:{
|
||||
'format': 'json'
|
||||
},
|
||||
ajaxOptions:{
|
||||
timeout: 5 // Correct option?
|
||||
},
|
||||
'minLength': 4,
|
||||
'selectMode': false,
|
||||
cache: true,
|
||||
delay: 300
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
(function (w, d) {
|
||||
'use strict';
|
||||
function addListener(el, type, fn) {
|
||||
if (el.addEventListener) {
|
||||
el.addEventListener(type, fn, false);
|
||||
} else {
|
||||
el.attachEvent('on' + type, fn);
|
||||
}
|
||||
}
|
||||
|
||||
function placeCursorAtEnd() {
|
||||
if (this.setSelectionRange) {
|
||||
var len = this.value.length * 2;
|
||||
this.setSelectionRange(len, len);
|
||||
}
|
||||
}
|
||||
|
||||
addListener(w, 'load', function () {
|
||||
var qinput = d.getElementById('q');
|
||||
if (qinput !== null && qinput.value === "") {
|
||||
addListener(qinput, 'focus', placeCursorAtEnd);
|
||||
qinput.focus();
|
||||
}
|
||||
});
|
||||
|
||||
if (!!('ontouchstart' in window)) {
|
||||
document.getElementsByTagName("html")[0].className += " touch";
|
||||
}
|
||||
|
||||
})(window, document);
|
||||
|
||||
var xmlHttp
|
||||
|
||||
function GetXmlHttpObject(){
|
||||
|
||||
var xmlHttp = null;
|
||||
|
||||
try {
|
||||
// Firefox, Opera 8.0+, Safari
|
||||
xmlHttp = new XMLHttpRequest();
|
||||
}
|
||||
catch (e) {
|
||||
// Internet Explorer
|
||||
try {
|
||||
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
|
||||
}
|
||||
catch (e){
|
||||
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
}
|
||||
return xmlHttp;
|
||||
}
|
||||
|
||||
var timer;
|
||||
|
||||
// Load more results
|
||||
function load_more(query,page){
|
||||
|
||||
xmlHttp = GetXmlHttpObject();
|
||||
clearTimeout(timer);
|
||||
|
||||
if(xmlHttp == null){
|
||||
alert ("Your browser does not support AJAX!");
|
||||
return;
|
||||
}
|
||||
|
||||
favicons[page] = [];
|
||||
|
||||
xmlHttp.onreadystatechange = function(){
|
||||
|
||||
var loader = document.getElementById('load_more');
|
||||
|
||||
// If 4, response OK
|
||||
if (xmlHttp.readyState == 4){
|
||||
|
||||
var res = xmlHttp.responseText;
|
||||
|
||||
clearTimeout(timer);
|
||||
timer = setTimeout(function(){},6000);
|
||||
|
||||
var results = document.getElementById('results_list');
|
||||
|
||||
var newNode = document.createElement('span');
|
||||
newNode.innerHTML = res;
|
||||
results_list.appendChild(newNode);
|
||||
|
||||
var scripts = newNode.getElementsByTagName('script');
|
||||
for (var ix = 0; ix < scripts.length; ix++) {
|
||||
eval(scripts[ix].text);
|
||||
}
|
||||
|
||||
load_images(page);
|
||||
document.getElementById("load_more").onclick = function() { load_more(query, (page+1)); }
|
||||
loader.removeAttribute("disabled");
|
||||
|
||||
} else {
|
||||
loader.disabled = 'disabled';
|
||||
}
|
||||
}
|
||||
var url = "/";
|
||||
var params = "q="+query+"&pageno="+page+"&category_general=1&category_files=1&category_images=1&category_it=1&category_map=1&category_music=1&category_news=1&category_social+media=1&category_videos=1";
|
||||
xmlHttp.open("POST",url,true);
|
||||
xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
|
||||
xmlHttp.setRequestHeader("Content-length", params.length);
|
||||
xmlHttp.setRequestHeader("Connection", "close");
|
||||
xmlHttp.send(params);
|
||||
}
|
||||
|
||||
// Load the images on the canvas in the page
|
||||
function load_images(page){
|
||||
var arrayLength = favicons[page].length;
|
||||
for (var i = 1; i < arrayLength+1; i++) {
|
||||
var img = new Image();
|
||||
img.setAttribute("i",i)
|
||||
img.onload = function () {
|
||||
var id = 'canvas-'+page+'-'+this.getAttribute("i");
|
||||
var can = document.getElementById(id);
|
||||
var ctx = can.getContext("2d");
|
||||
ctx.drawImage(this, 0, 0, 16, 16);
|
||||
};
|
||||
img.src = favicons[page][i];
|
||||
}
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
* To change the colors of the site, simple edit this variables
|
||||
*/
|
||||
|
||||
/// Basic Colors
|
||||
|
||||
@color-base: #3498DB;
|
||||
@color-base-dark: #2980B9;
|
||||
@color-base-light: #ECF0F1;
|
||||
@color-highlight: #094089;
|
||||
@color-black: #000000;
|
||||
|
||||
/// General
|
||||
|
||||
@color-font: #444;
|
||||
@color-font-light: #888;
|
||||
|
||||
@color-red: #C0392B;
|
||||
|
||||
@color-url-font: #1a11be;
|
||||
@color-url-visited-font: #8E44AD;
|
||||
@results-width: 50em;
|
||||
|
||||
|
||||
/// Start-Screen
|
||||
|
||||
// hmarg
|
||||
@color-hmarg-border: @color-base;
|
||||
@color-hmarg-font: @color-base;
|
||||
@color-hmarg-font-hover: @color-base;
|
||||
|
||||
|
||||
/// Search-Input
|
||||
|
||||
@color-search-border: @color-base;
|
||||
@color-search-background: #FFF;
|
||||
@color-search-font: #222;
|
||||
|
||||
/// Autocompleter
|
||||
|
||||
@color-autocompleter-choices-background: #FFF;
|
||||
@color-autocompleter-choices-border: @color-base;
|
||||
@color-autocompleter-choices-border-left-right: @color-base;
|
||||
@color-autocompleter-choices-border-bottom: @color-base;
|
||||
|
||||
@color-autocompleter-choices-font: #444;
|
||||
|
||||
/// Answers
|
||||
@color-answers-border: @color-base-dark;
|
||||
|
||||
// Selected
|
||||
@color-autocompleter-selected-background: #444;
|
||||
@color-autocompleter-selected-font: #FFF;
|
||||
@color-autocompleter-selected-queried-font: #9FCFFF;
|
||||
|
||||
/// Categories
|
||||
|
||||
@color-categories-item-selected: @color-base;
|
||||
@color-categories-item-selected-font: #FFF;
|
||||
|
||||
@color-categories-item-border-selected: @color-base-dark;
|
||||
@color-categories-item-border-unselected: #E8E7E6;
|
||||
@color-categories-item-border-unselected-hover: @color-base;
|
||||
|
||||
|
||||
/// Results
|
||||
|
||||
@color-suggestions-button-background: @color-base;
|
||||
@color-suggestions-button-font: #FFF;
|
||||
|
||||
@color-download-button-background: @color-base;
|
||||
@color-download-button-font: #FFF;
|
||||
|
||||
@color-result-search-background: @color-base-light;
|
||||
|
||||
@color-result-definition-border: gray;
|
||||
@color-result-torrent-border: lightgray;
|
||||
@color-result-top-border: #E8E7E6;
|
||||
|
||||
// Link to result
|
||||
@color-result-link-font: @color-base-dark;
|
||||
@color-result-link-visited-font: @color-url-visited-font;
|
||||
|
||||
// Url to result
|
||||
@color-result-url-font: @color-red;
|
||||
|
||||
// Publish Date
|
||||
@color-result-publishdate-font: @color-font-light;
|
||||
|
||||
// Images
|
||||
@color-result-image-span-background-hover: rgba(0, 0, 0, 0.6);
|
||||
@color-result-image-span-font: #FFF;
|
||||
|
||||
// Search-URL
|
||||
@color-result-search-url-border: #888;
|
||||
@color-result-search-url-font: #444;
|
||||
|
||||
|
||||
/// Settings
|
||||
|
||||
@color-settings-fieldset: @color-base;
|
||||
@color-settings-tr-hover: #DDD;
|
||||
|
||||
// Labels
|
||||
@color-settings-label-allowed-background: #E74C3C;
|
||||
@color-settings-label-allowed-font: #FFF;
|
||||
|
||||
@color-settings-label-deny-background: #2ECC71;
|
||||
@color-settings-label-deny-font: @color-font;
|
||||
|
||||
@color-settings-return-background: @color-base;
|
||||
@color-settings-return-font: #FFF;
|
||||
|
||||
/// Other
|
||||
|
||||
@color-engines-font: @color-font-light;
|
||||
@color-percentage-div-background: #444;
|
|
@ -1,27 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*/
|
||||
|
||||
// Mixins
|
||||
|
||||
.text-size-adjust (@property: 100%) {
|
||||
-webkit-text-size-adjust: @property;
|
||||
-ms-text-size-adjust: @property;
|
||||
-moz-text-size-adjust: @property;
|
||||
text-size-adjust: @property;
|
||||
}
|
||||
|
||||
.rounded-corners (@radius: 4px) {
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
.user-select () {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
|
@ -1,57 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*/
|
||||
|
||||
.search {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#search_wrapper {
|
||||
position: relative;
|
||||
width: @results-width;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.center #search_wrapper {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.q {
|
||||
background: none repeat scroll 0 0 @color-search-background;
|
||||
border: 1px solid @color-search-border;
|
||||
color: @color-search-font;
|
||||
font-size: 16px;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
height: 28px;
|
||||
margin: 0;
|
||||
outline: medium none;
|
||||
padding: 2px;
|
||||
padding-left: 8px;
|
||||
padding-right: 0px !important;
|
||||
width: 100%;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#search_submit {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 5px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: url('../img/search-icon-pixel.png') no-repeat;
|
||||
background-size: 24px 24px;
|
||||
opacity: 0.8;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @results-width) {
|
||||
#search_wrapper {
|
||||
width: 90%;
|
||||
clear:both;
|
||||
overflow: hidden
|
||||
}
|
||||
}
|
|
@ -1,451 +0,0 @@
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
* To convert "style.less" to "style.css" run: $make styles
|
||||
*/
|
||||
|
||||
@import "definitions.less";
|
||||
|
||||
@import "mixins.less";
|
||||
|
||||
|
||||
// Main LESS-Code
|
||||
|
||||
html {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 0.9em;
|
||||
.text-size-adjust;
|
||||
color: @color-font;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body, #container {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
canvas {
|
||||
image-rendering: optimizeSpeed;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
image-rendering: optimize-contrast;
|
||||
image-rendering: pixelated;
|
||||
-ms-interpolation-mode: nearest-neighbor;
|
||||
width:32px;
|
||||
height:32px;
|
||||
}
|
||||
|
||||
#container {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
// Search-Field
|
||||
|
||||
@import "search.less";
|
||||
|
||||
.row {
|
||||
max-width: 800px;
|
||||
margin: 20px auto;
|
||||
text-align: justify;
|
||||
|
||||
h1 {
|
||||
font-size: 3em;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
padding: 0 10px;
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
h3,ul {
|
||||
margin: 4px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.hmarg {
|
||||
margin: 0 20px;
|
||||
border: 1px solid @color-hmarg-border;
|
||||
padding: 4px 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
&:link.hmarg {
|
||||
color: @color-hmarg-font;
|
||||
}
|
||||
|
||||
&:visited.hmarg {
|
||||
color: @color-hmarg-font;
|
||||
}
|
||||
|
||||
&:active.hmarg {
|
||||
color: @color-hmarg-font-hover;
|
||||
}
|
||||
|
||||
&:hover.hmarg {
|
||||
color: @color-hmarg-font-hover;
|
||||
}
|
||||
}
|
||||
|
||||
.top_margin {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 5em;
|
||||
}
|
||||
|
||||
div.title {
|
||||
background: url('../img/searx-pixel.png') no-repeat;
|
||||
width: 100%;
|
||||
min-height: 80px;
|
||||
background-position: center;
|
||||
|
||||
h1 {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="button"],
|
||||
input[type="submit"] {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
padding: 4px 12px;
|
||||
margin: 2px 4px;
|
||||
display: inline-block;
|
||||
background: @color-download-button-background;
|
||||
color: @color-download-button-font;
|
||||
.rounded-corners;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type="button"]:disabled {
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
margin: 8px;
|
||||
border: 1px solid @color-settings-fieldset;
|
||||
}
|
||||
|
||||
#logo {
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
#categories {
|
||||
margin: 0 10px;
|
||||
.user-select;
|
||||
}
|
||||
|
||||
.checkbox_container {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin: 0 3px;
|
||||
padding: 0px;
|
||||
|
||||
input {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox_container label, .engine_checkbox label {
|
||||
cursor: pointer;
|
||||
padding: 4px 10px;
|
||||
margin: 0;
|
||||
display: block;
|
||||
text-transform: capitalize;
|
||||
.user-select;
|
||||
}
|
||||
|
||||
.checkbox_container input[type="checkbox"]:checked + label {
|
||||
background: @color-categories-item-selected;
|
||||
color: @color-categories-item-selected-font;
|
||||
}
|
||||
|
||||
.engine_checkbox {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
label {
|
||||
&.allow {
|
||||
background: @color-settings-label-allowed-background;
|
||||
padding: 4px 8px;
|
||||
color: @color-settings-label-allowed-font;
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.deny {
|
||||
background: @color-settings-label-deny-background;
|
||||
padding: 4px 8px;
|
||||
color: @color-settings-label-deny-font;
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
.engine_checkbox input[type="checkbox"]:checked + label {
|
||||
&:nth-child(2) + label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.allow {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: @color-url-font;
|
||||
|
||||
&:visited {
|
||||
color: @color-url-visited-font;
|
||||
}
|
||||
}
|
||||
|
||||
.engines {
|
||||
color: @color-engines-font;
|
||||
}
|
||||
|
||||
.small_font {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.small p {
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.invisible {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
color: @color-highlight;
|
||||
}
|
||||
|
||||
.content .highlight {
|
||||
color: @color-black;
|
||||
}
|
||||
|
||||
.percentage {
|
||||
position: relative;
|
||||
width: 300px;
|
||||
|
||||
div {
|
||||
background: @color-percentage-div-background;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
tr {
|
||||
&:hover {
|
||||
background: @color-settings-tr-hover;
|
||||
}
|
||||
}
|
||||
|
||||
#results {
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
width: @results-width;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#search_url {
|
||||
margin-top: 8px;
|
||||
|
||||
input {
|
||||
border: 1px solid @color-result-search-url-border;
|
||||
padding: 4px;
|
||||
color: @color-result-search-url-font;
|
||||
width: 14em;
|
||||
display: block;
|
||||
margin: 4px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
|
||||
#preferences {
|
||||
top: 10px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: url('../img/preference-icon-pixel.png') no-repeat;
|
||||
background-size: 28px 28px;
|
||||
opacity: 0.8;
|
||||
width: 28px;
|
||||
height: 30px;
|
||||
display: block;
|
||||
|
||||
* {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#pagination {
|
||||
clear: both;
|
||||
text-align: center;
|
||||
br {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
#apis {
|
||||
margin-top: 8px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#categories_container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @results-width) {
|
||||
|
||||
#results {
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.checkbox_container {
|
||||
display: block;
|
||||
width: 90%;
|
||||
//float: left;
|
||||
|
||||
label {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.preferences_container {
|
||||
display: none;
|
||||
postion: fixed !important;
|
||||
top: 100px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 75em) {
|
||||
|
||||
div.title {
|
||||
|
||||
h1 {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
html.touch #categories {
|
||||
width: 95%;
|
||||
height: 30px;
|
||||
text-align: left;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
#categories_container {
|
||||
width: 1000px;
|
||||
width: -moz-max-content;
|
||||
width: -webkit-max-content;
|
||||
width: max-content;
|
||||
|
||||
.checkbox_container {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#categories {
|
||||
font-size: 90%;
|
||||
clear: both;
|
||||
|
||||
.checkbox_container {
|
||||
margin-top: 2px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
#categories {
|
||||
font-size: 90%;
|
||||
clear: both;
|
||||
|
||||
.checkbox_container {
|
||||
margin-top: 2px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
#apis {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#search_url {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.favicon {
|
||||
float: left;
|
||||
margin-right: 4px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.preferences_back {
|
||||
background: none repeat scroll 0 0 @color-settings-return-background;
|
||||
border: 0 none;
|
||||
.rounded-corners;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
margin: 2px 4px;
|
||||
padding: 4px 6px;
|
||||
|
||||
a {
|
||||
color: @color-settings-return-font;
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
font-size: 0.8em;
|
||||
position: absolute;
|
||||
bottom: -20px;
|
||||
width: 100%;
|
||||
text-position: center;
|
||||
background: white;
|
||||
transition: opacity 1s ease;
|
||||
}
|
||||
|
||||
#categories_container:hover .hidden {
|
||||
transition: opacity 1s ease;
|
||||
opacity: 0.8;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
/*! searx | 19-09-2020 | https://github.com/asciimoo/searx */
|
||||
/*! searx | 01-12-2020 | https://github.com/searx/searx */
|
||||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*! searx | 19-09-2020 | https://github.com/asciimoo/searx */
|
||||
/*! searx | 01-12-2020 | https://github.com/searx/searx */
|
||||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
|
|
2
searx/static/themes/simple/css/searx.min.css
vendored
|
@ -1,4 +1,4 @@
|
|||
/*! simple/searx.min.js | 19-09-2020 | https://github.com/asciimoo/searx */
|
||||
/*! simple/searx.min.js | 01-12-2020 | https://github.com/searx/searx */
|
||||
|
||||
(function(t,e){"use strict";var a=e.currentScript||function(){var t=e.getElementsByTagName("script");return t[t.length-1]}();t.searx={touch:"ontouchstart"in t||t.DocumentTouch&&document instanceof DocumentTouch||false,method:a.getAttribute("data-method"),autocompleter:a.getAttribute("data-autocompleter")==="true",search_on_category_select:a.getAttribute("data-search-on-category-select")==="true",infinite_scroll:a.getAttribute("data-infinite-scroll")==="true",static_path:a.getAttribute("data-static-path"),no_item_found:a.getAttribute("data-no-item-found")};e.getElementsByTagName("html")[0].className=t.searx.touch?"js touch":"js"})(window,document);
|
||||
//# sourceMappingURL=searx.head.min.js.map
|
2
searx/static/themes/simple/js/searx.min.js
vendored
|
@ -1,4 +1,4 @@
|
|||
/*! simple/searx.min.js | 19-09-2020 | https://github.com/asciimoo/searx */
|
||||
/*! simple/searx.min.js | 01-12-2020 | https://github.com/searx/searx */
|
||||
|
||||
window.searx=function(t,a){"use strict";if(t.Element){(function(e){e.matches=e.matches||e.matchesSelector||e.webkitMatchesSelector||e.msMatchesSelector||function(e){var t=this,n=(t.parentNode||t.document).querySelectorAll(e),i=-1;while(n[++i]&&n[i]!=t);return!!n[i]}})(Element.prototype)}function o(e,t,n){try{e.call(t,n)}catch(e){console.log(e)}}var s=window.searx||{};s.on=function(i,e,r,t){t=t||false;if(typeof i!=="string"){i.addEventListener(e,r,t)}else{a.addEventListener(e,function(e){var t=e.target||e.srcElement,n=false;while(t&&t.matches&&t!==a&&!(n=t.matches(i)))t=t.parentElement;if(n)o(r,t,e)},t)}};s.ready=function(e){if(document.readyState!="loading"){e.call(t)}else{t.addEventListener("DOMContentLoaded",e.bind(t))}};s.http=function(e,t,n){var i=new XMLHttpRequest,r=function(){},a=function(){},o={then:function(e){r=e;return o},catch:function(e){a=e;return o}};try{i.open(e,t,true);i.onload=function(){if(i.status==200){r(i.response,i.responseType)}else{a(Error(i.statusText))}};i.onerror=function(){a(Error("Network Error"))};i.onabort=function(){a(Error("Transaction is aborted"))};i.send()}catch(e){a(e)}return o};s.loadStyle=function(e){var t=s.static_path+e,n="style_"+e.replace(".","_"),i=a.getElementById(n);if(i===null){i=a.createElement("link");i.setAttribute("id",n);i.setAttribute("rel","stylesheet");i.setAttribute("type","text/css");i.setAttribute("href",t);a.body.appendChild(i)}};s.loadScript=function(e,t){var n=s.static_path+e,i="script_"+e.replace(".","_"),r=a.getElementById(i);if(r===null){r=a.createElement("script");r.setAttribute("id",i);r.setAttribute("src",n);r.onload=t;r.onerror=function(){r.setAttribute("error","1")};a.body.appendChild(r)}else if(!r.hasAttribute("error")){try{t.apply(r,[])}catch(e){console.log(e)}}else{console.log("callback not executed : script '"+n+"' not loaded.")}};s.insertBefore=function(e,t){element.parentNode.insertBefore(e,t)};s.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)};s.on(".close","click",function(e){var t=e.target||e.srcElement;this.parentNode.classList.add("invisible")});return s}(window,document);(function(e){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=e()}else if(typeof define==="function"&&define.amd){define([],e)}else{var t;if(typeof window!=="undefined"){t=window}else if(typeof global!=="undefined"){t=global}else if(typeof self!=="undefined"){t=self}else{t=this}t.AutoComplete=e()}})(function(){var e,t,n;return function a(o,s,l){function u(n,e){if(!s[n]){if(!o[n]){var t=typeof require=="function"&&require;if(!e&&t)return t(n,!0);if(c)return c(n,!0);var i=new Error("Cannot find module '"+n+"'");throw i.code="MODULE_NOT_FOUND",i}var r=s[n]={exports:{}};o[n][0].call(r.exports,function(e){var t=o[n][1][e];return u(t?t:e)},r,r.exports,a,o,s,l)}return s[n].exports}var c=typeof require=="function"&&require;for(var e=0;e<l.length;e++)u(l[e]);return u}({1:[function(e,t,n){
|
||||
/*
|
||||
|
|