css: standardize styling of fineprint text.
Fineprint text was variously styled with `.info`, `.tn`, `.hint`, or `.cost-footnote` css classes. Standardize on `.fineprint` instead. Use `.hint` only for form hints and `.tn` only for <tn> tags in translation notes. Incidentally changes the font size of form hints to 0.8em (was 0.7em) and the color of fineprint to #888 (was #AAA or #666).
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<% if @matches.present? %>
|
||||
<h3>Similar Posts</h3>
|
||||
<p class="hint">Found <%= pluralize(@matches.length, "similar post") %>:</p>
|
||||
<p class="fineprint">Found <%= pluralize(@matches.length, "similar post") %>:</p>
|
||||
|
||||
<% @matches.each do |match| %>
|
||||
<%= PostPresenter.preview(match["post"], :tags => "status:any", :similarity => match["score"], :size => true) %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<h3>Similar Posts</h3>
|
||||
<p class="hint">No similar posts found.</p>
|
||||
<p class="fineprint">No similar posts found.</p>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user