/* Utility for de-emphasizing content */
-.deemphasize {
- color: $darkgrey;
- a {
- color: $blue;
- }
-}
-
.text-muted a {
color: $blue;
}
img.user_thumbnail {
float: left;
}
-
- small.deemphasize {
- float: left;
- display: block;
- }
}
/* Rules for the diary entry page */
: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>
</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>
<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" %>