Updated css and gwt.xml to remove gwt-bootstrap ovveride

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@119520 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-10-08 10:22:42 +00:00
parent 9e4530c9fc
commit d86b52a456
4 changed files with 43 additions and 12 deletions

View File

@ -8,6 +8,9 @@
<dependent-module archiveName="workspace-tree-widget-6.9.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-tree-widget-BRANCH-6.9.0-SNAPSHOT/workspace-tree-widget-BRANCH-6.9.0-SNAPSHOT">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="wsmail-widget-1.9.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/wsmail-widget-TRUNK/wsmail-widget-TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
<property name="context-root" value="workspace"/>

View File

@ -12,6 +12,7 @@ import org.gcube.portlets.user.workspace.client.model.FileModel;
import com.github.gwtbootstrap.client.ui.NavLink;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Element;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.uibinder.client.UiBinder;
@ -47,7 +48,10 @@ public class Breadcrumbs extends Composite {
initWidget(uiBinder.createAndBindUi(this));
breadcrumbs.setDivider(DIVIDER);
// initBreadcrumb(true);
this.addStyleName("Breadcrumbs-Personal");
Element ul = this.getElement().getFirstChildElement();
ul.removeClassName("breadcrumb");
ul.addClassName("Breadcrumbs-Personal");
}
public void setPath(List<FileModel> parents) {

View File

@ -10,6 +10,7 @@
<inherits name='org.gcube.portlets.widgets.guidedtour.GuidedTour' />
<inherits name="com.github.gwtbootstrap.Bootstrap" />
<inherits name='org.gcube.portlets.widgets.wsexplorer.WorkspaceExplorer' />
<!-- Moduel GXT -->
<inherits name='com.extjs.gxt.ui.GXT' />
@ -33,15 +34,15 @@
<source path='shared' />
<!--pay attention in this part -->
<source path='resources' />
<replace-with
class="org.gcube.portlets.user.workspace.resources.BootstrapConfigurator">
<when-type-is class="com.github.gwtbootstrap.client.ui.config.Configurator" />
</replace-with>
<public path="resources">
<exclude name="** /*.java" />
<exclude name="** /*.class" />
</public>
<!-- <source path='resources' /> -->
<!-- <replace-with -->
<!-- class="org.gcube.portlets.user.workspace.resources.BootstrapConfigurator"> -->
<!-- <when-type-is class="com.github.gwtbootstrap.client.ui.config.Configurator" /> -->
<!-- </replace-with> -->
<!-- <public path="resources"> -->
<!-- <exclude name="** /*.java" /> -->
<!-- <exclude name="** /*.class" /> -->
<!-- </public> -->
<inherits name="com.google.gwt.logging.Logging" />
<set-property name="gwt.logging.logLevel" value="INFO" />

View File

@ -307,6 +307,29 @@
}
.Breadcrumbs-Personal {
/* background: #DFEAF8; */
margin-top: 4px;
font-family: Arial,"Times New Roman",Georgia,Serif;
font-size: 12px;
list-style: none outside none;
margin-bottom: 3px;
margin-left: 2px;
margin-top: 3px;
padding: 5px !important;
}
.Breadcrumbs-Personal li {
display: inline-block;
}
.Breadcrumbs-Personal .active {
color: #999999;
text-decoration: none;
}
.Breadcrumbs-Personal .divider {
color: #AABBCC;
padding: 0 5px;
}
.Breadcrumbs-Personal a {
color: #226599;
text-decoration: none;
}
.Breadcrumbs-Personal a:hover {
text-decoration: underline;
}