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