Ability to collapse the root directory in the drive

This commit is contained in:
yflory
2017-08-22 14:54:41 +02:00
parent b4864b96ac
commit 98daf10ed1
2 changed files with 24 additions and 2 deletions

View File

@@ -190,7 +190,8 @@ span {
}
.docTree {
margin-top: 20px;
padding: 0 0 0 20px;
//padding: 0 0 0 20px;
padding: 0;
cursor: auto;
&li, li {
padding: 0;
@@ -304,6 +305,24 @@ span {
top: -1px;
}
}
.docTree {
.root > .element-row > .expcol {
position: relative;
top:0;
left: -10px;
}
.root > .element-row > .folder {
margin-left: -5px;
}
.root {
&> .element-row {
padding-left: 20px;
}
&> ul {
padding-left: 30px;
}
}
}
// Expand/collapse lines
.docTree ul {