From 1604ccddccee9770b88f0a9848383a5cc2634624 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Fri, 6 Nov 2015 14:45:32 +0000 Subject: [PATCH] 1280: Workspace GUI: quote and available feature improvements Task-Url: https://support.d4science.org/issues/1280 Updated css git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@120221 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/workspace/client/view/WorkspaceFeaturesView.java | 2 ++ .../user/workspace/client/view/WorkspaceFeaturesView.ui.xml | 3 +-- src/main/webapp/workspaceportlet.css | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.java b/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.java index d89100a..079640e 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.java +++ b/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.java @@ -17,6 +17,7 @@ import com.github.gwtbootstrap.client.ui.constants.Trigger; import com.github.gwtbootstrap.client.ui.event.ClosedEvent; import com.github.gwtbootstrap.client.ui.event.ClosedHandler; import com.google.gwt.core.client.GWT; +import com.google.gwt.dom.client.Style.VerticalAlign; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.client.ui.Composite; @@ -117,6 +118,7 @@ public class WorkspaceFeaturesView extends Composite { hp_feautures.setCellHorizontalAlignment(fp3, HasHorizontalAlignment.ALIGN_RIGHT); hp_feautures.setCellVerticalAlignment(fp3, HasVerticalAlignment.ALIGN_MIDDLE); + ck_features_show_again.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE); ck_features_show_again.getElement().getFirstChildElement().setId("check_features_donotshowagain"); diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.ui.xml b/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.ui.xml index cdde9aa..4908846 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.ui.xml +++ b/src/main/java/org/gcube/portlets/user/workspace/client/view/WorkspaceFeaturesView.ui.xml @@ -10,8 +10,7 @@ - + diff --git a/src/main/webapp/workspaceportlet.css b/src/main/webapp/workspaceportlet.css index 8a769ff..ca35d00 100644 --- a/src/main/webapp/workspaceportlet.css +++ b/src/main/webapp/workspaceportlet.css @@ -400,7 +400,7 @@ } .alert_ws_features{ - background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important; + background: #FFF !important; border: 1px solid #99BBE8 !important; color: #226599 !important; margin-bottom: 5px !important; @@ -411,7 +411,7 @@ } .alert_ws_features .close{ - top: 4px !important; + top: 6px !important; } #check_features_donotshowagain{