@solid-design-system/styles 1.5.4 → 1.5.5
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 +9 -0
- 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-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 +31 -31
- package/dist-versioned/modules/headline.css +67 -67
- package/dist-versioned/modules/hidden-links.css +7 -7
- package/dist-versioned/modules/interactive.css +41 -41
- 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 +110 -110
- package/dist-versioned/modules/paragraph.css +8 -8
- package/dist-versioned/modules/prose.css +234 -234
- 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 +472 -472
- package/package.json +6 -6
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
2
|
* Generates basic styles for chip elements.
|
3
|
-
* @name sd-1-5-
|
3
|
+
* @name sd-1-5-5-chip
|
4
4
|
* @status stable
|
5
5
|
* @since 1.30.0
|
6
|
-
* @variant { primary-300 | primary-500 | white } sd-1-5-
|
6
|
+
* @variant { primary-300 | primary-500 | white } sd-1-5-5-chip--...
|
7
7
|
*/
|
8
8
|
|
9
|
-
.sd-1-5-
|
9
|
+
.sd-1-5-5-chip {
|
10
10
|
display: inline-flex;
|
11
11
|
height: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
12
12
|
align-items: center;
|
@@ -22,34 +22,34 @@
|
|
22
22
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
23
23
|
}
|
24
24
|
|
25
|
-
.sd-1-5-
|
25
|
+
.sd-1-5-5-chip--primary-500 {
|
26
26
|
|
27
27
|
background-color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-bg-opacity, 1)) /* Used for hover interaction */;
|
28
28
|
|
29
29
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
30
30
|
}
|
31
31
|
|
32
|
-
.sd-1-5-
|
32
|
+
.sd-1-5-5-chip--primary-300 {
|
33
33
|
|
34
34
|
background-color: rgb(var(--sd-color-primary-300, 200 213 231) / var(--tw-bg-opacity, 1)) /* Used for chip background */;
|
35
35
|
}
|
36
36
|
|
37
|
-
.sd-1-5-
|
37
|
+
.sd-1-5-5-chip--white {
|
38
38
|
|
39
39
|
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
40
40
|
}
|
41
41
|
|
42
42
|
/**
|
43
43
|
* Container lets users delimit and highlight a piece of content. The user has no interaction with it, it is merely a visual element that influences the flow of the page.
|
44
|
-
* @name sd-1-5-
|
44
|
+
* @name sd-1-5-5-container
|
45
45
|
* @status stable
|
46
46
|
* @since 1.30.0
|
47
|
-
* @variant { primary-100 | primary | border-neutral-400 | white } sd-1-5-
|
48
|
-
* @variant { sm } sd-1-5-
|
49
|
-
* @variant { top | right | bottom | left } sd-1-5-
|
47
|
+
* @variant { primary-100 | primary | border-neutral-400 | white } sd-1-5-5-container--variant-... Defines the background color and border of sd-1-5-5-container.
|
48
|
+
* @variant { sm } sd-1-5-5-container--padding-... Defines the padding of sd-1-5-5-container. This makes it adaptable to both small and large screens.
|
49
|
+
* @variant { top | right | bottom | left } sd-1-5-5-container--triangle-... Defines an optional triangle cut-out for sd-1-5-5-container. This allows for an indentation resembling an arrow on any side of the container. CSS Property `triangle-background` defines the background color of the cut-out.
|
50
50
|
*/
|
51
51
|
|
52
|
-
.sd-1-5-
|
52
|
+
.sd-1-5-5-container {
|
53
53
|
position: relative;
|
54
54
|
|
55
55
|
background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
@@ -59,18 +59,18 @@
|
|
59
59
|
padding-bottom: var(--sd-spacing-8, 2rem) /* 32px */;
|
60
60
|
}
|
61
61
|
|
62
|
-
.sd-1-5-
|
62
|
+
.sd-1-5-5-container--variant-primary-100 {
|
63
63
|
|
64
64
|
background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
65
65
|
}
|
66
66
|
|
67
|
-
.sd-1-5-
|
67
|
+
.sd-1-5-5-container--variant-primary {
|
68
68
|
|
69
69
|
background-color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-bg-opacity, 1)) /* Inverted background color (light mode)
|
70
70
|
Used for button */;
|
71
71
|
}
|
72
72
|
|
73
|
-
.sd-1-5-
|
73
|
+
.sd-1-5-5-container--variant-border-neutral-400 {
|
74
74
|
border-style: solid;
|
75
75
|
--tw-border-opacity: 1;
|
76
76
|
border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
|
@@ -80,27 +80,27 @@ Used for divider, teaser, container, ... */;
|
|
80
80
|
border-width: 1px;
|
81
81
|
}
|
82
82
|
|
83
|
-
.sd-1-5-
|
83
|
+
.sd-1-5-5-container--variant-white {
|
84
84
|
|
85
85
|
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
86
86
|
}
|
87
87
|
|
88
|
-
.sd-1-5-
|
88
|
+
.sd-1-5-5-container--padding-sm {
|
89
89
|
padding-left: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
90
90
|
padding-right: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
91
91
|
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
92
92
|
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
93
93
|
}
|
94
94
|
|
95
|
-
.sd-1-5-
|
95
|
+
.sd-1-5-5-container {
|
96
96
|
|
97
97
|
--triangle-background: white;
|
98
98
|
}
|
99
99
|
|
100
|
-
.sd-1-5-
|
101
|
-
.sd-1-5-
|
102
|
-
.sd-1-5-
|
103
|
-
.sd-1-5-
|
100
|
+
.sd-1-5-5-container--triangle-top::before,
|
101
|
+
.sd-1-5-5-container--triangle-right::before,
|
102
|
+
.sd-1-5-5-container--triangle-bottom::before,
|
103
|
+
.sd-1-5-5-container--triangle-left::before {
|
104
104
|
position: absolute;
|
105
105
|
display: block;
|
106
106
|
border-style: solid;
|
@@ -109,38 +109,38 @@ Used for divider, teaser, container, ... */;
|
|
109
109
|
content: '';
|
110
110
|
}
|
111
111
|
|
112
|
-
.sd-1-5-
|
112
|
+
.sd-1-5-5-container--triangle-top::before {
|
113
113
|
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
114
114
|
left: calc(50% - 14px);
|
115
115
|
border-top-color: var(--triangle-background);
|
116
116
|
}
|
117
117
|
|
118
|
-
.sd-1-5-
|
118
|
+
.sd-1-5-5-container--triangle-right::before {
|
119
119
|
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
120
120
|
top: calc(50% - 14px);
|
121
121
|
border-right-color: var(--triangle-background);
|
122
122
|
}
|
123
123
|
|
124
|
-
.sd-1-5-
|
124
|
+
.sd-1-5-5-container--triangle-bottom::before {
|
125
125
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
126
126
|
left: calc(50% - 14px);
|
127
127
|
border-bottom-color: var(--triangle-background);
|
128
128
|
}
|
129
129
|
|
130
|
-
.sd-1-5-
|
130
|
+
.sd-1-5-5-container--triangle-left::before {
|
131
131
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
132
132
|
top: calc(50% - 14px);
|
133
133
|
border-left-color: var(--triangle-background);
|
134
134
|
}
|
135
135
|
|
136
|
-
.sd-1-5-
|
137
|
-
.sd-1-5-
|
138
|
-
.sd-1-5-
|
139
|
-
.sd-1-5-
|
140
|
-
.sd-1-5-
|
141
|
-
.sd-1-5-
|
142
|
-
.sd-1-5-
|
143
|
-
.sd-1-5-
|
136
|
+
.sd-1-5-5-container--triangle-top-border::after,
|
137
|
+
.sd-1-5-5-container--triangle-top-border::before,
|
138
|
+
.sd-1-5-5-container--triangle-right-border::after,
|
139
|
+
.sd-1-5-5-container--triangle-right-border::before,
|
140
|
+
.sd-1-5-5-container--triangle-bottom-border::after,
|
141
|
+
.sd-1-5-5-container--triangle-bottom-border::before,
|
142
|
+
.sd-1-5-5-container--triangle-left-border::after,
|
143
|
+
.sd-1-5-5-container--triangle-left-border::before {
|
144
144
|
position: absolute;
|
145
145
|
display: block;
|
146
146
|
border-style: solid;
|
@@ -148,94 +148,94 @@ Used for divider, teaser, container, ... */;
|
|
148
148
|
content: '';
|
149
149
|
}
|
150
150
|
|
151
|
-
.sd-1-5-
|
151
|
+
.sd-1-5-5-container--triangle-top-border::after, .sd-1-5-5-container--triangle-right-border::after, .sd-1-5-5-container--triangle-bottom-border::after, .sd-1-5-5-container--triangle-left-border::after {
|
152
152
|
border-width: 14px;
|
153
153
|
}
|
154
154
|
|
155
|
-
.sd-1-5-
|
155
|
+
.sd-1-5-5-container--triangle-top-border::before, .sd-1-5-5-container--triangle-right-border::before, .sd-1-5-5-container--triangle-bottom-border::before, .sd-1-5-5-container--triangle-left-border::before {
|
156
156
|
border-width: 15px;
|
157
157
|
}
|
158
158
|
|
159
|
-
.sd-1-5-
|
160
|
-
.sd-1-5-
|
159
|
+
.sd-1-5-5-container--triangle-top-border::after,
|
160
|
+
.sd-1-5-5-container--triangle-top-border::before {
|
161
161
|
top: -1px;
|
162
162
|
}
|
163
163
|
|
164
|
-
.sd-1-5-
|
164
|
+
.sd-1-5-5-container--triangle-top-border::before {
|
165
165
|
--tw-border-opacity: 1;
|
166
166
|
border-top-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
|
167
167
|
Used for divider, teaser, container, ... */;
|
168
168
|
left: calc(50% - 15px);
|
169
169
|
}
|
170
170
|
|
171
|
-
.sd-1-5-
|
171
|
+
.sd-1-5-5-container--triangle-top-border::after {
|
172
172
|
left: calc(50% - 14px);
|
173
173
|
border-top-color: var(--triangle-background);
|
174
174
|
}
|
175
175
|
|
176
|
-
.sd-1-5-
|
177
|
-
.sd-1-5-
|
176
|
+
.sd-1-5-5-container--triangle-right-border::after,
|
177
|
+
.sd-1-5-5-container--triangle-right-border::before {
|
178
178
|
right: -1px;
|
179
179
|
}
|
180
180
|
|
181
|
-
.sd-1-5-
|
181
|
+
.sd-1-5-5-container--triangle-right-border::before {
|
182
182
|
--tw-border-opacity: 1;
|
183
183
|
border-right-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
|
184
184
|
Used for divider, teaser, container, ... */;
|
185
185
|
top: calc(50% - 15px);
|
186
186
|
}
|
187
187
|
|
188
|
-
.sd-1-5-
|
188
|
+
.sd-1-5-5-container--triangle-right-border::after {
|
189
189
|
top: calc(50% - 14px);
|
190
190
|
border-right-color: var(--triangle-background);
|
191
191
|
}
|
192
192
|
|
193
|
-
.sd-1-5-
|
194
|
-
.sd-1-5-
|
193
|
+
.sd-1-5-5-container--triangle-bottom-border::after,
|
194
|
+
.sd-1-5-5-container--triangle-bottom-border::before {
|
195
195
|
bottom: -1px;
|
196
196
|
}
|
197
197
|
|
198
|
-
.sd-1-5-
|
198
|
+
.sd-1-5-5-container--triangle-bottom-border::before {
|
199
199
|
--tw-border-opacity: 1;
|
200
200
|
border-bottom-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
|
201
201
|
Used for divider, teaser, container, ... */;
|
202
202
|
left: calc(50% - 15px);
|
203
203
|
}
|
204
204
|
|
205
|
-
.sd-1-5-
|
205
|
+
.sd-1-5-5-container--triangle-bottom-border::after {
|
206
206
|
left: calc(50% - 14px);
|
207
207
|
border-bottom-color: var(--triangle-background);
|
208
208
|
}
|
209
209
|
|
210
|
-
.sd-1-5-
|
211
|
-
.sd-1-5-
|
210
|
+
.sd-1-5-5-container--triangle-left-border::after,
|
211
|
+
.sd-1-5-5-container--triangle-left-border::before {
|
212
212
|
left: -1px;
|
213
213
|
}
|
214
214
|
|
215
|
-
.sd-1-5-
|
215
|
+
.sd-1-5-5-container--triangle-left-border::before {
|
216
216
|
--tw-border-opacity: 1;
|
217
217
|
border-left-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
|
218
218
|
Used for divider, teaser, container, ... */;
|
219
219
|
top: calc(50% - 15px);
|
220
220
|
}
|
221
221
|
|
222
|
-
.sd-1-5-
|
222
|
+
.sd-1-5-5-container--triangle-left-border::after {
|
223
223
|
top: calc(50% - 14px);
|
224
224
|
border-left-color: var(--triangle-background);
|
225
225
|
}
|
226
226
|
|
227
227
|
/**
|
228
228
|
* Generates basic styles for copyright elements.
|
229
|
-
* @name sd-1-5-
|
229
|
+
* @name sd-1-5-5-copyright
|
230
230
|
* @status stable
|
231
231
|
* @since 2.5.0
|
232
|
-
* @variant { vertical } sd-1-5-
|
233
|
-
* @variant { black } sd-1-5-
|
234
|
-
* @boolean sd-1-5-
|
235
|
-
* @variant { top } sd-1-5-
|
232
|
+
* @variant { vertical } sd-1-5-5-copyright--orientation-... The copyright's orientation.
|
233
|
+
* @variant { black } sd-1-5-5-copyright--color-... The copyright's text color.
|
234
|
+
* @boolean sd-1-5-5-copyright--... Removes the shadow.
|
235
|
+
* @variant { top } sd-1-5-5-copyright--placement-... The copyright's placement.
|
236
236
|
*/
|
237
237
|
|
238
|
-
.sd-1-5-
|
238
|
+
.sd-1-5-5-copyright {
|
239
239
|
position: relative;
|
240
240
|
/* Bug fix for drop-shadow-sm */
|
241
241
|
--tw-blur: ;
|
@@ -248,7 +248,7 @@ Used for divider, teaser, container, ... */;
|
|
248
248
|
--tw-sepia: ;
|
249
249
|
}
|
250
250
|
|
251
|
-
.sd-1-5-
|
251
|
+
.sd-1-5-5-copyright::after {
|
252
252
|
position: absolute;
|
253
253
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
254
254
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -264,7 +264,7 @@ Used for divider, teaser, container, ... */;
|
|
264
264
|
content: var(--copyright);
|
265
265
|
}
|
266
266
|
|
267
|
-
.sd-1-5-
|
267
|
+
.sd-1-5-5-copyright--orientation-vertical::after {
|
268
268
|
width: -moz-max-content;
|
269
269
|
width: max-content;
|
270
270
|
padding-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
@@ -276,17 +276,17 @@ Used for divider, teaser, container, ... */;
|
|
276
276
|
transform: rotate(180deg);
|
277
277
|
}
|
278
278
|
|
279
|
-
.sd-1-5-
|
279
|
+
.sd-1-5-5-copyright--color-black::after {
|
280
280
|
|
281
281
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
282
282
|
filter: drop-shadow(0 0 transparent);
|
283
283
|
}
|
284
284
|
|
285
|
-
.sd-1-5-
|
285
|
+
.sd-1-5-5-copyright--no-shadow::after {
|
286
286
|
filter: drop-shadow(0 0 transparent);
|
287
287
|
}
|
288
288
|
|
289
|
-
.sd-1-5-
|
289
|
+
.sd-1-5-5-copyright--placement-top::after {
|
290
290
|
position: absolute;
|
291
291
|
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
292
292
|
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -299,13 +299,13 @@ Used for divider, teaser, container, ... */;
|
|
299
299
|
|
300
300
|
/**
|
301
301
|
* Generates basic styles for flag elements.
|
302
|
-
* @name sd-1-5-
|
302
|
+
* @name sd-1-5-5-flag
|
303
303
|
* @status stable
|
304
304
|
* @since 1.34.0
|
305
|
-
* @variant { neutral-300 | neutral-500 | white } sd-1-5-
|
305
|
+
* @variant { neutral-300 | neutral-500 | white } sd-1-5-5-flag--...
|
306
306
|
*/
|
307
307
|
|
308
|
-
.sd-1-5-
|
308
|
+
.sd-1-5-5-flag {
|
309
309
|
display: inline-flex;
|
310
310
|
height: var(--sd-spacing-8, 2rem) /* 32px */;
|
311
311
|
align-items: center;
|
@@ -320,32 +320,32 @@ Used for divider, teaser, container, ... */;
|
|
320
320
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
321
321
|
}
|
322
322
|
|
323
|
-
.sd-1-5-
|
323
|
+
.sd-1-5-5-flag--neutral-500 {
|
324
324
|
|
325
325
|
background-color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-bg-opacity, 1)) /* Used for disabled state */;
|
326
326
|
|
327
327
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
328
328
|
}
|
329
329
|
|
330
|
-
.sd-1-5-
|
330
|
+
.sd-1-5-5-flag--neutral-300 {
|
331
331
|
|
332
332
|
background-color: rgb(var(--sd-color-neutral-300, 218 218 218) / var(--tw-bg-opacity, 1)) /* Used for flag */;
|
333
333
|
}
|
334
334
|
|
335
|
-
.sd-1-5-
|
335
|
+
.sd-1-5-5-flag--white {
|
336
336
|
|
337
337
|
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
338
338
|
}
|
339
339
|
|
340
340
|
/**
|
341
341
|
* A footnote contains additional information/sources related to the content and usually appears at the bottom of a page or below the content it refers to.
|
342
|
-
* @name sd-1-5-
|
342
|
+
* @name sd-1-5-5-footnotes
|
343
343
|
* @status stable
|
344
344
|
* @since 3.0.0
|
345
|
-
* @boolean sd-1-5-
|
345
|
+
* @boolean sd-1-5-5-footnotes--inverted Inverts the footnote text.
|
346
346
|
*/
|
347
347
|
|
348
|
-
.sd-1-5-
|
348
|
+
.sd-1-5-5-footnotes {
|
349
349
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
350
350
|
margin-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
351
351
|
padding: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -355,22 +355,22 @@ Used for divider, teaser, container, ... */;
|
|
355
355
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
356
356
|
}
|
357
357
|
|
358
|
-
.sd-1-5-
|
358
|
+
.sd-1-5-5-footnotes :target {
|
359
359
|
|
360
360
|
background-color: rgb(var(--sd-color-neutral-200, 233 233 233) / var(--tw-bg-opacity, 1)) /* Used for hover interaction */;
|
361
361
|
}
|
362
362
|
|
363
|
-
.sd-1-5-
|
363
|
+
.sd-1-5-5-footnotes:is(ol) {
|
364
364
|
padding-inline-start: var(--sd-spacing-8, 2rem) /* 32px */;
|
365
365
|
}
|
366
366
|
|
367
|
-
.sd-1-5-
|
367
|
+
.sd-1-5-5-footnotes:is(ol) li {
|
368
368
|
counter-increment: list-item;
|
369
369
|
position: relative;
|
370
370
|
list-style-type: none;
|
371
371
|
}
|
372
372
|
|
373
|
-
.sd-1-5-
|
373
|
+
.sd-1-5-5-footnotes:is(ol) li .sd-1-5-5-footnotes--marker::before, .sd-1-5-5-footnotes:is(ol) li:has(.sd-1-5-5-footnotes--marker:nth-of-type(2))::before, .sd-1-5-5-footnotes:is(ol) li:not(:has(.sd-1-5-5-footnotes--marker))::before {
|
374
374
|
position: absolute;
|
375
375
|
left: calc(var(--sd-spacing-8, 2rem) /* 32px */ * -1);
|
376
376
|
flex-shrink: 0;
|
@@ -381,16 +381,16 @@ Used for divider, teaser, container, ... */;
|
|
381
381
|
font-size: 10px;
|
382
382
|
}
|
383
383
|
|
384
|
-
.sd-1-5-
|
384
|
+
.sd-1-5-5-footnotes:is(ol) li .sd-1-5-5-footnotes--marker::after, .sd-1-5-5-footnotes:is(ol) li:has(.sd-1-5-5-footnotes--marker:nth-of-type(2))::after, .sd-1-5-5-footnotes:is(ol) li:not(:has(.sd-1-5-5-footnotes--marker))::after {
|
385
385
|
content: none;
|
386
386
|
}
|
387
387
|
|
388
|
-
.sd-1-5-
|
388
|
+
.sd-1-5-5-footnotes:is(ol) li .sd-1-5-5-footnotes--marker .sd-1-5-5-footnotes--marker, .sd-1-5-5-footnotes:is(ol) li:has(.sd-1-5-5-footnotes--marker:nth-of-type(2)) .sd-1-5-5-footnotes--marker, .sd-1-5-5-footnotes:is(ol) li:not(:has(.sd-1-5-5-footnotes--marker)) .sd-1-5-5-footnotes--marker {
|
389
389
|
display: inline-block;
|
390
390
|
counter-increment: footnotes-multiple;
|
391
391
|
}
|
392
392
|
|
393
|
-
.sd-1-5-
|
393
|
+
.sd-1-5-5-footnotes:is(ol) li .sd-1-5-5-footnotes--marker .sd-1-5-5-footnotes--marker::before, .sd-1-5-5-footnotes:is(ol) li:has(.sd-1-5-5-footnotes--marker:nth-of-type(2)) .sd-1-5-5-footnotes--marker::before, .sd-1-5-5-footnotes:is(ol) li:not(:has(.sd-1-5-5-footnotes--marker)) .sd-1-5-5-footnotes--marker::before {
|
394
394
|
position: relative;
|
395
395
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
396
396
|
vertical-align: super;
|
@@ -399,16 +399,16 @@ Used for divider, teaser, container, ... */;
|
|
399
399
|
content: counter(footnotes-multiple, lower-alpha);
|
400
400
|
}
|
401
401
|
|
402
|
-
.sd-1-5-
|
402
|
+
.sd-1-5-5-footnotes:is(ol) li .sd-1-5-5-footnotes--marker {
|
403
403
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
404
404
|
display: block;
|
405
405
|
}
|
406
406
|
|
407
|
-
.sd-1-5-
|
407
|
+
.sd-1-5-5-footnotes:is(ol) li .sd-1-5-5-footnotes--marker:focus-visible {
|
408
408
|
outline-width: 0px;
|
409
409
|
}
|
410
410
|
|
411
|
-
.sd-1-5-
|
411
|
+
.sd-1-5-5-footnotes:is(ol) li .sd-1-5-5-footnotes--marker:focus-visible::before {
|
412
412
|
border-radius: var(--sd-border-radius-default, 0.25rem) /* 4px Default radius for buttons */;
|
413
413
|
outline-style: solid;
|
414
414
|
outline-width: 2px;
|
@@ -416,39 +416,39 @@ Used for divider, teaser, container, ... */;
|
|
416
416
|
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
417
417
|
}
|
418
418
|
|
419
|
-
.sd-1-5-
|
419
|
+
.sd-1-5-5-footnotes:is(ul) {
|
420
420
|
list-style: '';
|
421
421
|
}
|
422
422
|
|
423
|
-
.sd-1-5-
|
423
|
+
.sd-1-5-5-footnotes--inverted {
|
424
424
|
|
425
425
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
426
426
|
Used for inverted pressed interaction text link */;
|
427
427
|
}
|
428
428
|
|
429
|
-
.sd-1-5-
|
429
|
+
.sd-1-5-5-footnotes--inverted :target {
|
430
430
|
|
431
431
|
background-color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-bg-opacity, 1)) /* Used for pressed interaction */;
|
432
432
|
}
|
433
433
|
|
434
|
-
.sd-1-5-
|
434
|
+
.sd-1-5-5-footnotes--inverted .sd-1-5-5-footnotes--marker::before {
|
435
435
|
|
436
436
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
437
437
|
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */ !important;
|
438
438
|
}
|
439
439
|
|
440
|
-
.sd-1-5-
|
440
|
+
.sd-1-5-5-footnotes--inverted:is(.sd-1-5-5-footnotes--marker) {
|
441
441
|
--tw-text-opacity: 1 !important;
|
442
442
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */ !important;
|
443
443
|
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */ !important;
|
444
444
|
}
|
445
445
|
|
446
|
-
.sd-1-5-
|
446
|
+
.sd-1-5-5-footnotes--inverted:is(.sd-1-5-5-footnotes--marker):target {
|
447
447
|
|
448
448
|
background-color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-bg-opacity, 1)) /* Used for pressed interaction */;
|
449
449
|
}
|
450
450
|
|
451
|
-
.sd-1-5-
|
451
|
+
.sd-1-5-5-footnotes--marker {
|
452
452
|
position: relative;
|
453
453
|
bottom: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
454
454
|
display: inline-block;
|
@@ -458,39 +458,39 @@ Used for inverted pressed interaction text link */;
|
|
458
458
|
font-size: x-small;
|
459
459
|
}
|
460
460
|
|
461
|
-
.sd-1-5-
|
461
|
+
.sd-1-5-5-footnotes--marker:target {
|
462
462
|
|
463
463
|
background-color: rgb(var(--sd-color-neutral-200, 233 233 233) / var(--tw-bg-opacity, 1)) /* Used for hover interaction */;
|
464
464
|
}
|
465
465
|
|
466
|
-
.sd-1-5-
|
466
|
+
.sd-1-5-5-footnotes--marker:not(:has(a))::before {
|
467
467
|
content: '[ ';
|
468
468
|
display: inline-block;
|
469
469
|
}
|
470
470
|
|
471
|
-
.sd-1-5-
|
471
|
+
.sd-1-5-5-footnotes--marker:not(:has(a))::after {
|
472
472
|
content: ' ]';
|
473
473
|
display: inline-block;
|
474
474
|
}
|
475
475
|
|
476
|
-
.sd-1-5-
|
476
|
+
.sd-1-5-5-footnotes--marker :is(a) {
|
477
477
|
display: inline-block;
|
478
478
|
white-space: nowrap;
|
479
479
|
font-weight: 700;
|
480
480
|
text-decoration-line: none !important;
|
481
481
|
}
|
482
482
|
|
483
|
-
.sd-1-5-
|
483
|
+
.sd-1-5-5-footnotes--marker :is(a)::before {
|
484
484
|
content: '[ ';
|
485
485
|
display: inline-block;
|
486
486
|
}
|
487
487
|
|
488
|
-
.sd-1-5-
|
488
|
+
.sd-1-5-5-footnotes--marker :is(a)::after {
|
489
489
|
content: ' ]';
|
490
490
|
display: inline-block;
|
491
491
|
}
|
492
492
|
|
493
|
-
.sd-1-5-
|
493
|
+
.sd-1-5-5-footnotes--marker :is(a):focus-visible {
|
494
494
|
border-radius: var(--sd-border-radius-default, 0.25rem) /* 4px Default radius for buttons */;
|
495
495
|
outline-style: solid;
|
496
496
|
outline-width: 2px;
|
@@ -498,18 +498,18 @@ Used for inverted pressed interaction text link */;
|
|
498
498
|
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
499
499
|
}
|
500
500
|
|
501
|
-
.sd-1-5-
|
501
|
+
.sd-1-5-5-footnotes--marker :is(a):link {
|
502
502
|
|
503
503
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
504
504
|
}
|
505
505
|
|
506
|
-
.sd-1-5-
|
507
|
-
.sd-1-5-
|
506
|
+
.sd-1-5-5-footnotes--marker:link,
|
507
|
+
.sd-1-5-5-footnotes--marker:visited {
|
508
508
|
|
509
509
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
510
510
|
}
|
511
511
|
|
512
|
-
.sd-1-5-
|
512
|
+
.sd-1-5-5-footnotes--marker:focus-visible {
|
513
513
|
border-radius: var(--sd-border-radius-default, 0.25rem) /* 4px Default radius for buttons */;
|
514
514
|
outline-style: solid;
|
515
515
|
outline-width: 2px;
|
@@ -519,11 +519,11 @@ Used for inverted pressed interaction text link */;
|
|
519
519
|
|
520
520
|
/**
|
521
521
|
* Hidden links can be used to show links only for keyboard users.
|
522
|
-
* @name sd-1-5-
|
522
|
+
* @name sd-1-5-5-hidden-links
|
523
523
|
* @status stable
|
524
524
|
* @since 3.15.0
|
525
|
-
* @boolean sd-1-5-
|
526
|
-
* @boolean sd-1-5-
|
525
|
+
* @boolean sd-1-5-5-hidden-links--multiple Adapts styling for multiple skip links.
|
526
|
+
* @boolean sd-1-5-5-hidden-links--debug Always show the links for debugging purposes.
|
527
527
|
*/
|
528
528
|
|
529
529
|
:lang(en) {
|
@@ -534,7 +534,7 @@ Used for inverted pressed interaction text link */;
|
|
534
534
|
--sd-hidden-links-title: 'Springe zu';
|
535
535
|
}
|
536
536
|
|
537
|
-
.sd-1-5-
|
537
|
+
.sd-1-5-5-hidden-links:not(:focus-within):not(.sd-1-5-5-hidden-links--debug) {
|
538
538
|
position: absolute;
|
539
539
|
width: 1px;
|
540
540
|
height: 1px;
|
@@ -546,13 +546,13 @@ Used for inverted pressed interaction text link */;
|
|
546
546
|
border-width: 0;
|
547
547
|
}
|
548
548
|
|
549
|
-
.sd-1-5-
|
549
|
+
.sd-1-5-5-hidden-links {
|
550
550
|
position: absolute;
|
551
551
|
top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
552
552
|
left: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
553
553
|
}
|
554
554
|
|
555
|
-
.sd-1-5-
|
555
|
+
.sd-1-5-5-hidden-links--multiple {
|
556
556
|
display: flex;
|
557
557
|
flex-direction: column;
|
558
558
|
|
@@ -566,7 +566,7 @@ Used for inverted pressed interaction text link */;
|
|
566
566
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
567
567
|
}
|
568
568
|
|
569
|
-
.sd-1-5-
|
569
|
+
.sd-1-5-5-hidden-links--multiple:before {
|
570
570
|
padding-left: var(--sd-spacing-4, 1rem) /* 16px */;
|
571
571
|
padding-right: var(--sd-spacing-4, 1rem) /* 16px */;
|
572
572
|
padding-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
@@ -577,12 +577,12 @@ Used for inverted pressed interaction text link */;
|
|
577
577
|
|
578
578
|
/**
|
579
579
|
* The green accent color can be used to highlight parts of the text.
|
580
|
-
* @name sd-1-5-
|
580
|
+
* @name sd-1-5-5-mark
|
581
581
|
* @status stable
|
582
582
|
* @since 1.7
|
583
583
|
*/
|
584
584
|
|
585
|
-
mark.sd-1-5-
|
585
|
+
mark.sd-1-5-5-mark {
|
586
586
|
background-color: transparent;
|
587
587
|
|
588
588
|
color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-text-opacity, 1)) /* Used for inverted hover interaction button label */;
|
@@ -590,16 +590,16 @@ mark.sd-1-5-4-mark {
|
|
590
590
|
|
591
591
|
/**
|
592
592
|
* Meta information like file size, date, or whatever is needed.
|
593
|
-
* @name sd-1-5-
|
593
|
+
* @name sd-1-5-5-meta
|
594
594
|
* @status stable
|
595
595
|
* @since 1.7
|
596
|
-
* @variant { sm } sd-1-5-
|
597
|
-
* @boolean sd-1-5-
|
598
|
-
* @boolean sd-1-5-
|
599
|
-
* @boolean sd-1-5-
|
596
|
+
* @variant { sm } sd-1-5-5-meta--size-... The size. Small can be used as an alternative in tight spaces.
|
597
|
+
* @boolean sd-1-5-5-meta--inverted Inverts the meta element.
|
598
|
+
* @boolean sd-1-5-5-meta--pipe Adds a pipe right from the meta element.
|
599
|
+
* @boolean sd-1-5-5-meta--light Makes sd-1-5-5-meta light.
|
600
600
|
*/
|
601
601
|
|
602
|
-
.sd-1-5-
|
602
|
+
.sd-1-5-5-meta {
|
603
603
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
604
604
|
font-weight: 400;
|
605
605
|
line-height: var(--sd-line-height-none, 100%) /* Used for buttons, input fields etc. */;
|
@@ -607,76 +607,76 @@ mark.sd-1-5-4-mark {
|
|
607
607
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
608
608
|
}
|
609
609
|
|
610
|
-
.sd-1-5-
|
610
|
+
.sd-1-5-5-meta--size-sm {
|
611
611
|
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
612
612
|
}
|
613
613
|
|
614
|
-
.sd-1-5-
|
614
|
+
.sd-1-5-5-meta--light {
|
615
615
|
|
616
616
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
617
617
|
}
|
618
618
|
|
619
|
-
.sd-1-5-
|
619
|
+
.sd-1-5-5-meta--inverted {
|
620
620
|
|
621
621
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
622
622
|
}
|
623
623
|
|
624
|
-
.sd-1-5-
|
624
|
+
.sd-1-5-5-meta--inverted.sd-1-5-5-meta--light {
|
625
625
|
|
626
626
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
627
627
|
Used for inverted pressed interaction text link */;
|
628
628
|
}
|
629
629
|
|
630
|
-
.sd-1-5-
|
630
|
+
.sd-1-5-5-meta--pipe::after {
|
631
631
|
content: '|';
|
632
632
|
margin-left: var(--sd-spacing-1, 0.25rem) /* 4px */;
|
633
633
|
margin-right: var(--sd-spacing-1, 0.25rem) /* 4px */;
|
634
634
|
}
|
635
635
|
|
636
|
-
.sd-1-5-
|
636
|
+
.sd-1-5-5-meta--pipe.sd-1-5-5-meta--size-sm::after {
|
637
637
|
margin-left: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
638
638
|
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
639
639
|
}
|
640
640
|
|
641
641
|
/**
|
642
642
|
* Used to split large content into several pages, allowing users to navigate between them instead of displaying all information on a single page.
|
643
|
-
* @name sd-1-5-
|
643
|
+
* @name sd-1-5-5-pagination
|
644
644
|
* @status stable
|
645
645
|
* @since 1.3
|
646
|
-
* @variant { simple } sd-1-5-
|
647
|
-
* @boolean sd-1-5-
|
646
|
+
* @variant { simple } sd-1-5-5-pagination--... The pagination format.
|
647
|
+
* @boolean sd-1-5-5-pagination--inverted Inverts the pagination style.
|
648
648
|
*/
|
649
649
|
|
650
|
-
.sd-1-5-
|
650
|
+
.sd-1-5-5-pagination > :not(ul) {
|
651
651
|
position: absolute;
|
652
652
|
height: var(--sd-spacing-0-25, 1px) /* 1px */;
|
653
653
|
width: var(--sd-spacing-0-25, 1px) /* 1px */;
|
654
654
|
overflow: hidden;
|
655
655
|
}
|
656
656
|
|
657
|
-
.sd-1-5-
|
657
|
+
.sd-1-5-5-pagination ul {
|
658
658
|
display: flex;
|
659
659
|
align-items: center;
|
660
660
|
gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
661
661
|
}
|
662
662
|
|
663
|
-
.sd-1-5-
|
663
|
+
.sd-1-5-5-pagination ul li button {
|
664
664
|
all: unset;
|
665
665
|
border-width: 0px;
|
666
666
|
border-style: solid;
|
667
667
|
border-color: transparent;
|
668
668
|
}
|
669
669
|
|
670
|
-
.sd-1-5-
|
670
|
+
.sd-1-5-5-pagination ul li button:hover:not([disabled]) {
|
671
671
|
cursor: pointer;
|
672
672
|
}
|
673
673
|
|
674
|
-
.sd-1-5-
|
674
|
+
.sd-1-5-5-pagination ul li:has(button) {
|
675
675
|
height: 1.875rem;
|
676
676
|
}
|
677
677
|
|
678
|
-
.sd-1-5-
|
679
|
-
.sd-1-5-
|
678
|
+
.sd-1-5-5-pagination ul li a,
|
679
|
+
.sd-1-5-5-pagination ul li button {
|
680
680
|
display: flex;
|
681
681
|
align-items: center;
|
682
682
|
justify-content: center;
|
@@ -688,19 +688,19 @@ Used for inverted pressed interaction text link */;
|
|
688
688
|
transition-duration: 150ms;
|
689
689
|
}
|
690
690
|
|
691
|
-
.sd-1-5-
|
692
|
-
.sd-1-5-
|
691
|
+
.sd-1-5-5-pagination ul li a:hover:not([disabled]),
|
692
|
+
.sd-1-5-5-pagination ul li button:hover:not([disabled]) {
|
693
693
|
|
694
694
|
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
|
695
695
|
}
|
696
696
|
|
697
|
-
.sd-1-5-
|
698
|
-
.sd-1-5-
|
697
|
+
.sd-1-5-5-pagination ul li a:active:not([disabled]),
|
698
|
+
.sd-1-5-5-pagination ul li button:active:not([disabled]) {
|
699
699
|
|
700
700
|
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
|
701
701
|
}
|
702
702
|
|
703
|
-
.sd-1-5-
|
703
|
+
.sd-1-5-5-pagination ul li a:focus-visible, .sd-1-5-5-pagination ul li button:focus-visible {
|
704
704
|
outline-style: solid;
|
705
705
|
outline-width: 2px;
|
706
706
|
outline-offset: 2px;
|
@@ -709,24 +709,24 @@ Used for inverted pressed interaction text link */;
|
|
709
709
|
|
710
710
|
/* Previous and Next */
|
711
711
|
|
712
|
-
.sd-1-5-
|
713
|
-
.sd-1-5-
|
712
|
+
.sd-1-5-5-pagination ul li:first-child,
|
713
|
+
.sd-1-5-5-pagination ul li:last-child {
|
714
714
|
height: var(--sd-spacing-12, 3rem) /* 48px */;
|
715
715
|
width: var(--sd-spacing-12, 3rem) /* 48px */;
|
716
716
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
717
717
|
}
|
718
718
|
|
719
|
-
.sd-1-5-
|
720
|
-
.sd-1-5-
|
721
|
-
.sd-1-5-
|
722
|
-
.sd-1-5-
|
719
|
+
.sd-1-5-5-pagination ul li:first-child a,
|
720
|
+
.sd-1-5-5-pagination ul li:first-child button,
|
721
|
+
.sd-1-5-5-pagination ul li:last-child a,
|
722
|
+
.sd-1-5-5-pagination ul li:last-child button {
|
723
723
|
height: 100%;
|
724
724
|
width: 100%;
|
725
725
|
}
|
726
726
|
|
727
727
|
/* Numbers */
|
728
728
|
|
729
|
-
.sd-1-5-
|
729
|
+
.sd-1-5-5-pagination ul li {
|
730
730
|
display: flex;
|
731
731
|
height: var(--sd-spacing-8, 2rem) /* 32px */;
|
732
732
|
width: var(--sd-spacing-8, 2rem) /* 32px */;
|
@@ -735,47 +735,47 @@ Used for inverted pressed interaction text link */;
|
|
735
735
|
text-align: center;
|
736
736
|
}
|
737
737
|
|
738
|
-
.sd-1-5-
|
739
|
-
.sd-1-5-
|
738
|
+
.sd-1-5-5-pagination ul li:not(:first-child):not(:last-child) a,
|
739
|
+
.sd-1-5-5-pagination ul li:not(:first-child):not(:last-child) button {
|
740
740
|
height: 100%;
|
741
741
|
width: 100%;
|
742
742
|
border-bottom-width: 2px;
|
743
743
|
border-bottom-color: transparent;
|
744
744
|
}
|
745
745
|
|
746
|
-
.sd-1-5-
|
746
|
+
.sd-1-5-5-pagination ul li:not(:first-child):not(:last-child) a[aria-current], .sd-1-5-5-pagination ul li:not(:first-child):not(:last-child) button[aria-current] {
|
747
747
|
--tw-border-opacity: 1;
|
748
748
|
border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
|
749
749
|
*/;
|
750
750
|
}
|
751
751
|
|
752
|
-
.sd-1-5-
|
753
|
-
.sd-1-5-
|
752
|
+
.sd-1-5-5-pagination ul li a[aria-current],
|
753
|
+
.sd-1-5-5-pagination ul li button[aria-current] {
|
754
754
|
|
755
755
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
756
756
|
}
|
757
757
|
|
758
|
-
.sd-1-5-
|
759
|
-
.sd-1-5-
|
758
|
+
.sd-1-5-5-pagination ul li a[aria-current]:hover:not([disabled]),
|
759
|
+
.sd-1-5-5-pagination ul li button[aria-current]:hover:not([disabled]) {
|
760
760
|
|
761
761
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
762
762
|
}
|
763
763
|
|
764
764
|
/* Previous and next arrow when it has no href */
|
765
765
|
|
766
|
-
.sd-1-5-
|
767
|
-
.sd-1-5-
|
768
|
-
.sd-1-5-
|
769
|
-
.sd-1-5-
|
766
|
+
.sd-1-5-5-pagination ul li:first-child:has(a:not([href])) a,
|
767
|
+
.sd-1-5-5-pagination ul li:last-child:has(a:not([href])) a,
|
768
|
+
.sd-1-5-5-pagination ul li:first-child:has(button[disabled]) button,
|
769
|
+
.sd-1-5-5-pagination ul li:last-child:has(button[disabled]) button {
|
770
770
|
cursor: not-allowed;
|
771
771
|
|
772
772
|
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
773
773
|
}
|
774
774
|
|
775
|
-
.sd-1-5-
|
776
|
-
.sd-1-5-
|
777
|
-
.sd-1-5-
|
778
|
-
.sd-1-5-
|
775
|
+
.sd-1-5-5-pagination ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
|
776
|
+
.sd-1-5-5-pagination ul li:last-child:has(a:not([href])) a:hover:not([disabled]),
|
777
|
+
.sd-1-5-5-pagination ul li:first-child:has(button[disabled]) button:hover:not([disabled]),
|
778
|
+
.sd-1-5-5-pagination ul li:last-child:has(button[disabled]) button:hover:not([disabled]) {
|
779
779
|
|
780
780
|
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
781
781
|
}
|
@@ -784,66 +784,66 @@ Used for inverted pressed interaction text link */;
|
|
784
784
|
|
785
785
|
/* Number which is not current */
|
786
786
|
|
787
|
-
.sd-1-5-
|
787
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current], button[aria-current])) {
|
788
788
|
pointer-events: none;
|
789
789
|
position: absolute;
|
790
790
|
}
|
791
791
|
|
792
|
-
.sd-1-5-
|
793
|
-
.sd-1-5-
|
792
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current], button[aria-current])) a,
|
793
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current], button[aria-current])) button {
|
794
794
|
display: none;
|
795
795
|
}
|
796
796
|
|
797
797
|
/* Apply ellipsis to (n + 2 && n - 1) */
|
798
798
|
|
799
|
-
.sd-1-5-
|
799
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current], + li + li button[aria-current]), .sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current], button[aria-current]) + li + li:not(:last-child) {
|
800
800
|
pointer-events: auto !important;
|
801
801
|
position: relative !important;
|
802
802
|
}
|
803
803
|
|
804
|
-
.sd-1-5-
|
804
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current], + li + li button[aria-current])::after, .sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current], button[aria-current]) + li + li:not(:last-child)::after {
|
805
805
|
--tw-content: '...';
|
806
806
|
content: var(--tw-content);
|
807
807
|
}
|
808
808
|
|
809
|
-
.sd-1-5-
|
810
|
-
.sd-1-5-
|
811
|
-
.sd-1-5-
|
809
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2),
|
810
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2),
|
811
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
812
812
|
+ li a[aria-current],
|
813
813
|
+ li button[aria-current]),
|
814
|
-
.sd-1-5-
|
814
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
815
815
|
a[aria-current],
|
816
816
|
button[aria-current]) + li {
|
817
817
|
pointer-events: auto !important;
|
818
818
|
position: relative !important;
|
819
819
|
}
|
820
820
|
|
821
|
-
.sd-1-5-
|
822
|
-
.sd-1-5-
|
823
|
-
.sd-1-5-
|
821
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2)::after,
|
822
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2)::after,
|
823
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
824
824
|
+ li a[aria-current],
|
825
825
|
+ li button[aria-current])::after,
|
826
|
-
.sd-1-5-
|
826
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
827
827
|
a[aria-current],
|
828
828
|
button[aria-current]) + li::after {
|
829
829
|
content: var(--tw-content) !important;
|
830
830
|
display: none !important;
|
831
831
|
}
|
832
832
|
|
833
|
-
.sd-1-5-
|
834
|
-
.sd-1-5-
|
835
|
-
.sd-1-5-
|
836
|
-
.sd-1-5-
|
837
|
-
.sd-1-5-
|
833
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2) a,
|
834
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2) button,
|
835
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2) a,
|
836
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2) button,
|
837
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
838
838
|
+ li a[aria-current],
|
839
839
|
+ li button[aria-current]) a,
|
840
|
-
.sd-1-5-
|
840
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
841
841
|
+ li a[aria-current],
|
842
842
|
+ li button[aria-current]) button,
|
843
|
-
.sd-1-5-
|
843
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
844
844
|
a[aria-current],
|
845
845
|
button[aria-current]) + li a,
|
846
|
-
.sd-1-5-
|
846
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):has(
|
847
847
|
a[aria-current],
|
848
848
|
button[aria-current]) + li button {
|
849
849
|
display: flex !important;
|
@@ -853,70 +853,70 @@ Used for inverted pressed interaction text link */;
|
|
853
853
|
|
854
854
|
/* Show until the 5th page (forward) */
|
855
855
|
|
856
|
-
.sd-1-5-
|
856
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6) {
|
857
857
|
pointer-events: auto;
|
858
858
|
position: relative;
|
859
859
|
}
|
860
860
|
|
861
|
-
.sd-1-5-
|
861
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6)::after {
|
862
862
|
content: var(--tw-content);
|
863
863
|
display: none;
|
864
864
|
}
|
865
865
|
|
866
|
-
.sd-1-5-
|
867
|
-
.sd-1-5-
|
866
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6) a,
|
867
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6) button {
|
868
868
|
display: flex;
|
869
869
|
}
|
870
870
|
|
871
871
|
/* Show ellipsis on the 6th */
|
872
872
|
|
873
|
-
.sd-1-5-
|
873
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(6):not(:last-child) + li {
|
874
874
|
pointer-events: none;
|
875
875
|
position: relative;
|
876
876
|
}
|
877
877
|
|
878
|
-
.sd-1-5-
|
878
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(6):not(:last-child) + li::after {
|
879
879
|
--tw-content: '...';
|
880
880
|
content: var(--tw-content);
|
881
881
|
}
|
882
882
|
|
883
883
|
/* When one of the first 4 pages is selected, show until the 5th page (backward) */
|
884
884
|
|
885
|
-
.sd-1-5-
|
885
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current]) {
|
886
886
|
pointer-events: auto;
|
887
887
|
position: relative;
|
888
888
|
}
|
889
889
|
|
890
|
-
.sd-1-5-
|
890
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current])::after {
|
891
891
|
content: var(--tw-content);
|
892
892
|
display: none;
|
893
893
|
}
|
894
894
|
|
895
|
-
.sd-1-5-
|
896
|
-
.sd-1-5-
|
895
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current]) a,
|
896
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current]) button {
|
897
897
|
display: flex;
|
898
898
|
}
|
899
899
|
|
900
900
|
/* When one of the last 4 pages is selected, show the last 4 pages (forward) */
|
901
901
|
|
902
|
-
.sd-1-5-
|
902
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) {
|
903
903
|
pointer-events: auto;
|
904
904
|
position: relative;
|
905
905
|
}
|
906
906
|
|
907
|
-
.sd-1-5-
|
907
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child)::after {
|
908
908
|
content: var(--tw-content);
|
909
909
|
display: none;
|
910
910
|
}
|
911
911
|
|
912
|
-
.sd-1-5-
|
913
|
-
.sd-1-5-
|
912
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) a,
|
913
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) button {
|
914
914
|
display: flex;
|
915
915
|
}
|
916
916
|
|
917
917
|
/* When one of the last 4 pages is selected, show the last 4 pages (backward) */
|
918
918
|
|
919
|
-
.sd-1-5-
|
919
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(
|
920
920
|
~ :nth-last-child(-n + 5) a[aria-current],
|
921
921
|
~ :nth-last-child(-n + 5) button[aria-current]
|
922
922
|
) {
|
@@ -924,7 +924,7 @@ Used for inverted pressed interaction text link */;
|
|
924
924
|
position: relative;
|
925
925
|
}
|
926
926
|
|
927
|
-
.sd-1-5-
|
927
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(
|
928
928
|
~ :nth-last-child(-n + 5) a[aria-current],
|
929
929
|
~ :nth-last-child(-n + 5) button[aria-current]
|
930
930
|
)::after {
|
@@ -932,11 +932,11 @@ Used for inverted pressed interaction text link */;
|
|
932
932
|
display: none;
|
933
933
|
}
|
934
934
|
|
935
|
-
.sd-1-5-
|
935
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(
|
936
936
|
~ :nth-last-child(-n + 5) a[aria-current],
|
937
937
|
~ :nth-last-child(-n + 5) button[aria-current]
|
938
938
|
) a,
|
939
|
-
.sd-1-5-
|
939
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(
|
940
940
|
~ :nth-last-child(-n + 5) a[aria-current],
|
941
941
|
~ :nth-last-child(-n + 5) button[aria-current]
|
942
942
|
) button {
|
@@ -945,7 +945,7 @@ Used for inverted pressed interaction text link */;
|
|
945
945
|
|
946
946
|
/* Show ellipsis on the 6th to last */
|
947
947
|
|
948
|
-
.sd-1-5-
|
948
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(7):has(
|
949
949
|
~ :nth-last-child(-n + 5) a[aria-current],
|
950
950
|
~ :nth-last-child(-n + 5) button[aria-current]
|
951
951
|
) {
|
@@ -953,7 +953,7 @@ Used for inverted pressed interaction text link */;
|
|
953
953
|
position: relative;
|
954
954
|
}
|
955
955
|
|
956
|
-
.sd-1-5-
|
956
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(7):has(
|
957
957
|
~ :nth-last-child(-n + 5) a[aria-current],
|
958
958
|
~ :nth-last-child(-n + 5) button[aria-current]
|
959
959
|
)::after {
|
@@ -963,22 +963,22 @@ Used for inverted pressed interaction text link */;
|
|
963
963
|
|
964
964
|
/* When it only has 5 numbers + 2 prev & next buttons */
|
965
965
|
|
966
|
-
.sd-1-5-
|
966
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li {
|
967
967
|
pointer-events: auto;
|
968
968
|
position: relative;
|
969
969
|
}
|
970
970
|
|
971
|
-
.sd-1-5-
|
971
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li::after {
|
972
972
|
content: var(--tw-content);
|
973
973
|
display: none;
|
974
974
|
}
|
975
975
|
|
976
|
-
.sd-1-5-
|
977
|
-
.sd-1-5-
|
976
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li a,
|
977
|
+
.sd-1-5-5-pagination:not(.sd-1-5-5-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li button {
|
978
978
|
display: flex;
|
979
979
|
}
|
980
980
|
|
981
|
-
.sd-1-5-
|
981
|
+
.sd-1-5-5-pagination--simple ul li:nth-child(2) {
|
982
982
|
position: relative;
|
983
983
|
margin-inline-end: var(--sd-spacing-5, 1.25rem) /* 20px */;
|
984
984
|
width: var(--sd-spacing-8, 2rem) /* 32px */;
|
@@ -988,7 +988,7 @@ Used for inverted pressed interaction text link */;
|
|
988
988
|
*/;
|
989
989
|
}
|
990
990
|
|
991
|
-
.sd-1-5-
|
991
|
+
.sd-1-5-5-pagination--simple ul li:nth-child(2)::after {
|
992
992
|
position: absolute;
|
993
993
|
right: -18px;
|
994
994
|
--tw-scale-y: 1.5;
|
@@ -997,73 +997,73 @@ Used for inverted pressed interaction text link */;
|
|
997
997
|
content: var(--tw-content);
|
998
998
|
}
|
999
999
|
|
1000
|
-
.sd-1-5-
|
1000
|
+
.sd-1-5-5-pagination--simple ul li:nth-child(2) {
|
1001
1001
|
|
1002
1002
|
border-bottom-style: solid;
|
1003
1003
|
}
|
1004
1004
|
|
1005
|
-
.sd-1-5-
|
1005
|
+
.sd-1-5-5-pagination--simple ul li:nth-last-child(2) {
|
1006
1006
|
border-bottom-width: 2px;
|
1007
1007
|
border-bottom-color: transparent;
|
1008
1008
|
}
|
1009
1009
|
|
1010
|
-
.sd-1-5-
|
1010
|
+
.sd-1-5-5-pagination--inverted ul li::after {
|
1011
1011
|
content: var(--tw-content);
|
1012
1012
|
|
1013
1013
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1014
1014
|
}
|
1015
1015
|
|
1016
|
-
.sd-1-5-
|
1017
|
-
.sd-1-5-
|
1018
|
-
.sd-1-5-
|
1019
|
-
.sd-1-5-
|
1016
|
+
.sd-1-5-5-pagination--inverted ul li:first-child:has(a:not([href])) a,
|
1017
|
+
.sd-1-5-5-pagination--inverted ul li:last-child:has(a:not([href])) a,
|
1018
|
+
.sd-1-5-5-pagination--inverted ul li:first-child:has(button[disabled]) button,
|
1019
|
+
.sd-1-5-5-pagination--inverted ul li:last-child:has(button[disabled]) button {
|
1020
1020
|
|
1021
1021
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
1022
1022
|
}
|
1023
1023
|
|
1024
|
-
.sd-1-5-
|
1025
|
-
.sd-1-5-
|
1026
|
-
.sd-1-5-
|
1027
|
-
.sd-1-5-
|
1024
|
+
.sd-1-5-5-pagination--inverted ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
|
1025
|
+
.sd-1-5-5-pagination--inverted ul li:last-child:has(a:not([href])) a:hover:not([disabled]),
|
1026
|
+
.sd-1-5-5-pagination--inverted ul li:first-child:has(button[disabled]) button:hover:not([disabled]),
|
1027
|
+
.sd-1-5-5-pagination--inverted ul li:last-child:has(button[disabled]) button:hover:not([disabled]) {
|
1028
1028
|
|
1029
1029
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
1030
1030
|
}
|
1031
1031
|
|
1032
|
-
.sd-1-5-
|
1033
|
-
.sd-1-5-
|
1034
|
-
.sd-1-5-
|
1035
|
-
.sd-1-5-
|
1032
|
+
.sd-1-5-5-pagination--inverted ul li a,
|
1033
|
+
.sd-1-5-5-pagination--inverted ul li a[aria-current],
|
1034
|
+
.sd-1-5-5-pagination--inverted ul li button,
|
1035
|
+
.sd-1-5-5-pagination--inverted ul li button[aria-current] {
|
1036
1036
|
|
1037
1037
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1038
1038
|
}
|
1039
1039
|
|
1040
|
-
.sd-1-5-
|
1041
|
-
.sd-1-5-
|
1042
|
-
.sd-1-5-
|
1043
|
-
.sd-1-5-
|
1040
|
+
.sd-1-5-5-pagination--inverted ul li a:hover:not([disabled]),
|
1041
|
+
.sd-1-5-5-pagination--inverted ul li a[aria-current]:hover:not([disabled]),
|
1042
|
+
.sd-1-5-5-pagination--inverted ul li button:hover:not([disabled]),
|
1043
|
+
.sd-1-5-5-pagination--inverted ul li button[aria-current]:hover:not([disabled]) {
|
1044
1044
|
|
1045
1045
|
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 */;
|
1046
1046
|
}
|
1047
1047
|
|
1048
|
-
.sd-1-5-
|
1049
|
-
.sd-1-5-
|
1050
|
-
.sd-1-5-
|
1051
|
-
.sd-1-5-
|
1048
|
+
.sd-1-5-5-pagination--inverted ul li a:active:not([disabled]),
|
1049
|
+
.sd-1-5-5-pagination--inverted ul li a[aria-current]:active:not([disabled]),
|
1050
|
+
.sd-1-5-5-pagination--inverted ul li button:active:not([disabled]),
|
1051
|
+
.sd-1-5-5-pagination--inverted ul li button[aria-current]:active:not([disabled]) {
|
1052
1052
|
|
1053
1053
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
1054
1054
|
Used for inverted pressed interaction text link */;
|
1055
1055
|
}
|
1056
1056
|
|
1057
|
-
.sd-1-5-
|
1057
|
+
.sd-1-5-5-pagination--inverted ul li a:focus-visible, .sd-1-5-5-pagination--inverted ul li a[aria-current]:focus-visible, .sd-1-5-5-pagination--inverted ul li button:focus-visible, .sd-1-5-5-pagination--inverted ul li button[aria-current]:focus-visible {
|
1058
1058
|
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */;
|
1059
1059
|
}
|
1060
1060
|
|
1061
|
-
.sd-1-5-
|
1061
|
+
.sd-1-5-5-pagination--inverted.sd-1-5-5-pagination--simple ul li {
|
1062
1062
|
|
1063
1063
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1064
1064
|
}
|
1065
1065
|
|
1066
|
-
.sd-1-5-
|
1066
|
+
.sd-1-5-5-pagination--inverted.sd-1-5-5-pagination--simple ul li::after {
|
1067
1067
|
content: var(--tw-content);
|
1068
1068
|
|
1069
1069
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
@@ -1071,18 +1071,18 @@ Used for inverted pressed interaction text link */;
|
|
1071
1071
|
|
1072
1072
|
/**
|
1073
1073
|
* Description of the style.
|
1074
|
-
* @name sd-1-5-
|
1074
|
+
* @name sd-1-5-5-status-badge
|
1075
1075
|
* @status stable
|
1076
1076
|
* @since 1.0
|
1077
|
-
* @variant { sucess | warning | error | info } sd-1-5-
|
1077
|
+
* @variant { sucess | warning | error | info } sd-1-5-5-status-badge--...
|
1078
1078
|
*/
|
1079
1079
|
|
1080
|
-
.sd-1-5-
|
1080
|
+
.sd-1-5-5-status-badge {
|
1081
1081
|
display: inline-flex;
|
1082
1082
|
align-items: center;
|
1083
1083
|
}
|
1084
1084
|
|
1085
|
-
.sd-1-5-
|
1085
|
+
.sd-1-5-5-status-badge sd-icon {
|
1086
1086
|
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1087
1087
|
display: flex;
|
1088
1088
|
height: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
@@ -1093,22 +1093,22 @@ Used for inverted pressed interaction text link */;
|
|
1093
1093
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */ !important;
|
1094
1094
|
}
|
1095
1095
|
|
1096
|
-
.sd-1-5-
|
1096
|
+
.sd-1-5-5-status-badge--success sd-icon {
|
1097
1097
|
|
1098
1098
|
background-color: rgb(var(--sd-color-success, 37 136 14) / var(--tw-bg-opacity, 1)) /* Used for success messages */;
|
1099
1099
|
}
|
1100
1100
|
|
1101
|
-
.sd-1-5-
|
1101
|
+
.sd-1-5-5-status-badge--warning sd-icon {
|
1102
1102
|
|
1103
1103
|
background-color: rgb(var(--sd-color-warning, 187 141 32) / var(--tw-bg-opacity, 1)) /* Used for notifications */;
|
1104
1104
|
}
|
1105
1105
|
|
1106
|
-
.sd-1-5-
|
1106
|
+
.sd-1-5-5-status-badge--error sd-icon {
|
1107
1107
|
|
1108
1108
|
background-color: rgb(var(--sd-color-error, 204 25 55) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */;
|
1109
1109
|
}
|
1110
1110
|
|
1111
|
-
.sd-1-5-
|
1111
|
+
.sd-1-5-5-status-badge--info sd-icon {
|
1112
1112
|
|
1113
1113
|
background-color: rgb(var(--sd-color-info, 21 130 213) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */;
|
1114
1114
|
}
|
@@ -1117,23 +1117,23 @@ Used for inverted pressed interaction text link */;
|
|
1117
1117
|
|
1118
1118
|
/**
|
1119
1119
|
* Prose
|
1120
|
-
* @name sd-1-5-
|
1120
|
+
* @name sd-1-5-5-prose
|
1121
1121
|
* @status stable
|
1122
1122
|
* @since 3.6.0
|
1123
|
-
* @boolean sd-1-5-
|
1124
|
-
* @boolean sd-1-5-
|
1123
|
+
* @boolean sd-1-5-5-prose--inverted Inverts the content, but not tables.
|
1124
|
+
* @boolean sd-1-5-5-prose--full-width Overrides the 80ch max-width and makes the prose full width.
|
1125
1125
|
*/
|
1126
1126
|
|
1127
1127
|
/**
|
1128
1128
|
* Display provides larger text sizes that are not used as headlines. The different sizes allow for a more versatile styling of text elements. Display text should not be used as substitute for headlines.
|
1129
|
-
* @name sd-1-5-
|
1129
|
+
* @name sd-1-5-5-display
|
1130
1130
|
* @status stable
|
1131
1131
|
* @since 1.7
|
1132
|
-
* @variant { xl | 3xl } sd-1-5-
|
1133
|
-
* @boolean sd-1-5-
|
1132
|
+
* @variant { xl | 3xl } sd-1-5-5-display--size-... The display's size.
|
1133
|
+
* @boolean sd-1-5-5-display--inverted Inverts the display text.
|
1134
1134
|
*/
|
1135
1135
|
|
1136
|
-
.sd-1-5-
|
1136
|
+
.sd-1-5-5-display {
|
1137
1137
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
1138
1138
|
font-weight: 400;
|
1139
1139
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -1143,12 +1143,12 @@ Used for inverted pressed interaction text link */;
|
|
1143
1143
|
|
1144
1144
|
@media (min-width: 1024px) {
|
1145
1145
|
|
1146
|
-
.sd-1-5-
|
1146
|
+
.sd-1-5-5-display {
|
1147
1147
|
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
1148
1148
|
}
|
1149
1149
|
}
|
1150
1150
|
|
1151
|
-
.sd-1-5-
|
1151
|
+
.sd-1-5-5-display--size-xl {
|
1152
1152
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
1153
1153
|
font-weight: 400;
|
1154
1154
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -1156,7 +1156,7 @@ Used for inverted pressed interaction text link */;
|
|
1156
1156
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1157
1157
|
}
|
1158
1158
|
|
1159
|
-
.sd-1-5-
|
1159
|
+
.sd-1-5-5-display--size-3xl {
|
1160
1160
|
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
1161
1161
|
font-weight: 400;
|
1162
1162
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -1166,35 +1166,35 @@ Used for inverted pressed interaction text link */;
|
|
1166
1166
|
|
1167
1167
|
@media (min-width: 1024px) {
|
1168
1168
|
|
1169
|
-
.sd-1-5-
|
1169
|
+
.sd-1-5-5-display--size-3xl {
|
1170
1170
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
1171
1171
|
}
|
1172
1172
|
}
|
1173
1173
|
|
1174
|
-
.sd-1-5-
|
1174
|
+
.sd-1-5-5-display--inverted {
|
1175
1175
|
|
1176
1176
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1177
1177
|
}
|
1178
1178
|
|
1179
1179
|
/**
|
1180
1180
|
* Headlines are vital for displaying content hierarchy and to improve accessibility. A headline can be additionally accompanied by an icon. The icon can be displayed on the left side or inline.
|
1181
|
-
* @name sd-1-5-
|
1181
|
+
* @name sd-1-5-5-headline
|
1182
1182
|
* @status stable
|
1183
1183
|
* @since 1.16
|
1184
|
-
* @variant { 3xl | xl | lg | base } sd-1-5-
|
1185
|
-
* @boolean sd-1-5-
|
1186
|
-
* @boolean sd-1-5-
|
1184
|
+
* @variant { 3xl | xl | lg | base } sd-1-5-5-headline--size-... The headline's size.
|
1185
|
+
* @boolean sd-1-5-5-headline--inverted Inverts the headline text.
|
1186
|
+
* @boolean sd-1-5-5-headline--inline Sets inline behavior. Used exclusively when an sd-icon or other component is present. See usage <a href="#inline">here.</a>
|
1187
1187
|
*/
|
1188
1188
|
|
1189
|
-
.sd-1-5-
|
1190
|
-
.sd-1-5-
|
1189
|
+
.sd-1-5-5-headline,
|
1190
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5) {
|
1191
1191
|
display: flex;
|
1192
1192
|
font-weight: 700;
|
1193
1193
|
|
1194
1194
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
1195
1195
|
}
|
1196
1196
|
|
1197
|
-
.sd-1-5-
|
1197
|
+
.sd-1-5-5-headline sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
1198
1198
|
flex-shrink: 0;
|
1199
1199
|
font-size: 3rem;
|
1200
1200
|
|
@@ -1203,15 +1203,15 @@ Used for inverted pressed interaction text link */;
|
|
1203
1203
|
|
1204
1204
|
@media (min-width: 640px) {
|
1205
1205
|
|
1206
|
-
.sd-1-5-
|
1206
|
+
.sd-1-5-5-headline sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
1207
1207
|
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1208
1208
|
}
|
1209
1209
|
}
|
1210
1210
|
|
1211
|
-
.sd-1-5-
|
1212
|
-
.sd-1-5-
|
1213
|
-
.sd-1-5-
|
1214
|
-
.sd-1-5-
|
1211
|
+
.sd-1-5-5-headline.sd-1-5-5-headline,
|
1212
|
+
.sd-1-5-5-headline:is(h1):not(.sd-1-5-5-headline),
|
1213
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline,
|
1214
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-5-5-headline) {
|
1215
1215
|
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
1216
1216
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
1217
1217
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -1219,29 +1219,29 @@ Used for inverted pressed interaction text link */;
|
|
1219
1219
|
|
1220
1220
|
@media (min-width: 640px) {
|
1221
1221
|
|
1222
|
-
.sd-1-5-
|
1223
|
-
.sd-1-5-
|
1224
|
-
.sd-1-5-
|
1225
|
-
.sd-1-5-
|
1222
|
+
.sd-1-5-5-headline.sd-1-5-5-headline,
|
1223
|
+
.sd-1-5-5-headline:is(h1):not(.sd-1-5-5-headline),
|
1224
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline,
|
1225
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-5-5-headline) {
|
1226
1226
|
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
1227
1227
|
}
|
1228
1228
|
}
|
1229
1229
|
|
1230
|
-
.sd-1-5-
|
1230
|
+
.sd-1-5-5-headline.sd-1-5-5-headline sd-icon, .sd-1-5-5-headline:is(h1):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-5-5-headline) sd-icon {
|
1231
1231
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
1232
1232
|
}
|
1233
1233
|
|
1234
1234
|
@media (min-width: 640px) {
|
1235
1235
|
|
1236
|
-
.sd-1-5-
|
1236
|
+
.sd-1-5-5-headline.sd-1-5-5-headline sd-icon, .sd-1-5-5-headline:is(h1):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-5-5-headline) sd-icon {
|
1237
1237
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1238
1238
|
}
|
1239
1239
|
}
|
1240
1240
|
|
1241
|
-
.sd-1-5-
|
1242
|
-
.sd-1-5-
|
1243
|
-
.sd-1-5-
|
1244
|
-
.sd-1-5-
|
1241
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-3xl,
|
1242
|
+
.sd-1-5-5-headline:is(h2):not(.sd-1-5-5-headline),
|
1243
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-3xl,
|
1244
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-5-5-headline) {
|
1245
1245
|
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
1246
1246
|
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
1247
1247
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -1249,144 +1249,144 @@ Used for inverted pressed interaction text link */;
|
|
1249
1249
|
|
1250
1250
|
@media (min-width: 640px) {
|
1251
1251
|
|
1252
|
-
.sd-1-5-
|
1253
|
-
.sd-1-5-
|
1254
|
-
.sd-1-5-
|
1255
|
-
.sd-1-5-
|
1252
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-3xl,
|
1253
|
+
.sd-1-5-5-headline:is(h2):not(.sd-1-5-5-headline),
|
1254
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-3xl,
|
1255
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-5-5-headline) {
|
1256
1256
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
1257
1257
|
}
|
1258
1258
|
}
|
1259
1259
|
|
1260
|
-
.sd-1-5-
|
1260
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-3xl sd-icon, .sd-1-5-5-headline:is(h2):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-3xl sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-5-5-headline) sd-icon {
|
1261
1261
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
1262
1262
|
}
|
1263
1263
|
|
1264
1264
|
@media (min-width: 640px) {
|
1265
1265
|
|
1266
|
-
.sd-1-5-
|
1266
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-3xl sd-icon, .sd-1-5-5-headline:is(h2):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-3xl sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-5-5-headline) sd-icon {
|
1267
1267
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1268
1268
|
}
|
1269
1269
|
}
|
1270
1270
|
|
1271
|
-
.sd-1-5-
|
1272
|
-
.sd-1-5-
|
1273
|
-
.sd-1-5-
|
1274
|
-
.sd-1-5-
|
1275
|
-
.sd-1-5-
|
1276
|
-
.sd-1-5-
|
1277
|
-
.sd-1-5-
|
1278
|
-
.sd-1-5-
|
1271
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-xl,
|
1272
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-lg,
|
1273
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-base,
|
1274
|
+
.sd-1-5-5-headline:is(h3, h4, h5):not(.sd-1-5-5-headline),
|
1275
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-xl,
|
1276
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-lg,
|
1277
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-base,
|
1278
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-5-5-headline) {
|
1279
1279
|
gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1280
1280
|
|
1281
1281
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1282
1282
|
}
|
1283
1283
|
|
1284
|
-
.sd-1-5-
|
1284
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-xl sd-icon, .sd-1-5-5-headline.sd-1-5-5-headline--size-lg sd-icon, .sd-1-5-5-headline.sd-1-5-5-headline--size-base sd-icon, .sd-1-5-5-headline:is(h3, h4, h5):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-xl sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-lg sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-base sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-5-5-headline) sd-icon {
|
1285
1285
|
font-size: 2rem;
|
1286
1286
|
}
|
1287
1287
|
|
1288
|
-
.sd-1-5-
|
1289
|
-
.sd-1-5-
|
1290
|
-
.sd-1-5-
|
1291
|
-
.sd-1-5-
|
1288
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-xl,
|
1289
|
+
.sd-1-5-5-headline:is(h3):not(.sd-1-5-5-headline),
|
1290
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-xl,
|
1291
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-5-5-headline) {
|
1292
1292
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
1293
1293
|
}
|
1294
1294
|
|
1295
|
-
.sd-1-5-
|
1295
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-xl sd-icon, .sd-1-5-5-headline:is(h3):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-xl sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-5-5-headline) sd-icon {
|
1296
1296
|
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
1297
1297
|
}
|
1298
1298
|
|
1299
1299
|
@media (min-width: 640px) {
|
1300
1300
|
|
1301
|
-
.sd-1-5-
|
1301
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-xl sd-icon, .sd-1-5-5-headline:is(h3):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-xl sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-5-5-headline) sd-icon {
|
1302
1302
|
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
1303
1303
|
}
|
1304
1304
|
}
|
1305
1305
|
|
1306
|
-
.sd-1-5-
|
1307
|
-
.sd-1-5-
|
1308
|
-
.sd-1-5-
|
1309
|
-
.sd-1-5-
|
1310
|
-
.sd-1-5-
|
1311
|
-
.sd-1-5-
|
1306
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-lg,
|
1307
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-base,
|
1308
|
+
.sd-1-5-5-headline:is(h4, h5):not(.sd-1-5-5-headline),
|
1309
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-lg,
|
1310
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-base,
|
1311
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h4, h5):not(.sd-1-5-5-headline) {
|
1312
1312
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
1313
1313
|
}
|
1314
1314
|
|
1315
|
-
.sd-1-5-
|
1316
|
-
.sd-1-5-
|
1317
|
-
.sd-1-5-
|
1318
|
-
.sd-1-5-
|
1315
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-lg,
|
1316
|
+
.sd-1-5-5-headline:is(h4),
|
1317
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-lg,
|
1318
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h4) {
|
1319
1319
|
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
1320
1320
|
}
|
1321
1321
|
|
1322
|
-
.sd-1-5-
|
1322
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-lg sd-icon, .sd-1-5-5-headline:is(h4) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-lg sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
1323
1323
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1324
1324
|
}
|
1325
1325
|
|
1326
1326
|
@media (min-width: 640px) {
|
1327
1327
|
|
1328
|
-
.sd-1-5-
|
1328
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-lg sd-icon, .sd-1-5-5-headline:is(h4) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-lg sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
1329
1329
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1330
1330
|
}
|
1331
1331
|
}
|
1332
1332
|
|
1333
|
-
.sd-1-5-
|
1334
|
-
.sd-1-5-
|
1335
|
-
.sd-1-5-
|
1336
|
-
.sd-1-5-
|
1333
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-base,
|
1334
|
+
.sd-1-5-5-headline:is(h5):not(.sd-1-5-5-headline),
|
1335
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-base,
|
1336
|
+
.sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-5-5-headline) {
|
1337
1337
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
1338
1338
|
}
|
1339
1339
|
|
1340
|
-
.sd-1-5-
|
1340
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-base sd-icon, .sd-1-5-5-headline:is(h5):not(.sd-1-5-5-headline) sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-base sd-icon, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-5-5-headline) sd-icon {
|
1341
1341
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
1342
1342
|
}
|
1343
1343
|
|
1344
|
-
.sd-1-5-
|
1344
|
+
.sd-1-5-5-headline.sd-1-5-5-headline--size-base mark, .sd-1-5-5-headline:is(h5):not(.sd-1-5-5-headline) mark, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5).sd-1-5-5-headline--size-base mark, .sd-1-5-5-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-5-5-headline) mark {
|
1345
1345
|
color: inherit;
|
1346
1346
|
}
|
1347
1347
|
|
1348
|
-
.sd-1-5-
|
1348
|
+
.sd-1-5-5-headline--inline {
|
1349
1349
|
display: inline-block;
|
1350
1350
|
}
|
1351
1351
|
|
1352
|
-
.sd-1-5-
|
1352
|
+
.sd-1-5-5-headline--inline sd-icon {
|
1353
1353
|
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1354
1354
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
1355
1355
|
vertical-align: middle;
|
1356
1356
|
}
|
1357
1357
|
|
1358
|
-
.sd-1-5-
|
1358
|
+
.sd-1-5-5-headline--inline:is(.sd-1-5-5-headline--size-xl, .sd-1-5-5-headline--size-lg, .sd-1-5-5-headline--size-base) sd-icon {
|
1359
1359
|
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
1360
1360
|
}
|
1361
1361
|
|
1362
|
-
.sd-1-5-
|
1363
|
-
.sd-1-5-
|
1362
|
+
.sd-1-5-5-headline--inverted:not(#_),
|
1363
|
+
.sd-1-5-5-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-5-5-headline):not(#_) {
|
1364
1364
|
|
1365
1365
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1366
1366
|
}
|
1367
1367
|
|
1368
|
-
.sd-1-5-
|
1368
|
+
.sd-1-5-5-headline--inverted:not(#_) sd-icon, .sd-1-5-5-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-5-5-headline):not(#_) sd-icon {
|
1369
1369
|
|
1370
1370
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1371
1371
|
}
|
1372
1372
|
|
1373
1373
|
/**
|
1374
1374
|
* Generates basic styles for interactive elements.
|
1375
|
-
* @name sd-1-5-
|
1375
|
+
* @name sd-1-5-5-interactive
|
1376
1376
|
* @status stable
|
1377
1377
|
* @since 1.11
|
1378
|
-
* @boolean sd-1-5-
|
1379
|
-
* @boolean sd-1-5-
|
1380
|
-
* @boolean sd-1-5-
|
1378
|
+
* @boolean sd-1-5-5-interactive--disabled Makes an element look disabled.
|
1379
|
+
* @boolean sd-1-5-5-interactive--inverted Inverts the colors of an element.
|
1380
|
+
* @boolean sd-1-5-5-interactive--reset Resets the default browser styles of e.g., a button.
|
1381
1381
|
*/
|
1382
1382
|
|
1383
|
-
.sd-1-5-
|
1383
|
+
.sd-1-5-5-prose a--reset, .sd-1-5-5-interactive--reset {
|
1384
1384
|
all: unset;
|
1385
1385
|
outline: revert;
|
1386
1386
|
}
|
1387
1387
|
|
1388
|
-
.sd-1-5-
|
1389
|
-
.sd-1-5-
|
1388
|
+
.sd-1-5-5-prose a,
|
1389
|
+
.sd-1-5-5-interactive {
|
1390
1390
|
cursor: pointer;
|
1391
1391
|
|
1392
1392
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
@@ -1400,95 +1400,95 @@ Smooth transitions eg. for buttons or dropdowns */;
|
|
1400
1400
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1401
1401
|
}
|
1402
1402
|
|
1403
|
-
.sd-1-5-
|
1404
|
-
.sd-1-5-
|
1403
|
+
.sd-1-5-5-prose a:hover:not([disabled]),
|
1404
|
+
.sd-1-5-5-interactive:hover:not([disabled]) {
|
1405
1405
|
|
1406
1406
|
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
|
1407
1407
|
}
|
1408
1408
|
|
1409
|
-
.sd-1-5-
|
1410
|
-
.sd-1-5-
|
1409
|
+
.sd-1-5-5-prose a:active:not([disabled]),
|
1410
|
+
.sd-1-5-5-interactive:active:not([disabled]) {
|
1411
1411
|
|
1412
1412
|
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
|
1413
1413
|
}
|
1414
1414
|
|
1415
|
-
.sd-1-5-
|
1415
|
+
.sd-1-5-5-prose a:is(.sd-1-5-5-interactive), .sd-1-5-5-interactive:is(.sd-1-5-5-interactive) {
|
1416
1416
|
text-decoration-line: none;
|
1417
1417
|
}
|
1418
1418
|
|
1419
|
-
.sd-1-5-
|
1419
|
+
.sd-1-5-5-prose a:focus-visible, .sd-1-5-5-interactive:focus-visible {
|
1420
1420
|
outline-style: solid;
|
1421
1421
|
outline-width: 2px;
|
1422
1422
|
outline-offset: 2px;
|
1423
1423
|
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
1424
1424
|
}
|
1425
1425
|
|
1426
|
-
.sd-1-5-
|
1427
|
-
.sd-1-5-
|
1428
|
-
.sd-1-5-
|
1429
|
-
.sd-1-5-
|
1430
|
-
.sd-1-5-
|
1431
|
-
.sd-1-5-
|
1426
|
+
.sd-1-5-5-prose a--disabled,
|
1427
|
+
.sd-1-5-5-prose a[disabled],
|
1428
|
+
.sd-1-5-5-prose a[href=''],
|
1429
|
+
.sd-1-5-5-interactive--disabled,
|
1430
|
+
.sd-1-5-5-interactive[disabled],
|
1431
|
+
.sd-1-5-5-interactive[href=''] {
|
1432
1432
|
cursor: not-allowed;
|
1433
1433
|
|
1434
1434
|
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
1435
1435
|
}
|
1436
1436
|
|
1437
|
-
.sd-1-5-
|
1438
|
-
.sd-1-5-
|
1439
|
-
.sd-1-5-
|
1440
|
-
.sd-1-5-
|
1441
|
-
.sd-1-5-
|
1442
|
-
.sd-1-5-
|
1437
|
+
.sd-1-5-5-prose a--disabled:hover:not([disabled]),
|
1438
|
+
.sd-1-5-5-prose a[disabled]:hover:not([disabled]),
|
1439
|
+
.sd-1-5-5-prose a[href='']:hover:not([disabled]),
|
1440
|
+
.sd-1-5-5-interactive--disabled:hover:not([disabled]),
|
1441
|
+
.sd-1-5-5-interactive[disabled]:hover:not([disabled]),
|
1442
|
+
.sd-1-5-5-interactive[href='']:hover:not([disabled]) {
|
1443
1443
|
|
1444
1444
|
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
1445
1445
|
}
|
1446
1446
|
|
1447
|
-
.sd-1-5-
|
1448
|
-
.sd-1-5-
|
1449
|
-
.sd-1-5-
|
1450
|
-
.sd-1-5-
|
1451
|
-
.sd-1-5-
|
1452
|
-
.sd-1-5-
|
1447
|
+
.sd-1-5-5-prose a--disabled:active:not([disabled]),
|
1448
|
+
.sd-1-5-5-prose a[disabled]:active:not([disabled]),
|
1449
|
+
.sd-1-5-5-prose a[href='']:active:not([disabled]),
|
1450
|
+
.sd-1-5-5-interactive--disabled:active:not([disabled]),
|
1451
|
+
.sd-1-5-5-interactive[disabled]:active:not([disabled]),
|
1452
|
+
.sd-1-5-5-interactive[href='']:active:not([disabled]) {
|
1453
1453
|
|
1454
1454
|
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
1455
1455
|
}
|
1456
1456
|
|
1457
|
-
.sd-1-5-
|
1457
|
+
.sd-1-5-5-prose a--disabled.sd-1-5-5-interactive--inverted, .sd-1-5-5-prose a[disabled].sd-1-5-5-interactive--inverted, .sd-1-5-5-prose a[href=''].sd-1-5-5-interactive--inverted, .sd-1-5-5-interactive--disabled.sd-1-5-5-interactive--inverted, .sd-1-5-5-interactive[disabled].sd-1-5-5-interactive--inverted, .sd-1-5-5-interactive[href=''].sd-1-5-5-interactive--inverted {
|
1458
1458
|
|
1459
1459
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
1460
1460
|
}
|
1461
1461
|
|
1462
|
-
.sd-1-5-
|
1462
|
+
.sd-1-5-5-prose a--disabled.sd-1-5-5-interactive--inverted:hover:not([disabled]), .sd-1-5-5-prose a[disabled].sd-1-5-5-interactive--inverted:hover:not([disabled]), .sd-1-5-5-prose a[href=''].sd-1-5-5-interactive--inverted:hover:not([disabled]), .sd-1-5-5-interactive--disabled.sd-1-5-5-interactive--inverted:hover:not([disabled]), .sd-1-5-5-interactive[disabled].sd-1-5-5-interactive--inverted:hover:not([disabled]), .sd-1-5-5-interactive[href=''].sd-1-5-5-interactive--inverted:hover:not([disabled]) {
|
1463
1463
|
|
1464
1464
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
1465
1465
|
}
|
1466
1466
|
|
1467
|
-
.sd-1-5-
|
1467
|
+
.sd-1-5-5-prose a--disabled.sd-1-5-5-interactive--inverted:active:not([disabled]), .sd-1-5-5-prose a[disabled].sd-1-5-5-interactive--inverted:active:not([disabled]), .sd-1-5-5-prose a[href=''].sd-1-5-5-interactive--inverted:active:not([disabled]), .sd-1-5-5-interactive--disabled.sd-1-5-5-interactive--inverted:active:not([disabled]), .sd-1-5-5-interactive[disabled].sd-1-5-5-interactive--inverted:active:not([disabled]), .sd-1-5-5-interactive[href=''].sd-1-5-5-interactive--inverted:active:not([disabled]) {
|
1468
1468
|
|
1469
1469
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
1470
1470
|
}
|
1471
1471
|
|
1472
|
-
.sd-1-5-
|
1473
|
-
.sd-1-5-
|
1472
|
+
.sd-1-5-5-prose--inverted a,
|
1473
|
+
.sd-1-5-5-interactive--inverted {
|
1474
1474
|
|
1475
1475
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1476
1476
|
}
|
1477
1477
|
|
1478
|
-
.sd-1-5-
|
1479
|
-
.sd-1-5-
|
1478
|
+
.sd-1-5-5-prose--inverted a:hover:not([disabled]),
|
1479
|
+
.sd-1-5-5-interactive--inverted:hover:not([disabled]) {
|
1480
1480
|
|
1481
1481
|
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 */;
|
1482
1482
|
}
|
1483
1483
|
|
1484
|
-
.sd-1-5-
|
1485
|
-
.sd-1-5-
|
1484
|
+
.sd-1-5-5-prose--inverted a:active:not([disabled]),
|
1485
|
+
.sd-1-5-5-interactive--inverted:active:not([disabled]) {
|
1486
1486
|
|
1487
1487
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
1488
1488
|
Used for inverted pressed interaction text link */;
|
1489
1489
|
}
|
1490
1490
|
|
1491
|
-
.sd-1-5-
|
1491
|
+
.sd-1-5-5-prose--inverted a:focus-visible, .sd-1-5-5-interactive--inverted:focus-visible {
|
1492
1492
|
outline-style: solid;
|
1493
1493
|
outline-width: 2px;
|
1494
1494
|
outline-offset: 2px;
|
@@ -1497,15 +1497,15 @@ Used for inverted pressed interaction text link */;
|
|
1497
1497
|
|
1498
1498
|
/**
|
1499
1499
|
* Leadtext is used for text that should be highlighted and a focal point of the page.
|
1500
|
-
* @name sd-1-5-
|
1500
|
+
* @name sd-1-5-5-leadtext
|
1501
1501
|
* @status stable
|
1502
1502
|
* @since 1.7
|
1503
|
-
* @variant { lg } sd-1-5-
|
1504
|
-
* @boolean sd-1-5-
|
1503
|
+
* @variant { lg } sd-1-5-5-leadtext--size-... The leadtext's size.
|
1504
|
+
* @boolean sd-1-5-5-leadtext--inverted Inverts the leadtext text.
|
1505
1505
|
*/
|
1506
1506
|
|
1507
|
-
.sd-1-5-
|
1508
|
-
.sd-1-5-
|
1507
|
+
.sd-1-5-5-prose > .sd-1-5-5-leadtext,
|
1508
|
+
.sd-1-5-5-leadtext {
|
1509
1509
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
1510
1510
|
font-weight: 400;
|
1511
1511
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1513,7 +1513,7 @@ Used for inverted pressed interaction text link */;
|
|
1513
1513
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1514
1514
|
}
|
1515
1515
|
|
1516
|
-
.sd-1-5-
|
1516
|
+
.sd-1-5-5-prose > .sd-1-5-5-leadtext--size-lg, .sd-1-5-5-leadtext--size-lg {
|
1517
1517
|
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
1518
1518
|
font-weight: 400;
|
1519
1519
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1521,22 +1521,22 @@ Used for inverted pressed interaction text link */;
|
|
1521
1521
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1522
1522
|
}
|
1523
1523
|
|
1524
|
-
.sd-1-5-
|
1525
|
-
.sd-1-5-
|
1524
|
+
.sd-1-5-5-prose--inverted > .sd-1-5-5-leadtext,
|
1525
|
+
.sd-1-5-5-leadtext--inverted {
|
1526
1526
|
|
1527
1527
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1528
1528
|
}
|
1529
1529
|
|
1530
1530
|
/**
|
1531
1531
|
* Generates basic styles for list elements.
|
1532
|
-
* @name sd-1-5-
|
1532
|
+
* @name sd-1-5-5-list
|
1533
1533
|
* @status stable
|
1534
1534
|
* @since 1.39.0
|
1535
|
-
* @boolean sd-1-5-
|
1535
|
+
* @boolean sd-1-5-5-list--inverted Inverts the list text.
|
1536
1536
|
*/
|
1537
1537
|
|
1538
|
-
.sd-1-5-
|
1539
|
-
.sd-1-5-
|
1538
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon),
|
1539
|
+
.sd-1-5-5-prose > :is(ol, ul) {
|
1540
1540
|
list-style-position: revert;
|
1541
1541
|
list-style-type: revert;
|
1542
1542
|
padding: revert;
|
@@ -1550,14 +1550,14 @@ Used for inverted pressed interaction text link */;
|
|
1550
1550
|
*/
|
1551
1551
|
}
|
1552
1552
|
|
1553
|
-
.sd-1-5-
|
1553
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon) li:not(:first-child), .sd-1-5-5-prose > :is(ol, ul) li:not(:first-child) {
|
1554
1554
|
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1555
1555
|
}
|
1556
1556
|
|
1557
|
-
.sd-1-5-
|
1558
|
-
.sd-1-5-
|
1559
|
-
.sd-1-5-
|
1560
|
-
.sd-1-5-
|
1557
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon) ul,
|
1558
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon) ol,
|
1559
|
+
.sd-1-5-5-prose > :is(ol, ul) ul,
|
1560
|
+
.sd-1-5-5-prose > :is(ol, ul) ol {
|
1561
1561
|
all: revert;
|
1562
1562
|
padding-left: 1.4em;
|
1563
1563
|
padding-top: 0.75em;
|
@@ -1565,8 +1565,8 @@ Used for inverted pressed interaction text link */;
|
|
1565
1565
|
|
1566
1566
|
@supports not (-webkit-hyphens: none) {
|
1567
1567
|
|
1568
|
-
.sd-1-5-
|
1569
|
-
.sd-1-5-
|
1568
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon),
|
1569
|
+
.sd-1-5-5-prose > :is(ol, ul) {
|
1570
1570
|
/* Safari automatically adds some spacing. This adds it for other browsers. */
|
1571
1571
|
|
1572
1572
|
/*
|
@@ -1580,38 +1580,38 @@ Used for inverted pressed interaction text link */;
|
|
1580
1580
|
*/
|
1581
1581
|
/* Level 1 */
|
1582
1582
|
}
|
1583
|
-
.sd-1-5-
|
1583
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon) li, .sd-1-5-5-prose > :is(ol, ul) li {
|
1584
1584
|
padding-left: 0.3em;
|
1585
1585
|
}
|
1586
|
-
.sd-1-5-
|
1586
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon), .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) {
|
1587
1587
|
counter-reset: item;
|
1588
1588
|
}
|
1589
|
-
.sd-1-5-
|
1589
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li {
|
1590
1590
|
counter-increment: item;
|
1591
1591
|
}
|
1592
|
-
.sd-1-5-
|
1592
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li::marker, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li::marker {
|
1593
1593
|
content: counters(item, '.', decimal) '. ';
|
1594
1594
|
}
|
1595
1595
|
/* Level 2 */
|
1596
|
-
.sd-1-5-
|
1596
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li > ol, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li > ol {
|
1597
1597
|
padding-left: 1.9em;
|
1598
1598
|
counter-reset: subitem;
|
1599
1599
|
}
|
1600
|
-
.sd-1-5-
|
1600
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li {
|
1601
1601
|
counter-increment: subitem;
|
1602
1602
|
}
|
1603
|
-
.sd-1-5-
|
1603
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li::marker, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li::marker {
|
1604
1604
|
content: counters(item, '.', decimal) '.' counters(subitem, '.', decimal) '. ';
|
1605
1605
|
}
|
1606
1606
|
/* Level 3 */
|
1607
|
-
.sd-1-5-
|
1607
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li > ol, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li > ol {
|
1608
1608
|
padding-left: 2.7em;
|
1609
1609
|
counter-reset: subsubitem;
|
1610
1610
|
}
|
1611
|
-
.sd-1-5-
|
1611
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li > ol > li, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li > ol > li {
|
1612
1612
|
counter-increment: subsubitem;
|
1613
1613
|
}
|
1614
|
-
.sd-1-5-
|
1614
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li > ol > li::marker, .sd-1-5-5-prose > :is(ol, ul):is(ol):not(.sd-1-5-5-list--icon) > li > ol > li > ol > li::marker {
|
1615
1615
|
content: counters(item, '.', decimal) '.' counters(subitem, '.', decimal) '.'
|
1616
1616
|
counters(subsubitem, '.', decimal) '. ';
|
1617
1617
|
}
|
@@ -1619,35 +1619,35 @@ Used for inverted pressed interaction text link */;
|
|
1619
1619
|
|
1620
1620
|
/* Level 1 */
|
1621
1621
|
|
1622
|
-
.sd-1-5-
|
1623
|
-
.sd-1-5-
|
1624
|
-
.sd-1-5-
|
1625
|
-
.sd-1-5-
|
1622
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ul):not(.sd-1-5-5-list--icon),
|
1623
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon) ul,
|
1624
|
+
.sd-1-5-5-prose > :is(ol, ul):is(ul):not(.sd-1-5-5-list--icon),
|
1625
|
+
.sd-1-5-5-prose > :is(ol, ul) ul {
|
1626
1626
|
padding-left: 0.5em;
|
1627
1627
|
}
|
1628
1628
|
|
1629
|
-
.sd-1-5-
|
1629
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ul):not(.sd-1-5-5-list--icon) > li, .sd-1-5-5-list:not(.sd-1-5-5-list--icon) ul > li, .sd-1-5-5-prose > :is(ol, ul):is(ul):not(.sd-1-5-5-list--icon) > li, .sd-1-5-5-prose > :is(ol, ul) ul > li {
|
1630
1630
|
padding-left: 0.75em;
|
1631
1631
|
list-style-type: '\2022'; /* • */
|
1632
1632
|
}
|
1633
1633
|
|
1634
1634
|
/* Level 2 */
|
1635
1635
|
|
1636
|
-
.sd-1-5-
|
1636
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ul):not(.sd-1-5-5-list--icon) > li > ul, .sd-1-5-5-list:not(.sd-1-5-5-list--icon) ul > li > ul, .sd-1-5-5-prose > :is(ol, ul):is(ul):not(.sd-1-5-5-list--icon) > li > ul, .sd-1-5-5-prose > :is(ol, ul) ul > li > ul {
|
1637
1637
|
padding-left: 0.3em;
|
1638
1638
|
}
|
1639
1639
|
|
1640
|
-
.sd-1-5-
|
1640
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ul):not(.sd-1-5-5-list--icon) > li > ul > li, .sd-1-5-5-list:not(.sd-1-5-5-list--icon) ul > li > ul > li, .sd-1-5-5-prose > :is(ol, ul):is(ul):not(.sd-1-5-5-list--icon) > li > ul > li, .sd-1-5-5-prose > :is(ol, ul) ul > li > ul > li {
|
1641
1641
|
list-style-type: '\002B1D'; /* · */
|
1642
1642
|
}
|
1643
1643
|
|
1644
1644
|
/* Level 3 */
|
1645
1645
|
|
1646
|
-
.sd-1-5-
|
1646
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ul):not(.sd-1-5-5-list--icon) > li > ul > li > ul, .sd-1-5-5-list:not(.sd-1-5-5-list--icon) ul > li > ul > li > ul, .sd-1-5-5-prose > :is(ol, ul):is(ul):not(.sd-1-5-5-list--icon) > li > ul > li > ul, .sd-1-5-5-prose > :is(ol, ul) ul > li > ul > li > ul {
|
1647
1647
|
padding-left: 0.4em;
|
1648
1648
|
}
|
1649
1649
|
|
1650
|
-
.sd-1-5-
|
1650
|
+
.sd-1-5-5-list:not(.sd-1-5-5-list--icon):is(ul):not(.sd-1-5-5-list--icon) > li > ul > li > ul > li, .sd-1-5-5-list:not(.sd-1-5-5-list--icon) ul > li > ul > li > ul > li, .sd-1-5-5-prose > :is(ol, ul):is(ul):not(.sd-1-5-5-list--icon) > li > ul > li > ul > li, .sd-1-5-5-prose > :is(ol, ul) ul > li > ul > li > ul > li {
|
1651
1651
|
list-style-type: '\2010'; /* - */
|
1652
1652
|
}
|
1653
1653
|
|
@@ -1655,19 +1655,19 @@ Used for inverted pressed interaction text link */;
|
|
1655
1655
|
* Icon lists
|
1656
1656
|
*/
|
1657
1657
|
|
1658
|
-
.sd-1-5-
|
1658
|
+
.sd-1-5-5-list--icon {
|
1659
1659
|
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
1660
1660
|
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
1661
1661
|
text-align: left;
|
1662
1662
|
}
|
1663
1663
|
|
1664
|
-
.sd-1-5-
|
1665
|
-
.sd-1-5-
|
1664
|
+
.sd-1-5-5-list--icon li sd-icon:first-of-type,
|
1665
|
+
.sd-1-5-5-list--icon li .sd-1-5-5-list--icon__icon:first-of-type {
|
1666
1666
|
|
1667
1667
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1668
1668
|
}
|
1669
1669
|
|
1670
|
-
.sd-1-5-
|
1670
|
+
.sd-1-5-5-list--icon {
|
1671
1671
|
list-style-type: '';
|
1672
1672
|
}
|
1673
1673
|
|
@@ -1675,19 +1675,19 @@ Used for inverted pressed interaction text link */;
|
|
1675
1675
|
styles without affecting semantics is to set list-style-type to an empty string.
|
1676
1676
|
https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics */
|
1677
1677
|
|
1678
|
-
.sd-1-5-
|
1678
|
+
.sd-1-5-5-list--icon > li:first-of-type {
|
1679
1679
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1680
1680
|
}
|
1681
1681
|
|
1682
|
-
.sd-1-5-
|
1682
|
+
.sd-1-5-5-list--icon li {
|
1683
1683
|
position: relative;
|
1684
1684
|
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1685
1685
|
padding-left: var(--sd-spacing-10, 2.5rem) /* 40px */;
|
1686
1686
|
line-height: 32px;
|
1687
1687
|
}
|
1688
1688
|
|
1689
|
-
.sd-1-5-
|
1690
|
-
.sd-1-5-
|
1689
|
+
.sd-1-5-5-list--icon li > sd-icon:first-of-type,
|
1690
|
+
.sd-1-5-5-list--icon li > .sd-1-5-5-list--icon__icon:first-of-type {
|
1691
1691
|
position: absolute;
|
1692
1692
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1693
1693
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
@@ -1695,16 +1695,16 @@ Used for inverted pressed interaction text link */;
|
|
1695
1695
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
1696
1696
|
}
|
1697
1697
|
|
1698
|
-
.sd-1-5-
|
1698
|
+
.sd-1-5-5-list--icon.sd-1-5-5-list--horizontal {
|
1699
1699
|
display: flex;
|
1700
1700
|
}
|
1701
1701
|
|
1702
|
-
.sd-1-5-
|
1702
|
+
.sd-1-5-5-list--icon.sd-1-5-5-list--horizontal li {
|
1703
1703
|
display: flex;
|
1704
1704
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1705
1705
|
}
|
1706
1706
|
|
1707
|
-
.sd-1-5-
|
1707
|
+
.sd-1-5-5-list--icon.sd-1-5-5-list--horizontal li:not(:last-child) {
|
1708
1708
|
margin-right: var(--sd-spacing-8, 2rem) /* 32px */;
|
1709
1709
|
}
|
1710
1710
|
|
@@ -1712,31 +1712,31 @@ Used for inverted pressed interaction text link */;
|
|
1712
1712
|
* Inverted
|
1713
1713
|
*/
|
1714
1714
|
|
1715
|
-
.sd-1-5-
|
1716
|
-
.sd-1-5-
|
1715
|
+
.sd-1-5-5-list--inverted,
|
1716
|
+
.sd-1-5-5-prose--inverted > :is(ol, ul) {
|
1717
1717
|
|
1718
1718
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1719
1719
|
}
|
1720
1720
|
|
1721
|
-
.sd-1-5-
|
1722
|
-
.sd-1-5-
|
1723
|
-
.sd-1-5-
|
1724
|
-
.sd-1-5-
|
1721
|
+
.sd-1-5-5-list--inverted li > sd-icon:first-of-type,
|
1722
|
+
.sd-1-5-5-list--inverted li > .sd-1-5-5-list--icon__icon:first-of-type,
|
1723
|
+
.sd-1-5-5-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type,
|
1724
|
+
.sd-1-5-5-prose--inverted > :is(ol, ul) li > .sd-1-5-5-list--icon__icon:first-of-type {
|
1725
1725
|
|
1726
1726
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1727
1727
|
}
|
1728
1728
|
|
1729
1729
|
/**
|
1730
1730
|
* A paragraph is used to display blocks of text. It uses the base font size and can contain bold and/or link styles.
|
1731
|
-
* @name sd-1-5-
|
1731
|
+
* @name sd-1-5-5-paragraph
|
1732
1732
|
* @status stable
|
1733
1733
|
* @since 1.7
|
1734
|
-
* @variant { sm } sd-1-5-
|
1735
|
-
* @boolean sd-1-5-
|
1734
|
+
* @variant { sm } sd-1-5-5-paragraph--size-... The paragraph's font size.
|
1735
|
+
* @boolean sd-1-5-5-paragraph--inverted Inverts the paragraph text.
|
1736
1736
|
*/
|
1737
1737
|
|
1738
|
-
.sd-1-5-
|
1739
|
-
.sd-1-5-
|
1738
|
+
.sd-1-5-5-paragraph,
|
1739
|
+
.sd-1-5-5-prose p {
|
1740
1740
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
1741
1741
|
font-weight: 400;
|
1742
1742
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1744,7 +1744,7 @@ Used for inverted pressed interaction text link */;
|
|
1744
1744
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1745
1745
|
}
|
1746
1746
|
|
1747
|
-
.sd-1-5-
|
1747
|
+
.sd-1-5-5-paragraph--size-sm, .sd-1-5-5-prose p--size-sm {
|
1748
1748
|
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
1749
1749
|
font-weight: 400;
|
1750
1750
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1752,35 +1752,35 @@ Used for inverted pressed interaction text link */;
|
|
1752
1752
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1753
1753
|
}
|
1754
1754
|
|
1755
|
-
.sd-1-5-
|
1756
|
-
.sd-1-5-
|
1755
|
+
.sd-1-5-5-paragraph--inverted,
|
1756
|
+
.sd-1-5-5-prose--inverted p {
|
1757
1757
|
|
1758
1758
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1759
1759
|
}
|
1760
1760
|
|
1761
1761
|
/**
|
1762
1762
|
* Generates basic styles for media elements.
|
1763
|
-
* @name sd-1-5-
|
1763
|
+
* @name sd-1-5-5-media
|
1764
1764
|
* @status stable
|
1765
1765
|
* @since 2.5.0
|
1766
|
-
* @boolean sd-1-5-
|
1766
|
+
* @boolean sd-1-5-5-media--inverted Inverts the figcaption text.
|
1767
1767
|
*/
|
1768
1768
|
|
1769
|
-
.sd-1-5-
|
1770
|
-
figure.sd-1-5-
|
1769
|
+
.sd-1-5-5-prose figure,
|
1770
|
+
figure.sd-1-5-5-media {
|
1771
1771
|
margin: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1772
1772
|
}
|
1773
1773
|
|
1774
|
-
.sd-1-5-
|
1774
|
+
.sd-1-5-5-prose figure figcaption, figure.sd-1-5-5-media figcaption {
|
1775
1775
|
|
1776
1776
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
1777
1777
|
}
|
1778
1778
|
|
1779
|
-
.sd-1-5-
|
1779
|
+
.sd-1-5-5-prose figure figcaption:last-child, figure.sd-1-5-5-media figcaption:last-child {
|
1780
1780
|
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1781
1781
|
}
|
1782
1782
|
|
1783
|
-
.sd-1-5-
|
1783
|
+
.sd-1-5-5-prose--inverted figure figcaption, figure.sd-1-5-5-media--inverted figcaption {
|
1784
1784
|
|
1785
1785
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
1786
1786
|
Used for inverted pressed interaction text link */;
|
@@ -1788,18 +1788,18 @@ Used for inverted pressed interaction text link */;
|
|
1788
1788
|
|
1789
1789
|
/**
|
1790
1790
|
* A table cell is a single cell inside a table, used to display discrete data elements.
|
1791
|
-
* @name sd-1-5-
|
1791
|
+
* @name sd-1-5-5-table-cell
|
1792
1792
|
* @status stable
|
1793
1793
|
* @since 1.13
|
1794
|
-
* @boolean sd-1-5-
|
1795
|
-
* @variant { white | primary-100 | neutral-100 } sd-1-5-
|
1796
|
-
* @boolean sd-1-5-
|
1797
|
-
* @variant { top | left | right | bottom } sd-1-5-
|
1794
|
+
* @boolean sd-1-5-5-table-cell--divider Displays a divider to the right.
|
1795
|
+
* @variant { white | primary-100 | neutral-100 } sd-1-5-5-table-cell--bg-... Applies the selected background-color to the table cell. If not selected, a transparent background-color is used per default.
|
1796
|
+
* @boolean sd-1-5-5-table-cell--shadow-active Displays the table shadow.
|
1797
|
+
* @variant { top | left | right | bottom } sd-1-5-5-table-cell--shadow-... Applies the selected shadow to the table cell.
|
1798
1798
|
*/
|
1799
1799
|
|
1800
|
-
.sd-1-5-
|
1801
|
-
.sd-1-5-
|
1802
|
-
.sd-1-5-
|
1800
|
+
.sd-1-5-5-prose td,
|
1801
|
+
.sd-1-5-5-prose th,
|
1802
|
+
.sd-1-5-5-table-cell {
|
1803
1803
|
border-top-width: 1px;
|
1804
1804
|
border-bottom-width: 1px;
|
1805
1805
|
border-left-width: 0px;
|
@@ -1816,11 +1816,11 @@ Used for divider, teaser, container, ... */;
|
|
1816
1816
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1817
1817
|
}
|
1818
1818
|
|
1819
|
-
.sd-1-5-
|
1819
|
+
.sd-1-5-5-table-cell--divider {
|
1820
1820
|
border-right-width: 1px;
|
1821
1821
|
}
|
1822
1822
|
|
1823
|
-
.sd-1-5-
|
1823
|
+
.sd-1-5-5-table-cell--shadow-top:after, .sd-1-5-5-table-cell--shadow-bottom:after, .sd-1-5-5-table-cell--shadow-left:after, .sd-1-5-5-table-cell--shadow-right:after {
|
1824
1824
|
pointer-events: none;
|
1825
1825
|
position: absolute;
|
1826
1826
|
--tw-gradient-from: rgb(0 0 0 / var(--sd-opacity-10, 0.1)) var(--tw-gradient-from-position);
|
@@ -1835,7 +1835,7 @@ Used for divider, teaser, container, ... */;
|
|
1835
1835
|
content: var(--tw-content);
|
1836
1836
|
}
|
1837
1837
|
|
1838
|
-
.sd-1-5-
|
1838
|
+
.sd-1-5-5-table-cell--shadow-top:after, .sd-1-5-5-table-cell--shadow-bottom:after {
|
1839
1839
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1840
1840
|
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1841
1841
|
height: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
@@ -1843,7 +1843,7 @@ Used for divider, teaser, container, ... */;
|
|
1843
1843
|
|
1844
1844
|
/* fix that shows line on top of table-cell */
|
1845
1845
|
|
1846
|
-
.sd-1-5-
|
1846
|
+
.sd-1-5-5-table-cell--shadow-top:before, .sd-1-5-5-table-cell--shadow-bottom:before {
|
1847
1847
|
position: absolute;
|
1848
1848
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1849
1849
|
display: block;
|
@@ -1857,66 +1857,66 @@ Used for divider, teaser, container, ... */;
|
|
1857
1857
|
content: var(--tw-content);
|
1858
1858
|
}
|
1859
1859
|
|
1860
|
-
.sd-1-5-
|
1860
|
+
.sd-1-5-5-table-cell--shadow-left:after, .sd-1-5-5-table-cell--shadow-right:after {
|
1861
1861
|
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1862
1862
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1863
1863
|
width: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
1864
1864
|
}
|
1865
1865
|
|
1866
|
-
.sd-1-5-
|
1866
|
+
.sd-1-5-5-table-cell.sd-1-5-5-table-cell--shadow-active:after {
|
1867
1867
|
opacity: 100%;
|
1868
1868
|
}
|
1869
1869
|
|
1870
|
-
.sd-1-5-
|
1870
|
+
.sd-1-5-5-table-cell--shadow-top:after {
|
1871
1871
|
top: -10px;
|
1872
1872
|
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
1873
1873
|
}
|
1874
1874
|
|
1875
1875
|
/* fix that shows line on top of table-cell */
|
1876
1876
|
|
1877
|
-
.sd-1-5-
|
1877
|
+
.sd-1-5-5-table-cell--shadow-top:before {
|
1878
1878
|
bottom: -1px;
|
1879
1879
|
}
|
1880
1880
|
|
1881
|
-
.sd-1-5-
|
1881
|
+
.sd-1-5-5-table-cell--shadow-bottom:after {
|
1882
1882
|
bottom: -10px;
|
1883
1883
|
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
|
1884
1884
|
}
|
1885
1885
|
|
1886
1886
|
/* fix that shows line on top of table-cell */
|
1887
1887
|
|
1888
|
-
.sd-1-5-
|
1888
|
+
.sd-1-5-5-table-cell--shadow-bottom:before {
|
1889
1889
|
top: -1px;
|
1890
1890
|
}
|
1891
1891
|
|
1892
|
-
.sd-1-5-
|
1892
|
+
.sd-1-5-5-table-cell--shadow-left:after {
|
1893
1893
|
left: -10px;
|
1894
1894
|
background-image: linear-gradient(to left, var(--tw-gradient-stops));
|
1895
1895
|
}
|
1896
1896
|
|
1897
|
-
.sd-1-5-
|
1897
|
+
.sd-1-5-5-table-cell--shadow-right:after {
|
1898
1898
|
right: -10px;
|
1899
1899
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
1900
1900
|
}
|
1901
1901
|
|
1902
|
-
.sd-1-5-
|
1902
|
+
.sd-1-5-5-table-cell--bg-white {
|
1903
1903
|
|
1904
1904
|
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
1905
1905
|
}
|
1906
1906
|
|
1907
|
-
.sd-1-5-
|
1907
|
+
.sd-1-5-5-table-cell--bg-primary-100 {
|
1908
1908
|
|
1909
1909
|
background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
1910
1910
|
}
|
1911
1911
|
|
1912
|
-
.sd-1-5-
|
1912
|
+
.sd-1-5-5-table-cell--bg-neutral-100 {
|
1913
1913
|
|
1914
1914
|
background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
1915
1915
|
}
|
1916
1916
|
|
1917
1917
|
/**
|
1918
1918
|
* A table is organized structured content, used for scanning, comparing, and analyzing the data.
|
1919
|
-
* @name sd-1-5-
|
1919
|
+
* @name sd-1-5-5-table
|
1920
1920
|
* @status stable
|
1921
1921
|
* @since 1.13
|
1922
1922
|
*/
|
@@ -1925,8 +1925,8 @@ Used for divider, teaser, container, ... */;
|
|
1925
1925
|
* Remove inherited styles from table before applying our styles.
|
1926
1926
|
*/
|
1927
1927
|
|
1928
|
-
.sd-1-5-
|
1929
|
-
.sd-1-5-
|
1928
|
+
.sd-1-5-5-table,
|
1929
|
+
.sd-1-5-5-prose table {
|
1930
1930
|
all: unset;
|
1931
1931
|
display: table;
|
1932
1932
|
border-collapse: collapse;
|
@@ -1935,13 +1935,13 @@ Used for divider, teaser, container, ... */;
|
|
1935
1935
|
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
1936
1936
|
}
|
1937
1937
|
|
1938
|
-
.sd-1-5-
|
1938
|
+
.sd-1-5-5-table thead tr:first-of-type, .sd-1-5-5-table tfoot tr:first-of-type, .sd-1-5-5-prose table thead tr:first-of-type, .sd-1-5-5-prose table tfoot tr:first-of-type {
|
1939
1939
|
position: relative;
|
1940
1940
|
}
|
1941
1941
|
|
1942
1942
|
/* plop:style */
|
1943
1943
|
|
1944
|
-
.sd-1-5-
|
1944
|
+
.sd-1-5-5-prose {
|
1945
1945
|
/* Optimize for reading. */
|
1946
1946
|
max-width: 80ch;
|
1947
1947
|
text-align: left;
|
@@ -1949,67 +1949,67 @@ Used for divider, teaser, container, ... */;
|
|
1949
1949
|
|
1950
1950
|
/* Add default spacings */
|
1951
1951
|
|
1952
|
-
.sd-1-5-
|
1952
|
+
.sd-1-5-5-prose > *:not(:first-child) {
|
1953
1953
|
margin-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
1954
1954
|
}
|
1955
1955
|
|
1956
1956
|
/* First element has no margin-top */
|
1957
1957
|
|
1958
|
-
.sd-1-5-
|
1958
|
+
.sd-1-5-5-prose > *:first-child {
|
1959
1959
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1960
1960
|
}
|
1961
1961
|
|
1962
1962
|
/* headings after a heading have a smaller margin-top */
|
1963
1963
|
|
1964
|
-
.sd-1-5-
|
1964
|
+
.sd-1-5-5-prose > :is(h1, h2, h3, h4, h5):not(#_) + :is(h1, h2, h3, h4, h5) {
|
1965
1965
|
/* :not(#_) is a hack to raise specifity, see https://stackoverflow.com/a/61781795 */
|
1966
1966
|
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1967
1967
|
}
|
1968
1968
|
|
1969
1969
|
/* Headlines after other non-headlines have a larger margin-top */
|
1970
1970
|
|
1971
|
-
.sd-1-5-
|
1971
|
+
.sd-1-5-5-prose > *:not(:is(h1, h2, h3, h4, h5)) + :is(h1, h2, h3, h4, h5):not(#_) {
|
1972
1972
|
margin-top: var(--sd-spacing-8, 2rem) /* 32px */;
|
1973
1973
|
}
|
1974
1974
|
|
1975
1975
|
/* Images and figures lead to a bigger margin-top for the next element */
|
1976
1976
|
|
1977
|
-
.sd-1-5-
|
1978
|
-
.sd-1-5-
|
1977
|
+
.sd-1-5-5-prose > figure + *:not(#_),
|
1978
|
+
.sd-1-5-5-prose > img + *:not(#_) {
|
1979
1979
|
margin-top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
1980
1980
|
}
|
1981
1981
|
|
1982
1982
|
/* Add styles for elements that are not based on existing CSS styles */
|
1983
1983
|
|
1984
|
-
.sd-1-5-
|
1984
|
+
.sd-1-5-5-prose hr {
|
1985
1985
|
height: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1986
1986
|
border-top-width: 1px;
|
1987
1987
|
--tw-border-opacity: 1;
|
1988
1988
|
border-color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-border-opacity, 1)) /* Used for disabled state */;
|
1989
1989
|
}
|
1990
1990
|
|
1991
|
-
.sd-1-5-
|
1991
|
+
.sd-1-5-5-prose pre {
|
1992
1992
|
overflow: auto;
|
1993
1993
|
}
|
1994
1994
|
|
1995
|
-
.sd-1-5-
|
1996
|
-
.sd-1-5-
|
1995
|
+
.sd-1-5-5-prose blockquote,
|
1996
|
+
.sd-1-5-5-prose blockquote > * {
|
1997
1997
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
1998
1998
|
}
|
1999
1999
|
|
2000
|
-
.sd-1-5-
|
2000
|
+
.sd-1-5-5-prose blockquote:has(*) *:first-child::before, .sd-1-5-5-prose blockquote:not(:has(*))::before {
|
2001
2001
|
content: open-quote;
|
2002
2002
|
display: inline;
|
2003
2003
|
}
|
2004
2004
|
|
2005
|
-
.sd-1-5-
|
2005
|
+
.sd-1-5-5-prose blockquote:has(*) *:first-child::after, .sd-1-5-5-prose blockquote:not(:has(*))::after {
|
2006
2006
|
content: close-quote;
|
2007
2007
|
display: inline;
|
2008
2008
|
}
|
2009
2009
|
|
2010
2010
|
/* Fixes for other elements */
|
2011
2011
|
|
2012
|
-
.sd-1-5-
|
2012
|
+
.sd-1-5-5-prose > :is(ul, ol):not(#_) {
|
2013
2013
|
/* ul and ol have padding that has to be reset */
|
2014
2014
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
2015
2015
|
padding-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -2017,18 +2017,18 @@ Used for divider, teaser, container, ... */;
|
|
2017
2017
|
|
2018
2018
|
/* Inverted styles */
|
2019
2019
|
|
2020
|
-
.sd-1-5-
|
2020
|
+
.sd-1-5-5-prose--inverted hr {
|
2021
2021
|
--tw-border-opacity: 1;
|
2022
2022
|
border-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-border-opacity, 1)) /* Used for buttons, inverted focus state */;
|
2023
2023
|
}
|
2024
2024
|
|
2025
|
-
.sd-1-5-
|
2025
|
+
.sd-1-5-5-prose--inverted pre {
|
2026
2026
|
|
2027
2027
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
2028
2028
|
}
|
2029
2029
|
|
2030
2030
|
/* Full width styles */
|
2031
2031
|
|
2032
|
-
.sd-1-5-
|
2032
|
+
.sd-1-5-5-prose--full-width {
|
2033
2033
|
max-width: unset;
|
2034
2034
|
}
|