@trilogy-ds/styles 0.0.1-beta.9 → 0.0.3-beta-v4

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 (94) 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/base/_color.scss +9 -39
  5. package/framework/src/base/_generic.scss +4 -1
  6. package/framework/src/base/_helpers.scss +13 -38
  7. package/framework/src/base/_loading.scss +8 -1
  8. package/framework/src/base/_reset.scss +8 -3
  9. package/framework/src/components/_accordion.scss +53 -88
  10. package/framework/src/components/_all.scss +1 -7
  11. package/framework/src/components/_autolayout.scss +302 -0
  12. package/framework/src/components/_breadcrumb.scss +39 -34
  13. package/framework/src/components/_card.scss +8 -79
  14. package/framework/src/components/_countdown.scss +49 -47
  15. package/framework/src/components/_divider.scss +10 -15
  16. package/framework/src/components/_fab.scss +25 -38
  17. package/framework/src/components/_modal.scss +161 -158
  18. package/framework/src/components/_otp.scss +10 -29
  19. package/framework/src/components/_pagination.scss +59 -161
  20. package/framework/src/components/_plus-symbol.scss +1 -1
  21. package/framework/src/components/_popover.scss +260 -260
  22. package/framework/src/components/_price.scss +119 -170
  23. package/framework/src/components/_product-tour.scss +2 -4
  24. package/framework/src/components/_progress-radial.scss +24 -19
  25. package/framework/src/components/_range.scss +73 -72
  26. package/framework/src/components/_segmented-control.scss +51 -53
  27. package/framework/src/components/_stepper.scss +42 -222
  28. package/framework/src/components/_tabs.scss +46 -81
  29. package/framework/src/components/_timeline.scss +27 -112
  30. package/framework/src/elements/_alert.scss +13 -10
  31. package/framework/src/elements/_all.scss +1 -4
  32. package/framework/src/elements/_autocomplete.scss +32 -0
  33. package/framework/src/elements/_badge.scss +67 -61
  34. package/framework/src/elements/_box.scss +64 -161
  35. package/framework/src/elements/_button.scss +15 -141
  36. package/framework/src/elements/_checkbox.scss +29 -26
  37. package/framework/src/elements/_chips.scss +69 -85
  38. package/framework/src/elements/_container.scss +7 -39
  39. package/framework/src/elements/_entry.scss +76 -88
  40. package/framework/src/elements/_form.scss +26 -23
  41. package/framework/src/elements/_icon.scss +4 -4
  42. package/framework/src/elements/_image.scss +50 -40
  43. package/framework/src/elements/_input-gauge.scss +32 -33
  44. package/framework/src/elements/_input-icons.scss +33 -31
  45. package/framework/src/elements/_link.scss +38 -65
  46. package/framework/src/elements/_list.scss +45 -44
  47. package/framework/src/elements/_loader.scss +2 -2
  48. package/framework/src/elements/_other.scss +0 -37
  49. package/framework/src/elements/_paragraph.scss +35 -69
  50. package/framework/src/elements/_progress.scss +33 -22
  51. package/framework/src/elements/_radio.scss +45 -31
  52. package/framework/src/elements/_select.scss +85 -304
  53. package/framework/src/elements/_sticker.scss +12 -27
  54. package/framework/src/elements/_switch.scss +101 -99
  55. package/framework/src/elements/_table.scss +175 -228
  56. package/framework/src/elements/_tag.scss +104 -105
  57. package/framework/src/elements/_textarea.scss +113 -105
  58. package/framework/src/elements/_title.scss +89 -87
  59. package/framework/src/elements/_toaster.scss +4 -5
  60. package/framework/src/grid/_columns.scss +257 -764
  61. package/framework/src/grid/_rows.scss +45 -38
  62. package/framework/src/layout/_all.scss +0 -1
  63. package/framework/src/layout/_hero.scss +89 -215
  64. package/framework/src/layout/_section.scss +5 -29
  65. package/framework/src/theming/_all.scss +3 -0
  66. package/framework/src/theming/buttons_partial.scss +32 -0
  67. package/framework/src/theming/common_partials.scss +10 -0
  68. package/framework/src/theming/links_partial.scss +20 -0
  69. package/framework/src/utilities/_a11y.scss +13 -0
  70. package/framework/src/utilities/_all.scss +4 -0
  71. package/framework/src/utilities/_background.scss +19 -0
  72. package/framework/src/utilities/_colors.scss +40 -0
  73. package/framework/src/utilities/_controls.scss +38 -49
  74. package/framework/src/utilities/_derived-variables.scss +4 -15
  75. package/framework/src/utilities/_initial-variables.scss +4 -36
  76. package/framework/src/utilities/_mixins.scss +483 -592
  77. package/framework/src/utilities/_pre.scss +1 -0
  78. package/package.json +3 -3
  79. package/framework/src/components/_autolayout2.scss +0 -38
  80. package/framework/src/components/_disclaimer.scss +0 -84
  81. package/framework/src/components/_dropdown.scss +0 -128
  82. package/framework/src/components/_level.scss +0 -120
  83. package/framework/src/components/_media.scss +0 -64
  84. package/framework/src/components/_menu.scss +0 -213
  85. package/framework/src/components/_search-modal.scss +0 -197
  86. package/framework/src/components/_slices.scss +0 -316
  87. package/framework/src/components/_slider.scss +0 -92
  88. package/framework/src/components/_switch.scss +0 -209
  89. package/framework/src/elements/_checkradio.scss +0 -173
  90. package/framework/src/elements/_dot.scss +0 -6
  91. package/framework/src/elements/_notification.scss +0 -151
  92. package/framework/src/elements/_options.scss +0 -146
  93. package/framework/src/elements/_timeline.scss +0 -283
  94. package/framework/src/layout/_toolbar.scss +0 -100
