@solid-design-system/styles 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/cdn/modules/copyright.css +1 -1
- package/cdn/modules/pagination.css +1 -0
- package/cdn/solid-styles.css +1 -1
- package/cdn-versioned/modules/chip.css +1 -1
- package/cdn-versioned/modules/container.css +1 -1
- package/cdn-versioned/modules/copyright.css +1 -1
- package/cdn-versioned/modules/display.css +1 -1
- package/cdn-versioned/modules/flag.css +1 -1
- package/cdn-versioned/modules/footnotes.css +1 -1
- package/cdn-versioned/modules/headline.css +1 -1
- package/cdn-versioned/modules/hidden-links.css +1 -1
- package/cdn-versioned/modules/interactive.css +1 -1
- package/cdn-versioned/modules/leadtext.css +1 -1
- package/cdn-versioned/modules/list.css +1 -1
- package/cdn-versioned/modules/mark.css +1 -1
- package/cdn-versioned/modules/media.css +1 -1
- package/cdn-versioned/modules/meta.css +1 -1
- package/cdn-versioned/modules/pagination.css +1 -0
- package/cdn-versioned/modules/paragraph.css +1 -1
- package/cdn-versioned/modules/prose.css +1 -1
- package/cdn-versioned/modules/status-badge.css +1 -1
- package/cdn-versioned/modules/table-cell.css +1 -1
- package/cdn-versioned/modules/table.css +1 -1
- package/cdn-versioned/solid-styles.css +1 -1
- package/dist/modules/copyright.css +38 -29
- package/dist/modules/pagination.css +469 -0
- package/dist/solid-styles.css +351 -0
- package/dist-versioned/modules/chip.css +6 -6
- package/dist-versioned/modules/container.css +45 -45
- package/dist-versioned/modules/copyright.css +49 -40
- package/dist-versioned/modules/display.css +9 -9
- package/dist-versioned/modules/flag.css +6 -6
- package/dist-versioned/modules/footnotes.css +26 -26
- package/dist-versioned/modules/headline.css +67 -67
- package/dist-versioned/modules/hidden-links.css +7 -7
- package/dist-versioned/modules/interactive.css +38 -38
- package/dist-versioned/modules/leadtext.css +8 -8
- package/dist-versioned/modules/list.css +47 -47
- package/dist-versioned/modules/mark.css +2 -2
- package/dist-versioned/modules/media.css +7 -7
- package/dist-versioned/modules/meta.css +12 -12
- package/dist-versioned/modules/pagination.css +469 -0
- package/dist-versioned/modules/paragraph.css +8 -8
- package/dist-versioned/modules/prose.css +231 -231
- package/dist-versioned/modules/status-badge.css +8 -8
- package/dist-versioned/modules/table-cell.css +23 -23
- package/dist-versioned/modules/table.css +4 -4
- package/dist-versioned/solid-styles.css +707 -356
- package/package.json +7 -10
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
2
|
* Generates basic styles for chip elements.
|
3
|
-
* @name sd-1-
|
3
|
+
* @name sd-1-3-1-chip
|
4
4
|
* @status stable
|
5
5
|
* @since 1.30.0
|
6
|
-
* @variant { primary-300 | primary-500 | white } sd-1-
|
6
|
+
* @variant { primary-300 | primary-500 | white } sd-1-3-1-chip--...
|
7
7
|
*/
|
8
8
|
|
9
|
-
.sd-1-
|
9
|
+
.sd-1-3-1-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-
|
25
|
+
.sd-1-3-1-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-
|
32
|
+
.sd-1-3-1-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-
|
37
|
+
.sd-1-3-1-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-
|
44
|
+
* @name sd-1-3-1-container
|
45
45
|
* @status stable
|
46
46
|
* @since 1.30.0
|
47
|
-
* @variant { primary-100 | primary | border-neutral-400 | white } sd-1-
|
48
|
-
* @variant { sm } sd-1-
|
49
|
-
* @variant { top | right | bottom | left } sd-1-
|
47
|
+
* @variant { primary-100 | primary | border-neutral-400 | white } sd-1-3-1-container--variant-... Defines the background color and border of sd-1-3-1-container.
|
48
|
+
* @variant { sm } sd-1-3-1-container--padding-... Defines the padding of sd-1-3-1-container. This makes it adaptable to both small and large screens.
|
49
|
+
* @variant { top | right | bottom | left } sd-1-3-1-container--triangle-... Defines an optional triangle cut-out for sd-1-3-1-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-
|
52
|
+
.sd-1-3-1-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-
|
62
|
+
.sd-1-3-1-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-
|
67
|
+
.sd-1-3-1-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-
|
73
|
+
.sd-1-3-1-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-
|
83
|
+
.sd-1-3-1-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-
|
88
|
+
.sd-1-3-1-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-
|
95
|
+
.sd-1-3-1-container {
|
96
96
|
|
97
97
|
--triangle-background: white;
|
98
98
|
}
|
99
99
|
|
100
|
-
.sd-1-
|
101
|
-
.sd-1-
|
102
|
-
.sd-1-
|
103
|
-
.sd-1-
|
100
|
+
.sd-1-3-1-container--triangle-top::before,
|
101
|
+
.sd-1-3-1-container--triangle-right::before,
|
102
|
+
.sd-1-3-1-container--triangle-bottom::before,
|
103
|
+
.sd-1-3-1-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-
|
112
|
+
.sd-1-3-1-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-
|
118
|
+
.sd-1-3-1-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-
|
124
|
+
.sd-1-3-1-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-
|
130
|
+
.sd-1-3-1-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-
|
137
|
-
.sd-1-
|
138
|
-
.sd-1-
|
139
|
-
.sd-1-
|
140
|
-
.sd-1-
|
141
|
-
.sd-1-
|
142
|
-
.sd-1-
|
143
|
-
.sd-1-
|
136
|
+
.sd-1-3-1-container--triangle-top-border::after,
|
137
|
+
.sd-1-3-1-container--triangle-top-border::before,
|
138
|
+
.sd-1-3-1-container--triangle-right-border::after,
|
139
|
+
.sd-1-3-1-container--triangle-right-border::before,
|
140
|
+
.sd-1-3-1-container--triangle-bottom-border::after,
|
141
|
+
.sd-1-3-1-container--triangle-bottom-border::before,
|
142
|
+
.sd-1-3-1-container--triangle-left-border::after,
|
143
|
+
.sd-1-3-1-container--triangle-left-border::before {
|
144
144
|
position: absolute;
|
145
145
|
display: block;
|
146
146
|
border-style: solid;
|
@@ -148,98 +148,107 @@ Used for divider, teaser, container, ... */;
|
|
148
148
|
content: '';
|
149
149
|
}
|
150
150
|
|
151
|
-
.sd-1-
|
151
|
+
.sd-1-3-1-container--triangle-top-border::after, .sd-1-3-1-container--triangle-right-border::after, .sd-1-3-1-container--triangle-bottom-border::after, .sd-1-3-1-container--triangle-left-border::after {
|
152
152
|
border-width: 14px;
|
153
153
|
}
|
154
154
|
|
155
|
-
.sd-1-
|
155
|
+
.sd-1-3-1-container--triangle-top-border::before, .sd-1-3-1-container--triangle-right-border::before, .sd-1-3-1-container--triangle-bottom-border::before, .sd-1-3-1-container--triangle-left-border::before {
|
156
156
|
border-width: 15px;
|
157
157
|
}
|
158
158
|
|
159
|
-
.sd-1-
|
160
|
-
.sd-1-
|
159
|
+
.sd-1-3-1-container--triangle-top-border::after,
|
160
|
+
.sd-1-3-1-container--triangle-top-border::before {
|
161
161
|
top: -1px;
|
162
162
|
}
|
163
163
|
|
164
|
-
.sd-1-
|
164
|
+
.sd-1-3-1-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-
|
171
|
+
.sd-1-3-1-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-
|
177
|
-
.sd-1-
|
176
|
+
.sd-1-3-1-container--triangle-right-border::after,
|
177
|
+
.sd-1-3-1-container--triangle-right-border::before {
|
178
178
|
right: -1px;
|
179
179
|
}
|
180
180
|
|
181
|
-
.sd-1-
|
181
|
+
.sd-1-3-1-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-
|
188
|
+
.sd-1-3-1-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-
|
194
|
-
.sd-1-
|
193
|
+
.sd-1-3-1-container--triangle-bottom-border::after,
|
194
|
+
.sd-1-3-1-container--triangle-bottom-border::before {
|
195
195
|
bottom: -1px;
|
196
196
|
}
|
197
197
|
|
198
|
-
.sd-1-
|
198
|
+
.sd-1-3-1-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-
|
205
|
+
.sd-1-3-1-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-
|
211
|
-
.sd-1-
|
210
|
+
.sd-1-3-1-container--triangle-left-border::after,
|
211
|
+
.sd-1-3-1-container--triangle-left-border::before {
|
212
212
|
left: -1px;
|
213
213
|
}
|
214
214
|
|
215
|
-
.sd-1-
|
215
|
+
.sd-1-3-1-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-
|
222
|
+
.sd-1-3-1-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-
|
229
|
+
* @name sd-1-3-1-copyright
|
230
230
|
* @status stable
|
231
231
|
* @since 2.5.0
|
232
|
-
* @variant { vertical } sd-1-
|
233
|
-
* @variant { black } sd-1-
|
234
|
-
* @boolean sd-1-
|
235
|
-
* @variant { top } sd-1-
|
232
|
+
* @variant { vertical } sd-1-3-1-copyright--orientation-... The copyright's orientation.
|
233
|
+
* @variant { black } sd-1-3-1-copyright--color-... The copyright's text color.
|
234
|
+
* @boolean sd-1-3-1-copyright--... Removes the shadow.
|
235
|
+
* @variant { top } sd-1-3-1-copyright--placement-... The copyright's placement.
|
236
236
|
*/
|
237
237
|
|
238
|
-
.sd-1-
|
238
|
+
.sd-1-3-1-copyright {
|
239
239
|
position: relative;
|
240
|
-
|
241
|
-
|
242
|
-
|
240
|
+
/* Bug fix for drop-shadow-sm */
|
241
|
+
--tw-blur: ;
|
242
|
+
--tw-brightness: ;
|
243
|
+
--tw-contrast: ;
|
244
|
+
--tw-grayscale: ;
|
245
|
+
--tw-hue-rotate: ;
|
246
|
+
--tw-invert: ;
|
247
|
+
--tw-saturate: ;
|
248
|
+
--tw-sepia: ;
|
249
|
+
}
|
250
|
+
|
251
|
+
.sd-1-3-1-copyright::after {
|
243
252
|
position: absolute;
|
244
253
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
245
254
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -255,7 +264,7 @@ Used for divider, teaser, container, ... */;
|
|
255
264
|
content: var(--copyright);
|
256
265
|
}
|
257
266
|
|
258
|
-
.sd-1-
|
267
|
+
.sd-1-3-1-copyright--orientation-vertical::after {
|
259
268
|
width: -moz-max-content;
|
260
269
|
width: max-content;
|
261
270
|
padding-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
@@ -267,17 +276,17 @@ Used for divider, teaser, container, ... */;
|
|
267
276
|
transform: rotate(180deg);
|
268
277
|
}
|
269
278
|
|
270
|
-
.sd-1-
|
279
|
+
.sd-1-3-1-copyright--color-black::after {
|
271
280
|
|
272
281
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
273
282
|
filter: drop-shadow(0 0 transparent);
|
274
283
|
}
|
275
284
|
|
276
|
-
.sd-1-
|
285
|
+
.sd-1-3-1-copyright--no-shadow::after {
|
277
286
|
filter: drop-shadow(0 0 transparent);
|
278
287
|
}
|
279
288
|
|
280
|
-
.sd-1-
|
289
|
+
.sd-1-3-1-copyright--placement-top::after {
|
281
290
|
position: absolute;
|
282
291
|
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
283
292
|
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -290,13 +299,13 @@ Used for divider, teaser, container, ... */;
|
|
290
299
|
|
291
300
|
/**
|
292
301
|
* Generates basic styles for flag elements.
|
293
|
-
* @name sd-1-
|
302
|
+
* @name sd-1-3-1-flag
|
294
303
|
* @status stable
|
295
304
|
* @since 1.34.0
|
296
|
-
* @variant { neutral-300 | neutral-500 | white } sd-1-
|
305
|
+
* @variant { neutral-300 | neutral-500 | white } sd-1-3-1-flag--...
|
297
306
|
*/
|
298
307
|
|
299
|
-
.sd-1-
|
308
|
+
.sd-1-3-1-flag {
|
300
309
|
display: inline-flex;
|
301
310
|
height: var(--sd-spacing-8, 2rem) /* 32px */;
|
302
311
|
align-items: center;
|
@@ -311,32 +320,32 @@ Used for divider, teaser, container, ... */;
|
|
311
320
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
312
321
|
}
|
313
322
|
|
314
|
-
.sd-1-
|
323
|
+
.sd-1-3-1-flag--neutral-500 {
|
315
324
|
|
316
325
|
background-color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-bg-opacity, 1)) /* Used for disabled state */;
|
317
326
|
|
318
327
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
319
328
|
}
|
320
329
|
|
321
|
-
.sd-1-
|
330
|
+
.sd-1-3-1-flag--neutral-300 {
|
322
331
|
|
323
332
|
background-color: rgb(var(--sd-color-neutral-300, 218 218 218) / var(--tw-bg-opacity, 1)) /* Used for flag */;
|
324
333
|
}
|
325
334
|
|
326
|
-
.sd-1-
|
335
|
+
.sd-1-3-1-flag--white {
|
327
336
|
|
328
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 */;
|
329
338
|
}
|
330
339
|
|
331
340
|
/**
|
332
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.
|
333
|
-
* @name sd-1-
|
342
|
+
* @name sd-1-3-1-footnotes
|
334
343
|
* @status stable
|
335
344
|
* @since 3.0.0
|
336
|
-
* @boolean sd-1-
|
345
|
+
* @boolean sd-1-3-1-footnotes--inverted Inverts the footnote text.
|
337
346
|
*/
|
338
347
|
|
339
|
-
.sd-1-
|
348
|
+
.sd-1-3-1-footnotes {
|
340
349
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
341
350
|
margin-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
342
351
|
padding: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -346,22 +355,22 @@ Used for divider, teaser, container, ... */;
|
|
346
355
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
347
356
|
}
|
348
357
|
|
349
|
-
.sd-1-
|
358
|
+
.sd-1-3-1-footnotes :target {
|
350
359
|
|
351
360
|
background-color: rgb(var(--sd-color-neutral-200, 233 233 233) / var(--tw-bg-opacity, 1)) /* Used for hover interaction */;
|
352
361
|
}
|
353
362
|
|
354
|
-
.sd-1-
|
363
|
+
.sd-1-3-1-footnotes:is(ol) {
|
355
364
|
padding-inline-start: var(--sd-spacing-8, 2rem) /* 32px */;
|
356
365
|
}
|
357
366
|
|
358
|
-
.sd-1-
|
367
|
+
.sd-1-3-1-footnotes:is(ol) li {
|
359
368
|
counter-increment: list-item;
|
360
369
|
position: relative;
|
361
370
|
list-style-type: none;
|
362
371
|
}
|
363
372
|
|
364
|
-
.sd-1-
|
373
|
+
.sd-1-3-1-footnotes:is(ol) li .sd-1-3-1-footnotes--marker::before, .sd-1-3-1-footnotes:is(ol) li:has(.sd-1-3-1-footnotes--marker:nth-of-type(2))::before, .sd-1-3-1-footnotes:is(ol) li:not(:has(.sd-1-3-1-footnotes--marker))::before {
|
365
374
|
position: absolute;
|
366
375
|
left: calc(var(--sd-spacing-8, 2rem) /* 32px */ * -1);
|
367
376
|
flex-shrink: 0;
|
@@ -372,16 +381,16 @@ Used for divider, teaser, container, ... */;
|
|
372
381
|
font-size: 10px;
|
373
382
|
}
|
374
383
|
|
375
|
-
.sd-1-
|
384
|
+
.sd-1-3-1-footnotes:is(ol) li .sd-1-3-1-footnotes--marker::after, .sd-1-3-1-footnotes:is(ol) li:has(.sd-1-3-1-footnotes--marker:nth-of-type(2))::after, .sd-1-3-1-footnotes:is(ol) li:not(:has(.sd-1-3-1-footnotes--marker))::after {
|
376
385
|
content: none;
|
377
386
|
}
|
378
387
|
|
379
|
-
.sd-1-
|
388
|
+
.sd-1-3-1-footnotes:is(ol) li .sd-1-3-1-footnotes--marker .sd-1-3-1-footnotes--marker, .sd-1-3-1-footnotes:is(ol) li:has(.sd-1-3-1-footnotes--marker:nth-of-type(2)) .sd-1-3-1-footnotes--marker, .sd-1-3-1-footnotes:is(ol) li:not(:has(.sd-1-3-1-footnotes--marker)) .sd-1-3-1-footnotes--marker {
|
380
389
|
display: inline-block;
|
381
390
|
counter-increment: footnotes-multiple;
|
382
391
|
}
|
383
392
|
|
384
|
-
.sd-1-
|
393
|
+
.sd-1-3-1-footnotes:is(ol) li .sd-1-3-1-footnotes--marker .sd-1-3-1-footnotes--marker::before, .sd-1-3-1-footnotes:is(ol) li:has(.sd-1-3-1-footnotes--marker:nth-of-type(2)) .sd-1-3-1-footnotes--marker::before, .sd-1-3-1-footnotes:is(ol) li:not(:has(.sd-1-3-1-footnotes--marker)) .sd-1-3-1-footnotes--marker::before {
|
385
394
|
position: relative;
|
386
395
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
387
396
|
vertical-align: super;
|
@@ -390,16 +399,16 @@ Used for divider, teaser, container, ... */;
|
|
390
399
|
content: counter(footnotes-multiple, lower-alpha);
|
391
400
|
}
|
392
401
|
|
393
|
-
.sd-1-
|
402
|
+
.sd-1-3-1-footnotes:is(ol) li .sd-1-3-1-footnotes--marker {
|
394
403
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
395
404
|
display: block;
|
396
405
|
}
|
397
406
|
|
398
|
-
.sd-1-
|
407
|
+
.sd-1-3-1-footnotes:is(ol) li .sd-1-3-1-footnotes--marker:focus-visible {
|
399
408
|
outline-width: 0px;
|
400
409
|
}
|
401
410
|
|
402
|
-
.sd-1-
|
411
|
+
.sd-1-3-1-footnotes:is(ol) li .sd-1-3-1-footnotes--marker:focus-visible::before {
|
403
412
|
border-radius: var(--sd-border-radius-default, 0.25rem) /* 4px Default radius for buttons */;
|
404
413
|
outline-style: solid;
|
405
414
|
outline-width: 2px;
|
@@ -407,39 +416,39 @@ Used for divider, teaser, container, ... */;
|
|
407
416
|
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
408
417
|
}
|
409
418
|
|
410
|
-
.sd-1-
|
419
|
+
.sd-1-3-1-footnotes:is(ul) {
|
411
420
|
list-style: '';
|
412
421
|
}
|
413
422
|
|
414
|
-
.sd-1-
|
423
|
+
.sd-1-3-1-footnotes--inverted {
|
415
424
|
|
416
425
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
417
426
|
Used for inverted pressed interaction text link */;
|
418
427
|
}
|
419
428
|
|
420
|
-
.sd-1-
|
429
|
+
.sd-1-3-1-footnotes--inverted :target {
|
421
430
|
|
422
431
|
background-color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-bg-opacity, 1)) /* Used for pressed interaction */;
|
423
432
|
}
|
424
433
|
|
425
|
-
.sd-1-
|
434
|
+
.sd-1-3-1-footnotes--inverted .sd-1-3-1-footnotes--marker::before {
|
426
435
|
|
427
436
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
428
437
|
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */ !important;
|
429
438
|
}
|
430
439
|
|
431
|
-
.sd-1-
|
440
|
+
.sd-1-3-1-footnotes--inverted:is(.sd-1-3-1-footnotes--marker) {
|
432
441
|
--tw-text-opacity: 1 !important;
|
433
442
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */ !important;
|
434
443
|
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */ !important;
|
435
444
|
}
|
436
445
|
|
437
|
-
.sd-1-
|
446
|
+
.sd-1-3-1-footnotes--inverted:is(.sd-1-3-1-footnotes--marker):target {
|
438
447
|
|
439
448
|
background-color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-bg-opacity, 1)) /* Used for pressed interaction */;
|
440
449
|
}
|
441
450
|
|
442
|
-
.sd-1-
|
451
|
+
.sd-1-3-1-footnotes--marker {
|
443
452
|
position: relative;
|
444
453
|
bottom: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
445
454
|
display: inline-block;
|
@@ -449,28 +458,28 @@ Used for inverted pressed interaction text link */;
|
|
449
458
|
font-size: x-small;
|
450
459
|
}
|
451
460
|
|
452
|
-
.sd-1-
|
461
|
+
.sd-1-3-1-footnotes--marker:target {
|
453
462
|
|
454
463
|
background-color: rgb(var(--sd-color-neutral-200, 233 233 233) / var(--tw-bg-opacity, 1)) /* Used for hover interaction */;
|
455
464
|
}
|
456
465
|
|
457
|
-
.sd-1-
|
466
|
+
.sd-1-3-1-footnotes--marker::before {
|
458
467
|
content: '[ ';
|
459
468
|
display: inline-block;
|
460
469
|
}
|
461
470
|
|
462
|
-
.sd-1-
|
471
|
+
.sd-1-3-1-footnotes--marker::after {
|
463
472
|
content: ' ]';
|
464
473
|
display: inline-block;
|
465
474
|
}
|
466
475
|
|
467
|
-
.sd-1-
|
468
|
-
.sd-1-
|
476
|
+
.sd-1-3-1-footnotes--marker:link,
|
477
|
+
.sd-1-3-1-footnotes--marker:visited {
|
469
478
|
|
470
479
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
471
480
|
}
|
472
481
|
|
473
|
-
.sd-1-
|
482
|
+
.sd-1-3-1-footnotes--marker:focus-visible {
|
474
483
|
border-radius: var(--sd-border-radius-default, 0.25rem) /* 4px Default radius for buttons */;
|
475
484
|
outline-style: solid;
|
476
485
|
outline-width: 2px;
|
@@ -480,11 +489,11 @@ Used for inverted pressed interaction text link */;
|
|
480
489
|
|
481
490
|
/**
|
482
491
|
* Hidden links can be used to show links only for keyboard users.
|
483
|
-
* @name sd-1-
|
492
|
+
* @name sd-1-3-1-hidden-links
|
484
493
|
* @status stable
|
485
494
|
* @since 3.15.0
|
486
|
-
* @boolean sd-1-
|
487
|
-
* @boolean sd-1-
|
495
|
+
* @boolean sd-1-3-1-hidden-links--multiple Adapts styling for multiple skip links.
|
496
|
+
* @boolean sd-1-3-1-hidden-links--debug Always show the links for debugging purposes.
|
488
497
|
*/
|
489
498
|
|
490
499
|
:lang(en) {
|
@@ -495,7 +504,7 @@ Used for inverted pressed interaction text link */;
|
|
495
504
|
--sd-hidden-links-title: 'Springe zu';
|
496
505
|
}
|
497
506
|
|
498
|
-
.sd-1-
|
507
|
+
.sd-1-3-1-hidden-links:not(:focus-within):not(.sd-1-3-1-hidden-links--debug) {
|
499
508
|
position: absolute;
|
500
509
|
width: 1px;
|
501
510
|
height: 1px;
|
@@ -507,13 +516,13 @@ Used for inverted pressed interaction text link */;
|
|
507
516
|
border-width: 0;
|
508
517
|
}
|
509
518
|
|
510
|
-
.sd-1-
|
519
|
+
.sd-1-3-1-hidden-links {
|
511
520
|
position: absolute;
|
512
521
|
top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
513
522
|
left: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
514
523
|
}
|
515
524
|
|
516
|
-
.sd-1-
|
525
|
+
.sd-1-3-1-hidden-links--multiple {
|
517
526
|
display: flex;
|
518
527
|
flex-direction: column;
|
519
528
|
|
@@ -527,7 +536,7 @@ Used for inverted pressed interaction text link */;
|
|
527
536
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
528
537
|
}
|
529
538
|
|
530
|
-
.sd-1-
|
539
|
+
.sd-1-3-1-hidden-links--multiple:before {
|
531
540
|
padding-left: var(--sd-spacing-4, 1rem) /* 16px */;
|
532
541
|
padding-right: var(--sd-spacing-4, 1rem) /* 16px */;
|
533
542
|
padding-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
@@ -538,12 +547,12 @@ Used for inverted pressed interaction text link */;
|
|
538
547
|
|
539
548
|
/**
|
540
549
|
* The green accent color can be used to highlight parts of the text.
|
541
|
-
* @name sd-1-
|
550
|
+
* @name sd-1-3-1-mark
|
542
551
|
* @status stable
|
543
552
|
* @since 1.7
|
544
553
|
*/
|
545
554
|
|
546
|
-
mark.sd-1-
|
555
|
+
mark.sd-1-3-1-mark {
|
547
556
|
background-color: transparent;
|
548
557
|
|
549
558
|
color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-text-opacity, 1)) /* Used for inverted hover interaction button label */;
|
@@ -551,16 +560,16 @@ mark.sd-1-2-0-mark {
|
|
551
560
|
|
552
561
|
/**
|
553
562
|
* Meta information like file size, date, or whatever is needed.
|
554
|
-
* @name sd-1-
|
563
|
+
* @name sd-1-3-1-meta
|
555
564
|
* @status stable
|
556
565
|
* @since 1.7
|
557
|
-
* @variant { sm } sd-1-
|
558
|
-
* @boolean sd-1-
|
559
|
-
* @boolean sd-1-
|
560
|
-
* @boolean sd-1-
|
566
|
+
* @variant { sm } sd-1-3-1-meta--size-... The size. Small can be used as an alternative in tight spaces.
|
567
|
+
* @boolean sd-1-3-1-meta--inverted Inverts the meta element.
|
568
|
+
* @boolean sd-1-3-1-meta--pipe Adds a pipe right from the meta element.
|
569
|
+
* @boolean sd-1-3-1-meta--light Makes sd-1-3-1-meta light.
|
561
570
|
*/
|
562
571
|
|
563
|
-
.sd-1-
|
572
|
+
.sd-1-3-1-meta {
|
564
573
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
565
574
|
font-weight: 400;
|
566
575
|
line-height: var(--sd-line-height-none, 100%) /* Used for buttons, input fields etc. */;
|
@@ -568,51 +577,393 @@ mark.sd-1-2-0-mark {
|
|
568
577
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
569
578
|
}
|
570
579
|
|
571
|
-
.sd-1-
|
580
|
+
.sd-1-3-1-meta--size-sm {
|
572
581
|
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
573
582
|
}
|
574
583
|
|
575
|
-
.sd-1-
|
584
|
+
.sd-1-3-1-meta--light {
|
576
585
|
|
577
586
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
578
587
|
}
|
579
588
|
|
580
|
-
.sd-1-
|
589
|
+
.sd-1-3-1-meta--inverted {
|
581
590
|
|
582
591
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
583
592
|
}
|
584
593
|
|
585
|
-
.sd-1-
|
594
|
+
.sd-1-3-1-meta--inverted.sd-1-3-1-meta--light {
|
586
595
|
|
587
596
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
588
597
|
Used for inverted pressed interaction text link */;
|
589
598
|
}
|
590
599
|
|
591
|
-
.sd-1-
|
600
|
+
.sd-1-3-1-meta--pipe::after {
|
592
601
|
content: '|';
|
593
602
|
margin-left: var(--sd-spacing-1, 0.25rem) /* 4px */;
|
594
603
|
margin-right: var(--sd-spacing-1, 0.25rem) /* 4px */;
|
595
604
|
}
|
596
605
|
|
597
|
-
.sd-1-
|
606
|
+
.sd-1-3-1-meta--pipe.sd-1-3-1-meta--size-sm::after {
|
598
607
|
margin-left: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
599
608
|
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
600
609
|
}
|
601
610
|
|
611
|
+
/**
|
612
|
+
* Used to split large content into several pages, allowing users to navigate between them instead of displaying all information on a single page.
|
613
|
+
* @name sd-1-3-1-pagination
|
614
|
+
* @status stable
|
615
|
+
* @since 1.3
|
616
|
+
* @variant { simple } sd-1-3-1-pagination--... The pagination format.
|
617
|
+
* @boolean sd-1-3-1-pagination--inverted Inverts the pagination style.
|
618
|
+
*/
|
619
|
+
|
620
|
+
.sd-1-3-1-pagination > :not(ul) {
|
621
|
+
position: absolute;
|
622
|
+
height: var(--sd-spacing-0-25, 1px) /* 1px */;
|
623
|
+
width: var(--sd-spacing-0-25, 1px) /* 1px */;
|
624
|
+
overflow: hidden;
|
625
|
+
}
|
626
|
+
|
627
|
+
.sd-1-3-1-pagination ul {
|
628
|
+
display: flex;
|
629
|
+
align-items: center;
|
630
|
+
gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
631
|
+
}
|
632
|
+
|
633
|
+
.sd-1-3-1-pagination ul li a {
|
634
|
+
display: flex;
|
635
|
+
align-items: center;
|
636
|
+
justify-content: center;
|
637
|
+
|
638
|
+
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
639
|
+
transition-property: color;
|
640
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
641
|
+
transition-duration: 150ms;
|
642
|
+
}
|
643
|
+
|
644
|
+
.sd-1-3-1-pagination ul li a:hover:not([disabled]) {
|
645
|
+
|
646
|
+
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
|
647
|
+
}
|
648
|
+
|
649
|
+
.sd-1-3-1-pagination ul li a:active:not([disabled]) {
|
650
|
+
|
651
|
+
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
|
652
|
+
}
|
653
|
+
|
654
|
+
.sd-1-3-1-pagination ul li a:focus-visible {
|
655
|
+
outline-style: solid;
|
656
|
+
outline-width: 2px;
|
657
|
+
outline-offset: 2px;
|
658
|
+
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
659
|
+
}
|
660
|
+
|
661
|
+
/* Previous and Next */
|
662
|
+
|
663
|
+
.sd-1-3-1-pagination ul li:first-child,
|
664
|
+
.sd-1-3-1-pagination ul li:last-child {
|
665
|
+
height: var(--sd-spacing-12, 3rem) /* 48px */;
|
666
|
+
width: var(--sd-spacing-12, 3rem) /* 48px */;
|
667
|
+
}
|
668
|
+
|
669
|
+
.sd-1-3-1-pagination ul li:first-child a, .sd-1-3-1-pagination ul li:last-child a {
|
670
|
+
height: 100%;
|
671
|
+
width: 100%;
|
672
|
+
}
|
673
|
+
|
674
|
+
.sd-1-3-1-pagination ul li:first-child sd-icon, .sd-1-3-1-pagination ul li:last-child sd-icon {
|
675
|
+
height: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
676
|
+
width: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
677
|
+
}
|
678
|
+
|
679
|
+
/* Numbers */
|
680
|
+
|
681
|
+
.sd-1-3-1-pagination ul li {
|
682
|
+
display: flex;
|
683
|
+
height: var(--sd-spacing-8, 2rem) /* 32px */;
|
684
|
+
width: var(--sd-spacing-8, 2rem) /* 32px */;
|
685
|
+
align-items: center;
|
686
|
+
justify-content: center;
|
687
|
+
text-align: center;
|
688
|
+
}
|
689
|
+
|
690
|
+
.sd-1-3-1-pagination ul li:not(:has(a sd-icon)) a {
|
691
|
+
height: 100%;
|
692
|
+
width: 100%;
|
693
|
+
border-bottom-width: 2px;
|
694
|
+
border-bottom-color: transparent;
|
695
|
+
}
|
696
|
+
|
697
|
+
.sd-1-3-1-pagination ul li:not(:has(a sd-icon)) a[aria-current] {
|
698
|
+
--tw-border-opacity: 1;
|
699
|
+
border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
|
700
|
+
*/;
|
701
|
+
}
|
702
|
+
|
703
|
+
.sd-1-3-1-pagination ul li a[aria-current] {
|
704
|
+
|
705
|
+
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
706
|
+
}
|
707
|
+
|
708
|
+
.sd-1-3-1-pagination ul li a[aria-current]:hover:not([disabled]) {
|
709
|
+
|
710
|
+
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
711
|
+
}
|
712
|
+
|
713
|
+
/* Previous and next arrow when it has no href */
|
714
|
+
|
715
|
+
.sd-1-3-1-pagination ul li:has(a:not([href]) sd-icon) a {
|
716
|
+
cursor: not-allowed;
|
717
|
+
|
718
|
+
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
719
|
+
}
|
720
|
+
|
721
|
+
.sd-1-3-1-pagination ul li:has(a:not([href]) sd-icon) a:hover:not([disabled]) {
|
722
|
+
|
723
|
+
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
724
|
+
}
|
725
|
+
|
726
|
+
/* Numbers */
|
727
|
+
|
728
|
+
/* Number which is not current */
|
729
|
+
|
730
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):not(:has(a[aria-current])) {
|
731
|
+
pointer-events: none;
|
732
|
+
position: absolute;
|
733
|
+
}
|
734
|
+
|
735
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):not(:has(a[aria-current])) a {
|
736
|
+
display: none;
|
737
|
+
}
|
738
|
+
|
739
|
+
/* Apply ellipsis to (n + 2 && n - 1) */
|
740
|
+
|
741
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li + li a[aria-current]),
|
742
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li + li:not(:last-child) {
|
743
|
+
pointer-events: auto !important;
|
744
|
+
position: relative !important;
|
745
|
+
}
|
746
|
+
|
747
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li + li a[aria-current])::after,
|
748
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li + li:not(:last-child)::after {
|
749
|
+
--tw-content: '...';
|
750
|
+
content: var(--tw-content);
|
751
|
+
}
|
752
|
+
|
753
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2),
|
754
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2),
|
755
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current]),
|
756
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li {
|
757
|
+
pointer-events: auto !important;
|
758
|
+
position: relative !important;
|
759
|
+
}
|
760
|
+
|
761
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2)::after,
|
762
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2)::after,
|
763
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current])::after,
|
764
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li::after {
|
765
|
+
content: var(--tw-content) !important;
|
766
|
+
display: none !important;
|
767
|
+
}
|
768
|
+
|
769
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2) a, .sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2) a, .sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current]) a, .sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li a {
|
770
|
+
display: flex !important;
|
771
|
+
}
|
772
|
+
|
773
|
+
/* When one of the first 4 pages is selected */
|
774
|
+
|
775
|
+
/* Show until the 5th page (forward) */
|
776
|
+
|
777
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) {
|
778
|
+
pointer-events: auto;
|
779
|
+
position: relative;
|
780
|
+
}
|
781
|
+
|
782
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6)::after {
|
783
|
+
content: var(--tw-content);
|
784
|
+
display: none;
|
785
|
+
}
|
786
|
+
|
787
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) a {
|
788
|
+
display: flex;
|
789
|
+
}
|
790
|
+
|
791
|
+
/* Show ellipsis on the 6th */
|
792
|
+
|
793
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li {
|
794
|
+
pointer-events: none;
|
795
|
+
position: relative;
|
796
|
+
}
|
797
|
+
|
798
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li::after {
|
799
|
+
--tw-content: '...';
|
800
|
+
content: var(--tw-content);
|
801
|
+
}
|
802
|
+
|
803
|
+
/* When one of the first 4 pages is selected, show until the 5th page (backward) */
|
804
|
+
|
805
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) {
|
806
|
+
pointer-events: auto;
|
807
|
+
position: relative;
|
808
|
+
}
|
809
|
+
|
810
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current])::after {
|
811
|
+
content: var(--tw-content);
|
812
|
+
display: none;
|
813
|
+
}
|
814
|
+
|
815
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) a {
|
816
|
+
display: flex;
|
817
|
+
}
|
818
|
+
|
819
|
+
/* When one of the last 4 pages is selected, show the last 4 pages (forward) */
|
820
|
+
|
821
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon)) {
|
822
|
+
pointer-events: auto;
|
823
|
+
position: relative;
|
824
|
+
}
|
825
|
+
|
826
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon))::after {
|
827
|
+
content: var(--tw-content);
|
828
|
+
display: none;
|
829
|
+
}
|
830
|
+
|
831
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon)) a {
|
832
|
+
display: flex;
|
833
|
+
}
|
834
|
+
|
835
|
+
/* When one of the last 4 pages is selected, show the last 4 pages (backward) */
|
836
|
+
|
837
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) {
|
838
|
+
pointer-events: auto;
|
839
|
+
position: relative;
|
840
|
+
}
|
841
|
+
|
842
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
|
843
|
+
content: var(--tw-content);
|
844
|
+
display: none;
|
845
|
+
}
|
846
|
+
|
847
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) a {
|
848
|
+
display: flex;
|
849
|
+
}
|
850
|
+
|
851
|
+
/* Show ellipsis on the 6th to last */
|
852
|
+
|
853
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current]) {
|
854
|
+
pointer-events: none;
|
855
|
+
position: relative;
|
856
|
+
}
|
857
|
+
|
858
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
|
859
|
+
--tw-content: '...';
|
860
|
+
content: var(--tw-content);
|
861
|
+
}
|
862
|
+
|
863
|
+
/* When it only has 5 numbers + 2 prev & next buttons */
|
864
|
+
|
865
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li {
|
866
|
+
pointer-events: auto;
|
867
|
+
position: relative;
|
868
|
+
}
|
869
|
+
|
870
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li::after {
|
871
|
+
content: var(--tw-content);
|
872
|
+
display: none;
|
873
|
+
}
|
874
|
+
|
875
|
+
.sd-1-3-1-pagination:not(.sd-1-3-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li a {
|
876
|
+
display: flex;
|
877
|
+
}
|
878
|
+
|
879
|
+
.sd-1-3-1-pagination--simple ul li:nth-child(2) {
|
880
|
+
position: relative;
|
881
|
+
margin-inline-end: var(--sd-spacing-5, 1.25rem) /* 20px */;
|
882
|
+
width: var(--sd-spacing-8, 2rem) /* 32px */;
|
883
|
+
border-bottom-width: 2px;
|
884
|
+
--tw-border-opacity: 1;
|
885
|
+
border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
|
886
|
+
*/;
|
887
|
+
}
|
888
|
+
|
889
|
+
.sd-1-3-1-pagination--simple ul li:nth-child(2)::after {
|
890
|
+
position: absolute;
|
891
|
+
right: -18px;
|
892
|
+
--tw-scale-y: 1.5;
|
893
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
894
|
+
--tw-content: '/';
|
895
|
+
content: var(--tw-content);
|
896
|
+
}
|
897
|
+
|
898
|
+
.sd-1-3-1-pagination--simple ul li:nth-last-child(2) {
|
899
|
+
border-bottom-width: 2px;
|
900
|
+
border-bottom-color: transparent;
|
901
|
+
}
|
902
|
+
|
903
|
+
.sd-1-3-1-pagination--inverted ul li::after {
|
904
|
+
content: var(--tw-content);
|
905
|
+
|
906
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
907
|
+
}
|
908
|
+
|
909
|
+
.sd-1-3-1-pagination--inverted ul li:has(a:not([href]) sd-icon) a {
|
910
|
+
|
911
|
+
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
912
|
+
}
|
913
|
+
|
914
|
+
.sd-1-3-1-pagination--inverted ul li:has(a:not([href]) sd-icon) a:hover:not([disabled]) {
|
915
|
+
|
916
|
+
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
917
|
+
}
|
918
|
+
|
919
|
+
.sd-1-3-1-pagination--inverted ul li a,
|
920
|
+
.sd-1-3-1-pagination--inverted ul li a[aria-current] {
|
921
|
+
|
922
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
923
|
+
}
|
924
|
+
|
925
|
+
.sd-1-3-1-pagination--inverted ul li a:hover:not([disabled]),
|
926
|
+
.sd-1-3-1-pagination--inverted ul li a[aria-current]:hover:not([disabled]) {
|
927
|
+
|
928
|
+
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 */;
|
929
|
+
}
|
930
|
+
|
931
|
+
.sd-1-3-1-pagination--inverted ul li a:active:not([disabled]),
|
932
|
+
.sd-1-3-1-pagination--inverted ul li a[aria-current]:active:not([disabled]) {
|
933
|
+
|
934
|
+
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
935
|
+
Used for inverted pressed interaction text link */;
|
936
|
+
}
|
937
|
+
|
938
|
+
.sd-1-3-1-pagination--inverted ul li a:focus-visible, .sd-1-3-1-pagination--inverted ul li a[aria-current]:focus-visible {
|
939
|
+
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */;
|
940
|
+
}
|
941
|
+
|
942
|
+
.sd-1-3-1-pagination--inverted.sd-1-3-1-pagination--simple ul li {
|
943
|
+
|
944
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
945
|
+
}
|
946
|
+
|
947
|
+
.sd-1-3-1-pagination--inverted.sd-1-3-1-pagination--simple ul li::after {
|
948
|
+
content: var(--tw-content);
|
949
|
+
|
950
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
951
|
+
}
|
952
|
+
|
602
953
|
/**
|
603
954
|
* Description of the style.
|
604
|
-
* @name sd-1-
|
955
|
+
* @name sd-1-3-1-status-badge
|
605
956
|
* @status stable
|
606
957
|
* @since 1.0
|
607
|
-
* @variant { sucess | warning | error | info } sd-1-
|
958
|
+
* @variant { sucess | warning | error | info } sd-1-3-1-status-badge--...
|
608
959
|
*/
|
609
960
|
|
610
|
-
.sd-1-
|
961
|
+
.sd-1-3-1-status-badge {
|
611
962
|
display: inline-flex;
|
612
963
|
align-items: center;
|
613
964
|
}
|
614
965
|
|
615
|
-
.sd-1-
|
966
|
+
.sd-1-3-1-status-badge sd-icon {
|
616
967
|
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
617
968
|
display: flex;
|
618
969
|
height: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
@@ -623,22 +974,22 @@ Used for inverted pressed interaction text link */;
|
|
623
974
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */ !important;
|
624
975
|
}
|
625
976
|
|
626
|
-
.sd-1-
|
977
|
+
.sd-1-3-1-status-badge--success sd-icon {
|
627
978
|
|
628
979
|
background-color: rgb(var(--sd-color-success, 37 136 14) / var(--tw-bg-opacity, 1)) /* Used for success messages */;
|
629
980
|
}
|
630
981
|
|
631
|
-
.sd-1-
|
982
|
+
.sd-1-3-1-status-badge--warning sd-icon {
|
632
983
|
|
633
984
|
background-color: rgb(var(--sd-color-warning, 187 141 32) / var(--tw-bg-opacity, 1)) /* Used for notifications */;
|
634
985
|
}
|
635
986
|
|
636
|
-
.sd-1-
|
987
|
+
.sd-1-3-1-status-badge--error sd-icon {
|
637
988
|
|
638
989
|
background-color: rgb(var(--sd-color-error, 204 25 55) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */;
|
639
990
|
}
|
640
991
|
|
641
|
-
.sd-1-
|
992
|
+
.sd-1-3-1-status-badge--info sd-icon {
|
642
993
|
|
643
994
|
background-color: rgb(var(--sd-color-info, 21 130 213) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */;
|
644
995
|
}
|
@@ -647,23 +998,23 @@ Used for inverted pressed interaction text link */;
|
|
647
998
|
|
648
999
|
/**
|
649
1000
|
* Prose
|
650
|
-
* @name sd-1-
|
1001
|
+
* @name sd-1-3-1-prose
|
651
1002
|
* @status stable
|
652
1003
|
* @since 3.6.0
|
653
|
-
* @boolean sd-1-
|
654
|
-
* @boolean sd-1-
|
1004
|
+
* @boolean sd-1-3-1-prose--inverted Inverts the content, but not tables.
|
1005
|
+
* @boolean sd-1-3-1-prose--full-width Overrides the 80ch max-width and makes the prose full width.
|
655
1006
|
*/
|
656
1007
|
|
657
1008
|
/**
|
658
1009
|
* 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.
|
659
|
-
* @name sd-1-
|
1010
|
+
* @name sd-1-3-1-display
|
660
1011
|
* @status stable
|
661
1012
|
* @since 1.7
|
662
|
-
* @variant { xl | 3xl } sd-1-
|
663
|
-
* @boolean sd-1-
|
1013
|
+
* @variant { xl | 3xl } sd-1-3-1-display--size-... The display's size.
|
1014
|
+
* @boolean sd-1-3-1-display--inverted Inverts the display text.
|
664
1015
|
*/
|
665
1016
|
|
666
|
-
.sd-1-
|
1017
|
+
.sd-1-3-1-display {
|
667
1018
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
668
1019
|
font-weight: 400;
|
669
1020
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -673,12 +1024,12 @@ Used for inverted pressed interaction text link */;
|
|
673
1024
|
|
674
1025
|
@media (min-width: 1024px) {
|
675
1026
|
|
676
|
-
.sd-1-
|
1027
|
+
.sd-1-3-1-display {
|
677
1028
|
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
678
1029
|
}
|
679
1030
|
}
|
680
1031
|
|
681
|
-
.sd-1-
|
1032
|
+
.sd-1-3-1-display--size-xl {
|
682
1033
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
683
1034
|
font-weight: 400;
|
684
1035
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -686,7 +1037,7 @@ Used for inverted pressed interaction text link */;
|
|
686
1037
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
687
1038
|
}
|
688
1039
|
|
689
|
-
.sd-1-
|
1040
|
+
.sd-1-3-1-display--size-3xl {
|
690
1041
|
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
691
1042
|
font-weight: 400;
|
692
1043
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -696,35 +1047,35 @@ Used for inverted pressed interaction text link */;
|
|
696
1047
|
|
697
1048
|
@media (min-width: 1024px) {
|
698
1049
|
|
699
|
-
.sd-1-
|
1050
|
+
.sd-1-3-1-display--size-3xl {
|
700
1051
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
701
1052
|
}
|
702
1053
|
}
|
703
1054
|
|
704
|
-
.sd-1-
|
1055
|
+
.sd-1-3-1-display--inverted {
|
705
1056
|
|
706
1057
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
707
1058
|
}
|
708
1059
|
|
709
1060
|
/**
|
710
1061
|
* 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.
|
711
|
-
* @name sd-1-
|
1062
|
+
* @name sd-1-3-1-headline
|
712
1063
|
* @status stable
|
713
1064
|
* @since 1.16
|
714
|
-
* @variant { 3xl | xl | lg | base } sd-1-
|
715
|
-
* @boolean sd-1-
|
716
|
-
* @boolean sd-1-
|
1065
|
+
* @variant { 3xl | xl | lg | base } sd-1-3-1-headline--size-... The headline's size.
|
1066
|
+
* @boolean sd-1-3-1-headline--inverted Inverts the headline text.
|
1067
|
+
* @boolean sd-1-3-1-headline--inline Sets inline behavior. Used exclusively when an sd-icon or other component is present. See usage <a href="#inline">here.</a>
|
717
1068
|
*/
|
718
1069
|
|
719
|
-
.sd-1-
|
720
|
-
.sd-1-
|
1070
|
+
.sd-1-3-1-headline,
|
1071
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5) {
|
721
1072
|
display: flex;
|
722
1073
|
font-weight: 700;
|
723
1074
|
|
724
1075
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
725
1076
|
}
|
726
1077
|
|
727
|
-
.sd-1-
|
1078
|
+
.sd-1-3-1-headline sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
728
1079
|
flex-shrink: 0;
|
729
1080
|
font-size: 3rem;
|
730
1081
|
|
@@ -733,15 +1084,15 @@ Used for inverted pressed interaction text link */;
|
|
733
1084
|
|
734
1085
|
@media (min-width: 640px) {
|
735
1086
|
|
736
|
-
.sd-1-
|
1087
|
+
.sd-1-3-1-headline sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
737
1088
|
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
738
1089
|
}
|
739
1090
|
}
|
740
1091
|
|
741
|
-
.sd-1-
|
742
|
-
.sd-1-
|
743
|
-
.sd-1-
|
744
|
-
.sd-1-
|
1092
|
+
.sd-1-3-1-headline.sd-1-3-1-headline,
|
1093
|
+
.sd-1-3-1-headline:is(h1):not(.sd-1-3-1-headline),
|
1094
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline,
|
1095
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-3-1-headline) {
|
745
1096
|
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
746
1097
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
747
1098
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -749,29 +1100,29 @@ Used for inverted pressed interaction text link */;
|
|
749
1100
|
|
750
1101
|
@media (min-width: 640px) {
|
751
1102
|
|
752
|
-
.sd-1-
|
753
|
-
.sd-1-
|
754
|
-
.sd-1-
|
755
|
-
.sd-1-
|
1103
|
+
.sd-1-3-1-headline.sd-1-3-1-headline,
|
1104
|
+
.sd-1-3-1-headline:is(h1):not(.sd-1-3-1-headline),
|
1105
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline,
|
1106
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-3-1-headline) {
|
756
1107
|
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
757
1108
|
}
|
758
1109
|
}
|
759
1110
|
|
760
|
-
.sd-1-
|
1111
|
+
.sd-1-3-1-headline.sd-1-3-1-headline sd-icon, .sd-1-3-1-headline:is(h1):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-3-1-headline) sd-icon {
|
761
1112
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
762
1113
|
}
|
763
1114
|
|
764
1115
|
@media (min-width: 640px) {
|
765
1116
|
|
766
|
-
.sd-1-
|
1117
|
+
.sd-1-3-1-headline.sd-1-3-1-headline sd-icon, .sd-1-3-1-headline:is(h1):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-3-1-headline) sd-icon {
|
767
1118
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
768
1119
|
}
|
769
1120
|
}
|
770
1121
|
|
771
|
-
.sd-1-
|
772
|
-
.sd-1-
|
773
|
-
.sd-1-
|
774
|
-
.sd-1-
|
1122
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-3xl,
|
1123
|
+
.sd-1-3-1-headline:is(h2):not(.sd-1-3-1-headline),
|
1124
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-3xl,
|
1125
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-3-1-headline) {
|
775
1126
|
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
776
1127
|
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
777
1128
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -779,144 +1130,144 @@ Used for inverted pressed interaction text link */;
|
|
779
1130
|
|
780
1131
|
@media (min-width: 640px) {
|
781
1132
|
|
782
|
-
.sd-1-
|
783
|
-
.sd-1-
|
784
|
-
.sd-1-
|
785
|
-
.sd-1-
|
1133
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-3xl,
|
1134
|
+
.sd-1-3-1-headline:is(h2):not(.sd-1-3-1-headline),
|
1135
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-3xl,
|
1136
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-3-1-headline) {
|
786
1137
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
787
1138
|
}
|
788
1139
|
}
|
789
1140
|
|
790
|
-
.sd-1-
|
1141
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-3xl sd-icon, .sd-1-3-1-headline:is(h2):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-3xl sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-3-1-headline) sd-icon {
|
791
1142
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
792
1143
|
}
|
793
1144
|
|
794
1145
|
@media (min-width: 640px) {
|
795
1146
|
|
796
|
-
.sd-1-
|
1147
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-3xl sd-icon, .sd-1-3-1-headline:is(h2):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-3xl sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-3-1-headline) sd-icon {
|
797
1148
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
798
1149
|
}
|
799
1150
|
}
|
800
1151
|
|
801
|
-
.sd-1-
|
802
|
-
.sd-1-
|
803
|
-
.sd-1-
|
804
|
-
.sd-1-
|
805
|
-
.sd-1-
|
806
|
-
.sd-1-
|
807
|
-
.sd-1-
|
808
|
-
.sd-1-
|
1152
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-xl,
|
1153
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-lg,
|
1154
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-base,
|
1155
|
+
.sd-1-3-1-headline:is(h3, h4, h5):not(.sd-1-3-1-headline),
|
1156
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-xl,
|
1157
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-lg,
|
1158
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-base,
|
1159
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-3-1-headline) {
|
809
1160
|
gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
810
1161
|
|
811
1162
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
812
1163
|
}
|
813
1164
|
|
814
|
-
.sd-1-
|
1165
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-xl sd-icon, .sd-1-3-1-headline.sd-1-3-1-headline--size-lg sd-icon, .sd-1-3-1-headline.sd-1-3-1-headline--size-base sd-icon, .sd-1-3-1-headline:is(h3, h4, h5):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-xl sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-lg sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-base sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-3-1-headline) sd-icon {
|
815
1166
|
font-size: 2rem;
|
816
1167
|
}
|
817
1168
|
|
818
|
-
.sd-1-
|
819
|
-
.sd-1-
|
820
|
-
.sd-1-
|
821
|
-
.sd-1-
|
1169
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-xl,
|
1170
|
+
.sd-1-3-1-headline:is(h3):not(.sd-1-3-1-headline),
|
1171
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-xl,
|
1172
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-3-1-headline) {
|
822
1173
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
823
1174
|
}
|
824
1175
|
|
825
|
-
.sd-1-
|
1176
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-xl sd-icon, .sd-1-3-1-headline:is(h3):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-xl sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-3-1-headline) sd-icon {
|
826
1177
|
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
827
1178
|
}
|
828
1179
|
|
829
1180
|
@media (min-width: 640px) {
|
830
1181
|
|
831
|
-
.sd-1-
|
1182
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-xl sd-icon, .sd-1-3-1-headline:is(h3):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-xl sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-3-1-headline) sd-icon {
|
832
1183
|
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
833
1184
|
}
|
834
1185
|
}
|
835
1186
|
|
836
|
-
.sd-1-
|
837
|
-
.sd-1-
|
838
|
-
.sd-1-
|
839
|
-
.sd-1-
|
840
|
-
.sd-1-
|
841
|
-
.sd-1-
|
1187
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-lg,
|
1188
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-base,
|
1189
|
+
.sd-1-3-1-headline:is(h4, h5):not(.sd-1-3-1-headline),
|
1190
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-lg,
|
1191
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-base,
|
1192
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h4, h5):not(.sd-1-3-1-headline) {
|
842
1193
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
843
1194
|
}
|
844
1195
|
|
845
|
-
.sd-1-
|
846
|
-
.sd-1-
|
847
|
-
.sd-1-
|
848
|
-
.sd-1-
|
1196
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-lg,
|
1197
|
+
.sd-1-3-1-headline:is(h4),
|
1198
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-lg,
|
1199
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h4) {
|
849
1200
|
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
850
1201
|
}
|
851
1202
|
|
852
|
-
.sd-1-
|
1203
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-lg sd-icon, .sd-1-3-1-headline:is(h4) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-lg sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
853
1204
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
854
1205
|
}
|
855
1206
|
|
856
1207
|
@media (min-width: 640px) {
|
857
1208
|
|
858
|
-
.sd-1-
|
1209
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-lg sd-icon, .sd-1-3-1-headline:is(h4) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-lg sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
859
1210
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
860
1211
|
}
|
861
1212
|
}
|
862
1213
|
|
863
|
-
.sd-1-
|
864
|
-
.sd-1-
|
865
|
-
.sd-1-
|
866
|
-
.sd-1-
|
1214
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-base,
|
1215
|
+
.sd-1-3-1-headline:is(h5):not(.sd-1-3-1-headline),
|
1216
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-base,
|
1217
|
+
.sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-3-1-headline) {
|
867
1218
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
868
1219
|
}
|
869
1220
|
|
870
|
-
.sd-1-
|
1221
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-base sd-icon, .sd-1-3-1-headline:is(h5):not(.sd-1-3-1-headline) sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-base sd-icon, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-3-1-headline) sd-icon {
|
871
1222
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
872
1223
|
}
|
873
1224
|
|
874
|
-
.sd-1-
|
1225
|
+
.sd-1-3-1-headline.sd-1-3-1-headline--size-base mark, .sd-1-3-1-headline:is(h5):not(.sd-1-3-1-headline) mark, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5).sd-1-3-1-headline--size-base mark, .sd-1-3-1-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-3-1-headline) mark {
|
875
1226
|
color: inherit;
|
876
1227
|
}
|
877
1228
|
|
878
|
-
.sd-1-
|
1229
|
+
.sd-1-3-1-headline--inline {
|
879
1230
|
display: inline-block;
|
880
1231
|
}
|
881
1232
|
|
882
|
-
.sd-1-
|
1233
|
+
.sd-1-3-1-headline--inline sd-icon {
|
883
1234
|
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
884
1235
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
885
1236
|
vertical-align: middle;
|
886
1237
|
}
|
887
1238
|
|
888
|
-
.sd-1-
|
1239
|
+
.sd-1-3-1-headline--inline:is(.sd-1-3-1-headline--size-xl, .sd-1-3-1-headline--size-lg, .sd-1-3-1-headline--size-base) sd-icon {
|
889
1240
|
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
890
1241
|
}
|
891
1242
|
|
892
|
-
.sd-1-
|
893
|
-
.sd-1-
|
1243
|
+
.sd-1-3-1-headline--inverted:not(#_),
|
1244
|
+
.sd-1-3-1-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-3-1-headline):not(#_) {
|
894
1245
|
|
895
1246
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
896
1247
|
}
|
897
1248
|
|
898
|
-
.sd-1-
|
1249
|
+
.sd-1-3-1-headline--inverted:not(#_) sd-icon, .sd-1-3-1-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-3-1-headline):not(#_) sd-icon {
|
899
1250
|
|
900
1251
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
901
1252
|
}
|
902
1253
|
|
903
1254
|
/**
|
904
1255
|
* Generates basic styles for interactive elements.
|
905
|
-
* @name sd-1-
|
1256
|
+
* @name sd-1-3-1-interactive
|
906
1257
|
* @status stable
|
907
1258
|
* @since 1.11
|
908
|
-
* @boolean sd-1-
|
909
|
-
* @boolean sd-1-
|
910
|
-
* @boolean sd-1-
|
1259
|
+
* @boolean sd-1-3-1-interactive--disabled Makes an element look disabled.
|
1260
|
+
* @boolean sd-1-3-1-interactive--inverted Inverts the colors of an element.
|
1261
|
+
* @boolean sd-1-3-1-interactive--reset Resets the default browser styles of e.g., a button.
|
911
1262
|
*/
|
912
1263
|
|
913
|
-
.sd-1-
|
1264
|
+
.sd-1-3-1-prose a--reset, .sd-1-3-1-interactive--reset {
|
914
1265
|
all: unset;
|
915
1266
|
outline: revert;
|
916
1267
|
}
|
917
1268
|
|
918
|
-
.sd-1-
|
919
|
-
.sd-1-
|
1269
|
+
.sd-1-3-1-prose a,
|
1270
|
+
.sd-1-3-1-interactive {
|
920
1271
|
cursor: pointer;
|
921
1272
|
|
922
1273
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
@@ -926,80 +1277,80 @@ Used for inverted pressed interaction text link */;
|
|
926
1277
|
transition-duration: 150ms;
|
927
1278
|
}
|
928
1279
|
|
929
|
-
.sd-1-
|
930
|
-
.sd-1-
|
1280
|
+
.sd-1-3-1-prose a:hover:not([disabled]),
|
1281
|
+
.sd-1-3-1-interactive:hover:not([disabled]) {
|
931
1282
|
|
932
1283
|
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
|
933
1284
|
}
|
934
1285
|
|
935
|
-
.sd-1-
|
936
|
-
.sd-1-
|
1286
|
+
.sd-1-3-1-prose a:active:not([disabled]),
|
1287
|
+
.sd-1-3-1-interactive:active:not([disabled]) {
|
937
1288
|
|
938
1289
|
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
|
939
1290
|
}
|
940
1291
|
|
941
|
-
.sd-1-
|
1292
|
+
.sd-1-3-1-prose a:is(.sd-1-3-1-interactive), .sd-1-3-1-interactive:is(.sd-1-3-1-interactive) {
|
942
1293
|
text-decoration-line: none;
|
943
1294
|
}
|
944
1295
|
|
945
|
-
.sd-1-
|
1296
|
+
.sd-1-3-1-prose a:focus-visible, .sd-1-3-1-interactive:focus-visible {
|
946
1297
|
outline-style: solid;
|
947
1298
|
outline-width: 2px;
|
948
1299
|
outline-offset: 2px;
|
949
1300
|
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
950
1301
|
}
|
951
1302
|
|
952
|
-
.sd-1-
|
953
|
-
.sd-1-
|
954
|
-
.sd-1-
|
955
|
-
.sd-1-
|
956
|
-
.sd-1-
|
957
|
-
.sd-1-
|
1303
|
+
.sd-1-3-1-prose a--disabled,
|
1304
|
+
.sd-1-3-1-prose a[disabled],
|
1305
|
+
.sd-1-3-1-prose a[href=''],
|
1306
|
+
.sd-1-3-1-interactive--disabled,
|
1307
|
+
.sd-1-3-1-interactive[disabled],
|
1308
|
+
.sd-1-3-1-interactive[href=''] {
|
958
1309
|
cursor: not-allowed;
|
959
1310
|
|
960
1311
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
961
1312
|
}
|
962
1313
|
|
963
|
-
.sd-1-
|
964
|
-
.sd-1-
|
965
|
-
.sd-1-
|
966
|
-
.sd-1-
|
967
|
-
.sd-1-
|
968
|
-
.sd-1-
|
1314
|
+
.sd-1-3-1-prose a--disabled:hover:not([disabled]),
|
1315
|
+
.sd-1-3-1-prose a[disabled]:hover:not([disabled]),
|
1316
|
+
.sd-1-3-1-prose a[href='']:hover:not([disabled]),
|
1317
|
+
.sd-1-3-1-interactive--disabled:hover:not([disabled]),
|
1318
|
+
.sd-1-3-1-interactive[disabled]:hover:not([disabled]),
|
1319
|
+
.sd-1-3-1-interactive[href='']:hover:not([disabled]) {
|
969
1320
|
|
970
1321
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
971
1322
|
}
|
972
1323
|
|
973
|
-
.sd-1-
|
974
|
-
.sd-1-
|
975
|
-
.sd-1-
|
976
|
-
.sd-1-
|
977
|
-
.sd-1-
|
978
|
-
.sd-1-
|
1324
|
+
.sd-1-3-1-prose a--disabled:active:not([disabled]),
|
1325
|
+
.sd-1-3-1-prose a[disabled]:active:not([disabled]),
|
1326
|
+
.sd-1-3-1-prose a[href='']:active:not([disabled]),
|
1327
|
+
.sd-1-3-1-interactive--disabled:active:not([disabled]),
|
1328
|
+
.sd-1-3-1-interactive[disabled]:active:not([disabled]),
|
1329
|
+
.sd-1-3-1-interactive[href='']:active:not([disabled]) {
|
979
1330
|
|
980
1331
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
981
1332
|
}
|
982
1333
|
|
983
|
-
.sd-1-
|
984
|
-
.sd-1-
|
1334
|
+
.sd-1-3-1-prose--inverted a,
|
1335
|
+
.sd-1-3-1-interactive--inverted {
|
985
1336
|
|
986
1337
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
987
1338
|
}
|
988
1339
|
|
989
|
-
.sd-1-
|
990
|
-
.sd-1-
|
1340
|
+
.sd-1-3-1-prose--inverted a:hover:not([disabled]),
|
1341
|
+
.sd-1-3-1-interactive--inverted:hover:not([disabled]) {
|
991
1342
|
|
992
1343
|
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 */;
|
993
1344
|
}
|
994
1345
|
|
995
|
-
.sd-1-
|
996
|
-
.sd-1-
|
1346
|
+
.sd-1-3-1-prose--inverted a:active:not([disabled]),
|
1347
|
+
.sd-1-3-1-interactive--inverted:active:not([disabled]) {
|
997
1348
|
|
998
1349
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
999
1350
|
Used for inverted pressed interaction text link */;
|
1000
1351
|
}
|
1001
1352
|
|
1002
|
-
.sd-1-
|
1353
|
+
.sd-1-3-1-prose--inverted a:focus-visible, .sd-1-3-1-interactive--inverted:focus-visible {
|
1003
1354
|
outline-style: solid;
|
1004
1355
|
outline-width: 2px;
|
1005
1356
|
outline-offset: 2px;
|
@@ -1008,15 +1359,15 @@ Used for inverted pressed interaction text link */;
|
|
1008
1359
|
|
1009
1360
|
/**
|
1010
1361
|
* Leadtext is used for text that should be highlighted and a focal point of the page.
|
1011
|
-
* @name sd-1-
|
1362
|
+
* @name sd-1-3-1-leadtext
|
1012
1363
|
* @status stable
|
1013
1364
|
* @since 1.7
|
1014
|
-
* @variant { lg } sd-1-
|
1015
|
-
* @boolean sd-1-
|
1365
|
+
* @variant { lg } sd-1-3-1-leadtext--size-... The leadtext's size.
|
1366
|
+
* @boolean sd-1-3-1-leadtext--inverted Inverts the leadtext text.
|
1016
1367
|
*/
|
1017
1368
|
|
1018
|
-
.sd-1-
|
1019
|
-
.sd-1-
|
1369
|
+
.sd-1-3-1-prose > .sd-1-3-1-leadtext,
|
1370
|
+
.sd-1-3-1-leadtext {
|
1020
1371
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
1021
1372
|
font-weight: 400;
|
1022
1373
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1024,7 +1375,7 @@ Used for inverted pressed interaction text link */;
|
|
1024
1375
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1025
1376
|
}
|
1026
1377
|
|
1027
|
-
.sd-1-
|
1378
|
+
.sd-1-3-1-prose > .sd-1-3-1-leadtext--size-lg, .sd-1-3-1-leadtext--size-lg {
|
1028
1379
|
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
1029
1380
|
font-weight: 400;
|
1030
1381
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1032,111 +1383,111 @@ Used for inverted pressed interaction text link */;
|
|
1032
1383
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1033
1384
|
}
|
1034
1385
|
|
1035
|
-
.sd-1-
|
1036
|
-
.sd-1-
|
1386
|
+
.sd-1-3-1-prose--inverted > .sd-1-3-1-leadtext,
|
1387
|
+
.sd-1-3-1-leadtext--inverted {
|
1037
1388
|
|
1038
1389
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1039
1390
|
}
|
1040
1391
|
|
1041
1392
|
/**
|
1042
1393
|
* Generates basic styles for list elements.
|
1043
|
-
* @name sd-1-
|
1394
|
+
* @name sd-1-3-1-list
|
1044
1395
|
* @status stable
|
1045
1396
|
* @since 1.39.0
|
1046
|
-
* @boolean sd-1-
|
1397
|
+
* @boolean sd-1-3-1-list--inverted Inverts the list text.
|
1047
1398
|
*/
|
1048
1399
|
|
1049
|
-
.sd-1-
|
1050
|
-
.sd-1-
|
1400
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon),
|
1401
|
+
.sd-1-3-1-prose > :is(ol, ul) {
|
1051
1402
|
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
1052
1403
|
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
1053
1404
|
text-align: left;
|
1054
1405
|
}
|
1055
1406
|
|
1056
|
-
.sd-1-
|
1407
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) li:not(:first-child), .sd-1-3-1-prose > :is(ol, ul) li:not(:first-child) {
|
1057
1408
|
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1058
1409
|
}
|
1059
1410
|
|
1060
|
-
.sd-1-
|
1061
|
-
.sd-1-
|
1062
|
-
.sd-1-
|
1063
|
-
.sd-1-
|
1411
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) ol,
|
1412
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) ul,
|
1413
|
+
.sd-1-3-1-prose > :is(ol, ul) ol,
|
1414
|
+
.sd-1-3-1-prose > :is(ol, ul) ul {
|
1064
1415
|
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1065
1416
|
}
|
1066
1417
|
|
1067
1418
|
/* Counter handling for ordered lists. */
|
1068
1419
|
|
1069
|
-
.sd-1-
|
1420
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ol) > li, .sd-1-3-1-list:not(.sd-1-3-1-list--icon) ol > li, .sd-1-3-1-prose > :is(ol, ul):is(ol) > li, .sd-1-3-1-prose > :is(ol, ul) ol > li {
|
1070
1421
|
counter-increment: item;
|
1071
1422
|
}
|
1072
1423
|
|
1073
|
-
.sd-1-
|
1424
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ol) > li:before, .sd-1-3-1-list:not(.sd-1-3-1-list--icon) ol > li:before, .sd-1-3-1-prose > :is(ol, ul):is(ol) > li:before, .sd-1-3-1-prose > :is(ol, ul) ol > li:before {
|
1074
1425
|
content: counters(item, '.') '. ';
|
1075
1426
|
}
|
1076
1427
|
|
1077
1428
|
/* Add second level */
|
1078
1429
|
|
1079
|
-
.sd-1-
|
1080
|
-
.sd-1-
|
1081
|
-
.sd-1-
|
1082
|
-
.sd-1-
|
1083
|
-
.sd-1-
|
1084
|
-
.sd-1-
|
1430
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ol),
|
1431
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ol) > li > ol,
|
1432
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) ol > li > ol,
|
1433
|
+
.sd-1-3-1-prose > :is(ol, ul):is(ol),
|
1434
|
+
.sd-1-3-1-prose > :is(ol, ul):is(ol) > li > ol,
|
1435
|
+
.sd-1-3-1-prose > :is(ol, ul) ol > li > ol {
|
1085
1436
|
counter-reset: item;
|
1086
1437
|
}
|
1087
1438
|
|
1088
1439
|
/* Ordered lists inside unordered lists. */
|
1089
1440
|
|
1090
|
-
.sd-1-
|
1091
|
-
.sd-1-
|
1092
|
-
.sd-1-
|
1093
|
-
.sd-1-
|
1441
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ul) > li > ol,
|
1442
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) ul > li > ol,
|
1443
|
+
.sd-1-3-1-prose > :is(ol, ul):is(ul) > li > ol,
|
1444
|
+
.sd-1-3-1-prose > :is(ol, ul) ul > li > ol {
|
1094
1445
|
counter-set: item 0;
|
1095
1446
|
}
|
1096
1447
|
|
1097
1448
|
/* Styling */
|
1098
1449
|
|
1099
|
-
.sd-1-
|
1450
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) li, .sd-1-3-1-prose > :is(ol, ul) li {
|
1100
1451
|
display: table;
|
1101
1452
|
}
|
1102
1453
|
|
1103
|
-
.sd-1-
|
1454
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) li:before, .sd-1-3-1-prose > :is(ol, ul) li:before {
|
1104
1455
|
display: table-cell;
|
1105
1456
|
padding-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1106
1457
|
}
|
1107
1458
|
|
1108
|
-
.sd-1-
|
1109
|
-
.sd-1-
|
1110
|
-
.sd-1-
|
1111
|
-
.sd-1-
|
1459
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ul),
|
1460
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon) ul,
|
1461
|
+
.sd-1-3-1-prose > :is(ol, ul):is(ul),
|
1462
|
+
.sd-1-3-1-prose > :is(ol, ul) ul {
|
1112
1463
|
list-style-type: '';
|
1113
1464
|
}
|
1114
1465
|
|
1115
|
-
.sd-1-
|
1466
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ul):not(.sd-1-3-1-list--icon) > li:before, .sd-1-3-1-list:not(.sd-1-3-1-list--icon) ul > li:before, .sd-1-3-1-prose > :is(ol, ul):is(ul):not(.sd-1-3-1-list--icon) > li:before, .sd-1-3-1-prose > :is(ol, ul) ul > li:before {
|
1116
1467
|
content: '\2022';
|
1117
1468
|
}
|
1118
1469
|
|
1119
|
-
.sd-1-
|
1470
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ul):not(.sd-1-3-1-list--icon) > li > ul > li:before, .sd-1-3-1-list:not(.sd-1-3-1-list--icon) ul > li > ul > li:before, .sd-1-3-1-prose > :is(ol, ul):is(ul):not(.sd-1-3-1-list--icon) > li > ul > li:before, .sd-1-3-1-prose > :is(ol, ul) ul > li > ul > li:before {
|
1120
1471
|
content: '\002B1D';
|
1121
1472
|
}
|
1122
1473
|
|
1123
|
-
.sd-1-
|
1474
|
+
.sd-1-3-1-list:not(.sd-1-3-1-list--icon):is(ul):not(.sd-1-3-1-list--icon) > li > ul > li > ul > li:before, .sd-1-3-1-list:not(.sd-1-3-1-list--icon) ul > li > ul > li > ul > li:before, .sd-1-3-1-prose > :is(ol, ul):is(ul):not(.sd-1-3-1-list--icon) > li > ul > li > ul > li:before, .sd-1-3-1-prose > :is(ol, ul) ul > li > ul > li > ul > li:before {
|
1124
1475
|
content: '\2010';
|
1125
1476
|
}
|
1126
1477
|
|
1127
|
-
.sd-1-
|
1478
|
+
.sd-1-3-1-list--icon {
|
1128
1479
|
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
1129
1480
|
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
1130
1481
|
text-align: left;
|
1131
1482
|
}
|
1132
1483
|
|
1133
|
-
.sd-1-
|
1134
|
-
.sd-1-
|
1484
|
+
.sd-1-3-1-list--icon li sd-icon:first-of-type,
|
1485
|
+
.sd-1-3-1-list--icon li .sd-1-3-1-list--icon__icon:first-of-type {
|
1135
1486
|
|
1136
1487
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1137
1488
|
}
|
1138
1489
|
|
1139
|
-
.sd-1-
|
1490
|
+
.sd-1-3-1-list--icon {
|
1140
1491
|
list-style-type: '';
|
1141
1492
|
}
|
1142
1493
|
|
@@ -1144,19 +1495,19 @@ Used for inverted pressed interaction text link */;
|
|
1144
1495
|
styles without affecting semantics is to set list-style-type to an empty string.
|
1145
1496
|
https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics */
|
1146
1497
|
|
1147
|
-
.sd-1-
|
1498
|
+
.sd-1-3-1-list--icon > li:first-of-type {
|
1148
1499
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1149
1500
|
}
|
1150
1501
|
|
1151
|
-
.sd-1-
|
1502
|
+
.sd-1-3-1-list--icon li {
|
1152
1503
|
position: relative;
|
1153
1504
|
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1154
1505
|
padding-left: var(--sd-spacing-10, 2.5rem) /* 40px */;
|
1155
1506
|
line-height: 32px;
|
1156
1507
|
}
|
1157
1508
|
|
1158
|
-
.sd-1-
|
1159
|
-
.sd-1-
|
1509
|
+
.sd-1-3-1-list--icon li > sd-icon:first-of-type,
|
1510
|
+
.sd-1-3-1-list--icon li > .sd-1-3-1-list--icon__icon:first-of-type {
|
1160
1511
|
position: absolute;
|
1161
1512
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1162
1513
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
@@ -1164,44 +1515,44 @@ Used for inverted pressed interaction text link */;
|
|
1164
1515
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
1165
1516
|
}
|
1166
1517
|
|
1167
|
-
.sd-1-
|
1518
|
+
.sd-1-3-1-list--icon.sd-1-3-1-list--horizontal {
|
1168
1519
|
display: flex;
|
1169
1520
|
}
|
1170
1521
|
|
1171
|
-
.sd-1-
|
1522
|
+
.sd-1-3-1-list--icon.sd-1-3-1-list--horizontal li {
|
1172
1523
|
display: flex;
|
1173
1524
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1174
1525
|
}
|
1175
1526
|
|
1176
|
-
.sd-1-
|
1527
|
+
.sd-1-3-1-list--icon.sd-1-3-1-list--horizontal li:not(:last-child) {
|
1177
1528
|
margin-right: var(--sd-spacing-8, 2rem) /* 32px */;
|
1178
1529
|
}
|
1179
1530
|
|
1180
|
-
.sd-1-
|
1181
|
-
.sd-1-
|
1531
|
+
.sd-1-3-1-list--inverted,
|
1532
|
+
.sd-1-3-1-prose--inverted > :is(ol, ul) {
|
1182
1533
|
|
1183
1534
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1184
1535
|
}
|
1185
1536
|
|
1186
|
-
.sd-1-
|
1187
|
-
.sd-1-
|
1188
|
-
.sd-1-
|
1189
|
-
.sd-1-
|
1537
|
+
.sd-1-3-1-list--inverted li > sd-icon:first-of-type,
|
1538
|
+
.sd-1-3-1-list--inverted li > .sd-1-3-1-list--icon__icon:first-of-type,
|
1539
|
+
.sd-1-3-1-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type,
|
1540
|
+
.sd-1-3-1-prose--inverted > :is(ol, ul) li > .sd-1-3-1-list--icon__icon:first-of-type {
|
1190
1541
|
|
1191
1542
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1192
1543
|
}
|
1193
1544
|
|
1194
1545
|
/**
|
1195
1546
|
* A paragraph is used to display blocks of text. It uses the base font size and can contain bold and/or link styles.
|
1196
|
-
* @name sd-1-
|
1547
|
+
* @name sd-1-3-1-paragraph
|
1197
1548
|
* @status stable
|
1198
1549
|
* @since 1.7
|
1199
|
-
* @variant { sm } sd-1-
|
1200
|
-
* @boolean sd-1-
|
1550
|
+
* @variant { sm } sd-1-3-1-paragraph--size-... The paragraph's font size.
|
1551
|
+
* @boolean sd-1-3-1-paragraph--inverted Inverts the paragraph text.
|
1201
1552
|
*/
|
1202
1553
|
|
1203
|
-
.sd-1-
|
1204
|
-
.sd-1-
|
1554
|
+
.sd-1-3-1-paragraph,
|
1555
|
+
.sd-1-3-1-prose p {
|
1205
1556
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
1206
1557
|
font-weight: 400;
|
1207
1558
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1209,7 +1560,7 @@ Used for inverted pressed interaction text link */;
|
|
1209
1560
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1210
1561
|
}
|
1211
1562
|
|
1212
|
-
.sd-1-
|
1563
|
+
.sd-1-3-1-paragraph--size-sm, .sd-1-3-1-prose p--size-sm {
|
1213
1564
|
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
1214
1565
|
font-weight: 400;
|
1215
1566
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1217,35 +1568,35 @@ Used for inverted pressed interaction text link */;
|
|
1217
1568
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1218
1569
|
}
|
1219
1570
|
|
1220
|
-
.sd-1-
|
1221
|
-
.sd-1-
|
1571
|
+
.sd-1-3-1-paragraph--inverted,
|
1572
|
+
.sd-1-3-1-prose--inverted p {
|
1222
1573
|
|
1223
1574
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1224
1575
|
}
|
1225
1576
|
|
1226
1577
|
/**
|
1227
1578
|
* Generates basic styles for media elements.
|
1228
|
-
* @name sd-1-
|
1579
|
+
* @name sd-1-3-1-media
|
1229
1580
|
* @status stable
|
1230
1581
|
* @since 2.5.0
|
1231
|
-
* @boolean sd-1-
|
1582
|
+
* @boolean sd-1-3-1-media--inverted Inverts the figcaption text.
|
1232
1583
|
*/
|
1233
1584
|
|
1234
|
-
.sd-1-
|
1235
|
-
figure.sd-1-
|
1585
|
+
.sd-1-3-1-prose figure,
|
1586
|
+
figure.sd-1-3-1-media {
|
1236
1587
|
margin: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1237
1588
|
}
|
1238
1589
|
|
1239
|
-
.sd-1-
|
1590
|
+
.sd-1-3-1-prose figure figcaption, figure.sd-1-3-1-media figcaption {
|
1240
1591
|
|
1241
1592
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
1242
1593
|
}
|
1243
1594
|
|
1244
|
-
.sd-1-
|
1595
|
+
.sd-1-3-1-prose figure figcaption:last-child, figure.sd-1-3-1-media figcaption:last-child {
|
1245
1596
|
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1246
1597
|
}
|
1247
1598
|
|
1248
|
-
.sd-1-
|
1599
|
+
.sd-1-3-1-prose--inverted figure figcaption, figure.sd-1-3-1-media--inverted figcaption {
|
1249
1600
|
|
1250
1601
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
1251
1602
|
Used for inverted pressed interaction text link */;
|
@@ -1253,18 +1604,18 @@ Used for inverted pressed interaction text link */;
|
|
1253
1604
|
|
1254
1605
|
/**
|
1255
1606
|
* A table cell is a single cell inside a table, used to display discrete data elements.
|
1256
|
-
* @name sd-1-
|
1607
|
+
* @name sd-1-3-1-table-cell
|
1257
1608
|
* @status stable
|
1258
1609
|
* @since 1.13
|
1259
|
-
* @boolean sd-1-
|
1260
|
-
* @variant { white | primary-100 | neutral-100 } sd-1-
|
1261
|
-
* @boolean sd-1-
|
1262
|
-
* @variant { top | left | right | bottom } sd-1-
|
1610
|
+
* @boolean sd-1-3-1-table-cell--divider Displays a divider to the right.
|
1611
|
+
* @variant { white | primary-100 | neutral-100 } sd-1-3-1-table-cell--bg-... Applies the selected background-color to the table cell. If not selected, a transparent background-color is used per default.
|
1612
|
+
* @boolean sd-1-3-1-table-cell--shadow-active Displays the table shadow.
|
1613
|
+
* @variant { top | left | right | bottom } sd-1-3-1-table-cell--shadow-... Applies the selected shadow to the table cell.
|
1263
1614
|
*/
|
1264
1615
|
|
1265
|
-
.sd-1-
|
1266
|
-
.sd-1-
|
1267
|
-
.sd-1-
|
1616
|
+
.sd-1-3-1-prose td,
|
1617
|
+
.sd-1-3-1-prose th,
|
1618
|
+
.sd-1-3-1-table-cell {
|
1268
1619
|
border-top-width: 1px;
|
1269
1620
|
border-bottom-width: 1px;
|
1270
1621
|
border-left-width: 0px;
|
@@ -1281,11 +1632,11 @@ Used for divider, teaser, container, ... */;
|
|
1281
1632
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1282
1633
|
}
|
1283
1634
|
|
1284
|
-
.sd-1-
|
1635
|
+
.sd-1-3-1-table-cell--divider {
|
1285
1636
|
border-right-width: 1px;
|
1286
1637
|
}
|
1287
1638
|
|
1288
|
-
.sd-1-
|
1639
|
+
.sd-1-3-1-table-cell--shadow-top:after, .sd-1-3-1-table-cell--shadow-bottom:after, .sd-1-3-1-table-cell--shadow-left:after, .sd-1-3-1-table-cell--shadow-right:after {
|
1289
1640
|
pointer-events: none;
|
1290
1641
|
position: absolute;
|
1291
1642
|
--tw-gradient-from: rgb(0 0 0 / var(--sd-opacity-10, 0.1)) var(--tw-gradient-from-position);
|
@@ -1300,7 +1651,7 @@ Used for divider, teaser, container, ... */;
|
|
1300
1651
|
content: var(--tw-content);
|
1301
1652
|
}
|
1302
1653
|
|
1303
|
-
.sd-1-
|
1654
|
+
.sd-1-3-1-table-cell--shadow-top:after, .sd-1-3-1-table-cell--shadow-bottom:after {
|
1304
1655
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1305
1656
|
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1306
1657
|
height: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
@@ -1308,7 +1659,7 @@ Used for divider, teaser, container, ... */;
|
|
1308
1659
|
|
1309
1660
|
/* fix that shows line on top of table-cell */
|
1310
1661
|
|
1311
|
-
.sd-1-
|
1662
|
+
.sd-1-3-1-table-cell--shadow-top:before, .sd-1-3-1-table-cell--shadow-bottom:before {
|
1312
1663
|
position: absolute;
|
1313
1664
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1314
1665
|
display: block;
|
@@ -1322,66 +1673,66 @@ Used for divider, teaser, container, ... */;
|
|
1322
1673
|
content: var(--tw-content);
|
1323
1674
|
}
|
1324
1675
|
|
1325
|
-
.sd-1-
|
1676
|
+
.sd-1-3-1-table-cell--shadow-left:after, .sd-1-3-1-table-cell--shadow-right:after {
|
1326
1677
|
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1327
1678
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1328
1679
|
width: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
1329
1680
|
}
|
1330
1681
|
|
1331
|
-
.sd-1-
|
1682
|
+
.sd-1-3-1-table-cell.sd-1-3-1-table-cell--shadow-active:after {
|
1332
1683
|
opacity: 100%;
|
1333
1684
|
}
|
1334
1685
|
|
1335
|
-
.sd-1-
|
1686
|
+
.sd-1-3-1-table-cell--shadow-top:after {
|
1336
1687
|
top: -10px;
|
1337
1688
|
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
1338
1689
|
}
|
1339
1690
|
|
1340
1691
|
/* fix that shows line on top of table-cell */
|
1341
1692
|
|
1342
|
-
.sd-1-
|
1693
|
+
.sd-1-3-1-table-cell--shadow-top:before {
|
1343
1694
|
bottom: -1px;
|
1344
1695
|
}
|
1345
1696
|
|
1346
|
-
.sd-1-
|
1697
|
+
.sd-1-3-1-table-cell--shadow-bottom:after {
|
1347
1698
|
bottom: -10px;
|
1348
1699
|
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
|
1349
1700
|
}
|
1350
1701
|
|
1351
1702
|
/* fix that shows line on top of table-cell */
|
1352
1703
|
|
1353
|
-
.sd-1-
|
1704
|
+
.sd-1-3-1-table-cell--shadow-bottom:before {
|
1354
1705
|
top: -1px;
|
1355
1706
|
}
|
1356
1707
|
|
1357
|
-
.sd-1-
|
1708
|
+
.sd-1-3-1-table-cell--shadow-left:after {
|
1358
1709
|
left: -10px;
|
1359
1710
|
background-image: linear-gradient(to left, var(--tw-gradient-stops));
|
1360
1711
|
}
|
1361
1712
|
|
1362
|
-
.sd-1-
|
1713
|
+
.sd-1-3-1-table-cell--shadow-right:after {
|
1363
1714
|
right: -10px;
|
1364
1715
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
1365
1716
|
}
|
1366
1717
|
|
1367
|
-
.sd-1-
|
1718
|
+
.sd-1-3-1-table-cell--bg-white {
|
1368
1719
|
|
1369
1720
|
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
1370
1721
|
}
|
1371
1722
|
|
1372
|
-
.sd-1-
|
1723
|
+
.sd-1-3-1-table-cell--bg-primary-100 {
|
1373
1724
|
|
1374
1725
|
background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
1375
1726
|
}
|
1376
1727
|
|
1377
|
-
.sd-1-
|
1728
|
+
.sd-1-3-1-table-cell--bg-neutral-100 {
|
1378
1729
|
|
1379
1730
|
background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
1380
1731
|
}
|
1381
1732
|
|
1382
1733
|
/**
|
1383
1734
|
* A table is organized structured content, used for scanning, comparing, and analyzing the data.
|
1384
|
-
* @name sd-1-
|
1735
|
+
* @name sd-1-3-1-table
|
1385
1736
|
* @status stable
|
1386
1737
|
* @since 1.13
|
1387
1738
|
*/
|
@@ -1390,8 +1741,8 @@ Used for divider, teaser, container, ... */;
|
|
1390
1741
|
* Remove inherited styles from table before applying our styles.
|
1391
1742
|
*/
|
1392
1743
|
|
1393
|
-
.sd-1-
|
1394
|
-
.sd-1-
|
1744
|
+
.sd-1-3-1-table,
|
1745
|
+
.sd-1-3-1-prose table {
|
1395
1746
|
all: unset;
|
1396
1747
|
display: table;
|
1397
1748
|
border-collapse: collapse;
|
@@ -1400,13 +1751,13 @@ Used for divider, teaser, container, ... */;
|
|
1400
1751
|
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
1401
1752
|
}
|
1402
1753
|
|
1403
|
-
.sd-1-
|
1754
|
+
.sd-1-3-1-table thead tr:first-of-type, .sd-1-3-1-table tfoot tr:first-of-type, .sd-1-3-1-prose table thead tr:first-of-type, .sd-1-3-1-prose table tfoot tr:first-of-type {
|
1404
1755
|
position: relative;
|
1405
1756
|
}
|
1406
1757
|
|
1407
1758
|
/* plop:style */
|
1408
1759
|
|
1409
|
-
.sd-1-
|
1760
|
+
.sd-1-3-1-prose {
|
1410
1761
|
/* Optimize for reading. */
|
1411
1762
|
max-width: 80ch;
|
1412
1763
|
text-align: left;
|
@@ -1414,67 +1765,67 @@ Used for divider, teaser, container, ... */;
|
|
1414
1765
|
|
1415
1766
|
/* Add default spacings */
|
1416
1767
|
|
1417
|
-
.sd-1-
|
1768
|
+
.sd-1-3-1-prose > *:not(:first-child) {
|
1418
1769
|
margin-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
1419
1770
|
}
|
1420
1771
|
|
1421
1772
|
/* First element has no margin-top */
|
1422
1773
|
|
1423
|
-
.sd-1-
|
1774
|
+
.sd-1-3-1-prose > *:first-child {
|
1424
1775
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1425
1776
|
}
|
1426
1777
|
|
1427
1778
|
/* headings after a heading have a smaller margin-top */
|
1428
1779
|
|
1429
|
-
.sd-1-
|
1780
|
+
.sd-1-3-1-prose > :is(h1, h2, h3, h4, h5):not(#_) + :is(h1, h2, h3, h4, h5) {
|
1430
1781
|
/* :not(#_) is a hack to raise specifity, see https://stackoverflow.com/a/61781795 */
|
1431
1782
|
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1432
1783
|
}
|
1433
1784
|
|
1434
1785
|
/* Headlines after other non-headlines have a larger margin-top */
|
1435
1786
|
|
1436
|
-
.sd-1-
|
1787
|
+
.sd-1-3-1-prose > *:not(:is(h1, h2, h3, h4, h5)) + :is(h1, h2, h3, h4, h5):not(#_) {
|
1437
1788
|
margin-top: var(--sd-spacing-8, 2rem) /* 32px */;
|
1438
1789
|
}
|
1439
1790
|
|
1440
1791
|
/* Images and figures lead to a bigger margin-top for the next element */
|
1441
1792
|
|
1442
|
-
.sd-1-
|
1443
|
-
.sd-1-
|
1793
|
+
.sd-1-3-1-prose > figure + *:not(#_),
|
1794
|
+
.sd-1-3-1-prose > img + *:not(#_) {
|
1444
1795
|
margin-top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
1445
1796
|
}
|
1446
1797
|
|
1447
1798
|
/* Add styles for elements that are not based on existing CSS styles */
|
1448
1799
|
|
1449
|
-
.sd-1-
|
1800
|
+
.sd-1-3-1-prose hr {
|
1450
1801
|
height: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1451
1802
|
border-top-width: 1px;
|
1452
1803
|
--tw-border-opacity: 1;
|
1453
1804
|
border-color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-border-opacity, 1)) /* Used for disabled state */;
|
1454
1805
|
}
|
1455
1806
|
|
1456
|
-
.sd-1-
|
1807
|
+
.sd-1-3-1-prose pre {
|
1457
1808
|
overflow: auto;
|
1458
1809
|
}
|
1459
1810
|
|
1460
|
-
.sd-1-
|
1461
|
-
.sd-1-
|
1811
|
+
.sd-1-3-1-prose blockquote,
|
1812
|
+
.sd-1-3-1-prose blockquote > * {
|
1462
1813
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
1463
1814
|
}
|
1464
1815
|
|
1465
|
-
.sd-1-
|
1816
|
+
.sd-1-3-1-prose blockquote:has(*) *:first-child::before, .sd-1-3-1-prose blockquote:not(:has(*))::before {
|
1466
1817
|
content: open-quote;
|
1467
1818
|
display: inline;
|
1468
1819
|
}
|
1469
1820
|
|
1470
|
-
.sd-1-
|
1821
|
+
.sd-1-3-1-prose blockquote:has(*) *:first-child::after, .sd-1-3-1-prose blockquote:not(:has(*))::after {
|
1471
1822
|
content: close-quote;
|
1472
1823
|
display: inline;
|
1473
1824
|
}
|
1474
1825
|
|
1475
1826
|
/* Fixes for other elements */
|
1476
1827
|
|
1477
|
-
.sd-1-
|
1828
|
+
.sd-1-3-1-prose > :is(ul, ol):not(#_) {
|
1478
1829
|
/* ul and ol have padding that has to be reset */
|
1479
1830
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1480
1831
|
padding-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -1482,18 +1833,18 @@ Used for divider, teaser, container, ... */;
|
|
1482
1833
|
|
1483
1834
|
/* Inverted styles */
|
1484
1835
|
|
1485
|
-
.sd-1-
|
1836
|
+
.sd-1-3-1-prose--inverted hr {
|
1486
1837
|
--tw-border-opacity: 1;
|
1487
1838
|
border-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-border-opacity, 1)) /* Used for buttons, inverted focus state */;
|
1488
1839
|
}
|
1489
1840
|
|
1490
|
-
.sd-1-
|
1841
|
+
.sd-1-3-1-prose--inverted pre {
|
1491
1842
|
|
1492
1843
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1493
1844
|
}
|
1494
1845
|
|
1495
1846
|
/* Full width styles */
|
1496
1847
|
|
1497
|
-
.sd-1-
|
1848
|
+
.sd-1-3-1-prose--full-width {
|
1498
1849
|
max-width: unset;
|
1499
1850
|
}
|