fix selected item style--no longer highlights children
This commit is contained in:
parent
bf61fdd992
commit
c671d0c9f2
1 changed files with 5 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue