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:
Costantino Perciante 2016-11-30 15:39:36 +00:00
parent 74d32b1bd4
commit 311d02cf0d
2 changed files with 18 additions and 0 deletions

View File

@ -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();

View File

@ -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;
}