@solid-design-system/styles 1.5.4 → 2.0.0-next.0

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