Author: andrej Date: Fri Mar 22 11:13:08 2013 New Revision: 1459718 URL: http://svn.apache.org/r1459718 Log: fixing styling for em tag in bhsearch results to not influence styling of em tags in other pages - from Anze
Modified: incubator/bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Modified: incubator/bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html?rev=1459718&r1=1459717&r2=1459718&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html (original) +++ incubator/bloodhound/trunk/bloodhound_search/bhsearch/templates/bhsearch.html Fri Mar 22 11:13:08 2013 @@ -126,7 +126,7 @@ <tr class="${'odd' if idx % 2 else 'even'} prio${result.priority_value}${ ' added' if 'added' in result else ''}${ ' changed' if 'changed' in result else ''}${ - ' removed' if 'removed' in result else ''} searchable"> + ' removed' if 'removed' in result else ''} highlight_matches"> <py:for each="idx, header in enumerate(headers)" py:choose=""> <py:with vars="name = header.name; value = result[name]; hilited_value=result['hilited_' + name]; title = _('View ')+ result['type']"> <td py:when="name == 'id'" class="id"><a href="$result.href" title="${title}" @@ -154,8 +154,8 @@ <!--Rendering results in free form--> <dl id="results"> <py:for each="result in results"> - <dt><a href="${result.href}" class="searchable">${result.title}</a></dt> - <dd class="searchable">${result.hilited_content or result.content}</dd> + <dt><a href="${result.href}" class="highlight_matches">${result.title}</a></dt> + <dd class="highlight_matches">${result.hilited_content or result.content}</dd> <dd> <py:if test="result.author"><span class="author" i18n:msg="author">By ${format_author(result.author)}</span> —</py:if> <span class="date">${result.date}</span> Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css?rev=1459718&r1=1459717&r2=1459718&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original) +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Fri Mar 22 11:13:08 2013 @@ -476,7 +476,7 @@ span[contenteditable="true"]:focus { text-decoration: underline; } -.searchable em { +.highlight_matches em { font-style: inherit; font-weight: bold; }