@solid-design-system/styles 1.0.1 → 1.2.0
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 +21 -0
- package/cdn/modules/footnotes.css +1 -1
- package/cdn/modules/status-badge.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/paragraph.css +1 -1
- package/cdn-versioned/modules/prose.css +1 -1
- package/cdn-versioned/modules/status-badge.css +1 -0
- 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/footnotes.css +114 -7
- package/dist/modules/status-badge.css +61 -0
- package/dist/solid-styles.css +158 -7
- package/dist-versioned/modules/chip.css +6 -6
- package/dist-versioned/modules/container.css +45 -45
- package/dist-versioned/modules/copyright.css +11 -11
- package/dist-versioned/modules/display.css +9 -9
- package/dist-versioned/modules/flag.css +6 -6
- package/dist-versioned/modules/footnotes.css +120 -13
- 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/paragraph.css +8 -8
- package/dist-versioned/modules/prose.css +231 -231
- package/dist-versioned/modules/status-badge.css +61 -0
- package/dist-versioned/modules/table-cell.css +23 -23
- package/dist-versioned/modules/table.css +4 -4
- package/dist-versioned/solid-styles.css +484 -333
- package/package.json +2 -2
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
2
|
* Generates basic styles for chip elements.
|
3
|
-
* @name sd-1-0-
|
3
|
+
* @name sd-1-2-0-chip
|
4
4
|
* @status stable
|
5
5
|
* @since 1.30.0
|
6
|
-
* @variant { primary-300 | primary-500 | white } sd-1-0-
|
6
|
+
* @variant { primary-300 | primary-500 | white } sd-1-2-0-chip--...
|
7
7
|
*/
|
8
8
|
|
9
|
-
.sd-1-0-
|
9
|
+
.sd-1-2-0-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-0-
|
25
|
+
.sd-1-2-0-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-0-
|
32
|
+
.sd-1-2-0-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-0-
|
37
|
+
.sd-1-2-0-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-0-
|
44
|
+
* @name sd-1-2-0-container
|
45
45
|
* @status stable
|
46
46
|
* @since 1.30.0
|
47
|
-
* @variant { primary-100 | primary | border-neutral-400 | white } sd-1-0-
|
48
|
-
* @variant { sm } sd-1-0-
|
49
|
-
* @variant { top | right | bottom | left } sd-1-0-
|
47
|
+
* @variant { primary-100 | primary | border-neutral-400 | white } sd-1-2-0-container--variant-... Defines the background color and border of sd-1-2-0-container.
|
48
|
+
* @variant { sm } sd-1-2-0-container--padding-... Defines the padding of sd-1-2-0-container. This makes it adaptable to both small and large screens.
|
49
|
+
* @variant { top | right | bottom | left } sd-1-2-0-container--triangle-... Defines an optional triangle cut-out for sd-1-2-0-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-0-
|
52
|
+
.sd-1-2-0-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-0-
|
62
|
+
.sd-1-2-0-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-0-
|
67
|
+
.sd-1-2-0-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-0-
|
73
|
+
.sd-1-2-0-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-0-
|
83
|
+
.sd-1-2-0-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-0-
|
88
|
+
.sd-1-2-0-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-0-
|
95
|
+
.sd-1-2-0-container {
|
96
96
|
|
97
97
|
--triangle-background: white;
|
98
98
|
}
|
99
99
|
|
100
|
-
.sd-1-0-
|
101
|
-
.sd-1-0-
|
102
|
-
.sd-1-0-
|
103
|
-
.sd-1-0-
|
100
|
+
.sd-1-2-0-container--triangle-top::before,
|
101
|
+
.sd-1-2-0-container--triangle-right::before,
|
102
|
+
.sd-1-2-0-container--triangle-bottom::before,
|
103
|
+
.sd-1-2-0-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-0-
|
112
|
+
.sd-1-2-0-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-0-
|
118
|
+
.sd-1-2-0-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-0-
|
124
|
+
.sd-1-2-0-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-0-
|
130
|
+
.sd-1-2-0-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-0-
|
137
|
-
.sd-1-0-
|
138
|
-
.sd-1-0-
|
139
|
-
.sd-1-0-
|
140
|
-
.sd-1-0-
|
141
|
-
.sd-1-0-
|
142
|
-
.sd-1-0-
|
143
|
-
.sd-1-0-
|
136
|
+
.sd-1-2-0-container--triangle-top-border::after,
|
137
|
+
.sd-1-2-0-container--triangle-top-border::before,
|
138
|
+
.sd-1-2-0-container--triangle-right-border::after,
|
139
|
+
.sd-1-2-0-container--triangle-right-border::before,
|
140
|
+
.sd-1-2-0-container--triangle-bottom-border::after,
|
141
|
+
.sd-1-2-0-container--triangle-bottom-border::before,
|
142
|
+
.sd-1-2-0-container--triangle-left-border::after,
|
143
|
+
.sd-1-2-0-container--triangle-left-border::before {
|
144
144
|
position: absolute;
|
145
145
|
display: block;
|
146
146
|
border-style: solid;
|
@@ -148,98 +148,98 @@ Used for divider, teaser, container, ... */;
|
|
148
148
|
content: '';
|
149
149
|
}
|
150
150
|
|
151
|
-
.sd-1-0-
|
151
|
+
.sd-1-2-0-container--triangle-top-border::after, .sd-1-2-0-container--triangle-right-border::after, .sd-1-2-0-container--triangle-bottom-border::after, .sd-1-2-0-container--triangle-left-border::after {
|
152
152
|
border-width: 14px;
|
153
153
|
}
|
154
154
|
|
155
|
-
.sd-1-0-
|
155
|
+
.sd-1-2-0-container--triangle-top-border::before, .sd-1-2-0-container--triangle-right-border::before, .sd-1-2-0-container--triangle-bottom-border::before, .sd-1-2-0-container--triangle-left-border::before {
|
156
156
|
border-width: 15px;
|
157
157
|
}
|
158
158
|
|
159
|
-
.sd-1-0-
|
160
|
-
.sd-1-0-
|
159
|
+
.sd-1-2-0-container--triangle-top-border::after,
|
160
|
+
.sd-1-2-0-container--triangle-top-border::before {
|
161
161
|
top: -1px;
|
162
162
|
}
|
163
163
|
|
164
|
-
.sd-1-0-
|
164
|
+
.sd-1-2-0-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-0-
|
171
|
+
.sd-1-2-0-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-0-
|
177
|
-
.sd-1-0-
|
176
|
+
.sd-1-2-0-container--triangle-right-border::after,
|
177
|
+
.sd-1-2-0-container--triangle-right-border::before {
|
178
178
|
right: -1px;
|
179
179
|
}
|
180
180
|
|
181
|
-
.sd-1-0-
|
181
|
+
.sd-1-2-0-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-0-
|
188
|
+
.sd-1-2-0-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-0-
|
194
|
-
.sd-1-0-
|
193
|
+
.sd-1-2-0-container--triangle-bottom-border::after,
|
194
|
+
.sd-1-2-0-container--triangle-bottom-border::before {
|
195
195
|
bottom: -1px;
|
196
196
|
}
|
197
197
|
|
198
|
-
.sd-1-0-
|
198
|
+
.sd-1-2-0-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-0-
|
205
|
+
.sd-1-2-0-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-0-
|
211
|
-
.sd-1-0-
|
210
|
+
.sd-1-2-0-container--triangle-left-border::after,
|
211
|
+
.sd-1-2-0-container--triangle-left-border::before {
|
212
212
|
left: -1px;
|
213
213
|
}
|
214
214
|
|
215
|
-
.sd-1-0-
|
215
|
+
.sd-1-2-0-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-0-
|
222
|
+
.sd-1-2-0-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-0-
|
229
|
+
* @name sd-1-2-0-copyright
|
230
230
|
* @status stable
|
231
231
|
* @since 2.5.0
|
232
|
-
* @variant { vertical } sd-1-0-
|
233
|
-
* @variant { black } sd-1-0-
|
234
|
-
* @boolean sd-1-0-
|
235
|
-
* @variant { top } sd-1-0-
|
232
|
+
* @variant { vertical } sd-1-2-0-copyright--orientation-... The copyright's orientation.
|
233
|
+
* @variant { black } sd-1-2-0-copyright--color-... The copyright's text color.
|
234
|
+
* @boolean sd-1-2-0-copyright--... Removes the shadow.
|
235
|
+
* @variant { top } sd-1-2-0-copyright--placement-... The copyright's placement.
|
236
236
|
*/
|
237
237
|
|
238
|
-
.sd-1-0-
|
238
|
+
.sd-1-2-0-copyright {
|
239
239
|
position: relative;
|
240
240
|
}
|
241
241
|
|
242
|
-
.sd-1-0-
|
242
|
+
.sd-1-2-0-copyright::after {
|
243
243
|
position: absolute;
|
244
244
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
245
245
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -255,7 +255,7 @@ Used for divider, teaser, container, ... */;
|
|
255
255
|
content: var(--copyright);
|
256
256
|
}
|
257
257
|
|
258
|
-
.sd-1-0-
|
258
|
+
.sd-1-2-0-copyright--orientation-vertical::after {
|
259
259
|
width: -moz-max-content;
|
260
260
|
width: max-content;
|
261
261
|
padding-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
@@ -267,17 +267,17 @@ Used for divider, teaser, container, ... */;
|
|
267
267
|
transform: rotate(180deg);
|
268
268
|
}
|
269
269
|
|
270
|
-
.sd-1-0-
|
270
|
+
.sd-1-2-0-copyright--color-black::after {
|
271
271
|
|
272
272
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
273
273
|
filter: drop-shadow(0 0 transparent);
|
274
274
|
}
|
275
275
|
|
276
|
-
.sd-1-0-
|
276
|
+
.sd-1-2-0-copyright--no-shadow::after {
|
277
277
|
filter: drop-shadow(0 0 transparent);
|
278
278
|
}
|
279
279
|
|
280
|
-
.sd-1-0-
|
280
|
+
.sd-1-2-0-copyright--placement-top::after {
|
281
281
|
position: absolute;
|
282
282
|
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
283
283
|
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -290,13 +290,13 @@ Used for divider, teaser, container, ... */;
|
|
290
290
|
|
291
291
|
/**
|
292
292
|
* Generates basic styles for flag elements.
|
293
|
-
* @name sd-1-0-
|
293
|
+
* @name sd-1-2-0-flag
|
294
294
|
* @status stable
|
295
295
|
* @since 1.34.0
|
296
|
-
* @variant { neutral-300 | neutral-500 | white } sd-1-0-
|
296
|
+
* @variant { neutral-300 | neutral-500 | white } sd-1-2-0-flag--...
|
297
297
|
*/
|
298
298
|
|
299
|
-
.sd-1-0-
|
299
|
+
.sd-1-2-0-flag {
|
300
300
|
display: inline-flex;
|
301
301
|
height: var(--sd-spacing-8, 2rem) /* 32px */;
|
302
302
|
align-items: center;
|
@@ -311,32 +311,32 @@ Used for divider, teaser, container, ... */;
|
|
311
311
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
312
312
|
}
|
313
313
|
|
314
|
-
.sd-1-0-
|
314
|
+
.sd-1-2-0-flag--neutral-500 {
|
315
315
|
|
316
316
|
background-color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-bg-opacity, 1)) /* Used for disabled state */;
|
317
317
|
|
318
318
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
319
319
|
}
|
320
320
|
|
321
|
-
.sd-1-0-
|
321
|
+
.sd-1-2-0-flag--neutral-300 {
|
322
322
|
|
323
323
|
background-color: rgb(var(--sd-color-neutral-300, 218 218 218) / var(--tw-bg-opacity, 1)) /* Used for flag */;
|
324
324
|
}
|
325
325
|
|
326
|
-
.sd-1-0-
|
326
|
+
.sd-1-2-0-flag--white {
|
327
327
|
|
328
328
|
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
329
|
}
|
330
330
|
|
331
331
|
/**
|
332
332
|
* 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-0-
|
333
|
+
* @name sd-1-2-0-footnotes
|
334
334
|
* @status stable
|
335
335
|
* @since 3.0.0
|
336
|
-
* @boolean sd-1-0-
|
336
|
+
* @boolean sd-1-2-0-footnotes--inverted Inverts the footnote text.
|
337
337
|
*/
|
338
338
|
|
339
|
-
.sd-1-0-
|
339
|
+
.sd-1-2-0-footnotes {
|
340
340
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
341
341
|
margin-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
342
342
|
padding: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -346,38 +346,145 @@ Used for divider, teaser, container, ... */;
|
|
346
346
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
347
347
|
}
|
348
348
|
|
349
|
-
.sd-1-0-
|
349
|
+
.sd-1-2-0-footnotes :target {
|
350
|
+
|
351
|
+
background-color: rgb(var(--sd-color-neutral-200, 233 233 233) / var(--tw-bg-opacity, 1)) /* Used for hover interaction */;
|
352
|
+
}
|
353
|
+
|
354
|
+
.sd-1-2-0-footnotes:is(ol) {
|
355
|
+
padding-inline-start: var(--sd-spacing-8, 2rem) /* 32px */;
|
356
|
+
}
|
357
|
+
|
358
|
+
.sd-1-2-0-footnotes:is(ol) li {
|
350
359
|
counter-increment: list-item;
|
351
|
-
|
352
|
-
|
360
|
+
position: relative;
|
361
|
+
list-style-type: none;
|
353
362
|
}
|
354
363
|
|
355
|
-
.sd-1-0-1-footnotes:is(ol) li::before {
|
356
|
-
|
364
|
+
.sd-1-2-0-footnotes:is(ol) li .sd-1-2-0-footnotes--marker::before, .sd-1-2-0-footnotes:is(ol) li:has(.sd-1-2-0-footnotes--marker:nth-of-type(2))::before, .sd-1-2-0-footnotes:is(ol) li:not(:has(.sd-1-2-0-footnotes--marker))::before {
|
365
|
+
position: absolute;
|
366
|
+
left: calc(var(--sd-spacing-8, 2rem) /* 32px */ * -1);
|
357
367
|
flex-shrink: 0;
|
368
|
+
font-weight: 700;
|
369
|
+
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
370
|
+
content: '[ ' counter(list-item) ' ]';
|
371
|
+
padding-top: 1px;
|
372
|
+
font-size: 10px;
|
373
|
+
}
|
374
|
+
|
375
|
+
.sd-1-2-0-footnotes:is(ol) li .sd-1-2-0-footnotes--marker::after, .sd-1-2-0-footnotes:is(ol) li:has(.sd-1-2-0-footnotes--marker:nth-of-type(2))::after, .sd-1-2-0-footnotes:is(ol) li:not(:has(.sd-1-2-0-footnotes--marker))::after {
|
376
|
+
content: none;
|
377
|
+
}
|
378
|
+
|
379
|
+
.sd-1-2-0-footnotes:is(ol) li .sd-1-2-0-footnotes--marker .sd-1-2-0-footnotes--marker, .sd-1-2-0-footnotes:is(ol) li:has(.sd-1-2-0-footnotes--marker:nth-of-type(2)) .sd-1-2-0-footnotes--marker, .sd-1-2-0-footnotes:is(ol) li:not(:has(.sd-1-2-0-footnotes--marker)) .sd-1-2-0-footnotes--marker {
|
380
|
+
display: inline-block;
|
381
|
+
counter-increment: footnotes-multiple;
|
382
|
+
}
|
383
|
+
|
384
|
+
.sd-1-2-0-footnotes:is(ol) li .sd-1-2-0-footnotes--marker .sd-1-2-0-footnotes--marker::before, .sd-1-2-0-footnotes:is(ol) li:has(.sd-1-2-0-footnotes--marker:nth-of-type(2)) .sd-1-2-0-footnotes--marker::before, .sd-1-2-0-footnotes:is(ol) li:not(:has(.sd-1-2-0-footnotes--marker)) .sd-1-2-0-footnotes--marker::before {
|
385
|
+
position: relative;
|
386
|
+
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
387
|
+
vertical-align: super;
|
388
|
+
font-weight: 700;
|
358
389
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
359
|
-
|
360
|
-
|
361
|
-
|
390
|
+
content: counter(footnotes-multiple, lower-alpha);
|
391
|
+
}
|
392
|
+
|
393
|
+
.sd-1-2-0-footnotes:is(ol) li .sd-1-2-0-footnotes--marker {
|
394
|
+
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
395
|
+
display: block;
|
362
396
|
}
|
363
397
|
|
364
|
-
.sd-1-0-
|
398
|
+
.sd-1-2-0-footnotes:is(ol) li .sd-1-2-0-footnotes--marker:focus-visible {
|
399
|
+
outline-width: 0px;
|
400
|
+
}
|
401
|
+
|
402
|
+
.sd-1-2-0-footnotes:is(ol) li .sd-1-2-0-footnotes--marker:focus-visible::before {
|
403
|
+
border-radius: var(--sd-border-radius-default, 0.25rem) /* 4px Default radius for buttons */;
|
404
|
+
outline-style: solid;
|
405
|
+
outline-width: 2px;
|
406
|
+
outline-offset: 2px;
|
407
|
+
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
408
|
+
}
|
409
|
+
|
410
|
+
.sd-1-2-0-footnotes:is(ul) {
|
365
411
|
list-style: '';
|
366
412
|
}
|
367
413
|
|
368
|
-
.sd-1-0-
|
414
|
+
.sd-1-2-0-footnotes--inverted {
|
369
415
|
|
370
416
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
371
417
|
Used for inverted pressed interaction text link */;
|
372
418
|
}
|
373
419
|
|
420
|
+
.sd-1-2-0-footnotes--inverted :target {
|
421
|
+
|
422
|
+
background-color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-bg-opacity, 1)) /* Used for pressed interaction */;
|
423
|
+
}
|
424
|
+
|
425
|
+
.sd-1-2-0-footnotes--inverted .sd-1-2-0-footnotes--marker::before {
|
426
|
+
|
427
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
428
|
+
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */ !important;
|
429
|
+
}
|
430
|
+
|
431
|
+
.sd-1-2-0-footnotes--inverted:is(.sd-1-2-0-footnotes--marker) {
|
432
|
+
--tw-text-opacity: 1 !important;
|
433
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */ !important;
|
434
|
+
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */ !important;
|
435
|
+
}
|
436
|
+
|
437
|
+
.sd-1-2-0-footnotes--inverted:is(.sd-1-2-0-footnotes--marker):target {
|
438
|
+
|
439
|
+
background-color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-bg-opacity, 1)) /* Used for pressed interaction */;
|
440
|
+
}
|
441
|
+
|
442
|
+
.sd-1-2-0-footnotes--marker {
|
443
|
+
position: relative;
|
444
|
+
bottom: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
445
|
+
display: inline-block;
|
446
|
+
white-space: nowrap;
|
447
|
+
font-weight: 700;
|
448
|
+
text-decoration-line: none !important;
|
449
|
+
font-size: x-small;
|
450
|
+
}
|
451
|
+
|
452
|
+
.sd-1-2-0-footnotes--marker:target {
|
453
|
+
|
454
|
+
background-color: rgb(var(--sd-color-neutral-200, 233 233 233) / var(--tw-bg-opacity, 1)) /* Used for hover interaction */;
|
455
|
+
}
|
456
|
+
|
457
|
+
.sd-1-2-0-footnotes--marker::before {
|
458
|
+
content: '[ ';
|
459
|
+
display: inline-block;
|
460
|
+
}
|
461
|
+
|
462
|
+
.sd-1-2-0-footnotes--marker::after {
|
463
|
+
content: ' ]';
|
464
|
+
display: inline-block;
|
465
|
+
}
|
466
|
+
|
467
|
+
.sd-1-2-0-footnotes--marker:link,
|
468
|
+
.sd-1-2-0-footnotes--marker:visited {
|
469
|
+
|
470
|
+
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
471
|
+
}
|
472
|
+
|
473
|
+
.sd-1-2-0-footnotes--marker:focus-visible {
|
474
|
+
border-radius: var(--sd-border-radius-default, 0.25rem) /* 4px Default radius for buttons */;
|
475
|
+
outline-style: solid;
|
476
|
+
outline-width: 2px;
|
477
|
+
outline-offset: 2px;
|
478
|
+
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
479
|
+
}
|
480
|
+
|
374
481
|
/**
|
375
482
|
* Hidden links can be used to show links only for keyboard users.
|
376
|
-
* @name sd-1-0-
|
483
|
+
* @name sd-1-2-0-hidden-links
|
377
484
|
* @status stable
|
378
485
|
* @since 3.15.0
|
379
|
-
* @boolean sd-1-0-
|
380
|
-
* @boolean sd-1-0-
|
486
|
+
* @boolean sd-1-2-0-hidden-links--multiple Adapts styling for multiple skip links.
|
487
|
+
* @boolean sd-1-2-0-hidden-links--debug Always show the links for debugging purposes.
|
381
488
|
*/
|
382
489
|
|
383
490
|
:lang(en) {
|
@@ -388,7 +495,7 @@ Used for inverted pressed interaction text link */;
|
|
388
495
|
--sd-hidden-links-title: 'Springe zu';
|
389
496
|
}
|
390
497
|
|
391
|
-
.sd-1-0-
|
498
|
+
.sd-1-2-0-hidden-links:not(:focus-within):not(.sd-1-2-0-hidden-links--debug) {
|
392
499
|
position: absolute;
|
393
500
|
width: 1px;
|
394
501
|
height: 1px;
|
@@ -400,13 +507,13 @@ Used for inverted pressed interaction text link */;
|
|
400
507
|
border-width: 0;
|
401
508
|
}
|
402
509
|
|
403
|
-
.sd-1-0-
|
510
|
+
.sd-1-2-0-hidden-links {
|
404
511
|
position: absolute;
|
405
512
|
top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
406
513
|
left: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
407
514
|
}
|
408
515
|
|
409
|
-
.sd-1-0-
|
516
|
+
.sd-1-2-0-hidden-links--multiple {
|
410
517
|
display: flex;
|
411
518
|
flex-direction: column;
|
412
519
|
|
@@ -420,7 +527,7 @@ Used for inverted pressed interaction text link */;
|
|
420
527
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
421
528
|
}
|
422
529
|
|
423
|
-
.sd-1-0-
|
530
|
+
.sd-1-2-0-hidden-links--multiple:before {
|
424
531
|
padding-left: var(--sd-spacing-4, 1rem) /* 16px */;
|
425
532
|
padding-right: var(--sd-spacing-4, 1rem) /* 16px */;
|
426
533
|
padding-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
@@ -431,12 +538,12 @@ Used for inverted pressed interaction text link */;
|
|
431
538
|
|
432
539
|
/**
|
433
540
|
* The green accent color can be used to highlight parts of the text.
|
434
|
-
* @name sd-1-0-
|
541
|
+
* @name sd-1-2-0-mark
|
435
542
|
* @status stable
|
436
543
|
* @since 1.7
|
437
544
|
*/
|
438
545
|
|
439
|
-
mark.sd-1-0-
|
546
|
+
mark.sd-1-2-0-mark {
|
440
547
|
background-color: transparent;
|
441
548
|
|
442
549
|
color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-text-opacity, 1)) /* Used for inverted hover interaction button label */;
|
@@ -444,16 +551,16 @@ mark.sd-1-0-1-mark {
|
|
444
551
|
|
445
552
|
/**
|
446
553
|
* Meta information like file size, date, or whatever is needed.
|
447
|
-
* @name sd-1-0-
|
554
|
+
* @name sd-1-2-0-meta
|
448
555
|
* @status stable
|
449
556
|
* @since 1.7
|
450
|
-
* @variant { sm } sd-1-0-
|
451
|
-
* @boolean sd-1-0-
|
452
|
-
* @boolean sd-1-0-
|
453
|
-
* @boolean sd-1-0-
|
557
|
+
* @variant { sm } sd-1-2-0-meta--size-... The size. Small can be used as an alternative in tight spaces.
|
558
|
+
* @boolean sd-1-2-0-meta--inverted Inverts the meta element.
|
559
|
+
* @boolean sd-1-2-0-meta--pipe Adds a pipe right from the meta element.
|
560
|
+
* @boolean sd-1-2-0-meta--light Makes sd-1-2-0-meta light.
|
454
561
|
*/
|
455
562
|
|
456
|
-
.sd-1-0-
|
563
|
+
.sd-1-2-0-meta {
|
457
564
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
458
565
|
font-weight: 400;
|
459
566
|
line-height: var(--sd-line-height-none, 100%) /* Used for buttons, input fields etc. */;
|
@@ -461,58 +568,102 @@ mark.sd-1-0-1-mark {
|
|
461
568
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
462
569
|
}
|
463
570
|
|
464
|
-
.sd-1-0-
|
571
|
+
.sd-1-2-0-meta--size-sm {
|
465
572
|
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
466
573
|
}
|
467
574
|
|
468
|
-
.sd-1-0-
|
575
|
+
.sd-1-2-0-meta--light {
|
469
576
|
|
470
577
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
471
578
|
}
|
472
579
|
|
473
|
-
.sd-1-0-
|
580
|
+
.sd-1-2-0-meta--inverted {
|
474
581
|
|
475
582
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
476
583
|
}
|
477
584
|
|
478
|
-
.sd-1-0-
|
585
|
+
.sd-1-2-0-meta--inverted.sd-1-2-0-meta--light {
|
479
586
|
|
480
587
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
481
588
|
Used for inverted pressed interaction text link */;
|
482
589
|
}
|
483
590
|
|
484
|
-
.sd-1-0-
|
591
|
+
.sd-1-2-0-meta--pipe::after {
|
485
592
|
content: '|';
|
486
593
|
margin-left: var(--sd-spacing-1, 0.25rem) /* 4px */;
|
487
594
|
margin-right: var(--sd-spacing-1, 0.25rem) /* 4px */;
|
488
595
|
}
|
489
596
|
|
490
|
-
.sd-1-0-
|
597
|
+
.sd-1-2-0-meta--pipe.sd-1-2-0-meta--size-sm::after {
|
491
598
|
margin-left: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
492
599
|
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
493
600
|
}
|
494
601
|
|
602
|
+
/**
|
603
|
+
* Description of the style.
|
604
|
+
* @name sd-1-2-0-status-badge
|
605
|
+
* @status stable
|
606
|
+
* @since 1.0
|
607
|
+
* @variant { sucess | warning | error | info } sd-1-2-0-status-badge--...
|
608
|
+
*/
|
609
|
+
|
610
|
+
.sd-1-2-0-status-badge {
|
611
|
+
display: inline-flex;
|
612
|
+
align-items: center;
|
613
|
+
}
|
614
|
+
|
615
|
+
.sd-1-2-0-status-badge sd-icon {
|
616
|
+
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
617
|
+
display: flex;
|
618
|
+
height: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
619
|
+
width: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
620
|
+
border-radius: var(--sd-border-radius-full, 9999px) /* Radius for pill shape buttons */;
|
621
|
+
padding: var(--sd-spacing-1, 0.25rem) /* 4px */;
|
622
|
+
--tw-text-opacity: 1 !important;
|
623
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */ !important;
|
624
|
+
}
|
625
|
+
|
626
|
+
.sd-1-2-0-status-badge--success sd-icon {
|
627
|
+
|
628
|
+
background-color: rgb(var(--sd-color-success, 37 136 14) / var(--tw-bg-opacity, 1)) /* Used for success messages */;
|
629
|
+
}
|
630
|
+
|
631
|
+
.sd-1-2-0-status-badge--warning sd-icon {
|
632
|
+
|
633
|
+
background-color: rgb(var(--sd-color-warning, 187 141 32) / var(--tw-bg-opacity, 1)) /* Used for notifications */;
|
634
|
+
}
|
635
|
+
|
636
|
+
.sd-1-2-0-status-badge--error sd-icon {
|
637
|
+
|
638
|
+
background-color: rgb(var(--sd-color-error, 204 25 55) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */;
|
639
|
+
}
|
640
|
+
|
641
|
+
.sd-1-2-0-status-badge--info sd-icon {
|
642
|
+
|
643
|
+
background-color: rgb(var(--sd-color-info, 21 130 213) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */;
|
644
|
+
}
|
645
|
+
|
495
646
|
/* plop:style */
|
496
647
|
|
497
648
|
/**
|
498
649
|
* Prose
|
499
|
-
* @name sd-1-0-
|
650
|
+
* @name sd-1-2-0-prose
|
500
651
|
* @status stable
|
501
652
|
* @since 3.6.0
|
502
|
-
* @boolean sd-1-0-
|
503
|
-
* @boolean sd-1-0-
|
653
|
+
* @boolean sd-1-2-0-prose--inverted Inverts the content, but not tables.
|
654
|
+
* @boolean sd-1-2-0-prose--full-width Overrides the 80ch max-width and makes the prose full width.
|
504
655
|
*/
|
505
656
|
|
506
657
|
/**
|
507
658
|
* 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.
|
508
|
-
* @name sd-1-0-
|
659
|
+
* @name sd-1-2-0-display
|
509
660
|
* @status stable
|
510
661
|
* @since 1.7
|
511
|
-
* @variant { xl | 3xl } sd-1-0-
|
512
|
-
* @boolean sd-1-0-
|
662
|
+
* @variant { xl | 3xl } sd-1-2-0-display--size-... The display's size.
|
663
|
+
* @boolean sd-1-2-0-display--inverted Inverts the display text.
|
513
664
|
*/
|
514
665
|
|
515
|
-
.sd-1-0-
|
666
|
+
.sd-1-2-0-display {
|
516
667
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
517
668
|
font-weight: 400;
|
518
669
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -522,12 +673,12 @@ Used for inverted pressed interaction text link */;
|
|
522
673
|
|
523
674
|
@media (min-width: 1024px) {
|
524
675
|
|
525
|
-
.sd-1-0-
|
676
|
+
.sd-1-2-0-display {
|
526
677
|
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
527
678
|
}
|
528
679
|
}
|
529
680
|
|
530
|
-
.sd-1-0-
|
681
|
+
.sd-1-2-0-display--size-xl {
|
531
682
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
532
683
|
font-weight: 400;
|
533
684
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -535,7 +686,7 @@ Used for inverted pressed interaction text link */;
|
|
535
686
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
536
687
|
}
|
537
688
|
|
538
|
-
.sd-1-0-
|
689
|
+
.sd-1-2-0-display--size-3xl {
|
539
690
|
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
540
691
|
font-weight: 400;
|
541
692
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -545,35 +696,35 @@ Used for inverted pressed interaction text link */;
|
|
545
696
|
|
546
697
|
@media (min-width: 1024px) {
|
547
698
|
|
548
|
-
.sd-1-0-
|
699
|
+
.sd-1-2-0-display--size-3xl {
|
549
700
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
550
701
|
}
|
551
702
|
}
|
552
703
|
|
553
|
-
.sd-1-0-
|
704
|
+
.sd-1-2-0-display--inverted {
|
554
705
|
|
555
706
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
556
707
|
}
|
557
708
|
|
558
709
|
/**
|
559
710
|
* 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.
|
560
|
-
* @name sd-1-0-
|
711
|
+
* @name sd-1-2-0-headline
|
561
712
|
* @status stable
|
562
713
|
* @since 1.16
|
563
|
-
* @variant { 3xl | xl | lg | base } sd-1-0-
|
564
|
-
* @boolean sd-1-0-
|
565
|
-
* @boolean sd-1-0-
|
714
|
+
* @variant { 3xl | xl | lg | base } sd-1-2-0-headline--size-... The headline's size.
|
715
|
+
* @boolean sd-1-2-0-headline--inverted Inverts the headline text.
|
716
|
+
* @boolean sd-1-2-0-headline--inline Sets inline behavior. Used exclusively when an sd-icon or other component is present. See usage <a href="#inline">here.</a>
|
566
717
|
*/
|
567
718
|
|
568
|
-
.sd-1-0-
|
569
|
-
.sd-1-0-
|
719
|
+
.sd-1-2-0-headline,
|
720
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5) {
|
570
721
|
display: flex;
|
571
722
|
font-weight: 700;
|
572
723
|
|
573
724
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
574
725
|
}
|
575
726
|
|
576
|
-
.sd-1-0-
|
727
|
+
.sd-1-2-0-headline sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
577
728
|
flex-shrink: 0;
|
578
729
|
font-size: 3rem;
|
579
730
|
|
@@ -582,15 +733,15 @@ Used for inverted pressed interaction text link */;
|
|
582
733
|
|
583
734
|
@media (min-width: 640px) {
|
584
735
|
|
585
|
-
.sd-1-0-
|
736
|
+
.sd-1-2-0-headline sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
586
737
|
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
587
738
|
}
|
588
739
|
}
|
589
740
|
|
590
|
-
.sd-1-0-
|
591
|
-
.sd-1-0-
|
592
|
-
.sd-1-0-
|
593
|
-
.sd-1-0-
|
741
|
+
.sd-1-2-0-headline.sd-1-2-0-headline,
|
742
|
+
.sd-1-2-0-headline:is(h1):not(.sd-1-2-0-headline),
|
743
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline,
|
744
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-2-0-headline) {
|
594
745
|
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
595
746
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
596
747
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -598,29 +749,29 @@ Used for inverted pressed interaction text link */;
|
|
598
749
|
|
599
750
|
@media (min-width: 640px) {
|
600
751
|
|
601
|
-
.sd-1-0-
|
602
|
-
.sd-1-0-
|
603
|
-
.sd-1-0-
|
604
|
-
.sd-1-0-
|
752
|
+
.sd-1-2-0-headline.sd-1-2-0-headline,
|
753
|
+
.sd-1-2-0-headline:is(h1):not(.sd-1-2-0-headline),
|
754
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline,
|
755
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-2-0-headline) {
|
605
756
|
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
606
757
|
}
|
607
758
|
}
|
608
759
|
|
609
|
-
.sd-1-0-
|
760
|
+
.sd-1-2-0-headline.sd-1-2-0-headline sd-icon, .sd-1-2-0-headline:is(h1):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-2-0-headline) sd-icon {
|
610
761
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
611
762
|
}
|
612
763
|
|
613
764
|
@media (min-width: 640px) {
|
614
765
|
|
615
|
-
.sd-1-0-
|
766
|
+
.sd-1-2-0-headline.sd-1-2-0-headline sd-icon, .sd-1-2-0-headline:is(h1):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-2-0-headline) sd-icon {
|
616
767
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
617
768
|
}
|
618
769
|
}
|
619
770
|
|
620
|
-
.sd-1-0-
|
621
|
-
.sd-1-0-
|
622
|
-
.sd-1-0-
|
623
|
-
.sd-1-0-
|
771
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-3xl,
|
772
|
+
.sd-1-2-0-headline:is(h2):not(.sd-1-2-0-headline),
|
773
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-3xl,
|
774
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-2-0-headline) {
|
624
775
|
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
625
776
|
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
626
777
|
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
@@ -628,144 +779,144 @@ Used for inverted pressed interaction text link */;
|
|
628
779
|
|
629
780
|
@media (min-width: 640px) {
|
630
781
|
|
631
|
-
.sd-1-0-
|
632
|
-
.sd-1-0-
|
633
|
-
.sd-1-0-
|
634
|
-
.sd-1-0-
|
782
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-3xl,
|
783
|
+
.sd-1-2-0-headline:is(h2):not(.sd-1-2-0-headline),
|
784
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-3xl,
|
785
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-2-0-headline) {
|
635
786
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
636
787
|
}
|
637
788
|
}
|
638
789
|
|
639
|
-
.sd-1-0-
|
790
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-3xl sd-icon, .sd-1-2-0-headline:is(h2):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-3xl sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-2-0-headline) sd-icon {
|
640
791
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
641
792
|
}
|
642
793
|
|
643
794
|
@media (min-width: 640px) {
|
644
795
|
|
645
|
-
.sd-1-0-
|
796
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-3xl sd-icon, .sd-1-2-0-headline:is(h2):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-3xl sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-2-0-headline) sd-icon {
|
646
797
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
647
798
|
}
|
648
799
|
}
|
649
800
|
|
650
|
-
.sd-1-0-
|
651
|
-
.sd-1-0-
|
652
|
-
.sd-1-0-
|
653
|
-
.sd-1-0-
|
654
|
-
.sd-1-0-
|
655
|
-
.sd-1-0-
|
656
|
-
.sd-1-0-
|
657
|
-
.sd-1-0-
|
801
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-xl,
|
802
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-lg,
|
803
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-base,
|
804
|
+
.sd-1-2-0-headline:is(h3, h4, h5):not(.sd-1-2-0-headline),
|
805
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-xl,
|
806
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-lg,
|
807
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-base,
|
808
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-2-0-headline) {
|
658
809
|
gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
659
810
|
|
660
811
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
661
812
|
}
|
662
813
|
|
663
|
-
.sd-1-0-
|
814
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-xl sd-icon, .sd-1-2-0-headline.sd-1-2-0-headline--size-lg sd-icon, .sd-1-2-0-headline.sd-1-2-0-headline--size-base sd-icon, .sd-1-2-0-headline:is(h3, h4, h5):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-xl sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-lg sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-base sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-2-0-headline) sd-icon {
|
664
815
|
font-size: 2rem;
|
665
816
|
}
|
666
817
|
|
667
|
-
.sd-1-0-
|
668
|
-
.sd-1-0-
|
669
|
-
.sd-1-0-
|
670
|
-
.sd-1-0-
|
818
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-xl,
|
819
|
+
.sd-1-2-0-headline:is(h3):not(.sd-1-2-0-headline),
|
820
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-xl,
|
821
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-2-0-headline) {
|
671
822
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
672
823
|
}
|
673
824
|
|
674
|
-
.sd-1-0-
|
825
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-xl sd-icon, .sd-1-2-0-headline:is(h3):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-xl sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-2-0-headline) sd-icon {
|
675
826
|
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
676
827
|
}
|
677
828
|
|
678
829
|
@media (min-width: 640px) {
|
679
830
|
|
680
|
-
.sd-1-0-
|
831
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-xl sd-icon, .sd-1-2-0-headline:is(h3):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-xl sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-2-0-headline) sd-icon {
|
681
832
|
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
682
833
|
}
|
683
834
|
}
|
684
835
|
|
685
|
-
.sd-1-0-
|
686
|
-
.sd-1-0-
|
687
|
-
.sd-1-0-
|
688
|
-
.sd-1-0-
|
689
|
-
.sd-1-0-
|
690
|
-
.sd-1-0-
|
836
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-lg,
|
837
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-base,
|
838
|
+
.sd-1-2-0-headline:is(h4, h5):not(.sd-1-2-0-headline),
|
839
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-lg,
|
840
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-base,
|
841
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h4, h5):not(.sd-1-2-0-headline) {
|
691
842
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
692
843
|
}
|
693
844
|
|
694
|
-
.sd-1-0-
|
695
|
-
.sd-1-0-
|
696
|
-
.sd-1-0-
|
697
|
-
.sd-1-0-
|
845
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-lg,
|
846
|
+
.sd-1-2-0-headline:is(h4),
|
847
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-lg,
|
848
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h4) {
|
698
849
|
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
699
850
|
}
|
700
851
|
|
701
|
-
.sd-1-0-
|
852
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-lg sd-icon, .sd-1-2-0-headline:is(h4) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-lg sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
702
853
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
703
854
|
}
|
704
855
|
|
705
856
|
@media (min-width: 640px) {
|
706
857
|
|
707
|
-
.sd-1-0-
|
858
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-lg sd-icon, .sd-1-2-0-headline:is(h4) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-lg sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
708
859
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
709
860
|
}
|
710
861
|
}
|
711
862
|
|
712
|
-
.sd-1-0-
|
713
|
-
.sd-1-0-
|
714
|
-
.sd-1-0-
|
715
|
-
.sd-1-0-
|
863
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-base,
|
864
|
+
.sd-1-2-0-headline:is(h5):not(.sd-1-2-0-headline),
|
865
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-base,
|
866
|
+
.sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-2-0-headline) {
|
716
867
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
717
868
|
}
|
718
869
|
|
719
|
-
.sd-1-0-
|
870
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-base sd-icon, .sd-1-2-0-headline:is(h5):not(.sd-1-2-0-headline) sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-base sd-icon, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-2-0-headline) sd-icon {
|
720
871
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
721
872
|
}
|
722
873
|
|
723
|
-
.sd-1-0-
|
874
|
+
.sd-1-2-0-headline.sd-1-2-0-headline--size-base mark, .sd-1-2-0-headline:is(h5):not(.sd-1-2-0-headline) mark, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5).sd-1-2-0-headline--size-base mark, .sd-1-2-0-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-2-0-headline) mark {
|
724
875
|
color: inherit;
|
725
876
|
}
|
726
877
|
|
727
|
-
.sd-1-0-
|
878
|
+
.sd-1-2-0-headline--inline {
|
728
879
|
display: inline-block;
|
729
880
|
}
|
730
881
|
|
731
|
-
.sd-1-0-
|
882
|
+
.sd-1-2-0-headline--inline sd-icon {
|
732
883
|
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
733
884
|
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
734
885
|
vertical-align: middle;
|
735
886
|
}
|
736
887
|
|
737
|
-
.sd-1-0-
|
888
|
+
.sd-1-2-0-headline--inline:is(.sd-1-2-0-headline--size-xl, .sd-1-2-0-headline--size-lg, .sd-1-2-0-headline--size-base) sd-icon {
|
738
889
|
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
739
890
|
}
|
740
891
|
|
741
|
-
.sd-1-0-
|
742
|
-
.sd-1-0-
|
892
|
+
.sd-1-2-0-headline--inverted:not(#_),
|
893
|
+
.sd-1-2-0-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-2-0-headline):not(#_) {
|
743
894
|
|
744
895
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
745
896
|
}
|
746
897
|
|
747
|
-
.sd-1-0-
|
898
|
+
.sd-1-2-0-headline--inverted:not(#_) sd-icon, .sd-1-2-0-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-2-0-headline):not(#_) sd-icon {
|
748
899
|
|
749
900
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
750
901
|
}
|
751
902
|
|
752
903
|
/**
|
753
904
|
* Generates basic styles for interactive elements.
|
754
|
-
* @name sd-1-0-
|
905
|
+
* @name sd-1-2-0-interactive
|
755
906
|
* @status stable
|
756
907
|
* @since 1.11
|
757
|
-
* @boolean sd-1-0-
|
758
|
-
* @boolean sd-1-0-
|
759
|
-
* @boolean sd-1-0-
|
908
|
+
* @boolean sd-1-2-0-interactive--disabled Makes an element look disabled.
|
909
|
+
* @boolean sd-1-2-0-interactive--inverted Inverts the colors of an element.
|
910
|
+
* @boolean sd-1-2-0-interactive--reset Resets the default browser styles of e.g., a button.
|
760
911
|
*/
|
761
912
|
|
762
|
-
.sd-1-0-
|
913
|
+
.sd-1-2-0-prose a--reset, .sd-1-2-0-interactive--reset {
|
763
914
|
all: unset;
|
764
915
|
outline: revert;
|
765
916
|
}
|
766
917
|
|
767
|
-
.sd-1-0-
|
768
|
-
.sd-1-0-
|
918
|
+
.sd-1-2-0-prose a,
|
919
|
+
.sd-1-2-0-interactive {
|
769
920
|
cursor: pointer;
|
770
921
|
|
771
922
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
@@ -775,80 +926,80 @@ Used for inverted pressed interaction text link */;
|
|
775
926
|
transition-duration: 150ms;
|
776
927
|
}
|
777
928
|
|
778
|
-
.sd-1-0-
|
779
|
-
.sd-1-0-
|
929
|
+
.sd-1-2-0-prose a:hover:not([disabled]),
|
930
|
+
.sd-1-2-0-interactive:hover:not([disabled]) {
|
780
931
|
|
781
932
|
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
|
782
933
|
}
|
783
934
|
|
784
|
-
.sd-1-0-
|
785
|
-
.sd-1-0-
|
935
|
+
.sd-1-2-0-prose a:active:not([disabled]),
|
936
|
+
.sd-1-2-0-interactive:active:not([disabled]) {
|
786
937
|
|
787
938
|
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
|
788
939
|
}
|
789
940
|
|
790
|
-
.sd-1-0-
|
941
|
+
.sd-1-2-0-prose a:is(.sd-1-2-0-interactive), .sd-1-2-0-interactive:is(.sd-1-2-0-interactive) {
|
791
942
|
text-decoration-line: none;
|
792
943
|
}
|
793
944
|
|
794
|
-
.sd-1-0-
|
945
|
+
.sd-1-2-0-prose a:focus-visible, .sd-1-2-0-interactive:focus-visible {
|
795
946
|
outline-style: solid;
|
796
947
|
outline-width: 2px;
|
797
948
|
outline-offset: 2px;
|
798
949
|
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
799
950
|
}
|
800
951
|
|
801
|
-
.sd-1-0-
|
802
|
-
.sd-1-0-
|
803
|
-
.sd-1-0-
|
804
|
-
.sd-1-0-
|
805
|
-
.sd-1-0-
|
806
|
-
.sd-1-0-
|
952
|
+
.sd-1-2-0-prose a--disabled,
|
953
|
+
.sd-1-2-0-prose a[disabled],
|
954
|
+
.sd-1-2-0-prose a[href=''],
|
955
|
+
.sd-1-2-0-interactive--disabled,
|
956
|
+
.sd-1-2-0-interactive[disabled],
|
957
|
+
.sd-1-2-0-interactive[href=''] {
|
807
958
|
cursor: not-allowed;
|
808
959
|
|
809
960
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
810
961
|
}
|
811
962
|
|
812
|
-
.sd-1-0-
|
813
|
-
.sd-1-0-
|
814
|
-
.sd-1-0-
|
815
|
-
.sd-1-0-
|
816
|
-
.sd-1-0-
|
817
|
-
.sd-1-0-
|
963
|
+
.sd-1-2-0-prose a--disabled:hover:not([disabled]),
|
964
|
+
.sd-1-2-0-prose a[disabled]:hover:not([disabled]),
|
965
|
+
.sd-1-2-0-prose a[href='']:hover:not([disabled]),
|
966
|
+
.sd-1-2-0-interactive--disabled:hover:not([disabled]),
|
967
|
+
.sd-1-2-0-interactive[disabled]:hover:not([disabled]),
|
968
|
+
.sd-1-2-0-interactive[href='']:hover:not([disabled]) {
|
818
969
|
|
819
970
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
820
971
|
}
|
821
972
|
|
822
|
-
.sd-1-0-
|
823
|
-
.sd-1-0-
|
824
|
-
.sd-1-0-
|
825
|
-
.sd-1-0-
|
826
|
-
.sd-1-0-
|
827
|
-
.sd-1-0-
|
973
|
+
.sd-1-2-0-prose a--disabled:active:not([disabled]),
|
974
|
+
.sd-1-2-0-prose a[disabled]:active:not([disabled]),
|
975
|
+
.sd-1-2-0-prose a[href='']:active:not([disabled]),
|
976
|
+
.sd-1-2-0-interactive--disabled:active:not([disabled]),
|
977
|
+
.sd-1-2-0-interactive[disabled]:active:not([disabled]),
|
978
|
+
.sd-1-2-0-interactive[href='']:active:not([disabled]) {
|
828
979
|
|
829
980
|
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
830
981
|
}
|
831
982
|
|
832
|
-
.sd-1-0-
|
833
|
-
.sd-1-0-
|
983
|
+
.sd-1-2-0-prose--inverted a,
|
984
|
+
.sd-1-2-0-interactive--inverted {
|
834
985
|
|
835
986
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
836
987
|
}
|
837
988
|
|
838
|
-
.sd-1-0-
|
839
|
-
.sd-1-0-
|
989
|
+
.sd-1-2-0-prose--inverted a:hover:not([disabled]),
|
990
|
+
.sd-1-2-0-interactive--inverted:hover:not([disabled]) {
|
840
991
|
|
841
992
|
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 */;
|
842
993
|
}
|
843
994
|
|
844
|
-
.sd-1-0-
|
845
|
-
.sd-1-0-
|
995
|
+
.sd-1-2-0-prose--inverted a:active:not([disabled]),
|
996
|
+
.sd-1-2-0-interactive--inverted:active:not([disabled]) {
|
846
997
|
|
847
998
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
848
999
|
Used for inverted pressed interaction text link */;
|
849
1000
|
}
|
850
1001
|
|
851
|
-
.sd-1-0-
|
1002
|
+
.sd-1-2-0-prose--inverted a:focus-visible, .sd-1-2-0-interactive--inverted:focus-visible {
|
852
1003
|
outline-style: solid;
|
853
1004
|
outline-width: 2px;
|
854
1005
|
outline-offset: 2px;
|
@@ -857,15 +1008,15 @@ Used for inverted pressed interaction text link */;
|
|
857
1008
|
|
858
1009
|
/**
|
859
1010
|
* Leadtext is used for text that should be highlighted and a focal point of the page.
|
860
|
-
* @name sd-1-0-
|
1011
|
+
* @name sd-1-2-0-leadtext
|
861
1012
|
* @status stable
|
862
1013
|
* @since 1.7
|
863
|
-
* @variant { lg } sd-1-0-
|
864
|
-
* @boolean sd-1-0-
|
1014
|
+
* @variant { lg } sd-1-2-0-leadtext--size-... The leadtext's size.
|
1015
|
+
* @boolean sd-1-2-0-leadtext--inverted Inverts the leadtext text.
|
865
1016
|
*/
|
866
1017
|
|
867
|
-
.sd-1-0-
|
868
|
-
.sd-1-0-
|
1018
|
+
.sd-1-2-0-prose > .sd-1-2-0-leadtext,
|
1019
|
+
.sd-1-2-0-leadtext {
|
869
1020
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
870
1021
|
font-weight: 400;
|
871
1022
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -873,7 +1024,7 @@ Used for inverted pressed interaction text link */;
|
|
873
1024
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
874
1025
|
}
|
875
1026
|
|
876
|
-
.sd-1-0-
|
1027
|
+
.sd-1-2-0-prose > .sd-1-2-0-leadtext--size-lg, .sd-1-2-0-leadtext--size-lg {
|
877
1028
|
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
878
1029
|
font-weight: 400;
|
879
1030
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -881,111 +1032,111 @@ Used for inverted pressed interaction text link */;
|
|
881
1032
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
882
1033
|
}
|
883
1034
|
|
884
|
-
.sd-1-0-
|
885
|
-
.sd-1-0-
|
1035
|
+
.sd-1-2-0-prose--inverted > .sd-1-2-0-leadtext,
|
1036
|
+
.sd-1-2-0-leadtext--inverted {
|
886
1037
|
|
887
1038
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
888
1039
|
}
|
889
1040
|
|
890
1041
|
/**
|
891
1042
|
* Generates basic styles for list elements.
|
892
|
-
* @name sd-1-0-
|
1043
|
+
* @name sd-1-2-0-list
|
893
1044
|
* @status stable
|
894
1045
|
* @since 1.39.0
|
895
|
-
* @boolean sd-1-0-
|
1046
|
+
* @boolean sd-1-2-0-list--inverted Inverts the list text.
|
896
1047
|
*/
|
897
1048
|
|
898
|
-
.sd-1-0-
|
899
|
-
.sd-1-0-
|
1049
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon),
|
1050
|
+
.sd-1-2-0-prose > :is(ol, ul) {
|
900
1051
|
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
901
1052
|
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
902
1053
|
text-align: left;
|
903
1054
|
}
|
904
1055
|
|
905
|
-
.sd-1-0-
|
1056
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) li:not(:first-child), .sd-1-2-0-prose > :is(ol, ul) li:not(:first-child) {
|
906
1057
|
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
907
1058
|
}
|
908
1059
|
|
909
|
-
.sd-1-0-
|
910
|
-
.sd-1-0-
|
911
|
-
.sd-1-0-
|
912
|
-
.sd-1-0-
|
1060
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) ol,
|
1061
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) ul,
|
1062
|
+
.sd-1-2-0-prose > :is(ol, ul) ol,
|
1063
|
+
.sd-1-2-0-prose > :is(ol, ul) ul {
|
913
1064
|
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
914
1065
|
}
|
915
1066
|
|
916
1067
|
/* Counter handling for ordered lists. */
|
917
1068
|
|
918
|
-
.sd-1-0-
|
1069
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ol) > li, .sd-1-2-0-list:not(.sd-1-2-0-list--icon) ol > li, .sd-1-2-0-prose > :is(ol, ul):is(ol) > li, .sd-1-2-0-prose > :is(ol, ul) ol > li {
|
919
1070
|
counter-increment: item;
|
920
1071
|
}
|
921
1072
|
|
922
|
-
.sd-1-0-
|
1073
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ol) > li:before, .sd-1-2-0-list:not(.sd-1-2-0-list--icon) ol > li:before, .sd-1-2-0-prose > :is(ol, ul):is(ol) > li:before, .sd-1-2-0-prose > :is(ol, ul) ol > li:before {
|
923
1074
|
content: counters(item, '.') '. ';
|
924
1075
|
}
|
925
1076
|
|
926
1077
|
/* Add second level */
|
927
1078
|
|
928
|
-
.sd-1-0-
|
929
|
-
.sd-1-0-
|
930
|
-
.sd-1-0-
|
931
|
-
.sd-1-0-
|
932
|
-
.sd-1-0-
|
933
|
-
.sd-1-0-
|
1079
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ol),
|
1080
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ol) > li > ol,
|
1081
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) ol > li > ol,
|
1082
|
+
.sd-1-2-0-prose > :is(ol, ul):is(ol),
|
1083
|
+
.sd-1-2-0-prose > :is(ol, ul):is(ol) > li > ol,
|
1084
|
+
.sd-1-2-0-prose > :is(ol, ul) ol > li > ol {
|
934
1085
|
counter-reset: item;
|
935
1086
|
}
|
936
1087
|
|
937
1088
|
/* Ordered lists inside unordered lists. */
|
938
1089
|
|
939
|
-
.sd-1-0-
|
940
|
-
.sd-1-0-
|
941
|
-
.sd-1-0-
|
942
|
-
.sd-1-0-
|
1090
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ul) > li > ol,
|
1091
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) ul > li > ol,
|
1092
|
+
.sd-1-2-0-prose > :is(ol, ul):is(ul) > li > ol,
|
1093
|
+
.sd-1-2-0-prose > :is(ol, ul) ul > li > ol {
|
943
1094
|
counter-set: item 0;
|
944
1095
|
}
|
945
1096
|
|
946
1097
|
/* Styling */
|
947
1098
|
|
948
|
-
.sd-1-0-
|
1099
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) li, .sd-1-2-0-prose > :is(ol, ul) li {
|
949
1100
|
display: table;
|
950
1101
|
}
|
951
1102
|
|
952
|
-
.sd-1-0-
|
1103
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) li:before, .sd-1-2-0-prose > :is(ol, ul) li:before {
|
953
1104
|
display: table-cell;
|
954
1105
|
padding-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
955
1106
|
}
|
956
1107
|
|
957
|
-
.sd-1-0-
|
958
|
-
.sd-1-0-
|
959
|
-
.sd-1-0-
|
960
|
-
.sd-1-0-
|
1108
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ul),
|
1109
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon) ul,
|
1110
|
+
.sd-1-2-0-prose > :is(ol, ul):is(ul),
|
1111
|
+
.sd-1-2-0-prose > :is(ol, ul) ul {
|
961
1112
|
list-style-type: '';
|
962
1113
|
}
|
963
1114
|
|
964
|
-
.sd-1-0-
|
1115
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ul):not(.sd-1-2-0-list--icon) > li:before, .sd-1-2-0-list:not(.sd-1-2-0-list--icon) ul > li:before, .sd-1-2-0-prose > :is(ol, ul):is(ul):not(.sd-1-2-0-list--icon) > li:before, .sd-1-2-0-prose > :is(ol, ul) ul > li:before {
|
965
1116
|
content: '\2022';
|
966
1117
|
}
|
967
1118
|
|
968
|
-
.sd-1-0-
|
1119
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ul):not(.sd-1-2-0-list--icon) > li > ul > li:before, .sd-1-2-0-list:not(.sd-1-2-0-list--icon) ul > li > ul > li:before, .sd-1-2-0-prose > :is(ol, ul):is(ul):not(.sd-1-2-0-list--icon) > li > ul > li:before, .sd-1-2-0-prose > :is(ol, ul) ul > li > ul > li:before {
|
969
1120
|
content: '\002B1D';
|
970
1121
|
}
|
971
1122
|
|
972
|
-
.sd-1-0-
|
1123
|
+
.sd-1-2-0-list:not(.sd-1-2-0-list--icon):is(ul):not(.sd-1-2-0-list--icon) > li > ul > li > ul > li:before, .sd-1-2-0-list:not(.sd-1-2-0-list--icon) ul > li > ul > li > ul > li:before, .sd-1-2-0-prose > :is(ol, ul):is(ul):not(.sd-1-2-0-list--icon) > li > ul > li > ul > li:before, .sd-1-2-0-prose > :is(ol, ul) ul > li > ul > li > ul > li:before {
|
973
1124
|
content: '\2010';
|
974
1125
|
}
|
975
1126
|
|
976
|
-
.sd-1-0-
|
1127
|
+
.sd-1-2-0-list--icon {
|
977
1128
|
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
978
1129
|
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
979
1130
|
text-align: left;
|
980
1131
|
}
|
981
1132
|
|
982
|
-
.sd-1-0-
|
983
|
-
.sd-1-0-
|
1133
|
+
.sd-1-2-0-list--icon li sd-icon:first-of-type,
|
1134
|
+
.sd-1-2-0-list--icon li .sd-1-2-0-list--icon__icon:first-of-type {
|
984
1135
|
|
985
1136
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
986
1137
|
}
|
987
1138
|
|
988
|
-
.sd-1-0-
|
1139
|
+
.sd-1-2-0-list--icon {
|
989
1140
|
list-style-type: '';
|
990
1141
|
}
|
991
1142
|
|
@@ -993,19 +1144,19 @@ Used for inverted pressed interaction text link */;
|
|
993
1144
|
styles without affecting semantics is to set list-style-type to an empty string.
|
994
1145
|
https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics */
|
995
1146
|
|
996
|
-
.sd-1-0-
|
1147
|
+
.sd-1-2-0-list--icon > li:first-of-type {
|
997
1148
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
998
1149
|
}
|
999
1150
|
|
1000
|
-
.sd-1-0-
|
1151
|
+
.sd-1-2-0-list--icon li {
|
1001
1152
|
position: relative;
|
1002
1153
|
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1003
1154
|
padding-left: var(--sd-spacing-10, 2.5rem) /* 40px */;
|
1004
1155
|
line-height: 32px;
|
1005
1156
|
}
|
1006
1157
|
|
1007
|
-
.sd-1-0-
|
1008
|
-
.sd-1-0-
|
1158
|
+
.sd-1-2-0-list--icon li > sd-icon:first-of-type,
|
1159
|
+
.sd-1-2-0-list--icon li > .sd-1-2-0-list--icon__icon:first-of-type {
|
1009
1160
|
position: absolute;
|
1010
1161
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1011
1162
|
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
@@ -1013,44 +1164,44 @@ Used for inverted pressed interaction text link */;
|
|
1013
1164
|
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
1014
1165
|
}
|
1015
1166
|
|
1016
|
-
.sd-1-0-
|
1167
|
+
.sd-1-2-0-list--icon.sd-1-2-0-list--horizontal {
|
1017
1168
|
display: flex;
|
1018
1169
|
}
|
1019
1170
|
|
1020
|
-
.sd-1-0-
|
1171
|
+
.sd-1-2-0-list--icon.sd-1-2-0-list--horizontal li {
|
1021
1172
|
display: flex;
|
1022
1173
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1023
1174
|
}
|
1024
1175
|
|
1025
|
-
.sd-1-0-
|
1176
|
+
.sd-1-2-0-list--icon.sd-1-2-0-list--horizontal li:not(:last-child) {
|
1026
1177
|
margin-right: var(--sd-spacing-8, 2rem) /* 32px */;
|
1027
1178
|
}
|
1028
1179
|
|
1029
|
-
.sd-1-0-
|
1030
|
-
.sd-1-0-
|
1180
|
+
.sd-1-2-0-list--inverted,
|
1181
|
+
.sd-1-2-0-prose--inverted > :is(ol, ul) {
|
1031
1182
|
|
1032
1183
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1033
1184
|
}
|
1034
1185
|
|
1035
|
-
.sd-1-0-
|
1036
|
-
.sd-1-0-
|
1037
|
-
.sd-1-0-
|
1038
|
-
.sd-1-0-
|
1186
|
+
.sd-1-2-0-list--inverted li > sd-icon:first-of-type,
|
1187
|
+
.sd-1-2-0-list--inverted li > .sd-1-2-0-list--icon__icon:first-of-type,
|
1188
|
+
.sd-1-2-0-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type,
|
1189
|
+
.sd-1-2-0-prose--inverted > :is(ol, ul) li > .sd-1-2-0-list--icon__icon:first-of-type {
|
1039
1190
|
|
1040
1191
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1041
1192
|
}
|
1042
1193
|
|
1043
1194
|
/**
|
1044
1195
|
* A paragraph is used to display blocks of text. It uses the base font size and can contain bold and/or link styles.
|
1045
|
-
* @name sd-1-0-
|
1196
|
+
* @name sd-1-2-0-paragraph
|
1046
1197
|
* @status stable
|
1047
1198
|
* @since 1.7
|
1048
|
-
* @variant { sm } sd-1-0-
|
1049
|
-
* @boolean sd-1-0-
|
1199
|
+
* @variant { sm } sd-1-2-0-paragraph--size-... The paragraph's font size.
|
1200
|
+
* @boolean sd-1-2-0-paragraph--inverted Inverts the paragraph text.
|
1050
1201
|
*/
|
1051
1202
|
|
1052
|
-
.sd-1-0-
|
1053
|
-
.sd-1-0-
|
1203
|
+
.sd-1-2-0-paragraph,
|
1204
|
+
.sd-1-2-0-prose p {
|
1054
1205
|
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
1055
1206
|
font-weight: 400;
|
1056
1207
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1058,7 +1209,7 @@ Used for inverted pressed interaction text link */;
|
|
1058
1209
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1059
1210
|
}
|
1060
1211
|
|
1061
|
-
.sd-1-0-
|
1212
|
+
.sd-1-2-0-paragraph--size-sm, .sd-1-2-0-prose p--size-sm {
|
1062
1213
|
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
1063
1214
|
font-weight: 400;
|
1064
1215
|
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
@@ -1066,35 +1217,35 @@ Used for inverted pressed interaction text link */;
|
|
1066
1217
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1067
1218
|
}
|
1068
1219
|
|
1069
|
-
.sd-1-0-
|
1070
|
-
.sd-1-0-
|
1220
|
+
.sd-1-2-0-paragraph--inverted,
|
1221
|
+
.sd-1-2-0-prose--inverted p {
|
1071
1222
|
|
1072
1223
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1073
1224
|
}
|
1074
1225
|
|
1075
1226
|
/**
|
1076
1227
|
* Generates basic styles for media elements.
|
1077
|
-
* @name sd-1-0-
|
1228
|
+
* @name sd-1-2-0-media
|
1078
1229
|
* @status stable
|
1079
1230
|
* @since 2.5.0
|
1080
|
-
* @boolean sd-1-0-
|
1231
|
+
* @boolean sd-1-2-0-media--inverted Inverts the figcaption text.
|
1081
1232
|
*/
|
1082
1233
|
|
1083
|
-
.sd-1-0-
|
1084
|
-
figure.sd-1-0-
|
1234
|
+
.sd-1-2-0-prose figure,
|
1235
|
+
figure.sd-1-2-0-media {
|
1085
1236
|
margin: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1086
1237
|
}
|
1087
1238
|
|
1088
|
-
.sd-1-0-
|
1239
|
+
.sd-1-2-0-prose figure figcaption, figure.sd-1-2-0-media figcaption {
|
1089
1240
|
|
1090
1241
|
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
1091
1242
|
}
|
1092
1243
|
|
1093
|
-
.sd-1-0-
|
1244
|
+
.sd-1-2-0-prose figure figcaption:last-child, figure.sd-1-2-0-media figcaption:last-child {
|
1094
1245
|
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
1095
1246
|
}
|
1096
1247
|
|
1097
|
-
.sd-1-0-
|
1248
|
+
.sd-1-2-0-prose--inverted figure figcaption, figure.sd-1-2-0-media--inverted figcaption {
|
1098
1249
|
|
1099
1250
|
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
1100
1251
|
Used for inverted pressed interaction text link */;
|
@@ -1102,18 +1253,18 @@ Used for inverted pressed interaction text link */;
|
|
1102
1253
|
|
1103
1254
|
/**
|
1104
1255
|
* A table cell is a single cell inside a table, used to display discrete data elements.
|
1105
|
-
* @name sd-1-0-
|
1256
|
+
* @name sd-1-2-0-table-cell
|
1106
1257
|
* @status stable
|
1107
1258
|
* @since 1.13
|
1108
|
-
* @boolean sd-1-0-
|
1109
|
-
* @variant { white | primary-100 | neutral-100 } sd-1-0-
|
1110
|
-
* @boolean sd-1-0-
|
1111
|
-
* @variant { top | left | right | bottom } sd-1-0-
|
1259
|
+
* @boolean sd-1-2-0-table-cell--divider Displays a divider to the right.
|
1260
|
+
* @variant { white | primary-100 | neutral-100 } sd-1-2-0-table-cell--bg-... Applies the selected background-color to the table cell. If not selected, a transparent background-color is used per default.
|
1261
|
+
* @boolean sd-1-2-0-table-cell--shadow-active Displays the table shadow.
|
1262
|
+
* @variant { top | left | right | bottom } sd-1-2-0-table-cell--shadow-... Applies the selected shadow to the table cell.
|
1112
1263
|
*/
|
1113
1264
|
|
1114
|
-
.sd-1-0-
|
1115
|
-
.sd-1-0-
|
1116
|
-
.sd-1-0-
|
1265
|
+
.sd-1-2-0-prose td,
|
1266
|
+
.sd-1-2-0-prose th,
|
1267
|
+
.sd-1-2-0-table-cell {
|
1117
1268
|
border-top-width: 1px;
|
1118
1269
|
border-bottom-width: 1px;
|
1119
1270
|
border-left-width: 0px;
|
@@ -1130,11 +1281,11 @@ Used for divider, teaser, container, ... */;
|
|
1130
1281
|
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
1131
1282
|
}
|
1132
1283
|
|
1133
|
-
.sd-1-0-
|
1284
|
+
.sd-1-2-0-table-cell--divider {
|
1134
1285
|
border-right-width: 1px;
|
1135
1286
|
}
|
1136
1287
|
|
1137
|
-
.sd-1-0-
|
1288
|
+
.sd-1-2-0-table-cell--shadow-top:after, .sd-1-2-0-table-cell--shadow-bottom:after, .sd-1-2-0-table-cell--shadow-left:after, .sd-1-2-0-table-cell--shadow-right:after {
|
1138
1289
|
pointer-events: none;
|
1139
1290
|
position: absolute;
|
1140
1291
|
--tw-gradient-from: rgb(0 0 0 / var(--sd-opacity-10, 0.1)) var(--tw-gradient-from-position);
|
@@ -1149,7 +1300,7 @@ Used for divider, teaser, container, ... */;
|
|
1149
1300
|
content: var(--tw-content);
|
1150
1301
|
}
|
1151
1302
|
|
1152
|
-
.sd-1-0-
|
1303
|
+
.sd-1-2-0-table-cell--shadow-top:after, .sd-1-2-0-table-cell--shadow-bottom:after {
|
1153
1304
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1154
1305
|
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1155
1306
|
height: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
@@ -1157,7 +1308,7 @@ Used for divider, teaser, container, ... */;
|
|
1157
1308
|
|
1158
1309
|
/* fix that shows line on top of table-cell */
|
1159
1310
|
|
1160
|
-
.sd-1-0-
|
1311
|
+
.sd-1-2-0-table-cell--shadow-top:before, .sd-1-2-0-table-cell--shadow-bottom:before {
|
1161
1312
|
position: absolute;
|
1162
1313
|
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1163
1314
|
display: block;
|
@@ -1171,66 +1322,66 @@ Used for divider, teaser, container, ... */;
|
|
1171
1322
|
content: var(--tw-content);
|
1172
1323
|
}
|
1173
1324
|
|
1174
|
-
.sd-1-0-
|
1325
|
+
.sd-1-2-0-table-cell--shadow-left:after, .sd-1-2-0-table-cell--shadow-right:after {
|
1175
1326
|
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1176
1327
|
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1177
1328
|
width: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
1178
1329
|
}
|
1179
1330
|
|
1180
|
-
.sd-1-0-
|
1331
|
+
.sd-1-2-0-table-cell.sd-1-2-0-table-cell--shadow-active:after {
|
1181
1332
|
opacity: 100%;
|
1182
1333
|
}
|
1183
1334
|
|
1184
|
-
.sd-1-0-
|
1335
|
+
.sd-1-2-0-table-cell--shadow-top:after {
|
1185
1336
|
top: -10px;
|
1186
1337
|
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
1187
1338
|
}
|
1188
1339
|
|
1189
1340
|
/* fix that shows line on top of table-cell */
|
1190
1341
|
|
1191
|
-
.sd-1-0-
|
1342
|
+
.sd-1-2-0-table-cell--shadow-top:before {
|
1192
1343
|
bottom: -1px;
|
1193
1344
|
}
|
1194
1345
|
|
1195
|
-
.sd-1-0-
|
1346
|
+
.sd-1-2-0-table-cell--shadow-bottom:after {
|
1196
1347
|
bottom: -10px;
|
1197
1348
|
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
|
1198
1349
|
}
|
1199
1350
|
|
1200
1351
|
/* fix that shows line on top of table-cell */
|
1201
1352
|
|
1202
|
-
.sd-1-0-
|
1353
|
+
.sd-1-2-0-table-cell--shadow-bottom:before {
|
1203
1354
|
top: -1px;
|
1204
1355
|
}
|
1205
1356
|
|
1206
|
-
.sd-1-0-
|
1357
|
+
.sd-1-2-0-table-cell--shadow-left:after {
|
1207
1358
|
left: -10px;
|
1208
1359
|
background-image: linear-gradient(to left, var(--tw-gradient-stops));
|
1209
1360
|
}
|
1210
1361
|
|
1211
|
-
.sd-1-0-
|
1362
|
+
.sd-1-2-0-table-cell--shadow-right:after {
|
1212
1363
|
right: -10px;
|
1213
1364
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
1214
1365
|
}
|
1215
1366
|
|
1216
|
-
.sd-1-0-
|
1367
|
+
.sd-1-2-0-table-cell--bg-white {
|
1217
1368
|
|
1218
1369
|
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
1219
1370
|
}
|
1220
1371
|
|
1221
|
-
.sd-1-0-
|
1372
|
+
.sd-1-2-0-table-cell--bg-primary-100 {
|
1222
1373
|
|
1223
1374
|
background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
1224
1375
|
}
|
1225
1376
|
|
1226
|
-
.sd-1-0-
|
1377
|
+
.sd-1-2-0-table-cell--bg-neutral-100 {
|
1227
1378
|
|
1228
1379
|
background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
1229
1380
|
}
|
1230
1381
|
|
1231
1382
|
/**
|
1232
1383
|
* A table is organized structured content, used for scanning, comparing, and analyzing the data.
|
1233
|
-
* @name sd-1-0-
|
1384
|
+
* @name sd-1-2-0-table
|
1234
1385
|
* @status stable
|
1235
1386
|
* @since 1.13
|
1236
1387
|
*/
|
@@ -1239,8 +1390,8 @@ Used for divider, teaser, container, ... */;
|
|
1239
1390
|
* Remove inherited styles from table before applying our styles.
|
1240
1391
|
*/
|
1241
1392
|
|
1242
|
-
.sd-1-0-
|
1243
|
-
.sd-1-0-
|
1393
|
+
.sd-1-2-0-table,
|
1394
|
+
.sd-1-2-0-prose table {
|
1244
1395
|
all: unset;
|
1245
1396
|
display: table;
|
1246
1397
|
border-collapse: collapse;
|
@@ -1249,13 +1400,13 @@ Used for divider, teaser, container, ... */;
|
|
1249
1400
|
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
1250
1401
|
}
|
1251
1402
|
|
1252
|
-
.sd-1-0-
|
1403
|
+
.sd-1-2-0-table thead tr:first-of-type, .sd-1-2-0-table tfoot tr:first-of-type, .sd-1-2-0-prose table thead tr:first-of-type, .sd-1-2-0-prose table tfoot tr:first-of-type {
|
1253
1404
|
position: relative;
|
1254
1405
|
}
|
1255
1406
|
|
1256
1407
|
/* plop:style */
|
1257
1408
|
|
1258
|
-
.sd-1-0-
|
1409
|
+
.sd-1-2-0-prose {
|
1259
1410
|
/* Optimize for reading. */
|
1260
1411
|
max-width: 80ch;
|
1261
1412
|
text-align: left;
|
@@ -1263,67 +1414,67 @@ Used for divider, teaser, container, ... */;
|
|
1263
1414
|
|
1264
1415
|
/* Add default spacings */
|
1265
1416
|
|
1266
|
-
.sd-1-0-
|
1417
|
+
.sd-1-2-0-prose > *:not(:first-child) {
|
1267
1418
|
margin-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
1268
1419
|
}
|
1269
1420
|
|
1270
1421
|
/* First element has no margin-top */
|
1271
1422
|
|
1272
|
-
.sd-1-0-
|
1423
|
+
.sd-1-2-0-prose > *:first-child {
|
1273
1424
|
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1274
1425
|
}
|
1275
1426
|
|
1276
1427
|
/* headings after a heading have a smaller margin-top */
|
1277
1428
|
|
1278
|
-
.sd-1-0-
|
1429
|
+
.sd-1-2-0-prose > :is(h1, h2, h3, h4, h5):not(#_) + :is(h1, h2, h3, h4, h5) {
|
1279
1430
|
/* :not(#_) is a hack to raise specifity, see https://stackoverflow.com/a/61781795 */
|
1280
1431
|
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
1281
1432
|
}
|
1282
1433
|
|
1283
1434
|
/* Headlines after other non-headlines have a larger margin-top */
|
1284
1435
|
|
1285
|
-
.sd-1-0-
|
1436
|
+
.sd-1-2-0-prose > *:not(:is(h1, h2, h3, h4, h5)) + :is(h1, h2, h3, h4, h5):not(#_) {
|
1286
1437
|
margin-top: var(--sd-spacing-8, 2rem) /* 32px */;
|
1287
1438
|
}
|
1288
1439
|
|
1289
1440
|
/* Images and figures lead to a bigger margin-top for the next element */
|
1290
1441
|
|
1291
|
-
.sd-1-0-
|
1292
|
-
.sd-1-0-
|
1442
|
+
.sd-1-2-0-prose > figure + *:not(#_),
|
1443
|
+
.sd-1-2-0-prose > img + *:not(#_) {
|
1293
1444
|
margin-top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
1294
1445
|
}
|
1295
1446
|
|
1296
1447
|
/* Add styles for elements that are not based on existing CSS styles */
|
1297
1448
|
|
1298
|
-
.sd-1-0-
|
1449
|
+
.sd-1-2-0-prose hr {
|
1299
1450
|
height: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1300
1451
|
border-top-width: 1px;
|
1301
1452
|
--tw-border-opacity: 1;
|
1302
1453
|
border-color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-border-opacity, 1)) /* Used for disabled state */;
|
1303
1454
|
}
|
1304
1455
|
|
1305
|
-
.sd-1-0-
|
1456
|
+
.sd-1-2-0-prose pre {
|
1306
1457
|
overflow: auto;
|
1307
1458
|
}
|
1308
1459
|
|
1309
|
-
.sd-1-0-
|
1310
|
-
.sd-1-0-
|
1460
|
+
.sd-1-2-0-prose blockquote,
|
1461
|
+
.sd-1-2-0-prose blockquote > * {
|
1311
1462
|
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
1312
1463
|
}
|
1313
1464
|
|
1314
|
-
.sd-1-0-
|
1465
|
+
.sd-1-2-0-prose blockquote:has(*) *:first-child::before, .sd-1-2-0-prose blockquote:not(:has(*))::before {
|
1315
1466
|
content: open-quote;
|
1316
1467
|
display: inline;
|
1317
1468
|
}
|
1318
1469
|
|
1319
|
-
.sd-1-0-
|
1470
|
+
.sd-1-2-0-prose blockquote:has(*) *:first-child::after, .sd-1-2-0-prose blockquote:not(:has(*))::after {
|
1320
1471
|
content: close-quote;
|
1321
1472
|
display: inline;
|
1322
1473
|
}
|
1323
1474
|
|
1324
1475
|
/* Fixes for other elements */
|
1325
1476
|
|
1326
|
-
.sd-1-0-
|
1477
|
+
.sd-1-2-0-prose > :is(ul, ol):not(#_) {
|
1327
1478
|
/* ul and ol have padding that has to be reset */
|
1328
1479
|
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
1329
1480
|
padding-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
@@ -1331,18 +1482,18 @@ Used for divider, teaser, container, ... */;
|
|
1331
1482
|
|
1332
1483
|
/* Inverted styles */
|
1333
1484
|
|
1334
|
-
.sd-1-0-
|
1485
|
+
.sd-1-2-0-prose--inverted hr {
|
1335
1486
|
--tw-border-opacity: 1;
|
1336
1487
|
border-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-border-opacity, 1)) /* Used for buttons, inverted focus state */;
|
1337
1488
|
}
|
1338
1489
|
|
1339
|
-
.sd-1-0-
|
1490
|
+
.sd-1-2-0-prose--inverted pre {
|
1340
1491
|
|
1341
1492
|
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
1342
1493
|
}
|
1343
1494
|
|
1344
1495
|
/* Full width styles */
|
1345
1496
|
|
1346
|
-
.sd-1-0-
|
1497
|
+
.sd-1-2-0-prose--full-width {
|
1347
1498
|
max-width: unset;
|
1348
1499
|
}
|