mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Selected things in lists should use proper text color
This commit is contained in:
@@ -21,11 +21,6 @@
|
||||
.generate-list-item-text-color(error);
|
||||
.generate-list-item-text-color(selected);
|
||||
|
||||
li:not(.list-nested-item).selected,
|
||||
li.list-nested-item.selected > .list-item {
|
||||
.text(selected);
|
||||
}
|
||||
|
||||
.generate-list-item-status-color(@textClass, @status) {
|
||||
li:not(.list-nested-item).status-@{status},
|
||||
li.list-nested-item.status-@{status} > .list-item {
|
||||
@@ -38,6 +33,11 @@
|
||||
.generate-list-item-status-color(warning, modified);
|
||||
.generate-list-item-status-color(error, removed);
|
||||
|
||||
li:not(.list-nested-item).selected,
|
||||
li.list-nested-item.selected > .list-item {
|
||||
.text(selected);
|
||||
}
|
||||
|
||||
li:not(.list-nested-item):hover,
|
||||
li.list-nested-item:hover > .list-item, // i.e. highlight directory when hover child file
|
||||
li.list-nested-item .list-item:hover,
|
||||
|
||||
Reference in New Issue
Block a user