@nuvoui/core 1.2.5 → 1.2.7

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.
Files changed (42) hide show
  1. package/README.md +2 -2
  2. package/dist/nuvoui.css +22277 -22831
  3. package/dist/nuvoui.css.map +1 -1
  4. package/dist/nuvoui.min.css +1 -1
  5. package/dist/nuvoui.min.css.map +1 -1
  6. package/package.json +2 -2
  7. package/src/styles/abstracts/_config.scss +124 -56
  8. package/src/styles/abstracts/_functions.scss +21 -61
  9. package/src/styles/base/_base.scss +67 -59
  10. package/src/styles/base/_reset.scss +11 -8
  11. package/src/styles/index.scss +28 -10
  12. package/src/styles/layouts/_container.scss +1 -2
  13. package/src/styles/layouts/_flex.scss +442 -154
  14. package/src/styles/layouts/_grid.scss +145 -75
  15. package/src/styles/mixins-map.json +482 -0
  16. package/src/styles/mixins-map.scss +1 -1
  17. package/src/styles/themes/_theme.scss +114 -94
  18. package/src/styles/utilities/_alignment.scss +40 -13
  19. package/src/styles/utilities/_animations.scss +165 -105
  20. package/src/styles/utilities/_backdrop-filters.scss +156 -107
  21. package/src/styles/utilities/_borders.scss +329 -143
  22. package/src/styles/utilities/_colors.scss +24 -25
  23. package/src/styles/utilities/_container-queries.scss +7 -7
  24. package/src/styles/utilities/_cursor.scss +10 -17
  25. package/src/styles/utilities/_display.scss +234 -85
  26. package/src/styles/utilities/_helpers.scss +5 -5
  27. package/src/styles/utilities/_media-queries.scss +24 -27
  28. package/src/styles/utilities/_opacity.scss +15 -31
  29. package/src/styles/utilities/_position.scss +129 -66
  30. package/src/styles/utilities/_shadows.scss +25 -31
  31. package/src/styles/utilities/_sizing.scss +269 -108
  32. package/src/styles/utilities/_spacing.scss +254 -156
  33. package/src/styles/utilities/_tooltips.scss +35 -31
  34. package/src/styles/utilities/_transforms.scss +179 -156
  35. package/src/styles/utilities/_transitions.scss +134 -68
  36. package/src/styles/utilities/_typography.scss +341 -127
  37. package/src/styles/utilities/_z-index.scss +79 -49
  38. package/src/styles/abstracts/_index.scss +0 -1
  39. package/src/styles/base/_index.scss +0 -2
  40. package/src/styles/layouts/_index.scss +0 -3
  41. package/src/styles/themes/_index.scss +0 -1
  42. package/src/styles/utilities/_index.scss +0 -23
@@ -42,33 +42,41 @@
42
42
  *
43
43
  * @see grid
44
44
  */
45
-
46
- @use 'sass:math';
47
- @use '../utilities/media-queries' as MC;
48
- @use '../abstracts' as VAR;
49
- @use '../abstracts/functions' as FN;
45
+
46
+ @use "sass:math";
47
+ @use "../utilities/media-queries" as MC;
48
+ @use "../abstracts/config" as VAR;
49
+ @use "../abstracts/functions" as FN;
50
50
 
51
51
  /**
52
52
  * @description Establishes a flex container.
53
53
  */
54
- @mixin flex { display: flex;}
54
+ @mixin flex {
55
+ display: flex;
56
+ }
55
57
 
56
58
  /**
57
59
  * @description Establishes a flex-inline container.
58
60
  */
59
- @mixin flex-inline { display: inline-flex;}
61
+ @mixin flex-inline {
62
+ display: inline-flex;
63
+ }
60
64
 
61
65
  /**
62
66
  * @description Sets flex-direction to row.
63
67
  * @dependencies flex | flex-inline
64
68
  */
65
- @mixin row { flex-direction: row;}
69
+ @mixin row {
70
+ flex-direction: row;
71
+ }
66
72
 
