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,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 %>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<%= format_text(@dmail.body) %>
|
||||
|
||||
<% if @dmail.is_automated? %>
|
||||
<p class="tn">
|
||||
<p class="fineprint">
|
||||
This is an automated message. Responses will not be seen. If you have any questions either message a moderator or ask in the forum.
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<% end %>
|
||||
</h1>
|
||||
|
||||
<p class="info">Posted under <%= link_to @forum_topic.category_name, forum_topics_path(:search => {:category_id => @forum_topic.category_id}) %></p>
|
||||
<p class="fineprint">Posted under <%= link_to @forum_topic.category_name, forum_topics_path(:search => {:category_id => @forum_topic.category_id}) %></p>
|
||||
|
||||
<% if @forum_topic.is_locked? %>
|
||||
<div class="notice">
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
</div>
|
||||
|
||||
<% if post_set.hidden_posts.present? %>
|
||||
<div class="tn hidden-posts-notice">
|
||||
<div class="fineprint hidden-posts-notice">
|
||||
<% if post_set.banned_posts.present? %>
|
||||
<%= post_set.banned_posts.size %> post(s) were removed from this page at the artist's request (<%= link_to "learn more", wiki_pages_path(title: "banned_artist") %>).<br>
|
||||
<% end %>
|
||||
@@ -20,7 +20,7 @@
|
||||
<% end %>
|
||||
|
||||
<% if show_tag_change_notice? %>
|
||||
<div class="tag-change-notice">
|
||||
<div class="fineprint tag-change-notice">
|
||||
<p>This tag is the subject of an ongoing discussion. If you have any relevant information, please join the <%= link_to "discussion", forum_topic_path(TagChangeNoticeService.get_forum_topic_id(params[:tags]) || 1) %>.</p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<label for="remember" id="remember-label">Remember</label>
|
||||
</div>
|
||||
|
||||
<p class="hint">
|
||||
<p class="fineprint">
|
||||
New to <%= Danbooru.config.app_name %>? <%= link_to "Create a new account", new_user_path %>.
|
||||
</p>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div id="related-posts-by-source">
|
||||
<h3>Related Posts</h3>
|
||||
|
||||
<p class="hint">
|
||||
<p class="fineprint">
|
||||
Found <%= link_to pluralize(source.related_posts.total_count, "other post"), posts_path(tags: source.related_posts_search_query) %> from the same source:
|
||||
</p>
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<% @change_request.feedback.each do |feedback| %>
|
||||
<li class="feedback-category-<%= feedback.category %>">
|
||||
<p><%= feedback.body %></p>
|
||||
<p class="info">Submitted by <%= link_to_user feedback.creator.name %> <%= time_ago_in_words_tagged feedback.created_at %></p>
|
||||
<p class="fineprint">Submitted by <%= link_to_user feedback.creator.name %> <%= time_ago_in_words_tagged feedback.created_at %></p>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
<tr>
|
||||
<td>Cost</td>
|
||||
<td>Free</td>
|
||||
<td>$20<p class="cost-footnote">One time fee</p></td>
|
||||
<td>$40<p class="cost-footnote">One time fee</p></td>
|
||||
<td>$20<div class="fineprint">One time fee</div></td>
|
||||
<td>$40<div class="fineprint">One time fee</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tag Limit</td>
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
<th>API Limits</th>
|
||||
<td>
|
||||
<%= CurrentUser.user.remaining_api_limit %>
|
||||
/ <%= CurrentUser.user.api_burst_limit %> <span class="hint">(may not be up to date)</span>
|
||||
/ <%= CurrentUser.user.api_burst_limit %> <span class="fineprint">(may not be up to date)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user