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