Fossil SCM
Add horizontal lines connecting nodes to their parent directory.
Commit
19a8ce3732c435f6eb41fd5c7e67d7fb8c7e0076
Parent
272b684d900e232…
1 file changed
+12
-1
+12
-1
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -790,18 +790,29 @@ | ||
| 790 | 790 | { ".filetree .subdir ul", |
| 791 | 791 | "file tree lists below subdir", |
| 792 | 792 | @ display: block; |
| 793 | 793 | @ margin: 0 0 .5em 7px; |
| 794 | 794 | @ padding: .2em 0 0 12px; |
| 795 | - @ border-left: 2px dotted #aaa; | |
| 795 | + @ border-left: 2px solid #ccc; | |
| 796 | 796 | }, |
| 797 | 797 | { ".filetree .subdir li", |
| 798 | 798 | "file tree lists items below subdir", |
| 799 | + @ position: relative; | |
| 799 | 800 | @ display: block; |
| 800 | 801 | @ margin: .2em 0; |
| 801 | 802 | @ padding: 0; |
| 802 | 803 | }, |
| 804 | + { ".filetree .subdir li:before", | |
| 805 | + "file tree horizontal lines connecting children to parent", | |
| 806 | + @ content: ''; | |
| 807 | + @ position: absolute; | |
| 808 | + @ top: .5em; | |
| 809 | + @ left: -12px; | |
| 810 | + @ margin-top: 1px; | |
| 811 | + @ width: 10px; | |
| 812 | + @ border-top: 2px solid #ccc; | |
| 813 | + }, | |
| 803 | 814 | { ".filetree a", |
| 804 | 815 | "file tree links", |
| 805 | 816 | @ margin-right: .5em; |
| 806 | 817 | }, |
| 807 | 818 | { ".filetree a:before", |
| 808 | 819 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -790,18 +790,29 @@ | |
| 790 | { ".filetree .subdir ul", |
| 791 | "file tree lists below subdir", |
| 792 | @ display: block; |
| 793 | @ margin: 0 0 .5em 7px; |
| 794 | @ padding: .2em 0 0 12px; |
| 795 | @ border-left: 2px dotted #aaa; |
| 796 | }, |
| 797 | { ".filetree .subdir li", |
| 798 | "file tree lists items below subdir", |
| 799 | @ display: block; |
| 800 | @ margin: .2em 0; |
| 801 | @ padding: 0; |
| 802 | }, |
| 803 | { ".filetree a", |
| 804 | "file tree links", |
| 805 | @ margin-right: .5em; |
| 806 | }, |
| 807 | { ".filetree a:before", |
| 808 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -790,18 +790,29 @@ | |
| 790 | { ".filetree .subdir ul", |
| 791 | "file tree lists below subdir", |
| 792 | @ display: block; |
| 793 | @ margin: 0 0 .5em 7px; |
| 794 | @ padding: .2em 0 0 12px; |
| 795 | @ border-left: 2px solid #ccc; |
| 796 | }, |
| 797 | { ".filetree .subdir li", |
| 798 | "file tree lists items below subdir", |
| 799 | @ position: relative; |
| 800 | @ display: block; |
| 801 | @ margin: .2em 0; |
| 802 | @ padding: 0; |
| 803 | }, |
| 804 | { ".filetree .subdir li:before", |
| 805 | "file tree horizontal lines connecting children to parent", |
| 806 | @ content: ''; |
| 807 | @ position: absolute; |
| 808 | @ top: .5em; |
| 809 | @ left: -12px; |
| 810 | @ margin-top: 1px; |
| 811 | @ width: 10px; |
| 812 | @ border-top: 2px solid #ccc; |
| 813 | }, |
| 814 | { ".filetree a", |
| 815 | "file tree links", |
| 816 | @ margin-right: .5em; |
| 817 | }, |
| 818 | { ".filetree a:before", |
| 819 |