@solid-design-system/styles 1.2.0 → 1.3.1
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.
- package/CHANGELOG.md +16 -0
- package/cdn/modules/copyright.css +1 -1
- package/cdn/modules/pagination.css +1 -0
- package/cdn/solid-styles.css +1 -1
- package/cdn-versioned/modules/chip.css +1 -1
- package/cdn-versioned/modules/container.css +1 -1
- package/cdn-versioned/modules/copyright.css +1 -1
- package/cdn-versioned/modules/display.css +1 -1
- package/cdn-versioned/modules/flag.css +1 -1
- package/cdn-versioned/modules/footnotes.css +1 -1
- package/cdn-versioned/modules/headline.css +1 -1
- package/cdn-versioned/modules/hidden-links.css +1 -1
- package/cdn-versioned/modules/interactive.css +1 -1
- package/cdn-versioned/modules/leadtext.css +1 -1
- package/cdn-versioned/modules/list.css +1 -1
- package/cdn-versioned/modules/mark.css +1 -1
- package/cdn-versioned/modules/media.css +1 -1
- package/cdn-versioned/modules/meta.css +1 -1
- package/cdn-versioned/modules/pagination.css +1 -0
- package/cdn-versioned/modules/paragraph.css +1 -1
- package/cdn-versioned/modules/prose.css +1 -1
- package/cdn-versioned/modules/status-badge.css +1 -1
- package/cdn-versioned/modules/table-cell.css +1 -1
- package/cdn-versioned/modules/table.css +1 -1
- package/cdn-versioned/solid-styles.css +1 -1
- package/dist/modules/copyright.css +38 -29
- package/dist/modules/pagination.css +469 -0
- package/dist/solid-styles.css +351 -0
- package/dist-versioned/modules/chip.css +6 -6
- package/dist-versioned/modules/container.css +45 -45
- package/dist-versioned/modules/copyright.css +49 -40
- package/dist-versioned/modules/display.css +9 -9
- package/dist-versioned/modules/flag.css +6 -6
- package/dist-versioned/modules/footnotes.css +26 -26
- package/dist-versioned/modules/headline.css +67 -67
- package/dist-versioned/modules/hidden-links.css +7 -7
- package/dist-versioned/modules/interactive.css +38 -38
- package/dist-versioned/modules/leadtext.css +8 -8
- package/dist-versioned/modules/list.css +47 -47
- package/dist-versioned/modules/mark.css +2 -2
- package/dist-versioned/modules/media.css +7 -7
- package/dist-versioned/modules/meta.css +12 -12
- package/dist-versioned/modules/pagination.css +469 -0
- package/dist-versioned/modules/paragraph.css +8 -8
- package/dist-versioned/modules/prose.css +231 -231
- package/dist-versioned/modules/status-badge.css +8 -8
- package/dist-versioned/modules/table-cell.css +23 -23
- package/dist-versioned/modules/table.css +4 -4
- package/dist-versioned/solid-styles.css +707 -356
- package/package.json +7 -10
@@ -0,0 +1,469 @@
|
|
1
|
+
/**
|
2
|
+
* Used to split large content into several pages, allowing users to navigate between them instead of displaying all information on a single page.
|
3
|
+
* @name sd-pagination
|
4
|
+
* @status stable
|
5
|
+
* @since 1.3
|
6
|
+
* @variant { simple } sd-pagination--... The pagination format.
|
7
|
+
* @boolean sd-pagination--inverted Inverts the pagination style.
|
8
|
+
*/
|
9
|
+
|
10
|
+
.sd-pagination > :not(ul) {
|
11
|
+
|
12
|
+
position: absolute;
|
13
|
+
|
14
|
+
height: var(--sd-spacing-0-25, 1px) /* 1px */;
|
15
|
+
|
16
|
+
width: var(--sd-spacing-0-25, 1px) /* 1px */;
|
17
|
+
|
18
|
+
overflow: hidden
|
19
|
+
}
|
20
|
+
|
21
|
+
.sd-pagination ul {
|
22
|
+
|
23
|
+
display: flex;
|
24
|
+
|
25
|
+
align-items: center;
|
26
|
+
|
27
|
+
gap: var(--sd-spacing-2, 0.5rem) /* 8px */
|
28
|
+
}
|
29
|
+
|
30
|
+
.sd-pagination ul li a {
|
31
|
+
|
32
|
+
display: flex;
|
33
|
+
|
34
|
+
align-items: center;
|
35
|
+
|
36
|
+
justify-content: center;
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
41
|
+
|
42
|
+
transition-property: color;
|
43
|
+
|
44
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
45
|
+
|
46
|
+
transition-duration: 150ms
|
47
|
+
}
|
48
|
+
|
49
|
+
.sd-pagination ul li a:hover:not([disabled]) {
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */
|
54
|
+
}
|
55
|
+
|
56
|
+
.sd-pagination ul li a:active:not([disabled]) {
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */
|
61
|
+
}
|
62
|
+
|
63
|
+
.sd-pagination ul li a:focus-visible {
|
64
|
+
|
65
|
+
outline-style: solid;
|
66
|
+
|
67
|
+
outline-width: 2px;
|
68
|
+
|
69
|
+
outline-offset: 2px;
|
70
|
+
|
71
|
+
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */
|
72
|
+
}
|
73
|
+
|
74
|
+
/* Previous and Next */
|
75
|
+
|
76
|
+
.sd-pagination ul li:first-child,
|
77
|
+
.sd-pagination ul li:last-child {
|
78
|
+
|
79
|
+
height: var(--sd-spacing-12, 3rem) /* 48px */;
|
80
|
+
|
81
|
+
width: var(--sd-spacing-12, 3rem) /* 48px */
|
82
|
+
}
|
83
|
+
|
84
|
+
.sd-pagination ul li:first-child a, .sd-pagination ul li:last-child a {
|
85
|
+
|
86
|
+
height: 100%;
|
87
|
+
|
88
|
+
width: 100%
|
89
|
+
}
|
90
|
+
|
91
|
+
.sd-pagination ul li:first-child sd-icon, .sd-pagination ul li:last-child sd-icon {
|
92
|
+
|
93
|
+
height: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
94
|
+
|
95
|
+
width: var(--sd-spacing-6, 1.5rem) /* 24px */
|
96
|
+
}
|
97
|
+
|
98
|
+
/* Numbers */
|
99
|
+
|
100
|
+
.sd-pagination ul li {
|
101
|
+
|
102
|
+
display: flex;
|
103
|
+
|
104
|
+
height: var(--sd-spacing-8, 2rem) /* 32px */;
|
105
|
+
|
106
|
+
width: var(--sd-spacing-8, 2rem) /* 32px */;
|
107
|
+
|
108
|
+
align-items: center;
|
109
|
+
|
110
|
+
justify-content: center;
|
111
|
+
|
112
|
+
text-align: center
|
113
|
+
}
|
114
|
+
|
115
|
+
.sd-pagination ul li:not(:has(a sd-icon)) a {
|
116
|
+
|
117
|
+
height: 100%;
|
118
|
+
|
119
|
+
width: 100%;
|
120
|
+
|
121
|
+
border-bottom-width: 2px;
|
122
|
+
|
123
|
+
border-bottom-color: transparent
|
124
|
+
}
|
125
|
+
|
126
|
+
.sd-pagination ul li:not(:has(a sd-icon)) a[aria-current] {
|
127
|
+
|
128
|
+
--tw-border-opacity: 1;
|
129
|
+
|
130
|
+
border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
|
131
|
+
*/
|
132
|
+
}
|
133
|
+
|
134
|
+
.sd-pagination ul li a[aria-current] {
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
139
|
+
}
|
140
|
+
|
141
|
+
.sd-pagination ul li a[aria-current]:hover:not([disabled]) {
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
146
|
+
}
|
147
|
+
|
148
|
+
/* Previous and next arrow when it has no href */
|
149
|
+
|
150
|
+
.sd-pagination ul li:has(a:not([href]) sd-icon) a {
|
151
|
+
|
152
|
+
cursor: not-allowed;
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */
|
157
|
+
}
|
158
|
+
|
159
|
+
.sd-pagination ul li:has(a:not([href]) sd-icon) a:hover:not([disabled]) {
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */
|
164
|
+
}
|
165
|
+
|
166
|
+
/* Numbers */
|
167
|
+
|
168
|
+
/* Number which is not current */
|
169
|
+
|
170
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):not(:has(a[aria-current])) {
|
171
|
+
|
172
|
+
pointer-events: none;
|
173
|
+
|
174
|
+
position: absolute
|
175
|
+
}
|
176
|
+
|
177
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):not(:has(a[aria-current])) a {
|
178
|
+
|
179
|
+
display: none
|
180
|
+
}
|
181
|
+
|
182
|
+
/* Apply ellipsis to (n + 2 && n - 1) */
|
183
|
+
|
184
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li + li a[aria-current]),
|
185
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li + li:not(:last-child) {
|
186
|
+
|
187
|
+
pointer-events: auto !important;
|
188
|
+
|
189
|
+
position: relative !important
|
190
|
+
}
|
191
|
+
|
192
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li + li a[aria-current])::after,
|
193
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li + li:not(:last-child)::after {
|
194
|
+
|
195
|
+
--tw-content: '...';
|
196
|
+
|
197
|
+
content: var(--tw-content)
|
198
|
+
}
|
199
|
+
|
200
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2),
|
201
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2),
|
202
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current]),
|
203
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li {
|
204
|
+
|
205
|
+
pointer-events: auto !important;
|
206
|
+
|
207
|
+
position: relative !important
|
208
|
+
}
|
209
|
+
|
210
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2)::after,
|
211
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2)::after,
|
212
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current])::after,
|
213
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li::after {
|
214
|
+
|
215
|
+
content: var(--tw-content) !important;
|
216
|
+
|
217
|
+
display: none !important
|
218
|
+
}
|
219
|
+
|
220
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2) a, .sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2) a, .sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current]) a, .sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li a {
|
221
|
+
|
222
|
+
display: flex !important
|
223
|
+
}
|
224
|
+
|
225
|
+
/* When one of the first 4 pages is selected */
|
226
|
+
|
227
|
+
/* Show until the 5th page (forward) */
|
228
|
+
|
229
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) {
|
230
|
+
|
231
|
+
pointer-events: auto;
|
232
|
+
|
233
|
+
position: relative
|
234
|
+
}
|
235
|
+
|
236
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6)::after {
|
237
|
+
|
238
|
+
content: var(--tw-content);
|
239
|
+
|
240
|
+
display: none
|
241
|
+
}
|
242
|
+
|
243
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) a {
|
244
|
+
|
245
|
+
display: flex
|
246
|
+
}
|
247
|
+
|
248
|
+
/* Show ellipsis on the 6th */
|
249
|
+
|
250
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li {
|
251
|
+
|
252
|
+
pointer-events: none;
|
253
|
+
|
254
|
+
position: relative
|
255
|
+
}
|
256
|
+
|
257
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li::after {
|
258
|
+
|
259
|
+
--tw-content: '...';
|
260
|
+
|
261
|
+
content: var(--tw-content)
|
262
|
+
}
|
263
|
+
|
264
|
+
/* When one of the first 4 pages is selected, show until the 5th page (backward) */
|
265
|
+
|
266
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) {
|
267
|
+
|
268
|
+
pointer-events: auto;
|
269
|
+
|
270
|
+
position: relative
|
271
|
+
}
|
272
|
+
|
273
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current])::after {
|
274
|
+
|
275
|
+
content: var(--tw-content);
|
276
|
+
|
277
|
+
display: none
|
278
|
+
}
|
279
|
+
|
280
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) a {
|
281
|
+
|
282
|
+
display: flex
|
283
|
+
}
|
284
|
+
|
285
|
+
/* When one of the last 4 pages is selected, show the last 4 pages (forward) */
|
286
|
+
|
287
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon)) {
|
288
|
+
|
289
|
+
pointer-events: auto;
|
290
|
+
|
291
|
+
position: relative
|
292
|
+
}
|
293
|
+
|
294
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon))::after {
|
295
|
+
|
296
|
+
content: var(--tw-content);
|
297
|
+
|
298
|
+
display: none
|
299
|
+
}
|
300
|
+
|
301
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon)) a {
|
302
|
+
|
303
|
+
display: flex
|
304
|
+
}
|
305
|
+
|
306
|
+
/* When one of the last 4 pages is selected, show the last 4 pages (backward) */
|
307
|
+
|
308
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) {
|
309
|
+
|
310
|
+
pointer-events: auto;
|
311
|
+
|
312
|
+
position: relative
|
313
|
+
}
|
314
|
+
|
315
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
|
316
|
+
|
317
|
+
content: var(--tw-content);
|
318
|
+
|
319
|
+
display: none
|
320
|
+
}
|
321
|
+
|
322
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) a {
|
323
|
+
|
324
|
+
display: flex
|
325
|
+
}
|
326
|
+
|
327
|
+
/* Show ellipsis on the 6th to last */
|
328
|
+
|
329
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current]) {
|
330
|
+
|
331
|
+
pointer-events: none;
|
332
|
+
|
333
|
+
position: relative
|
334
|
+
}
|
335
|
+
|
336
|
+
.sd-pagination:not(.sd-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
|
337
|
+
|
338
|
+
--tw-content: '...';
|
339
|
+
|
340
|
+
content: var(--tw-content)
|
341
|
+
}
|
342
|
+
|
343
|
+
/* When it only has 5 numbers + 2 prev & next buttons */
|
344
|
+
|
345
|
+
.sd-pagination:not(.sd-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li {
|
346
|
+
|
347
|
+
pointer-events: auto;
|
348
|
+
|
349
|
+
position: relative
|
350
|
+
}
|
351
|
+
|
352
|
+
.sd-pagination:not(.sd-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li::after {
|
353
|
+
|
354
|
+
content: var(--tw-content);
|
355
|
+
|
356
|
+
display: none
|
357
|
+
}
|
358
|
+
|
359
|
+
.sd-pagination:not(.sd-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li a {
|
360
|
+
|
361
|
+
display: flex
|
362
|
+
}
|
363
|
+
|
364
|
+
.sd-pagination--simple ul li:nth-child(2) {
|
365
|
+
|
366
|
+
position: relative;
|
367
|
+
|
368
|
+
margin-inline-end: var(--sd-spacing-5, 1.25rem) /* 20px */;
|
369
|
+
|
370
|
+
width: var(--sd-spacing-8, 2rem) /* 32px */;
|
371
|
+
|
372
|
+
border-bottom-width: 2px;
|
373
|
+
|
374
|
+
--tw-border-opacity: 1;
|
375
|
+
|
376
|
+
border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
|
377
|
+
*/
|
378
|
+
}
|
379
|
+
|
380
|
+
.sd-pagination--simple ul li:nth-child(2)::after {
|
381
|
+
|
382
|
+
position: absolute;
|
383
|
+
|
384
|
+
right: -18px;
|
385
|
+
|
386
|
+
--tw-scale-y: 1.5;
|
387
|
+
|
388
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
389
|
+
|
390
|
+
--tw-content: '/';
|
391
|
+
|
392
|
+
content: var(--tw-content)
|
393
|
+
}
|
394
|
+
|
395
|
+
.sd-pagination--simple ul li:nth-last-child(2) {
|
396
|
+
|
397
|
+
border-bottom-width: 2px;
|
398
|
+
|
399
|
+
border-bottom-color: transparent
|
400
|
+
}
|
401
|
+
|
402
|
+
.sd-pagination--inverted ul li::after {
|
403
|
+
|
404
|
+
content: var(--tw-content);
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
409
|
+
}
|
410
|
+
|
411
|
+
.sd-pagination--inverted ul li:has(a:not([href]) sd-icon) a {
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
|
416
|
+
}
|
417
|
+
|
418
|
+
.sd-pagination--inverted ul li:has(a:not([href]) sd-icon) a:hover:not([disabled]) {
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
|
423
|
+
}
|
424
|
+
|
425
|
+
.sd-pagination--inverted ul li a,
|
426
|
+
.sd-pagination--inverted ul li a[aria-current] {
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
431
|
+
}
|
432
|
+
|
433
|
+
.sd-pagination--inverted ul li a:hover:not([disabled]),
|
434
|
+
.sd-pagination--inverted ul li a[aria-current]:hover:not([disabled]) {
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
color: rgb(var(--sd-color-primary-200, 224 233 243) / var(--tw-text-opacity, 1)) /* Used for inverted hover interaction text link and inverted pressed interaction button label */
|
439
|
+
}
|
440
|
+
|
441
|
+
.sd-pagination--inverted ul li a:active:not([disabled]),
|
442
|
+
.sd-pagination--inverted ul li a[aria-current]:active:not([disabled]) {
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
447
|
+
Used for inverted pressed interaction text link */
|
448
|
+
}
|
449
|
+
|
450
|
+
.sd-pagination--inverted ul li a:focus-visible, .sd-pagination--inverted ul li a[aria-current]:focus-visible {
|
451
|
+
|
452
|
+
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */
|
453
|
+
}
|
454
|
+
|
455
|
+
.sd-pagination--inverted.sd-pagination--simple ul li {
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
460
|
+
}
|
461
|
+
|
462
|
+
.sd-pagination--inverted.sd-pagination--simple ul li::after {
|
463
|
+
|
464
|
+
content: var(--tw-content);
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
469
|
+
}
|