if (interestingFeature(element)) {
var $li = $("<li>")
- .addClass("query-result list-group-item")
+ .addClass("query-result list-group-item list-group-item-action")
.data("geometry", featureGeometry(element))
.text(featurePrefix(element) + " ")
.appendTo($ul);
if (results.remark) {
$("<li>")
- .addClass("query-result list-group-item")
+ .addClass("query-result list-group-item list-group-item-action")
.text(I18n.t("javascripts.query.error", { server: url, error: results.remark }))
.appendTo($ul);
}
if ($ul.find("li").length === 0) {
$("<li>")
- .addClass("query-result list-group-item")
+ .addClass("query-result list-group-item list-group-item-action")
.text(I18n.t("javascripts.query.nothing_found"))
.appendTo($ul);
}
$section.find(".loader").hide();
$("<li>")
- .addClass("query-result list-group-item")
+ .addClass("query-result list-group-item list-group-item-action")
.text(I18n.t("javascripts.query." + status, { server: url, error: error }))
.appendTo($ul);
}
$link-hover-decoration: underline;
$table-border-factor: .1;
+$list-group-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);
$enable-negative-margins: true;
<div class="input-group flex-nowrap">
<%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus, :autocomplete => "on", :class => "form-control form-control-sm z-0", :dir => "auto" %>
<div class="input-group-text border-start-0 p-0 position-relative">
- <%= button_tag t("site.search.where_am_i"), :type => "button", :class => "describe_location position-absolute end-0 me-1 btn btn-sm btn-outline-primary border-0 bg-transparent", :title => t("site.search.where_am_i_title") %>
+ <%= button_tag t("site.search.where_am_i"), :type => "button", :class => "describe_location position-absolute end-0 me-1 btn btn-sm btn-outline-primary border-0 bg-transparent text-primary link-body-emphasis link-opacity-100-hover", :title => t("site.search.where_am_i_title") %>
</div>
<%= submit_tag t("site.search.submit_text"), :class => "btn btn-sm btn-primary", :data => { :disable_with => false } %>
</div>