@primer/brand-css 0.68.0-rc.0963e67e → 0.68.0-rc.20c2136f

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.
@@ -8,12 +8,13 @@
8
8
  vertical-align: middle;
9
9
  align-items: center;
10
10
  justify-content: center;
11
- transition: box-shadow var(--brand-animation-duration-faster);
11
+ transition: background-color 0.2s, border-color 0.2s;
12
12
  text-decoration: none;
13
- border-radius: var(--brand-borderRadius-medium);
13
+ border-radius: var(--base-size-6);
14
14
  cursor: pointer;
15
- border: solid var(--brand-borderWidth-thick) transparent;
15
+ border: solid var(--brand-borderWidth-thin) transparent;
16
16
  background: none;
17
+ box-sizing: border-box;
17
18
  display: inline-flex;
18
19
  gap: var(--brand-control-medium-gap);
19
20
  }
@@ -34,6 +35,10 @@
34
35
  cursor: not-allowed;
35
36
  }
36
37
 
38
+ .Button--size-small .Button__text {
39
+ display: flex;
40
+ }
41
+
37
42
  .Button__text {
38
43
  position: relative;
39
44
  }
@@ -77,7 +82,7 @@
77
82
  }
78
83
 
79
84
  .Button--primary:not(.Button[disabled], .Button[aria-disabled='true'], [aria-expanded='true']):hover {
80
- background: var(--brand-button-primary-bgColor-hover);
85
+ background-color: var(--brand-button-primary-bgColor-hover);
81
86
  }
82
87
 
83
88
  .Button--primary:not(.Button[disabled], .Button[aria-disabled='true']):active,
@@ -109,21 +114,20 @@
109
114
  /* secondary */
110
115
 
111
116
  .Button--secondary {
112
- transition: background var(--brand-animation-duration-faster), border-color var(--brand-animation-duration-faster);
113
- background: var(--brand-button-secondary-bgColor-rest);
117
+ background-color: var(--brand-button-secondary-bgColor-rest);
114
118
  border-color: var(--brand-button-secondary-borderColor-rest);
115
119
  color: var(--brand-button-secondary-fgColor-rest);
116
120
  backdrop-filter: blur(var(--base-size-20));
117
121
  }
118
122
 
119
123
  .Button--secondary:not(.Button[disabled], .Button[aria-disabled='true'], [aria-expanded='true']):hover {
120
- background: var(--brand-button-secondary-bgColor-hover);
124
+ background-color: var(--brand-button-secondary-bgColor-hover);
121
125
  border-color: var(--brand-button-secondary-borderColor-hover);
122
126
  }
123
127
 
124
128
  .Button--secondary:not(.Button[disabled], .Button[aria-disabled='true']):active,
125
129
  .Button--secondary[aria-expanded='true'] {
126
- background: var(--brand-button-secondary-bgColor-active);
130
+ background-color: var(--brand-button-secondary-bgColor-active);
127
131
  border-color: var(--brand-button-secondary-borderColor-active);
128
132
  }
129
133
 
@@ -144,8 +148,7 @@
144
148
  /* subtle */
145
149
 
146
150
  .Button--subtle {
147
- transition: background var(--brand-animation-duration-faster), border-color var(--brand-animation-duration-faster);
148
- background: var(--brand-button-subtle-bgColor-rest);
151
+ background-color: var(--brand-button-subtle-bgColor-rest);
149
152
  border-width: var(--brand-borderWidth-thin);
150
153
  border-color: var(--brand-button-subtle-borderColor-rest);
151
154
  color: var(--brand-color-text-default);
@@ -153,13 +156,13 @@
153
156
  }
154
157
 
155
158
  .Button--subtle:not(.Button[disabled], .Button[aria-disabled='true'], [aria-expanded='true']):hover {
156
- background: var(--brand-button-subtle-bgColor-hover);
159
+ background-color: var(--brand-button-subtle-bgColor-hover);
157
160
  border-color: var(--brand-button-subtle-borderColor-hover);
158
161
  }
159
162
 
160
163
  .Button--subtle:not(.Button[disabled], .Button[aria-disabled='true']):active,
161
164
  .Button--subtle[aria-expanded='true'] {
162
- background: var(--brand-button-subtle-bgColor-active);
165
+ background-color: var(--brand-button-subtle-bgColor-active);
163
166
  border-color: var(--brand-button-subtle-borderColor-active);
164
167
  }
165
168
 
@@ -186,7 +189,7 @@
186
189
 
