2099: Workspace Explorer enhancements: create a new folder

Task-Url: https://support.d4science.org/issues/2099

updated icons



git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@122678 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-02-01 14:59:36 +00:00
parent 4dccca0a45
commit 60f0fbc2b9
7 changed files with 29 additions and 24 deletions

View File

@ -26,9 +26,12 @@ public interface WorkspaceExplorerIcons extends ClientBundle {
@Source("loading.gif")
ImageResource logo();
@Source("folder.png")
@Source("vre_folder.png")
ImageResource vre_folder();
@Source("new_folder.png")
ImageResource new_folder();
@Source("home.png")
ImageResource home();

View File

@ -36,7 +36,8 @@ public class WorkspaceExplorerResources {
public enum CustomIconType implements BaseIconType {
home, // Our runtime access
vre_folder;
vre_folder,
new_folder;
private static final String PREFIX = "myBaseIcon_";
private String className;

View File

@ -1,16 +1,16 @@
/* Prevent our icons from css obfuscation */
@external .myBaseIcon_*;
@external .myBaseIcon_*; /* Do some css stuff */
.myBaseIcon_home:hover {
/* opacity: 0.5; */
}
/* Our sample icon */
@sprite .myBaseIcon_home {
gwt-image: "home";
display: inline-block;
vertical-align: middle;
}
/* Do some css stuff */
.myBaseIcon_home:hover {
/* opacity: 0.5; */
margin-bottom: 3px;
}
/* Our sample icon */
@ -18,11 +18,12 @@
gwt-image: "vre_folder";
display: inline-block;
vertical-align: middle;
margin-bottom: 3px;
}
/* Our sample icon */
@sprite .myBaseIcon_new_folder {
gwt-image: "new_folder";
display: inline-block;
vertical-align: middle;
margin-bottom: 3px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B