From 1a79865b77e8ac935b0cd4bc2f2488938b2d6fea Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 14 Nov 2014 18:39:33 -0200 Subject: [PATCH] use #mentions?user= for mentions, add new button to user profile. calm theme needs some layout fixing for the new button (a sync with their repo is badly needed) --- css/profile.css | 13 ++++++++++--- home.html | 1 + js/interface_common.js | 27 +++++++++++++++++++-------- 3 files changed, 30 insertions(+), 11 deletions(-) diff --git a/css/profile.css b/css/profile.css index f6444e5..9fbeda0 100644 --- a/css/profile.css +++ b/css/profile.css @@ -59,16 +59,17 @@ } .profile-card .direct-messages, .profile-card .direct-messages-with-user, +.profile-card .mentions-from-user, .profile-card .follow, .profile-card .profileUnfollow { display: block; position: absolute; bottom: 20px; - right: 10px; + right: 125px; padding: 10px; font-size: 12px; - width: 120px; + width: 110px; text-align: center; color: rgba( 0, 0, 0, .7 ); background: rgba( 0, 0, 0, .1 ); @@ -78,7 +79,11 @@ .profile-card .follow, .profile-card .profileUnfollow { - right: 135px; + right: 240px; +} +.profile-card .mentions-from-user +{ + right: 10px; } .profile-card .profileUnfollow { @@ -86,6 +91,7 @@ } .profile-card .direct-messages:hover, .profile-card .direct-messages-with-user:hover, +.profile-card .mentions-from-user:hover, .profile-card .follow:hover { background: rgba( 0, 0, 0, .3 ); @@ -310,6 +316,7 @@ */ .profile-modal .direct-messages, .profile-modal .direct-messages-with-user, +.profile-modal .mentions-from-user, .profile-modal .follow, .profile-modal .profileUnfollow { diff --git a/home.html b/home.html index 502e072..f3f0af5 100644 --- a/home.html +++ b/home.html @@ -444,6 +444,7 @@ +