]> BookStack Code Mirror - bookstack/commitdiff
Added highlighting to current book-tree item
authorDan Brown <redacted>
Sat, 25 May 2019 15:52:17 +0000 (16:52 +0100)
committerDan Brown <redacted>
Sat, 25 May 2019 15:52:44 +0000 (16:52 +0100)
Related to #1435

resources/assets/sass/_lists.scss

index 9c141232ea25fd9813d4333fcec3631747f73198..cafbfa78154ba6fb4625eda5ec9167eb4c4fd8ff 100644 (file)
     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;