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-right: 0;
}
.entity-list-item {
padding-top: $-xxs;
padding-bottom: $-xxs;
background-clip: content-box;
border-radius: 0 3px 3px 0;
.content {
padding-top: $-xs;
padding-bottom: $-xs;
max-width: calc(100% - 20px);
}
}
.entity-list-item.selected {
background-color: rgba(0, 0, 0, 0.08);
}
.entity-list-item.no-hover {
margin-top: -$-xs;
padding-right: 0;