67
73
  /**
68
74
  * @description Sets flex-direction to row-reverse.
69
75
  * @dependencies flex | flex-inline
70
76
  */
71
- @mixin row-reverse {flex-direction: row-reverse;}
77
+ @mixin row-reverse {
78
+ flex-direction: row-reverse;
79
+ }
72
80
 
73
81
  /**
74
82
  * @description Sets flex-direction to column.
@@ -82,68 +90,89 @@
82
90
  * @description Sets flex-direction to column-reverse.
83
91
  * @dependencies flex | flex-inline
84
92
  */
85
- @mixin col-reverse { flex-direction: column-reverse;}
93
+ @mixin col-reverse {
94
+ flex-direction: column-reverse;
95
+ }
86
96
 
87
97
  /**
88
98
  * @description Sets flex-wrap to wrap.
89
99
  * @dependencies flex | flex-inline
90
100
  */
91
- @mixin wrap {flex-wrap: wrap;}
101
+ @mixin wrap {
102
+ flex-wrap: wrap;
103
+ }
92
104
 
93
105
  /**
94
106
  * @description Sets flex-wrap to nowrap.
95
107
  * @dependencies flex | flex-inline
96
108
  */
97
- @mixin nowrap {flex-wrap: nowrap;}
109
+ @mixin nowrap {
110
+ flex-wrap: nowrap;
111
+ }
98
112
 
99
113
  /**
100
114
  * @description Sets flex-wrap to wrap-reverse
101
115
  * @dependencies flex | flex-inline
102
116
  */
103
- @mixin wrap-reverse { flex-wrap: wrap-reverse;}
117
+ @mixin wrap-reverse {
118
+ flex-wrap: wrap-reverse;
119
+ }
104
120
 
105
121
  /**
106
122
  * @description Sets justify-content to flex-start
107
123
  * @dependencies flex | flex-inline
108
124
  */
109
- @mixin start {justify-content: flex-start;}
125
+ @mixin start {
126
+ justify-content: flex-start;
127
+ }
110
128
 
111
129
  /**
112
130
  * @description Sets justify-content to flex-end
113
131
  * @dependencies flex | flex-inline
114
132
  */
115
- @mixin end {justify-content: flex-end;}
133
+ @mixin end {
134
+ justify-content: flex-end;
135
+ }
116
136
 
117
137
  /**
118
138
  * @description Sets justify-content to center
119
139
  * @dependencies flex | flex-inline
120
140
  */
121
- @mixin center {justify-content: center;}
122
-
141
+ @mixin center {
142
+ justify-content: center;
143
+ }
123
144
 
124
145
  /**
125
146
  * @description Sets justify-content to stretch
126
147
  * @dependencies flex | flex-inline
127
148
  */
128
- @mixin stretch {justify-content: stretch;}
149
+ @mixin stretch {
150
+ justify-content: stretch;
151
+ }
129
152
 
130
153
  /**
131
154
  * @description Sets justify-content to space-between
132
155
  * @dependencies flex | flex-inline
133
156
  */
134
- @mixin between {justify-content: space-between;}
157
+ @mixin between {
158
+ justify-content: space-between;
159
+ }
135
160
 
136
161
  /**
137
162
  * @description Sets justify-content to space-around
138
163
  * @dependencies flex | flex-inline
139
164
  */
140
- @mixin around {justify-content: space-around;}
165
+ @mixin around {
166
+ justify-content: space-around;
167
+ }
141
168
 
142
169
  /**
143
170
  * @description Sets justify-content to space-evenly
144
171
  * @dependencies flex | flex-inline
145
172
  */
146
- @mixin evenly {justify-content: space-evenly;}
173
+ @mixin evenly {
174
+ justify-content: space-evenly;
175
+ }
147
176
 
148
177
  // Cross Axis Alignment Mixins
149
178
 
@@ -151,31 +180,41 @@
151
180
  * @description Sets align-items to flex-start - aligns items to the start of the cross axis.
152
181
  * @dependencies flex | flex-inline
153
182
  */
