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:
parent
96006bba75
commit
f37096fc6e
|
@ -23,9 +23,9 @@ public class ResultsFor extends Composite {
|
||||||
@UiField HTML resultForDiv;
|
@UiField HTML resultForDiv;
|
||||||
public ResultsFor(String prefix, String hashtag) {
|
public ResultsFor(String prefix, String hashtag) {
|
||||||
initWidget(uiBinder.createAndBindUi(this));
|
initWidget(uiBinder.createAndBindUi(this));
|
||||||
allUpdatesLink.setHTML("<a>All Updates</a>");
|
allUpdatesLink.setHTML("<a class=\"link\">All Updates</a>");
|
||||||
allUpdatesLink.getElement().getStyle().setCursor(Cursor.POINTER);
|
allUpdatesLink.getElement().getStyle().setCursor(Cursor.POINTER);
|
||||||
resultForDiv.setHTML(prefix + " <a>" + hashtag+"</a>");
|
resultForDiv.setHTML(prefix + " <b>" + hashtag+"</b>");
|
||||||
resultForDiv.setStyleName("filter-selected");
|
resultForDiv.setStyleName("filter-selected");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
<g:HTMLPanel ui:field="mainPanel">
|
<g:HTMLPanel ui:field="mainPanel">
|
||||||
<table class="single-comment">
|
<table class="single-comment">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="30px" align="middle">
|
<td width="36px" align="middle">
|
||||||
<g:Image styleName="member-photo" url="" ui:field="avatarImage"
|
<g:Image styleName="member-photo" url="" ui:field="avatarImage"
|
||||||
width="36px" height="36px" />
|
width="32px" height="32px" />
|
||||||
<m:AvatarReplacement4Comments visible="false"
|
<m:AvatarReplacement4Comments visible="false"
|
||||||
ui:field="avatarReplacement"></m:AvatarReplacement4Comments>
|
ui:field="avatarReplacement"></m:AvatarReplacement4Comments>
|
||||||
</td>
|
</td>
|
||||||
|
@ -22,10 +22,10 @@
|
||||||
<g:HTML styleName="user-comment-time" ui:field="timeArea" />
|
<g:HTML styleName="user-comment-time" ui:field="timeArea" />
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</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>
|
<g:HTML height="15px" width="15px" ui:field="editImage"></g:HTML>
|
||||||
</td>
|
</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>
|
<g:HTML height="15px" width="15px" ui:field="closeImage"></g:HTML>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -26,7 +26,6 @@ import org.gcube.common.portal.PortalContext;
|
||||||
import org.gcube.common.scope.impl.ScopeBean;
|
import org.gcube.common.scope.impl.ScopeBean;
|
||||||
import org.gcube.common.scope.impl.ScopeBean.Type;
|
import org.gcube.common.scope.impl.ScopeBean.Type;
|
||||||
import org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper;
|
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.DBCassandraAstyanaxImpl;
|
||||||
import org.gcube.portal.databook.server.DatabookStore;
|
import org.gcube.portal.databook.server.DatabookStore;
|
||||||
import org.gcube.portal.databook.shared.Attachment;
|
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.CommentNotificationsThread;
|
||||||
import org.gcube.portal.notifications.thread.LikeNotificationsThread;
|
import org.gcube.portal.notifications.thread.LikeNotificationsThread;
|
||||||
import org.gcube.portal.notifications.thread.MentionNotificationsThread;
|
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.client.NewsService;
|
||||||
import org.gcube.portlets.user.newsfeed.shared.MoreFeedsBean;
|
import org.gcube.portlets.user.newsfeed.shared.MoreFeedsBean;
|
||||||
import org.gcube.portlets.user.newsfeed.shared.NewsConstants;
|
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.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import com.google.gwt.user.client.Window.Location;
|
|
||||||
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
|
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
|
||||||
import com.liferay.portal.kernel.exception.PortalException;
|
import com.liferay.portal.kernel.exception.PortalException;
|
||||||
import com.liferay.portal.kernel.exception.SystemException;
|
import com.liferay.portal.kernel.exception.SystemException;
|
||||||
|
|
|
@ -5,6 +5,7 @@ table {
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.result-hashtag {
|
.result-hashtag {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
@ -46,6 +47,7 @@ table {
|
||||||
/* this is very important when usere paste long links*/
|
/* this is very important when usere paste long links*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
div#comment-inputContainer textarea.post-comment {
|
div#comment-inputContainer textarea.post-comment {
|
||||||
padding: 4px 2px;
|
padding: 4px 2px;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
@ -142,13 +144,12 @@ div#comment-inputContainer textarea.post-comment.comment-dark-color {
|
||||||
}
|
}
|
||||||
|
|
||||||
.feed-filters li a {
|
.feed-filters li a {
|
||||||
color: #444;
|
color: #3B5998;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feed-filters li a:hover {
|
.feed-filters li a:hover {
|
||||||
text-decoration: none;
|
text-decoration: underline;
|
||||||
color: #336699;
|
|
||||||
transition: color .25s ease-in-out;
|
transition: color .25s ease-in-out;
|
||||||
-moz-transition: color .25s ease-in-out;
|
-moz-transition: color .25s ease-in-out;
|
||||||
-webkit-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;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.feed-filters li.feed-breadcrumb {
|
.feed-filters li.feed-breadcrumb {
|
||||||
background-image: url("images/arrow-right.png");
|
background-image: url("images/arrow-right.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-selected a {
|
.filter-selected a {
|
||||||
color: #336699 !important;
|
color: #444 !important;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -274,7 +276,7 @@ img.member-photo {
|
||||||
margin: 4px 0 0 4px;
|
margin: 4px 0 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.more-comment {
|
.more-comment, .more-comment:hover {
|
||||||
background-color: #EFF3F5;
|
background-color: #EFF3F5;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -282,9 +284,10 @@ img.member-photo {
|
||||||
border-bottom-color: #FFF;
|
border-bottom-color: #FFF;
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
div>table.single-comment {
|
div>table.single-comment, .single-comment {
|
||||||
background-color: #EFF3F5;
|
background-color: #EFF3F5;
|
||||||
border-bottom-color: #FFF;
|
border-bottom-color: #FFF;
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
|
@ -383,32 +386,27 @@ div>table.single-comment {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.seemore, a.seemore:visited {
|
a.seemore, .seemore:hover {
|
||||||
font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial,
|
font-size: 9px;
|
||||||
sans-serif;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
cursor: hand;
|
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 {
|
a.person-link {
|
||||||
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
||||||
font-size: 16x;
|
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 {
|
.tweet-content {
|
||||||
font-family: 'Helvetica Neue', Arial, sans-serif;
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
@ -464,26 +462,6 @@ a.person-link, a.person-link:visited {
|
||||||
color: #666;
|
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 */
|
/* TABLES */
|
||||||
.div-table-400 {
|
.div-table-400 {
|
||||||
|
|
Loading…
Reference in New Issue