From: Tom Hughes Date: Sat, 27 Apr 2024 14:16:19 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4725' X-Git-Tag: live~579 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b3cb9e252413439cf8710860e5233af70df7224b?hp=ec91b3a39fc28442f367be1dda6cb9dc37172cbb Merge remote-tracking branch 'upstream/pull/4725' --- diff --git a/app/assets/javascripts/index/search.js b/app/assets/javascripts/index/search.js index 6590e83b4..d41fc7d53 100644 --- a/app/assets/javascripts/index/search.js +++ b/app/assets/javascripts/index/search.js @@ -83,8 +83,6 @@ OSM.Search = function (map) { } markers.addLayer(marker); - - $(this).closest("li").addClass("selected"); } function hideSearchResult() { @@ -93,8 +91,6 @@ OSM.Search = function (map) { if (marker) { markers.removeLayer(marker); } - - $(this).closest("li").removeClass("selected"); } function panToSearchResult(data) { diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index c3f714389..ca9a820f9 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -15,10 +15,6 @@ p > img { max-width: 100%; } -small, aside { - font-size: 12px; -} - time[title] { text-decoration: underline dotted; } @@ -549,10 +545,6 @@ header .search_forms, /* Rules for search sidebar */ #sidebar .search_results_entry { - ul li.selected { - background: $list-highlight; - } - .search_more .loader { display: none; } diff --git a/app/assets/stylesheets/parameters.scss b/app/assets/stylesheets/parameters.scss index c46174d78..07549d69b 100644 --- a/app/assets/stylesheets/parameters.scss +++ b/app/assets/stylesheets/parameters.scss @@ -4,15 +4,12 @@ $typeheight: 14px; $blue: #7092FF; $secondary: #888; -$lightblue: #B8C5F0; $green: #7ebc6f; $vibrant-green: #76c551; $grey: #CCC; -$lightgrey: #EEE; $darkgrey: #888; $headerHeight: 55px; $sidebarWidth: 350px; -$list-highlight: #FFFFC0; $link-color: #24d; $link-hover-color: #24d; diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index fc2138318..05d7d5d63 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -7,7 +7,7 @@ <% else %> <% if @more_params %>