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