@solid-design-system/styles 1.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/LICENSE.md +10 -0
- package/README.md +8 -0
- package/cdn/modules/chip.css +1 -0
- package/cdn/modules/container.css +1 -0
- package/cdn/modules/copyright.css +1 -0
- package/cdn/modules/display.css +1 -0
- package/cdn/modules/flag.css +1 -0
- package/cdn/modules/footnotes.css +1 -0
- package/cdn/modules/headline.css +1 -0
- package/cdn/modules/hidden-links.css +1 -0
- package/cdn/modules/interactive.css +1 -0
- package/cdn/modules/leadtext.css +1 -0
- package/cdn/modules/list.css +1 -0
- package/cdn/modules/mark.css +1 -0
- package/cdn/modules/media.css +1 -0
- package/cdn/modules/meta.css +1 -0
- package/cdn/modules/paragraph.css +1 -0
- package/cdn/modules/prose.css +1 -0
- package/cdn/modules/table-cell.css +1 -0
- package/cdn/modules/table.css +1 -0
- package/cdn/solid-styles.css +1 -0
- package/cdn-versioned/modules/chip.css +1 -0
- package/cdn-versioned/modules/container.css +1 -0
- package/cdn-versioned/modules/copyright.css +1 -0
- package/cdn-versioned/modules/display.css +1 -0
- package/cdn-versioned/modules/flag.css +1 -0
- package/cdn-versioned/modules/footnotes.css +1 -0
- package/cdn-versioned/modules/headline.css +1 -0
- package/cdn-versioned/modules/hidden-links.css +1 -0
- package/cdn-versioned/modules/interactive.css +1 -0
- package/cdn-versioned/modules/leadtext.css +1 -0
- package/cdn-versioned/modules/list.css +1 -0
- package/cdn-versioned/modules/mark.css +1 -0
- package/cdn-versioned/modules/media.css +1 -0
- package/cdn-versioned/modules/meta.css +1 -0
- package/cdn-versioned/modules/paragraph.css +1 -0
- package/cdn-versioned/modules/prose.css +1 -0
- package/cdn-versioned/modules/table-cell.css +1 -0
- package/cdn-versioned/modules/table.css +1 -0
- package/cdn-versioned/solid-styles.css +1 -0
- package/dist/modules/chip.css +61 -0
- package/dist/modules/container.css +184 -0
- package/dist/modules/copyright.css +63 -0
- package/dist/modules/display.css +70 -0
- package/dist/modules/flag.css +59 -0
- package/dist/modules/footnotes.css +42 -0
- package/dist/modules/headline.css +237 -0
- package/dist/modules/hidden-links.css +57 -0
- package/dist/modules/interactive.css +105 -0
- package/dist/modules/leadtext.css +43 -0
- package/dist/modules/list.css +152 -0
- package/dist/modules/mark.css +15 -0
- package/dist/modules/media.css +33 -0
- package/dist/modules/meta.css +49 -0
- package/dist/modules/paragraph.css +28 -0
- package/dist/modules/prose.css +852 -0
- package/dist/modules/table-cell.css +186 -0
- package/dist/modules/table.css +24 -0
- package/dist/solid-styles.css +1348 -0
- package/dist-versioned/modules/chip.css +61 -0
- package/dist-versioned/modules/container.css +184 -0
- package/dist-versioned/modules/copyright.css +63 -0
- package/dist-versioned/modules/display.css +70 -0
- package/dist-versioned/modules/flag.css +59 -0
- package/dist-versioned/modules/footnotes.css +42 -0
- package/dist-versioned/modules/headline.css +237 -0
- package/dist-versioned/modules/hidden-links.css +57 -0
- package/dist-versioned/modules/interactive.css +105 -0
- package/dist-versioned/modules/leadtext.css +43 -0
- package/dist-versioned/modules/list.css +152 -0
- package/dist-versioned/modules/mark.css +15 -0
- package/dist-versioned/modules/media.css +33 -0
- package/dist-versioned/modules/meta.css +49 -0
- package/dist-versioned/modules/paragraph.css +28 -0
- package/dist-versioned/modules/prose.css +852 -0
- package/dist-versioned/modules/table-cell.css +186 -0
- package/dist-versioned/modules/table.css +24 -0
- package/dist-versioned/solid-styles.css +1348 -0
- package/package.json +68 -0
@@ -0,0 +1,237 @@
|
|
1
|
+
/**
|
2
|
+
* 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.
|
3
|
+
* @name sd-1-0-0-next-1-headline
|
4
|
+
* @status stable
|
5
|
+
* @since 1.16
|
6
|
+
* @variant { 3xl | xl | lg | base } sd-1-0-0-next-1-headline--size-... The headline's size.
|
7
|
+
* @boolean sd-1-0-0-next-1-headline--inverted Inverts the headline text.
|
8
|
+
* @boolean sd-1-0-0-next-1-headline--inline Sets inline behavior. Used exclusively when an sd-icon or other component is present. See usage <a href="#inline">here.</a>
|
9
|
+
*/
|
10
|
+
|
11
|
+
.sd-1-0-0-next-1-headline,
|
12
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5) {
|
13
|
+
|
14
|
+
display: flex;
|
15
|
+
|
16
|
+
font-weight: 700;
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */
|
21
|
+
}
|
22
|
+
|
23
|
+
.sd-1-0-0-next-1-headline sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
24
|
+
|
25
|
+
flex-shrink: 0;
|
26
|
+
|
27
|
+
font-size: 3rem;
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */
|
32
|
+
}
|
33
|
+
|
34
|
+
@media (min-width: 640px) {
|
35
|
+
|
36
|
+
.sd-1-0-0-next-1-headline sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5) sd-icon {
|
37
|
+
|
38
|
+
margin-top: var(--sd-spacing-2, 0.5rem) /* 8px */
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline,
|
43
|
+
.sd-1-0-0-next-1-headline:is(h1):not(.sd-1-0-0-next-1-headline),
|
44
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline,
|
45
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-0-0-next-1-headline) {
|
46
|
+
|
47
|
+
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
48
|
+
|
49
|
+
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
50
|
+
|
51
|
+
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */
|
52
|
+
}
|
53
|
+
|
54
|
+
@media (min-width: 640px) {
|
55
|
+
|
56
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline,
|
57
|
+
.sd-1-0-0-next-1-headline:is(h1):not(.sd-1-0-0-next-1-headline),
|
58
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline,
|
59
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-0-0-next-1-headline) {
|
60
|
+
|
61
|
+
font-size: var(--sd-font-size-4xl, 2.5rem) /* 40px */
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline sd-icon, .sd-1-0-0-next-1-headline:is(h1):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-0-0-next-1-headline) sd-icon {
|
66
|
+
|
67
|
+
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1)
|
68
|
+
}
|
69
|
+
|
70
|
+
@media (min-width: 640px) {
|
71
|
+
|
72
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline sd-icon, .sd-1-0-0-next-1-headline:is(h1):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h1):not(.sd-1-0-0-next-1-headline) sd-icon {
|
73
|
+
|
74
|
+
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-3xl,
|
79
|
+
.sd-1-0-0-next-1-headline:is(h2):not(.sd-1-0-0-next-1-headline),
|
80
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-3xl,
|
81
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-0-0-next-1-headline) {
|
82
|
+
|
83
|
+
gap: var(--sd-spacing-4, 1rem) /* 16px */;
|
84
|
+
|
85
|
+
font-size: var(--sd-font-size-2xl, 1.75rem) /* 28px */;
|
86
|
+
|
87
|
+
line-height: var(--sd-line-height-tight, 120%) /* Used for display and large titles */
|
88
|
+
}
|
89
|
+
|
90
|
+
@media (min-width: 640px) {
|
91
|
+
|
92
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-3xl,
|
93
|
+
.sd-1-0-0-next-1-headline:is(h2):not(.sd-1-0-0-next-1-headline),
|
94
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-3xl,
|
95
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-0-0-next-1-headline) {
|
96
|
+
|
97
|
+
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-3xl sd-icon, .sd-1-0-0-next-1-headline:is(h2):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-3xl sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-0-0-next-1-headline) sd-icon {
|
102
|
+
|
103
|
+
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1)
|
104
|
+
}
|
105
|
+
|
106
|
+
@media (min-width: 640px) {
|
107
|
+
|
108
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-3xl sd-icon, .sd-1-0-0-next-1-headline:is(h2):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-3xl sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h2):not(.sd-1-0-0-next-1-headline) sd-icon {
|
109
|
+
|
110
|
+
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-xl,
|
115
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-lg,
|
116
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-base,
|
117
|
+
.sd-1-0-0-next-1-headline:is(h3, h4, h5):not(.sd-1-0-0-next-1-headline),
|
118
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-xl,
|
119
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-lg,
|
120
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-base,
|
121
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-0-0-next-1-headline) {
|
122
|
+
|
123
|
+
gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
128
|
+
}
|
129
|
+
|
130
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-xl sd-icon, .sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-lg sd-icon, .sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-base sd-icon, .sd-1-0-0-next-1-headline:is(h3, h4, h5):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-xl sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-lg sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-base sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h3, h4, h5):not(.sd-1-0-0-next-1-headline) sd-icon {
|
131
|
+
|
132
|
+
font-size: 2rem
|
133
|
+
}
|
134
|
+
|
135
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-xl,
|
136
|
+
.sd-1-0-0-next-1-headline:is(h3):not(.sd-1-0-0-next-1-headline),
|
137
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-xl,
|
138
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-0-0-next-1-headline) {
|
139
|
+
|
140
|
+
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */
|
141
|
+
}
|
142
|
+
|
143
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-xl sd-icon, .sd-1-0-0-next-1-headline:is(h3):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-xl sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-0-0-next-1-headline) sd-icon {
|
144
|
+
|
145
|
+
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */
|
146
|
+
}
|
147
|
+
|
148
|
+
@media (min-width: 640px) {
|
149
|
+
|
150
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-xl sd-icon, .sd-1-0-0-next-1-headline:is(h3):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-xl sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h3):not(.sd-1-0-0-next-1-headline) sd-icon {
|
151
|
+
|
152
|
+
margin-top: var(--sd-spacing-0-5, 0.125rem) /* 2px */
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-lg,
|
157
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-base,
|
158
|
+
.sd-1-0-0-next-1-headline:is(h4, h5):not(.sd-1-0-0-next-1-headline),
|
159
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-lg,
|
160
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-base,
|
161
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h4, h5):not(.sd-1-0-0-next-1-headline) {
|
162
|
+
|
163
|
+
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */
|
164
|
+
}
|
165
|
+
|
166
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-lg,
|
167
|
+
.sd-1-0-0-next-1-headline:is(h4),
|
168
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-lg,
|
169
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h4) {
|
170
|
+
|
171
|
+
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */
|
172
|
+
}
|
173
|
+
|
174
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-lg sd-icon, .sd-1-0-0-next-1-headline:is(h4) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-lg sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
175
|
+
|
176
|
+
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */
|
177
|
+
}
|
178
|
+
|
179
|
+
@media (min-width: 640px) {
|
180
|
+
|
181
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-lg sd-icon, .sd-1-0-0-next-1-headline:is(h4) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-lg sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h4) sd-icon {
|
182
|
+
|
183
|
+
margin-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-base,
|
188
|
+
.sd-1-0-0-next-1-headline:is(h5):not(.sd-1-0-0-next-1-headline),
|
189
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-base,
|
190
|
+
.sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-0-0-next-1-headline) {
|
191
|
+
|
192
|
+
font-size: var(--sd-font-size-base, 1rem) /* 16px */
|
193
|
+
}
|
194
|
+
|
195
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-base sd-icon, .sd-1-0-0-next-1-headline:is(h5):not(.sd-1-0-0-next-1-headline) sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-base sd-icon, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-0-0-next-1-headline) sd-icon {
|
196
|
+
|
197
|
+
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1)
|
198
|
+
}
|
199
|
+
|
200
|
+
.sd-1-0-0-next-1-headline.sd-1-0-0-next-1-headline--size-base mark, .sd-1-0-0-next-1-headline:is(h5):not(.sd-1-0-0-next-1-headline) mark, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5).sd-1-0-0-next-1-headline--size-base mark, .sd-1-0-0-next-1-prose :is(h1, h2, h3, h4, h5):is(h5):not(.sd-1-0-0-next-1-headline) mark {
|
201
|
+
|
202
|
+
color: inherit
|
203
|
+
}
|
204
|
+
|
205
|
+
.sd-1-0-0-next-1-headline--inline {
|
206
|
+
|
207
|
+
display: inline-block
|
208
|
+
}
|
209
|
+
|
210
|
+
.sd-1-0-0-next-1-headline--inline sd-icon {
|
211
|
+
|
212
|
+
margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
213
|
+
|
214
|
+
margin-top: calc(var(--sd-spacing-1, 0.25rem) /* 4px */ * -1);
|
215
|
+
|
216
|
+
vertical-align: middle
|
217
|
+
}
|
218
|
+
|
219
|
+
.sd-1-0-0-next-1-headline--inline:is(.sd-1-0-0-next-1-headline--size-xl, .sd-1-0-0-next-1-headline--size-lg, .sd-1-0-0-next-1-headline--size-base) sd-icon {
|
220
|
+
|
221
|
+
margin-right: var(--sd-spacing-0-5, 0.125rem) /* 2px */
|
222
|
+
}
|
223
|
+
|
224
|
+
.sd-1-0-0-next-1-headline--inverted:not(#_),
|
225
|
+
.sd-1-0-0-next-1-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-0-0-next-1-headline):not(#_) {
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
230
|
+
}
|
231
|
+
|
232
|
+
.sd-1-0-0-next-1-headline--inverted:not(#_) sd-icon, .sd-1-0-0-next-1-prose--inverted :is(h1, h2, h3, h4, h5):not(.sd-1-0-0-next-1-headline):not(#_) sd-icon {
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
237
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/**
|
2
|
+
* Hidden links can be used to show links only for keyboard users.
|
3
|
+
* @name sd-1-0-0-next-1-hidden-links
|
4
|
+
* @status stable
|
5
|
+
* @since 3.15.0
|
6
|
+
* @boolean sd-1-0-0-next-1-hidden-links--multiple Adapts styling for multiple skip links.
|
7
|
+
* @boolean sd-1-0-0-next-1-hidden-links--debug Always show the links for debugging purposes.
|
8
|
+
*/
|
9
|
+
|
10
|
+
:lang(en) {
|
11
|
+
--sd-hidden-links-title: 'Jump to';
|
12
|
+
}
|
13
|
+
|
14
|
+
:lang(de) {
|
15
|
+
--sd-hidden-links-title: 'Springe zu';
|
16
|
+
}
|
17
|
+
|
18
|
+
.sd-1-0-0-next-1-hidden-links:not(:focus-within):not(.sd-1-0-0-next-1-hidden-links--debug) {
|
19
|
+
position: absolute;
|
20
|
+
width: 1px;
|
21
|
+
height: 1px;
|
22
|
+
padding: 0;
|
23
|
+
margin: -1px;
|
24
|
+
overflow: hidden;
|
25
|
+
clip: rect(0, 0, 0, 0);
|
26
|
+
white-space: nowrap;
|
27
|
+
border-width: 0;
|
28
|
+
}
|
29
|
+
|
30
|
+
.sd-1-0-0-next-1-hidden-links {
|
31
|
+
position: absolute;
|
32
|
+
top: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
33
|
+
left: var(--sd-spacing-6, 1.5rem) /* 24px */;
|
34
|
+
}
|
35
|
+
|
36
|
+
.sd-1-0-0-next-1-hidden-links--multiple {
|
37
|
+
display: flex;
|
38
|
+
flex-direction: column;
|
39
|
+
|
40
|
+
background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode)
Used for inverted button */;
|
41
|
+
padding-left: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
42
|
+
padding-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
43
|
+
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
44
|
+
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
45
|
+
--tw-shadow: var(--sd-shadow, 0px 1px 3px 0px rgb(81 81 81 / 75%));
|
46
|
+
--tw-shadow-colored: 0px 1px 3px 0px var(--tw-shadow-color);
|
47
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
48
|
+
}
|
49
|
+
|
50
|
+
.sd-1-0-0-next-1-hidden-links--multiple:before {
|
51
|
+
padding-left: var(--sd-spacing-4, 1rem) /* 16px */;
|
52
|
+
padding-right: var(--sd-spacing-4, 1rem) /* 16px */;
|
53
|
+
padding-top: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
54
|
+
padding-bottom: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
55
|
+
font-weight: 700;
|
56
|
+
content: var(--sd-hidden-links-title);
|
57
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
/**
|
2
|
+
* Generates basic styles for interactive elements.
|
3
|
+
* @name sd-1-0-0-next-1-interactive
|
4
|
+
* @status stable
|
5
|
+
* @since 1.11
|
6
|
+
* @boolean sd-1-0-0-next-1-interactive--disabled Makes an element look disabled.
|
7
|
+
* @boolean sd-1-0-0-next-1-interactive--inverted Inverts the colors of an element.
|
8
|
+
* @boolean sd-1-0-0-next-1-interactive--reset Resets the default browser styles of e.g., a button.
|
9
|
+
*/
|
10
|
+
|
11
|
+
.sd-1-0-0-next-1-prose a--reset, .sd-1-0-0-next-1-interactive--reset {
|
12
|
+
all: unset;
|
13
|
+
outline: revert;
|
14
|
+
}
|
15
|
+
|
16
|
+
.sd-1-0-0-next-1-prose a,
|
17
|
+
.sd-1-0-0-next-1-interactive {
|
18
|
+
cursor: pointer;
|
19
|
+
|
20
|
+
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
21
|
+
text-decoration-line: underline;
|
22
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
23
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
24
|
+
transition-duration: 150ms;
|
25
|
+
}
|
26
|
+
|
27
|
+
.sd-1-0-0-next-1-prose a:hover:not([disabled]),
|
28
|
+
.sd-1-0-0-next-1-interactive:hover:not([disabled]) {
|
29
|
+
|
30
|
+
color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
|
31
|
+
}
|
32
|
+
|
33
|
+
.sd-1-0-0-next-1-prose a:active:not([disabled]),
|
34
|
+
.sd-1-0-0-next-1-interactive:active:not([disabled]) {
|
35
|
+
|
36
|
+
color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
|
37
|
+
}
|
38
|
+
|
39
|
+
.sd-1-0-0-next-1-prose a:is(.sd-1-0-0-next-1-interactive), .sd-1-0-0-next-1-interactive:is(.sd-1-0-0-next-1-interactive) {
|
40
|
+
text-decoration-line: none;
|
41
|
+
}
|
42
|
+
|
43
|
+
.sd-1-0-0-next-1-prose a:focus-visible, .sd-1-0-0-next-1-interactive:focus-visible {
|
44
|
+
outline-style: solid;
|
45
|
+
outline-width: 2px;
|
46
|
+
outline-offset: 2px;
|
47
|
+
outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
|
48
|
+
}
|
49
|
+
|
50
|
+
.sd-1-0-0-next-1-prose a--disabled,
|
51
|
+
.sd-1-0-0-next-1-prose a[disabled],
|
52
|
+
.sd-1-0-0-next-1-prose a[href=''],
|
53
|
+
.sd-1-0-0-next-1-interactive--disabled,
|
54
|
+
.sd-1-0-0-next-1-interactive[disabled],
|
55
|
+
.sd-1-0-0-next-1-interactive[href=''] {
|
56
|
+
cursor: not-allowed;
|
57
|
+
|
58
|
+
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
59
|
+
}
|
60
|
+
|
61
|
+
.sd-1-0-0-next-1-prose a--disabled:hover:not([disabled]),
|
62
|
+
.sd-1-0-0-next-1-prose a[disabled]:hover:not([disabled]),
|
63
|
+
.sd-1-0-0-next-1-prose a[href='']:hover:not([disabled]),
|
64
|
+
.sd-1-0-0-next-1-interactive--disabled:hover:not([disabled]),
|
65
|
+
.sd-1-0-0-next-1-interactive[disabled]:hover:not([disabled]),
|
66
|
+
.sd-1-0-0-next-1-interactive[href='']:hover:not([disabled]) {
|
67
|
+
|
68
|
+
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
69
|
+
}
|
70
|
+
|
71
|
+
.sd-1-0-0-next-1-prose a--disabled:active:not([disabled]),
|
72
|
+
.sd-1-0-0-next-1-prose a[disabled]:active:not([disabled]),
|
73
|
+
.sd-1-0-0-next-1-prose a[href='']:active:not([disabled]),
|
74
|
+
.sd-1-0-0-next-1-interactive--disabled:active:not([disabled]),
|
75
|
+
.sd-1-0-0-next-1-interactive[disabled]:active:not([disabled]),
|
76
|
+
.sd-1-0-0-next-1-interactive[href='']:active:not([disabled]) {
|
77
|
+
|
78
|
+
color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
|
79
|
+
}
|
80
|
+
|
81
|
+
.sd-1-0-0-next-1-prose--inverted a,
|
82
|
+
.sd-1-0-0-next-1-interactive--inverted {
|
83
|
+
|
84
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
85
|
+
}
|
86
|
+
|
87
|
+
.sd-1-0-0-next-1-prose--inverted a:hover:not([disabled]),
|
88
|
+
.sd-1-0-0-next-1-interactive--inverted:hover:not([disabled]) {
|
89
|
+
|
90
|
+
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 */;
|
91
|
+
}
|
92
|
+
|
93
|
+
.sd-1-0-0-next-1-prose--inverted a:active:not([disabled]),
|
94
|
+
.sd-1-0-0-next-1-interactive--inverted:active:not([disabled]) {
|
95
|
+
|
96
|
+
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
97
|
+
Used for inverted pressed interaction text link */;
|
98
|
+
}
|
99
|
+
|
100
|
+
.sd-1-0-0-next-1-prose--inverted a:focus-visible, .sd-1-0-0-next-1-interactive--inverted:focus-visible {
|
101
|
+
outline-style: solid;
|
102
|
+
outline-width: 2px;
|
103
|
+
outline-offset: 2px;
|
104
|
+
outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */;
|
105
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* Leadtext is used for text that should be highlighted and a focal point of the page.
|
3
|
+
* @name sd-1-0-0-next-1-leadtext
|
4
|
+
* @status stable
|
5
|
+
* @since 1.7
|
6
|
+
* @variant { lg } sd-1-0-0-next-1-leadtext--size-... The leadtext's size.
|
7
|
+
* @boolean sd-1-0-0-next-1-leadtext--inverted Inverts the leadtext text.
|
8
|
+
*/
|
9
|
+
|
10
|
+
.sd-1-0-0-next-1-prose > .sd-1-0-0-next-1-leadtext,
|
11
|
+
.sd-1-0-0-next-1-leadtext {
|
12
|
+
|
13
|
+
font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
|
14
|
+
|
15
|
+
font-weight: 400;
|
16
|
+
|
17
|
+
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
22
|
+
}
|
23
|
+
|
24
|
+
.sd-1-0-0-next-1-prose > .sd-1-0-0-next-1-leadtext--size-lg, .sd-1-0-0-next-1-leadtext--size-lg {
|
25
|
+
|
26
|
+
font-size: var(--sd-font-size-lg, 1.25rem) /* 20px */;
|
27
|
+
|
28
|
+
font-weight: 400;
|
29
|
+
|
30
|
+
line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
|
35
|
+
}
|
36
|
+
|
37
|
+
.sd-1-0-0-next-1-prose--inverted > .sd-1-0-0-next-1-leadtext,
|
38
|
+
.sd-1-0-0-next-1-leadtext--inverted {
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
|
43
|
+
}
|
@@ -0,0 +1,152 @@
|
|
1
|
+
/**
|
2
|
+
* Generates basic styles for list elements.
|
3
|
+
* @name sd-1-0-0-next-1-list
|
4
|
+
* @status stable
|
5
|
+
* @since 1.39.0
|
6
|
+
* @boolean sd-1-0-0-next-1-list--inverted Inverts the list text.
|
7
|
+
*/
|
8
|
+
|
9
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon),
|
10
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul) {
|
11
|
+
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
12
|
+
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
13
|
+
text-align: left;
|
14
|
+
}
|
15
|
+
|
16
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) li:not(:first-child), .sd-1-0-0-next-1-prose > :is(ol, ul) li:not(:first-child) {
|
17
|
+
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
18
|
+
}
|
19
|
+
|
20
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ol,
|
21
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ul,
|
22
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul) ol,
|
23
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul) ul {
|
24
|
+
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Counter handling for ordered lists. */
|
28
|
+
|
29
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ol) > li, .sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ol > li, .sd-1-0-0-next-1-prose > :is(ol, ul):is(ol) > li, .sd-1-0-0-next-1-prose > :is(ol, ul) ol > li {
|
30
|
+
counter-increment: item;
|
31
|
+
}
|
32
|
+
|
33
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ol) > li:before, .sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ol > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul):is(ol) > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul) ol > li:before {
|
34
|
+
content: counters(item, '.') '. ';
|
35
|
+
}
|
36
|
+
|
37
|
+
/* Add second level */
|
38
|
+
|
39
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ol),
|
40
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ol) > li > ol,
|
41
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ol > li > ol,
|
42
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul):is(ol),
|
43
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul):is(ol) > li > ol,
|
44
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul) ol > li > ol {
|
45
|
+
counter-reset: item;
|
46
|
+
}
|
47
|
+
|
48
|
+
/* Ordered lists inside unordered lists. */
|
49
|
+
|
50
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ul) > li > ol,
|
51
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ul > li > ol,
|
52
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul):is(ul) > li > ol,
|
53
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul) ul > li > ol {
|
54
|
+
counter-set: item 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Styling */
|
58
|
+
|
59
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) li, .sd-1-0-0-next-1-prose > :is(ol, ul) li {
|
60
|
+
display: table;
|
61
|
+
}
|
62
|
+
|
63
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) li:before, .sd-1-0-0-next-1-prose > :is(ol, ul) li:before {
|
64
|
+
display: table-cell;
|
65
|
+
padding-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
|
66
|
+
}
|
67
|
+
|
68
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ul),
|
69
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ul,
|
70
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul):is(ul),
|
71
|
+
.sd-1-0-0-next-1-prose > :is(ol, ul) ul {
|
72
|
+
list-style-type: '';
|
73
|
+
}
|
74
|
+
|
75
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ul):not(.sd-1-0-0-next-1-list--icon) > li:before, .sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ul > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul):is(ul):not(.sd-1-0-0-next-1-list--icon) > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul) ul > li:before {
|
76
|
+
content: '\2022';
|
77
|
+
}
|
78
|
+
|
79
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ul):not(.sd-1-0-0-next-1-list--icon) > li > ul > li:before, .sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ul > li > ul > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul):is(ul):not(.sd-1-0-0-next-1-list--icon) > li > ul > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul) ul > li > ul > li:before {
|
80
|
+
content: '\002B1D';
|
81
|
+
}
|
82
|
+
|
83
|
+
.sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon):is(ul):not(.sd-1-0-0-next-1-list--icon) > li > ul > li > ul > li:before, .sd-1-0-0-next-1-list:not(.sd-1-0-0-next-1-list--icon) ul > li > ul > li > ul > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul):is(ul):not(.sd-1-0-0-next-1-list--icon) > li > ul > li > ul > li:before, .sd-1-0-0-next-1-prose > :is(ol, ul) ul > li > ul > li > ul > li:before {
|
84
|
+
content: '\2010';
|
85
|
+
}
|
86
|
+
|
87
|
+
.sd-1-0-0-next-1-list--icon {
|
88
|
+
padding-top: var(--sd-spacing-4, 1rem) /* 16px */;
|
89
|
+
padding-bottom: var(--sd-spacing-4, 1rem) /* 16px */;
|
90
|
+
text-align: left;
|
91
|
+
}
|
92
|
+
|
93
|
+
.sd-1-0-0-next-1-list--icon li sd-icon:first-of-type,
|
94
|
+
.sd-1-0-0-next-1-list--icon li .sd-1-0-0-next-1-list--icon__icon:first-of-type {
|
95
|
+
|
96
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
97
|
+
}
|
98
|
+
|
99
|
+
.sd-1-0-0-next-1-list--icon {
|
100
|
+
list-style-type: '';
|
101
|
+
}
|
102
|
+
|
103
|
+
/* Safari removes list semantics of lists that don’t look like lists (list-style: none). The only way to remove list
|
104
|
+
styles without affecting semantics is to set list-style-type to an empty string.
|
105
|
+
https://www.matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics */
|
106
|
+
|
107
|
+
.sd-1-0-0-next-1-list--icon > li:first-of-type {
|
108
|
+
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
109
|
+
}
|
110
|
+
|
111
|
+
.sd-1-0-0-next-1-list--icon li {
|
112
|
+
position: relative;
|
113
|
+
padding-top: var(--sd-spacing-3, 0.75rem) /* 12px */;
|
114
|
+
padding-left: var(--sd-spacing-10, 2.5rem) /* 40px */;
|
115
|
+
line-height: 32px;
|
116
|
+
}
|
117
|
+
|
118
|
+
.sd-1-0-0-next-1-list--icon li > sd-icon:first-of-type,
|
119
|
+
.sd-1-0-0-next-1-list--icon li > .sd-1-0-0-next-1-list--icon__icon:first-of-type {
|
120
|
+
position: absolute;
|
121
|
+
left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
122
|
+
font-size: var(--sd-font-size-3xl, 2rem) /* 32px */;
|
123
|
+
|
124
|
+
color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
|
125
|
+
}
|
126
|
+
|
127
|
+
.sd-1-0-0-next-1-list--icon.sd-1-0-0-next-1-list--horizontal {
|
128
|
+
display: flex;
|
129
|
+
}
|
130
|
+
|
131
|
+
.sd-1-0-0-next-1-list--icon.sd-1-0-0-next-1-list--horizontal li {
|
132
|
+
display: flex;
|
133
|
+
padding-top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
|
134
|
+
}
|
135
|
+
|
136
|
+
.sd-1-0-0-next-1-list--icon.sd-1-0-0-next-1-list--horizontal li:not(:last-child) {
|
137
|
+
margin-right: var(--sd-spacing-8, 2rem) /* 32px */;
|
138
|
+
}
|
139
|
+
|
140
|
+
.sd-1-0-0-next-1-list--inverted,
|
141
|
+
.sd-1-0-0-next-1-prose--inverted > :is(ol, ul) {
|
142
|
+
|
143
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
144
|
+
}
|
145
|
+
|
146
|
+
.sd-1-0-0-next-1-list--inverted li > sd-icon:first-of-type,
|
147
|
+
.sd-1-0-0-next-1-list--inverted li > .sd-1-0-0-next-1-list--icon__icon:first-of-type,
|
148
|
+
.sd-1-0-0-next-1-prose--inverted > :is(ol, ul) li > sd-icon:first-of-type,
|
149
|
+
.sd-1-0-0-next-1-prose--inverted > :is(ol, ul) li > .sd-1-0-0-next-1-list--icon__icon:first-of-type {
|
150
|
+
|
151
|
+
color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
|
152
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* The green accent color can be used to highlight parts of the text.
|
3
|
+
* @name sd-1-0-0-next-1-mark
|
4
|
+
* @status stable
|
5
|
+
* @since 1.7
|
6
|
+
*/
|
7
|
+
|
8
|
+
mark.sd-1-0-0-next-1-mark {
|
9
|
+
|
10
|
+
background-color: transparent;
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-text-opacity, 1)) /* Used for inverted hover interaction button label */
|
15
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* Generates basic styles for media elements.
|
3
|
+
* @name sd-1-0-0-next-1-media
|
4
|
+
* @status stable
|
5
|
+
* @since 2.5.0
|
6
|
+
* @boolean sd-1-0-0-next-1-media--inverted Inverts the figcaption text.
|
7
|
+
*/
|
8
|
+
|
9
|
+
.sd-1-0-0-next-1-prose figure,
|
10
|
+
figure.sd-1-0-0-next-1-media {
|
11
|
+
|
12
|
+
margin: var(--sd-spacing-0, 0px) /* No spacing (manually added) */
|
13
|
+
}
|
14
|
+
|
15
|
+
.sd-1-0-0-next-1-prose figure figcaption, figure.sd-1-0-0-next-1-media figcaption {
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
color: rgb(var(--sd-color-neutral-700, 104 104 104) / var(--tw-text-opacity, 1)) /* Additional text color */
|
20
|
+
}
|
21
|
+
|
22
|
+
.sd-1-0-0-next-1-prose figure figcaption:last-child, figure.sd-1-0-0-next-1-media figcaption:last-child {
|
23
|
+
|
24
|
+
margin-top: var(--sd-spacing-3, 0.75rem) /* 12px */
|
25
|
+
}
|
26
|
+
|
27
|
+
.sd-1-0-0-next-1-prose--inverted figure figcaption, figure.sd-1-0-0-next-1-media--inverted figcaption {
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
|
32
|
+
Used for inverted pressed interaction text link */
|
33
|
+
}
|