breadcrumbs enhancement completed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@99061 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8ec136aee6
commit
5f15c59b2c
|
@ -32,6 +32,7 @@ import com.google.gwt.event.logical.shared.ResizeEvent;
|
||||||
import com.google.gwt.event.logical.shared.ResizeHandler;
|
import com.google.gwt.event.logical.shared.ResizeHandler;
|
||||||
import com.google.gwt.user.client.Window;
|
import com.google.gwt.user.client.Window;
|
||||||
import com.google.gwt.user.client.ui.Button;
|
import com.google.gwt.user.client.ui.Button;
|
||||||
|
import com.google.gwt.user.client.ui.Composite;
|
||||||
import com.google.gwt.user.client.ui.RootPanel;
|
import com.google.gwt.user.client.ui.RootPanel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -57,7 +58,7 @@ public class GxtSeachAndFilterPanel extends LayoutContainer {
|
||||||
private VerticalPanel verticalPanel = new VerticalPanel();
|
private VerticalPanel verticalPanel = new VerticalPanel();
|
||||||
|
|
||||||
private HorizontalPanel hp = new HorizontalPanel();
|
private HorizontalPanel hp = new HorizontalPanel();
|
||||||
private HorizontalPanel hp2 = new HorizontalPanel();
|
// private HorizontalPanel hp2 = new HorizontalPanel();
|
||||||
|
|
||||||
private HorizontalPanel hpMain = new HorizontalPanel();
|
private HorizontalPanel hpMain = new HorizontalPanel();
|
||||||
private GxtBreadcrumbPathPanel toolbarPahtPanel;
|
private GxtBreadcrumbPathPanel toolbarPahtPanel;
|
||||||
|
@ -78,7 +79,7 @@ public class GxtSeachAndFilterPanel extends LayoutContainer {
|
||||||
// this.cbViewScope.setAutoWidth(true);
|
// this.cbViewScope.setAutoWidth(true);
|
||||||
|
|
||||||
this.toolbarPahtPanel = toolBarPathPanel;
|
this.toolbarPahtPanel = toolBarPathPanel;
|
||||||
verticalPanel.add(this.toolbarPahtPanel.getToolBarPathPanel());
|
|
||||||
|
|
||||||
hp.setStyleAttribute("margin-left", "2px");
|
hp.setStyleAttribute("margin-left", "2px");
|
||||||
|
|
||||||
|
@ -108,19 +109,16 @@ public class GxtSeachAndFilterPanel extends LayoutContainer {
|
||||||
|
|
||||||
hp.setHeight(20);
|
hp.setHeight(20);
|
||||||
hpMain.setHeight(20);
|
hpMain.setHeight(20);
|
||||||
|
|
||||||
|
|
||||||
bSearch.setWidth("70px");
|
bSearch.setWidth("70px");
|
||||||
bSave.setWidth("70px");
|
bSave.setWidth("70px");
|
||||||
|
|
||||||
hp2.setHorizontalAlign(HorizontalAlignment.RIGHT);
|
|
||||||
hp2.setVerticalAlign(VerticalAlignment.MIDDLE);
|
|
||||||
//hp2.add(txtViewScope);
|
|
||||||
// hp2.add(cbViewScope);
|
|
||||||
|
|
||||||
cbViewScope.setStyleAttribute("margin-left", "132px");
|
cbViewScope.setStyleAttribute("margin-left", "132px");
|
||||||
cbViewScope.setStyleAttribute("margin-top", "2px");
|
cbViewScope.setStyleAttribute("margin-top", "2px");
|
||||||
|
|
||||||
|
hpMain.setId("hpMain");
|
||||||
|
hpMain.setStyleAttribute("background", "#D0DEF0");
|
||||||
|
verticalPanel.setId("VerticalPanelSearchAndFilter");
|
||||||
|
verticalPanel.setStyleAttribute("background", "#D0DEF0");
|
||||||
hpMain.add(hp);
|
hpMain.add(hp);
|
||||||
|
|
||||||
//SOLUTION FOR SCOPE INVISIBLE
|
//SOLUTION FOR SCOPE INVISIBLE
|
||||||
|
@ -129,6 +127,9 @@ public class GxtSeachAndFilterPanel extends LayoutContainer {
|
||||||
// hpMain.add(hp2);
|
// hpMain.add(hp2);
|
||||||
|
|
||||||
// verticalPanel.setLayout(new FitLayout());
|
// verticalPanel.setLayout(new FitLayout());
|
||||||
|
|
||||||
|
// hpMain.setStyleAttribute("margin", "2px; 8px;");
|
||||||
|
verticalPanel.add(this.toolbarPahtPanel.getToolBarPathPanel());
|
||||||
verticalPanel.add(hpMain);
|
verticalPanel.add(hpMain);
|
||||||
// verticalPanel.setStyleAttribute("background-color", "#d0def0");
|
// verticalPanel.setStyleAttribute("background-color", "#d0def0");
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,34 @@
|
||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
.testcss{
|
.breadcrumb {
|
||||||
|
list-style: none outside none;
|
||||||
|
font-size: 12px;
|
||||||
|
margin-left: 2px;
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding: 5px !important;
|
||||||
|
font-family: Arial, "Times New Roman", Georgia, Serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb li {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb .active {
|
||||||
|
color: #999999;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb .divider {
|
||||||
|
color: #AABBCC;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb a {
|
||||||
|
color: #226599;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb a:HOVER {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
|
@ -7,16 +7,24 @@
|
||||||
#SearchAndFilter {
|
#SearchAndFilter {
|
||||||
background-color: #d0def0;
|
background-color: #d0def0;
|
||||||
/* Mozilla Firefox */
|
/* Mozilla Firefox */
|
||||||
background-image: -moz-linear-gradient(top, #DFEAF8 0%, #d0def0 100%);
|
/* background-image: -moz-linear-gradient(top, #DFEAF8 0%, #d0def0 100%); */
|
||||||
/* Webkit (Safari/Chrome 10) */
|
/* /* Webkit (Safari/Chrome 10) */
|
||||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #DFEAF8),
|
*/
|
||||||
color-stop(1, #d0def0));
|
/* background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #DFEAF8), */
|
||||||
/* Webkit (Chrome 11+) */
|
/* color-stop(1, #d0def0)); */
|
||||||
background-image: -webkit-linear-gradient(top, #DFEAF8 0%, #d0def0 100%);
|
/* /* Webkit (Chrome 11+) */
|
||||||
/* W3C Markup, IE10 Release Preview */
|
*/
|
||||||
background-image: linear-gradient(to bottom, #DFEAF8 0%, #d0def0 100%);
|
/* background-image: -webkit-linear-gradient(top, #DFEAF8 0%, #d0def0 100%); */
|
||||||
/* IE10 Consumer Preview */
|
/* /* W3C Markup, IE10 Release Preview */
|
||||||
background-image: -ms-linear-gradient(top, #DFEAF8 0%, #d0def0 100%);
|
*/
|
||||||
|
/* background-image: linear-gradient(to bottom, #DFEAF8 0%, #d0def0 100%); */
|
||||||
|
/* /* IE10 Consumer Preview */
|
||||||
|
*/
|
||||||
|
/* background-image: -ms-linear-gradient(top, #DFEAF8 0%, #d0def0 100%); */
|
||||||
|
}
|
||||||
|
|
||||||
|
#VerticalPanelSearchAndFilter table {
|
||||||
|
background: none repeat scroll 0 0 #D0DEF0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nofeed-message {
|
.nofeed-message {
|
||||||
|
@ -298,22 +306,7 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Breadcrumbs-Personal .breadcrumb {
|
.Breadcrumbs-Personal {
|
||||||
background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
|
/* background: #DFEAF8; */
|
||||||
font-size: 13px;
|
margin-top: 4px;
|
||||||
padding: 5px 5px !important;
|
|
||||||
margin: 2px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Breadcrumbs-Personal .breadcrumb li {
|
|
||||||
text-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Breadcrumbs-Personal .breadcrumb .divider {
|
|
||||||
/* color: blue !important; */
|
|
||||||
color: #AABBCC;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Breadcrumbs-Personal .breadcrumb a {
|
|
||||||
color: #226599;
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue