background: #5c5d60 url(top-bg.png) repeat-x;
}
-.i-app-SamplerApplication .main-split {
- background: transparent url(main-bg.png) repeat-x;
+.i-app-SamplerApplication .i-horizontallayout-sample-view {
+ background: #fff url(main-bg.png) repeat-x;
}
.i-app-SamplerApplication .topbar .logo {
border: none;
}
+.i-app-SamplerApplication .main-split .i-splitpanel-first-container {
+ background: #eaebec url(tree-bg.png) repeat-x fixed;
+}
+
+.i-app-SamplerApplication .main-split .i-splitpanel-hsplitter {
+ width: 1px;
+ background: #aeb0b5;
+}
+.i-app-SamplerApplication .main-split .i-splitpanel-hsplitter div {
+ width: 3px;
+ background: transparent;
+ border: none;
+ margin: 0 -1px;
+ padding: 0;
+}
+
.i-app-SamplerApplication .i-tree-menu {
font-family: helvetica, arial, verdana, sans-serif;
font-size: 12px;
line-height: 17px;
padding: 13px 0;
}
+.i-app-SamplerApplication .i-tree-menu .i-tree-node-selected span {
+ background: #7d8490;
+ padding: 1px;
+}
.i-app-SamplerApplication .i-label-section {
font-family: "Helvetica Neue", helvetica, arial, verdana, sans-serif;
private static final String MSG_HIDE_SRC = "Hide Java™ source";
private Panel right;
- private Panel left;
+ private VerticalLayout left;
private VerticalLayout controls;
private Feature currentFeature;
public FeatureView() {
- setSizeFull();
+
setWidth("100%");
setMargin(true);
setSpacing(true);
setStyleName("sample-view");
- left = new Panel();
- left.setStyleName(Panel.STYLE_LIGHT);
- left.addStyleName("feature-main");
-
- ((VerticalLayout) left.getLayout()).setSpacing(true);
- ((VerticalLayout) left.getLayout()).setMargin(false);
+ left = new VerticalLayout();
+ left.setWidth("100%");
+ left.setSpacing(true);
+ left.setMargin(false);
addComponent(left);
setExpandRatio(left, 1);
right.setStyleName(Panel.STYLE_LIGHT);
right.addStyleName("feature-info");
right.setWidth("369px");
- right.setHeight("100%");
addComponent(right);
controls = new VerticalLayout();
private ModeSwitch createModeSwitch() {
ModeSwitch m = new ModeSwitch();
m.addMode(currentList, "", "View as Icons", new ThemeResource(
- "sampler/grid.gif"));
+ "sampler/grid.png"));
/*- no CoverFlow yet
m.addMode(coverFlow, "", "View as Icons", new ThemeResource(
"sampler/flow.gif"));
*/
m.addMode(new FeatureTable(), "", "View as List",
- new ThemeResource("sampler/list.gif"));
+ new ThemeResource("sampler/list.png"));
m.addListener(new ModeSwitch.ModeSwitchListener() {
public void componentEvent(Event event) {
if (event instanceof ModeSwitchEvent) {
*/
private class MainArea extends CustomComponent {
MainArea() {
- setSizeFull();
+ setWidth("100%");
setCompositionRoot(new Label());
}