@@ -0,0 +1,302 @@
1
+ body:not(.is-tight) {
2
+ .accordions:not(:last-child) {
3
+ margin-bottom: 24px;
4
+ }
5
+ .card:not(:last-child) {
6
+ margin-bottom: 24px;
7
+ }
8
+ .box:not(:last-child) {
9
+ margin-bottom: 24px;
10
+ }
11
+ *:has(+.divider):not(:last-child) {
12
+ margin-bottom: 24px;
13
+ }
14
+ .divider:not(:last-child) {
15
+ margin-bottom: 24px;
16
+ }
17
+ .table:not(:last-child) {
18
+ margin-bottom: 24px;
19
+ }
20
+ .list:not(:last-child) {
21
+ margin-bottom: 24px;
22
+ }
23
+ .timeline:not(:last-child) {
24
+ margin-bottom: 24px;
25
+ }
26
+ .stepper:not(:last-child) {
27
+ margin-bottom: 24px;
28
+ }
29
+ .pagination:not(:last-child) {
30
+ margin-bottom: 24px;
31
+ }
32
+ .segmented-control:not(:last-child) {
33
+ margin-bottom: 24px;
34
+ }
35
+ .tabs:not(:last-child) {
36
+ margin-bottom: 24px;
37
+ }
38
+ .range:not(:last-child) {
39
+ margin-bottom: 24px;
40
+ }
41
+ .stepper:not(:last-child) {
42
+ margin-bottom: 24px;
43
+ }
44
+ .price-container:not(:last-child) {
45
+ margin-bottom: 12px;
46
+ }
47
+ .button:not(:last-child) {
48
+ margin-bottom: 24px;
49
+ }
50
+ .countdown:not(:last-child) {
51
+ margin-bottom: 16px;
52
+ }
53
+ .countdown.is-small:not(:last-child) {
54
+ margin-bottom: 12px;
55
+ }
56
+ .chips-list:not(:last-child) {
57
+ margin-bottom: 12px;
58
+ }
59
+ p.text:not(:last-child) {
60
+ margin-bottom: 12px;
61
+ }
62
+ .progress:not(:last-child) {
63
+ margin-bottom: 8px;
64
+ }
65
+ .progress-radial:not(:last-child) {
66
+ margin-bottom: 8px;
67
+ }
68
+ .radio:not(:last-child) {
69
+ margin-bottom: 12px;
70
+ }
71
+ .checkbox:not(:last-child) {
72
+ margin-bottom: 12px;
73
+ }
74
+ .switch:not(:last-child) {
75
+ margin-bottom: 12px;
76
+ }
77
+ .radio-tile:not(:last-child) {
78
+ margin-bottom: 24px;
79
+ }
80
+ .checkbox-tile:not(:last-child) {
81
+ margin-bottom: 24px;
82
+ }
83
+ .field:not(:last-child) {
84
+ margin-bottom: 24px;
85
+ }
86
+ .control:not(:last-child) {
87
+ margin-bottom: 4px;
88
+ }
89
+ .help:not(:last-child) {
90
+ margin-bottom: 4px;
91
+ }
92
+ .textarea:not(:last-child) {
93
+ margin-bottom: 16px;
94
+ }
95
+ .select:not(:last-child) {
96
+ margin-bottom: 16px;
97
+ }
98
+ .link:not(:last-child) {
99
+ margin-bottom: 12px;
100
+ }
101
+ .sticker:not(:last-child) {
102
+ margin-bottom: 8px;
103
+ }
104
+ .tag:not(:last-child) {
105
+ margin-bottom: 8px;
106
+ }
107
+ .title.is-level-1:not(:last-child) {
108
+ margin-bottom: 40px;
109
+ }
110
+ .title.is-level-2:not(:last-child) {
111
+ margin-bottom: 32px;
112
+ }
113
+ .title.is-level-3:not(:last-child) {
114
+ margin-bottom: 16px;
115
+ }
116
+ .title.is-level-4:not(:last-child) {
117
+ margin-bottom: 12px;
118
+ }
119
+ .title.is-level-5:not(:last-child) {
120
+ margin-bottom: 12px;
121
+ }
122
+ .title.is-level-6:not(:last-child) {
123
+ margin-bottom: 12px;
124
+ }
125
+ .overline:not(:last-child) {
126
+ margin-bottom: 0px;
127
+ }
128
+ .title:has(+.subtitle):not(:last-child) {
129
+ margin-bottom: 8px;
130
+ }
131
+ .title.is-level-1 + .subtitle:not(:last-child) {
132
+ margin-bottom: 32px;
133
+ }
134
+ .title.is-level-2 + .subtitle:not(:last-child) {
135
+ margin-bottom: 24px;
136
+ }
137
+ .title.is-level-3 + .subtitle:not(:last-child) {
138
+ margin-bottom: 24px;
139
+ }
140
+ .title.is-level-4 + .subtitle:not(:last-child) {
141
+ margin-bottom: 12px;
142
+ }
143
+ .title.is-level-5 + .subtitle:not(:last-child) {
144
+ margin-bottom: 12px;
145
+ }
146
+ .title.is-level-6 + .subtitle:not(:last-child) {
147
+ margin-bottom: 12px;
148
+ }
149
+ }
150
+
151
+ @include mobile() {
152
+ body:not(.is-tight) {
153
+ .accordions:not(:last-child) {
154
+ margin-bottom: 16px;
155
+ }
156
+ .card:not(:last-child) {
157
+ margin-bottom: 16px;
158
+ }
159
+ .box:not(:last-child) {
160
+ margin-bottom: 16px;
161
+ }
162
+ *:has(+.divider):not(:last-child) {
163
+ margin-bottom: 16px;
164
+ }
165
+ .divider:not(:last-child) {
166
+ margin-bottom: 16px;
167
+ }
168
+ .table:not(:last-child) {
169
+ margin-bottom: 16px;
170
+ }
171
+ .list:not(:last-child) {
172
+ margin-bottom: 16px;
173
+ }
174
+ .timeline:not(:last-child) {
175
+ margin-bottom: 16px;
176
+ }
177
+ .stepper:not(:last-child) {
178
+ margin-bottom: 16px;
179
+ }
180
+ .pagination:not(:last-child) {
181
+ margin-bottom: 16px;
182
+ }
183
+ .segmented-control:not(:last-child) {
184
+ margin-bottom: 16px;
185
+ }
186
+ .tabs:not(:last-child) {
187
+ margin-bottom: 16px;
188
+ }
189
+ .range:not(:last-child) {
190
+ margin-bottom: 16px;
191
+ }
192
+ .stepper:not(:last-child) {
193
+ margin-bottom: 16px;
194
+ }
195
+ .price-container:not(:last-child) {
196
+ margin-bottom: 8px;
197
+ }
198
+ .button:not(:last-child) {
199
+ margin-bottom: 16px;
200
+ }
201
+ .countdown:not(:last-child) {
202
+ margin-bottom: 12px;
203
+ }
204
+ .countdown.is-small:not(:last-child) {
205
+ margin-bottom: 12px;
206
+ }
207
+ .chips-list:not(:last-child) {
208
+ margin-bottom: 12px;
209
+ }
210
+ p.text:not(:last-child) {
211
+ margin-bottom: 8px;
212
+ }
213
+ .progress:not(:last-child) {
214
+ margin-bottom: 8px;
215
+ }
216
+ .progress-radial:not(:last-child) {
217
+ margin-bottom: 8px;
218
+ }
219
+ .radio:not(:last-child) {
220
+ margin-bottom: 12px;
221
+ }
222
+ .checkbox:not(:last-child) {
223
+ margin-bottom: 12px;
224
+ }
225
+ .switch:not(:last-child) {
226
+ margin-bottom: 12px;
227
+ }
228
+ .radio-tile:not(:last-child) {
229
+ margin-bottom: 16px;
230
+ }
231
+ .checkbox-tile:not(:last-child) {
232
+ margin-bottom: 16px;
233
+ }
234
+ .field:not(:last-child) {
235
+ margin-bottom: 16px;
236
+ }
237
+ .control:not(:last-child) {
238
+ margin-bottom: 4px;
239
+ }
240
+ .help:not(:last-child) {
241
+ margin-bottom: 4px;
242
+ }
243
+ .textarea:not(:last-child) {
244
+ margin-bottom: 16px;
245
+ }
246
+ .select:not(:last-child) {
247
+ margin-bottom: 16px;
248
+ }
249
+ .link:not(:last-child) {
250
+ margin-bottom: 8px;
251
+ }
252
+ .sticker:not(:last-child) {
253
+ margin-bottom: 8px;
254
+ }
255
+ .tag:not(:last-child) {
256
+ margin-bottom: 8px;
257
+ }
258
+ .title.is-level-1:not(:last-child) {
259
+ margin-bottom: 32px;
260
+ }
261
+ .title.is-level-2:not(:last-child) {
262
+ margin-bottom: 24px;
263
+ }
264
+ .title.is-level-3:not(:last-child) {
265
+ margin-bottom: 12px;
266
+ }
267
+ .title.is-level-4:not(:last-child) {
268
+ margin-bottom: 8px;
269
+ }
270
+ .title.is-level-5:not(:last-child) {
271
+ margin-bottom: 8px;
272
+ }
273
+ .title.is-level-6:not(:last-child) {
274
+ margin-bottom: 8px;
275
+ }
276
+ .overline:not(:last-child) {
277
+ margin-bottom: 0px;
278
+ }
279
+ .title:has(+.subtitle):not(:last-child) {
280
+ margin-bottom: 8px;
281
+ }
282
+ .title.is-level-1 + .subtitle:not(:last-child) {
283
+ margin-bottom: 40px;
284
+ }
285
+ .title.is-level-2 + .subtitle:not(:last-child) {
286
+ margin-bottom: 32px;
287
+ }
288
+ .title.is-level-3 + .subtitle:not(:last-child) {
289
+ margin-bottom: 32px;
290
+ }
291
+ .title.is-level-4 + .subtitle:not(:last-child) {
292
+ margin-bottom: 8px;
293
+ }
294
+ .title.is-level-5 + .subtitle:not(:last-child) {
295
+ margin-bottom: 8px;
296
+ }
297
+ .title.is-level-6 + .subtitle:not(:last-child) {
298
+ margin-bottom: 8px;
299
+ }
300
+
301
+ }
302
+ }
@@ -1,45 +1,50 @@
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
- }
5
+ ul,
6
+ ol {
7
+ @include desktop {
8
+ display: flex;
9
+ flex-wrap: wrap;
11
10
  }
11
+ }
12
12
 
