CSS improvements in the drive tree

pull/1/head
yflory 8 years ago
parent 6098f28260
commit 153386a6e0

@ -82,6 +82,10 @@ li {
color: #eee;
margin: -1px;
}
.selected .fa-minus-square-o,
.selected .fa-plus-square-o {
color: #000;
}
span.fa-folder,
span.fa-folder-open {
color: #FEDE8B;
@ -102,18 +106,21 @@ span.fa-folder-open {
color: #000;
}
#tree li {
padding: 0 0 0 5px;
cursor: auto;
}
#tree li.collapsed ul {
display: none;
}
#tree li input {
width: calc(70%);
width: calc(100% - 30px);
}
#tree li > span.element-row {
width: 100%;
width: calc(100% + 5px);
display: inline-block;
cursor: pointer;
margin-left: -5px;
padding-left: 5px;
}
#tree li > span.element-row:not(.selected):hover {
background-color: #eee;

@ -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;

Loading…
Cancel
Save