Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHE-2859 Provide better alignements in the Process panel #3699

Merged
merged 3 commits into from
Jan 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
fill: treeExpandArrowColor;
-webkit-filter: drop-shadow( treeExpandArrowShadow );
margin-left: 3px;
margin-top: 0;
margin-top: 1px;
}

/* We have no icon, just a spacer */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ interface Css extends CssResource {

String processTreeNode();

String commandTreeNode();

String differentMachineLabel();

String dockerMachineLabel();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public void handleEvent(Event event) {
}

private SpanElement createCommandElement(ProcessTreeNode node) {
SpanElement root = Elements.createSpanElement();
SpanElement root = Elements.createSpanElement(resources.getCss().commandTreeNode());
root.setAttribute("running", "" + node.isRunning());

root.appendChild(createCloseElement(node));
Expand Down Expand Up @@ -262,7 +262,7 @@ private SpanElement createCommandElement(ProcessTreeNode node) {
}

private SpanElement createTerminalElement(ProcessTreeNode node) {
SpanElement root = Elements.createSpanElement();
SpanElement root = Elements.createSpanElement(resources.getCss().commandTreeNode());

root.appendChild(createCloseElement(node));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@
.processTree .processTreeNode {
}

.commandTreeNode {
position: relative;
left: 0px;
top: -1px;
}

.dockerMachineLabel {
background-color: blueIconColor;
}
Expand Down