@solid-design-system/styles 1.5.5 → 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.
- package/CHANGELOG.md +6 -0
- package/cdn/modules/chip.css +24 -1
- package/cdn/modules/container.css +117 -1
- package/cdn/modules/copyright.css +129 -1
- package/cdn/modules/display.css +60 -1
- package/cdn/modules/flag.css +23 -1
- package/cdn/modules/footnotes.css +166 -1
- package/cdn/modules/headline.css +138 -1
- package/cdn/modules/hidden-links.css +130 -1
- package/cdn/modules/interactive.css +95 -1
- package/cdn/modules/leadtext.css +39 -1
- package/cdn/modules/list.css +125 -1
- package/cdn/modules/mark.css +5 -1
- package/cdn/modules/media.css +13 -1
- package/cdn/modules/meta.css +47 -1
- package/cdn/modules/pagination.css +292 -1
- package/cdn/modules/paragraph.css +39 -1
- package/cdn/modules/prose.css +75 -1
- package/cdn/modules/status-badge.css +26 -1
- package/cdn/modules/table-cell.css +170 -1
- package/cdn/modules/table.css +31 -1
- package/cdn/solid-styles.css +962 -1
- package/cdn-versioned/modules/chip.css +24 -1
- package/cdn-versioned/modules/container.css +117 -1
- package/cdn-versioned/modules/copyright.css +129 -1
- package/cdn-versioned/modules/display.css +60 -1
- package/cdn-versioned/modules/flag.css +23 -1
- package/cdn-versioned/modules/footnotes.css +166 -1
- package/cdn-versioned/modules/headline.css +138 -1
- package/cdn-versioned/modules/hidden-links.css +130 -1
- package/cdn-versioned/modules/interactive.css +95 -1
- package/cdn-versioned/modules/leadtext.css +39 -1
- package/cdn-versioned/modules/list.css +125 -1
- package/cdn-versioned/modules/mark.css +5 -1
- package/cdn-versioned/modules/media.css +13 -1
- package/cdn-versioned/modules/meta.css +47 -1
- package/cdn-versioned/modules/pagination.css +292 -1
- package/cdn-versioned/modules/paragraph.css +39 -1
- package/cdn-versioned/modules/prose.css +75 -1
- package/cdn-versioned/modules/status-badge.css +26 -1
- package/cdn-versioned/modules/table-cell.css +170 -1
- package/cdn-versioned/modules/table.css +31 -1
- package/cdn-versioned/solid-styles.css +962 -1
- package/dist/modules/chip.css +19 -56
- package/dist/modules/container.css +54 -121
- package/dist/modules/copyright.css +106 -49
- package/dist/modules/display.css +52 -62
- package/dist/modules/flag.css +18 -54
- package/dist/modules/footnotes.css +106 -119
- package/dist/modules/headline.css +113 -212
- package/dist/modules/hidden-links.css +117 -44
- package/dist/modules/interactive.css +76 -105
- package/dist/modules/leadtext.css +35 -39
- package/dist/modules/list.css +70 -143
- package/dist/modules/mark.css +3 -13
- package/dist/modules/media.css +9 -29
- package/dist/modules/meta.css +36 -38
- package/dist/modules/pagination.css +246 -384
- package/dist/modules/paragraph.css +35 -24
- package/dist/modules/prose.css +49 -891
- package/dist/modules/status-badge.css +18 -53
- package/dist/modules/table-cell.css +153 -169
- package/dist/modules/table.css +24 -17
- package/dist/solid-styles.css +709 -1781
- package/dist-versioned/modules/chip.css +23 -60
- package/dist-versioned/modules/container.css +76 -143
- package/dist-versioned/modules/copyright.css +112 -55
- package/dist-versioned/modules/display.css +54 -64
- package/dist-versioned/modules/flag.css +22 -58
- package/dist-versioned/modules/footnotes.css +134 -147
- package/dist-versioned/modules/headline.css +128 -227
- package/dist-versioned/modules/hidden-links.css +121 -48
- package/dist-versioned/modules/interactive.css +82 -111
- package/dist-versioned/modules/leadtext.css +36 -40
- package/dist-versioned/modules/list.css +92 -165
- package/dist-versioned/modules/mark.css +4 -14
- package/dist-versioned/modules/media.css +13 -33
- package/dist-versioned/modules/meta.css +42 -44
- package/dist-versioned/modules/pagination.css +273 -411
- package/dist-versioned/modules/paragraph.css +36 -25
- package/dist-versioned/modules/prose.css +57 -899
- package/dist-versioned/modules/status-badge.css +24 -59
- package/dist-versioned/modules/table-cell.css +169 -185
- package/dist-versioned/modules/table.css +25 -18
- package/dist-versioned/solid-styles.css +825 -1897
- package/package.json +4 -5
package/dist/modules/prose.css
CHANGED
|
@@ -1,917 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* @name sd-display
|
|
13
|
-
* @status stable
|
|
14
|
-
* @since 1.7
|
|
15
|
-
* @variant { xl | 3xl } sd-display--size-... The display's size.
|
|
16
|
-
* @boolean sd-display--inverted Inverts the display text.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
.sd-display {
|
|
20
|
-
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
|
21
|
-
font-weight: 400;
|
|
22
|
-
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
|
23
|
-
|
|
24
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@media (min-width: 1024px) {
|
|
28
|
-
|
|
29
|
-
.sd-display {
|
|
30
|
-
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.sd-display--size-xl {
|
|
35
|
-
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
|
36
|
-
font-weight: 400;
|
|
37
|
-
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
|
38
|
-
|
|
39
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.sd-display--size-3xl {
|
|
43
|
-
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
|
44
|
-
font-weight: 400;
|
|
45
|
-
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
|
46
|
-
|
|
47
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@media (min-width: 1024px) {
|
|
51
|
-
|
|
52
|
-
.sd-display--size-3xl {
|
|
53
|
-
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.sd-display--inverted {
|
|
58
|
-
|
|
59
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* 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.
|
|
64
|
-
* @name sd-headline
|
|
65
|
-
* @status stable
|
|
66
|
-
* @since 1.16
|
|
67
|
-
* @variant { 3xl | xl | lg | base } sd-headline--size-... The headline's size.
|
|
68
|
-
* @boolean sd-headline--inverted Inverts the headline text.
|
|
69
|
-
* @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>
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
|
-
.sd-headline,
|
|
73
|
-
.sd-prose :is(h1, h2, h3, h4, h5) {
|
|
74
|
-
display: flex;
|
|
75
|
-
font-weight: 700;
|
|
76
|
-
|
|
77
|
-
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.sd-headline sd-icon, .sd-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
|
81
|
-
flex-shrink: 0;
|
|
82
|
-
font-size: 3rem;
|
|
83
|
-
|
|
84
|
-
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@media (min-width: 640px) {
|
|
88
|
-
|
|
89
|
-
.sd-headline sd-icon, .sd-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
|
90
|
-
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.sd-headline.sd-headline,
|
|
95
|
-
.sd-headline:is(h1):not(.sd-headline),
|
|
96
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline,
|
|
97
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) {
|
|
98
|
-
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
99
|
-
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
|
100
|
-
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@media (min-width: 640px) {
|
|
104
|
-
|
|
105
|
-
.sd-headline.sd-headline,
|
|
106
|
-
.sd-headline:is(h1):not(.sd-headline),
|
|
107
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline,
|
|
108
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-headline) {
|
|
109
|
-
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.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 {
|
|
114
|
-
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@media (min-width: 640px) {
|
|
118
|
-
|
|
119
|
-
.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 {
|
|
120
|
-
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.sd-headline.sd-headline--size-3xl,
|
|
125
|
-
.sd-headline:is(h2):not(.sd-headline),
|
|
126
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl,
|
|
127
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) {
|
|
128
|
-
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
129
|
-
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
|
130
|
-
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@media (min-width: 640px) {
|
|
134
|
-
|
|
135
|
-
.sd-headline.sd-headline--size-3xl,
|
|
136
|
-
.sd-headline:is(h2):not(.sd-headline),
|
|
137
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-3xl,
|
|
138
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-headline) {
|
|
139
|
-
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.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 {
|
|
144
|
-
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@media (min-width: 640px) {
|
|
148
|
-
|
|
149
|
-
.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 {
|
|
150
|
-
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.sd-headline.sd-headline--size-xl,
|
|
155
|
-
.sd-headline.sd-headline--size-lg,
|
|
156
|
-
.sd-headline.sd-headline--size-base,
|
|
157
|
-
.sd-headline:is(h3, h4, h5):not(.sd-headline),
|
|
158
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl,
|
|
159
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg,
|
|
160
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base,
|
|
161
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-headline) {
|
|
162
|
-
gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
|
163
|
-
|
|
164
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.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 {
|
|
168
|
-
font-size: 2rem;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.sd-headline.sd-headline--size-xl,
|
|
172
|
-
.sd-headline:is(h3):not(.sd-headline),
|
|
173
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-xl,
|
|
174
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-headline) {
|
|
175
|
-
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.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 {
|
|
179
|
-
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
@media (min-width: 640px) {
|
|
183
|
-
|
|
184
|
-
.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 {
|
|
185
|
-
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.sd-headline.sd-headline--size-lg,
|
|
190
|
-
.sd-headline.sd-headline--size-base,
|
|
191
|
-
.sd-headline:is(h4, h5):not(.sd-headline),
|
|
192
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg,
|
|
193
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base,
|
|
194
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h4, h5):not(.sd-headline) {
|
|
195
|
-
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.sd-headline.sd-headline--size-lg,
|
|
199
|
-
.sd-headline:is(h4),
|
|
200
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-lg,
|
|
201
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h4) {
|
|
202
|
-
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.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 {
|
|
206
|
-
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@media (min-width: 640px) {
|
|
210
|
-
|
|
211
|
-
.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 {
|
|
212
|
-
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.sd-headline.sd-headline--size-base,
|
|
217
|
-
.sd-headline:is(h5):not(.sd-headline),
|
|
218
|
-
.sd-prose :is(h1, h2, h3, h4, h5).sd-headline--size-base,
|
|
219
|
-
.sd-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-headline) {
|
|
220
|
-
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.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 {
|
|
224
|
-
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.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 {
|
|
228
|
-
color: inherit;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.sd-headline--inline {
|
|
232
|
-
display: inline-block;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.sd-headline--inline sd-icon {
|
|
236
|
-
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
|
237
|
-
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
|
238
|
-
vertical-align: middle;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.sd-headline--inline:is(.sd-headline--size-xl, .sd-headline--size-lg, .sd-headline--size-base) sd-icon {
|
|
242
|
-
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.sd-headline--inverted:not(#_),
|
|
246
|
-
.sd-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-headline):not(#_) {
|
|
247
|
-
|
|
248
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.sd-headline--inverted:not(#_) sd-icon, .sd-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-headline):not(#_) sd-icon {
|
|
252
|
-
|
|
253
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Generates basic styles for interactive elements.
|
|
258
|
-
* @name sd-interactive
|
|
259
|
-
* @status stable
|
|
260
|
-
* @since 1.11
|
|
261
|
-
* @boolean sd-interactive--disabled Makes an element look disabled.
|
|
262
|
-
* @boolean sd-interactive--inverted Inverts the colors of an element.
|
|
263
|
-
* @boolean sd-interactive--reset Resets the default browser styles of e.g., a button.
|
|
264
|
-
*/
|
|
265
|
-
|
|
266
|
-
.sd-prose a--reset, .sd-interactive--reset {
|
|
267
|
-
all: unset;
|
|
268
|
-
outline: revert;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.sd-prose a,
|
|
272
|
-
.sd-interactive {
|
|
273
|
-
cursor: pointer;
|
|
274
|
-
|
|
275
|
-
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
|
276
|
-
text-decoration-line: underline;
|
|
277
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
278
|
-
transition-duration: 150ms;
|
|
279
|
-
transition-duration: var(--sd-duration-fast, 150ms) /* Component State
|
|
280
|
-
Animation of states like hover or pressed
|
|
281
|
-
Microinteractions
|
|
282
|
-
Smooth transitions eg. for buttons or dropdowns */;
|
|
283
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.sd-prose a:hover:not([disabled]),
|
|
287
|
-
.sd-interactive:hover:not([disabled]) {
|
|
288
|
-
|
|
289
|
-
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.sd-prose a:active:not([disabled]),
|
|
293
|
-
.sd-interactive:active:not([disabled]) {
|
|
294
|
-
|
|
295
|
-
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.sd-prose a:is(.sd-interactive), .sd-interactive:is(.sd-interactive) {
|
|
299
|
-
text-decoration-line: none;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.sd-prose a:focus-visible, .sd-interactive:focus-visible {
|
|
303
|
-
outline-style: solid;
|
|
304
|
-
outline-width: 2px;
|
|
305
|
-
outline-offset: 2px;
|
|
306
|
-
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.sd-prose a--disabled,
|
|
310
|
-
.sd-prose a[disabled],
|
|
311
|
-
.sd-prose a[href=''],
|
|
312
|
-
.sd-interactive--disabled,
|
|
313
|
-
.sd-interactive[disabled],
|
|
314
|
-
.sd-interactive[href=''] {
|
|
315
|
-
cursor: not-allowed;
|
|
316
|
-
|
|
317
|
-
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.sd-prose a--disabled:hover:not([disabled]),
|
|
321
|
-
.sd-prose a[disabled]:hover:not([disabled]),
|
|
322
|
-
.sd-prose a[href='']:hover:not([disabled]),
|
|
323
|
-
.sd-interactive--disabled:hover:not([disabled]),
|
|
324
|
-
.sd-interactive[disabled]:hover:not([disabled]),
|
|
325
|
-
.sd-interactive[href='']:hover:not([disabled]) {
|
|
326
|
-
|
|
327
|
-
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.sd-prose a--disabled:active:not([disabled]),
|
|
331
|
-
.sd-prose a[disabled]:active:not([disabled]),
|
|
332
|
-
.sd-prose a[href='']:active:not([disabled]),
|
|
333
|
-
.sd-interactive--disabled:active:not([disabled]),
|
|
334
|
-
.sd-interactive[disabled]:active:not([disabled]),
|
|
335
|
-
.sd-interactive[href='']:active:not([disabled]) {
|
|
336
|
-
|
|
337
|
-
color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.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 {
|
|
341
|
-
|
|
342
|
-
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.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]) {
|
|
346
|
-
|
|
347
|
-
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.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]) {
|
|
351
|
-
|
|
352
|
-
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.sd-prose--inverted a,
|
|
356
|
-
.sd-interactive--inverted {
|
|
357
|
-
|
|
358
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.sd-prose--inverted a:hover:not([disabled]),
|
|
362
|
-
.sd-interactive--inverted:hover:not([disabled]) {
|
|
363
|
-
|
|
364
|
-
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 */;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.sd-prose--inverted a:active:not([disabled]),
|
|
368
|
-
.sd-interactive--inverted:active:not([disabled]) {
|
|
369
|
-
|
|
370
|
-
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
|
371
|
-
Used for inverted pressed interaction text link */;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.sd-prose--inverted a:focus-visible, .sd-interactive--inverted:focus-visible {
|
|
375
|
-
outline-style: solid;
|
|
376
|
-
outline-width: 2px;
|
|
377
|
-
outline-offset: 2px;
|
|
378
|
-
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* Leadtext is used for text that should be highlighted and a focal point of the page.
|
|
383
|
-
* @name sd-leadtext
|
|
384
|
-
* @status stable
|
|
385
|
-
* @since 1.7
|
|
386
|
-
* @variant { lg } sd-leadtext--size-... The leadtext's size.
|
|
387
|
-
* @boolean sd-leadtext--inverted Inverts the leadtext text.
|
|
388
|
-
*/
|
|
389
|
-
|
|
390
|
-
.sd-prose > .sd-leadtext,
|
|
391
|
-
.sd-leadtext {
|
|
392
|
-
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
|
393
|
-
font-weight: 400;
|
|
394
|
-
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
|
395
|
-
|
|
396
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.sd-prose > .sd-leadtext--size-lg, .sd-leadtext--size-lg {
|
|
400
|
-
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
|
401
|
-
font-weight: 400;
|
|
402
|
-
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
|
403
|
-
|
|
404
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.sd-prose--inverted > .sd-leadtext,
|
|
408
|
-
.sd-leadtext--inverted {
|
|
409
|
-
|
|
410
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* Generates basic styles for list elements.
|
|
415
|
-
* @name sd-list
|
|
416
|
-
* @status stable
|
|
417
|
-
* @since 1.39.0
|
|
418
|
-
* @boolean sd-list--inverted Inverts the list text.
|
|
419
|
-
*/
|
|
420
|
-
|
|
421
|
-
.sd-list:not(.sd-list--icon),
|
|
422
|
-
.sd-prose > :is(ol, ul) {
|
|
423
|
-
list-style-position: revert;
|
|
424
|
-
list-style-type: revert;
|
|
425
|
-
padding: revert;
|
|
426
|
-
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
427
|
-
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
428
|
-
padding-left: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
429
|
-
text-align: left;
|
|
430
|
-
|
|
431
|
-
/*
|
|
432
|
-
* Unordered lists
|
|
433
|
-
*/
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
.sd-list:not(.sd-list--icon) li:not(:first-child), .sd-prose > :is(ol, ul) li:not(:first-child) {
|
|
437
|
-
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.sd-list:not(.sd-list--icon) ul,
|
|
441
|
-
.sd-list:not(.sd-list--icon) ol,
|
|
442
|
-
.sd-prose > :is(ol, ul) ul,
|
|
443
|
-
.sd-prose > :is(ol, ul) ol {
|
|
444
|
-
all: revert;
|
|
445
|
-
padding-left: 1.4em;
|
|
446
|
-
padding-top: 0.75em;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
@supports not (-webkit-hyphens: none) {
|
|
450
|
-
|
|
451
|
-
.sd-list:not(.sd-list--icon),
|
|
452
|
-
.sd-prose > :is(ol, ul) {
|
|
453
|
-
/* Safari automatically adds some spacing. This adds it for other browsers. */
|
|
454
|
-
|
|
455
|
-
/*
|
|
456
|
-
* Ordered lists
|
|
457
|
-
*/
|
|
458
|
-
|
|
459
|
-
/*
|
|
460
|
-
* Safari currently only partially supports the ::marker pseudo class.
|
|
461
|
-
* Support is limited to color and font-size. Therefore we optimize the numbering only for non-Safari browsers.
|
|
462
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/::marker#browser_compatibility
|
|
463
|
-
*/
|
|
464
|
-
/* Level 1 */
|
|
465
|
-
}
|
|
466
|
-
.sd-list:not(.sd-list--icon) li, .sd-prose > :is(ol, ul) li {
|
|
467
|
-
padding-left: 0.3em;
|
|
468
|
-
}
|
|
469
|
-
.sd-list:not(.sd-list--icon):is(ol):not(.sd-list--icon), .sd-prose > :is(ol, ul):is(ol):not(.sd-list--icon) {
|
|
470
|
-
counter-reset: item;
|
|
471
|
-
}
|
|
472
|
-
.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 {
|
|
473
|
-
counter-increment: item;
|
|
474
|
-
}
|
|
475
|
-
.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 {
|
|
476
|
-
content: counters(item, '.', decimal) '. ';
|
|
477
|
-
}
|
|
478
|
-
/* Level 2 */
|
|
479
|
-
.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 {
|
|
480
|
-
padding-left: 1.9em;
|
|
481
|
-
counter-reset: subitem;
|
|
482
|
-
}
|
|
483
|
-
.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 {
|
|
484
|
-
counter-increment: subitem;
|
|
485
|
-
}
|
|
486
|
-
.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 {
|
|
487
|
-
content: counters(item, '.', decimal) '.' counters(subitem, '.', decimal) '. ';
|
|
488
|
-
}
|
|
489
|
-
/* Level 3 */
|
|
490
|
-
.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 {
|
|
491
|
-
padding-left: 2.7em;
|
|
492
|
-
counter-reset: subsubitem;
|
|
493
|
-
}
|
|
494
|
-
.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 {
|
|
495
|
-
counter-increment: subsubitem;
|
|
496
|
-
}
|
|
497
|
-
.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 {
|
|
498
|
-
content: counters(item, '.', decimal) '.' counters(subitem, '.', decimal) '.'
|
|
499
|
-
counters(subsubitem, '.', decimal) '. ';
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/* Level 1 */
|
|
504
|
-
|
|
505
|
-
.sd-list:not(.sd-list--icon):is(ul):not(.sd-list--icon),
|
|
506
|
-
.sd-list:not(.sd-list--icon) ul,
|
|
507
|
-
.sd-prose > :is(ol, ul):is(ul):not(.sd-list--icon),
|
|
508
|
-
.sd-prose > :is(ol, ul) ul {
|
|
509
|
-
padding-left: 0.5em;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.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 {
|
|
513
|
-
padding-left: 0.75em;
|
|
514
|
-
list-style-type: '\2022'; /* • */
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/* Level 2 */
|
|
518
|
-
|
|
519
|
-
.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 {
|
|
520
|
-
padding-left: 0.3em;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
.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 {
|
|
524
|
-
list-style-type: '\002B1D'; /* · */
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/* Level 3 */
|
|
528
|
-
|
|
529
|
-
.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 {
|
|
530
|
-
padding-left: 0.4em;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.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 {
|
|
534
|
-
list-style-type: '\2010'; /* - */
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/*
|
|
538
|
-
* Icon lists
|
|
539
|
-
*/
|
|
540
|
-
|
|
541
|
-
.sd-list--icon {
|
|
542
|
-
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
543
|
-
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
544
|
-
text-align: left;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.sd-list--icon li sd-icon:first-of-type,
|
|
548
|
-
.sd-list--icon li .sd-list--icon__icon:first-of-type {
|
|
549
|
-
|
|
550
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.sd-list--icon {
|
|
554
|
-
list-style-type: '';
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/* Safari removes list semantics of lists that don’t look like lists (list-style: none). The only way to remove list
|
|
558
|
-
styles without affecting semantics is to set list-style-type to an empty string.
|
|
559
|
-
https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics */
|
|
560
|
-
|
|
561
|
-
.sd-list--icon > li:first-of-type {
|
|
562
|
-
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
.sd-list--icon li {
|
|
566
|
-
position: relative;
|
|
567
|
-
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
|
568
|
-
padding-left: var(--sd-spacing-10, 2.5rem) /* 40px */;
|
|
569
|
-
line-height: 32px;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
.sd-list--icon li > sd-icon:first-of-type,
|
|
573
|
-
.sd-list--icon li > .sd-list--icon__icon:first-of-type {
|
|
574
|
-
position: absolute;
|
|
575
|
-
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
576
|
-
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
|
577
|
-
|
|
578
|
-
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.sd-list--icon.sd-list--horizontal {
|
|
582
|
-
display: flex;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.sd-list--icon.sd-list--horizontal li {
|
|
586
|
-
display: flex;
|
|
587
|
-
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
.sd-list--icon.sd-list--horizontal li:not(:last-child) {
|
|
591
|
-
margin-right: var(--sd-spacing-8, 2rem) /* 32px */;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
/*
|
|
595
|
-
* Inverted
|
|
596
|
-
*/
|
|
597
|
-
|
|
598
|
-
.sd-list--inverted,
|
|
599
|
-
.sd-prose--inverted > :is(ol, ul) {
|
|
600
|
-
|
|
601
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.sd-list--inverted li > sd-icon:first-of-type,
|
|
605
|
-
.sd-list--inverted li > .sd-list--icon__icon:first-of-type,
|
|
606
|
-
.sd-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type,
|
|
607
|
-
.sd-prose--inverted > :is(ol, ul) li > .sd-list--icon__icon:first-of-type {
|
|
608
|
-
|
|
609
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* A paragraph is used to display blocks of text. It uses the base font size and can contain bold and/or link styles.
|
|
614
|
-
* @name sd-paragraph
|
|
615
|
-
* @status stable
|
|
616
|
-
* @since 1.7
|
|
617
|
-
* @variant { sm } sd-paragraph--size-... The paragraph's font size.
|
|
618
|
-
* @boolean sd-paragraph--inverted Inverts the paragraph text.
|
|
619
|
-
*/
|
|
620
|
-
|
|
621
|
-
.sd-paragraph,
|
|
622
|
-
.sd-prose p {
|
|
623
|
-
font-size: var(--sd-font-size-base, 1rem) /* 16px */;
|
|
624
|
-
font-weight: 400;
|
|
625
|
-
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
|
626
|
-
|
|
627
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
.sd-paragraph--size-sm, .sd-prose p--size-sm {
|
|
631
|
-
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
|
632
|
-
font-weight: 400;
|
|
633
|
-
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
|
634
|
-
|
|
635
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
.sd-paragraph--inverted,
|
|
639
|
-
.sd-prose--inverted p {
|
|
640
|
-
|
|
641
|
-
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
/**
|
|
645
|
-
* Generates basic styles for media elements.
|
|
646
|
-
* @name sd-media
|
|
647
|
-
* @status stable
|
|
648
|
-
* @since 2.5.0
|
|
649
|
-
* @boolean sd-media--inverted Inverts the figcaption text.
|
|
650
|
-
*/
|
|
651
|
-
|
|
652
|
-
.sd-prose figure,
|
|
653
|
-
figure.sd-media {
|
|
654
|
-
margin: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
.sd-prose figure figcaption, figure.sd-media figcaption {
|
|
658
|
-
|
|
659
|
-
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
.sd-prose figure figcaption:last-child, figure.sd-media figcaption:last-child {
|
|
663
|
-
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.sd-prose--inverted figure figcaption, figure.sd-media--inverted figcaption {
|
|
667
|
-
|
|
668
|
-
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
|
669
|
-
Used for inverted pressed interaction text link */;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* A table cell is a single cell inside a table, used to display discrete data elements.
|
|
674
|
-
* @name sd-table-cell
|
|
675
|
-
* @status stable
|
|
676
|
-
* @since 1.13
|
|
677
|
-
* @boolean sd-table-cell--divider Displays a divider to the right.
|
|
678
|
-
* @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.
|
|
679
|
-
* @boolean sd-table-cell--shadow-active Displays the table shadow.
|
|
680
|
-
* @variant { top | left | right | bottom } sd-table-cell--shadow-... Applies the selected shadow to the table cell.
|
|
681
|
-
*/
|
|
682
|
-
|
|
683
|
-
.sd-prose td,
|
|
684
|
-
.sd-prose th,
|
|
685
|
-
.sd-table-cell {
|
|
686
|
-
border-top-width: 1px;
|
|
687
|
-
border-bottom-width: 1px;
|
|
688
|
-
border-left-width: 0px;
|
|
689
|
-
border-right-width: 0px;
|
|
690
|
-
border-style: solid;
|
|
691
|
-
--tw-border-opacity: 1;
|
|
692
|
-
border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
|
|
693
|
-
Used for divider, teaser, container, ... */;
|
|
694
|
-
background-color: transparent;
|
|
695
|
-
padding: var(--sd-spacing-4, 1rem) /* 16px */;
|
|
696
|
-
text-align: left;
|
|
697
|
-
font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
|
|
698
|
-
|
|
699
|
-
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
.sd-table-cell--divider {
|
|
703
|
-
border-right-width: 1px;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
.sd-table-cell--shadow-top:after, .sd-table-cell--shadow-bottom:after, .sd-table-cell--shadow-left:after, .sd-table-cell--shadow-right:after {
|
|
707
|
-
pointer-events: none;
|
|
708
|
-
position: absolute;
|
|
709
|
-
--tw-gradient-from: rgb(0 0 0 / var(--sd-opacity-10, 0.1)) var(--tw-gradient-from-position);
|
|
710
|
-
--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
|
|
711
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
712
|
-
--tw-gradient-to: transparent var(--tw-gradient-to-position);
|
|
713
|
-
opacity: var(--sd-opacity-0, 0);
|
|
714
|
-
transition-property: opacity;
|
|
715
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
716
|
-
transition-duration: 300ms;
|
|
717
|
-
--tw-content: '';
|
|
718
|
-
content: var(--tw-content);
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
.sd-table-cell--shadow-top:after, .sd-table-cell--shadow-bottom:after {
|
|
722
|
-
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
723
|
-
right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
724
|
-
height: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
/* fix that shows line on top of table-cell */
|
|
728
|
-
|
|
729
|
-
.sd-table-cell--shadow-top:before, .sd-table-cell--shadow-bottom:before {
|
|
730
|
-
position: absolute;
|
|
731
|
-
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
732
|
-
display: block;
|
|
733
|
-
height: 1px;
|
|
734
|
-
width: 100%;
|
|
735
|
-
border-width: 0.5px;
|
|
736
|
-
--tw-border-opacity: 1;
|
|
737
|
-
border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
|
|
738
|
-
Used for divider, teaser, container, ... */;
|
|
739
|
-
--tw-content: '';
|
|
740
|
-
content: var(--tw-content);
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
.sd-table-cell--shadow-left:after, .sd-table-cell--shadow-right:after {
|
|
744
|
-
top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
745
|
-
bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
746
|
-
width: var(--sd-spacing-2-5, 0.625rem) /* 10px */;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
.sd-table-cell.sd-table-cell--shadow-active:after {
|
|
750
|
-
opacity: 100%;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.sd-table-cell--shadow-top:after {
|
|
754
|
-
top: -10px;
|
|
755
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
/* fix that shows line on top of table-cell */
|
|
759
|
-
|
|
760
|
-
.sd-table-cell--shadow-top:before {
|
|
761
|
-
bottom: -1px;
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
.sd-table-cell--shadow-bottom:after {
|
|
765
|
-
bottom: -10px;
|
|
766
|
-
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
/* fix that shows line on top of table-cell */
|
|
770
|
-
|
|
771
|
-
.sd-table-cell--shadow-bottom:before {
|
|
772
|
-
top: -1px;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
.sd-table-cell--shadow-left:after {
|
|
776
|
-
left: -10px;
|
|
777
|
-
background-image: linear-gradient(to left, var(--tw-gradient-stops));
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
.sd-table-cell--shadow-right:after {
|
|
781
|
-
right: -10px;
|
|
782
|
-
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
.sd-table-cell--bg-white {
|
|
786
|
-
|
|
787
|
-
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
.sd-table-cell--bg-primary-100 {
|
|
791
|
-
|
|
792
|
-
background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
.sd-table-cell--bg-neutral-100 {
|
|
796
|
-
|
|
797
|
-
background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */;
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* A table is organized structured content, used for scanning, comparing, and analyzing the data.
|
|
802
|
-
* @name sd-table
|
|
803
|
-
* @status stable
|
|
804
|
-
* @since 1.13
|
|
805
|
-
*/
|
|
806
|
-
|
|
807
|
-
/*
|
|
808
|
-
* Remove inherited styles from table before applying our styles.
|
|
809
|
-
*/
|
|
810
|
-
|
|
811
|
-
.sd-table,
|
|
812
|
-
.sd-prose table {
|
|
813
|
-
all: unset;
|
|
814
|
-
display: table;
|
|
815
|
-
border-collapse: collapse;
|
|
816
|
-
--tw-border-spacing-x: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
817
|
-
--tw-border-spacing-y: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
818
|
-
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
.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 {
|
|
822
|
-
position: relative;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
/* plop:style */
|
|
826
|
-
|
|
1
|
+
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@import url('./display.css');
|
|
3
|
+
@import url('./headline.css');
|
|
4
|
+
@import url('./interactive.css');
|
|
5
|
+
@import url('./leadtext.css');
|
|
6
|
+
@import url('./list.css');
|
|
7
|
+
@import url('./paragraph.css');
|
|
8
|
+
@import url('./media.css');
|
|
9
|
+
@import url('./table-cell.css');
|
|
10
|
+
@import url('./table.css');
|
|
11
|
+
@layer properties;
|
|
827
12
|
.sd-prose {
|
|
828
|
-
/* Optimize for reading. */
|
|
829
13
|
max-width: 80ch;
|
|
830
14
|
text-align: left;
|
|
831
15
|
}
|
|
832
|
-
|
|
833
|
-
/* Add default spacings */
|
|
834
|
-
|
|
835
16
|
.sd-prose > *:not(:first-child) {
|
|
836
|
-
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
/* First element has no margin-top */
|
|
840
|
-
|
|
17
|
+
margin-top: var(--sd-spacing-4);
|
|
18
|
+
}
|
|
841
19
|
.sd-prose > *:first-child {
|
|
842
|
-
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
/* headings after a heading have a smaller margin-top */
|
|
846
|
-
|
|
20
|
+
margin-top: calc(var(--sd-spacing-1) * 0);
|
|
21
|
+
}
|
|
847
22
|
.sd-prose > :is(h1, h2, h3, h4, h5):not(#_) + :is(h1, h2, h3, h4, h5) {
|
|
848
|
-
|
|
849
|
-
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
|
23
|
+
margin-top: var(--sd-spacing-2);
|
|
850
24
|
}
|
|
851
|
-
|
|
852
|
-
/* Headlines after other non-headlines have a larger margin-top */
|
|
853
|
-
|
|
854
25
|
.sd-prose > *:not(:is(h1, h2, h3, h4, h5)) + :is(h1, h2, h3, h4, h5):not(#_) {
|
|
855
|
-
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
.sd-prose > figure + *:not(#_),
|
|
861
|
-
.sd-prose > img + *:not(#_) {
|
|
862
|
-
margin-top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
/* Add styles for elements that are not based on existing CSS styles */
|
|
866
|
-
|
|
26
|
+
margin-top: var(--sd-spacing-8);
|
|
27
|
+
}
|
|
28
|
+
.sd-prose > figure + *:not(#_), .sd-prose > img + *:not(#_) {
|
|
29
|
+
margin-top: var(--sd-spacing-6);
|
|
30
|
+
}
|
|
867
31
|
.sd-prose hr {
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
}
|
|
873
|
-
|
|
32
|
+
height: calc(var(--sd-spacing-1) * 0);
|
|
33
|
+
border-top-style: var(--tw-border-style);
|
|
34
|
+
border-top-width: 1px;
|
|
35
|
+
border-color: var(--sd-color-border-neutral-500, var(--sd-color-neutral-500));
|
|
36
|
+
}
|
|
874
37
|
.sd-prose pre {
|
|
875
|
-
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
}
|
|
882
|
-
|
|
38
|
+
overflow: auto;
|
|
39
|
+
}
|
|
40
|
+
.sd-prose blockquote, .sd-prose blockquote > * {
|
|
41
|
+
font-size: var(--sd-text-xl);
|
|
42
|
+
line-height: var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)));
|
|
43
|
+
}
|
|
883
44
|
.sd-prose blockquote:has(*) *:first-child::before, .sd-prose blockquote:not(:has(*))::before {
|
|
884
45
|
content: open-quote;
|
|
885
46
|
display: inline;
|
|
886
47
|
}
|
|
887
|
-
|
|
888
48
|
.sd-prose blockquote:has(*) *:first-child::after, .sd-prose blockquote:not(:has(*))::after {
|
|
889
49
|
content: close-quote;
|
|
890
50
|
display: inline;
|
|
891
51
|
}
|
|
892
|
-
|
|
893
|
-
/* Fixes for other elements */
|
|
894
|
-
|
|
895
52
|
.sd-prose > :is(ul, ol):not(#_) {
|
|
896
|
-
|
|
897
|
-
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
898
|
-
padding-bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
|
53
|
+
padding-block: calc(var(--sd-spacing-1) * 0);
|
|
899
54
|
}
|
|
900
|
-
|
|
901
|
-
/* Inverted styles */
|
|
902
|
-
|
|
903
55
|
.sd-prose--inverted hr {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
}
|
|
907
|
-
|
|
56
|
+
border-color: var(--sd-color-border-white, var(--sd-color-white));
|
|
57
|
+
}
|
|
908
58
|
.sd-prose--inverted pre {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
/* Full width styles */
|
|
914
|
-
|
|
59
|
+
color: var(--sd-color-text-white, var(--sd-color-white));
|
|
60
|
+
}
|
|
915
61
|
.sd-prose--full-width {
|
|
916
62
|
max-width: unset;
|
|
917
63
|
}
|
|
64
|
+
@property --tw-border-style {
|
|
65
|
+
syntax: "*";
|
|
66
|
+
inherits: false;
|
|
67
|
+
initial-value: solid;
|
|
68
|
+
}
|
|
69
|
+
@layer properties {
|
|
70
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
71
|
+
*, ::before, ::after, ::backdrop {
|
|
72
|
+
--tw-border-style: solid;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|