154
- @mixin x-start {align-items: flex-start;}
183
+ @mixin x-start {
184
+ align-items: flex-start;
185
+ }
155
186
 
156
187
  /**
157
188
  * @description Sets align-items to flex-end - aligns items to the end of the cross axis.
158
189
  * @dependencies flex | flex-inline
159
190
  */
160
- @mixin x-end {align-items: flex-end;}
191
+ @mixin x-end {
192
+ align-items: flex-end;
193
+ }
161
194
 
162
195
  /**
163
196
  * @description Sets align-items to center - aligns items to the center of the cross axis.
164
197
  * @dependencies flex | flex-inline
165
198
  */
166
- @mixin x-center {align-items: center;}
199
+ @mixin x-center {
200
+ align-items: center;
201
+ }
167
202
 
168
203
  /**
169
204
  * @description Sets align-items to stretch - aligns items to the stretch of the cross axis.
170
205
  * @dependencies flex | flex-inline
171
206
  */
172
- @mixin x-stretch {align-items: stretch;}
207
+ @mixin x-stretch {
208
+ align-items: stretch;
209
+ }
173
210
 
174
211
  /**
175
212
  * @description Sets align-items to baseline - aligns items to the baseline of the cross axis.
176
213
  * @dependencies flex | flex-inline
177
214
  */
178
- @mixin x-baseline {align-items: baseline;}
215
+ @mixin x-baseline {
216
+ align-items: baseline;
217
+ }
179
218
 
180
219
  // Cross Axis Content Mixins
181
220
 
@@ -183,43 +222,57 @@
183
222
  * @description Sets align-content to flex-start - aligns content to the start of the cross axis.
184
223
  * @dependencies flex | flex-inline
185
224
  */
186
- @mixin x-content-start {align-content: flex-start; }
225
+ @mixin x-content-start {
226
+ align-content: flex-start;
227
+ }
187
228
 
188
229
  /**
189
230
  * @description Sets align-content to flex-end - aligns content to the end of the cross axis.
190
231
  * @dependencies flex | flex-inline
191
232
  */
192
- @mixin x-content-end {align-content: flex-end; }
233
+ @mixin x-content-end {
234
+ align-content: flex-end;
235
+ }
193
236
 
194
237
  /**
195
238
  * @description Sets align-content to center - aligns content to the center of the cross axis.
196
239
  * @dependencies flex | flex-inline
197
240
  */
198
- @mixin x-content-center {align-content: center; }
241
+ @mixin x-content-center {
242
+ align-content: center;
243
+ }
199
244
 
200
245
  /**
201
246
  * @description Sets align-content to space-between - aligns content to the space between the cross axis.
202
247
  * @dependencies flex | flex-inline
203
248
  */
204
- @mixin x-content-between { align-content: space-between; }
249
+ @mixin x-content-between {
250
+ align-content: space-between;
251
+ }
205
252
 
206
253
  /**
207
254
  * @description Sets align-content to space-around - aligns content to the space around the cross axis.
208
255
  * @dependencies flex | flex-inline
209
256
  */
210
- @mixin x-content-around {align-content: space-around; }
257
+ @mixin x-content-around {
258
+ align-content: space-around;
259
+ }
211
260
 
212
261
  /**
213
262
  * @description Sets align-content to space-evenly - aligns content to the space evenly between the cross axis.
214
263
  * @dependencies flex | flex-inline
215
264
  */
216
- @mixin x-content-evenly { align-content: space-evenly; }
265
+ @mixin x-content-evenly {
266
+ align-content: space-evenly;
267
+ }
217
268
 
218
269
  /**
219
270
  * @description Sets align-content to stretch - aligns content to the stretch of the cross axis.
220
271
  * @dependencies flex | flex-inline
221
272
  */
222
- @mixin x-content-stretch { align-content: stretch; }
273
+ @mixin x-content-stretch {
274
+ align-content: stretch;
275
+ }
223
276
 
224
277
  // Self Alignment Mixins
225
278
 
