@trilogy-ds/styles 0.0.1-beta-1

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 (104) hide show
  1. package/framework/src/_all.scss +8 -0
  2. package/framework/src/base/_all.scss +9 -0
  3. package/framework/src/base/_color.scss +58 -0
  4. package/framework/src/base/_elements.scss +34 -0
  5. package/framework/src/base/_fonts.scss +2 -0
  6. package/framework/src/base/_generic.scss +68 -0
  7. package/framework/src/base/_helpers.scss +880 -0
  8. package/framework/src/base/_loading.scss +102 -0
  9. package/framework/src/base/_reset.scss +138 -0
  10. package/framework/src/components/_accordion.scss +178 -0
  11. package/framework/src/components/_all.scss +30 -0
  12. package/framework/src/components/_autolayout2.scss +38 -0
  13. package/framework/src/components/_breadcrumb.scss +45 -0
  14. package/framework/src/components/_card.scss +298 -0
  15. package/framework/src/components/_countdown.scss +55 -0
  16. package/framework/src/components/_disclaimer.scss +84 -0
  17. package/framework/src/components/_divider.scss +18 -0
  18. package/framework/src/components/_dropdown.scss +128 -0
  19. package/framework/src/components/_fab.scss +60 -0
  20. package/framework/src/components/_level.scss +120 -0
  21. package/framework/src/components/_media.scss +64 -0
  22. package/framework/src/components/_menu.scss +213 -0
  23. package/framework/src/components/_modal.scss +201 -0
  24. package/framework/src/components/_otp.scss +92 -0
  25. package/framework/src/components/_pagination.scss +182 -0
  26. package/framework/src/components/_plus-symbol.scss +32 -0
  27. package/framework/src/components/_popover.scss +340 -0
  28. package/framework/src/components/_price.scss +209 -0
  29. package/framework/src/components/_product-tour.scss +131 -0
  30. package/framework/src/components/_progress-radial.scss +23 -0
  31. package/framework/src/components/_range.scss +84 -0
  32. package/framework/src/components/_scroll-view.scss +19 -0
  33. package/framework/src/components/_search-modal.scss +197 -0
  34. package/framework/src/components/_segmented-control.scss +60 -0
  35. package/framework/src/components/_slices.scss +316 -0
  36. package/framework/src/components/_slider.scss +92 -0
  37. package/framework/src/components/_stepper.scss +397 -0
  38. package/framework/src/components/_switch.scss +209 -0
  39. package/framework/src/components/_tabs.scss +212 -0
  40. package/framework/src/components/_timeline.scss +367 -0
  41. package/framework/src/elements/_alert.scss +91 -0
  42. package/framework/src/elements/_all.scss +35 -0
  43. package/framework/src/elements/_badge.scss +81 -0
  44. package/framework/src/elements/_box.scss +267 -0
  45. package/framework/src/elements/_button.scss +192 -0
  46. package/framework/src/elements/_checkbox.scss +39 -0
  47. package/framework/src/elements/_checkradio.scss +173 -0
  48. package/framework/src/elements/_chips.scss +100 -0
  49. package/framework/src/elements/_container.scss +108 -0
  50. package/framework/src/elements/_dot.scss +6 -0
  51. package/framework/src/elements/_entry.scss +109 -0
  52. package/framework/src/elements/_form.scss +593 -0
  53. package/framework/src/elements/_icon.scss +384 -0
  54. package/framework/src/elements/_image.scss +59 -0
  55. package/framework/src/elements/_input-gauge.scss +37 -0
  56. package/framework/src/elements/_input-icons.scss +41 -0
  57. package/framework/src/elements/_link.scss +79 -0
  58. package/framework/src/elements/_list.scss +61 -0
  59. package/framework/src/elements/_loader.scss +126 -0
  60. package/framework/src/elements/_notification.scss +151 -0
  61. package/framework/src/elements/_options.scss +146 -0
  62. package/framework/src/elements/_other.scss +44 -0
  63. package/framework/src/elements/_paragraph.scss +101 -0
  64. package/framework/src/elements/_progress.scss +212 -0
  65. package/framework/src/elements/_radio.scss +67 -0
  66. package/framework/src/elements/_select.scss +315 -0
  67. package/framework/src/elements/_sticker.scss +151 -0
  68. package/framework/src/elements/_switch.scss +108 -0
  69. package/framework/src/elements/_table.scss +298 -0
  70. package/framework/src/elements/_tag.scss +131 -0
  71. package/framework/src/elements/_textarea.scss +125 -0
  72. package/framework/src/elements/_timeline.scss +283 -0
  73. package/framework/src/elements/_title.scss +139 -0
  74. package/framework/src/elements/_toaster.scss +128 -0
  75. package/framework/src/grid/_all.scss +3 -0
  76. package/framework/src/grid/_columns.scss +952 -0
  77. package/framework/src/grid/_rows.scss +47 -0
  78. package/framework/src/grid/_tiles.scss +78 -0
  79. package/framework/src/layout/_all.scss +6 -0
  80. package/framework/src/layout/_hero.scss +268 -0
  81. package/framework/src/layout/_main.scss +36 -0
  82. package/framework/src/layout/_section.scss +65 -0
  83. package/framework/src/layout/_toolbar.scss +100 -0
  84. package/framework/src/trilogy-core.scss +16 -0
  85. package/framework/src/trilogy-mangled.scss +14 -0
  86. package/framework/src/trilogy-namespaced.scss +14 -0
  87. package/framework/src/trilogy.scss +8 -0
  88. package/framework/src/utilities/_all.scss +9 -0
  89. package/framework/src/utilities/_animations.scss +71 -0
  90. package/framework/src/utilities/_controls.scss +67 -0
  91. package/framework/src/utilities/_derived-variables.scss +104 -0
  92. package/framework/src/utilities/_functions.scss +94 -0
  93. package/framework/src/utilities/_initial-variables.scss +150 -0
  94. package/framework/src/utilities/_mixins.scss +745 -0
  95. package/framework/src/utilities/_post.scss +6 -0
  96. package/framework/src/utilities/_pre.scss +5 -0
  97. package/framework/src/utilities/_spacing.scss +10 -0
  98. package/framework/src/utilities/_tools.scss +3 -0
  99. package/package.json +22 -0
  100. package/themes/default/src/_all.scss +1 -0
  101. package/themes/default/src/assets.scss +11 -0
  102. package/themes/default/src/utilities/_all.scss +0 -0
  103. package/themes/default/src/utilities/_post.scss +0 -0
  104. package/themes/default/src/utilities/_pre.scss +3 -0
