Remove final uses of the deemphasize class

This commit is contained in:
Andy Allan 2021-03-03 15:51:11 +00:00
parent 952cf0fdb4
commit 926576881f
4 changed files with 3 additions and 15 deletions

View file

@ -83,13 +83,6 @@ a {
/* Utility for de-emphasizing content */
.deemphasize {
color: $darkgrey;
a {
color: $blue;
}
}
.text-muted a {
color: $blue;
}
@ -1253,11 +1246,6 @@ tr.turn:hover {
img.user_thumbnail {
float: left;
}
small.deemphasize {
float: left;
display: block;
}
}
/* Rules for the diary entry page */

View file

@ -51,7 +51,7 @@
:when => friendly_date_ago(comment.created_at),
:exact_time => l(comment.created_at),
:user => link_to(comment.author.display_name, user_path(comment.author))) %>
— <span class="action-button deemphasize" data-comment-id="<%= comment.id %>" data-method="POST" data-url="<%= changeset_comment_unhide_url(comment.id) %>"><%= t("javascripts.changesets.show.unhide_comment") %></span>
— <span class="action-button text-muted" data-comment-id="<%= comment.id %>" data-method="POST" data-url="<%= changeset_comment_unhide_url(comment.id) %>"><%= t("javascripts.changesets.show.unhide_comment") %></span>
</small>
<%= comment.body.to_html %>
</li>

View file

@ -11,7 +11,7 @@
</tr>
</thead>
<% @comments.each do |comment| -%>
<tr class="<%= "deemphasize" unless comment.visible? %>">
<tr class="<%= "text-muted" unless comment.visible? %>">
<td width="25%"><%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %></td>
<td width="25%"><span title="<%= l comment.created_at, :format => :friendly %>"><%= time_ago_in_words(comment.created_at, :scope => :'datetime.distance_in_words_ago') %></span></td>
<td width="50%" class="richtext text-break"><%= comment.body.to_html %></td>

View file

@ -94,7 +94,7 @@
<fieldset>
<legend><%= t ".home location" -%></legend>
<div id="homerow" <% unless current_user.home_lat and current_user.home_lon %> class="nohome"<% end %>>
<p class="message form-help deemphasize"><%= t ".no home location" %></p>
<p class="message text-muted"><%= t ".no home location" %></p>
<div class="form-row">
<%= f.text_field :home_lat, :wrapper_class => "col-sm-4", :id => "home_lat" %>
<%= f.text_field :home_lon, :wrapper_class => "col-sm-4", :id => "home_lon" %>