}
markers.addLayer(marker);
-
- $(this).closest("li").addClass("selected");
}
function hideSearchResult() {
if (marker) {
markers.removeLayer(marker);
}
-
- $(this).closest("li").removeClass("selected");
}
function panToSearchResult(data) {
max-width: 100%;
}
-small, aside {
- font-size: 12px;
-}
-
time[title] {
text-decoration: underline dotted;
}
/* Rules for search sidebar */
#sidebar .search_results_entry {
- ul li.selected {
- background: $list-highlight;
- }
-
.search_more .loader {
display: none;
}
$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;
<% else %>
<ul class='results-list list-group list-group-flush'>
<% @results.each do |result| %>
- <li class="list-group-item search_results_entry"><%= result_to_html(result) %></li>
+ <li class="list-group-item list-group-item-action search_results_entry"><%= result_to_html(result) %></li>
<% end %>
</ul>
<% if @more_params %>