Skip to content

Commit

Permalink
update browser styles
Browse files Browse the repository at this point in the history
  • Loading branch information
heiko-braun committed Aug 7, 2012
1 parent c4f8a1c commit ba0ecb5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ private void create() {
window.setGlassEnabled(true);

tree = new Tree();
tree.getElement().addClassName("browser-tree");
tree.addSelectionHandler(new SelectionHandler<TreeItem>() {
@Override
public void onSelection(SelectionEvent<TreeItem> selection) {
final LinkedList<String> path = resolvePath(selection.getSelectedItem());
TreeItem selectedItem = selection.getSelectedItem();
final LinkedList<String> path = resolvePath(selectedItem);

rawView.clearDisplay();
descView.clearDisplay();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public void updateDescription(ModelNode address, ModelNode description)
.appendEscaped(sb.toString())
.appendHtmlConstant("</h1>");

builder.appendHtmlConstant("<h2 class='doc-description'>")
builder.appendHtmlConstant("<p class='content-description'>")
.appendEscaped(description.get("description").asString())
.appendHtmlConstant("</h2>");
.appendHtmlConstant("</p>");

header.setHTML(builder.toSafeHtml());

Expand Down
9 changes: 9 additions & 0 deletions gui/src/main/java/org/jboss/as/console/public/lab.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,13 @@ a:hover, a:active { outline: none; }

input[type="checkbox"] {
width: 15px!important;
}

.browser-tree .gwt-TreeItem {
color: #404040;
}

.browser-tree .gwt-TreeItem-selected {
font-weight: BOLD;
color: #000000;
}

0 comments on commit ba0ecb5

Please sign in to comment.