|
10 | 10 | .columns.is-mobile > &.is-quarter |
11 | 11 | flex: none |
12 | 12 | width: 25% |
| 13 | + .columns.is-mobile > &.is-offset-half |
| 14 | + margin-left: 50% |
| 15 | + .columns.is-mobile > &.is-offset-third |
| 16 | + margin-left: 33.3333% |
| 17 | + .columns.is-mobile > &.is-offset-quarter |
| 18 | + margin-left: 25% |
13 | 19 | @for $i from 1 through 11 |
14 | | - .columns.is-mobile > &.is-#{$i}-mobile |
| 20 | + .columns.is-mobile > &.is-#{$i} |
15 | 21 | flex: none |
16 | 22 | width: ($i / 12) * 100% |
| 23 | + .columns.is-mobile > &.is-offset-#{$i} |
| 24 | + margin-left: ($i / 12) * 100% |
17 | 25 | +mobile |
18 | 26 | &.is-half-mobile |
19 | 27 | flex: none |
|
24 | 32 | &.is-quarter-mobile |
25 | 33 | flex: none |
26 | 34 | width: 25% |
| 35 | + &.is-offset-half-mobile |
| 36 | + margin-left: 50% |
| 37 | + &.is-offset-third-mobile |
| 38 | + margin-left: 33.3333% |
| 39 | + &.is-offset-quarter-mobile |
| 40 | + margin-left: 25% |
27 | 41 | @for $i from 1 through 11 |
28 | 42 | &.is-#{$i}-mobile |
29 | 43 | flex: none |
30 | 44 | width: ($i / 12) * 100% |
| 45 | + &.is-offset-#{$i}-mobile |
| 46 | + margin-left: ($i / 12) * 100% |
31 | 47 | +tablet |
32 | 48 | &.is-half, |
33 | 49 | &.is-half-tablet |
|
41 | 57 | &.is-quarter-tablet |
42 | 58 | flex: none |
43 | 59 | width: 25% |
| 60 | + &.is-offset-half, |
| 61 | + &.is-offset-half-tablet |
| 62 | + margin-left: 50% |
| 63 | + &.is-offset-third, |
| 64 | + &.is-offset-third-tablet |
| 65 | + margin-left: 33.3333% |
| 66 | + &.is-offset-quarter, |
| 67 | + &.is-offset-quarter-tablet |
| 68 | + margin-left: 25% |
44 | 69 | @for $i from 1 through 11 |
45 | 70 | &.is-#{$i}, |
46 | 71 | &.is-#{$i}-tablet |
47 | 72 | flex: none |
48 | 73 | width: ($i / 12) * 100% |
| 74 | + &.is-offset-#{$i}, |
| 75 | + &.is-offset-#{$i}-tablet |
| 76 | + margin-left: ($i / 12) * 100% |
49 | 77 | +desktop |
50 | 78 | &.is-half-desktop |
51 | 79 | flex: none |
|
56 | 84 | &.is-quarter-desktop |
57 | 85 | flex: none |
58 | 86 | width: 25% |
| 87 | + &.is-offset-half-desktop |
| 88 | + margin-left: 50% |
| 89 | + &.is-offset-third-desktop |
| 90 | + margin-left: 33.3333% |
| 91 | + &.is-offset-quarter-desktop |
| 92 | + margin-left: 25% |
59 | 93 | @for $i from 1 through 11 |
60 | 94 | &.is-#{$i}-desktop |
61 | 95 | flex: none |
62 | 96 | width: ($i / 12) * 100% |
| 97 | + &.is-offset-#{$i}-desktop |
| 98 | + margin-left: ($i / 12) * 100% |
63 | 99 |
|
64 | 100 | .columns |
65 | 101 | margin-left: -10px |
|
71 | 107 | margin-bottom: 10px |
72 | 108 | &.is-mobile |
73 | 109 | display: flex |
74 | | - +tablet |
75 | | - &:not(.is-desktop) |
76 | | - display: flex |
77 | | - +desktop |
78 | | - &.is-desktop |
79 | | - display: flex |
80 | 110 | &.is-gapless |
| 111 | + margin-left: 0 |
| 112 | + margin-right: 0 |
81 | 113 | &:not(:last-child) |
82 | | - margin: 0 0 20px |
| 114 | + margin-bottom: 20px |
83 | 115 | & > .column |
84 | 116 | margin: 0 |
85 | 117 | padding: 0 |
|
97 | 129 | width: 33.3333% |
98 | 130 | & + .column |
99 | 131 | margin-left: 0 |
| 132 | + +tablet |
| 133 | + &:not(.is-desktop) |
| 134 | + display: flex |
| 135 | + +desktop |
| 136 | + &.is-desktop |
| 137 | + display: flex |
0 commit comments