From 107952ff0095e93691a3e0b546ead347dfc5d39c Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Thu, 23 Nov 2017 04:53:50 +0100 Subject: Fix cursor for author row and avatars in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When it was on an author row the cursor was shown as a pointer, even if clicking on the author row itself does nothing. On the other hand, avatars used the default cursor, even if clicking on them either shows the contacts menu (in the case of the author row, only when the avatar is for a different user than the current one) or inserts a mention (for avatars shown in the list of suggested mentions), depending on the case. Now, the author row uses the default cursor, and avatars (and their associated user name) use a pointer cursor if clicking on them will trigger an action (either showing the contacts menu or inserting a mention). Signed-off-by: Daniel Calviño Sánchez --- apps/comments/css/comments.css | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/comments/css') diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css index 1ed418df2fc..14fa4316b5a 100644 --- a/apps/comments/css/comments.css +++ b/apps/comments/css/comments.css @@ -125,6 +125,17 @@ .atwho-view-ul * .avatar-name-wrapper, #commentsTabView .comment .authorRow { position: relative; +} + +#commentsTabView .comment .message .avatar-name-wrapper, +#commentsTabView .comment .message .avatar-name-wrapper .avatar, +#commentsTabView .comment .authorRow .avatar:not(.currentUser), +#commentsTabView .comment .authorRow .author:not(.currentUser) { + cursor: pointer; +} + +.atwho-view-ul .avatar-name-wrapper, +.atwho-view-ul .avatar-name-wrapper .avatar { cursor: pointer; } -- cgit v1.2.3