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