consistent links

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@126842 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-04-06 17:11:02 +00:00
parent 96006bba75
commit f37096fc6e
4 changed files with 28 additions and 53 deletions

View File

@ -23,9 +23,9 @@ public class ResultsFor extends Composite {
@UiField HTML resultForDiv;
public ResultsFor(String prefix, String hashtag) {
initWidget(uiBinder.createAndBindUi(this));
allUpdatesLink.setHTML("<a>All Updates</a>");
allUpdatesLink.setHTML("<a class=\"link\">All Updates</a>");
allUpdatesLink.getElement().getStyle().setCursor(Cursor.POINTER);
resultForDiv.setHTML(prefix + " <a>" + hashtag+"</a>");
resultForDiv.setHTML(prefix + " <b>" + hashtag+"</b>");
resultForDiv.setStyleName("filter-selected");
}

View File

@ -9,9 +9,9 @@
<g:HTMLPanel ui:field="mainPanel">
<table class="single-comment">
<tr>
<td width="30px" align="middle">
<td width="36px" align="middle">
<g:Image styleName="member-photo" url="" ui:field="avatarImage"
width="36px" height="36px" />
width="32px" height="32px" />
<m:AvatarReplacement4Comments visible="false"
ui:field="avatarReplacement"></m:AvatarReplacement4Comments>
</td>
@ -22,10 +22,10 @@
<g:HTML styleName="user-comment-time" ui:field="timeArea" />
</div>
</td>
<td valign="top" class="comment-bgcolor">
<td width="15px" valign="top" class="comment-bgcolor">
<g:HTML height="15px" width="15px" ui:field="editImage"></g:HTML>
</td>
<td valign="top" class="comment-bgcolor">
<td width="15px" valign="top" class="comment-bgcolor">
<g:HTML height="15px" width="15px" ui:field="closeImage"></g:HTML>
</td>
</tr>

View File

@ -26,7 +26,6 @@ import org.gcube.common.portal.PortalContext;
import org.gcube.common.scope.impl.ScopeBean;
import org.gcube.common.scope.impl.ScopeBean.Type;
import org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper;
import org.gcube.portal.databook.client.GCubeSocialNetworking;
import org.gcube.portal.databook.server.DBCassandraAstyanaxImpl;
import org.gcube.portal.databook.server.DatabookStore;
import org.gcube.portal.databook.shared.Attachment;
@ -45,7 +44,6 @@ import org.gcube.portal.notifications.bean.GenericItemBean;
import org.gcube.portal.notifications.thread.CommentNotificationsThread;
import org.gcube.portal.notifications.thread.LikeNotificationsThread;
import org.gcube.portal.notifications.thread.MentionNotificationsThread;
import org.gcube.portlets.user.gcubewidgets.client.ClientScopeHelper;
import org.gcube.portlets.user.newsfeed.client.NewsService;
import org.gcube.portlets.user.newsfeed.shared.MoreFeedsBean;
import org.gcube.portlets.user.newsfeed.shared.NewsConstants;
@ -65,7 +63,6 @@ import org.gcube.vomanagement.usermanagement.model.GCubeUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gwt.user.client.Window.Location;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;

View File

@ -5,6 +5,7 @@ table {
border-spacing: 0;
}
.result-hashtag {
color: #555;
font-size: 20px;
@ -46,6 +47,7 @@ table {
/* this is very important when usere paste long links*/
}
div#comment-inputContainer textarea.post-comment {
padding: 4px 2px;
color: #999;
@ -142,13 +144,12 @@ div#comment-inputContainer textarea.post-comment.comment-dark-color {
}
.feed-filters li a {
color: #444;
color: #3B5998;
text-decoration: none;
}
.feed-filters li a:hover {
text-decoration: none;
color: #336699;
text-decoration: underline;
transition: color .25s ease-in-out;
-moz-transition: color .25s ease-in-out;
-webkit-transition: color .25s ease-in-out;
@ -179,12 +180,13 @@ div#comment-inputContainer textarea.post-comment.comment-dark-color {
background-image: none;
}
.feed-filters li.feed-breadcrumb {
background-image: url("images/arrow-right.png");
}
.filter-selected a {
color: #336699 !important;
color: #444 !important;
font-weight: bold;
}
@ -274,7 +276,7 @@ img.member-photo {
margin: 4px 0 0 4px;
}
.more-comment {
.more-comment, .more-comment:hover {
background-color: #EFF3F5;
width: 100%;
text-align: center;
@ -282,9 +284,10 @@ img.member-photo {
border-bottom-color: #FFF;
border-bottom-style: solid;
border-bottom-width: 1px;
cursor: pointer;
}
div>table.single-comment {
div>table.single-comment, .single-comment {
background-color: #EFF3F5;
border-bottom-color: #FFF;
border-bottom-style: solid;
@ -383,32 +386,27 @@ div>table.single-comment {
white-space: nowrap;
}
a.seemore, a.seemore:visited {
font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial,
sans-serif;
a.seemore, .seemore:hover {
font-size: 9px;
cursor: pointer;
cursor: hand;
font-size: 9px;
white-space: nowrap;
color: #3B5998;
}
.like:hover {
cursor: pointer;
cursor: hand;
}
.comment:hover {
cursor: pointer;
cursor: hand;
}
a.person-link {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 16x;
line-height: 18px;
color: #3B5998;
}
a.person-link, a.person-link:visited {
cursor: pointer;
cursor: hand;
font-size: 16x;
text-decoration: none;
color: #3B5998;
}
.tweet-content {
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 14px;
@ -464,26 +462,6 @@ a.person-link, a.person-link:visited {
color: #666;
}
.tweet-actions div a {
color: #3B5998;
cursor: pointer;
cursor: hand;
}
div.tweet-content a.link, div.tweet-content a.link:active, div.tweet-content a.link:visited, div.user-comment a.link, div.user-comment a.link:active, div.user-comment a.link:visited {
font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial,
sans-serif;
font-size: 12px;
cursor: pointer;
cursor: hand;
text-decoration: none;
color: #3B5998;
}
a.link:hover {
opacity: 0.8;
text-decoration: underline;
}
/* TABLES */
.div-table-400 {