summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-04 09:35:26 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-09 18:08:23 +0200
commitc75425655fdadf9554b97ae0309a6181acd34ce3 (patch)
tree7fee6892d2a64f2c44db8cb35b079bf823991b8e /searx/static
parent92c8a8829f2e68e7ceb3b4670ebea4c4e6541a7c (diff)
[enh] openstreetmap / map template: improve results
implements ideas described in #69 * update the engine * use wikidata * update map.html template
Diffstat (limited to 'searx/static')
-rw-r--r--searx/static/themes/oscar/src/less/logicodev/results.less30
-rw-r--r--searx/static/themes/simple/less/style.less31
2 files changed, 61 insertions, 0 deletions
diff --git a/searx/static/themes/oscar/src/less/logicodev/results.less b/searx/static/themes/oscar/src/less/logicodev/results.less
index 67ee296a1..0668dc8cd 100644
--- a/searx/static/themes/oscar/src/less/logicodev/results.less
+++ b/searx/static/themes/oscar/src/less/logicodev/results.less
@@ -171,6 +171,36 @@
// 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
diff --git a/searx/static/themes/simple/less/style.less b/searx/static/themes/simple/less/style.less
index 3b0506b98..017e61218 100644
--- a/searx/static/themes/simple/less/style.less
+++ b/searx/static/themes/simple/less/style.less
@@ -304,6 +304,37 @@ article.result-images[data-vim-selected]::before {
}
}
+.result-map {
+
+ img.image {
+ float: right !important;
+ height: 100px !important;
+ width: auto !important;
+ }
+
+ table {
+ font-size: .9em;
+ width: auto;
+ border-collapse: separate;
+ border-spacing: 0 0.35rem;
+
+ th {
+ font-weight: inherit;
+ width: 17rem;
+ vertical-align: top;
+ text-align: left;
+ }
+
+ td {
+ vertical-align: top;
+ text-align: left;
+ }
+ }
+
+
+
+}
+
.torrent_result {
border-left: 10px solid @color-result-torrent-border;
padding-left: 3px;