]> git.openstreetmap.org Git - rails.git/commitdiff
Remove final uses of the deemphasize class
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Mar 2021 15:51:11 +0000 (15:51 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Mar 2021 15:51:11 +0000 (15:51 +0000)
app/assets/stylesheets/common.scss
app/views/browse/changeset.html.erb
app/views/diary_entries/comments.html.erb
app/views/users/account.html.erb

index 281cd4ba5727ccecc522d043368e26a129032278..a370745613ed6d5b13e00be8dba91199c1f51ff6 100644 (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 */
index 670c7dc321a1196be9801c18e850f822d7070c13..d04d5e6bd711d8547f64c6ac82a01f7325835802 100644 (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>
index 67036050d635df409cc3c9ea00383ff706a4b245..78f16eb8c8c5a5fd035727380250bfba3cf74d05 100644 (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>
index bb30581f93d83516ea319448ee960420ca93a0eb..10b33063e773c4c04611abb58da9e96e2b3148e2 100644 (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" %>