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:
parent
4dccca0a45
commit
60f0fbc2b9
|
@ -26,9 +26,12 @@ public interface WorkspaceExplorerIcons extends ClientBundle {
|
||||||
@Source("loading.gif")
|
@Source("loading.gif")
|
||||||
ImageResource logo();
|
ImageResource logo();
|
||||||
|
|
||||||
@Source("folder.png")
|
@Source("vre_folder.png")
|
||||||
ImageResource vre_folder();
|
ImageResource vre_folder();
|
||||||
|
|
||||||
|
@Source("new_folder.png")
|
||||||
|
ImageResource new_folder();
|
||||||
|
|
||||||
@Source("home.png")
|
@Source("home.png")
|
||||||
ImageResource home();
|
ImageResource home();
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,8 @@ public class WorkspaceExplorerResources {
|
||||||
public enum CustomIconType implements BaseIconType {
|
public enum CustomIconType implements BaseIconType {
|
||||||
|
|
||||||
home, // Our runtime access
|
home, // Our runtime access
|
||||||
vre_folder;
|
vre_folder,
|
||||||
|
new_folder;
|
||||||
|
|
||||||
private static final String PREFIX = "myBaseIcon_";
|
private static final String PREFIX = "myBaseIcon_";
|
||||||
private String className;
|
private String className;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
/* Prevent our icons from css obfuscation */
|
/* Prevent our icons from css obfuscation */
|
||||||
@external .myBaseIcon_*;
|
@external .myBaseIcon_*; /* Do some css stuff */
|
||||||
|
.myBaseIcon_home:hover {
|
||||||
|
/* opacity: 0.5; */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/* Our sample icon */
|
/* Our sample icon */
|
||||||
@sprite .myBaseIcon_home {
|
@sprite .myBaseIcon_home {
|
||||||
gwt-image: "home";
|
gwt-image: "home";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
margin-bottom: 3px;
|
||||||
|
|
||||||
/* Do some css stuff */
|
|
||||||
.myBaseIcon_home:hover {
|
|
||||||
/* opacity: 0.5; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Our sample icon */
|
/* Our sample icon */
|
||||||
|
@ -18,11 +18,12 @@
|
||||||
gwt-image: "vre_folder";
|
gwt-image: "vre_folder";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Our sample icon */
|
|
||||||
@sprite .myBaseIcon_new_folder {
|
@sprite .myBaseIcon_new_folder {
|
||||||
gwt-image: "new_folder";
|
gwt-image: "new_folder";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
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 |
Loading…
Reference in New Issue