"),c.on("blur.tt",function(a){var e,f,g;e=document.activeElement,f=d.is(e),g=d.has(e).length>0,b.isMsie()&&(f||g)&&(a.preventDefault(),a.stopImmediatePropagation(),b.defer(function(){c.focus()}))}),d.on("mousedown.tt",function(a){a.preventDefault()})},_onSelectableClicked:function(a,b){this.select(b)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(a,b,c,d){if(this._updateHint(),this.autoselect){var e=this.selectors.cursor.substr(1);this.menu.$node.find(this.selectors.suggestion).first().addClass(e)}this.eventBus.trigger("render",b,c,d)},_onAsyncRequested:function(a,b,c){this.eventBus.trigger("asyncrequest",c,b)},_onAsyncCanceled:function(a,b,c){this.eventBus.trigger("asynccancel",c,b)},_onAsyncReceived:function(a,b,c){this.eventBus.trigger("asyncreceive",c,b)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(a,b){var c;(c=this.menu.getActiveSelectable())?this.select(c)&&(b.preventDefault(),b.stopPropagation()):this.autoselect&&this.select(this.menu.getTopSelectable())&&(b.preventDefault(),b.stopPropagation())},_onTabKeyed:function(a,b){var c;(c=this.menu.getActiveSelectable())?this.select(c)&&b.preventDefault():this.autoselect&&(c=this.menu.getTopSelectable())&&this.autocomplete(c)&&b.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onQueryChanged:function(a,b){this._minLengthMet(b)?this.menu.update(b):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(a,b){this.dir!==b&&(this.dir=b,this.menu.setLanguageDirection(b))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(a){return a=b.isString(a)?a:this.input.getQuery()||"",a.length>=this.minLength},_updateHint:function(){var a,c,d,e,f,h,i;a=this.menu.getTopSelectable(),c=this.menu.getSelectableData(a),d=this.input.getInputValue(),!c||b.isBlankString(d)||this.input.hasOverflow()?this.input.clearHint():(e=g.normalizeQuery(d),f=b.escapeRegExChars(e),h=new RegExp("^(?:"+f+")(.+$)","i"),(i=h.exec(c.val))&&this.input.setHint(d+i[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return!!this.isActive()||!(!this.isEnabled()||this.eventBus.before("active"))&&(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return!this.isActive()||!this.eventBus.before("idle")&&(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0)},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.input.setAriaExpanded(!0),this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.input.setAriaExpanded(!1),this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(a){this.input.setQuery(b.toStr(a))},getVal:function(){return this.input.getQuery()},select:function(a){var b=this.menu.getSelectableData(a);return!(!b||this.eventBus.before("select",b.obj,b.dataset))&&(this.input.setQuery(b.val,!0),this.eventBus.trigger("select",b.obj,b.dataset),this.close(),!0)},autocomplete:function(a){var b,c;return b=this.input.getQuery(),c=this.menu.getSelectableData(a),!(!(c&&b!==c.val)||this.eventBus.before("autocomplete",c.obj,c.dataset))&&(this.input.setQuery(c.val),this.eventBus.trigger("autocomplete",c.obj,c.dataset),!0)},moveCursor:function(a){var b,c,d,e,f,g;return b=this.input.getQuery(),c=this.menu.selectableRelativeToCursor(a),d=this.menu.getSelectableData(c),e=d?d.obj:null,f=d?d.dataset:null,g=c?c.attr("id"):null,this.input.trigger("cursorchange",g),!(this._minLengthMet()&&this.menu.update(b))&&!this.eventBus.before("cursorchange",e,f)&&(this.menu.setCursor(c),d?"string"==typeof d.val&&this.input.setInputValue(d.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",e,f),!0)},destroy:function(){this.input.destroy(),this.menu.destroy()}}),c}();!function(){"use strict";function e(b,c){b.each(function(){var b,d=a(this);(b=d.data(q.typeahead))&&c(b,d)})}function f(a,b){return a.clone().addClass(b.classes.hint).removeData().css(b.css.hint).css(m(a)).prop({readonly:!0,required:!1}).removeAttr("id name placeholder").removeClass("required").attr({spellcheck:"false",tabindex:-1})}function h(a,b){a.data(q.attrs,{dir:a.attr("dir"),autocomplete:a.attr("autocomplete"),spellcheck:a.attr("spellcheck"),style:a.attr("style")}),a.addClass(b.classes.input).attr({spellcheck:!1});try{!a.attr("dir")&&a.attr("dir","auto")}catch(a){}return a}function m(a){return{backgroundAttachment:a.css("background-attachment"),backgroundClip:a.css("background-clip"),backgroundColor:a.css("background-color"),backgroundImage:a.css("background-image"),backgroundOrigin:a.css("background-origin"),backgroundPosition:a.css("background-position"),backgroundRepeat:a.css("background-repeat"),backgroundSize:a.css("background-size")}}function n(a){var c,d;c=a.data(q.www),d=a.parent().filter(c.selectors.wrapper),b.each(a.data(q.attrs),function(c,d){b.isUndefined(c)?a.removeAttr(d):a.attr(d,c)}),a.removeData(q.typeahead).removeData(q.www).removeData(q.attr).removeClass(c.classes.input),d.length&&(a.detach().insertAfter(d),d.remove())}function o(c){var d,e;return d=b.isJQuery(c)||b.isElement(c),e=d?a(c).first():[],e.length?e:null}var p,q,r;p=a.fn.typeahead,q={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},r={initialize:function(e,m){function n(){var c,n,r,s,t,u,v,w,x,y,z;b.each(m,function(a){a.highlight=!!e.highlight}),c=a(this),n=a(p.html.wrapper),r=o(e.hint),s=o(e.menu),t=!1!==e.hint&&!r,u=!1!==e.menu&&!s,t&&(r=f(c,p)),u&&(s=a(p.html.menu).css(p.css.menu)),r&&r.val(""),c=h(c,p),(t||u)&&(n.css(p.css.wrapper),c.css(t?p.css.input:p.css.inputWithNoHint),c.wrap(n).parent().prepend(t?r:null).append(u?s:null)),z=u?k:i,v=new d({el:c}),w=new g({hint:r,input:c,menu:s},p),x=new z({node:s,datasets:m},p),new j({$input:c,menu:x}),y=new l({input:w,menu:x,eventBus:v,minLength:e.minLength,autoselect:e.autoselect},p),c.data(q.www,p),c.data(q.typeahead,y)}var p;return m=b.isArray(m)?m:[].slice.call(arguments,1),e=e||{},p=c(e.classNames),this.each(n)},isEnabled:function(){var a;return e(this.first(),function(b){a=b.isEnabled()}),a},enable:function(){return e(this,function(a){a.enable()}),this},disable:function(){return e(this,function(a){a.disable()}),this},isActive:function(){var a;return e(this.first(),function(b){a=b.isActive()}),a},activate:function(){return e(this,function(a){a.activate()}),this},deactivate:function(){return e(this,function(a){a.deactivate()}),this},isOpen:function(){var a;return e(this.first(),function(b){a=b.isOpen()}),a},open:function(){return e(this,function(a){a.open()}),this},close:function(){return e(this,function(a){a.close()}),this},select:function(b){var c=!1,d=a(b);return e(this.first(),function(a){c=a.select(d)}),c},autocomplete:function(b){var c=!1,d=a(b);return e(this.first(),function(a){c=a.autocomplete(d)}),c},moveCursor:function(a){var b=!1;return e(this.first(),function(c){b=c.moveCursor(a)}),b},val:function(a){var c;return arguments.length?(e(this,function(c){c.setVal(b.toStr(a))}),this):(e(this.first(),function(a){c=a.getVal()}),c)},destroy:function(){return e(this,function(a,b){n(b),a.destroy()}),this}},a.fn.typeahead=function(a){return r[a]?r[a].apply(this,[].slice.call(arguments,1)):r.initialize.apply(this,arguments)},a.fn.typeahead.noConflict=function(){return a.fn.typeahead=p,this}}()});
\ No newline at end of file
diff --git a/searx/static/themes/oscar/package.json b/searx/static/themes/oscar/package.json
deleted file mode 100644
index 089793f69..000000000
--- a/searx/static/themes/oscar/package.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "devDependencies": {
- "grunt": "~1.4.1",
- "grunt-cli": "^1.4.3",
- "grunt-contrib-concat": "~2.0.0",
- "grunt-contrib-copy": "^1.0.0",
- "grunt-contrib-jshint": "~3.1.1",
- "grunt-contrib-less": "~3.0.0",
- "grunt-contrib-uglify": "~5.1.0",
- "grunt-contrib-watch": "~1.1.0",
- "jslint": "^0.12.1",
- "less": "^4.1.1",
- "less-plugin-clean-css": "^1.5.1"
- },
- "dependencies": {
- "bootstrap": "^3.4.1",
- "corejs-typeahead": "^1.3.1",
- "jquery": "^3.6.0",
- "leaflet": "^1.7.1"
- },
- "scripts": {
- "all": "npm install && grunt",
- "build": "grunt",
- "watch": "grunt watch",
- "clean": "rm -Rf node_modules package-lock.json"
- }
-}
diff --git a/searx/static/themes/oscar/src/generated/pygments-logicodev.less b/searx/static/themes/oscar/src/generated/pygments-logicodev.less
deleted file mode 100644
index e80da6b6d..000000000
--- a/searx/static/themes/oscar/src/generated/pygments-logicodev.less
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- this file is generated automatically by searxng_extra/update/update_pygments.py
- using pygments version 2.12.0
-*/
-
-.code-highlight .linenos {
- -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 */
- }
-
- margin-right: 8px;
- text-align: right;
-}
-
-.code-highlight pre { line-height: 125%; }
-.code-highlight td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
-.code-highlight span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
-.code-highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
-.code-highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
-.code-highlight .hll { background-color: #ffffcc }
-.code-highlight { background: #282C34; }
-.code-highlight .c { color: #556366; font-style: italic } /* Comment */
-.code-highlight .err { border: 1px solid #ff0000 } /* Error */
-.code-highlight .k { color: #BE74D5; font-weight: bold } /* Keyword */
-.code-highlight .o { color: #D19A66 } /* Operator */
-.code-highlight .ch { color: #556366; font-style: italic } /* Comment.Hashbang */
-.code-highlight .cm { color: #556366; font-style: italic } /* Comment.Multiline */
-.code-highlight .cp { color: #BC7A00; font-style: italic } /* Comment.Preproc */
-.code-highlight .cpf { color: #556366; font-style: italic } /* Comment.PreprocFile */
-.code-highlight .c1 { color: #556366; font-style: italic } /* Comment.Single */
-.code-highlight .cs { color: #556366; font-style: italic } /* Comment.Special */
-.code-highlight .gd { color: #A00000 } /* Generic.Deleted */
-.code-highlight .ge { font-style: italic } /* Generic.Emph */
-.code-highlight .gr { color: #FF0000 } /* Generic.Error */
-.code-highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.code-highlight .gi { color: #00A000 } /* Generic.Inserted */
-.code-highlight .go { color: #888888 } /* Generic.Output */
-.code-highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
-.code-highlight .gs { font-weight: bold } /* Generic.Strong */
-.code-highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.code-highlight .gt { color: #0044DD } /* Generic.Traceback */
-.code-highlight .kc { color: #BE74D5; font-weight: bold } /* Keyword.Constant */
-.code-highlight .kd { color: #BE74D5; font-weight: bold } /* Keyword.Declaration */
-.code-highlight .kn { color: #BE74D5; font-weight: bold } /* Keyword.Namespace */
-.code-highlight .kp { color: #BE74D5; font-weight: bold } /* Keyword.Pseudo */
-.code-highlight .kr { color: #BE74D5; font-weight: bold } /* Keyword.Reserved */
-.code-highlight .kt { color: #D46C72; font-weight: bold } /* Keyword.Type */
-.code-highlight .m { color: #D19A66 } /* Literal.Number */
-.code-highlight .s { color: #86C372 } /* Literal.String */
-.code-highlight .na { color: #7D9029 } /* Name.Attribute */
-.code-highlight .nb { color: #BE74D5 } /* Name.Builtin */
-.code-highlight .nc { color: #61AFEF; font-weight: bold } /* Name.Class */
-.code-highlight .no { color: #D19A66 } /* Name.Constant */
-.code-highlight .nd { color: #AA22FF } /* Name.Decorator */
-.code-highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
-.code-highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
-.code-highlight .nf { color: #61AFEF } /* Name.Function */
-.code-highlight .nl { color: #A0A000 } /* Name.Label */
-.code-highlight .nn { color: #61AFEF; font-weight: bold } /* Name.Namespace */
-.code-highlight .nt { color: #BE74D5; font-weight: bold } /* Name.Tag */
-.code-highlight .nv { color: #DFC06F } /* Name.Variable */
-.code-highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
-.code-highlight .w { color: #D7DAE0 } /* Text.Whitespace */
-.code-highlight .mb { color: #D19A66 } /* Literal.Number.Bin */
-.code-highlight .mf { color: #D19A66 } /* Literal.Number.Float */
-.code-highlight .mh { color: #D19A66 } /* Literal.Number.Hex */
-.code-highlight .mi { color: #D19A66 } /* Literal.Number.Integer */
-.code-highlight .mo { color: #D19A66 } /* Literal.Number.Oct */
-.code-highlight .sa { color: #86C372 } /* Literal.String.Affix */
-.code-highlight .sb { color: #86C372 } /* Literal.String.Backtick */
-.code-highlight .sc { color: #86C372 } /* Literal.String.Char */
-.code-highlight .dl { color: #86C372 } /* Literal.String.Delimiter */
-.code-highlight .sd { color: #86C372; font-style: italic } /* Literal.String.Doc */
-.code-highlight .s2 { color: #86C372 } /* Literal.String.Double */
-.code-highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
-.code-highlight .sh { color: #86C372 } /* Literal.String.Heredoc */
-.code-highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
-.code-highlight .sx { color: #BE74D5 } /* Literal.String.Other */
-.code-highlight .sr { color: #BB6688 } /* Literal.String.Regex */
-.code-highlight .s1 { color: #86C372 } /* Literal.String.Single */
-.code-highlight .ss { color: #DFC06F } /* Literal.String.Symbol */
-.code-highlight .bp { color: #BE74D5 } /* Name.Builtin.Pseudo */
-.code-highlight .fm { color: #61AFEF } /* Name.Function.Magic */
-.code-highlight .vc { color: #DFC06F } /* Name.Variable.Class */
-.code-highlight .vg { color: #DFC06F } /* Name.Variable.Global */
-.code-highlight .vi { color: #DFC06F } /* Name.Variable.Instance */
-.code-highlight .vm { color: #DFC06F } /* Name.Variable.Magic */
-.code-highlight .il { color: #D19A66 } /* Literal.Number.Integer.Long */
diff --git a/searx/static/themes/oscar/src/generated/pygments-pointhi.less b/searx/static/themes/oscar/src/generated/pygments-pointhi.less
deleted file mode 100644
index 2e8213c2c..000000000
--- a/searx/static/themes/oscar/src/generated/pygments-pointhi.less
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- this file is generated automatically by searxng_extra/update/update_pygments.py
- using pygments version 2.12.0
-*/
-
-.code-highlight .linenos {
- -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 */
- }
-
- margin-right: 8px;
- text-align: right;
-}
-
-.code-highlight pre { line-height: 125%; }
-.code-highlight td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
-.code-highlight span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
-.code-highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
-.code-highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
-.code-highlight .hll { background-color: #ffffcc }
-.code-highlight { background: #f8f8f8; }
-.code-highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
-.code-highlight .err { border: 1px solid #FF0000 } /* Error */
-.code-highlight .k { color: #008000; font-weight: bold } /* Keyword */
-.code-highlight .o { color: #666666 } /* Operator */
-.code-highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
-.code-highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
-.code-highlight .cp { color: #9C6500 } /* Comment.Preproc */
-.code-highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
-.code-highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
-.code-highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
-.code-highlight .gd { color: #A00000 } /* Generic.Deleted */
-.code-highlight .ge { font-style: italic } /* Generic.Emph */
-.code-highlight .gr { color: #E40000 } /* Generic.Error */
-.code-highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.code-highlight .gi { color: #008400 } /* Generic.Inserted */
-.code-highlight .go { color: #717171 } /* Generic.Output */
-.code-highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
-.code-highlight .gs { font-weight: bold } /* Generic.Strong */
-.code-highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.code-highlight .gt { color: #0044DD } /* Generic.Traceback */
-.code-highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
-.code-highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
-.code-highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
-.code-highlight .kp { color: #008000 } /* Keyword.Pseudo */
-.code-highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
-.code-highlight .kt { color: #B00040 } /* Keyword.Type */
-.code-highlight .m { color: #666666 } /* Literal.Number */
-.code-highlight .s { color: #BA2121 } /* Literal.String */
-.code-highlight .na { color: #687822 } /* Name.Attribute */
-.code-highlight .nb { color: #008000 } /* Name.Builtin */
-.code-highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
-.code-highlight .no { color: #880000 } /* Name.Constant */
-.code-highlight .nd { color: #AA22FF } /* Name.Decorator */
-.code-highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
-.code-highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
-.code-highlight .nf { color: #0000FF } /* Name.Function */
-.code-highlight .nl { color: #767600 } /* Name.Label */
-.code-highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
-.code-highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
-.code-highlight .nv { color: #19177C } /* Name.Variable */
-.code-highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
-.code-highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.code-highlight .mb { color: #666666 } /* Literal.Number.Bin */
-.code-highlight .mf { color: #666666 } /* Literal.Number.Float */
-.code-highlight .mh { color: #666666 } /* Literal.Number.Hex */
-.code-highlight .mi { color: #666666 } /* Literal.Number.Integer */
-.code-highlight .mo { color: #666666 } /* Literal.Number.Oct */
-.code-highlight .sa { color: #BA2121 } /* Literal.String.Affix */
-.code-highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
-.code-highlight .sc { color: #BA2121 } /* Literal.String.Char */
-.code-highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
-.code-highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
-.code-highlight .s2 { color: #BA2121 } /* Literal.String.Double */
-.code-highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
-.code-highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
-.code-highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
-.code-highlight .sx { color: #008000 } /* Literal.String.Other */
-.code-highlight .sr { color: #A45A77 } /* Literal.String.Regex */
-.code-highlight .s1 { color: #BA2121 } /* Literal.String.Single */
-.code-highlight .ss { color: #19177C } /* Literal.String.Symbol */
-.code-highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
-.code-highlight .fm { color: #0000FF } /* Name.Function.Magic */
-.code-highlight .vc { color: #19177C } /* Name.Variable.Class */
-.code-highlight .vg { color: #19177C } /* Name.Variable.Global */
-.code-highlight .vi { color: #19177C } /* Name.Variable.Instance */
-.code-highlight .vm { color: #19177C } /* Name.Variable.Magic */
-.code-highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
diff --git a/searx/static/themes/oscar/src/js/01_init.js b/searx/static/themes/oscar/src/js/01_init.js
deleted file mode 100644
index f72b0078b..000000000
--- a/searx/static/themes/oscar/src/js/01_init.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-window.searxng = (function(d) {
- 'use strict';
-
- //
- d.getElementsByTagName("html")[0].className = "js";
-
- // 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',
- infinite_scroll: script.getAttribute('data-infinite-scroll') === 'true',
- method: script.getAttribute('data-method'),
- translations: JSON.parse(script.getAttribute('data-translations'))
- };
-})(document);
diff --git a/searx/static/themes/oscar/src/js/autocompleter.js b/searx/static/themes/oscar/src/js/autocompleter.js
deleted file mode 100644
index 97c6d3c4e..000000000
--- a/searx/static/themes/oscar/src/js/autocompleter.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * (C) 2014 by Thomas Pointhuber,
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-$(document).ready(function(){
- var original_search_value = '';
- if(searxng.autocompleter) {
- var searchResults = new Bloodhound({
- datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
- queryTokenizer: Bloodhound.tokenizers.whitespace,
- remote: {
- url: './autocompleter?q=%QUERY',
- wildcard: '%QUERY'
- }
- });
- searchResults.initialize();
-
- $("#q").on('keydown', function(e) {
- if(e.which == 13) {
- original_search_value = $('#q').val();
- }
- });
- $('#q').typeahead({
- name: 'search-results',
- highlight: false,
- hint: true,
- displayKey: function(result) {
- return result;
- },
- classNames: {
- input: 'tt-input',
- hint: 'tt-hint',
- menu: 'tt-dropdown-menu',
- dataset: 'tt-dataset-search-results',
- },
- }, {
- name: 'autocomplete',
- source: searchResults,
- });
- $('#q').bind('typeahead:select', function(ev, suggestion) {
- if(original_search_value) {
- $('#q').val(original_search_value);
- }
- $("#search_form").submit();
- });
- }
-});
diff --git a/searx/static/themes/oscar/src/js/element_modifiers.js b/searx/static/themes/oscar/src/js/element_modifiers.js
deleted file mode 100644
index dff1a5e97..000000000
--- a/searx/static/themes/oscar/src/js/element_modifiers.js
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * (C) 2014 by Thomas Pointhuber,
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-$(document).ready(function(){
- /**
- * focus element if class="autofocus" and id="q"
- */
- $('#q.autofocus').focus();
-
- /**
- * Empty search bar when click on reset button
- */
- $("#clear_search").click(function () {
- document.getElementById("q").value = "";
- });
-
- /**
- * 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')) {
- new_html = $(this).html().replace(btnLabelDefault, btnLabelToggled);
- } else {
- new_html = $(this).html().replace(btnLabelToggled, btnLabelDefault);
- }
- $(this).html(new_html);
- }
- $(this).toggleClass(btnClass);
- $(this).toggleClass('btn-default');
- });
-
- /**
- * change text during btn-toggle click if possible
- */
- $('.media-loader').click(function() {
- var target = $(this).data('target');
- var iframe_load = $(target + ' > iframe');
- var srctest = iframe_load.attr('src');
- if(srctest === undefined || srctest === false){
- iframe_load.attr('src', iframe_load.data('src'));
- }
- });
-
- /**
- * Select or deselect every categories on double clic
- */
- $(".btn-sm").dblclick(function() {
- var btnClass = 'btn-' + $(this).data('btn-class'); // primary
- if($(this).hasClass('btn-default')) {
- $(".btn-sm > input").attr('checked', 'checked');
- $(".btn-sm > input").prop("checked", true);
- $(".btn-sm").addClass(btnClass);
- $(".btn-sm").addClass('active');
- $(".btn-sm").removeClass('btn-default');
- } else {
- $(".btn-sm > input").attr('checked', '');
- $(".btn-sm > input").removeAttr('checked');
- $(".btn-sm > input").checked = false;
- $(".btn-sm").removeClass(btnClass);
- $(".btn-sm").removeClass('active');
- $(".btn-sm").addClass('btn-default');
- }
- });
- $(".nav-tabs").click(function(a) {
- var tabs = $(a.target).parents("ul");
- tabs.children().attr("aria-selected", "false");
- $(a.target).parent().attr("aria-selected", "true");
- });
-
- /**
- * Layout images according to their sizes
- */
- searxng.image_thumbnail_layout = new searxng.ImageLayout('#main_results', '#main_results .result-images', 'img.img-thumbnail', 15, 3, 200);
- searxng.image_thumbnail_layout.watch();
-});
diff --git a/searx/static/themes/oscar/src/js/image_layout.js b/searx/static/themes/oscar/src/js/image_layout.js
deleted file mode 100644
index c65351f7b..000000000
--- a/searx/static/themes/oscar/src/js/image_layout.js
+++ /dev/null
@@ -1,224 +0,0 @@
-/**
-*
-* Google Image Layout v0.0.1
-* Description, by Anh Trinh.
-* Heavily modified for searx
-* https://ptgamr.github.io/2014-09-12-google-image-layout/
-* https://ptgamr.github.io/google-image-layout/src/google-image-layout.js
-*
-* @license Free to use under the MIT License.
-*
-* @example Example usage of searxng.ImageLayout class.
-* searxng.image_thumbnail_layout = new searxng.ImageLayout(
-* '#urls', // container_selector
-* '#urls .result-images', // results_selector
-* 'img.image_thumbnail', // img_selector
-* 14, // verticalMargin
-* 6, // horizontalMargin
-* 200 // maxHeight
-* );
-* searxng.image_thumbnail_layout.watch();
-*/
-
-
-(function (w, d) {
- function ImageLayout (container_selector, results_selector, img_selector, verticalMargin, horizontalMargin, maxHeight) {
- this.container_selector = container_selector;
- this.results_selector = results_selector;
- this.img_selector = img_selector;
- this.verticalMargin = verticalMargin;
- this.horizontalMargin = horizontalMargin;
- this.maxHeight = maxHeight;
- this.trottleCallToAlign = null;
- this.alignAfterThrotteling = false;
- }
-
- /**
- * Get the height that make all images fit the container
- *
- * width = w1 + w2 + w3 + ... = r1*h + r2*h + r3*h + ...
- *
- * @param {[type]} images the images to be calculated
- * @param {[type]} width the container witdth
- * @param {[type]} margin the margin between each image
- *
- * @return {[type]} the height
- */
- ImageLayout.prototype._getHeigth = function (images, width) {
- var i, img;
- var r = 0;
-
- for (i = 0; i < images.length; i++) {
- img = images[i];
- if ((img.naturalWidth > 0) && (img.naturalHeight > 0)) {
- r += img.naturalWidth / img.naturalHeight;
- } else {
- // assume that not loaded images are square
- r += 1;
- }
- }
-
- return (width - images.length * this.verticalMargin) / r; // have to round down because Firefox will automatically roundup value with number of decimals > 3
- };
-
- ImageLayout.prototype._setSize = function (images, height) {
- var i, img, imgWidth;
- var imagesLength = images.length, resultNode;
-
- for (i = 0; i < imagesLength; i++) {
- img = images[i];
- if ((img.naturalWidth > 0) && (img.naturalHeight > 0)) {
- imgWidth = height * img.naturalWidth / img.naturalHeight;
- } else {
- // not loaded image : make it square as _getHeigth said it
- imgWidth = height;
- }
- img.setAttribute('width', Math.round(imgWidth));
- img.setAttribute('height', Math.round(height));
- img.style.marginLeft = Math.round(this.horizontalMargin) + 'px';
- img.style.marginTop = Math.round(this.horizontalMargin) + 'px';
- img.style.marginRight = Math.round(this.verticalMargin - 7) + 'px'; // -4 is the negative margin of the inline element
- img.style.marginBottom = Math.round(this.verticalMargin - 7) + 'px';
- resultNode = img.parentNode.parentNode;
- if (!resultNode.classList.contains('js')) {
- resultNode.classList.add('js');
- }
- }
- };
-
- ImageLayout.prototype._alignImgs = function (imgGroup) {
- var isSearching, slice, i, h;
- var containerElement = d.querySelector(this.container_selector);
- var containerCompStyles = window.getComputedStyle(containerElement);
- var containerPaddingLeft = parseInt(containerCompStyles.getPropertyValue('padding-left'), 10);
- var containerPaddingRight = parseInt(containerCompStyles.getPropertyValue('padding-right'), 10);
- var containerWidth = containerElement.clientWidth - containerPaddingLeft - containerPaddingRight;
-
- while (imgGroup.length > 0) {
- isSearching = true;
- for (i = 1; i <= imgGroup.length && isSearching; i++) {
- slice = imgGroup.slice(0, i);
- h = this._getHeigth(slice, containerWidth);
- if (h < this.maxHeight) {
- this._setSize(slice, h);
- // continue with the remaining images
- imgGroup = imgGroup.slice(i);
- isSearching = false;
- }
- }
- if (isSearching) {
- this._setSize(slice, Math.min(this.maxHeight, h));
- break;
- }
- }
- };
-
- ImageLayout.prototype.throttleAlign = function () {
- var obj = this;
- if (obj.trottleCallToAlign) {
- obj.alignAfterThrotteling = true;
- } else {
- obj.alignAfterThrotteling = false;
- obj.align();
- obj.trottleCallToAlign = setTimeout(function () {
- if (obj.alignAfterThrotteling) {
- obj.align();
- }
- obj.alignAfterThrotteling = false;
- obj.trottleCallToAlign = null;
- }, 20);
- }
- };
-
- ImageLayout.prototype.align = function () {
- var i;
- var results_selectorNode = d.querySelectorAll(this.results_selector);
- var results_length = results_selectorNode.length;
- var previous = null;
- var current = null;
- var imgGroup = [];
-
- for (i = 0; i < results_length; i++) {
- current = results_selectorNode[i];
- if (current.previousElementSibling !== previous && imgGroup.length > 0) {
- // the current image is not connected to previous one
- // so the current image is the start of a new group of images.
- // so call _alignImgs to align the current group
- this._alignImgs(imgGroup);
- // and start a new empty group of images
- imgGroup = [];
- }
- // add the current image to the group (only the img tag)
- imgGroup.push(current.querySelector(this.img_selector));
- // update the previous variable
- previous = current;
- }
- // align the remaining images
- if (imgGroup.length > 0) {
- this._alignImgs(imgGroup);
- }
- };
-
- ImageLayout.prototype._monitorImages = function () {
- var i, img;
- var objthrottleAlign = this.throttleAlign.bind(this);
- var results_nodes = d.querySelectorAll(this.results_selector);
- var results_length = results_nodes.length;
-
- function img_load_error (event) {
- // console.log("ERROR can't load: " + event.originalTarget.src);
- event.originalTarget.src = w.searxng.static_path + w.searxng.theme.img_load_error;
- }
-
- for (i = 0; i < results_length; i++) {
- img = results_nodes[i].querySelector(this.img_selector);
- if (img !== null && img !== undefined && !img.classList.contains('aligned')) {
- img.addEventListener('load', objthrottleAlign);
- // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
- img.addEventListener('error', objthrottleAlign);
- img.addEventListener('timeout', objthrottleAlign);
- if (w.searxng.theme.img_load_error) {
- img.addEventListener('error', img_load_error, {once: true});
- }
- img.classList.add('aligned');
- }
- }
- };
-
- ImageLayout.prototype.watch = function () {
- var objthrottleAlign = this.throttleAlign.bind(this);
-
- // https://developer.mozilla.org/en-US/docs/Web/API/Window/pageshow_event
- w.addEventListener('pageshow', objthrottleAlign);
- // https://developer.mozilla.org/en-US/docs/Web/API/FileReader/load_event
- w.addEventListener('load', objthrottleAlign);
- // https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event
- w.addEventListener('resize', objthrottleAlign);
-
- this._monitorImages();
-
- var obj = this;
-
- let observer = new MutationObserver(entries => {
- let newElement = false;
- for (let i = 0; i < entries.length; i++) {
- if (entries[i].addedNodes.length > 0 && entries[i].addedNodes[0].classList.contains('result')) {
- newElement = true;
- break;
- }
- }
- if (newElement) {
- obj._monitorImages();
- }
- });
- observer.observe(d.querySelector(this.container_selector), {
- childList: true,
- subtree: true,
- attributes: false,
- characterData: false,
- });
- };
-
- w.searxng.ImageLayout = ImageLayout;
-
-}(window, document));
diff --git a/searx/static/themes/oscar/src/js/infinite_scroll.js b/searx/static/themes/oscar/src/js/infinite_scroll.js
deleted file mode 100644
index 6dbff5fef..000000000
--- a/searx/static/themes/oscar/src/js/infinite_scroll.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-$(document).ready(function() {
- function hasScrollbar() {
- var root = document.compatMode=='BackCompat'? document.body : document.documentElement;
- return root.scrollHeight>root.clientHeight;
- }
-
- function loadNextPage() {
- var formData = $('#pagination form:last').serialize();
- if (formData) {
- $('#pagination').html('');
- $.ajax({
- type: "POST",
- url: $('#search_form').prop('action'),
- data: formData,
- dataType: 'html',
- success: function(data) {
- var body = $(data);
- $('#pagination').remove();
- $('#main_results').append('
');
- $('#main_results').append(body.find('.result'));
- $('#main_results').append(body.find('#pagination'));
- if(!hasScrollbar()) {
- loadNextPage();
- }
- }
- });
- }
- }
-
- if (searxng.infinite_scroll) {
- var win = $(window);
- $("html").addClass('infinite_scroll');
- if(!hasScrollbar()) {
- loadNextPage();
- }
- win.on('scroll', function() {
- if ($(document).height() - win.height() - win.scrollTop() < 150) {
- loadNextPage();
- }
- });
- }
-
-});
diff --git a/searx/static/themes/oscar/src/js/infobox.js b/searx/static/themes/oscar/src/js/infobox.js
deleted file mode 100644
index f3d0c04b9..000000000
--- a/searx/static/themes/oscar/src/js/infobox.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-window.addEventListener('load', function() {
- // Hide infobox toggle if shrunk size already fits all content.
- $('.infobox').each(function() {
- var infobox_body = $(this).find('.infobox_body');
- var total_height = infobox_body.prop('scrollHeight') + infobox_body.find('img.infobox_part').height();
- var max_height = infobox_body.css('max-height').replace('px', '');
- if (total_height <= max_height) {
- $(this).find('.infobox_toggle').hide();
- }
- });
-});
diff --git a/searx/static/themes/oscar/src/js/leaflet_map.js b/searx/static/themes/oscar/src/js/leaflet_map.js
deleted file mode 100644
index 5c9703cc7..000000000
--- a/searx/static/themes/oscar/src/js/leaflet_map.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * (C) 2014 by Thomas Pointhuber,
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-$(document).ready(function(){
- $(".searxng_init_map").on( "click", function( event ) {
- var leaflet_target = $(this).data('leaflet-target');
- var map_lon = $(this).data('map-lon');
- var map_lat = $(this).data('map-lat');
- var map_zoom = $(this).data('map-zoom');
- var map_boundingbox = $(this).data('map-boundingbox');
- var map_geojson = $(this).data('map-geojson');
-
- if(map_boundingbox) {
- southWest = L.latLng(map_boundingbox[0], map_boundingbox[2]);
- northEast = L.latLng(map_boundingbox[1], map_boundingbox[3]);
- map_bounds = L.latLngBounds(southWest, northEast);
- }
-
- // change default imagePath
- L.Icon.Default.imagePath = "./static/themes/oscar/css/images/";
-
- // init map
- var map = L.map(leaflet_target);
-
- // create the tile layer with correct attribution
- var osmMapnikUrl='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
- var osmMapnikAttrib='Map data © OpenStreetMap contributors';
- var osmMapnik = new L.TileLayer(osmMapnikUrl, {minZoom: 1, maxZoom: 19, attribution: osmMapnikAttrib});
-
- var osmWikimediaUrl='https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png';
- var osmWikimediaAttrib = 'Wikimedia maps beta | Maps data © OpenStreetMap contributors';
- var osmWikimedia = new L.TileLayer(osmWikimediaUrl, {minZoom: 1, maxZoom: 19, attribution: osmWikimediaAttrib});
-
- // init map view
- setTimeout(function() {
- if(map_bounds) {
- map.fitBounds(map_bounds, {
- maxZoom:17
- });
- } else if (map_lon && map_lat) {
- if(map_zoom)
- map.setView(new L.LatLng(map_lat, map_lon),map_zoom);
- else
- map.setView(new L.LatLng(map_lat, map_lon),8);
- }
- }, 0);
-
- map.addLayer(osmMapnik);
-
- var baseLayers = {
- "OSM Mapnik": osmMapnik/*,
- "OSM Wikimedia": osmWikimedia*/
- };
-
- L.control.layers(baseLayers).addTo(map);
-
- if(map_geojson)
- L.geoJson(map_geojson).addTo(map);
- /*else if(map_bounds)
- L.rectangle(map_bounds, {color: "#ff7800", weight: 3, fill:false}).addTo(map);*/
-
- // this event occour only once per element
- $( this ).off( event );
- });
-});
diff --git a/searx/static/themes/oscar/src/js/preferences.js b/searx/static/themes/oscar/src/js/preferences.js
deleted file mode 100644
index d3a3a7d76..000000000
--- a/searx/static/themes/oscar/src/js/preferences.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-$(document).ready(function(){
- let engine_descriptions = null;
- function load_engine_descriptions() {
- if (engine_descriptions == null) {
- $.ajax("engine_descriptions.json", dataType="json").done(function(data) {
- engine_descriptions = data;
- for (const [engine_name, description] of Object.entries(data)) {
- let elements = $('[data-engine-name="' + engine_name + '"] .description');
- for(const element of elements) {
- let source = ' (' + searxng.translations.Source + ': ' + description[1] + ')';
- element.innerHTML = description[0] + source;
- }
- }
- });
- }
- }
-
- if (document.querySelector('body[class="preferences_endpoint"]')) {
- $('[data-engine-name]').hover(function() {
- load_engine_descriptions();
- });
- }
-});
diff --git a/searx/static/themes/oscar/src/js/toggleall.js b/searx/static/themes/oscar/src/js/toggleall.js
deleted file mode 100644
index 69acb9d72..000000000
--- a/searx/static/themes/oscar/src/js/toggleall.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * (C) Copyright Contributors to the SearXNG project.
- * (C) Copyright Contributors to the searx project (2014 - 2021).
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-$(document).ready(function(){
- $("#allow-all-engines").click(function() {
- $(".onoffswitch-checkbox").each(function() { this.checked = false;});
- });
-
- $("#disable-all-engines").click(function() {
- $(".onoffswitch-checkbox").each(function() { this.checked = true;});
- });
-});
-
diff --git a/searx/static/themes/oscar/src/less/bootstrap/bootstrap.less b/searx/static/themes/oscar/src/less/bootstrap/bootstrap.less
deleted file mode 100644
index d6145eb00..000000000
--- a/searx/static/themes/oscar/src/less/bootstrap/bootstrap.less
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "../../../node_modules/bootstrap/less/bootstrap.less";
-
-@import "typeahead.less";
diff --git a/searx/static/themes/oscar/src/less/bootstrap/typeahead.less b/searx/static/themes/oscar/src/less/bootstrap/typeahead.less
deleted file mode 100644
index de1c6ef05..000000000
--- a/searx/static/themes/oscar/src/less/bootstrap/typeahead.less
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * typehead.js-bootstrap3.less
- * @version 0.2.3
- * https://github.com/hyspace/typeahead.js-bootstrap3.less
- *
- * Licensed under the MIT license:
- * http://www.opensource.org/licenses/MIT
- */
-
-//custom mixin for .form-control-validation
-.typeahead-form-control(@border-color: #ccc;) {
- border-color: @border-color;
- .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
- &:focus {
- border-color: darken(@border-color, 10%);
- @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
- .box-shadow(@shadow);
- }
- }
-
- //main styles for control
- .tt-input,
- .tt-hint {
- .twitter-typeahead &{
- //validation states
- .has-warning &{
- .typeahead-form-control(@state-warning-text);
- }
- .has-error &{
- .typeahead-form-control(@state-danger-text);
- }
- .has-success &{
- .typeahead-form-control(@state-success-text);
- }
- }
-
- //border
- .input-group .twitter-typeahead:first-child &{
- .border-left-radius(@border-radius-base);
- }
- .input-group .twitter-typeahead:last-child &{
- .border-right-radius(@border-radius-base);
- }
-
- //sizing - small:size and border
- .input-group.input-group-sm .twitter-typeahead &{
- .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
- }
- .input-group.input-group-sm .twitter-typeahead:not(:first-child):not(:last-child) &{
- border-radius: 0;
- }
- .input-group.input-group-sm .twitter-typeahead:first-child &{
- .border-left-radius(@border-radius-small);
- .border-right-radius(0);
- }
- .input-group.input-group-sm .twitter-typeahead:last-child &{
- .border-left-radius(0);
- .border-right-radius(@border-radius-small);
- }
-
- //sizing - large:size and border
- .input-group.input-group-lg .twitter-typeahead &{
- .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
- }
- .input-group.input-group-lg .twitter-typeahead:not(:first-child):not(:last-child) &{
- border-radius: 0;
- }
- .input-group.input-group-lg .twitter-typeahead:first-child &{
- .border-left-radius(@border-radius-large);
- .border-right-radius(0);
- }
- .input-group.input-group-lg .twitter-typeahead:last-child &{
- .border-left-radius(0);
- .border-right-radius(@border-radius-large);
- }
- }
-
- //for wrapper
- .twitter-typeahead {
- width: 100%;
- .input-group &{
- //overwrite `display:inline-block` style
- display: table-cell!important;
- float: left;
- }
- }
-
- //particular style for each other
- .twitter-typeahead .tt-hint {
- color: @text-muted;//color - hint
- }
- .twitter-typeahead .tt-input {
- z-index: 2;
- //disabled status
- //overwrite inline styles of .tt-query
- &[disabled],
- &[readonly],
- fieldset[disabled] & {
- cursor: not-allowed;
- //overwirte inline style
- background-color: @input-bg-disabled!important;
- }
- }
-
- //dropdown styles
- .tt-dropdown-menu {
- //dropdown menu
- position: absolute;
- top: 100%;
- left: 0;
- z-index: @zindex-dropdown;
- min-width: 160px;
- width: 100%;
- padding: 5px 0;
- margin: 2px 0 0;
- list-style: none;
- font-size: @font-size-base;
- background-color: @dropdown-bg;
- border: 1px solid @dropdown-fallback-border;
- border: 1px solid @dropdown-border;
- border-radius: @border-radius-base;
- .box-shadow(0 6px 12px rgba(0,0,0,.175));
- background-clip: padding-box;
- *border-right-width: 2px;
- *border-bottom-width: 2px;
-
- .tt-suggestion {
- //item
- display: block;
- padding: 3px 20px;
- clear: both;
- font-weight: normal;
- line-height: @line-height-base;
- color: @dropdown-link-color;
- white-space: nowrap;
- text-align: left;
- cursor: pointer !important;
- &.tt-cursor {
- //item selected
- text-decoration: none;
- outline: 0;
- background-color: @dropdown-link-hover-bg;
- color: @dropdown-link-hover-color;
- a {
- //link in item selected
- color: @dropdown-link-hover-color;
- }
- }
- p {
- margin: 0;
- }
- }
- }
-
\ No newline at end of file
diff --git a/searx/static/themes/oscar/src/less/infinite_scroll.less b/searx/static/themes/oscar/src/less/infinite_scroll.less
deleted file mode 100644
index f66373651..000000000
--- a/searx/static/themes/oscar/src/less/infinite_scroll.less
+++ /dev/null
@@ -1,21 +0,0 @@
-@keyframes rotate-forever {
- 0% { transform: rotate(0deg) }
- 100% { transform: rotate(360deg) }
-}
-
-.loading-spinner {
- animation-duration: 0.75s;
- animation-iteration-count: infinite;
- animation-name: rotate-forever;
- animation-timing-function: linear;
- height: 30px;
- width: 30px;
- border: 8px solid #666;
- border-right-color: transparent;
- border-radius: 50% !important;
- margin: 0 auto;
-}
-
-html.infinite_scroll #pagination button {
- visibility: hidden;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev-dark/oscar.less b/searx/static/themes/oscar/src/less/logicodev-dark/oscar.less
deleted file mode 100644
index 71821a259..000000000
--- a/searx/static/themes/oscar/src/less/logicodev-dark/oscar.less
+++ /dev/null
@@ -1,269 +0,0 @@
-@import "../logicodev/variables.less";
-@import "../../../../__common__/less/new_issue.less";
-@import "../../../../__common__/less/stats.less";
-@import "../../../../__common__/less/result_templates.less";
-@import "../../less/result_templates.less";
-@import "../../less/preferences.less";
-@import "../infinite_scroll.less";
-@import "../../generated/pygments-logicodev.less";
-
-@stacked-bar-chart: rgb(213, 216, 215, 1);
-
-@import "../logicodev/footer.less";
-@import "../logicodev/checkbox.less";
-@import "../logicodev/onoff.less";
-@import "../logicodev/results.less";
-@import "../logicodev/infobox.less";
-@import "../logicodev/search.less";
-@import "../logicodev/advanced.less";
-@import "../logicodev/cursor.less";
-@import "../logicodev/code.less";
-@import "../logicodev/preferences.less";
-
-@import (inline) "../safari.css";
-
-/*Global*/
-body {
- background:#1d1f21 none !important;
- color:#D5D8D7 !important;
-}
-
-a {
- color:#41a2ce !important;
- text-decoration: none !important;
-}
-
-a:hover {
- color:#5F89AC !important;
-}
-
-input, button, textarea, select {
- border: 1px solid #282a2e !important;
- background-color: #444 !important;
- color: #BBB !important;
-}
-
-input:focus, button:focus, textarea:focus, select:focus {
- border: 1px solid #C5C8C6 !important;
- box-shadow: initial !important;
-}
-
-div#advanced-search-container div#categories label{
- background:none;
- border: 1px solid #282a2e;
-}
-
-ul.nav li a {
- border: 0 !important;
- border-bottom: 1px solid #4d3f43 !important;
-}
-
-#categories *, .modal-wrapper * {
- background:#1d1f21 none !important;
- color:#D5D8D7 !important;
-}
-
-#categories *, {
- border: 1px solid #3d3f43 !important;
-}
-
-#categories *:checked + label {
- border-bottom: 4px solid #3d9f94 !important;
-}
-
-.result-content, .result-source, .result-format {
- color:#B5B8B7 !important;
-}
-
-.external-link {
- color:#35B887 !important;
-}
-
-.table-striped tr td, .table-striped tr th {
- border-color: #4d3f43 !important;
-}
-
-/*nav*/
-.navbar{
- background:#1d1f21 none;
- border: none;
-}
-
-.navbar .active, .menu {
- background: none !important;
-}
-
-.label-default {
- background: none;
- color: #BBB;
-}
-
-.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, .nav-tabs.nav-justified > .active > a{
- background-color: #282a2e !important;
-
-}
-
-/*Search Page*/
-.result-default:hover, .result-code:hover, .result-torrent:hover, .result-videos:hover, .result-map:hover {
- background-color: #222426;
-}
-
-/*buttons*/
-.btn {
- color: #BBB;
- background-color: #444 ;
- border: 1px solid #282a2e;
-}
-
-.btn:hover {
- color:#444 !important;
- background-color: #BBB !important;
-}
-
-.btn-primary.active {
- color: #C5C8C6;
- background-color: #5F89AC;
- border-color: #5F89AC;
-}
-
-/*Right Pannels*/
-.panel {
- border: 1px solid #111;
- background: none;
-}
-
-.panel-heading {
- color: #C5C8C6 !important;
- background: #282a2e !important;
- border-bottom: none;
-}
-
-.panel-body {
- color: #C5C8C6 !important;
- background: #1d1f21 !important;
- border-color: #111 !important;
-}
-
-.panel-footer {
- color: #C5C8C6 !important;
- background: #282a2e !important;
- border-top: 1px solid #111 !important;
-}
-
-.infobox_toggle:hover {
- background: #3d3f43 !important;
-}
-
-p.btn.btn-default{
- background: none;
-}
-
-.table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th, .table-striped>thead>tr:nth-child(odd)>th {
- background:#2d2f32 none !important;
- color:#D5D8D7 !important;
-}
-
-.label-success {
- background:#1d6f42 none !important;
-}
-
-.label-danger {
- background:#ad1f12 none !important;
-}
-
-.searxng-navbar {
- background: #333334;
- height: 2.3rem;
- font-size: 1.3rem;
- line-height: 1.3rem;
- padding: 0.5rem;
- font-weight: bold;
- margin-bottom: 0.8rem;
-
- a, a:hover {
- margin-right: 2.0rem;
- color: white;
- text-decoration: none;
- }
-
- .instance a {
- color: @light-green;
- margin-left: 2.0rem;
- }
-}
-
-#main-logo {
- margin-top: 20vh;
- margin-bottom: 25px;
-
- & > img {
- max-width: 350px;
- width: 80%;
- }
-}
-
-.onoffswitch-inner:before, .onoffswitch-inner:after {
- background:#1d1f21 none !important;
-}
-
-.onoffswitch-switch, .onoffswitch-label {
- border: 2px solid #3d3f43 !important;
-}
-
-.nav>li>a:hover, .nav>li>a:focus {
- background-color: #3d3f43 !important;
-}
-
-/*Images search*/
-.img-thumbnail, .thumbnail {
- padding: 0px;
- line-height: 1.42857143;
- background: none;
- border: none;
-}
-
-.modal-content {
- background:#1d1f21 none !important;
-}
-
-/*Preferences*/
-
-.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th {
- background: RGBA(240, 0, 0, 0.56) !important;
- color: #C5C8C6 !important;
-}
-
-.table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th {
- background: RGBA(237, 59, 59, 0.61) !important;
- color: #C5C8C6 !important;
-}
-
-.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
- background: rgb(102, 105, 110) !important;
-}
-
-.btn-success {
- color: #C5C8C6;
- background: #449d44;
-}
-
-.btn-danger {
- color: #C5C8C6;
- background: #d9534f;
-
-}
-
-.well {
- background: #444;
- border-color: #282a2e;
-}
-
-.highlight {
- background-color: transparent !important;
-}
-
-/* engine tooltip */
-.engine-tooltip {
- border: 1px solid #3d3f43;
- background: #1d1f21 ;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/advanced.less b/searx/static/themes/oscar/src/less/logicodev/advanced.less
deleted file mode 100644
index b8e10de4d..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/advanced.less
+++ /dev/null
@@ -1,49 +0,0 @@
-#advanced-search-container {
- display: none;
- text-align: left;
- margin-bottom: 1rem;
- clear: both;
-
- label, .input-group-addon {
- font-size: 1.2rem;
- font-weight:normal;
- background-color: white;
- border: @mild-gray 1px solid;
- border-right: none;
- color: @dark-gray;
- padding-bottom: 0.4rem;
- padding-right: 0.7rem;
- padding-left: 0.7rem;
- }
-
- label:last-child, .input-group-addon:last-child {
- border-right: @mild-gray 1px solid;
- }
-
- input[type="radio"] {
- display: none;
- }
-
- input[type="radio"]:checked + label{
- color: @black;
- font-weight: bold;
- border-bottom: @light-green 5px solid;
- }
-}
-
-#check-advanced:focus + label {
- text-decoration: underline;
-}
-
-#check-advanced:checked ~ #advanced-search-container {
- display: block;
-}
-
-.advanced {
- padding: 0;
- margin-top: 0.3rem;
- text-align: right;
- label, select {
- cursor: pointer;
- }
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/checkbox.less b/searx/static/themes/oscar/src/less/logicodev/checkbox.less
deleted file mode 100644
index 6428b36ed..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/checkbox.less
+++ /dev/null
@@ -1,9 +0,0 @@
-// Hide element if checkbox is checked
-input[type=checkbox]:checked + .label_hide_if_checked, input[type=checkbox]:checked + .label_hide_if_not_checked + .label_hide_if_checked {
- display:none;
-}
-
-// Hide element if checkbox is not checked
-input[type=checkbox]:not(:checked) + .label_hide_if_not_checked, input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not_checked {
- display:none;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/code.less b/searx/static/themes/oscar/src/less/logicodev/code.less
deleted file mode 100644
index de7613e9e..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/code.less
+++ /dev/null
@@ -1,12 +0,0 @@
-pre, code {
- font-family: 'Ubuntu Mono', 'Courier New', 'Lucida Console', monospace !important;
-}
-
-.code-highlight pre {
- margin-bottom: 25px;
- padding: 20px 10px;
- background-color: inherit;
- color: inherit;
- border: inherit;
- color: #D7DAE0;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/cursor.less b/searx/static/themes/oscar/src/less/logicodev/cursor.less
deleted file mode 100644
index cbc1ea6fc..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/cursor.less
+++ /dev/null
@@ -1,8 +0,0 @@
-// display cursor
-.cursor-text {
- cursor: text !important;
-}
-
-.cursor-pointer {
- cursor: pointer !important;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/footer.less b/searx/static/themes/oscar/src/less/logicodev/footer.less
deleted file mode 100644
index d23a0cc97..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/footer.less
+++ /dev/null
@@ -1,30 +0,0 @@
-// Sticky footer styles
-*{
- border-radius: 0 !important;
-}
-html {
- position: relative;
- min-height: 100%;
- color: @black;
-}
-
-body {
- /* Margin bottom by footer height */
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
- margin-bottom: 80px;
- background-color: white;
-
- a{
- color: @blue;
- }
-}
-
-.footer {
- position: absolute;
- bottom: 0;
- width: 100%;
- /* Set the fixed height of the footer here */
- height: 60px;
- text-align: center;
- color: #999;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/infobox.less b/searx/static/themes/oscar/src/less/logicodev/infobox.less
deleted file mode 100644
index c5bdfa612..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/infobox.less
+++ /dev/null
@@ -1,92 +0,0 @@
-.infobox {
-
- .panel-heading{
- background-color: @dim-gray;
-
- .panel-title{
- font-weight: 700;
- }
- }
-
- .header_url {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- display: block;
- }
-
-
- p{
- font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
- font-style: italic;
- }
-
- img{
- max-height: "250px";
- }
-
- .btn{
- background-color: @dark-blue;
- border: none;
-
- a{
- color: white;
- margin: 5px;
- }
- }
-
- .infobox_part {
- margin-bottom: 20px;
- word-wrap: break-word;
- table-layout: fixed;
-
- }
-
- .infobox_part:last-child {
- margin-bottom: 0;
- }
-
- .infobox_toggle {
- width: 100%;
- text-align: center;
- margin-bottom: 0px;
- cursor: pointer;
- }
-
- .infobox_toggle:hover {
- background: @mild-gray;
- }
-
- // Shrink infobox size when toggle is off
- .infobox_checkbox ~ .infobox_body {
- max-height: 300px;
- overflow: hidden;
- }
- .infobox_checkbox:checked ~ .infobox_body {
- max-height: none;
- }
-
- // Show toggle button as down when infobox is shrunk
- .infobox_checkbox ~ .infobox_toggle .infobox_label_down {
- display: block;
- }
- .infobox_checkbox ~ .infobox_toggle .infobox_label_up {
- display: none;
- }
-
- // Show toggle button as up when infobox is expanded
- .infobox_checkbox:checked ~ .infobox_toggle .infobox_label_up {
- display: block;
- }
- .infobox_checkbox:checked ~ .infobox_toggle .infobox_label_down {
- display: none;
- }
-
- // Hide main image when toggle is off
- .infobox_checkbox ~ .infobox_body img.infobox_part {
- display: none;
- }
- .infobox_checkbox:checked ~ .infobox_body img.infobox_part {
- display: block;
- }
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/navbar.less b/searx/static/themes/oscar/src/less/logicodev/navbar.less
deleted file mode 100644
index e1bbd35c6..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/navbar.less
+++ /dev/null
@@ -1,30 +0,0 @@
-.searxng-navbar {
- background: @black;
- height: 2.3rem;
- font-size: 1.3rem;
- line-height: 1.3rem;
- padding: 0.5rem;
- font-weight: bold;
- margin-bottom: 0.8rem;
-
- a, a:hover {
- margin-right: 2.0rem;
- color: white;
- text-decoration: none;
- }
-
- .instance a {
- color: @light-green;
- margin-left: 2.0rem;
- }
-}
-
-#main-logo {
- margin-top: 20vh;
- margin-bottom: 25px;
-
- & > img {
- max-width: 350px;
- width: 80%;
- }
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/onoff.less b/searx/static/themes/oscar/src/less/logicodev/onoff.less
deleted file mode 100644
index fbd2983eb..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/onoff.less
+++ /dev/null
@@ -1,74 +0,0 @@
-.onoff-checkbox {
- width:15%;
-}
-.onoffswitch {
- position: relative;
- width: 110px;
- -webkit-user-select:none;
- -moz-user-select:none;
- -ms-user-select: none;
-}
-.onoffswitch-checkbox {
- opacity: 0;
- position: absolute;
-}
-.onoffswitch-checkbox:before {
- content: "";
- display: inline-block;
- width: 16px;
- height: 16px;
- margin-right: 10px;
- position: absolute;
- left: 0;
- bottom: 1px;
- background-color: #fff;
- border: 1px solid #ccc;
- border-radius: 0px;
-}
-.onoffswitch-label {
- display: block;
- overflow: hidden;
- cursor: pointer;
- border: 2px solid #FFFFFF !important;
- border-radius: 50px !important;
-}
-.onoffswitch-inner {
- display: block;
- transition: margin 0.3s ease-in 0s;
-}
-
-.onoffswitch-inner:before, .onoffswitch-inner:after {
- display: block;
- float: left;
- width: 50%;
- height: 30px;
- padding: 0;
- line-height: 40px;
- font-size: 20px;
- box-sizing: border-box;
- content: "";
- background-color: #EEEEEE;
-}
-
-.onoffswitch-switch {
- display: block;
- width: 37px;
- background-color: @light-green;
- position: absolute;
- top: 0;
- bottom: 0;
- right: 0px;
- border: 2px solid #FFFFFF;
- border-radius: 50px !important;
- transition: all 0.3s ease-in 0s;
-}
-.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
- margin-right: 0;
-}
-.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
- right: 71px;
- background-color: #A1A1A1;
-}
-.onoffswitch-checkbox:focus + .onoffswitch-label .onoffswitch-switch {
- border: 3px solid #444444;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/oscar.less b/searx/static/themes/oscar/src/less/logicodev/oscar.less
deleted file mode 100644
index 61e03745b..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/oscar.less
+++ /dev/null
@@ -1,22 +0,0 @@
-@import "variables.less";
-@import "../../../../__common__/less/new_issue.less";
-@import "../../../../__common__/less/stats.less";
-@import "../../../../__common__/less/result_templates.less";
-@import "../../less/result_templates.less";
-@import "../../less/preferences.less";
-@import "../infinite_scroll.less";
-@import "../../generated/pygments-logicodev.less";
-
-@import "navbar.less";
-@import "footer.less";
-@import "checkbox.less";
-@import "onoff.less";
-@import "results.less";
-@import "infobox.less";
-@import "search.less";
-@import "advanced.less";
-@import "cursor.less";
-@import "code.less";
-@import "preferences.less";
-
-@import (inline) "../safari.css";
diff --git a/searx/static/themes/oscar/src/less/logicodev/preferences.less b/searx/static/themes/oscar/src/less/logicodev/preferences.less
deleted file mode 100644
index 2d716e966..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/preferences.less
+++ /dev/null
@@ -1,92 +0,0 @@
-.table > tbody > tr > td, .table > tbody > tr > th {
- vertical-align: middle !important;
-}
-
-.nav-tabs.nav-justified{
- margin-bottom: 20px;
-}
-
-p {
- margin: 10px 0;
-}
-
-input.cursor-text {
- margin: 10px 0;
-}
-
-.engine-tooltip {
- display: none;
- position: absolute;
- padding: 0.5rem 1rem;
- margin: 0rem 0 0 2rem;
- border: 1px solid #ddd;
- box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.1);
- background: white;
- font-size: 14px;
- font-weight: normal;
- z-index: 1000000;
- max-width: 40rem;
-}
-
-td:hover .engine-tooltip, th:hover .engine-tooltip, .engine-tooltip:hover {
- display: inline-block;
-}
-
-/* stacked-bar-chart */
-.stacked-bar-chart {
- margin: 0;
- padding: 0 0.125rem 0 3rem;
- width: 100%;
- width: -moz-available;
- width: -webkit-fill-available;
- width: fill;
- flex-direction: row;
- flex-wrap: nowrap;
- flex-grow: 1;
- align-items: center;
- display: inline-flex;
-}
-
-.stacked-bar-chart-value {
- width: 3rem;
- display: inline-block;
- position: absolute;
- padding: 0 0.5rem;
- text-align: right;
-}
-
-.stacked-bar-chart-base {
- display:flex;
- flex-shrink: 0;
- flex-grow: 0;
- flex-basis: unset;
-}
-
-.stacked-bar-chart-median {
- .stacked-bar-chart-base();
- background: @stacked-bar-chart;
- border: 1px solid fade(@stacked-bar-chart, 90%);
- padding: 0.3rem 0;
-}
-
-.stacked-bar-chart-rate80 {
- .stacked-bar-chart-base();
- background: transparent;
- border: 1px solid fade(@stacked-bar-chart, 30%);
- padding: 0.3rem 0;
-}
-
-.stacked-bar-chart-rate95 {
- .stacked-bar-chart-base();
- background: transparent;
- border-bottom: 1px dotted fade(@stacked-bar-chart, 50%);
- padding: 0;
-}
-
-.stacked-bar-chart-rate100 {
- .stacked-bar-chart-base();
- background: transparent;
- border-left: 1px solid fade(@stacked-bar-chart, 90%);
- padding: 0.4rem 0;
- width: 1px;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/results.less b/searx/static/themes/oscar/src/less/logicodev/results.less
deleted file mode 100644
index 0668dc8cd..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/results.less
+++ /dev/null
@@ -1,267 +0,0 @@
-.result_header {
- margin-top: 0px;
- margin-bottom: 2px;
- font-size: 16px;
-
- .favicon {
- margin-bottom:-3px;
- }
-
- a {
- color: @black;
- text-decoration: none;
-
- &:hover{
- color: @blue;
- }
-
- &:visited{
- color: @violet;
- }
-
- .highlight {
- background-color: @dim-gray;
- // Chrome hack: bold is different size than normal
- // https://stackoverflow.com/questions/20713988/weird-text-alignment-issue-in-css-when-bolded-lucida-sans
- }
- }
-}
-
-.result-content, .result-format, .result-source {
- margin-top: 2px;
- margin-bottom: 0;
- word-wrap: break-word;
- color: @dark-gray;
- font-size: 13px;
-}
-
-.result .highlight {
- font-weight: bold;
-}
-
-.result-source {
- font-size: 10px;
- float: left;
-}
-
-.result-format {
- font-size: 10px;
- float: right;
-}
-
-.result-abstract {
- margin-top: 0.5em;
- margin-bottom: 0.8em;
-}
-
-.external-link {
- color: @dark-green;
- font-size: 12px;
- margin-bottom: 15px;
-
- a {
- margin-right: 3px;
- }
-}
-
-// default formating of results
-.result-default, .result-code, .result-torrent, .result-videos, .result-map {
- clear: both;
- padding: 0.5em 4px;
- &:hover{
- background-color: @dim-gray;
- }
-}
-
-
-// image formating of results
-.result-images {
- float: left !important;
- margin: 0;
- padding: 0;
- a {
- display: block;
- width: 100%;
- background-size: cover;
- .img-thumbnail {
- border: none !important;
- padding: 0;
- }
- &:hover, &:focus {
- outline: 0;
- .img-thumbnail {
- box-shadow: 5px 5px 15px 0px black;
- }
- }
- }
-}
-
-.result-images.js a .img-thumbnail {
- max-height: inherit;
- min-height: inherit;
-}
-
-.result-images:not(.js) {
- width: 25%;
- padding: 3px 13px 13px 3px;
- a {
- .img-thumbnail {
- margin: 0;
- max-height: 128px;
- min-height: 128px;
- }
- }
-}
-
-.img-thumbnail {
- margin: 5px;
- max-height: 128px;
- min-height: 128px;
-}
-
-// video formating of results
-.result-videos {
- clear: both;
-
- hr{
- margin: 5px 0 15px 0;
- }
-
- .collapse{
- width: 100%;
- }
-
- .in{
- margin-bottom: 8px;
- }
-}
-
-// torrent formating of results
-.result-torrent {
- clear: both;
-
- b{
- margin-right: 5px;
- margin-left: 5px;
- }
-
- .seeders{
- color: @green;
- }
-
- .leechers{
- color: @red;
- }
-}
-
-.result-metadata {
- clear: both;
- margin: 1em;
-
- td {
- padding-right: 1em;
- color: @gray;
- }
-
- td:first-of-type {
- color: @dark-gray;
- }
-}
-
-// map formating of results
-.result-map {
- clear: both;
-
- .img-thumbnail {
- float: right;
- width: auto;
- height: 120px;
- border: 0;
- background: inherit;
- }
-
- .img-type {
- width: 20px;
- max-height: 20px;
- }
-
- .result-map-details {
- font-size: 13px;
- border-collapse: separate;
- border-spacing: 0 0.35rem;
-
- th {
- font-weight: inherit;
- width: 20rem;
- vertical-align: top;
- }
-
- td {
- vertical-align: top;
- }
- }
-
-}
-
-// code formating of results
-.result-code {
- clear: both;
-
- .code-fork, .code-fork a{
- color: @dark-gray;
- }
-
-}
-
-// suggestion
-.suggestion_item {
- margin: 2px 5px;
- max-width: 100%;
-
- .btn {
- max-width: 100%;
- white-space: normal;
- word-wrap: break-word;
- text-align: left;
- }
-}
-
-// download result
-.result_download {
- margin-right: 5px;
-}
-
-// page forward, backward
-#pagination {
- margin-top: 30px;
- padding-bottom: 60px;
-}
-
-.label-default {
- color: @dark-gray;
- background: transparent;
-}
-
-.result .text-muted small {
- word-wrap: break-word;
-}
-
-.modal-wrapper {
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
-}
-
-.modal-wrapper {
- background-clip: padding-box;
- background-color: #fff;
- border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 6px;
- box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- outline: 0 none;
- position: relative;
-}
-
-@media screen and (max-width: 75em) {
- .img-thumbnail {
- object-fit: cover;
- }
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/search.less b/searx/static/themes/oscar/src/less/logicodev/search.less
deleted file mode 100644
index 1ecb83bd4..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/search.less
+++ /dev/null
@@ -1,96 +0,0 @@
-.search_categories, #categories {
- text-transform: capitalize;
- margin-bottom: 0.5rem;
- display: flex;
- flex-wrap: wrap;
- flex-flow: row wrap;
- align-content: stretch;
-
- label, .input-group-addon {
- flex-grow: 1;
- flex-basis: auto;
- font-size: 1.2rem;
- font-weight: normal;
- background-color: white;
- border: @mild-gray 1px solid;
- border-right: none;
- color: @dark-gray;
- padding-bottom: 0.4rem;
- padding-top: 0.4rem;
- text-align: center;
- min-width: 50px;
- }
- label:last-child, .input-group-addon:last-child {
- border-right: @mild-gray 1px solid;
- }
-
- input[type="checkbox"]:checked + label {
- color: @black;
- font-weight: bold;
- border-bottom: @light-green 5px solid;
- }
-}
-
-#main-logo{
- margin-top: 24vh;
- margin-bottom: 25px;
-}
-
-#main-logo > img {
- max-width: 350px;
- width: 80%;
-}
-
-#q{
- box-shadow: none;
- border-right: none;
- border-color: @semidark-gray;
-}
-
- #search_form .input-group-btn .btn{
- border-color: @semidark-gray;
- }
-
- #search_form .input-group-btn .btn:hover{
- background-color: @dark-green;
- color: white;
- }
-
-.custom-select, .custom-select-rtl {
- appearance: none;
- -webkit-appearance: none;
- -moz-appearance: none;
- font-size: 1.2rem;
- font-weight:normal;
- background-color: white;
- border: @semidark-gray 1px solid;
- color: @dark-gray;
- // Warning: multi-line base64 URL adds "$stdin" in the source map: https://github.com/jakubpawlowicz/clean-css/issues/593
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAQAAACR313BAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAABFkAAARZAVnbJUkAAAAHdElNRQfgBxgLDwB20OFsAAAAbElEQVQY073OsQ3CMAAEwJMYwJGnsAehpoXJItltBkmcdZBYgIIiQoLglnz3ui+eP+bk5uneteTMZJa6OJuIqvYzSJoqwqBq8gdmTTW86/dghxAUq4xsVYT9laBYXCw93Aajh7GPEF23t4fkBYevGFTANkPRAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTA3LTI0VDExOjU1OjU4KzAyOjAwRFqFOQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0wNy0yNFQxMToxNTowMCswMjowMP7RDgQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC) 96% no-repeat;
-}
-
-.custom-select-rtl {
- background-position-x: 4%;
-}
-
-.search-margin {
- margin-bottom: 0.6em;
-}
-
-.visually-hidden {
- position: absolute !important;
- height: 1px;
- width: 1px;
- overflow: hidden;
- clip: rect(1px, 1px, 1px, 1px);
- white-space: nowrap;
-}
-.label-danger, .btn-danger {
- background: @dark-red;
-}
-.label-success, .btn-success {
- background: @dark-green;
-}
-select.form-control {
- border-color: @semidark-gray !important;
-}
diff --git a/searx/static/themes/oscar/src/less/logicodev/variables.less b/searx/static/themes/oscar/src/less/logicodev/variables.less
deleted file mode 100644
index ae2516c05..000000000
--- a/searx/static/themes/oscar/src/less/logicodev/variables.less
+++ /dev/null
@@ -1,18 +0,0 @@
-@black: #29314D;
-@gray: #A4A4A4;
-@dim-gray: #F6F9FA;
-@dark-gray: #666;
-@semidark-gray: #888;
-@middle-gray: #F5F5F5;
-@mild-gray: #DDD;
-@dark-blue: #007AB8;
-@blue: #0088CC;
-@red: #F35E77;
-@violet: #684898;
-@dark-green: #068922;
-@green: #2ecc71;
-@light-green: #01D7D4;
-@orange: #FFA92F;
-@dark-red: #c9432f;
-
-@stacked-bar-chart: rgb(0, 0, 0);
diff --git a/searx/static/themes/oscar/src/less/pointhi/advanced.less b/searx/static/themes/oscar/src/less/pointhi/advanced.less
deleted file mode 100644
index 23bfdb0d2..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/advanced.less
+++ /dev/null
@@ -1,49 +0,0 @@
-#advanced-search-container {
- display: none;
- text-align: center;
- margin-bottom: 1rem;
- clear: both;
-
- label, .input-group-addon {
- font-size: 1.3rem;
- font-weight:normal;
- background-color: white;
- border: #DDD 1px solid;
- border-right: none;
- color: #333;
- padding-bottom: 0.8rem;
- padding-left: 1.2rem;
- padding-right: 1.2rem;
- }
-
- label:last-child, .input-group-addon:last-child {
- border-right: #DDD 1px solid;
- }
-
- input[type="radio"] {
- display: none;
- }
-
- input[type="radio"]:checked + label {
- color: black;
- font-weight: bold;
- background-color: #EEE;
- }
-}
-
-#check-advanced {
- display: none;
-}
-
-#check-advanced:checked ~ #advanced-search-container {
- display: block;
-}
-
-.advanced {
- padding: 0;
- margin-top: 0.3rem;
- text-align: right;
- label, select {
- cursor: pointer;
- }
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/checkbox.less b/searx/static/themes/oscar/src/less/pointhi/checkbox.less
deleted file mode 100644
index 6428b36ed..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/checkbox.less
+++ /dev/null
@@ -1,9 +0,0 @@
-// Hide element if checkbox is checked
-input[type=checkbox]:checked + .label_hide_if_checked, input[type=checkbox]:checked + .label_hide_if_not_checked + .label_hide_if_checked {
- display:none;
-}
-
-// Hide element if checkbox is not checked
-input[type=checkbox]:not(:checked) + .label_hide_if_not_checked, input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not_checked {
- display:none;
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/code.less b/searx/static/themes/oscar/src/less/pointhi/code.less
deleted file mode 100644
index e69de29bb..000000000
diff --git a/searx/static/themes/oscar/src/less/pointhi/cursor.less b/searx/static/themes/oscar/src/less/pointhi/cursor.less
deleted file mode 100644
index cbc1ea6fc..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/cursor.less
+++ /dev/null
@@ -1,8 +0,0 @@
-// display cursor
-.cursor-text {
- cursor: text !important;
-}
-
-.cursor-pointer {
- cursor: pointer !important;
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/footer.less b/searx/static/themes/oscar/src/less/pointhi/footer.less
deleted file mode 100644
index 0b25e735f..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/footer.less
+++ /dev/null
@@ -1,19 +0,0 @@
-// Sticky footer styles
-
-html {
- position: relative;
- min-height: 100%;
-}
-
-body {
- /* Margin bottom by footer height */
- margin-bottom: 80px;
-}
-
-.footer {
- position: absolute;
- bottom: 0;
- width: 100%;
- /* Set the fixed height of the footer here */
- height: 60px;
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/infobox.less b/searx/static/themes/oscar/src/less/pointhi/infobox.less
deleted file mode 100644
index e6a55e944..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/infobox.less
+++ /dev/null
@@ -1,62 +0,0 @@
-.infobox {
-
- img {
- max-height: 250px;
- }
-
- .infobox_part {
- margin-bottom: 20px;
- word-wrap: break-word;
- table-layout: fixed;
- }
-
- .infobox_part:last-child {
- margin-bottom: 0;
- }
-
- .header_url {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- display: block;
- }
-
- .infobox_toggle {
- width: 100%;
- text-align: center;
- margin-bottom: 0px;
- }
-
- // Shrink infobox size when toggle is off
- .infobox_checkbox ~ .infobox_body {
- max-height: 300px;
- overflow: hidden;
- }
- .infobox_checkbox:checked ~ .infobox_body {
- max-height: none;
- }
-
- // Show toggle button as down when infobox is shrunk
- .infobox_checkbox ~ .infobox_toggle .infobox_label_down {
- display: block;
- }
- .infobox_checkbox ~ .infobox_toggle .infobox_label_up {
- display: none;
- }
-
- // Show toggle button as up when infobox is expanded
- .infobox_checkbox:checked ~ .infobox_toggle .infobox_label_up {
- display: block;
- }
- .infobox_checkbox:checked ~ .infobox_toggle .infobox_label_down {
- display: none;
- }
-
- // Hide main image when toggle is off
- .infobox_checkbox ~ .infobox_body img.infobox_part {
- display: none;
- }
- .infobox_checkbox:checked ~ .infobox_body img.infobox_part {
- display: block;
- }
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/navbar.less b/searx/static/themes/oscar/src/less/pointhi/navbar.less
deleted file mode 100644
index 59be047a3..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/navbar.less
+++ /dev/null
@@ -1,20 +0,0 @@
-.searxng-navbar {
- background: #eee;
- color: #aaa;
- height: 2.3rem;
- font-size: 1.3rem;
- line-height: 1.3rem;
- padding: 0.5rem;
- font-weight: bold;
- margin-bottom: 1.3rem;
-
- a, a:hover {
- margin-right: 2.0rem;
- text-decoration: none;
- }
-
- .instance a {
- color: #444;
- margin-left: 2.0rem;
- }
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/onoff.less b/searx/static/themes/oscar/src/less/pointhi/onoff.less
deleted file mode 100644
index 72b289a23..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/onoff.less
+++ /dev/null
@@ -1,57 +0,0 @@
-.onoff-checkbox {
- width:15%;
-}
-.onoffswitch {
- position: relative;
- width: 110px;
- -webkit-user-select:none;
- -moz-user-select:none;
- -ms-user-select: none;
-}
-.onoffswitch-checkbox {
- display: none;
-}
-.onoffswitch-label {
- display: block;
- overflow: hidden;
- cursor: pointer;
- border: 2px solid #FFFFFF !important;
- border-radius: 50px !important;
-}
-.onoffswitch-inner {
- display: block;
- transition: margin 0.3s ease-in 0s;
-}
-
-.onoffswitch-inner:before, .onoffswitch-inner:after {
- display: block;
- float: left;
- width: 50%;
- height: 30px;
- padding: 0;
- line-height: 40px;
- font-size: 20px;
- box-sizing: border-box;
- content: "";
- background-color: #EEEEEE;
-}
-
-.onoffswitch-switch {
- display: block;
- width: 37px;
- background-color: #00CC00;
- position: absolute;
- top: 0;
- bottom: 0;
- right: 0px;
- border: 2px solid #FFFFFF !important;
- border-radius: 50px !important;
- transition: all 0.3s ease-in 0s;
-}
-.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
- margin-right: 0;
-}
-.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
- right: 71px;
- background-color: #A1A1A1;
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/oscar.less b/searx/static/themes/oscar/src/less/pointhi/oscar.less
deleted file mode 100644
index d54fa28d9..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/oscar.less
+++ /dev/null
@@ -1,23 +0,0 @@
-@import "variables.less";
-@import "../../../../__common__/less/new_issue.less";
-@import "../../../../__common__/less/stats.less";
-@import "../../../../__common__/less/result_templates.less";
-@import "../../less/result_templates.less";
-@import "../../less/preferences.less";
-@import "../infinite_scroll.less";
-@import "../../generated/pygments-pointhi.less";
-
-@import "footer.less";
-@import "checkbox.less";
-@import "onoff.less";
-@import "results.less";
-@import "infobox.less";
-@import "search.less";
-@import "advanced.less";
-@import "cursor.less";
-@import "code.less";
-@import "navbar.less";
-@import "code.less";
-@import "preferences.less";
-
-@import (inline) "../safari.css";
diff --git a/searx/static/themes/oscar/src/less/pointhi/preferences.less b/searx/static/themes/oscar/src/less/pointhi/preferences.less
deleted file mode 100644
index 25ba100d6..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/preferences.less
+++ /dev/null
@@ -1,79 +0,0 @@
-.table > tbody > tr > td, .table > tbody > tr > th {
- vertical-align: middle !important;
-}
-
-.engine-tooltip {
- display: none;
- position: absolute;
- padding: 0.5rem 1rem;
- margin: 0rem 0 0 2rem;
- border: 1px solid #ddd;
- box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.1);
- background: white;
- font-size: 14px;
- font-weight: normal;
- z-index: 1000000;
-}
-
-th:hover .engine-tooltip, td:hover .engine-tooltip, .engine-tooltip:hover {
- display: inline-block;
-}
-
-/* stacked-bar-chart */
-.stacked-bar-chart {
- margin: 0;
- padding: 0 0.125rem 0 3rem;
- width: 100%;
- width: -moz-available;
- width: -webkit-fill-available;
- width: fill;
- flex-direction: row;
- flex-wrap: nowrap;
- flex-grow: 1;
- align-items: center;
- display: inline-flex;
-}
-
-.stacked-bar-chart-value {
- width: 3rem;
- display: inline-block;
- position: absolute;
- padding: 0 0.5rem;
- text-align: right;
-}
-
-.stacked-bar-chart-base {
- display:flex;
- flex-shrink: 0;
- flex-grow: 0;
- flex-basis: unset;
-}
-
-.stacked-bar-chart-median {
- .stacked-bar-chart-base();
- background: @stacked-bar-chart;
- border: 1px solid fade(@stacked-bar-chart, 90%);
- padding: 0.3rem 0;
-}
-
-.stacked-bar-chart-rate80 {
- .stacked-bar-chart-base();
- background: transparent;
- border: 1px solid fade(@stacked-bar-chart, 30%);
- padding: 0.3rem 0;
-}
-
-.stacked-bar-chart-rate95 {
- .stacked-bar-chart-base();
- background: transparent;
- border-bottom: 1px dotted fade(@stacked-bar-chart, 50%);
- padding: 0;
-}
-
-.stacked-bar-chart-rate100 {
- .stacked-bar-chart-base();
- background: transparent;
- border-left: 1px solid fade(@stacked-bar-chart, 90%);
- padding: 0.4rem 0;
- width: 1px;
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/results.less b/searx/static/themes/oscar/src/less/pointhi/results.less
deleted file mode 100644
index f6a2a0239..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/results.less
+++ /dev/null
@@ -1,113 +0,0 @@
-
-.result_header {
- margin-bottom:5px;
- margin-top:20px;
-
- .favicon {
- margin-bottom:-3px;
- }
-
- a {
- vertical-align: bottom;
-
- .highlight {
- font-weight:bold;
- }
- }
-}
-
-.result-content {
- margin-top: 5px;
- word-wrap: break-word;
-
- .highlight {
- font-weight:bold;
- }
-}
-
-// default formating of results
-.result-default {
- clear: both;
-}
-
-// image formating of results
-.result-images {
- float: left !important;
- height: 138px;
-}
-
-.img-thumbnail {
- margin: 5px;
- max-height: 128px;
-}
-
-// video formating of results
-.result-videos {
- clear: both;
-}
-
-// torrent formating of results
-.result-torrents {
- clear: both;
-}
-
-// map formating of results
-.result-map {
- clear: both;
-}
-
-// code formating of results
-.result-code {
- clear: both;
-}
-
-// suggestion
-.suggestion_item {
- margin: 2px 5px;
- max-width: 100%;
-
- .btn {
- max-width: 100%;
- white-space: normal;
- word-wrap: break-word;
- text-align: left;
- }
-}
-
-// download result
-.result_download {
- margin-right: 5px;
-}
-
-// page forward, backward
-#pagination {
- margin-top: 30px;
- padding-bottom: 50px;
-}
-
-.label-default {
- color: #AAA;
- background: #FFF;
-}
-
-.result .text-muted small {
- word-wrap: break-word;
-}
-
-.modal-wrapper {
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
-}
-
-.modal-wrapper {
- background-clip: padding-box;
- background-color: #fff;
- border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 6px;
- box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
- outline: 0 none;
- position: relative;
-}
-
-.highlight {
- font-weight: 700;
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/search.less b/searx/static/themes/oscar/src/less/pointhi/search.less
deleted file mode 100644
index ac0a7a0c7..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/search.less
+++ /dev/null
@@ -1,43 +0,0 @@
-.search_categories, #categories {
- text-transform: capitalize;
- margin-bottom: 1.5rem;
- margin-top: 1.5rem;
- display: flex;
- flex-wrap: wrap;
- align-content: stretch;
-
- label, .input-group-addon {
- flex-grow: 1;
- flex-basis: auto;
- font-size: 1.3rem;
- font-weight: normal;
- background-color: white;
- border: #DDD 1px solid;
- border-right: none;
- color: #333;
- padding-bottom: 0.8rem;
- padding-top: 0.8rem;
- text-align: center;
- min-width: 50px;
- }
-
- label:last-child, .input-group-addon:last-child {
- border-right: #DDD 1px solid;
- }
-
- input[type="checkbox"]:checked + label{
- color: black;
- font-weight: bold;
- background-color: #EEE;
- }
-}
-
-.visually-hidden {
- position: absolute !important;
- height: 1px;
- width: 1px;
- overflow: hidden;
- clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
- clip: rect(1px, 1px, 1px, 1px);
- white-space: nowrap; /* added line */
-}
diff --git a/searx/static/themes/oscar/src/less/pointhi/variables.less b/searx/static/themes/oscar/src/less/pointhi/variables.less
deleted file mode 100644
index 991f03098..000000000
--- a/searx/static/themes/oscar/src/less/pointhi/variables.less
+++ /dev/null
@@ -1 +0,0 @@
-@stacked-bar-chart: rgb(0, 0, 0);
diff --git a/searx/static/themes/oscar/src/less/preferences.less b/searx/static/themes/oscar/src/less/preferences.less
deleted file mode 100644
index 2c2165e85..000000000
--- a/searx/static/themes/oscar/src/less/preferences.less
+++ /dev/null
@@ -1,3 +0,0 @@
-.col-stat {
- width: 10rem;
-}
diff --git a/searx/static/themes/oscar/src/less/result_templates.less b/searx/static/themes/oscar/src/less/result_templates.less
deleted file mode 100644
index 80b3822c4..000000000
--- a/searx/static/themes/oscar/src/less/result_templates.less
+++ /dev/null
@@ -1,5 +0,0 @@
-.default-image-style {
- width: auto;
- max-height: 60px;
- min-height: 60px;
-}
diff --git a/searx/static/themes/oscar/src/less/safari.css b/searx/static/themes/oscar/src/less/safari.css
deleted file mode 100644
index 02962db32..000000000
--- a/searx/static/themes/oscar/src/less/safari.css
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Safari 9+
- Conditional/Hack CSS from https://browserstrangeness.github.io/css_hacks.html
-*/
-@supports (-webkit-marquee-repetition:infinite) and (object-fit:fill) {
- .twitter-typeahead .tt-input:focus {
- z-index: 2;
- }
-
- .input-group-btn:last-child > .btn,
- .input-group-btn:last-child > .btn-group {
- margin-left: inherit !important;
- }
-}
diff --git a/searx/templates/oscar/404.html b/searx/templates/oscar/404.html
deleted file mode 100644
index cdb31db73..000000000
--- a/searx/templates/oscar/404.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% extends "oscar/base.html" %}
-{% block content %}
-
-
{{ _('Page not found') }}
- {% autoescape false %}
-
{{ _('Go to %(search_page)s.', search_page='{}'.format(url_for('index'), _('search page'))) }}
- {% endautoescape %}
-
-{% endblock %}
diff --git a/searx/templates/oscar/advanced.html b/searx/templates/oscar/advanced.html
deleted file mode 100644
index 0b13d50d6..000000000
--- a/searx/templates/oscar/advanced.html
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- {% include 'oscar/categories.html' %}
-
-
-
- {%- include 'oscar/time-range.html' -%}
-
-
- {%- include 'oscar/languages.html' -%}
-
-
-
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
deleted file mode 100644
index dbc0699df..000000000
--- a/searx/templates/oscar/base.html
+++ /dev/null
@@ -1,114 +0,0 @@
-{% from 'oscar/macros.html' import icon %}
-
-
-
-
-
-
-
-
-
- {% block meta %}{% endblock %}
- {% block title %}{% endblock %}{{ instance_name }}
-
- {% if preferences.get_value('oscar-style') -%}
- {{' '}}
- {%- else -%}
- {{' '}}
- {%- endif %}
-
- {% set templates = results|map(attribute='template')|unique|list -%}
- {%- set load_leaflet = 'map.html' in templates -%}
- {%- if load_leaflet -%}
- {{' '}}
- {%- endif %}
-
- {%- for css in styles %}
-
- {% endfor %}
-
-
-
- {% block styles %}
- {% endblock %}
- {% block head %}
- {% endblock %}
-
-
-
-
-
- {% include 'oscar/navbar.html' %}
-
-
- {% if errors %}
-
-
-
{{ icon('info-sign') }} {{ _('Error!') }}
-
- {% for message in errors %}
- - {{ message }}
- {% endfor %}
-
-
- {% endif %}
-
- {% block site_alert_error %}
- {% endblock %}
- {% block site_alert_warning %}
- {% endblock %}
- {% block site_alert_info %}
- {% endblock %}
- {% block site_alert_success %}
- {% endblock %}
-
- {% block content %}
- {% endblock %}
-
-
-
-
-
- {% if load_leaflet %}{{" "}}{{ "\n" }}{% endif %}
- {% if autocomplete %}{{" "}}{{ "\n" }}{% endif %}
-
-
- {% for script in scripts %}
- {{""}}
- {% endfor %}
-
-
-
diff --git a/searx/templates/oscar/categories.html b/searx/templates/oscar/categories.html
deleted file mode 100644
index 39d1e1d33..000000000
--- a/searx/templates/oscar/categories.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-{%- if rtl -%}
- {% for category in categories_as_tabs | reverse -%}
- {{- '' -}}
-
- {%- endfor %}
-{%- else -%}
- {% for category in categories_as_tabs -%}
- {{- '' -}}
-
- {%- endfor %}
-{%- endif -%}
-
diff --git a/searx/templates/oscar/index.html b/searx/templates/oscar/index.html
deleted file mode 100644
index 0e7e7863a..000000000
--- a/searx/templates/oscar/index.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "oscar/base.html" %}
-{% block content %}
-
-
{{- "" -}}
-
- {%- if cookies['oscar-style'] == 'pointhi' -%}
-
SearXNG
- {%- else -%}
-
{{- "" -}}
-
SearXNG{{- "" -}}
-
- {%- endif -%}
-
{{- "" -}}
-
-
-
- {% include 'oscar/search_full.html' %}
-
-
-
-{% endblock %}
diff --git a/searx/templates/oscar/info.html b/searx/templates/oscar/info.html
deleted file mode 100644
index c12446a08..000000000
--- a/searx/templates/oscar/info.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "oscar/base.html" %}
-{% block title %}{{ active_page.title }} - {% endblock %}
-{% block content %}
-
- {% for pagename, locale, page in all_pages %}
- -
- {{page.title}}
-
-{% endfor %}
-
-{{ active_page.html | safe }}
-{% endblock %}
diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html
deleted file mode 100644
index 8a12b8074..000000000
--- a/searx/templates/oscar/infobox.html
+++ /dev/null
@@ -1,49 +0,0 @@
-{% from 'oscar/macros.html' import result_link with context %}
-
-
{{- "" -}}
-
-
- {% for engine in infobox.engines %}
- {{ engine }}
- {% endfor %}
-
-
{{ infobox.infobox }}
{{- "" -}}
- {% for u in infobox.urls %}{% if u.official %} {% endif %}{% endfor %}
-
-
-
-
- {% if infobox.img_src %}
{% endif %}
-
- {% if infobox.content %}
{{ infobox.content | safe }}
{% endif %}
-
- {% if infobox.attributes -%}
-
- {% for attribute in infobox.attributes -%}
- {{- "" -}}
- {{ attribute.label }} |
- {%- if attribute.image -%}
- |
- {%- else -%}
- {{ attribute.value }} |
- {%- endif -%}
-
- {% endfor -%}
-
- {% endif %}
-
- {% if infobox.urls -%}
-
{{- "\n" -}}
-
- {%- for url in infobox.urls -%}
- {{ result_link(url.url, url.title) }}
- {% endfor -%}
- {{- "" -}}
-
- {% endif %}
-
-
-
diff --git a/searx/templates/oscar/languages.html b/searx/templates/oscar/languages.html
deleted file mode 100644
index c0ecb440e..000000000
--- a/searx/templates/oscar/languages.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% from 'oscar/macros.html' import custom_select_class %}
-
-
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html
deleted file mode 100644
index 2b27cfd28..000000000
--- a/searx/templates/oscar/macros.html
+++ /dev/null
@@ -1,145 +0,0 @@
-
-{% macro icon(action, alt) -%}
-
-{%- endmacro %}
-
-
-{% macro draw_favicon(favicon) -%}
-
-{%- endmacro %}
-
-{%- macro result_link(url, title, classes='', id='') -%}
-{{ title }}
-{%- endmacro -%}
-
-
-{% macro result_header(result, favicons, id) -%}
-
-{%- endmacro %}
-
-
-{% macro result_sub_header(result, id) -%}
- {%- if result.publishedDate %}{% endif -%}
- {%- if result.magnetlink %} • {{ result_link(result.magnetlink, icon('magnet') + _('magnet link'), "magnetlink", id) }}{% endif -%}
- {%- if result.torrentfile %} • {{ result_link(result.torrentfile, icon('download-alt') + _('torrent file'), "torrentfile", id) }}{% endif -%}
- {%- if result.metadata %} {{ result.metadata|safe }}
{% endif -%}
-{%- endmacro %}
-
-
-{% macro result_footer(result, id) -%}
- {{- "" -}}
-
- {%- for engine in result.engines -%}
- {{ engine }}
- {%- endfor -%}
- {%- if result.url -%}
- {%- if result.cached_url -%}
- {{ result_link(result.cached_url, icon('link') + _('cached'), "text-info", id) }}
- {%- elif not result.is_onion -%}
- {{ result_link("https://web.archive.org/web/" + result.url, icon('link') + _('cached'), "text-info", id) }}
- {%- endif -%}
- {%- endif -%}
- {%- if proxify and proxify_results -%}
- {{ result_link(proxify(result.url), icon('sort') + _('proxied'), "text-info", id) }}
- {%- endif -%}
-
- {%- if result.pretty_url -%}
- {{ result.pretty_url }}
- {%- endif -%}
-{%- endmacro %}
-
-
-{% macro result_footer_nocache(result) -%}
- {{- "" -}}
-
- {%- for engine in result.engines -%}
- {{ engine }}
- {%- endfor -%}
- {%- if proxify and proxify_results -%}
- {{ result_link(proxify(result.url), icon('sort') + _('proxied'), "text-info") }}
- {%- endif -%}
-
{{- "" -}}
-{{ result.pretty_url }}
-{%- endmacro %}
-
-
-{% macro result_footer_rtl(result, id) -%}
-
- {%- for engine in result.engines -%}
- {{ engine }}
- {%- endfor -%}
- {%- if result.url -%}
- {%- if result.cached_url -%}
- {{ result_link(result.cached_url, icon('link') + _('cached'), "text-info", id) }}
- {%- elif not result.is_onion -%}
- {{ result_link("https://web.archive.org/web/" + result.url, icon('link') + _('cached'), "text-info", id) }}
- {%- endif -%}
- {%- endif -%}
- {%- if proxify and proxify_results -%}
- {{ result_link(proxify(result.url), icon('sort') + _('proxied'), "text-info", id) }}
- {%- endif -%}
- {%- if result.pretty_url -%}
- {{ result.pretty_url }}
- {%- endif -%}
-{%- endmacro %}
-
-
-{% macro result_footer_nocache_rtl(result) -%}
-
- {%- for engine in result.engines -%}
- {{ engine }}
- {%- endfor -%}
- {%- if proxify and proxify_results -%}
- {{ result_link(proxify(result.url), icon('sort') + _('proxied'), "text-info") }}
- {%- endif -%}
- {{ result.pretty_url }}
-{%- endmacro %}
-
-{% macro preferences_item_header(info, label, rtl, id) -%}
- {%- if rtl -%}
-
- {%- endif -%}
-{%- endmacro %}
-
-{% macro custom_select_class(rtl) -%}
-custom-select{% if rtl %}-rtl{% endif %}
-{%- endmacro %}
-
-{% macro checkbox_toggle(id, blocked) -%}
- {{- "" -}}
- {{- "" -}}
- {{- "" -}}
- {{- "" -}}
-
{{- "" -}}
-{%- endmacro %}
-
-{% macro support_toggle(supports) -%}
- {%- if supports == '?' -%}
- {{- "" -}}
- {%- elif supports -%}
- {{- "" -}}
- {%- else -%}
- {{- "" -}}
- {%- endif -%}
-{%- endmacro %}
diff --git a/searx/templates/oscar/messages/first_time.html b/searx/templates/oscar/messages/first_time.html
deleted file mode 100644
index 8b29d7020..000000000
--- a/searx/templates/oscar/messages/first_time.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- {{ icon('info-sign') }} {{ _('Heads up!') }}
- {{ _('It look like you are using SearXNG first time.') }}
-
diff --git a/searx/templates/oscar/messages/no_data_available.html b/searx/templates/oscar/messages/no_data_available.html
deleted file mode 100644
index aee791766..000000000
--- a/searx/templates/oscar/messages/no_data_available.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% from 'oscar/macros.html' import icon %}
-
- {{ icon('info-sign') }} {{ _('Heads up!') }}
- {{ _('There is currently no data available. ') }}
-
diff --git a/searx/templates/oscar/messages/no_results.html b/searx/templates/oscar/messages/no_results.html
deleted file mode 100644
index 16026daad..000000000
--- a/searx/templates/oscar/messages/no_results.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% from 'oscar/macros.html' import icon %}
-{% if unresponsive_engines %}
-
-
{{ icon('remove-sign') }} {{ _('Error!') }} {{ _('Engines cannot retrieve results.') }}
- {%- for engine_name, error_type in unresponsive_engines -%}
-
- {{- engine_name }} (
-
- {{- error_type -}}
- ){{- '' -}}
-
- {%- endfor -%}
-
{{ _('Please, try again later or find another SearXNG instance.') }} ({{ _('Public instances') }})
-
-{% else %}
-
- {{ icon('info-sign') }} {{ _('Sorry!') }}
- {{ _("we didn't find any results. Please use another query or search in more categories.") }}
-
-{% endif %}
diff --git a/searx/templates/oscar/messages/save_settings_successfull.html b/searx/templates/oscar/messages/save_settings_successfull.html
deleted file mode 100644
index 63e578c70..000000000
--- a/searx/templates/oscar/messages/save_settings_successfull.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% from 'oscar/macros.html' import icon %}
-
-
- {{ icon('ok-sign') }} {{ _('Well done!') }}
- {{ _('Settings saved successfully.') }}
-
diff --git a/searx/templates/oscar/messages/unknow_error.html b/searx/templates/oscar/messages/unknow_error.html
deleted file mode 100644
index 3c4c9c15d..000000000
--- a/searx/templates/oscar/messages/unknow_error.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% from 'oscar/macros.html' import icon %}
-
-
- {{ icon('exclamation-sign') }} {{ _('Oh snap!') }}
- {{ _('Something went wrong.') }}
-
diff --git a/searx/templates/oscar/navbar.html b/searx/templates/oscar/navbar.html
deleted file mode 100644
index f5401c382..000000000
--- a/searx/templates/oscar/navbar.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
deleted file mode 100644
index 1a5219b07..000000000
--- a/searx/templates/oscar/preferences.html
+++ /dev/null
@@ -1,509 +0,0 @@
-{% from 'oscar/macros.html' import preferences_item_header, preferences_item_header_rtl, preferences_item_footer, preferences_item_footer_rtl, checkbox_toggle, support_toggle, custom_select_class %}
-{% extends "oscar/base.html" %}
-{%- macro engine_about(search_engine, id) -%}
-{% if search_engine.about is defined or stats[search_engine.name]['result_count'] > 0 %}
-{% set about = search_engine.about %}
-
-{%- endif -%}
-{%- endmacro %}
-
-{%- macro engine_time(engine_name, css_align_class) -%}
-{{- "" -}}
- {%- if stats[engine_name].time != None -%}
- {{- stats[engine_name].time -}}{{- "" -}}
-
- {%- if max_rate95 is not none and max_rate95 > 0 -%}
- {{- "" -}}
- {{- "" -}}
- {{- "" -}}
-
- {%- endif -%}
- {{- "" -}}
- {{- "" -}}
- {{ _('Median') }}: {{ stats[engine_name].time }} {{- "" -}}
- {{ _('P80') }}: {{ stats[engine_name].rate80 }} {{- "" -}}
- {{ _('P95') }}: {{ stats[engine_name].rate95 }} {{- "" -}}
-
- {%- endif -%}
- |
-{%- endmacro -%}
-
-{%- macro engine_reliability(engine_name, css_align_class) -%}
-{% set r = reliabilities.get(engine_name, {}).get('reliablity', None) %}
-{% set checker_result = reliabilities.get(engine_name, {}).get('checker', []) %}
-{% set errors = reliabilities.get(engine_name, {}).get('errors', []) %}
-{% if r != None %}
- {% if r <= 50 %}{% set label = 'danger' %}
- {% elif r < 80 %}{% set label = 'warning' %}
- {% elif r < 90 %}{% set label = 'default' %}
- {% else %}{% set label = 'success' %}
- {% endif %}
-{% else %}
- {% set r = '' %}
-{% endif %}
-{% if checker_result or errors %}
-{{- "" -}}
- {{- "" -}}
-
- {{ icon('exclamation-sign', 'The engine is not reliabled') }} {{ r -}}
- {{- "" -}}
- {{- "" -}}
-
- {%- if checker_result -%}
- {{ _("Failed checker test(s): ") }} {{ ', '.join(checker_result) }}
- {%- endif -%}
- {%- for error in errors -%}
- {{ error }} {{- "" -}}
- {%- endfor -%}
- {{- "" -}}
- |
-{%- else -%}
-{{ r }} |
-{%- endif -%}
-{%- endmacro -%}
-
-{%- macro plugin_of_category(plugin_category) -%}
-{%- for plugin in plugins -%}
- {%- if plugin.preference_section == plugin_category -%}
- {{- preferences_item_header(_(plugin.description), _(plugin.name), rtl, 'plugin_' + plugin.id) -}}
- {{- checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) -}}
- {{- preferences_item_footer(_(plugin.description), _(plugin.name), rtl) -}}
- {%- endif -%}
-{%- endfor -%}
-{% endmacro %}
-
-{%- block title %}{{ _('preferences') }} - {% endblock -%}
-
-{% block content %}
-
-
-
-
{{ _('Preferences') }}
-
-
-{% endblock %}
diff --git a/searx/templates/oscar/result_templates/code.html b/searx/templates/oscar/result_templates/code.html
deleted file mode 100644
index c7d93e2b3..000000000
--- a/searx/templates/oscar/result_templates/code.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon with context%}
-
-{{ result_header(result, favicons) }}
-{{ result_sub_header(result) }}
-
-{% if result.content %}{{ result.content|safe }}
{% endif %}
-
-{% if result.repository %}{{ icon('file') }} {{ result.repository }}
{% endif %}
-
-
-{{ result.codelines|code_highlighter(result.code_language)|safe }}
-
-
-{% if rtl %}
-{{ result_footer_rtl(result) }}
-{% else %}
-{{ result_footer(result) }}
-{% endif %}
diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html
deleted file mode 100644
index ea202910d..000000000
--- a/searx/templates/oscar/result_templates/default.html
+++ /dev/null
@@ -1,38 +0,0 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon with context %}
-
-{{- result_header(result, favicons, loop.index) -}}
-{{- result_sub_header(result, loop.index) -}}
-
-{%- if result.iframe_src -%}
- • {{ icon('music') }} {{ _('show media') }}
-{%- endif -%}
-
-{% if result.iframe_src -%}
-
-
-
-{%- endif -%}
-
-{%- if result.img_src or result.thumbnail -%}
-{{- "" -}}
-
{{- "" -}}
-
- {%- if result.content %}
{{ result.content|safe }}
{% endif -%}
-
{{- "" -}}
-
-{%- else -%}
-{%- if result.content %}{{ result.content|safe }}
{% endif -%}
-{%- endif -%}
-
-{% if result.audio_src -%}
-
-{%- endif %}
-
-
-{%- if rtl -%}
-{{ result_footer_rtl(result, loop.index) }}
-{%- else -%}
-{{ result_footer(result, loop.index) }}
-{%- endif -%}
diff --git a/searx/templates/oscar/result_templates/files.html b/searx/templates/oscar/result_templates/files.html
deleted file mode 100644
index 52798f7d8..000000000
--- a/searx/templates/oscar/result_templates/files.html
+++ /dev/null
@@ -1,55 +0,0 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer_nocache, result_footer_nocache_rtl, icon with context %}
-
-{{- result_header(result, favicons) -}}
-{{- result_sub_header(result) -}}
-
-{%- if result.embedded -%}
- •
- {%- if result.mtype == 'audio' %}{{ icon('music') -}}
- {%- elif result.mtype == 'video' %} {{ icon('film') -}}
- {%- endif %} {{ _('show media') }}
-{%- endif -%}
-
-{%- if result.embedded -%}
-
- {{- result.embedded|safe -}}
-
-{%- endif -%}
-
-{%- if result.abstract %}{{ result.abstract|safe }}
{% endif -%}
-
-{%- if result.img_src -%}
-
-
-
-{%- if result.content %}
{{ result.content|safe }}
{% endif -%}
-
-
-{%- else -%}
-{%- if result.content %}{{ result.content|safe }}
{% endif -%}
-{%- endif -%}
-
-
-{%- if result.author %}{{ _('Author') }} | {{ result.author|safe }} |
{% endif -%}
-
-{%- if result.filename %}{{ _('Filename') }} | {{ result.filename|safe }} |
{% endif -%}
-
-{%- if result.size %}{{ _('Filesize') }} |
- {%- if result.size < 1024 %}{{ result.size }} {{ _('Bytes') -}}
- {%- elif result.size < 1024*1024 %}{{ '{0:0.2f}'.format(result.size/1024) }} {{ _('kiB') -}}
- {%- elif result.size < 1024*1024*1024 %}{{ '{0:0.2f}'.format(result.size/1024/1024) }} {{ _('MiB') -}}
- {%- elif result.size < 1024*1024*1024*1024 %}{{ '{0:0.2f}'.format(result.size/1024/1024/1024) }} {{ _('GiB') -}}
- {%- else %}{{ '{0:0.2f}'.format(result.size/1024/1024/1024/1024) }} {{ _('TiB') }}{% endif -%}
- |
-{%- endif -%}
-
-{%- if result.time %}{{ _('Date') }} | {{ result.time|safe }} |
{% endif -%}
-
-{%- if result.mtype %}{{ _('Type') }} | {{ result.mtype|safe }}/{{ result.subtype|safe }} |
{% endif -%}
-
-
-{%- if rtl -%}
-{{ result_footer_nocache_rtl(result) }}
-{%- else -%}
-{{ result_footer_nocache(result) }}
-{%- endif -%}
diff --git a/searx/templates/oscar/result_templates/images.html b/searx/templates/oscar/result_templates/images.html
deleted file mode 100644
index 96cdd53bb..000000000
--- a/searx/templates/oscar/result_templates/images.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{%- from 'oscar/macros.html' import draw_favicon with context -%}
-
-{{- "" -}}
- {{- "" -}}
-
-{{- "" -}}
-
{{- "" -}}
-
{{- "" -}}
- {{- "" -}}
-
{{- "" -}}
-
- {%- if result.author %}
{{ result.author }}{% endif -%}
- {%- if result.content %}
{{ result.content|striptags }}
{% endif -%}
- {%- if result.img_format %}
{{ result.img_format }}
{% endif -%}
- {%- if result.source %}
{{ result.source }}
{% endif -%}
-
{{- "" -}}
- {{- "" -}}
-
{{- "" -}}
-
{{- "" -}}
-
{{- "" -}}
diff --git a/searx/templates/oscar/result_templates/key-value.html b/searx/templates/oscar/result_templates/key-value.html
deleted file mode 100644
index 9d75682d4..000000000
--- a/searx/templates/oscar/result_templates/key-value.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% from 'oscar/macros.html' import result_footer, result_footer_rtl with context %}
-
-
- {% for key, value in result.items() %}
- {% if key in ['engine', 'engines', 'template', 'score', 'category', 'positions', 'pretty_url', 'parsed_url'] %}
- {% continue %}
- {% endif %}
-
- {{ key|upper }}: {{ value|truncate }} |
-
- {% endfor %}
-
-
-{% if rtl %}
-{{ result_footer_rtl(result) }}
-{% else %}
-{{ result_footer(result) }}
-{% endif %}
-
diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html
deleted file mode 100644
index bcd1019ec..000000000
--- a/searx/templates/oscar/result_templates/map.html
+++ /dev/null
@@ -1,76 +0,0 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
-
-{{- result_header(result, favicons, loop.index) -}}
-{{- result_sub_header(result, loop.index) -}}
-
-
-
-
- {%- if result.img_src -%}
{%- endif -%}
-
- {%- if result.type_icon or result.type -%}
-
- {%- if result.type_icon -%}
-
- {%- endif -%}
- {{ result.type if result.type is not none else '' }}
-
- {%- endif -%}
-
- {%- if result.content %}
{{ result.content|safe }}
{% endif -%}
-
-
- {%- if result.address -%}
-
-
- {{ result.address_label or _('address') }}
- |
-
- {%- if result.address.name -%}
- {{ result.address.name }}
- {%- endif -%}
- {%- if result.address.road -%}
-
- {%- if result.address.house_number %}{{ result.address.house_number }}, {% endif -%}
- {{- result.address.road -}}
-
- {%- endif -%}
- {%- if result.address.locality -%}
- {{ result.address.locality }}
- {%- if result.address.postcode %}, {{ result.address.postcode }}{% endif -%}
-
- {%- endif -%}
- {%- if result.address.country -%}
- {{ result.address.country }}
- {%- endif -%}
- |
-
- {%- endif %}
- {%- for info in result.data -%}
- {{ info.label }} | {{ info.value|safe }} |
- {%- endfor -%}
- {%- for link in result.links -%}
- {{ link.label }} | {{ link.url_label|safe }} |
- {%- endfor -%}
-
-
-
- {%- if (result.latitude and result.longitude) or result.boundingbox -%}
- {{ icon('globe') }} {{ _('show map') }}
- {%- endif -%}
-
-
-
-
-{%- if (result.latitude and result.longitude) or result.boundingbox -%}
-
-{%- endif -%}
-
-
-{%- if rtl -%}
-{{- result_footer_rtl(result, loop.index) -}}
-{% else %}
-{{- result_footer(result, loop.index) -}}
-{%- endif -%}
diff --git a/searx/templates/oscar/result_templates/products.html b/searx/templates/oscar/result_templates/products.html
deleted file mode 100644
index 590db0e05..000000000
--- a/searx/templates/oscar/result_templates/products.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{% from 'oscar/macros.html' import draw_favicon, result_header, result_sub_header, result_footer_rtl, result_footer %}
-
-{{ result_header(result, favicons) }}
-{{ result_sub_header(result) }}
-
-
-
-
-
- {% if result.price %}{{ result.price|safe }}{% endif %}
- {% if result.shipping %}{{ result.shipping|safe }}{% endif %}
- {% if result.source_country %}{{ result.source_country|safe }}{% endif %}
- {% if result.content %}{{ result.content|safe }}{% endif %}
-
-
-
-
-{% if rtl %}
-{{ result_footer_rtl(result) }}
-{% else %}
-{{ result_footer(result) }}
-{% endif %}
diff --git a/searx/templates/oscar/result_templates/torrent.html b/searx/templates/oscar/result_templates/torrent.html
deleted file mode 100644
index 9f6671549..000000000
--- a/searx/templates/oscar/result_templates/torrent.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
-
-{{- result_header(result, favicons, loop.index) -}}
-{{- result_sub_header(result, loop.index) -}}
-
-{%- if result.seed is defined %}{{ icon('transfer') }} {{ _('Seeder') }} {{ result.seed }} • {{ _('Leecher') }} {{ result.leech }}{% endif -%}
-{%- if result.filesize %}
{{ icon('floppy-disk') }} {{ _('Filesize') -}}
-
- {%- if result.filesize < 1024 %}{{ result.filesize }} {{ _('Bytes') -}}
- {%- elif result.filesize < 1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024) }} {{ _('kiB') -}}
- {%- elif result.filesize < 1024*1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024/1024) }} {{ _('MiB') -}}
- {%- elif result.filesize < 1024*1024*1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024/1024/1024) }} {{ _('GiB') -}}
- {%- else %}{{ '{0:0.2f}'.format(result.filesize/1024/1024/1024/1024) }} {{ _('TiB') }}{% endif -%}
- {% endif -%}
-{%- if result.files %}
{{ icon('file') }} {{ _('Number of Files') }} {{ result.files }}{% endif -%}
-
-{%- if result.content %}
{{ result.content|safe }}{% endif -%}
-
-
-
-{%- if rtl -%}
-{{ result_footer_rtl(result, loop.index) }}
-{%- else -%}
-{{ result_footer(result, loop.index) }}
-{%- endif -%}
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html
deleted file mode 100644
index 975f75e2a..000000000
--- a/searx/templates/oscar/result_templates/videos.html
+++ /dev/null
@@ -1,29 +0,0 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
-
-{{- result_header(result, favicons, loop.index) -}}
-{{- result_sub_header(result, loop.index) -}}
-
-{%- if result.iframe_src -%}
- • {{ icon('film') }} {{ _('show video') }}
-{%- endif -%}
-
-{% if result.iframe_src -%}
-
-
-
-{%- endif %}
-
-{{- "" -}}
-
{{- "" -}}
-
- {%- if result.author %}
{{ _('Author') }}: {{ result.author }}
{% endif -%}
- {%- if result.length %}
{{ _('Length') }}: {{ result.length }}
{% endif -%}
- {%- if result.content %}
{{ result.content|safe }}
{% endif -%}
-
{{- "" -}}
-
-
-{%- if rtl -%}
-{{ result_footer_rtl(result, loop.index) }}
-{%- else -%}
-{{ result_footer(result, loop.index) }}
-{%- endif -%}
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html
deleted file mode 100644
index ac7179158..000000000
--- a/searx/templates/oscar/results.html
+++ /dev/null
@@ -1,196 +0,0 @@
-{% extends "oscar/base.html" %}
-{% macro search_form_attrs(pageno) -%}
- {%- for category in selected_categories -%}{%- endfor -%}
- {{- "" -}}
- {{- "" -}}
- {{- "" -}}
- {{- "" -}}
- {% if timeout_limit %}{% endif -%}
-{%- endmacro %}
-{% macro engine_data_form(engine_data) -%}
- {% for engine_name, kv_data in engine_data.items() %}
- {% for k, v in kv_data.items() %}
-
- {% endfor %}
- {% endfor %}
-{%- endmacro %}
-{%- macro search_url() %}{{ url_for('search', _external=True) }}?q={{ q|urlencode }}{% if selected_categories %}&categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&pageno={{ pageno }}{% endif %}{% if time_range %}&time_range={{ time_range }}{% endif %}{% if current_language != 'all' %}&language={{ current_language }}{% endif %}{% endmacro -%}
-
-{% block title %}{% if query_in_title %}{{- q|e }} - {% endif %}{% endblock %}
-{% block meta %}{{" "}}{% endblock %}
-{% block content %}
- {% include 'oscar/search.html' %}
-
-
-
-
-
-
{{ _('Search results') }}
-
- {% if corrections -%}
-
-
-
- {% for correction in corrections -%}
-
- {% endfor %}
-
-
- {%- endif %}
-
- {% if answers -%}
- {%- for answer in answers.values() %}
-
- {%- endfor %}
- {%- endif %}
-
- {% for result in results -%}
-
- {%- set index = loop.index -%}
- {%- if result.template -%}
- {% include get_result_template('oscar', result['template']) %}
- {%- else -%}
- {% include 'oscar/result_templates/default.html' %}
- {%- endif -%}
-
- {% endfor %}
-
- {% if not results and not answers -%}
- {% include 'oscar/messages/no_results.html' %}
- {% endif %}
-
-
-
- {% if paging -%}
- {% if rtl %}
-
-
- {% else %}
-
-
- {% endif %}
- {% endif %}
-
-
-{% endblock %}
diff --git a/searx/templates/oscar/search.html b/searx/templates/oscar/search.html
deleted file mode 100644
index 2b3758efd..000000000
--- a/searx/templates/oscar/search.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% from 'oscar/macros.html' import icon %}
-
diff --git a/searx/templates/oscar/search_full.html b/searx/templates/oscar/search_full.html
deleted file mode 100644
index d3982304d..000000000
--- a/searx/templates/oscar/search_full.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% from 'oscar/macros.html' import icon %}
-
-