From ab7518009d2b93d2d65db32b016a461a1df41096 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Wed, 28 Sep 2016 07:40:02 +0000 Subject: [PATCH] minor fix for role button git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131941 82a268e6-3cf1-43bd-a215-b396298e98cf --- .settings/org.eclipse.wst.common.component | 3 +++ .../client/view/CkanOrganizationsPanel.java | 1 + src/main/webapp/GCubeCkanDataCatalog.css | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index 5fe3680..336593c 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -4,6 +4,9 @@ + + uses + diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanOrganizationsPanel.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanOrganizationsPanel.java index a7a143a..2ed3c03 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanOrganizationsPanel.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanOrganizationsPanel.java @@ -85,6 +85,7 @@ public class CkanOrganizationsPanel extends VerticalPanel{ Button role = new Button(); role.setType(ButtonType.LINK); role.setText("as Catalogue-" + org.getRole().toString().toLowerCase()); + role.addStyleName("button-as-role-style"); role.getElement().getStyle().setProperty("pointer-events", "none"); line.add(role); ListItem item = new ListItem(line); diff --git a/src/main/webapp/GCubeCkanDataCatalog.css b/src/main/webapp/GCubeCkanDataCatalog.css index 21756e9..799402d 100644 --- a/src/main/webapp/GCubeCkanDataCatalog.css +++ b/src/main/webapp/GCubeCkanDataCatalog.css @@ -105,4 +105,9 @@ h1 { .footer-organizations>a { color: rgba(255, 255, 255, 0.6) !important; +} + +.button-as-role-style { + padding-left: 0px !important; + color: black !important; } \ No newline at end of file