From 37133fc900834128659cdc1dd678bd2d105744b7 Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Tue, 2 Oct 2012 12:25:59 -0300 Subject: [PATCH] Fixes the mouseover appearence of remove button in comments --- app/views/content_viewer/view_page.rhtml | 6 ------ app/views/profile/_common.rhtml | 10 ---------- public/stylesheets/application.css | 7 +++++-- 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/app/views/content_viewer/view_page.rhtml b/app/views/content_viewer/view_page.rhtml index d13e886..733a02d 100644 --- a/app/views/content_viewer/view_page.rhtml +++ b/app/views/content_viewer/view_page.rhtml @@ -87,12 +87,6 @@ <% if @page.accept_comments? %>
<%= render :partial => 'comment_form' %>
- <% end %> diff --git a/app/views/profile/_common.rhtml b/app/views/profile/_common.rhtml index f543901..54efeca 100644 --- a/app/views/profile/_common.rhtml +++ b/app/views/profile/_common.rhtml @@ -1,13 +1,3 @@ - - - <% unless @action %> <% cache_timeout(profile.cache_key + '-profile-general-info', 4.hours) do %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index d1f6fae..ec668e9 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -1067,6 +1067,9 @@ a.comment-picture { #content .comments .comment-balloon a.button.icon-delete { display: none; } +#content .comments .comment-balloon:hover a.button.icon-delete { + display: inline; +} .msie7 .article-comments-list .comment-balloon { margin-top: -15px; } @@ -5179,8 +5182,8 @@ li.profile-activity-item.upload_image .activity-gallery-images-count-1 img { display: none; } -#profile-wall .profile-wall-activities-comments .article-comment:hover .button-bar, -#profile-network .profile-wall-activities-comments .article-comment:hover .button-bar { +#profile-wall .profile-wall-activities-comments .comment-content:hover .button-bar, +#profile-network .profile-wall-activities-comments .comment-content:hover .button-bar { display: block; } -- libgit2 0.21.2