From 2e58875455a4b7caea264209df3c0335d379a291 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Thu, 12 May 2016 12:32:54 +0000 Subject: [PATCH] Frame style removed when the portlet is deployed at vre level git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/social-profile@128568 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/socialprofile/client/SocialProfile.java | 2 -- src/main/webapp/SocialProfile.css | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java b/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java index 2776428..48b3d3b 100644 --- a/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java +++ b/src/main/java/org/gcube/portlets/user/socialprofile/client/SocialProfile.java @@ -94,8 +94,6 @@ public class SocialProfile implements EntryPoint { socialService.getUserContext(getUserToShowId(), new AsyncCallback() { @Override public void onSuccess(UserContext result) { - if (!result.isInfrastructure()) - RootPanel.get("SocialProfileDiv").setStyleName("frame-social"); mainPanel.add(dispProfile); dispProfile.show(result); if (result.getSummary() != null && result.getSummary().compareTo("") != 0) { diff --git a/src/main/webapp/SocialProfile.css b/src/main/webapp/SocialProfile.css index deacf74..d353c45 100644 --- a/src/main/webapp/SocialProfile.css +++ b/src/main/webapp/SocialProfile.css @@ -1,13 +1,3 @@ -.frame-social { - padding: 10px; - margin: 5px 0 0 10px; - background-color: #FFF; - border-radius: 6px !important; - -moz-border-radius: 6px !important; - -webkit-border-radius: 6px !important; - border: 1px solid #DBDBDB; -} - .profile-section { margin: 0px 5px 5px; font-family: 'Helvetica Neue', Arial, sans-serif;