@@ -227,84 +280,110 @@
227
280
  * @description Sets align-self to auto
228
281
  * @dependencies flex | flex-inline
229
282
  */
230
- @mixin self-auto {align-self: auto;}
283
+ @mixin self-auto {
284
+ align-self: auto;
285
+ }
231
286
 
232
287
  /**
233
288
  * @description Sets align-self to flex-start
234
289
  * @dependencies flex | flex-inline
235
290
  */
236
- @mixin self-start {align-self: flex-start;}
291
+ @mixin self-start {
292
+ align-self: flex-start;
293
+ }
237
294
 
238
295
  /**
239
296
  * @description Sets align-self to flex-end
240
297
  * @dependencies flex | flex-inline
241
298
  */
242
- @mixin self-end {align-self: flex-end;}
299
+ @mixin self-end {
300
+ align-self: flex-end;
301
+ }
243
302
 
244
303
  /**
245
304
  * @description Sets align-self to center
246
305
  * @dependencies flex | flex-inline
247
306
  */
248
- @mixin self-center {align-self: center;}
307
+ @mixin self-center {
308
+ align-self: center;
309
+ }
249
310
 
250
311
  /**
251
312
  * @description Sets align-self to stretch
252
313
  * @dependencies flex | flex-inline
253
314
  */
254
- @mixin self-stretch {align-self: stretch;}
315
+ @mixin self-stretch {
316
+ align-self: stretch;
317
+ }
255
318
 
256
319
  /**
257
320
  * @description Sets align-self to baseline
258
321
  * @dependencies flex | flex-inline
259
322
  */
260
- @mixin self-baseline {align-self: baseline;}
323
+ @mixin self-baseline {
324
+ align-self: baseline;
325
+ }
261
326
 
262
327
  /**
263
328
  * @description Sets flex-shrink to 1 - allows the item to shrink.
264
329
  * @dependencies flex | flex-inline
265
330
  */
266
- @mixin shrink {flex-shrink: 1;}
331
+ @mixin shrink {
332
+ flex-shrink: 1;
333
+ }
267
334
 
268
335
  /**
269
336
  * @description Sets flex-shrink to 0 - prevents the item from shrinking.
270
337
  * @dependencies flex | flex-inline
271
338
  */
272
- @mixin no-shrink {flex-shrink: 0;}
339
+ @mixin no-shrink {
340
+ flex-shrink: 0;
341
+ }
273
342
 
274
343
  /**
275
344
  * @description Sets flex-shrink to 2 - allows the item to shrink twice as much as the other items.
276
345
  * @dependencies flex | flex-inline
277
346
  */
278
- @mixin shrink-twice {flex-shrink: 2;}
279
-
347
+ @mixin shrink-twice {
348
+ flex-shrink: 2;
349
+ }
280
350
 
281
351
  // Flex Child Mixins
282
352
 
283
353
  /**
284
354
  * @description Sets flex to 0 0 100%
285
355
  */
286
- @mixin fill-full {flex: 0 0 100%;}
356
+ @mixin fill-full {
357
+ flex: 0 0 100%;
358
+ }
287
359
 
288
360
  /**
289
361
  * @description Sets flex to 1 1 auto - allows the item to grow and shrink.
290
362
  */
291
- @mixin fill-auto {flex: 1 1 auto;}
363
+ @mixin fill-auto {
364
+ flex: 1 1 auto;
365
+ }
292
366
 
293
367
  /**
294
368
  * @description Sets flex to 1 1 0% - allows the item to grow but not shrink.
295
369
  */
296
- @mixin grow { flex: 1 1 0%; }
370
+ @mixin grow {
371
+ flex: 1 1 0%;
372
+ }
297
373
 
298
374
  /**
299
375
  * @description Sets flex to none - prevents the item from growing.
300
376
  */
301
- @mixin no-grow { flex: none; }
377
+ @mixin no-grow {
378
+ flex: none;
379
+ }
302
380
 
303
381
  /**
304
382
  * @description Sets flex to 1 0 auto - allows the item to grow but not shrink.
305
383
  */
