@solid-design-system/styles 1.3.3 → 1.4.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 +14 -0
- package/cdn/modules/interactive.css +1 -1
- package/cdn/modules/prose.css +1 -1
- 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 -1
- 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/interactive.css +5 -1
- package/dist/modules/prose.css +5 -1
- package/dist/solid-styles.css +5 -1
- package/dist-versioned/modules/chip.css +6 -6
- package/dist-versioned/modules/container.css +45 -45
- package/dist-versioned/modules/copyright.css +11 -11
- 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 +43 -39
- 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 +72 -72
- package/dist-versioned/modules/paragraph.css +8 -8
- package/dist-versioned/modules/prose.css +236 -232
- 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 +431 -427
- package/package.json +1 -1
@@ -1,13 +1,13 @@
|
|
1
1
|
/**
|
2
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-1-
|
3
|
+
* @name sd-1-4-1-pagination
|
4
4
|
* @status stable
|
5
5
|
* @since 1.3
|
6
|
-
* @variant { simple } sd-1-
|
7
|
-
* @boolean sd-1-
|
6
|
+
* @variant { simple } sd-1-4-1-pagination--... The pagination format.
|
7
|
+
* @boolean sd-1-4-1-pagination--inverted Inverts the pagination style.
|
8
8
|
*/
|
9
9
|
|
10
|
-
.sd-1-
|
10
|
+
.sd-1-4-1-pagination > :not(ul) {
|
11
11
|
|
12
12
|
position: absolute;
|
13
13
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
overflow: hidden
|
19
19
|
}
|
20
20
|
|
21
|
-
.sd-1-
|
21
|
+
.sd-1-4-1-pagination ul {
|
22
22
|
|
23
23
|
display: flex;
|
24
24
|
|
@@ -27,7 +27,7 @@
|
|
27
27
|
gap: var(--sd-spacing-2, 0.5rem) /* 8px */
|
28
28
|
}
|
29
29
|
|
30
|
-
.sd-1-
|
30
|
+
.sd-1-4-1-pagination ul li a {
|
31
31
|
|
32
32
|
display: flex;
|
33
33
|
|
@@ -48,21 +48,21 @@
|
|
48
48
|
transition-duration: 150ms
|
49
49
|
}
|
50
50
|
|
51
|
-
.sd-1-
|
51
|
+
.sd-1-4-1-pagination ul li a:hover:not([disabled]) {
|
52
52
|
|
53
53
|
|
54
54
|
|
55
55
|
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */
|
56
56
|
}
|
57
57
|
|
58
|
-
.sd-1-
|
58
|
+
.sd-1-4-1-pagination ul li a:active:not([disabled]) {
|
59
59
|
|
60
60
|
|
61
61
|
|
62
62
|
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */
|
63
63
|
}
|
64
64
|
|
65
|
-
.sd-1-
|
65
|
+
.sd-1-4-1-pagination ul li a:focus-visible {
|
66
66
|
|
67
67
|
outline-style: solid;
|
68
68
|
|
@@ -75,8 +75,8 @@
|
|
75
75
|
|
76
76
|
/* Previous and Next */
|
77
77
|
|
78
|
-
.sd-1-
|
79
|
-
.sd-1-
|
78
|
+
.sd-1-4-1-pagination ul li:first-child,
|
79
|
+
.sd-1-4-1-pagination ul li:last-child {
|
80
80
|
|
81
81
|
height: var(--sd-spacing-12, 3rem) /* 48px */;
|
82
82
|
|
@@ -85,7 +85,7 @@
|
|
85
85
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */
|
86
86
|
}
|
87
87
|
|
88
|
-
.sd-1-
|
88
|
+
.sd-1-4-1-pagination ul li:first-child a, .sd-1-4-1-pagination ul li:last-child a {
|
89
89
|
|
90
90
|
height: 100%;
|
91
91
|
|
@@ -94,7 +94,7 @@
|
|
94
94
|
|
95
95
|
/* Numbers */
|
96
96
|
|
97
|
-
.sd-1-
|
97
|
+
.sd-1-4-1-pagination ul li {
|
98
98
|
|
99
99
|
display: flex;
|
100
100
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
text-align: center
|
110
110
|
}
|
111
111
|
|
112
|
-
.sd-1-
|
112
|
+
.sd-1-4-1-pagination ul li:not(:first-child):not(:last-child) a {
|
113
113
|
|
114
114
|
height: 100%;
|
115
115
|
|
@@ -120,7 +120,7 @@
|
|
120
120
|
border-bottom-color: transparent
|
121
121
|
}
|
122
122
|
|
123
|
-
.sd-1-
|
123
|
+
.sd-1-4-1-pagination ul li:not(:first-child):not(:last-child) a[aria-current] {
|
124
124
|
|
125
125
|
--tw-border-opacity: 1;
|
126
126
|
|
@@ -128,14 +128,14 @@
|
|
128
128
|
*/
|
129
129
|
}
|
130
130
|
|
131
|
-
.sd-1-
|
131
|
+
.sd-1-4-1-pagination ul li a[aria-current] {
|
132
132
|
|
133
133
|
|
134
134
|
|
135
135
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
136
136
|
}
|
137
137
|
|
138
|
-
.sd-1-
|
138
|
+
.sd-1-4-1-pagination ul li a[aria-current]:hover:not([disabled]) {
|
139
139
|
|
140
140
|
|
141
141
|
|
@@ -144,8 +144,8 @@
|
|
144
144
|
|
145
145
|
/* Previous and next arrow when it has no href */
|
146
146
|
|
147
|
-
.sd-1-
|
148
|
-
.sd-1-
|
147
|
+
.sd-1-4-1-pagination ul li:first-child:has(a:not([href])) a,
|
148
|
+
.sd-1-4-1-pagination ul li:last-child:has(a:not([href])) a {
|
149
149
|
|
150
150
|
cursor: not-allowed;
|
151
151
|
|
@@ -154,8 +154,8 @@
|
|
154
154
|
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */
|
155
155
|
}
|
156
156
|
|
157
|
-
.sd-1-
|
158
|
-
.sd-1-
|
157
|
+
.sd-1-4-1-pagination ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
|
158
|
+
.sd-1-4-1-pagination ul li:last-child:has(a:not([href])) a:hover:not([disabled]) {
|
159
159
|
|
160
160
|
|
161
161
|
|
@@ -166,57 +166,57 @@
|
|
166
166
|
|
167
167
|
/* Number which is not current */
|
168
168
|
|
169
|
-
.sd-1-
|
169
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current])) {
|
170
170
|
|
171
171
|
pointer-events: none;
|
172
172
|
|
173
173
|
position: absolute
|
174
174
|
}
|
175
175
|
|
176
|
-
.sd-1-
|
176
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current])) a {
|
177
177
|
|
178
178
|
display: none
|
179
179
|
}
|
180
180
|
|
181
181
|
/* Apply ellipsis to (n + 2 && n - 1) */
|
182
182
|
|
183
|
-
.sd-1-
|
184
|
-
.sd-1-
|
183
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current]),
|
184
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li + li:not(:last-child) {
|
185
185
|
|
186
186
|
pointer-events: auto !important;
|
187
187
|
|
188
188
|
position: relative !important
|
189
189
|
}
|
190
190
|
|
191
|
-
.sd-1-
|
192
|
-
.sd-1-
|
191
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current])::after,
|
192
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li + li:not(:last-child)::after {
|
193
193
|
|
194
194
|
--tw-content: '...';
|
195
195
|
|
196
196
|
content: var(--tw-content)
|
197
197
|
}
|
198
198
|
|
199
|
-
.sd-1-
|
200
|
-
.sd-1-
|
201
|
-
.sd-1-
|
202
|
-
.sd-1-
|
199
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2),
|
200
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2),
|
201
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li a[aria-current]),
|
202
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li {
|
203
203
|
|
204
204
|
pointer-events: auto !important;
|
205
205
|
|
206
206
|
position: relative !important
|
207
207
|
}
|
208
208
|
|
209
|
-
.sd-1-
|
210
|
-
.sd-1-
|
211
|
-
.sd-1-
|
212
|
-
.sd-1-
|
209
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2)::after,
|
210
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2)::after,
|
211
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li a[aria-current])::after,
|
212
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li::after {
|
213
213
|
|
214
214
|
content: var(--tw-content) !important;
|
215
215
|
|
216
216
|
display: none !important
|
217
217
|
}
|
218
218
|
|
219
|
-
.sd-1-
|
219
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2) a, .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2) a, .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li a[aria-current]) a, .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li a {
|
220
220
|
|
221
221
|
display: flex !important
|
222
222
|
}
|
@@ -225,35 +225,35 @@
|
|
225
225
|
|
226
226
|
/* Show until the 5th page (forward) */
|
227
227
|
|
228
|
-
.sd-1-
|
228
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) {
|
229
229
|
|
230
230
|
pointer-events: auto;
|
231
231
|
|
232
232
|
position: relative
|
233
233
|
}
|
234
234
|
|
235
|
-
.sd-1-
|
235
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6)::after {
|
236
236
|
|
237
237
|
content: var(--tw-content);
|
238
238
|
|
239
239
|
display: none
|
240
240
|
}
|
241
241
|
|
242
|
-
.sd-1-
|
242
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) a {
|
243
243
|
|
244
244
|
display: flex
|
245
245
|
}
|
246
246
|
|
247
247
|
/* Show ellipsis on the 6th */
|
248
248
|
|
249
|
-
.sd-1-
|
249
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li {
|
250
250
|
|
251
251
|
pointer-events: none;
|
252
252
|
|
253
253
|
position: relative
|
254
254
|
}
|
255
255
|
|
256
|
-
.sd-1-
|
256
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li::after {
|
257
257
|
|
258
258
|
--tw-content: '...';
|
259
259
|
|
@@ -262,77 +262,77 @@
|
|
262
262
|
|
263
263
|
/* When one of the first 4 pages is selected, show until the 5th page (backward) */
|
264
264
|
|
265
|
-
.sd-1-
|
265
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) {
|
266
266
|
|
267
267
|
pointer-events: auto;
|
268
268
|
|
269
269
|
position: relative
|
270
270
|
}
|
271
271
|
|
272
|
-
.sd-1-
|
272
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current])::after {
|
273
273
|
|
274
274
|
content: var(--tw-content);
|
275
275
|
|
276
276
|
display: none
|
277
277
|
}
|
278
278
|
|
279
|
-
.sd-1-
|
279
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) a {
|
280
280
|
|
281
281
|
display: flex
|
282
282
|
}
|
283
283
|
|
284
284
|
/* When one of the last 4 pages is selected, show the last 4 pages (forward) */
|
285
285
|
|
286
|
-
.sd-1-
|
286
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) {
|
287
287
|
|
288
288
|
pointer-events: auto;
|
289
289
|
|
290
290
|
position: relative
|
291
291
|
}
|
292
292
|
|
293
|
-
.sd-1-
|
293
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child)::after {
|
294
294
|
|
295
295
|
content: var(--tw-content);
|
296
296
|
|
297
297
|
display: none
|
298
298
|
}
|
299
299
|
|
300
|
-
.sd-1-
|
300
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) a {
|
301
301
|
|
302
302
|
display: flex
|
303
303
|
}
|
304
304
|
|
305
305
|
/* When one of the last 4 pages is selected, show the last 4 pages (backward) */
|
306
306
|
|
307
|
-
.sd-1-
|
307
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) {
|
308
308
|
|
309
309
|
pointer-events: auto;
|
310
310
|
|
311
311
|
position: relative
|
312
312
|
}
|
313
313
|
|
314
|
-
.sd-1-
|
314
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
|
315
315
|
|
316
316
|
content: var(--tw-content);
|
317
317
|
|
318
318
|
display: none
|
319
319
|
}
|
320
320
|
|
321
|
-
.sd-1-
|
321
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) a {
|
322
322
|
|
323
323
|
display: flex
|
324
324
|
}
|
325
325
|
|
326
326
|
/* Show ellipsis on the 6th to last */
|
327
327
|
|
328
|
-
.sd-1-
|
328
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current]) {
|
329
329
|
|
330
330
|
pointer-events: none;
|
331
331
|
|
332
332
|
position: relative
|
333
333
|
}
|
334
334
|
|
335
|
-
.sd-1-
|
335
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
|
336
336
|
|
337
337
|
--tw-content: '...';
|
338
338
|
|
@@ -341,26 +341,26 @@
|
|
341
341
|
|
342
342
|
/* When it only has 5 numbers + 2 prev & next buttons */
|
343
343
|
|
344
|
-
.sd-1-
|
344
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li {
|
345
345
|
|
346
346
|
pointer-events: auto;
|
347
347
|
|
348
348
|
position: relative
|
349
349
|
}
|
350
350
|
|
351
|
-
.sd-1-
|
351
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li::after {
|
352
352
|
|
353
353
|
content: var(--tw-content);
|
354
354
|
|
355
355
|
display: none
|
356
356
|
}
|
357
357
|
|
358
|
-
.sd-1-
|
358
|
+
.sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li a {
|
359
359
|
|
360
360
|
display: flex
|
361
361
|
}
|
362
362
|
|
363
|
-
.sd-1-
|
363
|
+
.sd-1-4-1-pagination--simple ul li:nth-child(2) {
|
364
364
|
|
365
365
|
position: relative;
|
366
366
|
|
@@ -376,7 +376,7 @@
|
|
376
376
|
*/
|
377
377
|
}
|
378
378
|
|
379
|
-
.sd-1-
|
379
|
+
.sd-1-4-1-pagination--simple ul li:nth-child(2)::after {
|
380
380
|
|
381
381
|
position: absolute;
|
382
382
|
|
@@ -391,14 +391,14 @@
|
|
391
391
|
content: var(--tw-content)
|
392
392
|
}
|
393
393
|
|
394
|
-
.sd-1-
|
394
|
+
.sd-1-4-1-pagination--simple ul li:nth-last-child(2) {
|
395
395
|
|
396
396
|
border-bottom-width: 2px;
|
397
397
|
|
398
398
|
border-bottom-color: transparent
|
399
399
|
}
|
400
400
|
|
401
|
-
.sd-1-
|
401
|
+
.sd-1-4-1-pagination--inverted ul li::after {
|
402
402
|
|
403
403
|
content: var(--tw-content);
|
404
404
|
|
@@ -407,40 +407,40 @@
|
|
407
407
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
408
408
|
}
|
409
409
|
|
410
|
-
.sd-1-
|
411
|
-
.sd-1-
|
410
|
+
.sd-1-4-1-pagination--inverted ul li:first-child:has(a:not([href])) a,
|
411
|
+
.sd-1-4-1-pagination--inverted ul li:last-child:has(a:not([href])) a {
|
412
412
|
|
413
413
|
|
414
414
|
|
415
415
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
|
416
416
|
}
|
417
417
|
|
418
|
-
.sd-1-
|
419
|
-
.sd-1-
|
418
|
+
.sd-1-4-1-pagination--inverted ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
|
419
|
+
.sd-1-4-1-pagination--inverted ul li:last-child:has(a:not([href])) a:hover:not([disabled]) {
|
420
420
|
|
421
421
|
|
422
422
|
|
423
423
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
|
424
424
|
}
|
425
425
|
|
426
|
-
.sd-1-
|
427
|
-
.sd-1-
|
426
|
+
.sd-1-4-1-pagination--inverted ul li a,
|
427
|
+
.sd-1-4-1-pagination--inverted ul li a[aria-current] {
|
428
428
|
|
429
429
|
|
430
430
|
|
431
431
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
432
432
|
}
|
433
433
|
|
434
|
-
.sd-1-
|
435
|
-
.sd-1-
|
434
|
+
.sd-1-4-1-pagination--inverted ul li a:hover:not([disabled]),
|
435
|
+
.sd-1-4-1-pagination--inverted ul li a[aria-current]:hover:not([disabled]) {
|
436
436
|
|
437
437
|
|
438
438
|
|
439
439
|
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 */
|
440
440
|
}
|
441
441
|
|
442
|
-
.sd-1-
|
443
|
-
.sd-1-
|
442
|
+
.sd-1-4-1-pagination--inverted ul li a:active:not([disabled]),
|
443
|
+
.sd-1-4-1-pagination--inverted ul li a[aria-current]:active:not([disabled]) {
|
444
444
|
|
445
445
|
|
446
446
|
|
@@ -448,19 +448,19 @@
|
|
448
448
|
Used for inverted pressed interaction text link */
|
449
449
|
}
|
450
450
|
|
451
|
-
.sd-1-
|
451
|
+
.sd-1-4-1-pagination--inverted ul li a:focus-visible, .sd-1-4-1-pagination--inverted ul li a[aria-current]:focus-visible {
|
452
452
|
|
453
453
|
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */
|
454
454
|
}
|
455
455
|
|
456
|
-
.sd-1-
|
456
|
+
.sd-1-4-1-pagination--inverted.sd-1-4-1-pagination--simple ul li {
|
457
457
|
|
458
458
|
|
459
459
|
|
460
460
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
461
461
|
}
|
462
462
|
|
463
|
-
.sd-1-
|
463
|
+
.sd-1-4-1-pagination--inverted.sd-1-4-1-pagination--simple ul li::after {
|
464
464
|
|
465
465
|
content: var(--tw-content);
|
466
466
|
|
@@ -1,28 +1,28 @@
|
|
1
1
|
/**
|
2
2
|
* A paragraph is used to display blocks of text. It uses the base font size and can contain bold and/or link styles.
|
3
|
-
* @name sd-1-
|
3
|
+
* @name sd-1-4-1-paragraph
|
4
4
|
* @status stable
|
5
5
|
* @since 1.7
|
6
|
-
* @variant { sm } sd-1-
|
7
|
-
* @boolean sd-1-
|
6
|
+
* @variant { sm } sd-1-4-1-paragraph--size-... The paragraph's font size.
|
7
|
+
* @boolean sd-1-4-1-paragraph--inverted Inverts the paragraph text.
|
8
8
|
*/
|
9
|
-
.sd-1-
|
10
|
-
.sd-1-
|
9
|
+
.sd-1-4-1-paragraph,
|
10
|
+
.sd-1-4-1-prose p {
|
11
11
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
12
12
|
font-weight: 400;
|
13
13
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
14
14
|
|
15
15
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
16
16
|
}
|
17
|
-
.sd-1-
|
17
|
+
.sd-1-4-1-paragraph--size-sm, .sd-1-4-1-prose p--size-sm {
|
18
18
|
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
19
19
|
font-weight: 400;
|
20
20
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
21
21
|
|
22
22
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
23
23
|
}
|
24
|
-
.sd-1-
|
25
|
-
.sd-1-
|
24
|
+
.sd-1-4-1-paragraph--inverted,
|
25
|
+
.sd-1-4-1-prose--inverted p {
|
26
26
|
|
27
27
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
28
28
|
}
|