13
- li {
14
- display: inline;
15
- position: relative;
13
+ li {
14
+ display: inline;
15
+ position: relative;
16
16
 
17
- @include desktop {
18
- display: flex;
19
- align-items: center;
20
- }
21
-
22
- &:first-child a {
23
- margin-left: 0;
24
- }
17
+ @include desktop {
18
+ display: flex;
19
+ align-items: center;
20
+ }
25
21
 
26
- &.is-active {
27
- a {
28
- color: getColor('font');
29
- cursor: default;
30
- pointer-events: none;
31
- }
32
- }
22
+ &:first-child a {
23
+ margin-left: 0;
24
+ }
33
25
 
34
- + li a::before {
35
- content: ">";
36
- text-align: center;
37
- padding-right: 0.5em;
38
- }
26
+ &.is-active {
27
+ a {
28
+ color: getColor('font');
29
+ cursor: default;
30
+ pointer-events: none;
31
+ text-decoration: none;
32
+ }
39
33
  }
40
34
 
41
- a {
42
- color: getColor('alternate');
43
- margin: 0 0.5em;
35
+ + li a::before {
36
+ content: ">";
37
+ text-align: center;
38
+ padding-right: 0.5em;
39
+ text-decoration: none;
40
+ display: inline-block;
44
41
  }
42
+ }
43
+
44
+ a {
45
+ color: getColor('main');
46
+ margin: 0 0.5em;
47
+ text-decoration: underline;
48
+ text-underline-offset: 4px;
49
+ }
45
50
  }
@@ -1,11 +1,12 @@
1
1
  .card {
2
2
  max-width: 100%;
3
3
  display: flex;
4
- border-radius: $radius;
4
+ border-radius: var(--radius);
5
+ overflow: hidden;
5
6
  flex-direction: column;
6
7
  position: relative;
7
8
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
8
- background-color: getColor("background");
9
+ background-color: getColor('background');
9
10
 
10
11
  &:not(:last-child) {
11
12
  margin-bottom: 15px;
@@ -16,12 +17,9 @@
16
17
  position: relative;
17
18
  flex-shrink: 0;
18
19
  overflow: hidden;
19
- border-radius: 8px 8px 0px 0px;
20
20
  }
21
21
 
22
22
  .card-content {
23
- border-bottom-left-radius: $radius;
24
- border-bottom-right-radius: $radius;
25
23
  padding: $spacing-5;
26
24
  flex-grow: 1;
27
25
 
@@ -31,7 +29,7 @@
31
29
  }
32
30
 
33
31
  .card-footer {
34
- border-top: 1px solid getColor('grey');
32
+ border-top: 1px solid getColor('neutral');
35
33
  }
36
34
 
37
35
  .mention {
@@ -56,13 +54,9 @@
56
54
 
57
55
  &.is-flat {
58
56
  box-shadow: none;
59
-
60
- .card-image {
61
- margin-bottom: -1px;
62
- }
57
+ border: var(--border);
63
58
 
64
59
  .card-content {
65
- border: 1px solid getColor('grey');
66
60
  padding-left: 20px;
67
61
  padding-right: 20px;
68
62
 
@@ -74,26 +68,15 @@
74
68
  }
75
69
 
76
70
  &.is-active {
77
- border: 2px solid getColor('alternate');
78
-
79
- .card-image {
80
- border-radius: 6px 6px 0px 0px;
81
- }
71
+ outline: var(--border-active);
82
72
 
83
73
  .card-content {
84
- border-bottom-left-radius: ($radius - 2px);
85
- border-bottom-right-radius: ($radius - 2px);
74
+
86
75
  padding: 22px;
87
76
  @include mobile {
88
77
  padding: 14px;
89
78
  }
90
79
  }
91
-
92
- &.is-horizontal {
93
- .card-image {
94
- border-radius: ($radius - 2px) 0px 0px ($radius - 2px);
95
- }
96
- }
97
80
  }
98
81
 
99
82
  &.is-horizontal {
@@ -113,7 +96,6 @@
113
96
 
114
97
  .card-image {
115
98
  max-width: 100%;
116
- border-radius: 8px 0px 0px 8px;
117
99
 
118
100
  @include tablet {
119
101
  img {
@@ -179,31 +161,11 @@
179
161
  top: 50%;
180
162
  transform: translateY(-50%);
181
163
  }
182
- &.is-polyfilled {
183
- border-top-left-radius: $radius;
184
- border-top-right-radius: 0;
185
- border-bottom-left-radius: $radius;
186
- position: absolute;
187
- top: 0;
188
- left: 0;
189
- bottom: 0;
190
- right: 0;
191
- background-size: cover;
192
- background-repeat: no-repeat;
193
- background-position: 50% 50%;
194
-
195
- img {
196
- visibility: hidden;
197
- }
198
- }
199
164
  }
200
165
  }
201
166
  }
202
167
 
203
168
  .card-content {
204
- border-top-right-radius: $radius;
205
- border-bottom-right-radius: $radius;
206
- border-bottom-left-radius: 0;
207
169
  padding-left: 20px;
208
170
  padding-right: 20px;
209
171
 
@@ -223,10 +185,8 @@
223
185
  box-shadow: none;
224
186
  background: transparent;
225
187
 
226
- &.is-inverted .card-image .image img,
227
- &.is-reversed .card-image .image img,
228
188
  .card-image .image img {
229
- border-radius: $radius;
189
+ border-radius: var(--radius);
230
190
  }
231
191
 
232
192
  .card-content {
@@ -256,42 +216,11 @@
256
216
  &.is-reversed {
257
217
  .card-image {
258
218
  order: 1;
259
- border-radius: 0;
260
-
261
- .image {
262
- img {
263
- border-bottom-left-radius: $radius;
264
- border-bottom-right-radius: $radius;
265
- }
266
- }
267
- }
268
-
269
- .card-content {
270
- border-top-left-radius: $radius;
271
- border-top-right-radius: $radius;
272
- border-bottom-left-radius: 0;
273
- border-bottom-right-radius: 0;
274
219
  }
275
220
 
276
221
  &.is-horizontal {
277
222
  .card-image {
278
223
  order: 1;
279
-
280
- .image {
281
- img {
282
- border-top-left-radius: 0;
283
- border-top-right-radius: $radius;
284
- border-bottom-left-radius: 0;
285
- border-bottom-right-radius: $radius;
286
- }
287
- }
288
- }
289
-
290
- .card-content {
291
- border-top-left-radius: $radius;
292
- border-top-right-radius: 0;
293
- border-bottom-left-radius: $radius;
294
- border-bottom-right-radius: 0;
295
224
  }
296
225
  }
297
226
  }
@@ -1,55 +1,57 @@
1
1
  .countdown {
2
- border: 1px solid currentcolor;
3
- border-radius: 8px;
4
- display: inline-flex;
5
- padding: $spacing-2;
6
- color: getColor('font');
2
+ border: 1px solid currentcolor;
3
+ border-radius: var(--radius);
4
+ display: inline-flex;
5
+ padding: $spacing-2;
6
+ color: getColor('font');
7
7
 
8
- .count {
9
- font-family: $family-sans-serif;
10
- font-size: $text-14;
11
- font-weight: 400;
12
- list-style-type: none;
13
- text-align: center;
14
- padding: 0 $spacing-2;
15
- position: relative;
16
-
17
- &:not(:last-child)::before {
18
- content: ' ';
19
- border-left: 1px solid currentcolor;
20
- height: 100%;
21
- position: absolute;
22
- top: 0;
23
- bottom: 0;
24
- right: 0;
25
- }
26
-
27
- .value {
28
- font-size: $text-24;
29
- font-weight: 600;
30
- }
8
+ .count {
9
+ font-family: $family-sans-serif;
10
+ font-size: $text-14;
11
+ font-weight: 400;
12
+ list-style-type: none;
13
+ text-align: center;
14
+ padding: 0 $spacing-2;
15
+ position: relative;
16
+
17
+ &:not(:last-child)::before {
18
+ content: ' ';
19
+ border-left: 1px solid currentcolor;
20
+ height: 100%;
21
+ position: absolute;
22
+ top: 0;
23
+ bottom: 0;
24
+ right: 0;
31
25
  }
32
26
 
33
- &.is-small {
34
- padding: $spacing-2 0;
35
- border-radius: 4px;
36
- .count {
37
- font-size: $text-12;
38
- padding: 0 $spacing-2;
39
- font-weight: 500;
40
-
41
- .value {
42
- font-size: $text-16;
43
- font-weight: 600;
44
- }
45
- }
27
+ .value {
28
+ font-size: $text-24;
29
+ font-weight: 600;
46
30
  }
31
+ }
32
+
33
+ &.is-small {
34
+ padding: $spacing-2 0;
35
+ border-radius: var(--radius-small);
36
+
37
+ .count {
38
+ font-size: $text-12;
39
+ padding: 0 $spacing-2;
40
+ font-weight: 500;
47
41
 
48
- &.is-inverted {
49
- color: invertColor('font');
50
- .count {
51
- &:not(:last-child)::before {
52
- }
53
- }
42
+ .value {
43
+ font-size: $text-16;
44
+ font-weight: 600;
45
+ }
46
+ }
47
+ }
48
+
49
+ &.is-inverted {
50
+ color: invertColor('font');
51
+
52
+ .count {
53
+ &:not(:last-child)::before {
54
+ }
54
55
  }
56
+ }
55
57
  }
@@ -1,18 +1,13 @@
1
1
  .divider {
2
- position: relative;
3
- text-align: center;
4
- background-color: getColor('grey');
5
- height: 1px;
6
- width: 100%;
7
- margin: 16px 0;
2
+ background-color: getColor('neutral');
3
+ height: 1px;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
8
7
 
9
- p.divider-content {
10
- position: absolute;
11
- left: 50%;
12
- top: 50%;
13
- transform: translate(-50%, -50%);
14
- white-space: nowrap;
15
- padding: 0 $spacing-4;
16
- background-color: invertColor('grey');
17
- }
8
+ p.divider-content {
9
+ white-space: nowrap;
10
+ padding: 0 $spacing-4;
11
+ background-color: invertColor('neutral');
12
+ }
18
13
  }