-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prettify tree view slightly 🌲 (#826)
* Prettify tree view slightly 🌲 * Ensure some html is in a cache block
- Loading branch information
1 parent
876b47a
commit 76eec9e
Showing
5 changed files
with
81 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.tree ul { | ||
&.top-level { | ||
margin: 0; | ||
& > li:before { | ||
display: none; | ||
} | ||
} | ||
|
||
padding: 0; | ||
margin: 0px 0px 0px 20px; | ||
list-style: none; | ||
line-height: 1.8em; | ||
|
||
li { | ||
position: relative; | ||
|
||
&:before { | ||
position: absolute; | ||
left: -15px; | ||
top: 0px; | ||
content: ''; | ||
display: block; | ||
border-left: 1px solid #ddd; | ||
height: .9em; | ||
border-bottom: 1px solid #ddd; | ||
width: 10px; | ||
} | ||
|
||
&:after { | ||
position: absolute; | ||
left: -15px; | ||
bottom: -7px; | ||
content: ''; | ||
display: block; | ||
border-left: 1px solid #ddd; | ||
height: 100%; | ||
} | ||
|
||
&:last-child { | ||
&:after { display: none } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters