minor fix: catalogue modal's style was in conflict with the one that shows up on session expired
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@135126 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
74d32b1bd4
commit
311d02cf0d
|
@ -160,6 +160,7 @@ import com.github.gwtbootstrap.client.ui.Modal;
|
|||
import com.github.gwtbootstrap.client.ui.event.HideEvent;
|
||||
import com.github.gwtbootstrap.client.ui.event.HideHandler;
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Element;
|
||||
import com.google.gwt.event.shared.EventHandler;
|
||||
import com.google.gwt.event.shared.HandlerManager;
|
||||
import com.google.gwt.http.client.RequestBuilder;
|
||||
|
@ -245,6 +246,8 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
|
||||
modal.setTitle("Publish Product");
|
||||
modal.addStyleName("insert-metadata-modal-style");
|
||||
modal.addStyleName("modal-top-custom");
|
||||
((Element)modal.getElement().getChildNodes().getItem(1)).addClassName("modal-body-custom");
|
||||
modal.add(new CreateDatasetForm(folderId, eventBus));
|
||||
modal.setCloseVisible(true);
|
||||
modal.show();
|
||||
|
|
|
@ -251,4 +251,19 @@ table.userssuggest th {
|
|||
|
||||
.editPermissions :hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/** For the data catalogue modal **/
|
||||
.insert-metadata-modal-style {
|
||||
width: 1200px !important;
|
||||
margin-left: -600px !important;
|
||||
}
|
||||
|
||||
.modal-body-custom {
|
||||
height: 550px !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
|
||||
.modal-top-custom {
|
||||
top: 2% !important;
|
||||
}
|
Loading…
Reference in New Issue