@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-calendar

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 (143) hide show
  1. package/dist/default/trilogy-mangled.css +1 -1
  2. package/dist/default/trilogy-partials.css +1 -1
  3. package/dist/default/trilogy.css +1 -1
  4. package/framework/src/_all.scss +2 -2
  5. package/framework/src/base/_all.scss +1 -1
  6. package/framework/src/base/_color.scss +1 -52
  7. package/framework/src/base/_elements.scss +1 -1
  8. package/framework/src/base/_generic.scss +9 -1
  9. package/framework/src/base/_helpers.scss +34 -44
  10. package/framework/src/base/_loading.scss +9 -2
  11. package/framework/src/base/_reset.scss +11 -1
  12. package/framework/src/components/_accordion.scss +55 -89
  13. package/framework/src/components/_autocomplete.scss +38 -0
  14. package/framework/src/components/_autolayout.scss +332 -0
  15. package/framework/src/components/_badge.scss +87 -0
  16. package/framework/src/components/_box.scss +168 -0
  17. package/framework/src/components/_breadcrumb.scss +29 -38
  18. package/framework/src/components/_button.scss +79 -0
  19. package/framework/src/components/_calendar.scss +125 -0
  20. package/framework/src/components/_card.scss +33 -87
  21. package/framework/src/components/_checkbox.scss +71 -0
  22. package/framework/src/components/_chips.scss +84 -0
  23. package/framework/src/{elements → components}/_container.scss +7 -39
  24. package/framework/src/components/_countdown.scss +49 -47
  25. package/framework/src/components/_divider.scss +25 -14
  26. package/framework/src/components/_fab.scss +25 -38
  27. package/framework/src/components/_flex-box.scss +457 -0
  28. package/framework/src/{elements → components}/_icon.scss +4 -4
  29. package/framework/src/components/_image.scss +69 -0
  30. package/framework/src/components/_index.scss +48 -0
  31. package/framework/src/components/_link.scss +58 -0
  32. package/framework/src/components/_list.scss +66 -0
  33. package/framework/src/{elements → components}/_loader.scss +2 -2
  34. package/framework/src/components/_modal.scss +182 -158
  35. package/framework/src/components/_otp.scss +11 -30
  36. package/framework/src/components/_pagination.scss +60 -159
  37. package/framework/src/components/_popover.scss +260 -260
  38. package/framework/src/components/_price.scss +140 -165
  39. package/framework/src/components/_product-tour.scss +2 -4
  40. package/framework/src/components/_radio.scss +82 -0
  41. package/framework/src/components/_range.scss +73 -72
  42. package/framework/src/components/_segmented-control.scss +55 -53
  43. package/framework/src/components/_select.scss +131 -0
  44. package/framework/src/components/_stepper.scss +42 -222
  45. package/framework/src/{elements → components}/_sticker.scss +25 -28
  46. package/framework/src/components/_switch.scss +97 -191
  47. package/framework/src/components/_table.scss +244 -0
  48. package/framework/src/components/_tabs.scss +101 -98
  49. package/framework/src/components/_tag.scss +114 -0
  50. package/framework/src/components/_text.scss +55 -0
  51. package/framework/src/components/_textarea.scss +46 -0
  52. package/framework/src/components/_timeline.scss +28 -113
  53. package/framework/src/components/_title.scss +151 -0
  54. package/framework/src/{elements → components/alert}/_alert.scss +13 -10
  55. package/framework/src/components/alert/_index.scss +2 -0
  56. package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
  57. package/framework/src/components/input/_entry.scss +135 -0
  58. package/framework/src/{elements → components/input}/_form.scss +42 -33
  59. package/framework/src/components/input/_index.scss +4 -0
  60. package/framework/src/components/input/_input-gauge.scss +44 -0
  61. package/framework/src/components/input/_input-icons.scss +55 -0
  62. package/framework/src/components/progress/_index.scss +2 -0
  63. package/framework/src/components/progress/_progress-radial.scss +28 -0
  64. package/framework/src/{elements → components/progress}/_progress.scss +34 -23
  65. package/framework/src/elements/_index.scss +5 -0
  66. package/framework/src/elements/_other.scss +0 -41
  67. package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
  68. package/framework/src/grid/_columns.scss +278 -763
  69. package/framework/src/grid/_rows.scss +45 -38
  70. package/framework/src/layout/_all.scss +0 -1
  71. package/framework/src/layout/_hero.scss +92 -214
  72. package/framework/src/layout/_section.scss +10 -29
  73. package/framework/src/theming/_all.scss +3 -0
  74. package/framework/src/theming/buttons_partial.scss +32 -0
  75. package/framework/src/theming/common_partials.scss +10 -0
  76. package/framework/src/theming/links_partial.scss +20 -0
  77. package/framework/src/trilogy-mangled.scss +3 -3
  78. package/framework/src/trilogy.scss +2 -2
  79. package/framework/src/utilities/_a11y.scss +13 -0
  80. package/framework/src/utilities/_all.scss +4 -0
  81. package/framework/src/utilities/_background.scss +21 -0
  82. package/framework/src/utilities/_controls.scss +38 -49
  83. package/framework/src/utilities/_derived-variables.scss +0 -103
  84. package/framework/src/utilities/_initial-variables.scss +4 -144
  85. package/framework/src/utilities/_pre.scss +4 -1
  86. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  87. package/framework/src/utilities/mixins/_delete.scss +86 -0
  88. package/framework/src/utilities/mixins/_index.scss +11 -0
  89. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  90. package/framework/src/utilities/mixins/_mixins.scss +293 -0
  91. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  92. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  93. package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
  94. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  95. package/framework/src/utilities/mixins/_state.scss +25 -0
  96. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  97. package/framework/src/utilities/mixins/_utils.scss +24 -0
  98. package/framework/src/utilities/variables/_animation.scss +2 -0
  99. package/framework/src/utilities/variables/_color.scss +85 -0
  100. package/framework/src/utilities/variables/_font.scss +97 -0
  101. package/framework/src/utilities/variables/_index.scss +6 -0
  102. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  103. package/framework/src/utilities/variables/_shadow.scss +3 -0
  104. package/framework/src/utilities/variables/_zindex.scss +14 -0
  105. package/package.json +3 -3
  106. package/framework/src/components/_all.scss +0 -30
  107. package/framework/src/components/_autolayout2.scss +0 -38
  108. package/framework/src/components/_disclaimer.scss +0 -84
  109. package/framework/src/components/_dropdown.scss +0 -128
  110. package/framework/src/components/_level.scss +0 -120
  111. package/framework/src/components/_media.scss +0 -64
  112. package/framework/src/components/_menu.scss +0 -213
  113. package/framework/src/components/_progress-radial.scss +0 -23
  114. package/framework/src/components/_search-modal.scss +0 -197
  115. package/framework/src/components/_slices.scss +0 -316
  116. package/framework/src/components/_slider.scss +0 -92
  117. package/framework/src/elements/_all.scss +0 -35
  118. package/framework/src/elements/_badge.scss +0 -81
  119. package/framework/src/elements/_box.scss +0 -267
  120. package/framework/src/elements/_button.scss +0 -192
  121. package/framework/src/elements/_checkbox.scss +0 -39
  122. package/framework/src/elements/_checkradio.scss +0 -173
  123. package/framework/src/elements/_chips.scss +0 -100
  124. package/framework/src/elements/_dot.scss +0 -6
  125. package/framework/src/elements/_entry.scss +0 -109
  126. package/framework/src/elements/_image.scss +0 -59
  127. package/framework/src/elements/_input-gauge.scss +0 -37
  128. package/framework/src/elements/_input-icons.scss +0 -41
  129. package/framework/src/elements/_link.scss +0 -79
  130. package/framework/src/elements/_list.scss +0 -61
  131. package/framework/src/elements/_notification.scss +0 -151
  132. package/framework/src/elements/_options.scss +0 -146
  133. package/framework/src/elements/_paragraph.scss +0 -101
  134. package/framework/src/elements/_radio.scss +0 -67
  135. package/framework/src/elements/_select.scss +0 -315
  136. package/framework/src/elements/_switch.scss +0 -108
  137. package/framework/src/elements/_table.scss +0 -298
  138. package/framework/src/elements/_tag.scss +0 -131
  139. package/framework/src/elements/_textarea.scss +0 -125
  140. package/framework/src/elements/_timeline.scss +0 -283
  141. package/framework/src/elements/_title.scss +0 -139
  142. package/framework/src/layout/_toolbar.scss +0 -100
  143. package/framework/src/utilities/_mixins.scss +0 -744
