Skip to content
Snippets Groups Projects
Commit 0f1d2cf4 authored by gnaegi's avatar gnaegi
Browse files

OO-1976 add markup for better search result customization, add background to...

OO-1976 add markup for better search result customization, add background to highlight search results
parent 02d7bde3
No related branches found
No related tags found
No related merge requests found
Showing
with 14 additions and 10 deletions
......@@ -12,7 +12,8 @@
#if ($result.parentContextName && $result.parentContextName != "")
<div class="o_search_result_context">
<strong>$r.translate("label.search.result.parent.context"):</strong>
$r.translate("$result.parentContextType") "$r.escapeHtml($result.parentContextName)"
<span class="o_search_result_context_parent">$r.translate("$result.parentContextType")</span>
<span class="o_search_result_context_name">"$r.escapeHtml($result.parentContextName)"</span>
</div>
#end
......
......@@ -382,6 +382,8 @@ $o-search-details-color : $text-muted !default;
$o-search-details-font-size : $font-size-small !default;
$o-search-details-bg : #fff !default;
$o-search-excerpt-color : $gray !default;
$o-search-highlight-color : $state-warning-bg !default;
$o-search-highlight-font-weight : bold !default;
/* Message boxes */
$o-box-margin : 20px !default;
......
This diff is collapsed.
......@@ -24,7 +24,8 @@
}
.o_search_result_highlight {
font-weight: bold;
font-weight: $o-search-highlight-font-weight;
background-color: $o-search-highlight-color;
}
.o_search_result_context {
color: $o-search-context-color;
......
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment