Added highlighting to current book-tree item

Related to #1435
This commit is contained in:
Dan Brown 2019-05-25 16:52:17 +01:00
parent 35f35bcba5
commit 2b7362fa94
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -164,15 +164,21 @@
padding-left: 1rem; padding-left: 1rem;
padding-right: 0; padding-right: 0;
} }
.entity-list-item { .entity-list-item {
padding-top: $-xxs; padding-top: $-xxs;
padding-bottom: $-xxs; padding-bottom: $-xxs;
background-clip: content-box;
border-radius: 0 3px 3px 0;
.content { .content {
padding-top: $-xs; padding-top: $-xs;
padding-bottom: $-xs; padding-bottom: $-xs;
max-width: calc(100% - 20px); max-width: calc(100% - 20px);
} }
} }
.entity-list-item.selected {
background-color: rgba(0, 0, 0, 0.08);
}
.entity-list-item.no-hover { .entity-list-item.no-hover {
margin-top: -$-xs; margin-top: -$-xs;
padding-right: 0; padding-right: 0;