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:
evazion
2019-09-17 00:28:41 -05:00
parent c325bfa199
commit 31ebfa0a82
17 changed files with 30 additions and 49 deletions

View File

@@ -1,7 +1,7 @@
<%# record, interval %>
<% if record.respond_to?(:updater) && record.updater_id != record.creator_id %>
<p class="info">Updated by <%= link_to_user record.updater %> <%= time_ago_in_words_tagged(record.updated_at) %></p>
<p class="fineprint edit-notice">Updated by <%= link_to_user record.updater %> <%= time_ago_in_words_tagged(record.updated_at) %></p>
<% elsif record.updated_at - record.created_at > (local_assigns[:interval] || 5.minutes) %>
<p class="info">Updated <%= time_ago_in_words_tagged(record.updated_at) %></p>
<p class="fineprint edit-notice">Updated <%= time_ago_in_words_tagged(record.updated_at) %></p>
<% end %>