From 0298c84fc9ddbedbe016e0968b066339068f0f9a Mon Sep 17 00:00:00 2001 From: "giancarlo.panichi" Date: Wed, 18 Jul 2018 17:54:30 +0000 Subject: [PATCH] ref 12119:AccountingDashboard - Create a new Accounting Dashboard https://support.d4science.org/issues/12119 Updated Export file support. Added PNG/JPEG/PDF file export. git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/accounting-dashboard@169836 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/resources/ScopeTreeResources.java | 5 +++++ .../cellTreeSelectedBackgroundCustom.png | Bin 0 -> 180 bytes .../client/resources/uiScopeTree.css | 5 +++-- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/cellTreeSelectedBackgroundCustom.png diff --git a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/ScopeTreeResources.java b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/ScopeTreeResources.java index 3c6d1a5..05e7490 100644 --- a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/ScopeTreeResources.java +++ b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/ScopeTreeResources.java @@ -1,5 +1,6 @@ package org.gcube.portlets.user.accountingdashboard.client.resources; +import com.google.gwt.resources.client.ImageResource; import com.google.gwt.user.cellview.client.CellTree.Resources; import com.google.gwt.user.cellview.client.CellTree.Style; @@ -18,4 +19,8 @@ public interface ScopeTreeResources extends Resources { */ @Source(ScopeTreeStyle.DEFAULT_CSS) ScopeTreeStyle cellTreeStyle(); + + @Source("cellTreeSelectedBackgroundCustom.png") + ImageResource cellTreeSelectedBackgroundCustom(); + } diff --git a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/cellTreeSelectedBackgroundCustom.png b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/cellTreeSelectedBackgroundCustom.png new file mode 100644 index 0000000000000000000000000000000000000000..ea6cd1b7c8f87de9e711ea2fd5c5d8a81dfbbf4f GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^AS}hf1|(I~xn}_>wj^(N7Y1*JeGCtFu6pbW6yYrJ zh%9Dc;1&j9Muu5)B!GhKC7!;n?2p)m1aV literal 0 HcmV?d00001 diff --git a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiScopeTree.css b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiScopeTree.css index 9416189..8657334 100644 --- a/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiScopeTree.css +++ b/src/main/java/org/gcube/portlets/user/accountingdashboard/client/resources/uiScopeTree.css @@ -55,10 +55,11 @@ } @sprite .cellTreeSelectedItem { - gwt-image: 'cellTreeSelectedBackground'; - background-color: #628cd5; + gwt-image: 'cellTreeSelectedBackgroundCustom'; + background-color: #0caad9;/*#628cd5;*/ color: white; height: auto; + width: auto; overflow: visible; }