Lists are nested via padding the list items

Esse commit está contido em:
Ben Ogle
2013-10-31 10:49:02 -07:00
commit 4e18e7a67c
+6 -6
Ver Arquivo
@@ -54,9 +54,9 @@
// Handle indentation of the tree. Assume disclosure arrows. // Handle indentation of the tree. Assume disclosure arrows.
.list-tree { .list-tree {
.list-nested-item > .list-tree, .list-nested-item > .list-tree > li,
.list-nested-item > .list-group { .list-nested-item > .list-group > li {
margin-left: @component-icon-size + @component-icon-padding; padding-left: @component-icon-size + @component-icon-padding;
} }
&.has-collapsable-children { &.has-collapsable-children {
@@ -86,9 +86,9 @@
} }
} }
.list-nested-item > .list-tree, .list-nested-item > .list-tree > li,
.list-nested-item > .list-group { .list-nested-item > .list-group > li {
margin-left: @disclosure-arrow-padding; padding-left: @disclosure-arrow-padding;
} }
// You want a subtree to be flat -- no collapsable children // You want a subtree to be flat -- no collapsable children