@progressio_resources/gravity-design-system 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,154 +5,308 @@ $grids: (
|
|
|
5
5
|
xl: 16
|
|
6
6
|
);
|
|
7
7
|
|
|
8
|
+
$gutter: 8px;
|
|
9
|
+
|
|
8
10
|
.gravity-col-sm-1 {
|
|
9
11
|
width: calc(100% / 4) * 1;
|
|
12
|
+
|
|
13
|
+
&:not(:last-of-type) {
|
|
14
|
+
margin-right: $gutter;
|
|
15
|
+
}
|
|
10
16
|
}
|
|
11
17
|
|
|
12
18
|
.gravity-col-sm-2 {
|
|
13
19
|
width: calc(100% / 4) * 2;
|
|
20
|
+
|
|
21
|
+
&:not(:last-of-type) {
|
|
22
|
+
margin-right: $gutter;
|
|
23
|
+
}
|
|
14
24
|
}
|
|
15
25
|
|
|
16
26
|
.gravity-col-sm-3 {
|
|
17
27
|
width: calc(100% / 4) * 3;
|
|
28
|
+
|
|
29
|
+
&:not(:last-of-type) {
|
|
30
|
+
margin-right: $gutter;
|
|
31
|
+
}
|
|
18
32
|
}
|
|
19
33
|
|
|
20
34
|
.gravity-col-sm-4 {
|
|
21
35
|
width: calc(100% / 4) * 4;
|
|
36
|
+
|
|
37
|
+
&:not(:last-of-type) {
|
|
38
|
+
margin-right: $gutter;
|
|
39
|
+
}
|
|
22
40
|
}
|
|
23
41
|
|
|
24
42
|
.gravity-col-md-1 {
|
|
25
43
|
width: calc(100% / 6) * 1;
|
|
44
|
+
|
|
45
|
+
&:not(:last-of-type) {
|
|
46
|
+
margin-right: $gutter;
|
|
47
|
+
}
|
|
26
48
|
}
|
|
27
49
|
|
|
28
50
|
.gravity-col-md-2 {
|
|
29
51
|
width: calc(100% / 6) * 2;
|
|
52
|
+
|
|
53
|
+
&:not(:last-of-type) {
|
|
54
|
+
margin-right: $gutter;
|
|
55
|
+
}
|
|
30
56
|
}
|
|
31
57
|
|
|
32
58
|
.gravity-col-md-3 {
|
|
33
59
|
width: calc(100% / 6) * 3;
|
|
60
|
+
|
|
61
|
+
&:not(:last-of-type) {
|
|
62
|
+
margin-right: $gutter;
|
|
63
|
+
}
|
|
34
64
|
}
|
|
35
65
|
|
|
36
66
|
.gravity-col-md-4 {
|
|
37
67
|
width: calc(100% / 6) * 4;
|
|
68
|
+
|
|
69
|
+
&:not(:last-of-type) {
|
|
70
|
+
margin-right: $gutter;
|
|
71
|
+
}
|
|
38
72
|
}
|
|
39
73
|
|
|
40
74
|
.gravity-col-md-5 {
|
|
41
75
|
width: calc(100% / 6) * 5;
|
|
76
|
+
|
|
77
|
+
&:not(:last-of-type) {
|
|
78
|
+
margin-right: $gutter;
|
|
79
|
+
}
|
|
42
80
|
}
|
|
43
81
|
|
|
44
82
|
.gravity-col-md-6 {
|
|
45
83
|
width: calc(100% / 6) * 6;
|
|
84
|
+
|
|
85
|
+
&:not(:last-of-type) {
|
|
86
|
+
margin-right: $gutter;
|
|
87
|
+
}
|
|
46
88
|
}
|
|
47
89
|
|
|
48
90
|
.gravity-col-lg-1 {
|
|
49
91
|
width: calc(100% / 12) * 1;
|
|
92
|
+
|
|
93
|
+
&:not(:last-of-type) {
|
|
94
|
+
margin-right: $gutter;
|
|
95
|
+
}
|
|
50
96
|
}
|
|
51
97
|
|
|
52
98
|
.gravity-col-lg-2 {
|
|
53
99
|
width: calc(100% / 12) * 2;
|
|
100
|
+
|
|
101
|
+
&:not(:last-of-type) {
|
|
102
|
+
margin-right: $gutter;
|
|
103
|
+
}
|
|
54
104
|
}
|
|
55
105
|
|
|
56
106
|
.gravity-col-lg-3 {
|
|
57
107
|
width: calc(100% / 12) * 3;
|
|
108
|
+
|
|
109
|
+
&:not(:last-of-type) {
|
|
110
|
+
margin-right: $gutter;
|
|
111
|
+
}
|
|
58
112
|
}
|
|
59
113
|
|
|
60
114
|
.gravity-col-lg-4 {
|
|
61
115
|
width: calc(100% / 12) * 4;
|
|
116
|
+
|
|
117
|
+
&:not(:last-of-type) {
|
|
118
|
+
margin-right: $gutter;
|
|
119
|
+
}
|
|
62
120
|
}
|
|
63
121
|
|
|
64
122
|
.gravity-col-lg-5 {
|
|
65
123
|
width: calc(100% / 12) * 5;
|
|
124
|
+
|
|
125
|
+
&:not(:last-of-type) {
|
|
126
|
+
margin-right: $gutter;
|
|
127
|
+
}
|
|
66
128
|
}
|
|
67
129
|
|
|
68
130
|
.gravity-col-lg-6 {
|
|
69
131
|
width: calc(100% / 12) * 6;
|
|
132
|
+
|
|
133
|
+
&:not(:last-of-type) {
|
|
134
|
+
margin-right: $gutter;
|
|
135
|
+
}
|
|
70
136
|
}
|
|
71
137
|
|
|
72
138
|
.gravity-col-lg-7 {
|
|
73
139
|
width: calc(100% / 12) * 7;
|
|
140
|
+
|
|
141
|
+
&:not(:last-of-type) {
|
|
142
|
+
margin-right: $gutter;
|
|
143
|
+
}
|
|
74
144
|
}
|
|
75
145
|
|
|
76
146
|
.gravity-col-lg-8 {
|
|
77
147
|
width: calc(100% / 12) * 8;
|
|
148
|
+
|
|
149
|
+
&:not(:last-of-type) {
|
|
150
|
+
margin-right: $gutter;
|
|
151
|
+
}
|
|
78
152
|
}
|
|
79
153
|
|
|
80
154
|
.gravity-col-lg-9 {
|
|
81
155
|
width: calc(100% / 12) * 9;
|
|
156
|
+
|
|
157
|
+
&:not(:last-of-type) {
|
|
158
|
+
margin-right: $gutter;
|
|
159
|
+
}
|
|
82
160
|
}
|
|
83
161
|
|
|
84
162
|
.gravity-col-lg-10 {
|
|
85
163
|
width: calc(100% / 12) * 10;
|
|
164
|
+
|
|
165
|
+
&:not(:last-of-type) {
|
|
166
|
+
margin-right: $gutter;
|
|
167
|
+
}
|
|
86
168
|
}
|
|
87
169
|
|
|
88
170
|
.gravity-col-lg-11 {
|
|
89
171
|
width: calc(100% / 12) * 11;
|
|
172
|
+
|
|
173
|
+
&:not(:last-of-type) {
|
|
174
|
+
margin-right: $gutter;
|
|
175
|
+
}
|
|
90
176
|
}
|
|
91
177
|
|
|
92
178
|
.gravity-col-lg-12 {
|
|
93
179
|
width: calc(100% / 12) * 12;
|
|
180
|
+
|
|
181
|
+
&:not(:last-of-type) {
|
|
182
|
+
margin-right: $gutter;
|
|
183
|
+
}
|
|
94
184
|
}
|
|
95
185
|
|
|
96
186
|
.gravity-col-xl-1 {
|
|
97
187
|
width: calc(100% / 16) * 1;
|
|
188
|
+
|
|
189
|
+
&:not(:last-of-type) {
|
|
190
|
+
margin-right: $gutter;
|
|
191
|
+
}
|
|
98
192
|
}
|
|
99
193
|
|
|
100
194
|
.gravity-col-xl-2 {
|
|
101
195
|
width: calc(100% / 16) * 2;
|
|
196
|
+
|
|
197
|
+
&:not(:last-of-type) {
|
|
198
|
+
margin-right: $gutter;
|
|
199
|
+
}
|
|
102
200
|
}
|
|
103
201
|
|
|
104
202
|
.gravity-col-xl-3 {
|
|
105
203
|
width: calc(100% / 16) * 3;
|
|
204
|
+
|
|
205
|
+
&:not(:last-of-type) {
|
|
206
|
+
margin-right: $gutter;
|
|
207
|
+
}
|
|
106
208
|
}
|
|
107
209
|
|
|
108
210
|
.gravity-col-xl-4 {
|
|
109
211
|
width: calc(100% / 16) * 4;
|
|
212
|
+
|
|
213
|
+
&:not(:last-of-type) {
|
|
214
|
+
margin-right: $gutter;
|
|
215
|
+
}
|
|
110
216
|
}
|
|
111
217
|
|
|
112
218
|
.gravity-col-xl-5 {
|
|
113
219
|
width: calc(100% / 16) * 5;
|
|
220
|
+
|
|
221
|
+
&:not(:last-of-type) {
|
|
222
|
+
margin-right: $gutter;
|
|
223
|
+
}
|
|
114
224
|
}
|
|
115
225
|
|
|
116
226
|
.gravity-col-xl-6 {
|
|
117
227
|
width: calc(100% / 16) * 6;
|
|
228
|
+
|
|
229
|
+
&:not(:last-of-type) {
|
|
230
|
+
margin-right: $gutter;
|
|
231
|
+
}
|
|
118
232
|
}
|
|
119
233
|
|
|
120
234
|
.gravity-col-xl-7 {
|
|
121
235
|
width: calc(100% / 16) * 7;
|
|
236
|
+
|
|
237
|
+
&:not(:last-of-type) {
|
|
238
|
+
margin-right: $gutter;
|
|
239
|
+
}
|
|
122
240
|
}
|
|
123
241
|
|
|
124
242
|
.gravity-col-xl-8 {
|
|
125
243
|
width: calc(100% / 16) * 8;
|
|
244
|
+
|
|
245
|
+
&:not(:last-of-type) {
|
|
246
|
+
margin-right: $gutter;
|
|
247
|
+
}
|
|
126
248
|
}
|
|
127
249
|
|
|
128
250
|
.gravity-col-xl-9 {
|
|
129
251
|
width: calc(100% / 16) * 9;
|
|
252
|
+
|
|
253
|
+
&:not(:last-of-type) {
|
|
254
|
+
margin-right: $gutter;
|
|
255
|
+
}
|
|
130
256
|
}
|
|
131
257
|
|
|
132
258
|
.gravity-col-xl-10 {
|
|
133
259
|
width: calc(100% / 16) * 10;
|
|
260
|
+
|
|
261
|
+
&:not(:last-of-type) {
|
|
262
|
+
margin-right: $gutter;
|
|
263
|
+
}
|
|
134
264
|
}
|
|
135
265
|
|
|
136
266
|
.gravity-col-xl-11 {
|
|
137
267
|
width: calc(100% / 16) * 11;
|
|
268
|
+
|
|
269
|
+
&:not(:last-of-type) {
|
|
270
|
+
margin-right: $gutter;
|
|
271
|
+
}
|
|
138
272
|
}
|
|
139
273
|
|
|
140
274
|
.gravity-col-xl-12 {
|
|
141
275
|
width: calc(100% / 16) * 12;
|
|
276
|
+
|
|
277
|
+
&:not(:last-of-type) {
|
|
278
|
+
margin-right: $gutter;
|
|
279
|
+
}
|
|
142
280
|
}
|
|
143
281
|
|
|
144
282
|
.gravity-col-xl-13 {
|
|
145
283
|
width: calc(100% / 16) * 13;
|
|
284
|
+
|
|
285
|
+
&:not(:last-of-type) {
|
|
286
|
+
margin-right: $gutter;
|
|
287
|
+
}
|
|
146
288
|
}
|
|
147
289
|
|
|
148
290
|
.gravity-col-xl-14 {
|
|
149
291
|
width: calc(100% / 16) * 14;
|
|
292
|
+
|
|
293
|
+
&:not(:last-of-type) {
|
|
294
|
+
margin-right: $gutter;
|
|
295
|
+
}
|
|
150
296
|
}
|
|
151
297
|
|
|
152
298
|
.gravity-col-xl-15 {
|
|
153
299
|
width: calc(100% / 16) * 15;
|
|
300
|
+
|
|
301
|
+
&:not(:last-of-type) {
|
|
302
|
+
margin-right: $gutter;
|
|
303
|
+
}
|
|
154
304
|
}
|
|
155
305
|
|
|
156
306
|
.gravity-col-xl-16 {
|
|
157
307
|
width: calc(100% / 16) * 16;
|
|
308
|
+
|
|
309
|
+
&:not(:last-of-type) {
|
|
310
|
+
margin-right: $gutter;
|
|
311
|
+
}
|
|
158
312
|
}
|