@trilogy-ds/styles 0.0.1-alpha-prompt

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