/** | /** | ||||
* A grid component for displaying hierarchical tabular data. | * A grid component for displaying hierarchical tabular data. | ||||
* | * | ||||
* Visual hierarchy depth positioning of rows is done via styles, see | |||||
* <code>_treegrid.scss</code> from Valo theme. | |||||
* | |||||
* @author Vaadin Ltd | * @author Vaadin Ltd | ||||
* @since 8.1 | * @since 8.1 | ||||
* | * |
// Hierarchy depth styling | // Hierarchy depth styling | ||||
.#{$primary-stylename}-node { | .#{$primary-stylename}-node { | ||||
@for $i from 0 through 15 { | |||||
// see https://github.com/vaadin/framework/issues/11358 | |||||
@for $i from 0 through 31 { | |||||
&.#{$v-treegrid-class-depth}-#{$i} { | &.#{$v-treegrid-class-depth}-#{$i} { | ||||
padding-left: $v-treegrid-indent * $i; | padding-left: $v-treegrid-indent * $i; | ||||
} | } |