Better indentation styles for treelist items

pull/174/head
Thomas Bruederli 11 years ago
parent 04c9116f14
commit 9da808470d

@ -660,6 +660,12 @@ ul.treelist li div.treetoggle
cursor: pointer; cursor: pointer;
} }
ul.treelist li ul li div.treetoggle
{
left: 28px !important;
left: 4px;
}
ul.treelist li div.collapsed ul.treelist li div.collapsed
{ {
background: url(images/icons/collapsed.png) bottom right no-repeat; background: url(images/icons/collapsed.png) bottom right no-repeat;
@ -710,6 +716,16 @@ ul.treelist li ul li a
padding-left: 45px; padding-left: 45px;
} }
ul.treelist ul ul li a
{
padding-left: 65px;
}
ul.treelist ul ul ul li
{
margin-left: 20px;
}
ul.treelist li ul li:last-child ul.treelist li ul li:last-child
{ {
border-bottom: 0; border-bottom: 0;

@ -1191,10 +1191,18 @@ ul.treelist li a {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
ul.treelist li ul li a { ul.treelist ul li a {
padding-left: 38px; padding-left: 38px;
} }
ul.treelist ul ul li a {
padding-left: 54px;
}
ul.treelist ul ul ul li {
margin-left: 16px;
}
ul.treelist.iconized li a { ul.treelist.iconized li a {
padding-left: 36px; padding-left: 36px;
} }
@ -1213,11 +1221,19 @@ ul.treelist li div.treetoggle {
cursor: pointer; cursor: pointer;
} }
ul.treelist li ul li div.treetoggle {
left: 22px;
}
ul.treelist.iconized li div.treetoggle { ul.treelist.iconized li div.treetoggle {
top: 13px; top: 13px;
left: 19px; left: 19px;
} }
ul.treelist.iconized li ul li div.treetoggle {
left: 35px;
}
ul.treelist li div.treetoggle.expanded { ul.treelist li div.treetoggle.expanded {
background-position: -3px -168px; background-position: -3px -168px;
} }

Loading…
Cancel
Save