From: Andy Allan Date: Wed, 3 Mar 2021 15:51:11 +0000 (+0000) Subject: Remove final uses of the deemphasize class X-Git-Tag: live~1672^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/926576881ff4e18573e34827fa9e598b8cc29174 Remove final uses of the deemphasize class --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 281cd4ba5..a37074561 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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 */ diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 670c7dc32..d04d5e6bd 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -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))) %> - — <%= t("javascripts.changesets.show.unhide_comment") %> + — <%= t("javascripts.changesets.show.unhide_comment") %> <%= comment.body.to_html %> diff --git a/app/views/diary_entries/comments.html.erb b/app/views/diary_entries/comments.html.erb index 67036050d..78f16eb8c 100644 --- a/app/views/diary_entries/comments.html.erb +++ b/app/views/diary_entries/comments.html.erb @@ -11,7 +11,7 @@ <% @comments.each do |comment| -%> - "> + "> <%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %> <%= time_ago_in_words(comment.created_at, :scope => :'datetime.distance_in_words_ago') %> <%= comment.body.to_html %> diff --git a/app/views/users/account.html.erb b/app/views/users/account.html.erb index bb30581f9..10b33063e 100644 --- a/app/views/users/account.html.erb +++ b/app/views/users/account.html.erb @@ -94,7 +94,7 @@
<%= t ".home location" -%>
class="nohome"<% end %>> -

<%= t ".no home location" %>

+

<%= t ".no home location" %>

<%= 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" %>