]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
35f35bc
)
Added highlighting to current book-tree item
author
Dan Brown
<redacted>
Sat, 25 May 2019 15:52:17 +0000
(16:52 +0100)
committer
Dan Brown
<redacted>
Sat, 25 May 2019 15:52:44 +0000
(16:52 +0100)
Related to #1435
resources/assets/sass/_lists.scss
patch
|
blob
|
history
diff --git
a/resources/assets/sass/_lists.scss
b/resources/assets/sass/_lists.scss
index 9c141232ea25fd9813d4333fcec3631747f73198..cafbfa78154ba6fb4625eda5ec9167eb4c4fd8ff 100644
(file)
--- a/
resources/assets/sass/_lists.scss
+++ b/
resources/assets/sass/_lists.scss
@@
-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;