mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Better handling of selected items
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
.selected {
|
||||
.text(highlighted);
|
||||
> .highlight, &.highlight {
|
||||
background-color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
.highlighted { .text(highlighted); }
|
||||
|
||||
Reference in New Issue
Block a user