306
- @mixin grow-only { flex: 1 0 auto; }
307
-
384
+ @mixin grow-only {
385
+ flex: 1 0 auto;
386
+ }
308
387
 
309
388
  /**
310
389
  * @description Sets how many columns this would take using percentage of VAR.$column-count.
@@ -316,132 +395,341 @@
316
395
 
317
396
  @if VAR.$generate-utility-classes {
318
397
  // Base flex container
319
- .flex {
398
+ #{VAR.$parent-selector} .flex {
320
399
  display: flex;
321
-
400
+
322
401
  // Direction modifiers
323
- &.row { flex-direction: row; }
324
- &.row-reverse { flex-direction: row-reverse; }
325
- &.col { flex-direction: column; }
326
- &.col-reverse { flex-direction: column-reverse; }
327
-
402
+ &.row {
403
+ flex-direction: row;
404
+ }
405
+
406
+ &.row-reverse {
407
+ flex-direction: row-reverse;
408
+ }
409
+
410
+ &.col {
411
+ flex-direction: column;
412
+ }
413
+
414
+ &.col-reverse {
415
+ flex-direction: column-reverse;
416
+ }
417
+
328
418
  // Wrap modifiers
329
- &.wrap { flex-wrap: wrap; }
330
- &.nowrap { flex-wrap: nowrap; }
331
- &.wrap-reverse { flex-wrap: wrap-reverse; }
419
+ &.wrap {
420
+ flex-wrap: wrap;
421
+ }
422
+
423
+ &.nowrap {
424
+ flex-wrap: nowrap;
425
+ }
426
+
427
+ &.wrap-reverse {
428
+ flex-wrap: wrap-reverse;
429
+ }
332
430
 
333
431
  // Justify modifiers
334
- &.start { justify-content: flex-start; }
335
- &.end { justify-content: flex-end; }
336
- &.center { justify-content: center; }
337
- &.stretch { justify-content: stretch; } // todo: document
338
- &.between { justify-content: space-between; }
339
- &.around { justify-content: space-around; }
340
- &.evenly { justify-content: space-evenly; }
341
-
432
+ &.start {
433
+ justify-content: flex-start;
434
+ }
435
+
436
+ &.end {
437
+ justify-content: flex-end;
438
+ }
439
+
440
+ &.center {
441
+ justify-content: center;
442
+ }
443
+
444
+ &.stretch {
445
+ justify-content: stretch;
446
+ } // todo: document
447
+ &.between {
448
+ justify-content: space-between;
449
+ }
450
+
451
+ &.around {
452
+ justify-content: space-around;
453
+ }
454
+
455
+ &.evenly {
456
+ justify-content: space-evenly;
457
+ }
458
+
342
459
  // Align modifiers
343
- &.x-start { align-items: flex-start; }
344
- &.x-end { align-items: flex-end; }
345
- &.x-center { align-items: center; }
346
- &.x-baseline { align-items: baseline; }
347
- &.x-stretch { align-items: stretch; }
348
-
349
- &.x-content-start { align-content: flex-start; }
350
- &.x-content-end { align-content: flex-end; }
351
- &.x-content-center { align-content: center; }
352
- &.x-content-between { align-content: space-between; }
353
- &.x-content-around { align-content: space-around; }
354
- &.x-content-evenly { align-content: space-evenly; }
355
- &.x-content-stretch { align-content: stretch; }
356
-
357
- // Child flex items (using column count)
358
- > .fill-auto { @include fill-auto; }
359
- > .fill-full { @include fill-full; }
360
- > .grow { @include grow; }
361
- > .no-grow { @include no-grow; }
362
-
363
- > .order-first { order: -1; }
364
- > .order-last { order: 9999; }
365
- > .order-none { order: 0; }
366
-
367
- > .shrink { @include shrink; }
368
- > .no-shrink { @include no-shrink; }
369
- > .shrink-twice { @include shrink-twice; }
370
-
371
- > .self-end { @include self-end; }
372
- > .self-start { @include self-start; }
373
- > .self-center { @include self-center; }
374
- > .self-stretch { @include self-stretch; }
375
- > .self-baseline { @include self-baseline; }
376
- > .self-auto { @include self-auto; }
377
-
460
+ &.x-start {
461
+ align-items: flex-start;
462
+ }
463
+
464
+ &.x-end {
465
+ align-items: flex-end;
466
+ }
467
+
468
+ &.x-center {
469
+ align-items: center;
470
+ }
471
+
472
+ &.x-baseline {
473
+ align-items: baseline;
474
+ }
475
+
476
+ &.x-stretch {
477
+ align-items: stretch;
478
+ }
479
+
480
+ &.x-content-start {
481
+ align-content: flex-start;
482
+ }
483
+
484
+ &.x-content-end {
485
+ align-content: flex-end;
486
+ }
487
+
488
+ &.x-content-center {
489
+ align-content: center;
490
+ }
491
+
492
+ &.x-content-between {
493
+ align-content: space-between;
494
+ }
495
+
496
+ &.x-content-around {
497
+ align-content: space-around;
498
+ }
499
+
500
+ &.x-content-evenly {
501
+ align-content: space-evenly;
502
+ }
503
+
504
+ &.x-content-stretch {
505
+ align-content: stretch;
506
+ }
507
+
508
+ // Child flex items (using column count)
509
+ > .fill-auto {
510
+ @include fill-auto;
511
+ }
512
+
513
+ > .fill-full {
514
+ @include fill-full;
515
+ }
516
+
517
+ > .grow {
518
+ @include grow;
519
+ }
520
+
521
+ > .no-grow {
522
+ @include no-grow;
523
+ }
524
+
525
+ > .order-first {
526
+ order: -1;
527
+ }
528
+
529
+ > .order-last {
530
+ order: 9999;
531
+ }
532
+
533
+ > .order-none {
534
+ order: 0;
535
+ }
536
+
537
+ > .shrink {
538
+ @include shrink;
539
+ }
540
+
541
+ > .no-shrink {
542
+ @include no-shrink;
543
+ }
544
+
545
+ > .shrink-twice {
546
+ @include shrink-twice;
547
+ }
548
+
549
+ > .self-end {
550
+ @include self-end;
551
+ }
552
+
553
+ > .self-start {
554
+ @include self-start;
555
+ }
556
+
557
+ > .self-center {
558
+ @include self-center;
559
+ }
560
+
561
+ > .self-stretch {
562
+ @include self-stretch;
563
+ }
564
+
565
+ > .self-baseline {
566
+ @include self-baseline;
567
+ }
568
+
569
+ > .self-auto {
570
+ @include self-auto;
571
+ }
572
+
378
573
  @for $i from 1 through VAR.$column-count {
379
- > .fill-#{$i} { @include fill($i); }
380
- > .order-#{$i} { order: $i; }
574
+ > .fill-#{$i} {
575
+ @include fill($i);
576
+ }
577
+
578
+ > .order-#{$i} {
579
+ order: $i;
580
+ }
381
581
  }
382
582
  }
383
583
 
384
584
  @each $breakpoint, $width in VAR.$breakpoints {
385
585
  // Get breakpoint value using FN function
386
586
  $bp-val: FN.get-breakpoint-value($breakpoint);
387
-
587
+
388
588
  @media (min-width: #{$bp-val}) {
389
- .flex {
589
+ #{VAR.$parent-selector} .flex {
390
590
  // Direction
391
- &.row\@#{$breakpoint} { flex-direction: row; }
392
- &.row-reverse\@#{$breakpoint} { flex-direction: row-reverse; }
393
- &.col\@#{$breakpoint} { flex-direction: column; }
394
- &.col-reverse\@#{$breakpoint} { flex-direction: column-reverse; }
395
-
591
+ &.row\@#{$breakpoint} {
592
+ flex-direction: row;
593
+ }
594
+ &.row-reverse\@#{$breakpoint} {
595
+ flex-direction: row-reverse;
596
+ }
597
+ &.col\@#{$breakpoint} {
598
+ flex-direction: column;
599
+ }
600
+ &.col-reverse\@#{$breakpoint} {
601
+ flex-direction: column-reverse;
602
+ }
603
+
396
604
  // Wrap
397
- &.wrap\@#{$breakpoint} { flex-wrap: wrap; }
398
- &.nowrap\@#{$breakpoint} { flex-wrap: nowrap; }
399
- &.wrap-reverse\@#{$breakpoint} { flex-wrap: wrap-reverse; }
400
-
605
+ &.wrap\@#{$breakpoint} {
606
+ flex-wrap: wrap;
607
+ }
608
+ &.nowrap\@#{$breakpoint} {
609
+ flex-wrap: nowrap;
610
+ }
611
+ &.wrap-reverse\@#{$breakpoint} {
612
+ flex-wrap: wrap-reverse;
613
+ }
614
+
401
615
  // Justify
402
- &.start\@#{$breakpoint} { justify-content: flex-start; }
403
- &.end\@#{$breakpoint} { justify-content: flex-end; }
404
- &.center\@#{$breakpoint} { justify-content: center; }
405
- &.between\@#{$breakpoint} { justify-content: space-between; }
406
- &.stretch\@#{$breakpoint} { justify-content: stretch; } // todo: document
407
- &.around\@#{$breakpoint} { justify-content: space-around; }
408
- &.evenly\@#{$breakpoint} { justify-content: space-evenly; }
616
+ &.start\@#{$breakpoint} {
617
+ justify-content: flex-start;
618
+ }
619
+ &.end\@#{$breakpoint} {
620
+ justify-content: flex-end;
621
+ }
622
+ &.center\@#{$breakpoint} {
623
+ justify-content: center;
624
+ }
625
+ &.between\@#{$breakpoint} {
626
+ justify-content: space-between;
627
+ }
628
+ &.stretch\@#{$breakpoint} {
629
+ justify-content: stretch;
630
+ } // todo: document
631
+ &.around\@#{$breakpoint} {
632
+ justify-content: space-around;
633
+ }
634
+ &.evenly\@#{$breakpoint} {
635
+ justify-content: space-evenly;
636
+ }
409
637
 
410
638
  // Align
411
- &.x-start\@#{$breakpoint} { align-items: flex-start; }
412
- &.x-end\@#{$breakpoint} { align-items: flex-end; }
413
- &.x-center\@#{$breakpoint} { align-items: center; }
414
- &.x-baseline\@#{$breakpoint} { align-items: baseline; }
415
- &.x-stretch\@#{$breakpoint} { align-items: stretch; }
416
-
417
- &.x-content-start\@#{$breakpoint} { align-content: flex-start; }
418
- &.x-content-end\@#{$breakpoint} { align-content: flex-end; }
419
- &.x-content-center\@#{$breakpoint} { align-content: center; }
420
- &.x-content-between\@#{$breakpoint} { align-content: space-between; }
421
- &.x-content-around\@#{$breakpoint} { align-content: space-around; }
422
- &.x-content-evenly\@#{$breakpoint} { align-content: space-evenly; }
423
- &.x-content-stretch\@#{$breakpoint} { align-content: stretch; }
424
-
639
+ &.x-start\@#{$breakpoint} {
640
+ align-items: flex-start;
641
+ }
642
+ &.x-end\@#{$breakpoint} {
643
+ align-items: flex-end;
644
+ }
645
+ &.x-center\@#{$breakpoint} {
646
+ align-items: center;
647
+ }
648
+ &.x-baseline\@#{$breakpoint} {
649
+ align-items: baseline;
650
+ }
651
+ &.x-stretch\@#{$breakpoint} {
652
+ align-items: stretch;
653
+ }
654
+
655
+ &.x-content-start\@#{$breakpoint} {
656
+ align-content: flex-start;
657
+ }
658
+ &.x-content-end\@#{$breakpoint} {
659
+ align-content: flex-end;
660
+ }
661
+ &.x-content-center\@#{$breakpoint} {
662
+ align-content: center;
663
+ }
664
+ &.x-content-between\@#{$breakpoint} {
665
+ align-content: space-between;
666
+ }
667
+ &.x-content-around\@#{$breakpoint} {
668
+ align-content: space-around;
669
+ }
670
+ &.x-content-evenly\@#{$breakpoint} {
671
+ align-content: space-evenly;
672
+ }
673
+ &.x-content-stretch\@#{$breakpoint} {
674
+ align-content: stretch;
675
+ }
676
+
425
677
  // Width (using column count)
426
- & > .fill-auto\@#{$breakpoint} { @include fill-auto; }
427
- & > .fill-full\@#{$breakpoint} { @include fill-full; }
428
- & > .grow\@#{$breakpoint} { @include grow; }
429
- & > .no-grow\@#{$breakpoint} { @include no-grow; }
430
- & > .order-first\@#{$breakpoint} { order: -1; }
431
- & > .order-last\@#{$breakpoint} { order: 9999; }
432
- & > .order-none\@#{$breakpoint} { order: 0; }
433
- & > .shrink\@#{$breakpoint} { @include shrink; }
434
- & > .no-shrink\@#{$breakpoint} { @include no-shrink; }
435
- & > .shrink-twice\@#{$breakpoint} { @include shrink-twice; }
436
- & > .self-end\@#{$breakpoint} { @include self-end; }
437
- & > .self-start\@#{$breakpoint} { @include self-start; }
438
- & > .self-center\@#{$breakpoint} { @include self-center; }
439
- & > .self-stretch\@#{$breakpoint} { @include self-stretch; }
440
- & > .self-baseline\@#{$breakpoint} { @include self-baseline; }
441
- & > .self-auto\@#{$breakpoint} { @include self-auto; }
678
+ & > .fill-auto\@#{$breakpoint} {
679
+ @include fill-auto;
680
+ }
681
+ & > .fill-full\@#{$breakpoint} {
682
+ @include fill-full;
683
+ }
684
+ & > .grow\@#{$breakpoint} {
685
+ @include grow;
686
+ }
687
+ & > .no-grow\@#{$breakpoint} {
688
+ @include no-grow;
689
+ }
690
+ & > .order-first\@#{$breakpoint} {
691
+ order: -1;
692
+ }
693
+ & > .order-last\@#{$breakpoint} {
694
+ order: 9999;
695
+ }
696
+ & > .order-none\@#{$breakpoint} {
697
+ order: 0;
698
+ }
699
+ & > .shrink\@#{$breakpoint} {
700
+ @include shrink;
701
+ }
702
+ & > .no-shrink\@#{$breakpoint} {
703
+ @include no-shrink;
704
+ }
705
+ & > .shrink-twice\@#{$breakpoint} {
706
+ @include shrink-twice;
707
+ }
708
+ & > .self-end\@#{$breakpoint} {
709
+ @include self-end;
710
+ }
711
+ & > .self-start\@#{$breakpoint} {
712
+ @include self-start;
713
+ }
714
+ & > .self-center\@#{$breakpoint} {
715
+ @include self-center;
716
+ }
717
+ & > .self-stretch\@#{$breakpoint} {
718
+ @include self-stretch;
719
+ }
720
+ & > .self-baseline\@#{$breakpoint} {
721
+ @include self-baseline;
722
+ }
723
+ & > .self-auto\@#{$breakpoint} {
724
+ @include self-auto;
725
+ }
442
726
  @for $i from 1 through VAR.$column-count {
443
- & > .fill-#{$i}\@#{$breakpoint} { @include fill($i); }
444
- & > .order-#{$i}\@#{$breakpoint} { order: $i; }
727
+ & > .fill-#{$i}\@#{$breakpoint} {
728
+ @include fill($i);
729
+ }
730
+ & > .order-#{$i}\@#{$breakpoint} {
731
+ order: $i;
732
+ }
445
733
  }
446
734
  }
447
735
  }