fix selected item style--no longer highlights children

This commit is contained in:
catarak 2016-08-30 14:44:53 -04:00
parent bf61fdd992
commit c671d0c9f2
1 changed files with 5 additions and 4 deletions

View File

@ -41,12 +41,8 @@
.sidebar__file-item {
font-size: #{16 / $base-font-size}rem;
padding: #{8 / $base-font-size}rem 0;
color: $light-inactive-text-color;
cursor: pointer;
&--selected {
background-color: $ide-border-color;
}
&:hover > .file-item__content .sidebar__file-item-name {
color: $light-primary-text-color;
}
@ -79,6 +75,11 @@
.file-item__content {
display: flex;
position: relative;
padding: #{8 / $base-font-size}rem 0;
.sidebar__file-item--selected > & {
background-color: $ide-border-color;
}
}
.sidebar__file-item-name {