Better handling of selected items

This commit is contained in:
Ben Ogle
2013-08-22 16:09:53 -07:00
parent ac36a07298
commit ffef4e3a7e
2 changed files with 7 additions and 6 deletions

View File

@@ -34,12 +34,18 @@
.text(highlighted);
}
.list-nested-item.collapsed > .list-group {
.list-nested-item.collapsed > .list-group,
.list-nested-item.collapsed > .list-tree {
display: none;
}
.list-nested-item.collapsed > .list-item > .disclosure-arrow {
.octicon(chevron-right, @disclosure-arrow-size);
}
.list-item.selected,
.list-nested-item.selected > .list-item {
background-color: @tool-panel-background-highlight-color;
}
}
// Handle indentation of the tree. Assume disclosure arrows.
@@ -55,6 +61,4 @@
.list-nested-item > .list-group {
margin-left: @disclosure-arrow-padding;
}
}

View File

@@ -3,9 +3,6 @@
.selected {
.text(highlighted);
> .highlight, &.highlight {
background-color: #333;
}
}
.highlighted { .text(highlighted); }