@@ -0,0 +1,880 @@
1
+ .is-sticky-top {
2
+ position: sticky !important;
3
+ top: 0;
4
+ z-index: 999;
5
+ }
6
+
7
+ .is-sticky-bottom {
8
+ position: sticky !important;
9
+ bottom: 0;
10
+ z-index: 999;
11
+ }
12
+
13
+ // Float
14
+ .is-clearfix {
15
+ @include clearfix;
16
+ }
17
+
18
+ .is-pulled-left {
19
+ float: left !important;
20
+ }
21
+
22
+ .is-pulled-right {
23
+ float: right !important;
24
+ }
25
+
26
+ // Overflow
27
+ .is-clipped {
28
+ overflow: hidden !important;
29
+ }
30
+
31
+ // Overlay
32
+ .is-overlay {
33
+ @include overlay;
34
+ }
35
+
36
+ // Nowrap
37
+ .is-nowrap {
38
+ white-space: nowrap;
39
+ }
40
+
41
+ $alignments: (
42
+ 'centered': 'center',
43
+ 'justified': 'justify',
44
+ 'left': 'left',
45
+ 'right': 'right',
46
+ );
47
+
48
+ @each $alignment, $text-align in $alignments {
49
+ .has-text-#{$alignment} {
50
+ text-align: #{$text-align} !important;
51
+ }
52
+ }
53
+
54
+ @each $alignment, $text-align in $alignments {
55
+ @include mobile {
56
+ .has-text-#{$alignment}-mobile {
57
+ text-align: #{$text-align} !important;
58
+ }
59
+ }
60
+
61
+ @include tablet {
62
+ .has-text-#{$alignment}-tablet {
63
+ text-align: #{$text-align} !important;
64
+ }
65
+ }
66
+
67
+ @include tablet-only {
68
+ .has-text-#{$alignment}-tablet-only {
69
+ text-align: #{$text-align} !important;
70
+ }
71
+ }
72
+
73
+ @include touch {
74
+ .has-text-#{$alignment}-touch {
75
+ text-align: #{$text-align} !important;
76
+ }
77
+ }
78
+
79
+ @include desktop {
80
+ .has-text-#{$alignment}-desktop {
81
+ text-align: #{$text-align} !important;
82
+ }
83
+ }
84
+
85
+ @include desktop-only {
86
+ .has-text-#{$alignment}-desktop-only {
87
+ text-align: #{$text-align} !important;
88
+ }
89
+ }
90
+
91
+ @include widescreen {
92
+ .has-text-#{$alignment}-widescreen {
93
+ text-align: #{$text-align} !important;
94
+ }
95
+ }
96
+
97
+ @include widescreen-only {
98
+ .has-text-#{$alignment}-widescreen-only {
99
+ text-align: #{$text-align} !important;
100
+ }
101
+ }
102
+
103
+ @include fullhd {
104
+ .has-text-#{$alignment}-fullhd {
105
+ text-align: #{$text-align} !important;
106
+ }
107
+ }
108
+ }
109
+
110
+ // Typography
111
+ @mixin typography-size($target: '') {
112
+ @each $size in $sizes {
113
+ $i: index($sizes, $size);
114
+
115
+ .is-size-#{$i}#{if($target == '', '', '-' + $target)} {
116
+ font-size: $size !important;
117
+ }
118
+ }
119
+ }
120
+
121
+ @include typography-size;
122
+
123
+ @include mobile {
124
+ @include typography-size('mobile');
125
+ }
126
+
127
+ @include tablet {
128
+ @include typography-size('tablet');
129
+ }
130
+
131
+ @include touch {
132
+ @include typography-size('touch');
133
+ }
134
+
135
+ @include desktop {
136
+ @include typography-size('desktop');
137
+ }
138
+
139
+ @include widescreen {
140
+ @include typography-size('widescreen');
141
+ }
142
+
143
+ @include fullhd {
144
+ @include typography-size('fullhd');
145
+ }
146
+
147
+ .is-underline {
148
+ text-decoration: underline;
149
+ }
150
+
151
+ .is-capitalized {
152
+ text-transform: capitalize !important;
153
+ }
154
+
155
+ .is-lowercase {
156
+ text-transform: lowercase !important;
157
+ }
158
+
159
+ .is-uppercase {
160
+ text-transform: uppercase !important;
161
+ }
162
+
163
+ .is-italic {
164
+ font-style: italic !important;
165
+ }
166
+
167
+ .has-variant {
168
+ font-feature-settings: 'ss01';
169
+ }
170
+
171
+ // rétrocompatibilité, cette classe ne doit plus être utilisée
172
+ .has-text-weight-light {
173
+ font-weight: $weight-normal !important;
174
+ }
175
+
176
+ .has-text-weight-normal {
177
+ font-weight: $weight-normal !important;
178
+ }
179
+
180
+ .has-text-weight-medium {
181
+ font-weight: $weight-medium !important;
182
+ }
183
+
184
+ .has-text-weight-semibold {
185
+ font-weight: $weight-semibold !important;
186
+ }
187
+
188
+ // rétrocompatibilité, cette classe ne doit plus être utilisée
189
+ .has-text-weight-bold {
190
+ font-weight: $weight-semibold !important;
191
+ }
192
+
193
+ // rétrocompatibilité, cette classe ne doit plus être utilisée
194
+ .has-text-weight-extrabold {
195
+ font-weight: $weight-semibold !important;
196
+ }
197
+
198
+ @mixin typography-colors($target: '') {
199
+ @each $name, $color in $colors {
200
+ $brandName:nth($color, 1);
201
+ $color: nth($color, 2);
202
+ $color-invert: invertColor($name);
203
+
204
+ .has-text-#{$brandName}#{if($target == '', '', '-' + $target)} {
205
+ color: $color !important;
206
+ }
207
+ .has-text-#{$brandName}-invert#{if($target == '', '', '-' + $target)} {
208
+ color: $color-invert !important;
209
+ }
210
+ }
211
+ }
212
+
213
+ @include typography-colors;
214
+
215
+ @include mobile {
216
+ @include typography-colors('mobile');
217
+ }
218
+
219
+ @include tablet {
220
+ @include typography-colors('tablet');
221
+ }
222
+
223
+ @include touch {
224
+ @include typography-colors('touch');
225
+ }
226
+
227
+ @include desktop {
228
+ @include typography-colors('desktop');
229
+ }
230
+
231
+ @include widescreen {
232
+ @include typography-colors('widescreen');
233
+ }
234
+
235
+ @include fullhd {
236
+ @include typography-colors('fullhd');
237
+ }
238
+
239
+ // Visibility
240
+ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex';
241
+
242
+ @each $display in $displays {
243
+ .is-#{$display} {
244
+ display: #{$display} !important;
245
+ }
246
+
247
+ @include mobile {
248
+ .is-#{$display}-mobile {
249
+ display: #{$display} !important;
250
+ }
251
+ }
252
+
253
+ @include tablet {
254
+ .is-#{$display}-tablet {
255
+ display: #{$display} !important;
256
+ }
257
+ }
258
+
259
+ @include tablet-only {
260
+ .is-#{$display}-tablet-only {
261
+ display: #{$display} !important;
262
+ }
263
+ }
264
+
265
+ @include touch {
266
+ .is-#{$display}-touch {
267
+ display: #{$display} !important;
268
+ }
269
+ }
270
+
271
+ @include desktop {
272
+ .is-#{$display}-desktop {
273
+ display: #{$display} !important;
274
+ }
275
+ }
276
+
277
+ @include desktop-only {
278
+ .is-#{$display}-desktop-only {
279
+ display: #{$display} !important;
280
+ }
281
+ }
282
+
283
+ @include widescreen {
284
+ .is-#{$display}-widescreen {
285
+ display: #{$display} !important;
286
+ }
287
+ }
288
+
289
+ @include widescreen-only {
290
+ .is-#{$display}-widescreen-only {
291
+ display: #{$display} !important;
292
+ }
293
+ }
294
+
295
+ @include fullhd {
296
+ .is-#{$display}-fullhd {
297
+ display: #{$display} !important;
298
+ }
299
+ }
300
+ }
301
+
302
+ .is-hidden {
303
+ display: none !important;
304
+ }
305
+
306
+ @include mobile {
307
+ .is-hidden-mobile {
308
+ display: none !important;
309
+ }
310
+ }
311
+
312
+ @include tablet {
313
+ .is-hidden-tablet {
314
+ display: none !important;
315
+ }
316
+ }
317
+
318
+ @include tablet-only {
319
+ .is-hidden-tablet-only {
320
+ display: none !important;
321
+ }
322
+ }
323
+
324
+ @include touch {
325
+ .is-hidden-touch {
326
+ display: none !important;
327
+ }
328
+ }
329
+
330
+ @include desktop {
331
+ .is-hidden-desktop {
332
+ display: none !important;
333
+ }
334
+ }
335
+
336
+ @include desktop-only {
337
+ .is-hidden-desktop-only {
338
+ display: none !important;
339
+ }
340
+ }
341
+
342
+ @include widescreen {
343
+ .is-hidden-widescreen {
344
+ display: none !important;
345
+ }
346
+ }
347
+
348
+ @include widescreen-only {
349
+ .is-hidden-widescreen-only {
350
+ display: none !important;
351
+ }
352
+ }
353
+
354
+ @include fullhd {
355
+ .is-hidden-fullhd {
356
+ display: none !important;
357
+ }
358
+ }
359
+
360
+ .is-invisible {
361
+ visibility: hidden !important;
362
+ }
363
+
364
+ @include mobile {
365
+ .is-invisible-mobile {
366
+ visibility: hidden !important;
367
+ }
368
+ }
369
+
370
+ @include tablet {
371
+ .is-invisible-tablet {
372
+ visibility: hidden !important;
373
+ }
374
+ }
375
+
376
+ @include tablet-only {
377
+ .is-invisible-tablet-only {
378
+ visibility: hidden !important;
379
+ }
380
+ }
381
+
382
+ @include touch {
383
+ .is-invisible-touch {
384
+ visibility: hidden !important;
385
+ }
386
+ }
387
+
388
+ @include desktop {
389
+ .is-invisible-desktop {
390
+ visibility: hidden !important;
391
+ }
392
+ }
393
+
394
+ @include desktop-only {
395
+ .is-invisible-desktop-only {
396
+ visibility: hidden !important;
397
+ }
398
+ }
399
+
400
+ @include widescreen {
401
+ .is-invisible-widescreen {
402
+ visibility: hidden !important;
403
+ }
404
+ }
405
+
406
+ @include widescreen-only {
407
+ .is-invisible-widescreen-only {
408
+ visibility: hidden !important;
409
+ }
410
+ }
411
+
412
+ @include fullhd {
413
+ .is-invisible-fullhd {
414
+ visibility: hidden !important;
415
+ }
416
+ }
417
+
418
+ // Other
419
+ .is-marginless {
420
+ margin: 0 !important;
421
+ }
422
+
423
+ .is-paddingless {
424
+ padding: 0 !important;
425
+ }
426
+
427
+ .is-radiusless {
428
+ border-radius: 0 !important;
429
+ }
430
+
431
+ .is-shadowless {
432
+ box-shadow: none !important;
433
+ }
434
+
435
+ .is-unselectable {
436
+ @include unselectable;
437
+ }
438
+
439
+ .is-multiline {
440
+ flex-wrap: wrap !important;
441
+ }
442
+
443
+ .is-rounded {
444
+ border-radius: 50% !important;
445
+ }
446
+
447
+ .is-bordered {
448
+ border: 1px solid getColor('grey-light');
449
+ }
450
+
451
+ .is-vertical-paddingless {
452
+ padding-left: 0 !important;
453
+ padding-right: 0 !important;
454
+ }
455
+
456
+ // Radius
457
+ $radius-list: (
458
+ 'radius-small': $radius-small,
459
+ 'radius': $radius,
460
+ 'radius-large': $radius-large,
461
+ );
462
+
463
+ @each $label, $radius-size in $radius-list {
464
+ .has-border-#{$label} {
465
+ border-radius: $radius-size;
466
+ }
467
+ }
468
+
469
+ // Dimensions
470
+ .is-fullheight {
471
+ height: 100%;
472
+ }
473
+
474
+ .is-fullwidth {
475
+ width: 100%;
476
+ }
477
+
478
+ .is-borderless {
479
+ border: none !important;
480
+ }
481
+
482
+ @include mobile {
483
+ .is-fullwidth-mobile {
484
+ width: 100%;
485
+ }
486
+ }
487
+
488
+ // Alignement FLEXBOX
489
+ // FIXME : n'a pas sa place dans un design system
490
+ .is-spaced-evenly {
491
+ justify-content: space-evenly !important;
492
+ }
493
+
494
+ // FIXME : n'a pas sa place dans un design system
495
+ .is-spaced-around {
496
+ justify-content: space-around !important;
497
+ }
498
+
499
+ // FIXME : n'a pas sa place dans un design system
500
+ .is-spaced-between {
501
+ justify-content: space-between !important;
502
+ }
503
+
504
+ // FIXME : n'a pas sa place dans un design system
505
+ .is-order-reversed {
506
+ flex-direction: row-reverse !important;
507
+ }
508
+
509
+ // FIXME : n'a pas sa place dans un design system
510
+ .is-vertical {
511
+ flex-direction: column !important;
512
+
513
+ &.is-order-reversed {
514
+ flex-direction: column-reverse !important;
515
+ }
516
+
517
+ &.is-aligned-left {
518
+ align-items: flex-start !important;
519
+ }
520
+
521
+ &.is-aligned-right {
522
+ align-items: flex-end !important;
523
+ }
524
+
525
+ &.is-positionned-top {
526
+ justify-content: flex-start !important;
527
+ }
528
+
529
+ &.is-positionned-bottom {
530
+ justify-content: flex-end !important;
531
+ }
532
+ }
533
+
534
+ // FIXME : n'a pas sa place dans un design system
535
+ @include mobile {
536
+ .is-vertical-mobile {
537
+ flex-direction: column !important;
538
+
539
+ &.is-order-reversed-mobile {
540
+ flex-direction: column-reverse !important;
541
+ }
542
+
543
+ &.is-aligned-left-mobile {
544
+ align-items: flex-start !important;
545
+ }
546
+
547
+ &.is-aligned-center-mobile {
548
+ align-items: center !important;
549
+ }
550
+
551
+ &.is-aligned-right-mobile {
552
+ align-items: flex-end !important;
553
+ }
554
+
555
+ &.is-positionned-top-mobile {
556
+ justify-content: flex-start !important;
557
+ }
558
+
559
+ &.is-positionned-center-mobile {
560
+ justify-content: center !important;
561
+ }
562
+
563
+ &.is-positionned-bottom-mobile {
564
+ justify-content: flex-end !important;
565
+ }
566
+ }
567
+ }
568
+
569
+ /**
570
+ * alignement sur l'axe principal (justify-content)
571
+ */
572
+
573
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
574
+ .is-centered {
575
+ justify-content: center;
576
+ }
577
+
578
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
579
+ @include mobile {
580
+ .is-centered-mobile {
581
+ justify-content: center !important;
582
+ }
583
+ }
584
+
585
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
586
+ @include tablet {
587
+ .is-centered-tablet {
588
+ justify-content: center !important;
589
+ }
590
+ }
591
+
592
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
593
+ @include tablet-only {
594
+ .is-centered-tablet-only {
595
+ justify-content: center !important;
596
+ }
597
+ }
598
+
599
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
600
+ @include touch {
601
+ .is-centered-touch {
602
+ justify-content: center !important;
603
+ }
604
+ }
605
+
606
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
607
+ @include desktop {
608
+ .is-centered-desktop {
609
+ justify-content: center !important;
610
+ }
611
+ }
612
+
613
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
614
+ @include desktop-only {
615
+ .is-centered-desktop-only {
616
+ justify-content: center !important;
617
+ }
618
+ }
619
+
620
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
621
+ @include widescreen {
622
+ .is-centered-widescreen {
623
+ justify-content: center !important;
624
+ }
625
+ }
626
+
627
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
628
+ @include widescreen-only {
629
+ .is-centered-widescreen-only {
630
+ justify-content: center !important;
631
+ }
632
+ }
633
+
634
+ // FIXME : à supprimer car double-emploi avec is-justified-center(-xxx)
635
+ @include fullhd {
636
+ .is-centered-fullhd {
637
+ justify-content: center !important;
638
+ }
639
+ }
640
+
641
+ $positions: (
642
+ 'center': 'center',
643
+ 'start': 'flex-start',
644
+ 'end': 'flex-end',
645
+ );
646
+
647
+ @each $justification, $justify-content in $positions {
648
+ .is-justified-#{$justification} {
649
+ justify-content: #{$justify-content} !important;
650
+ }
651
+
652
+ @include mobile {
653
+ .is-justified-#{$justification}-mobile {
654
+ justify-content: #{$justify-content} !important;
655
+ }
656
+ }
657
+
658
+ @include tablet {
659
+ .is-justified-#{$justification}-tablet {
660
+ justify-content: #{$justify-content} !important;
661
+ }
662
+ }
663
+
664
+ @include tablet-only {
665
+ .is-justified-#{$justification}-tablet-only {
666
+ justify-content: #{$justify-content} !important;
667
+ }
668
+ }
669
+
670
+ @include touch {
671
+ .is-justified-#{$justification}-touch {
672
+ justify-content: #{$justify-content} !important;
673
+ }
674
+ }
675
+
676
+ @include desktop {
677
+ .is-justified-#{$justification}-desktop {
678
+ justify-content: #{$justify-content} !important;
679
+ }
680
+ }
681
+
682
+ @include desktop-only {
683
+ .is-justified-#{$justification}-desktop-only {
684
+ justify-content: #{$justify-content} !important;
685
+ }
686
+ }
687
+
688
+ @include widescreen {
689
+ .is-justified-#{$justification}-widescreen {
690
+ justify-content: #{$justify-content} !important;
691
+ }
692
+ }
693
+
694
+ @include widescreen-only {
695
+ .is-justified-#{$justification}-widescreen-only {
696
+ justify-content: #{$justify-content} !important;
697
+ }
698
+ }
699
+
700
+ @include fullhd {
701
+ .is-justified-#{$justification}-fullhd {
702
+ justify-content: #{$justify-content} !important;
703
+ }
704
+ }
705
+ }
706
+
707
+ // FIXME : à supprimer car double-emploi avec .is-justified-start (et même pas de spécificité par breakpoint)
708
+ .is-positionned-left {
709
+ justify-content: flex-start !important;
710
+ }
711
+
712
+ // FIXME : à supprimer car double-emploi avec .is-justified-center (et même pas de spécificité par breakpoint)
713
+ .is-positionned-center {
714
+ justify-content: center !important;
715
+ }
716
+
717
+ // FIXME : à supprimer car double-emploi avec .is-justified-end (et même pas de spécificité par breakpoint)
718
+ .is-positionned-right {
719
+ justify-content: flex-end !important;
720
+ }
721
+
722
+ /**
723
+ * alignement sur l'axe perpendiculaire (align-items)
724
+ */
725
+
726
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
727
+ .is-vcentered {
728
+ align-items: center;
729
+ }
730
+
731
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
732
+ @include mobile {
733
+ .is-vcentered-mobile {
734
+ align-items: center !important;
735
+ }
736
+ }
737
+
738
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
739
+ @include tablet {
740
+ .is-vcentered-tablet {
741
+ align-items: center !important;
742
+ }
743
+ }
744
+
745
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
746
+ @include tablet-only {
747
+ .is-vcentered-tablet-only {
748
+ align-items: center !important;
749
+ }
750
+ }
751
+
752
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
753
+ @include touch {
754
+ .is-vcentered-touch {
755
+ align-items: center !important;
756
+ }
757
+ }
758
+
759
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
760
+ @include desktop {
761
+ .is-vcentered-desktop {
762
+ align-items: center !important;
763
+ }
764
+ }
765
+
766
+ @include desktop-only {
767
+ .is-vcentered-desktop-only {
768
+ align-items: center !important;
769
+ }
770
+ }
771
+
772
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
773
+ @include widescreen {
774
+ .is-vcentered-widescreen {
775
+ align-items: center !important;
776
+ }
777
+ }
778
+
779
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
780
+ @include widescreen-only {
781
+ .is-vcentered-widescreen-only {
782
+ align-items: center !important;
783
+ }
784
+ }
785
+
786
+ // FIXME : le nom n'est pas cohérent avec l'effet (align-items peut être horizontal selon l'axe principal)
787
+ @include fullhd {
788
+ .is-vcentered-fullhd {
789
+ align-items: center !important;
790
+ }
791
+ }
792
+
793
+ @each $alignment, $align-items in $positions {
794
+ .is-aligned-#{$alignment} {
795
+ align-items: #{$align-items} !important;
796
+ }
797
+
798
+ @include mobile {
799
+ .is-aligned-#{$alignment}-mobile {
800
+ align-items: #{$align-items} !important;
801
+ }
802
+ }
803
+
804
+ @include tablet {
805
+ .is-aligned-#{$alignment}-tablet {
806
+ align-items: #{$align-items} !important;
807
+ }
808
+ }
809
+
810
+ @include tablet-only {
811
+ .is-aligned-#{$alignment}-tablet-only {
812
+ align-items: #{$align-items} !important;
813
+ }
814
+ }
815
+
816
+ @include touch {
817
+ .is-aligned-#{$alignment}-touch {
818
+ align-items: #{$align-items} !important;
819
+ }
820
+ }
821
+
822
+ @include desktop {
823
+ .is-aligned-#{$alignment}-desktop {
824
+ align-items: #{$align-items} !important;
825
+ }
826
+ }
827
+
828
+ @include desktop-only {
829
+ .is-aligned-#{$alignment}-desktop-only {
830
+ align-items: #{$align-items} !important;
831
+ }
832
+ }
833
+
834
+ @include widescreen {
835
+ .is-aligned-#{$alignment}-widescreen {
836
+ align-items: #{$align-items} !important;
837
+ }
838
+ }
839
+
840
+ @include widescreen-only {
841
+ .is-aligned-#{$alignment}-widescreen-only {
842
+ align-items: #{$align-items} !important;
843
+ }
844
+ }
845
+
846
+ @include fullhd {
847
+ .is-aligned-#{$alignment}-fullhd {
848
+ align-items: #{$align-items} !important;
849
+ }
850
+ }
851
+ }
852
+
853
+ // FIXME : à supprimer car double-emploi avec .is-aligned-start (et même pas de spécificité par breakpoint)
854
+ .is-aligned-top {
855
+ align-items: flex-start !important;
856
+ }
857
+
858
+ // FIXME : à supprimer car double-emploi avec .is-aligned-center (et même pas de spécificité par breakpoint)
859
+ .is-aligned-center {
860
+ align-items: center !important;
861
+ }
862
+
863
+ // FIXME : à supprimer car double-emploi avec .is-aligned-end (et même pas de spécificité par breakpoint)
864
+ .is-aligned-bottom {
865
+ align-items: flex-end !important;
866
+ }
867
+
868
+ //absolute
869
+ .is-absolute {
870
+ position: absolute !important;
871
+ }
872
+
873
+ .is-text-ellipsis {
874
+ width: 100%;
875
+ overflow: hidden;
876
+ text-overflow: ellipsis;
877
+ word-break: break-word;
878
+ -webkit-box-orient: vertical;
879
+ display: -webkit-box;
880
+ }