revised access button css

git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/join-vre@113751 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2015-03-26 11:21:07 +00:00
parent 847839f486
commit 2a77cb5be2
2 changed files with 10 additions and 12 deletions

View File

@ -1,9 +1,11 @@
package org.gcube.portlets.user.joinvre.client.ui;
import static com.google.gwt.query.client.GQuery.$;
import static com.google.gwt.query.client.css.CSS.WIDTH;
import static com.google.gwt.query.client.GQuery.window;
import java.util.List;
import org.gcube.portlets.user.gcubewidgets.client.elements.Div;
import org.gcube.portlets.user.gcubewidgets.client.elements.Span;
import org.gcube.portlets.user.joinvre.client.JoinService;
import org.gcube.portlets.user.joinvre.client.JoinServiceAsync;
import org.gcube.portlets.user.joinvre.shared.VRE;
@ -13,24 +15,17 @@ 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.query.client.Function;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.query.client.GQuery;
import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.Selector;
import com.google.gwt.query.client.Selectors;
import static com.google.gwt.query.client.GQuery.*;
import static com.google.gwt.query.client.css.CSS.*;
/**
* @author Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
@ -147,10 +142,11 @@ public class DisplayVRE extends Composite {
}
private void show() {
$(mainPanel).animate("width:'927px'", 150, new Function(){
$(mainPanel).animate("width:'927px'", 120, new Function(){
public void f(Element e){
$(vreDesc).fadeIn();
$(closeButton).fadeIn();
$(window).scrollTo(0, mainPanel.getAbsoluteTop()-310);
}
});
vreImage.setTitle("Click to collapse");

View File

@ -94,11 +94,13 @@
margin: 0 !important;
font-weight: normal !important;
text-shadow: none !important;
color: #667 !important;
}
.freeAccessButton {
background-color: #47a447 !important;
color: #FFF !important;
font-weight: normal !important;
text-shadow: none !important;
border-color: #B5D49B !important;
background-color: #d6e9c6 !important;
color: #3c763d !important;
}