Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
drseb committed Feb 5, 2016
1 parent 9f47ef6 commit a010ccd
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 11 deletions.
35 changes: 35 additions & 0 deletions WebContent/VAADIN/themes/hpoweb/hpoweb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,39 @@ $v-app-loading-text: "Loading HPO data... please wait";
padding-top: 10px;
}

/////////////////
// graph stuff //
/////////////////



.v-graph-explorer .node{
padding: 1px;
font-size: 90%;
}

.v-graph-explorer .node .label{
color: black;
}

.v-graph-explorer .node.root {
background-color: #E7E4D3 ;
}

.v-graph-explorer .node.subclass {
background-color: #EBF4FA ;
}

.v-graph-explorer .node.subsubclass {
background-color: #BBD9EE ;
}

.v-graph-explorer .node.superclass {
background-color: #EBF4FA ;
}

.v-graph-explorer .node.supersuperclass {
background-color: #BBD9EE ;
}

}
29 changes: 29 additions & 0 deletions WebContent/VAADIN/themes/hpoweb/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -13036,4 +13036,33 @@ div.v-layout.v-horizontal.v-widget {

.hpoweb .v-csslayout-gridelement {
padding-top: 10px;
}

.hpoweb .v-graph-explorer .node {
padding: 1px;
font-size: 90%;
}

.hpoweb .v-graph-explorer .node .label {
color: black;
}

.hpoweb .v-graph-explorer .node.root {
background-color: #E7E4D3;
}

.hpoweb .v-graph-explorer .node.subclass {
background-color: #EBF4FA;
}

.hpoweb .v-graph-explorer .node.subsubclass {
background-color: #BBD9EE;
}

.hpoweb .v-graph-explorer .node.superclass {
background-color: #EBF4FA;
}

.hpoweb .v-graph-explorer .node.supersuperclass {
background-color: #BBD9EE;
}
2 changes: 1 addition & 1 deletion src/hpoweb/HpowebUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private Button getGraphViewButton(IHpClassDataProvider dataProvider) {
@Override
public void buttonClick(ClickEvent event) {
GraphtestUI ui = dataProvider.getGraphtestUi();
Window subWindow = new Window("Sub-window");
Window subWindow = new Window("Graph view");
VerticalLayout subContent = new VerticalLayout();
subContent.setMargin(true);
subWindow.setContent(subContent);
Expand Down
10 changes: 0 additions & 10 deletions src/hpoweb/uicontent/tabs/hpoclass/HpoClassTabFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -465,16 +465,6 @@ public void addTermInfoElements(Container gridContainer, IHpClassDataProvider da
col1.addStyleName("v-csslayout-gridelement");
}

// /*
// * Graph stuff
// */
// {
// Col col1 = row2.addCol(styles2);
// VerticalLayout l5 = getGraphTab(dataProvider);
// col1.addComponent(l5);
// }
//

}

}

0 comments on commit a010ccd

Please sign in to comment.