187
190
  .Button--size-medium {
188
191
  min-height: var(--brand-control-medium-size);
189
- padding: var(--brand-control-medium-paddingBlock-condensed) var(--brand-control-medium-paddingInline-spacious);
192
+ padding: var(--brand-control-medium-paddingBlock-condensed) var(--base-size-20);
190
193
  }
191
194
 
192
195
  .Button--size-large {
@@ -246,7 +246,7 @@
246
246
  .Hero-label {
247
247
  text-transform: uppercase;
248
248
  letter-spacing: 1px;
249
- margin-block-end: var(--base-size-16);
249
+ margin-block-end: calc(var(--base-size-16) - var(--base-size-2));
250
250
  display: flex;
251
251
  align-items: center;
252
252
  }
@@ -44,7 +44,7 @@
44
44
 
45
45
  .Icon--background {
46
46
  padding: var(--base-size-12);
47
- border-radius: var(--brand-borderRadius-medium);
47
+ border-radius: var(--base-size-12);
48
48
  }
49
49
 
50
50
  .Icon--color-default {
@@ -68,18 +68,7 @@
68
68
  .LogoSuite__logobar--variant-emphasis img,
69
69
  .LogoSuite__logobar--variant-emphasis a {
70
70
  width: auto;
71
- height: var(--base-size-28);
72
- }
73
-
74
- @media screen and (min-width: 48rem) {
75
- .LogoSuite__logobar--variant-muted svg,
76
- .LogoSuite__logobar--variant-muted img,
77
- .LogoSuite__logobar--variant-muted a,
78
- .LogoSuite__logobar--variant-emphasis svg,
79
- .LogoSuite__logobar--variant-emphasis img,
80
- .LogoSuite__logobar--variant-emphasis a {
81
- height: var(--base-size-32);
82
- }
71
+ height: var(--base-size-32);
83
72
  }
84
73
 
85
74
  .LogoSuite__logobar--variant-muted svg,
@@ -241,7 +230,6 @@
241
230
  .LogoSuite--gridline-expressive .LogoSuite__content {
242
231
  padding-inline: 0;
243
232
  gap: 0;
244
- max-width: 618px; /* From the Figma design */
245
233
  }
246
234
 
247
235
  .LogoSuite--gridline-expressive .LogoSuite__textContainer {
@@ -276,8 +264,12 @@
276
264
  }
277
265
 
278
266
  @media screen and (min-width: 48rem) {
267
+ .LogoSuite--gridline-expressive {
268
+ padding-inline: 91px;
269
+ }
270
+
279
271
  .LogoSuite--gridline-expressive .LogoSuite__logobarContainer {
280
- padding: var(--base-size-36);
272
+ padding: var(--base-size-40);
281
273
  }
282
274
  .LogoSuite--gridline-expressive .LogoSuite__content {
283
275
  border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
@@ -288,6 +280,10 @@
288
280
  }
289
281
 
290
282
  @media screen and (min-width: 64rem) {
283
+ .LogoSuite--gridline-expressive {
284
+ padding-inline: 0;
285
+ }
286
+
291
287
  .LogoSuite--gridline-expressive .LogoSuite__content {
292
288
  max-width: 1280px;
293
289
  }
@@ -0,0 +1,358 @@
1
+ .MediaPlaylist {
2
+ padding-block-start: var(--base-size-36);
3
+ padding-inline: var(--base-size-20);
4
+ }
5
+
6
+ @media screen and (max-width: 63.24rem) {
7
+ .MediaPlaylist {
8
+ width: 100%;
9
+ max-width: 38.625rem;
10
+ margin-inline: auto;
11
+ padding: 0;
12
+ }
13
+ }
14
+
15
+ .MediaPlaylist__layout {
16
+ display: flex;
17
+ flex-direction: column;
18
+ background: var(--brand-MediaPlaylist-bgColor);
19
+ }
20
+
21
+ .MediaPlaylist__playlist {
22
+ order: 2;
23
+ min-width: 0;
24
+ border-block-start: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
25
+ }
26
+
27
+ .MediaPlaylist__heading {
28
+ display: flex;
29
+ min-height: var(--base-size-48);
30
+ align-items: center;
31
+ gap: var(--base-size-8);
32
+ padding: var(--base-size-12) var(--base-size-16);
33
+ border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
34
+ color: var(--brand-color-text-muted);
35
+ font-family: var(--brand-fontStack-monospace);
36
+ font-size: var(--brand-text-size-100);
37
+ line-height: var(--brand-text-lineHeight-100);
38
+ text-transform: uppercase;
39
+ }
40
+
41
+ .MediaPlaylist__headingLabel {
42
+ margin: 0;
43
+ color: inherit;
44
+ font-family: inherit;
45
+ font-size: inherit;
46
+ font-weight: inherit;
47
+ letter-spacing: inherit;
48
+ line-height: inherit;
49
+ text-transform: inherit;
50
+ }
51
+
52
+ .MediaPlaylist__headingCounter {
53
+ display: inline-flex;
54
+ align-items: center;
55
+ gap: var(--base-size-8);
56
+ color: var(--brand-color-text-default);
57
+ }
58
+
59
+ .MediaPlaylist__headingCounter::before {
60
+ content: '•';
61
+ color: var(--brand-color-text-muted);
62
+ }
63
+
64
+ .MediaPlaylist__mediaPanels {
65
+ order: 1;
66
+ width: 100%;
67
+ padding: var(--base-size-16);
68
+ }
69
+
70
+ .MediaPlaylist__mediaPanel {
71
+ min-width: 0;
72
+ }
73
+
74
+ .MediaPlaylist__mediaPanel[hidden] {
75
+ display: none;
76
+ }
77
+
78
+ .MediaPlaylist__panel {
79
+ display: flex;
80
+ flex-direction: column;
81
+ gap: var(--base-size-20);
82
+ width: 100%;
83
+ }
84
+
85
+ .MediaPlaylist__panelContent {
86
+ max-width: var(--brand-Prose-lineLength);
87
+ }
88
+
89
+ .MediaPlaylist__media {
90
+ overflow: hidden;
91
+ background-color: var(--base-color-scale-black-0);
92
+ }
93
+
94
+ .MediaPlaylist__media :is(img, picture, video, iframe) {
95
+ display: block;
96
+ width: 100%;
97
+ max-width: 100%;
98
+ }
99
+
100
+ .MediaPlaylist__tablist {
101
+ order: 2;
102
+ display: flex;
103
+ flex-direction: column;
104
+ overflow-x: hidden;
105
+ }
106
+
107
+ .MediaPlaylist--overflowItems .MediaPlaylist__tablist {
108
+ max-block-size: calc((3 * var(--base-size-64)) + (6 * var(--base-size-12)));
109
+ overflow-y: auto;
110
+ overscroll-behavior: contain;
111
+ scroll-padding-block: var(--base-size-24);
112
+ }
113
+
114
+ .MediaPlaylist__pagination {
115
+ order: 3;
116
+ display: flex;
117
+ justify-content: center;
118
+ margin: 0;
119
+ padding: var(--base-size-12) var(--base-size-16) var(--base-size-16);
120
+ border-block-start: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
121
+ }
122
+
123
+ .MediaPlaylist__item {
124
+ position: relative;
125
+ min-width: 0;
126
+ display: flex;
127
+ flex: 0 0 auto;
128
+ flex-direction: column;
129
+ align-items: flex-start;
130
+ min-block-size: calc(var(--base-size-64) + (2 * var(--base-size-12)));
131
+ overflow-x: hidden;
132
+ }
133
+
134
+ .MediaPlaylist__item::before {
135
+ content: '';
136
+ position: absolute;
137
+ inset-block-end: 0;
138
+ inset-inline: 0;
139
+ height: var(--brand-borderWidth-thin);
140
+ transform: scaleY(1);
141
+ transform-origin: 50% 100%;
142
+ background-color: var(--brand-color-border-muted);
143
+ transition: transform var(--brand-animation-duration-fast) ease,
144
+ background-color var(--brand-animation-duration-fast) ease;
145
+ }
146
+
147
+ .MediaPlaylist__item--selected {
148
+ background-color: var(--brand-color-canvas-subtle);
149
+ }
150
+
151
+ .MediaPlaylist__item--selected::before {
152
+ transform: scaleY(2);
153
+ background-color: var(--brand-color-accent-primary);
154
+ }
155
+
156
+ .MediaPlaylist__itemHeading {
157
+ display: block;
158
+ margin: 0;
159
+ color: var(--brand-color-text-muted);
160
+ }
161
+
162
+ .MediaPlaylist__item--selected .MediaPlaylist__itemHeading {
163
+ color: var(--brand-color-text-default);
164
+ }
165
+
166
+ .MediaPlaylist__itemHeadingContent {
167
+ flex: 1 1 auto;
168
+ min-width: 0;
169
+ }
170
+
171
+ .MediaPlaylist__itemHeadingDetails {
172
+ display: flex;
173
+ flex-direction: column;
174
+ gap: var(--base-size-4);
175
+ min-width: 0;
176
+ }
177
+
178
+ .MediaPlaylist__itemHeadingTitle {
179
+ display: -webkit-box;
180
+ color: inherit;
181
+ overflow: hidden;
182
+ overflow-wrap: anywhere;
183
+ -webkit-box-orient: vertical;
184
+ -webkit-line-clamp: 2;
185
+ line-clamp: 2;
186
+ }
187
+
188
+ .MediaPlaylist__tab {
189
+ box-sizing: border-box;
190
+ width: 100%;
191
+ min-block-size: calc(var(--base-size-64) + (2 * var(--base-size-12)));
192
+ border: 0;
193
+ background: transparent;
194
+ color: inherit;
195
+ font: inherit;
196
+ text-align: left;
197
+ display: flex;
198
+ flex-direction: column;
199
+ align-items: flex-start;
200
+ cursor: pointer;
201
+ outline: none;
202
+ padding: var(--base-size-12) var(--base-size-16);
203
+ }
204
+
205
+ .MediaPlaylist__tabContent {
206
+ display: flex;
207
+ align-items: flex-start;
208
+ min-width: 0;
209
+ width: 100%;
210
+ gap: var(--base-size-12);
211
+ }
212
+
213
+ .MediaPlaylist__thumbnail {
214
+ display: block;
215
+ flex-shrink: 0;
216
+ width: var(--base-size-112);
217
+ block-size: calc(var(--base-size-64) - var(--brand-borderWidth-thin));
218
+ overflow: hidden;
219
+ aspect-ratio: 16 / 9;
220
+ border-radius: var(--brand-borderRadius-small);
221
+ background-color: var(--brand-color-canvas-subtle);
222
+ }
223
+
224
+ .MediaPlaylist__thumbnail > * {
225
+ display: block;
226
+ width: 100%;
227
+ height: 100%;
228
+ -o-object-fit: cover;
229
+ object-fit: cover;
230
+ }
231
+
232
+ .MediaPlaylist__tab:focus-visible {
233
+ outline: var(--brand-borderWidth-thick) solid var(--brand-color-focus);
234
+ outline-offset: var(--base-size-4);
235
+ }
236
+
237
+ .MediaPlaylist__content {
238
+ display: flex;
239
+ flex-direction: column;
240
+ align-items: flex-start;
241
+ gap: var(--base-size-12);
242
+ }
243
+
244
+ @media screen and (min-width: 38.625rem) {
245
+ .MediaPlaylist {
246
+ border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
247
+ }
248
+ }
249
+
250
+ @media screen and (min-width: 63.25rem) {
251
+ .MediaPlaylist {
252
+ box-sizing: border-box;
253
+ width: 100%;
254
+ max-inline-size: 80rem;
255
+ margin-inline: auto;
256
+ padding: 0;
257
+ border-inline: none;
258
+ }
259
+
260
+ .MediaPlaylist__layout {
261
+ --brand-MediaPlaylist-desktopGutter: 3.75rem;
262
+ --brand-MediaPlaylist-sidebarWidth: 27rem;
263
+
264
+ display: grid;
265
+ box-sizing: border-box;
266
+ width: 100%;
267
+ grid-template-areas: 'media tabs';
268
+ grid-template-columns: minmax(0, 1fr) minmax(0, var(--brand-MediaPlaylist-sidebarWidth));
269
+ -moz-column-gap: var(--brand-MediaPlaylist-desktopGutter);
270
+ column-gap: var(--brand-MediaPlaylist-desktopGutter);
271
+ padding-inline-start: var(--brand-MediaPlaylist-desktopGutter);
272
+ }
273
+
274
+ .MediaPlaylist__playlist {
275
+ grid-area: tabs;
276
+ display: flex;
277
+ flex-direction: column;
278
+ align-self: stretch;
279
+ padding-block-start: calc(var(--base-size-48) + var(--base-size-12));
280
+ border: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
281
+ }
282
+
283
+ .MediaPlaylist--overflowItems .MediaPlaylist__tablist {
284
+ max-block-size: calc((3 * var(--base-size-64)) + (6 * var(--base-size-20)));
285
+ }
286
+
287
+ .MediaPlaylist__mediaPanels {
288
+ grid-area: media;
289
+ display: flex;
290
+ align-items: flex-start;
291
+ justify-content: flex-start;
292
+ padding-block: var(--base-size-80);
293
+ padding-inline: 0;
294
+ }
295
+
296
+ .MediaPlaylist__mediaPanel {
297
+ width: 100%;
298
+ }
299
+
300
+ .MediaPlaylist__panel {
301
+ gap: var(--base-size-40);
302
+ }
303
+
304
+ .MediaPlaylist__panelContent {
305
+ width: 100%;
306
+ }
307
+
308
+ .MediaPlaylist__media {
309
+ width: 100%;
310
+ }
311
+
312
+ .MediaPlaylist__media iframe {
313
+ aspect-ratio: 16 / 9;
314
+ border-radius: var(--base-size-6);
315
+ }
316
+
317
+ .MediaPlaylist__itemHeadingDetails {
318
+ font-size: var(--brand-text-size-200);
319
+ line-height: var(--brand-text-lineHeight-200);
320
+ }
321
+
322
+ .MediaPlaylist__panelContent :is(h1, h2, h3) + p {
323
+ margin-block-start: var(--base-size-12);
324
+ }
325
+
326
+ .MediaPlaylist__heading {
327
+ min-height: auto;
328
+ padding-block-start: var(--base-size-24);
329
+ padding-block-end: var(--base-size-12);
330
+ padding-inline-start: var(--base-size-32);
331
+ padding-inline-end: var(--brand-MediaPlaylist-desktopGutter);
332
+ }
333
+
334
+ .MediaPlaylist__item {
335
+ min-block-size: calc(var(--base-size-64) + (2 * var(--base-size-20)));
336
+ }
337
+
338
+ .MediaPlaylist__tab {
339
+ min-block-size: calc(var(--base-size-64) + (2 * var(--base-size-20)));
340
+ padding-block: var(--base-size-20);
341
+ padding-inline-start: var(--base-size-32);
342
+ padding-inline-end: var(--brand-MediaPlaylist-desktopGutter);
343
+ }
344
+
345
+ .MediaPlaylist__tabContent {
346
+ align-items: center;
347
+ }
348
+ }
349
+
350
+ @media screen and (min-width: 80rem) {
351
+ .MediaPlaylist {
352
+ border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
353
+ }
354
+
355
+ .MediaPlaylist__playlist {
356
+ border-inline-end: 0;
357
+ }
358
+ }
@@ -6,133 +6,75 @@
6
6
 
7
7
  .Pagination__inner {
8
8
  display: inline-flex;
9
+ flex-wrap: wrap;
9
10
  align-items: center;
11
+ justify-content: center;
10
12
  gap: var(--base-size-8);
11
13
  }
12
14
 
13
- .Pagination__item {
14
- min-width: var(--base-size-32);
15
- height: var(--base-size-32);
16
- text-align: center;
17
- white-space: nowrap;
18
- vertical-align: middle;
19
- cursor: pointer;
20
- -webkit-user-select: none;
21
- -moz-user-select: none;
22
- user-select: none;
23
- text-decoration: none;
24
- padding: var(--base-size-4) var(--base-size-8);
25
- border: var(--brand-borderWidth-thick) solid transparent;
26
- border-radius: var(--brand-borderRadius-medium);
27
- transition: border-color var(--brand-animation-duration-fast) var(--brand-animation-easing-default);
28
- }
29
-
30
- .Pagination__item span {
31
- font-size: var(--brand-text-size-100);
32
- line-height: var(--base-size-20);
33
- }
34
-
35
- .Pagination__item:hover,
36
- .Pagination__item:focus {
37
- text-decoration: none;
38
- outline: 0;
39
- transition-duration: 0.1s;
40
- border-color: var(--brand-pagination-borderColor-hover);
41
- }
42
-
43
- .Pagination__item::after {
44
- display: none;
45
- }
46
-
47
- .Pagination__item:active {
48
- border-color: var(--brand-pagination-link-bgColor-active);
49
- }
50
-
51
- .Pagination__item[aria-current],
52
- .Pagination__item[aria-current]:hover {
53
- background-color: var(--brand-pagination-link-bgColor-active);
54
- border-color: transparent;
55
- }
56
-
57
- .Pagination__item[aria-current] * {
58
- color: var(--brand-color-text-onEmphasis);
15
+ .Pagination__pageItem {
16
+ transition: none; /* Prevents flash of background color when changing pages */
17
+ --brand-button-subtle-borderColor-rest: transparent;
18
+ --brand-button-subtle-borderColor-hover: transparent;
19
+ --brand-button-subtle-borderColor-active: transparent;
59
20
  }
60
21
 
61
- .Pagination__item[aria-disabled],
62
- .Pagination__item[aria-disabled]:hover,
63
- .Pagination__item[role='presentation'],
64
- .Pagination__item[role='presentation']:hover {
65
- color: var(--brand-color-text-muted);
66
- cursor: default;
67
- background-color: transparent;
68
- border-color: transparent;
69
- font-size: inherit;
70
- font-family: inherit;
71
- padding-top: inherit;
72
- padding-bottom: inherit;
73
- }
74
-
75
- .Pagination__item[aria-disabled] *,
76
- .Pagination__item[aria-disabled]:hover *,
77
- .Pagination__item[role='presentation'] *,
78
- .Pagination__item[role='presentation']:hover * {
79
- color: inherit;
22
+ .Pagination__controlContent {
23
+ position: relative;
24
+ display: inline-flex;
25
+ gap: var(--base-size-4);
26
+ align-items: center;
80
27
  }
81
28
 
82
- .Pagination__showPages .Pagination__item[rel='prev'] span,
83
- .Pagination__showPages .Pagination__item[rel='next'] span {
29
+ .Pagination__controlArrowWrapper {
84
30
  display: none;
31
+ flex-shrink: 0;
85
32
  }
86
33
 
87
- .Pagination__item[rel='prev'] svg,
88
- .Pagination__item[rel='next'] svg {
89
- margin-inline: 0;
90
- position: relative;
34
+ .Pagination__controlArrowWrapper--previous {
35
+ transform: translateX(var(--base-size-2));
91
36
  }
92
37
 
93
- .Pagination__item[rel='prev'] svg {
94
- left: var(--base-size-2);
38
+ .Pagination__controlArrowWrapper--next {
39
+ transform: translateX(calc(var(--base-size-2) * -1));
95
40
  }
96
41
 
97
- .Pagination__item[rel='next'] svg {
98
- right: var(--base-size-2);
42
+ .Pagination__controlArrow {
43
+ width: var(--base-size-16);
44
+ height: var(--base-size-16);
99
45
  }
100
46
 
101
- @media screen and (min-width: 48rem) {
102
- .Pagination__item[rel='prev'] span,
103
- .Pagination__item[rel='next'] span {
104
- display: block !important;
47
+ @media screen and (max-width: 47.99rem) {
48
+ .Pagination__controlItem {
49
+ padding-inline: var(--base-size-8);
50
+ --brand-button-subtle-borderColor-rest: transparent;
51
+ --brand-button-subtle-borderColor-hover: transparent;
52
+ --brand-button-subtle-borderColor-active: transparent;
105
53
  }
106
54
 
107
- .Pagination__item[rel='prev'] svg,
108
- .Pagination__item[rel='next'] svg {
109
- margin-inline: unset;
110
- left: 0;
111
- right: 0;
55
+ .Pagination__controlText {
56
+ position: absolute;
57
+ width: var(--base-size-2);
58
+ height: var(--base-size-2);
59
+ padding: 0;
60
+ overflow: hidden;
61
+ clip: rect(0, 0, 0, 0);
62
+ word-wrap: normal;
63
+ border: 0;
112
64
  }
113
65
 
114
- .Pagination__item[rel='prev'][aria-disabled] svg,
115
- .Pagination__item[rel='next'][aria-disabled] svg {
116
- display: none;
66
+ .Pagination__controlArrowWrapper {
67
+ display: flex;
117
68
  }
118
- }
119
69
 
120
- @media (forced-colors: active) {
121
- .Pagination__item[aria-current],
122
- .Pagination__item[aria-current]:hover {
123
- border-color: Highlight;
124
- border-width: var(--brand-borderWidth-thicker);
70
+ .Pagination__controlItem > span {
71
+ display: flex;
72
+ align-items: center;
125
73
  }
126
- }
127
74
 
128
- /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
129
- @media (prefers-reduced-motion: reduce) {
130
- .Pagination,
131
- .Pagination::before,
132
- .Pagination::after,
133
- .Pagination * {
134
- animation: none !important;
135
- transition: none !important;
136
- scroll-behavior: auto !important;
75
+ .Pagination__controlItem > span > span {
76
+ display: flex;
77
+ align-items: center;
78
+ line-height: 0;
137
79
  }
138
80
  }