@@ -0,0 +1,332 @@
1
+ body:not(.is-tight) {
2
+ .accordion:not(.flex-box > .accordion):not(:last-child) {
3
+ margin-bottom: 24px;
4
+ }
5
+ .buttons:not(.flex-box > .buttons):not(:last-child) {
6
+ margin-bottom: 24px;
7
+ }
8
+ .card:not(.flex-box > .card):not(:last-child) {
9
+ margin-bottom: 24px;
10
+ }
11
+ .columns:not(.flex-box > .columns):not(:last-child) {
12
+ margin-bottom: 24px;
13
+ }
14
+ .flex-box:not(.flex-box > .flex-box):not(:last-child) {
15
+ margin-bottom: 24px;
16
+ }
17
+ .box:not(.flex-box > .box):not(:last-child) {
18
+ margin-bottom: 24px;
19
+ }
20
+ .table:not(.flex-box > .table):not(:last-child) {
21
+ margin-bottom: 24px;
22
+ }
23
+ .list:not(.flex-box > .list):not(:last-child) {
24
+ margin-bottom: 24px;
25
+ }
26
+ .timeline:not(.flex-box > .timeline):not(:last-child) {
27
+ margin-bottom: 24px;
28
+ }
29
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
30
+ margin-bottom: 24px;
31
+ }
32
+ .pagination:not(.flex-box > .pagination):not(:last-child) {
33
+ margin-bottom: 24px;
34
+ }
35
+ .segmented-control:not(.flex-box > .segmented-control):not(:last-child) {
36
+ margin-bottom: 24px;
37
+ }
38
+ .tabs:not(.flex-box > .tabs):not(:last-child) {
39
+ margin-bottom: 24px;
40
+ }
41
+ .range:not(.flex-box > .range):not(:last-child) {
42
+ margin-bottom: 24px;
43
+ }
44
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
45
+ margin-bottom: 24px;
46
+ }
47
+ .price-container:not(.flex-box > .price-container):not(:last-child) {
48
+ margin-bottom: 12px;
49
+ }
50
+ :not(.buttons) > .button:not(.flex-box > .button):not(:last-child) {
51
+ margin-bottom: 24px;
52
+ }
53
+ .countdown:not(.flex-box > .countdown):not(:last-child) {
54
+ margin-bottom: 16px;
55
+ }
56
+ .countdown.is-small:not(.flex-box > .countdown.is-small):not(:last-child) {
57
+ margin-bottom: 12px;
58
+ }
59
+ .chips-list:not(.flex-box > .chips-list):not(:last-child) {
60
+ margin-bottom: 12px;
61
+ }
62
+ p.text:not(.flex-box > p.text):not(:last-child) {
63
+ margin-bottom: 12px;
64
+ }
65
+ .progress:not(.flex-box > .progress):not(:last-child) {
66
+ margin-bottom: 8px;
67
+ }
68
+ .progress-radial:not(.flex-box > .progress-radial):not(:last-child) {
69
+ margin-bottom: 8px;
70
+ }
71
+ .radios:not(.flex-box > .radios):not(:last-child) {
72
+ margin-bottom: 12px;
73
+ }
74
+ :not(.radios) >.radios:not(.flex-box > .radios):not(:last-child) {
75
+ margin-bottom: 12px;
76
+ }
77
+ .checkbox:not(.flex-box > .checkbox):not(:last-child) {
78
+ margin-bottom: 12px;
79
+ }
80
+ .switch:not(.flex-box > .switch):not(:last-child) {
81
+ margin-bottom: 12px;
82
+ }
83
+ .radio-tiles:not(.flex-box > .radio-tiles):not(:last-child) {
84
+ margin-bottom: 16px;
85
+ }
86
+ :not(.radio-tiles) > .radio-tile:not(.flex-box > .radio-tile):not(:last-child) {
87
+ margin-bottom: 24px;
88
+ }
89
+ .checkbox-tiles:not(.flex-box > .checkbox-tiles):not(:last-child) {
90
+ margin-bottom: 24px;
91
+ }
92
+ :not(.checkbox-tiles) > .checkbox-tile:not(.flex-box > .checkbox-tile):not(:last-child) {
93
+ margin-bottom: 24px;
94
+ }
95
+ .field:not(.flex-box > .field):not(:last-child) {
96
+ margin-bottom: 24px;
97
+ }
98
+ .control:not(.flex-box > .control):not(:last-child) {
99
+ margin-bottom: 4px;
100
+ }
101
+ .help:not(.flex-box > .help):not(:last-child) {
102
+ margin-bottom: 4px;
103
+ }
104
+ .textarea:not(.flex-box > .textarea):not(:last-child) {
105
+ margin-bottom: 16px;
106
+ }
107
+ .select:not(.flex-box > .select):not(:last-child) {
108
+ margin-bottom: 16px;
109
+ }
110
+ .link:not(.flex-box > .link):not(:last-child) {
111
+ margin-bottom: 12px;
112
+ }
113
+ .sticker:not(.flex-box > .sticker):not(:last-child) {
114
+ margin-bottom: 8px;
115
+ }
116
+ .tags:not(.flex-box > .tags):not(:last-child) {
117
+ margin-bottom: 16px;
118
+ }
119
+ :not(.tags) > .tag:not(.flex-box > .tag):not(:last-child) {
120
+ margin-bottom: 8px;
121
+ }
122
+ .title.is-level-1:not(.flex-box > .title.is-level-1):not(:last-child) {
123
+ margin-bottom: 40px;
124
+ }
125
+ .title.is-level-2:not(.flex-box > .title.is-level-2):not(:last-child) {
126
+ margin-bottom: 40px;
127
+ }
128
+ .title.is-level-3:not(.flex-box > .title.is-level-3):not(:last-child) {
129
+ margin-bottom: 24px;
130
+ }
131
+ .title.is-level-4:not(.flex-box > .title.is-level-4):not(:last-child) {
132
+ margin-bottom: 24px;
133
+ }
134
+ .title.is-level-5:not(.flex-box > .title.is-level-5):not(:last-child) {
135
+ margin-bottom: 16px;
136
+ }
137
+ .title.is-level-6:not(.flex-box > .title.is-level-6):not(:last-child) {
138
+ margin-bottom: 8px;
139
+ }
140
+ .overline:not(.flex-box > .overline):not(:last-child) {
141
+ margin-bottom: 0px;
142
+ }
143
+ .title:has(+.subtitle):not(.flex-box > .title:has(+.subtitle)):not(:last-child) {
144
+ margin-bottom: 8px;
145
+ }
146
+ .title.is-level-1 + .subtitle:not(.flex-box > .title.is-level-1 + .subtitle):not(:last-child) {
147
+ margin-bottom: 32px;
148
+ }
149
+ .title.is-level-2 + .subtitle:not(.flex-box > .title.is-level-2 + .subtitle):not(:last-child) {
150
+ margin-bottom: 24px;
151
+ }
152
+ .title.is-level-3 + .subtitle:not(.flex-box > .title.is-level-3 + .subtitle):not(:last-child) {
153
+ margin-bottom: 24px;
154
+ }
155
+ .title.is-level-4 + .subtitle:not(.flex-box > .title.is-level-4 + .subtitle):not(:last-child) {
156
+ margin-bottom: 12px;
157
+ }
158
+ .title.is-level-5 + .subtitle:not(.flex-box > .title.is-level-5 + .subtitle):not(:last-child) {
159
+ margin-bottom: 12px;
160
+ }
161
+ .title.is-level-6 + .subtitle:not(.flex-box > .title.is-level-6 + .subtitle):not(:last-child) {
162
+ margin-bottom: 12px;
163
+ }
164
+ }
165
+
166
+ @include mobile() {
167
+ body:not(.is-tight) {
168
+ .accordion:not(.flex-box > .accordion):not(:last-child) {
169
+ margin-bottom: 16px;
170
+ }
171
+ .buttons:not(.flex-box > .buttons):not(:last-child) {
172
+ margin-bottom: 16px;
173
+ }
174
+ .card:not(.flex-box > .card):not(:last-child) {
175
+ margin-bottom: 16px;
176
+ }
177
+ .columns:not(.flex-box > .columns):not(:last-child) {
178
+ margin-bottom: 16px;
179
+ }
180
+ .flex-box:not(.flex-box > .flex-box):not(:last-child) {
181
+ margin-bottom: 16px;
182
+ }
183
+ .box:not(.flex-box > .box):not(:last-child) {
184
+ margin-bottom: 16px;
185
+ }
186
+ .table:not(.flex-box > .table):not(:last-child) {
187
+ margin-bottom: 16px;
188
+ }
189
+ .list:not(.flex-box > .list):not(:last-child) {
190
+ margin-bottom: 16px;
191
+ }
192
+ .timeline:not(.flex-box > .timeline):not(:last-child) {
193
+ margin-bottom: 16px;
194
+ }
195
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
196
+ margin-bottom: 16px;
197
+ }
198
+ .pagination:not(.flex-box > .pagination):not(:last-child) {
199
+ margin-bottom: 16px;
200
+ }
201
+ .segmented-control:not(.flex-box > .segmented-control):not(:last-child) {
202
+ margin-bottom: 16px;
203
+ }
204
+ .tabs:not(.flex-box > .tabs):not(:last-child) {
205
+ margin-bottom: 16px;
206
+ }
207
+ .range:not(.flex-box > .range):not(:last-child) {
208
+ margin-bottom: 16px;
209
+ }
210
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
211
+ margin-bottom: 16px;
212
+ }
213
+ .price-container:not(.flex-box > .price-container):not(:last-child) {
214
+ margin-bottom: 8px;
215
+ }
216
+ :not(.buttons) > .button:not(.flex-box > .button):not(:last-child) {
217
+ margin-bottom: 16px;
218
+ }
219
+ .countdown:not(.flex-box > .countdown):not(:last-child) {
220
+ margin-bottom: 12px;
221
+ }
222
+ .countdown.is-small:not(.flex-box > .countdown.is-small):not(:last-child) {
223
+ margin-bottom: 12px;
224
+ }
225
+ .chips-list:not(.flex-box > .chips-list):not(:last-child) {
226
+ margin-bottom: 12px;
227
+ }
228
+ p.text:not(.flex-box > p.text):not(:last-child) {
229
+ margin-bottom: 12px;
230
+ }
231
+ .progress:not(.flex-box > .progress):not(:last-child) {
232
+ margin-bottom: 8px;
233
+ }
234
+ .progress-radial:not(.flex-box > .progress-radial):not(:last-child) {
235
+ margin-bottom: 8px;
236
+ }
237
+ .radios:not(.flex-box > .radios):not(:last-child) {
238
+ margin-bottom: 12px;
239
+ }
240
+ :not(.radios) >.radios:not(.flex-box > .radios):not(:last-child) {
241
+ margin-bottom: 12px;
242
+ }
243
+ .checkbox:not(.flex-box > .checkbox):not(:last-child) {
244
+ margin-bottom: 12px;
245
+ }
246
+ .switch:not(.flex-box > .switch):not(:last-child) {
247
+ margin-bottom: 12px;
248
+ }
249
+ .radio-tiles:not(.flex-box > .radio-tiles):not(:last-child) {
250
+ margin-bottom: 12px;
251
+ }
252
+ :not(.radio-tiles) > .radio-tile:not(.flex-box > .radio-tile):not(:last-child) {
253
+ margin-bottom: 16px;
254
+ }
255
+ .checkbox-tiles:not(.flex-box > .checkbox-tiles):not(:last-child) {
256
+ margin-bottom: 16px;
257
+ }
258
+ :not(.checkbox-tiles) > .checkbox-tile:not(.flex-box > .checkbox-tile):not(:last-child) {
259
+ margin-bottom: 16px;
260
+ }
261
+ .field:not(.flex-box > .field):not(:last-child) {
262
+ margin-bottom: 16px;
263
+ }
264
+ .control:not(.flex-box > .control):not(:last-child) {
265
+ margin-bottom: 4px;
266
+ }
267
+ .help:not(.flex-box > .help):not(:last-child) {
268
+ margin-bottom: 4px;
269
+ }
270
+ .textarea:not(.flex-box > .textarea):not(:last-child) {
271
+ margin-bottom: 16px;
272
+ }
273
+ .select:not(.flex-box > .select):not(:last-child) {
274
+ margin-bottom: 16px;
275
+ }
276
+ .link:not(.flex-box > .link):not(:last-child) {
277
+ margin-bottom: 8px;
278
+ }
279
+ .sticker:not(.flex-box > .sticker):not(:last-child) {
280
+ margin-bottom: 8px;
281
+ }
282
+ .tags:not(.flex-box > .tags):not(:last-child) {
283
+ margin-bottom: 16px;
284
+ }
285
+ :not(.tags) > .tag:not(.flex-box > .tag):not(:last-child) {
286
+ margin-bottom: 8px;
287
+ }
288
+ .title.is-level-1:not(.flex-box > .title.is-level-1):not(:last-child) {
289
+ margin-bottom: 32px;
290
+ }
291
+ .title.is-level-2:not(.flex-box > .title.is-level-2):not(:last-child) {
292
+ margin-bottom: 32px;
293
+ }
294
+ .title.is-level-3:not(.flex-box > .title.is-level-3):not(:last-child) {
295
+ margin-bottom: 24px;
296
+ }
297
+ .title.is-level-4:not(.flex-box > .title.is-level-4):not(:last-child) {
298
+ margin-bottom: 16px;
299
+ }
300
+ .title.is-level-5:not(.flex-box > .title.is-level-5):not(:last-child) {
301
+ margin-bottom: 12px;
302
+ }
303
+ .title.is-level-6:not(.flex-box > .title.is-level-6):not(:last-child) {
304
+ margin-bottom: 12px;
305
+ }
306
+ .overline:not(.flex-box > .overline):not(:last-child) {
307
+ margin-bottom: 0px;
308
+ }
309
+ .title:has(+.subtitle):not(.flex-box > .title:has(+.subtitle)):not(:last-child) {
310
+ margin-bottom: 8px;
311
+ }
312
+ .title.is-level-1 + .subtitle:not(.flex-box > .title.is-level-1 + .subtitle):not(:last-child) {
313
+ margin-bottom: 40px;
314
+ }
315
+ .title.is-level-2 + .subtitle:not(.flex-box > .title.is-level-2 + .subtitle):not(:last-child) {
316
+ margin-bottom: 32px;
317
+ }
318
+ .title.is-level-3 + .subtitle:not(.flex-box > .title.is-level-3 + .subtitle):not(:last-child) {
319
+ margin-bottom: 32px;
320
+ }
321
+ .title.is-level-4 + .subtitle:not(.flex-box > .title.is-level-4 + .subtitle):not(:last-child) {
322
+ margin-bottom: 8px;
323
+ }
324
+ .title.is-level-5 + .subtitle:not(.flex-box > .title.is-level-5 + .subtitle):not(:last-child) {
325
+ margin-bottom: 8px;
326
+ }
327
+ .title.is-level-6 + .subtitle:not(.flex-box > .title.is-level-6 + .subtitle):not(:last-child) {
328
+ margin-bottom: 8px;
329
+ }
330
+
331
+ }
332
+ }
@@ -0,0 +1,87 @@
1
+ .title .badge {
2
+ margin-left: 0.6em;
3
+ margin-right: 0.6em;
4
+ }
5
+
6
+ .badge-container {
7
+ position: relative;
8
+ display: inline-flex;
9
+ justify-content: flex-start;
10
+ align-items: center;
11
+ min-width: 40px;
12
+ min-height: 40px;
13
+
14
+ .badge,
15
+ .badge-icon {
16
+ position: absolute;
17
+ top: 0;
18
+ right: 0;
19
+
20
+ &.is-bottom-left {
21
+ bottom: 0;
22
+ left: 0;
23
+ right: auto;
24
+ top: auto;
25
+ }
26
+
27
+ &.is-bottom-right {
28
+ bottom: 0;
29
+ right: 0;
30
+ top: auto;
31
+ }
32
+
33
+ &.is-top-left {
34
+ top: 0;
35
+ left: 0;
36
+ right: auto;
37
+ }
38
+ }
39
+
40
+ .badge-icon {
41
+ width: $text-20;
42
+ height: $text-20;
43
+ }
44
+ }
45
+
46
+ .badge {
47
+ display: inline-flex;
48
+ border-radius: 9999px;
49
+ color: getColor('background');
50
+ background: getColor('main');
51
+ font-size: $text-10;
52
+ min-height: $text-20;
53
+ min-width: $text-20;
54
+ justify-content: center;
55
+ align-items: center;
56
+
57
+ &:empty {
58
+ min-width: $text-10;
59
+ min-height: $text-10;
60
+ }
61
+
62
+ &.is-inverted {
63
+ color: getColor('main') !important;
64
+ background: getColor('background') !important;
65
+ }
66
+ }
67
+
68
+ [data-badge-number] {
69
+ position: relative;
70
+
71
+ &::after {
72
+ content: attr(data-badge-number);
73
+ position: absolute;
74
+ margin-left: -15px;
75
+ top: -7px;
76
+ color: getColor('background');
77
+ left: 100%;
78
+ background: getColor('main');
79
+ font-size: $text-10;
80
+ min-height: $text-20;
81
+ min-width: $text-20;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ border-radius: 9999px;
86
+ }
87
+ }
@@ -0,0 +1,168 @@
1
+ @use 'sass:math';
2
+ @import "../utilities/spacing";
3
+
4
+ :root {
5
+ --padding-box: #{$spacing-5};
6
+ @include mobile {
7
+ --padding-box: #{$spacing-4};
8
+ }
9
+ }
10
+
11
+ $highlighted-border-width: 4px;
12
+
13
+
14
+ a.box {
15
+ cursor: pointer;
16
+ transition: box-shadow $animation-duration;
17
+
18
+ #{$hoverSelector},
19
+ &:active,
20
+ &:focus {
21
+ box-shadow: $focus-shadow;
22
+ }
23
+ }
24
+
25
+ .box {
26
+ background-color: getColor('background');
27
+ box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
28
+ border-radius: var(--radius);
29
+ display: flex;
30
+ flex-direction: column;
31
+ justify-content: flex-start;
32
+ position: relative;
33
+ padding: var(--padding-box);
34
+
35
+ &.is-active {
36
+ outline: var(--border-active);
37
+ }
38
+
39
+ &.is-offset-header {
40
+ @include tablet {
41
+ margin-top: 40px;
42
+
43
+ &.is-fullheight {
44
+ height: calc(100% - 40px);
45
+ }
46
+ }
47
+ }
48
+
49
+ &.is-fullheight {
50
+ .box-content {
51
+ flex-grow: 1;
52
+ }
53
+ }
54
+
55
+ &.is-flat {
56
+ box-shadow: none;
57
+ border: var(--border);
58
+
59
+ .box-header {
60
+ margin-top: calc(var(--padding-box) * -1 - 1px);
61
+ margin-left: calc(var(--padding-box) * -1 - 1px);
62
+ margin-right: calc(var(--padding-box) * -1 - 1px);
63
+ }
64
+ }
65
+
66
+ &.is-highlighted {
67
+ border-left: $highlighted-border-width solid transparent;
68
+ border-top-left-radius: calc(var(--radius) + $highlighted-border-width);
69
+ border-bottom-left-radius: calc(var(--radius) + $highlighted-border-width);
70
+ @each $name, $pair in $colors-brand-functionnal {
71
+ $color: getColor($name);
72
+ $brandName: getColorBrandName($name);
73
+
74
+ &.is-#{$brandName} {
75
+ border-left-color: $color;
76
+ border-left-width: $highlighted-border-width;
77
+ }
78
+ }
79
+
80
+ .box-header {
81
+ margin-left: calc(var(--padding-box) * -1 - $highlighted-border-width);
82
+ }
83
+ }
84
+
85
+ .box-header {
86
+ z-index: inherit;
87
+ background-color: getColor('main');
88
+ color: getColor('background');
89
+ margin-top: calc(var(--padding-box) * -1);
90
+ margin-left: calc(var(--padding-box) * -1);
91
+ margin-right: calc(var(--padding-box) * -1);
92
+ padding: 8px;
93
+ padding-left: var(--padding-box);
94
+ padding-right: var(--padding-box);
95
+ box-shadow: none;
96
+ display: flex;
97
+ justify-content: center;
98
+ flex-direction: column;
99
+ align-items: center;
100
+ font-weight: $weight-semibold;
101
+ border-radius: var(--radius) var(--radius) 0 0;
102
+ height: 40px;
103
+
104
+ @include tablet {
105
+ flex-direction: row;
106
+ align-items: center;
107
+ justify-content: space-between;
108
+ }
109
+
110
+ > p:not(:last-child),
111
+ > .paragraph:not(:last-child) {
112
+ margin: 0 0 0.3em;
113
+
114
+ @include tablet {
115
+ align-self: center;
116
+ margin: 0 3em 0 0;
117
+ }
118
+ }
119
+
120
+ ~ .box-content {
121
+ margin-top: 0;
122
+ }
123
+ }
124
+
125
+ .box-content {
126
+ margin-left: calc(var(--padding-box) * -1);
127
+ margin-right: calc(var(--padding-box) * -1);
128
+ padding: var(--padding-box);
129
+
130
+ &:first-child {
131
+ margin-top: calc(var(--padding-box) * -1);
132
+ border-top-left-radius: var(--radius);
133
+ border-top-right-radius: var(--radius);
134
+ }
135
+
136
+ &:last-child {
137
+ margin-bottom: calc(var(--padding-box) * -1);
138
+ border-bottom-left-radius: var(--radius);
139
+ border-bottom-right-radius: var(--radius);
140
+ }
141
+
142
+ > .is-unboxed {
143
+ margin-left: calc(var(--padding-box) * -1);
144
+ margin-right: calc(var(--padding-box) * -1);
145
+ }
146
+
147
+ &.is-transparent {
148
+ background-color: transparent;
149
+ }
150
+ }
151
+
152
+ .box-footer {
153
+ margin-left: calc(var(--padding-box) * -1);
154
+ margin-right: calc(var(--padding-box) * -1);
155
+ margin-bottom: calc(var(--padding-box) * -1);
156
+ padding: var(--padding-box);
157
+ border-bottom-left-radius: var(--radius);
158
+ border-bottom-right-radius: var(--radius);
159
+ }
160
+
161
+ .box-footer:not(.is-borderless):not([class*="has-background"])::before {
162
+ content: '';
163
+ display: block;
164
+ border-top: var(--border);
165
+ position: relative;
166
+ top: calc(var(--padding-box) * -1);
167
+ }
168
+ }
@@ -1,45 +1,36 @@
1
1
  .breadcrumb {
2
- @include block;
3
- @include unselectable;
2
+ @include block;
3
+ @include unselectable;
4
4
 
5
- ul,
6
- ol {
7
- @include desktop {
8
- display: flex;
9
- flex-wrap: wrap;
10
- }
11
- }
12
-
13
- li {
14
- display: inline;
15
- position: relative;
16
-
17
- @include desktop {
18
- display: flex;
19
- align-items: center;
20
- }
5
+ ul,
6
+ ol {
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ gap: $spacing-2;
10
+ }
21
11
 
22
- &:first-child a {
23
- margin-left: 0;
24
- }
12
+ li {
13
+ position: relative;
14
+ display: flex;
15
+ align-items: center;
16
+ font-weight: 500;
25
17
 
26
- &.is-active {
27
- a {
28
- color: getColor('font');
29
- cursor: default;
30
- pointer-events: none;
31
- }
32
- }
33
-
34
- + li a::before {
35
- content: ">";
36
- text-align: center;
37
- padding-right: 0.5em;
38
- }
18
+ + li::before {
19
+ content: "";
20
+ width: 18px;
21
+ height: 18px;
22
+ mask-image: url('./assets/icons/all/arrow-right.svg');
23
+ mask-position: center;
24
+ mask-repeat: no-repeat;
25
+ mask-size: cover;
26
+ background-color: #1b3650;
27
+ margin-right: $spacing-2;
39
28
  }
29
+ }
40
30
 
41
- a {
42
- color: getColor('alternate');
43
- margin: 0 0.5em;
44
- }
31
+ a {
32
+ color: getColor('main');
33
+ text-decoration: underline 2px solid;
34
+ text-underline-offset: 4px;
35
+ }
45
36
  }