Lines Matching full:columns
4 // any value of `@grid-columns`.
6 .make-grid-columns() {
7 // Common styles for all sizes of grid columns, widths 1-12
12 .col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
16 .col(@index, @list) when (@index > @grid-columns) { // terminal
19 // Prevent columns from collapsing when empty
29 .float-grid-columns(@class) {
34 .col(@index, @list) when (@index =< @grid-columns) { // general
38 .col(@index, @list) when (@index > @grid-columns) { // terminal
48 width: percentage((@index / @grid-columns));
53 left: percentage((@index / @grid-columns));
63 right: percentage((@index / @grid-columns));
73 margin-left: percentage((@index / @grid-columns));
78 .loop-grid-columns(@index, @class, @type) when (@index >= 0) {
81 .loop-grid-columns((@index - 1), @class, @type);
86 .float-grid-columns(@class);
87 .loop-grid-columns(@grid-columns, @class, width);
88 .loop-grid-columns(@grid-columns, @class, pull);
89 .loop-grid-columns(@grid-columns, @class, push);
90 .loop-grid-columns(@grid-columns, @class, offset);