Skip to content

Instantly share code, notes, and snippets.

@caillou
Created Jul 31, 2012
Embed
What would you like to do?
.tree > ul > li > ul > li > ul > li {
@levelPadding: 25px;
padding-left: @levelPadding;
& > ul > li {
margin-left: -@levelPadding;
padding-left: @levelPadding * 2;
& > ul > li {
margin-left: -@levelPadding * 2;
padding-left: @levelPadding * 3;
& > ul > li {
margin-left: -@levelPadding * 3;
padding-left: @levelPadding * 4;
& > ul > li {
margin-left: -@levelPadding * 4;
padding-left: @levelPadding * 5;
& > ul > li {
margin-left: -@levelPadding * 5;
padding-left: @levelPadding * 6;
& > ul > li {
margin-left: -@levelPadding * 5;
padding-left: @levelPadding * 6;
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment