CSS improvements in the drive tree

This commit is contained in:
yflory
2017-03-02 18:24:18 +01:00
parent 6098f28260
commit 153386a6e0
2 changed files with 17 additions and 4 deletions

View File

@@ -112,6 +112,9 @@ li {
background: #666;
color: #eee;
margin: -1px;
.fa-minus-square-o, .fa-plus-square-o {
color: @tree-fg;
}
}
span {
@@ -137,17 +140,20 @@ span {
padding: 10px 0px;
color: @tree-fg;
li {
padding: 0 0 0 5px;
cursor: auto;
&.collapsed ul {
display: none;
}
input {
width: calc(100% - 30px);
width: ~"calc(100% - 30px)";
}
& > span.element-row {
width: 100%;
width: ~"calc(100% + 5px)";
display: inline-block;
cursor: pointer;
margin-left: -5px;
padding-left: 5px;
}
& > span.element-row:not(.selected):hover {
background-color: @drive-hover;