diff --git a/searx/settings.yml b/searx/settings.yml index c0568975966d394926eef59c932f3af5c27fae5a..7da762374c0f52b9a94a9b4d8e0d304a572be350 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1204,6 +1204,7 @@ engines: timeout : 6.0 additional_tests: rosebud: *test_rosebud + disabled: True - name : tokyotoshokan engine : tokyotoshokan diff --git a/searx/static/themes/etheme/css/etheme.css b/searx/static/themes/etheme/css/etheme.css index eb00bb8e57208925b88732de279be8fd2fe7c8ad..9f15c4b8da6d40c78f10dd28ffa7a7ba293278d7 100644 --- a/searx/static/themes/etheme/css/etheme.css +++ b/searx/static/themes/etheme/css/etheme.css @@ -869,7 +869,7 @@ input:checked + .slider:before { padding-left: 16px; } } -#results { +#main_results { margin-top: 32px; margin-bottom: 32px; } @@ -1028,11 +1028,11 @@ input:checked + .slider:before { border: none; margin-bottom: 8px; } -#results.images-gallery { +#main_results.images-gallery { display: flex; flex-wrap: wrap; } -#results.images-gallery .result.result-images { +#main_results.images-gallery .result.result-images { display: block; flex: 20%; height: 200px; @@ -1047,17 +1047,17 @@ input:checked + .slider:before { margin-bottom: 0; } @supports (display: grid) { - #results.images-gallery { + #main_results.images-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: 8px; } - #results.images-gallery .result.result-images { + #main_results.images-gallery .result.result-images { display: block; text-align: center; overflow: hidden; } - #results.images-gallery .result.result-images .img-thumbnail { + #main_results.images-gallery .result.result-images .img-thumbnail { height: 100%; width: auto; } @@ -1150,10 +1150,10 @@ input:checked + .slider:before { font-size: 18px; } @media screen and (max-width: 1100px) { - #results.images-gallery { + #main_results.images-gallery { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); } - #results.images-gallery .result.result-images { + #main_results.images-gallery .result.result-images { height: 140px; max-height: 140px; } diff --git a/searx/static/themes/etheme/css/etheme.min.css b/searx/static/themes/etheme/css/etheme.min.css index 793305b4a1aa29db734a969eb518ecd08c76904c..df00eb78a3b428b517769842c6375ba409964bb0 100644 Binary files a/searx/static/themes/etheme/css/etheme.min.css and b/searx/static/themes/etheme/css/etheme.min.css differ diff --git a/searx/static/themes/etheme/js/etheme.js b/searx/static/themes/etheme/js/etheme.js index 0bed8fc4ec8dc7ba94d1598daabfbb1ec4e0e4b5..75c79f7aa5dc4bd570db9afc8d12d8ed03b0ea61 100644 --- a/searx/static/themes/etheme/js/etheme.js +++ b/searx/static/themes/etheme/js/etheme.js @@ -85,7 +85,7 @@ $(document).ready(function(){ document.getElementById("image_view_url_link").href = target.dataset.url; } - $("#results").on("click", ".result.result-images", function (event) { + $("#main_results").on("click", ".result.result-images", function (event) { event.preventDefault(); var target = event.target; var view_url = target.src; @@ -108,7 +108,7 @@ $(document).ready(function(){ document.body.classList.remove("lock"); }); - if ($("#results").has(".first-page-media-results").length) { + if ($("#main_results").has(".first-page-media-results").length) { var headers = {"headers": { "Content-Type": "application/json"}}; var query_params = $.param({ "format": "json", diff --git a/searx/static/themes/etheme/js/etheme.min.js b/searx/static/themes/etheme/js/etheme.min.js index bcc323d87e701e7426db0ab0f938e7d5f7e1a22b..e4d434279bcd318f08673b1cbcf83bf4b2031c71 100644 Binary files a/searx/static/themes/etheme/js/etheme.min.js and b/searx/static/themes/etheme/js/etheme.min.js differ diff --git a/searx/static/themes/etheme/less/etheme/results.less b/searx/static/themes/etheme/less/etheme/results.less index 9135d714e0a2117ff4ae532ba92ab767c169c58e..d6164659ccbae759267554f6e535f7b11a68a10b 100644 --- a/searx/static/themes/etheme/less/etheme/results.less +++ b/searx/static/themes/etheme/less/etheme/results.less @@ -1,6 +1,6 @@ @video-scale: 16; -#results { +#main_results { margin-top: @spacing_xx-large; margin-bottom: @spacing_xx-large; } @@ -173,7 +173,7 @@ } } -#results.images-gallery { +#main_results.images-gallery { display: flex; flex-wrap: wrap; @@ -193,7 +193,7 @@ .result.result-torrent { margin-bottom: 0; } } @supports(display: grid) { - #results.images-gallery { + #main_results.images-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); grid-gap: @spacing_medium; @@ -316,7 +316,7 @@ .tablet-mq({ - #results.images-gallery { + #main_results.images-gallery { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); .result.result-images { diff --git a/searx/templates/etheme/results.html b/searx/templates/etheme/results.html index a0105fd9870806e6c477c6363ad51a1662431c55..1eca167a9b4b6cd85445192dffa823eb5215c394 100644 --- a/searx/templates/etheme/results.html +++ b/searx/templates/etheme/results.html @@ -69,7 +69,7 @@ {%- endmacro %} -