@trilogy-ds/styles 0.0.9-beta-v4 → 0.0.11-esm-cjs

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