vitepress-theme-oai 0.1.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/LICENSE +661 -0
- package/README.md +50 -0
- package/package.json +32 -0
- package/theme/components/AsideActions.vue +54 -0
- package/theme/components/NextSteps.vue +64 -0
- package/theme/index.js +17 -0
- package/theme/style.css +1357 -0
package/theme/style.css
ADDED
|
@@ -0,0 +1,1357 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap");
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--vp-font-family-base: "Geist", ui-sans-serif, system-ui, sans-serif;
|
|
5
|
+
--vp-font-family-mono: "SF Mono", "SFMono-Regular", ui-monospace, Consolas, "Liberation Mono", Menlo, monospace;
|
|
6
|
+
|
|
7
|
+
--motion-c-primary: #181818;
|
|
8
|
+
--motion-c-primary-hover: #303030;
|
|
9
|
+
--motion-c-secondary: #5d5d5d;
|
|
10
|
+
--motion-c-tertiary: #8f8f8f;
|
|
11
|
+
--motion-c-neutral: #f9f9f9;
|
|
12
|
+
--motion-c-surface: #ffffff;
|
|
13
|
+
--motion-c-surface-muted: #f3f3f3;
|
|
14
|
+
--motion-c-surface-raised: #fcfcfc;
|
|
15
|
+
--motion-c-border: #ededed;
|
|
16
|
+
--motion-c-border-strong: #cdcdcd;
|
|
17
|
+
--motion-c-on-surface: #0d0d0d;
|
|
18
|
+
--motion-c-on-surface-soft: #282828;
|
|
19
|
+
--motion-c-on-surface-muted: #5d5d5d;
|
|
20
|
+
--motion-c-on-inverse: #ffffff;
|
|
21
|
+
--motion-c-focus: #0169cc;
|
|
22
|
+
--motion-c-info: #0285ff;
|
|
23
|
+
--motion-c-success: #04b84c;
|
|
24
|
+
--motion-c-warning: #e25507;
|
|
25
|
+
--motion-c-caution: #ba8e00;
|
|
26
|
+
--motion-c-danger: #e02e2a;
|
|
27
|
+
--motion-c-discovery: #924ff7;
|
|
28
|
+
--motion-radius-xs: 4px;
|
|
29
|
+
--motion-radius-sm: 6px;
|
|
30
|
+
--motion-radius-md: 8px;
|
|
31
|
+
--motion-radius-lg: 10px;
|
|
32
|
+
--motion-radius-xl: 12px;
|
|
33
|
+
--motion-radius-2xl: 16px;
|
|
34
|
+
--motion-radius-panel: 20px;
|
|
35
|
+
--motion-radius-full: 9999px;
|
|
36
|
+
--motion-space-1: 4px;
|
|
37
|
+
--motion-space-2: 8px;
|
|
38
|
+
--motion-space-3: 12px;
|
|
39
|
+
--motion-space-4: 16px;
|
|
40
|
+
--motion-space-6: 24px;
|
|
41
|
+
--motion-space-8: 32px;
|
|
42
|
+
--motion-space-12: 48px;
|
|
43
|
+
--motion-right-rail-width: 200px;
|
|
44
|
+
--motion-right-rail-offset: 32px;
|
|
45
|
+
--motion-right-rail-top: 96px;
|
|
46
|
+
|
|
47
|
+
--vp-c-bg: var(--motion-c-surface);
|
|
48
|
+
--vp-c-bg-alt: var(--motion-c-neutral);
|
|
49
|
+
--vp-c-bg-elv: var(--motion-c-surface);
|
|
50
|
+
--vp-c-bg-soft: var(--motion-c-surface-muted);
|
|
51
|
+
|
|
52
|
+
--vp-c-text-1: var(--motion-c-on-surface);
|
|
53
|
+
--vp-c-text-2: var(--motion-c-on-surface-soft);
|
|
54
|
+
--vp-c-text-3: var(--motion-c-on-surface-muted);
|
|
55
|
+
|
|
56
|
+
--vp-c-default-1: var(--motion-c-secondary);
|
|
57
|
+
--vp-c-default-2: #767676;
|
|
58
|
+
--vp-c-default-3: var(--motion-c-tertiary);
|
|
59
|
+
--vp-c-default-soft: rgba(13, 13, 13, 0.045);
|
|
60
|
+
|
|
61
|
+
--vp-c-divider: var(--motion-c-border);
|
|
62
|
+
--vp-c-gutter: rgba(13, 13, 13, 0.05);
|
|
63
|
+
|
|
64
|
+
--vp-c-brand-1: var(--motion-c-primary);
|
|
65
|
+
--vp-c-brand-2: var(--motion-c-primary-hover);
|
|
66
|
+
--vp-c-brand-3: #0d0d0d;
|
|
67
|
+
--vp-c-brand-soft: rgba(13, 13, 13, 0.045);
|
|
68
|
+
|
|
69
|
+
--vp-c-tip-1: var(--motion-c-info);
|
|
70
|
+
--vp-c-tip-2: var(--motion-c-focus);
|
|
71
|
+
--vp-c-tip-3: #004f99;
|
|
72
|
+
--vp-c-tip-soft: rgba(2, 133, 255, 0.08);
|
|
73
|
+
|
|
74
|
+
--vp-c-warning-1: var(--motion-c-warning);
|
|
75
|
+
--vp-c-warning-2: #b9480d;
|
|
76
|
+
--vp-c-warning-3: #923b0f;
|
|
77
|
+
--vp-c-warning-soft: rgba(226, 85, 7, 0.08);
|
|
78
|
+
|
|
79
|
+
--vp-c-danger-1: var(--motion-c-danger);
|
|
80
|
+
--vp-c-danger-2: #ba2623;
|
|
81
|
+
--vp-c-danger-3: #911e1b;
|
|
82
|
+
--vp-c-danger-soft: rgba(224, 46, 42, 0.08);
|
|
83
|
+
|
|
84
|
+
--vp-c-success-1: var(--motion-c-success);
|
|
85
|
+
--vp-c-success-2: #008635;
|
|
86
|
+
--vp-c-success-3: #00692a;
|
|
87
|
+
--vp-c-success-soft: rgba(4, 184, 76, 0.08);
|
|
88
|
+
|
|
89
|
+
--vp-sidebar-width: 256px;
|
|
90
|
+
--vp-nav-height: 56px;
|
|
91
|
+
--vp-nav-logo-height: 22px;
|
|
92
|
+
--vp-layout-max-width: 1440px;
|
|
93
|
+
|
|
94
|
+
--vp-shadow-1: 0 0 0 rgba(0, 0, 0, 0);
|
|
95
|
+
--vp-shadow-2: 0 8px 24px rgba(13, 13, 13, 0.04);
|
|
96
|
+
--vp-shadow-3: 0 18px 48px rgba(13, 13, 13, 0.06);
|
|
97
|
+
|
|
98
|
+
--vp-button-brand-border: transparent;
|
|
99
|
+
--vp-button-brand-text: var(--motion-c-on-inverse);
|
|
100
|
+
--vp-button-brand-bg: var(--motion-c-primary);
|
|
101
|
+
--vp-button-brand-hover-border: transparent;
|
|
102
|
+
--vp-button-brand-hover-text: var(--motion-c-on-inverse);
|
|
103
|
+
--vp-button-brand-hover-bg: var(--motion-c-primary-hover);
|
|
104
|
+
--vp-button-brand-active-border: transparent;
|
|
105
|
+
--vp-button-brand-active-text: var(--motion-c-on-inverse);
|
|
106
|
+
--vp-button-brand-active-bg: #0d0d0d;
|
|
107
|
+
|
|
108
|
+
--vp-custom-block-font-size: 14px;
|
|
109
|
+
--vp-custom-block-code-font-size: 13px;
|
|
110
|
+
|
|
111
|
+
--vp-custom-block-tip-border: var(--vp-c-divider);
|
|
112
|
+
--vp-custom-block-tip-text: var(--vp-c-text-1);
|
|
113
|
+
--vp-custom-block-tip-bg: var(--vp-c-tip-soft);
|
|
114
|
+
--vp-custom-block-tip-code-bg: rgba(255, 255, 255, 0.3);
|
|
115
|
+
|
|
116
|
+
--vp-custom-block-warning-border: var(--vp-c-divider);
|
|
117
|
+
--vp-custom-block-warning-text: var(--vp-c-text-1);
|
|
118
|
+
--vp-custom-block-warning-bg: var(--vp-c-warning-soft);
|
|
119
|
+
--vp-custom-block-warning-code-bg: rgba(255, 255, 255, 0.3);
|
|
120
|
+
|
|
121
|
+
--vp-custom-block-danger-border: var(--vp-c-divider);
|
|
122
|
+
--vp-custom-block-danger-text: var(--vp-c-text-1);
|
|
123
|
+
--vp-custom-block-danger-bg: var(--vp-c-danger-soft);
|
|
124
|
+
--vp-custom-block-danger-code-bg: rgba(255, 255, 255, 0.3);
|
|
125
|
+
|
|
126
|
+
--vp-custom-block-info-border: var(--vp-c-divider);
|
|
127
|
+
--vp-custom-block-info-text: var(--vp-c-text-1);
|
|
128
|
+
--vp-custom-block-info-bg: var(--vp-c-default-soft);
|
|
129
|
+
--vp-custom-block-info-code-bg: rgba(255, 255, 255, 0.3);
|
|
130
|
+
|
|
131
|
+
--vp-code-line-height: 20px;
|
|
132
|
+
--vp-code-font-size: 14px;
|
|
133
|
+
--vp-code-color: var(--motion-c-on-surface-soft);
|
|
134
|
+
--vp-code-link-color: var(--motion-c-focus);
|
|
135
|
+
--vp-code-link-hover-color: #004f99;
|
|
136
|
+
--vp-code-bg: rgba(13, 13, 13, 0.045);
|
|
137
|
+
--vp-code-block-bg: var(--motion-c-neutral);
|
|
138
|
+
--vp-code-tab-active-bar-color: var(--motion-c-focus);
|
|
139
|
+
|
|
140
|
+
--vp-badge-tip-border: transparent;
|
|
141
|
+
--vp-badge-tip-text: #004f99;
|
|
142
|
+
--vp-badge-tip-bg: rgba(2, 133, 255, 0.08);
|
|
143
|
+
|
|
144
|
+
--vp-badge-warning-border: transparent;
|
|
145
|
+
--vp-badge-warning-text: var(--vp-c-warning-1);
|
|
146
|
+
--vp-badge-warning-bg: var(--vp-c-warning-soft);
|
|
147
|
+
|
|
148
|
+
--vp-badge-danger-border: transparent;
|
|
149
|
+
--vp-badge-danger-text: var(--vp-c-danger-1);
|
|
150
|
+
--vp-badge-danger-bg: var(--vp-c-danger-soft);
|
|
151
|
+
|
|
152
|
+
--vp-local-search-highlight-bg: var(--motion-c-focus);
|
|
153
|
+
--vp-local-search-result-selected-border: var(--motion-c-focus);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.dark {
|
|
157
|
+
--motion-c-primary: #f3f3f3;
|
|
158
|
+
--motion-c-primary-hover: #ffffff;
|
|
159
|
+
--motion-c-secondary: #8f8f8f;
|
|
160
|
+
--motion-c-tertiary: #5d5d5d;
|
|
161
|
+
--motion-c-neutral: #131313;
|
|
162
|
+
--motion-c-surface: #0d0d0d;
|
|
163
|
+
--motion-c-surface-muted: #181818;
|
|
164
|
+
--motion-c-surface-raised: #101010;
|
|
165
|
+
--motion-c-border: #212121;
|
|
166
|
+
--motion-c-border-strong: #414141;
|
|
167
|
+
--motion-c-on-surface: #ffffff;
|
|
168
|
+
--motion-c-on-surface-soft: #ededed;
|
|
169
|
+
--motion-c-on-surface-muted: #8f8f8f;
|
|
170
|
+
--motion-c-on-inverse: #0d0d0d;
|
|
171
|
+
|
|
172
|
+
--vp-c-bg: var(--motion-c-surface);
|
|
173
|
+
--vp-c-bg-alt: var(--motion-c-neutral);
|
|
174
|
+
--vp-c-bg-elv: var(--motion-c-surface-raised);
|
|
175
|
+
--vp-c-bg-soft: var(--motion-c-surface-muted);
|
|
176
|
+
|
|
177
|
+
--vp-c-text-1: var(--motion-c-on-surface);
|
|
178
|
+
--vp-c-text-2: var(--motion-c-on-surface-soft);
|
|
179
|
+
--vp-c-text-3: var(--motion-c-on-surface-muted);
|
|
180
|
+
|
|
181
|
+
--vp-c-default-1: #8f8f8f;
|
|
182
|
+
--vp-c-default-2: #afafaf;
|
|
183
|
+
--vp-c-default-3: #cdcdcd;
|
|
184
|
+
--vp-c-default-soft: rgba(255, 255, 255, 0.06);
|
|
185
|
+
|
|
186
|
+
--vp-c-divider: var(--motion-c-border);
|
|
187
|
+
--vp-c-gutter: rgba(255, 255, 255, 0.08);
|
|
188
|
+
|
|
189
|
+
--vp-c-brand-1: var(--motion-c-on-surface);
|
|
190
|
+
--vp-c-brand-2: #ededed;
|
|
191
|
+
--vp-c-brand-3: #ffffff;
|
|
192
|
+
--vp-c-brand-soft: rgba(255, 255, 255, 0.08);
|
|
193
|
+
|
|
194
|
+
--vp-c-tip-soft: rgba(2, 133, 255, 0.14);
|
|
195
|
+
--vp-c-warning-soft: rgba(226, 85, 7, 0.14);
|
|
196
|
+
--vp-c-danger-soft: rgba(224, 46, 42, 0.14);
|
|
197
|
+
--vp-c-success-soft: rgba(4, 184, 76, 0.14);
|
|
198
|
+
|
|
199
|
+
--vp-code-color: var(--motion-c-on-surface-soft);
|
|
200
|
+
--vp-code-bg: rgba(255, 255, 255, 0.08);
|
|
201
|
+
--vp-code-block-bg: var(--motion-c-neutral);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
html {
|
|
205
|
+
scroll-padding-top: calc(var(--vp-nav-height) + 16px);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
body {
|
|
209
|
+
font-size: 16px;
|
|
210
|
+
line-height: 1.5;
|
|
211
|
+
color: var(--vp-c-text-1);
|
|
212
|
+
letter-spacing: -0.01em;
|
|
213
|
+
-webkit-font-smoothing: antialiased;
|
|
214
|
+
-moz-osx-font-smoothing: grayscale;
|
|
215
|
+
text-rendering: optimizeLegibility;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.VPNav,
|
|
219
|
+
.VPNavBar,
|
|
220
|
+
.VPNavScreen {
|
|
221
|
+
background: var(--vp-c-bg) !important;
|
|
222
|
+
border-bottom: 1px solid var(--vp-c-gutter);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.dark .VPNav,
|
|
226
|
+
.dark .VPNavBar,
|
|
227
|
+
.dark .VPNavScreen {
|
|
228
|
+
background: var(--vp-c-bg) !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@media (min-width: 960px) {
|
|
232
|
+
/* VitePress makes the nav shell click-through by default.
|
|
233
|
+
On sidebar layouts that lets header clicks land on the sidebar below. */
|
|
234
|
+
.VPNav,
|
|
235
|
+
.VPNavBar.has-sidebar,
|
|
236
|
+
.VPNavBar.has-sidebar .wrapper,
|
|
237
|
+
.VPNavBar.has-sidebar .container,
|
|
238
|
+
.VPNavBar.has-sidebar .title,
|
|
239
|
+
.VPNavBar.has-sidebar .content,
|
|
240
|
+
.VPNavBar.has-sidebar .content-body {
|
|
241
|
+
pointer-events: auto;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.VPNavBar .container,
|
|
246
|
+
.VPNavBar.has-sidebar .content {
|
|
247
|
+
max-width: 1440px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.VPNavBarTitle .title {
|
|
251
|
+
font-size: 18px;
|
|
252
|
+
font-weight: 600;
|
|
253
|
+
letter-spacing: -0.02em;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
@media (min-width: 960px) {
|
|
257
|
+
.VPNav .VPNavBar.has-sidebar .title {
|
|
258
|
+
padding-left: 12px !important;
|
|
259
|
+
padding-right: 12px !important;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.VPNavBarMenuLink {
|
|
264
|
+
display: flex;
|
|
265
|
+
align-items: center;
|
|
266
|
+
height: 28px;
|
|
267
|
+
margin: 0 2px;
|
|
268
|
+
padding: 4px 10px !important;
|
|
269
|
+
border-radius: var(--motion-radius-md);
|
|
270
|
+
font-size: 14px !important;
|
|
271
|
+
line-height: 20px !important;
|
|
272
|
+
font-weight: 400 !important;
|
|
273
|
+
color: var(--vp-c-text-2);
|
|
274
|
+
letter-spacing: -0.01em;
|
|
275
|
+
transition: background-color 0.16s ease, color 0.16s ease;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.VPNavBarMenuLink > span {
|
|
279
|
+
line-height: 20px;
|
|
280
|
+
font-weight: 400;
|
|
281
|
+
letter-spacing: -0.01em;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.VPNavBarMenuLink:hover,
|
|
285
|
+
.VPNavBarMenuLink.active {
|
|
286
|
+
background: var(--motion-c-border);
|
|
287
|
+
color: var(--vp-c-text-1);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.VPNavBarSearch {
|
|
291
|
+
flex: 0 1 208px;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
@media (min-width: 960px) {
|
|
295
|
+
.VPNavBar.has-sidebar .menu {
|
|
296
|
+
order: 1;
|
|
297
|
+
margin-left: auto;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.VPNavBar.has-sidebar .search {
|
|
301
|
+
order: 2;
|
|
302
|
+
margin-left: 16px;
|
|
303
|
+
flex: 0 0 208px;
|
|
304
|
+
width: 208px;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.VPNavBar.has-sidebar .search #local-search,
|
|
308
|
+
.VPNavBar.has-sidebar .search .DocSearch-Button {
|
|
309
|
+
width: 208px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.VPNavBar.has-sidebar .appearance,
|
|
313
|
+
.VPNavBar.has-sidebar .extra,
|
|
314
|
+
.VPNavBar.has-sidebar .social-links,
|
|
315
|
+
.VPNavBar.has-sidebar .translations {
|
|
316
|
+
order: 3;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (min-width: 1440px) {
|
|
321
|
+
.VPNavBar.has-sidebar .content-body {
|
|
322
|
+
width: min(845px, calc(100vw - 595px));
|
|
323
|
+
margin-left: 25px;
|
|
324
|
+
padding-right: 0 !important;
|
|
325
|
+
justify-content: flex-start;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.VPNavBar.has-sidebar .menu {
|
|
329
|
+
order: 1;
|
|
330
|
+
margin-left: 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.VPNavBar.has-sidebar .menu .VPNavBarMenuLink:first-of-type {
|
|
334
|
+
margin-left: 0 !important;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.VPNavBar.has-sidebar .translations,
|
|
338
|
+
.VPNavBar.has-sidebar .social-links,
|
|
339
|
+
.VPNavBar.has-sidebar .extra {
|
|
340
|
+
order: 2;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.VPNavBar.has-sidebar .search {
|
|
344
|
+
order: 2;
|
|
345
|
+
margin-left: 16px;
|
|
346
|
+
flex: 0 0 208px;
|
|
347
|
+
width: 208px;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.VPNavBar.has-sidebar .search #local-search,
|
|
351
|
+
.VPNavBar.has-sidebar .search .DocSearch-Button {
|
|
352
|
+
width: 208px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.VPNavBar.has-sidebar .appearance {
|
|
356
|
+
position: fixed;
|
|
357
|
+
top: 21px;
|
|
358
|
+
right: 20px;
|
|
359
|
+
order: 4;
|
|
360
|
+
margin-left: 0;
|
|
361
|
+
transform: none;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.VPNavBar.has-sidebar .menu + .appearance::before,
|
|
365
|
+
.VPNavBar.has-sidebar .translations + .appearance::before,
|
|
366
|
+
.VPNavBar.has-sidebar .appearance::before,
|
|
367
|
+
.VPNavBar.has-sidebar .appearance + .social-links::before {
|
|
368
|
+
display: none;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.VPNavBarSearch .DocSearch-Button,
|
|
373
|
+
.VPNavBarSearch .VPNavBarSearchButton,
|
|
374
|
+
.DocSearch-Button {
|
|
375
|
+
display: flex;
|
|
376
|
+
box-sizing: border-box;
|
|
377
|
+
align-items: center;
|
|
378
|
+
justify-content: space-between;
|
|
379
|
+
width: 100%;
|
|
380
|
+
min-height: 38px !important;
|
|
381
|
+
height: 38px !important;
|
|
382
|
+
padding: 8px 16px !important;
|
|
383
|
+
border: 1px solid var(--vp-c-divider);
|
|
384
|
+
border-radius: var(--motion-radius-full);
|
|
385
|
+
background: var(--vp-c-bg);
|
|
386
|
+
box-shadow: none;
|
|
387
|
+
font-size: 14px !important;
|
|
388
|
+
line-height: 20px !important;
|
|
389
|
+
font-weight: 400 !important;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.VPNavBarSearch #local-search,
|
|
393
|
+
.VPNavBarSearch #local-search .DocSearch-Button {
|
|
394
|
+
width: 100%;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.DocSearch-Button-Container {
|
|
398
|
+
display: inline-flex;
|
|
399
|
+
align-items: center;
|
|
400
|
+
gap: 8px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.DocSearch-Button-Placeholder,
|
|
404
|
+
.DocSearch-Button .DocSearch-Button-Placeholder,
|
|
405
|
+
.DocSearch-Button .DocSearch-Button-Container,
|
|
406
|
+
.DocSearch.DocSearch-Button {
|
|
407
|
+
font-size: 14px !important;
|
|
408
|
+
line-height: 20px !important;
|
|
409
|
+
font-weight: 400 !important;
|
|
410
|
+
letter-spacing: -0.01em;
|
|
411
|
+
color: var(--vp-c-text-3);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.DocSearch-Search-Icon {
|
|
415
|
+
width: 14px;
|
|
416
|
+
height: 14px;
|
|
417
|
+
color: var(--vp-c-text-3) !important;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.DocSearch-Button:hover {
|
|
421
|
+
border-color: var(--vp-c-divider);
|
|
422
|
+
background: var(--vp-c-bg-soft);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.DocSearch-Button-Keys,
|
|
426
|
+
.DocSearch-Button .DocSearch-Button-Keys {
|
|
427
|
+
display: none !important;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.DocSearch-Button-Keys::after {
|
|
431
|
+
display: none !important;
|
|
432
|
+
content: none !important;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.VPSidebar {
|
|
436
|
+
background: var(--vp-c-bg) !important;
|
|
437
|
+
border-right: 0;
|
|
438
|
+
padding: 0 12px 24px !important;
|
|
439
|
+
-ms-overflow-style: none;
|
|
440
|
+
scrollbar-width: none;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
@media (min-width: 960px) {
|
|
444
|
+
.VPSidebar {
|
|
445
|
+
padding: var(--vp-nav-height) 12px 24px !important;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.VPSidebar::-webkit-scrollbar {
|
|
450
|
+
display: none;
|
|
451
|
+
width: 0;
|
|
452
|
+
height: 0;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
@media (max-width: 959px) {
|
|
456
|
+
.VPSidebar {
|
|
457
|
+
padding: 16px !important;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.VPSidebarItem.level-0 > .item > .text {
|
|
462
|
+
margin: 18px 0 6px 12px;
|
|
463
|
+
padding: 0;
|
|
464
|
+
color: var(--vp-c-text-1);
|
|
465
|
+
font-size: 14px;
|
|
466
|
+
line-height: 19px;
|
|
467
|
+
font-weight: 600;
|
|
468
|
+
letter-spacing: -0.01em;
|
|
469
|
+
text-transform: none;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.VPSidebarItem.level-0:first-child > .item > .text {
|
|
473
|
+
margin-top: 14px;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.VPSidebarItem .text {
|
|
477
|
+
padding: 0;
|
|
478
|
+
font-size: 14px;
|
|
479
|
+
font-weight: 400;
|
|
480
|
+
line-height: 20px;
|
|
481
|
+
letter-spacing: -0.01em;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.VPSidebarItem .link {
|
|
485
|
+
margin: 0;
|
|
486
|
+
padding: 5px 12px 5px 20px;
|
|
487
|
+
border-radius: var(--motion-radius-md);
|
|
488
|
+
font-size: 14px;
|
|
489
|
+
line-height: 20px;
|
|
490
|
+
color: var(--vp-c-text-2);
|
|
491
|
+
letter-spacing: -0.01em;
|
|
492
|
+
transition: background-color 0.16s ease, color 0.16s ease;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.VPSidebarItem .link:hover {
|
|
496
|
+
background: var(--vp-c-default-soft);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.VPSidebarItem .link p,
|
|
500
|
+
.VPSidebarItem .link .text {
|
|
501
|
+
margin: 0;
|
|
502
|
+
color: var(--vp-c-text-2);
|
|
503
|
+
font-size: 14px;
|
|
504
|
+
line-height: 20px;
|
|
505
|
+
letter-spacing: -0.01em;
|
|
506
|
+
font-weight: 400 !important;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.VPSidebarItem .indicator {
|
|
510
|
+
display: none;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.VPSidebarItem.is-active > .item > .link {
|
|
514
|
+
background: var(--motion-c-border);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.VPSidebarItem.is-active > .item > .link .text {
|
|
518
|
+
color: var(--vp-c-text-2);
|
|
519
|
+
font-weight: 400;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.VPSidebarItem.is-active > .item > .link,
|
|
523
|
+
.VPSidebarItem.is-active > .item > .link .text,
|
|
524
|
+
.VPSidebarItem.is-active > .item > .link:hover,
|
|
525
|
+
.VPSidebarItem.is-active > .item > .link:hover .text {
|
|
526
|
+
color: var(--vp-c-text-2) !important;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.VPSidebarItem .caret {
|
|
530
|
+
color: var(--vp-c-text-3);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.VPSidebarItem.level-0 .caret {
|
|
534
|
+
display: none;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.VPSidebarItem.level-1 {
|
|
538
|
+
padding: 0;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.VPSidebarItem.level-1 .link {
|
|
542
|
+
padding: 6px 12px 6px 20px;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.VPSidebarItem.level-1 .text,
|
|
546
|
+
.VPSidebarItem.level-2 .text {
|
|
547
|
+
color: var(--vp-c-text-2);
|
|
548
|
+
font-size: 14px;
|
|
549
|
+
line-height: 20px;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.VPSidebarItem.level-0,
|
|
553
|
+
.VPSidebarItem.collapsed.level-0 {
|
|
554
|
+
padding-bottom: 0;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.VPSidebar .group + .group {
|
|
558
|
+
margin-top: 0;
|
|
559
|
+
border-top: 0;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.VPSidebar .group + .group::before {
|
|
563
|
+
display: none;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.VPContent.has-sidebar {
|
|
567
|
+
max-width: none !important;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
@media (min-width: 960px) {
|
|
571
|
+
.VPDoc.has-sidebar {
|
|
572
|
+
padding-left: 13px;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.VPDoc.has-sidebar .content-container {
|
|
576
|
+
margin-left: -20px;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.VPDoc.has-sidebar .content-container,
|
|
581
|
+
.VPDoc:not(.has-sidebar) .content-container {
|
|
582
|
+
max-width: 872px !important;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.VPDocAside {
|
|
586
|
+
width: var(--motion-right-rail-width);
|
|
587
|
+
padding-top: 0;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.VPDocAsideOutline .content {
|
|
591
|
+
position: relative;
|
|
592
|
+
border-left: 0;
|
|
593
|
+
padding-left: 0;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.VPDocAsideOutline .content::before {
|
|
597
|
+
position: absolute;
|
|
598
|
+
top: 0;
|
|
599
|
+
bottom: 0;
|
|
600
|
+
left: 0;
|
|
601
|
+
width: 2px;
|
|
602
|
+
border-radius: 0;
|
|
603
|
+
background: var(--vp-c-divider);
|
|
604
|
+
content: "";
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.VPDocAsideOutline .outline-marker {
|
|
608
|
+
position: absolute;
|
|
609
|
+
top: 0;
|
|
610
|
+
left: 0;
|
|
611
|
+
z-index: 1;
|
|
612
|
+
opacity: 1;
|
|
613
|
+
width: 2px;
|
|
614
|
+
height: 20px;
|
|
615
|
+
border-radius: 0;
|
|
616
|
+
background: var(--vp-c-text-1);
|
|
617
|
+
transform: translateY(-39px);
|
|
618
|
+
transition: top 0.25s cubic-bezier(0, 1, 0.5, 1), background-color 0.25s ease;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.VPDocAsideOutline .outline-title {
|
|
622
|
+
display: none;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.VPDocAsideOutline .VPDocOutlineItem {
|
|
626
|
+
margin: 0 0 0 12px;
|
|
627
|
+
padding: 0;
|
|
628
|
+
list-style: none;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.VPDocAsideOutline .VPDocOutlineItem li {
|
|
632
|
+
margin: 0;
|
|
633
|
+
padding: 0;
|
|
634
|
+
font-size: 14px;
|
|
635
|
+
line-height: 20px;
|
|
636
|
+
font-weight: 400;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.VPDocAsideOutline .VPDocOutlineItem li + li {
|
|
640
|
+
margin-top: 12px;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.VPDocAsideOutline .outline-link {
|
|
644
|
+
display: block;
|
|
645
|
+
padding: 0 0 0 8px;
|
|
646
|
+
color: var(--motion-c-tertiary);
|
|
647
|
+
font-size: 14px;
|
|
648
|
+
line-height: 20px;
|
|
649
|
+
font-weight: 400;
|
|
650
|
+
letter-spacing: -0.01em;
|
|
651
|
+
text-decoration: none;
|
|
652
|
+
transition: color 0.16s ease;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.VPDocAsideOutline .outline-link:hover,
|
|
656
|
+
.VPDocAsideOutline .outline-link.active,
|
|
657
|
+
.VPDocAsideOutline .outline-link[aria-current="true"] {
|
|
658
|
+
color: var(--vp-c-text-2);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.motion-aside-actions {
|
|
662
|
+
display: flex;
|
|
663
|
+
justify-content: flex-start;
|
|
664
|
+
flex: 0 0 auto;
|
|
665
|
+
margin: 16px 0 0;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.motion-aside-action {
|
|
669
|
+
display: inline-flex;
|
|
670
|
+
align-items: center;
|
|
671
|
+
justify-content: center;
|
|
672
|
+
gap: 6px;
|
|
673
|
+
min-height: 26px;
|
|
674
|
+
padding: 5px 10px;
|
|
675
|
+
border: 1px solid var(--motion-c-border-strong);
|
|
676
|
+
border-radius: var(--motion-radius-md);
|
|
677
|
+
background: var(--vp-c-bg);
|
|
678
|
+
color: var(--vp-c-text-2);
|
|
679
|
+
font-size: 12px;
|
|
680
|
+
line-height: 12px;
|
|
681
|
+
font-weight: 500;
|
|
682
|
+
white-space: nowrap;
|
|
683
|
+
cursor: pointer;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.motion-aside-action svg {
|
|
687
|
+
width: 12px;
|
|
688
|
+
height: 12px;
|
|
689
|
+
flex: 0 0 auto;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.motion-aside-action:hover {
|
|
693
|
+
color: var(--vp-c-text-1);
|
|
694
|
+
border-color: var(--motion-c-border-strong);
|
|
695
|
+
background: var(--vp-c-default-soft);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
@media (min-width: 1280px) {
|
|
699
|
+
.VPDocAside {
|
|
700
|
+
position: fixed;
|
|
701
|
+
top: var(--motion-right-rail-top);
|
|
702
|
+
right: var(--motion-right-rail-offset);
|
|
703
|
+
z-index: 1;
|
|
704
|
+
display: flex;
|
|
705
|
+
flex-direction: column;
|
|
706
|
+
width: var(--motion-right-rail-width);
|
|
707
|
+
height: calc(100vh - var(--motion-right-rail-top));
|
|
708
|
+
max-height: calc(100vh - var(--motion-right-rail-top));
|
|
709
|
+
padding: 0 0 24px;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.VPDocAsideOutline {
|
|
713
|
+
flex: 1 1 auto;
|
|
714
|
+
min-height: 0;
|
|
715
|
+
width: 100%;
|
|
716
|
+
padding: 16px 4px 0 0;
|
|
717
|
+
overflow-y: auto;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.motion-aside-actions {
|
|
721
|
+
position: fixed;
|
|
722
|
+
right: var(--motion-right-rail-offset);
|
|
723
|
+
bottom: 24px;
|
|
724
|
+
z-index: 2;
|
|
725
|
+
width: var(--motion-right-rail-width);
|
|
726
|
+
margin: 0;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.VPDocAside > .spacer {
|
|
730
|
+
display: none;
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.motion-sr-only {
|
|
735
|
+
position: absolute;
|
|
736
|
+
width: 1px;
|
|
737
|
+
height: 1px;
|
|
738
|
+
padding: 0;
|
|
739
|
+
margin: -1px;
|
|
740
|
+
overflow: hidden;
|
|
741
|
+
clip: rect(0, 0, 0, 0);
|
|
742
|
+
white-space: nowrap;
|
|
743
|
+
border: 0;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.vp-doc a {
|
|
747
|
+
color: var(--motion-c-focus);
|
|
748
|
+
text-decoration: none;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.vp-doc a:hover {
|
|
752
|
+
color: #004f99;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.dark .vp-doc a:hover {
|
|
756
|
+
color: var(--motion-c-info);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.vp-doc h1 {
|
|
760
|
+
margin-bottom: 16px;
|
|
761
|
+
font-size: 30px;
|
|
762
|
+
line-height: 42px;
|
|
763
|
+
font-weight: 600;
|
|
764
|
+
letter-spacing: -0.02em;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.vp-doc h2 {
|
|
768
|
+
margin-top: 48px;
|
|
769
|
+
padding-top: 24px;
|
|
770
|
+
border-top: 1px solid var(--vp-c-divider);
|
|
771
|
+
font-size: 20px;
|
|
772
|
+
line-height: 26px;
|
|
773
|
+
font-weight: 600;
|
|
774
|
+
letter-spacing: -0.01em;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.vp-doc h3 {
|
|
778
|
+
margin-top: 28px;
|
|
779
|
+
font-size: 18px;
|
|
780
|
+
line-height: 24px;
|
|
781
|
+
font-weight: 600;
|
|
782
|
+
letter-spacing: -0.01em;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.vp-doc h4,
|
|
786
|
+
.vp-doc h5,
|
|
787
|
+
.vp-doc h6 {
|
|
788
|
+
margin-top: 20px;
|
|
789
|
+
font-size: 14px;
|
|
790
|
+
line-height: 20px;
|
|
791
|
+
font-weight: 600;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.vp-doc p,
|
|
795
|
+
.vp-doc li,
|
|
796
|
+
.vp-doc td,
|
|
797
|
+
.vp-doc th {
|
|
798
|
+
font-size: 14px;
|
|
799
|
+
line-height: 20px;
|
|
800
|
+
letter-spacing: -0.01em;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.vp-doc p {
|
|
804
|
+
margin: 14px 0;
|
|
805
|
+
color: var(--vp-c-text-2);
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.vp-doc > div > p:first-of-type {
|
|
809
|
+
max-width: 48rem;
|
|
810
|
+
margin: 0 0 24px;
|
|
811
|
+
color: var(--vp-c-text-3);
|
|
812
|
+
font-size: 18px;
|
|
813
|
+
line-height: 29px;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.vp-doc ul,
|
|
817
|
+
.vp-doc ol {
|
|
818
|
+
margin: 16px 0;
|
|
819
|
+
padding-left: 1.25rem;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.vp-doc li {
|
|
823
|
+
margin: 6px 0;
|
|
824
|
+
color: var(--vp-c-text-2);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.vp-doc ul > li::marker,
|
|
828
|
+
.vp-doc ol > li::marker {
|
|
829
|
+
color: var(--vp-c-text-3);
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.vp-doc :not(pre) > code {
|
|
833
|
+
padding: 0.2rem 0.45rem;
|
|
834
|
+
border-radius: var(--motion-radius-sm);
|
|
835
|
+
background: var(--vp-code-bg);
|
|
836
|
+
color: var(--vp-code-color);
|
|
837
|
+
font-family: var(--vp-font-family-mono);
|
|
838
|
+
font-size: 0.9em;
|
|
839
|
+
font-weight: 400;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.vp-doc div[class*='language-'] {
|
|
843
|
+
border: 1px solid var(--vp-c-divider);
|
|
844
|
+
border-radius: var(--motion-radius-md);
|
|
845
|
+
background: var(--vp-code-block-bg);
|
|
846
|
+
box-shadow: none;
|
|
847
|
+
overflow: hidden;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.dark .vp-doc div[class*='language-'] {
|
|
851
|
+
border-color: rgba(255, 255, 255, 0.10);
|
|
852
|
+
background: var(--vp-code-block-bg);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.vp-doc div[class*='language-'] pre,
|
|
856
|
+
.vp-doc div[class*='language-'] code {
|
|
857
|
+
font-size: 14px;
|
|
858
|
+
line-height: 20px;
|
|
859
|
+
color: var(--vp-code-color);
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.vp-doc div[class*='language-'] .copy {
|
|
863
|
+
top: 10px;
|
|
864
|
+
right: 10px;
|
|
865
|
+
border: 0;
|
|
866
|
+
border-radius: var(--motion-radius-md);
|
|
867
|
+
background: var(--vp-c-default-soft);
|
|
868
|
+
box-shadow: none;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.vp-doc table {
|
|
872
|
+
display: table;
|
|
873
|
+
width: 100%;
|
|
874
|
+
margin: 20px 0;
|
|
875
|
+
border-collapse: separate;
|
|
876
|
+
border-spacing: 0;
|
|
877
|
+
border: 1px solid var(--vp-c-divider);
|
|
878
|
+
border-radius: var(--motion-radius-md);
|
|
879
|
+
overflow: hidden;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.vp-doc th {
|
|
883
|
+
background: var(--vp-c-bg-soft);
|
|
884
|
+
font-weight: 600;
|
|
885
|
+
color: var(--vp-c-text-1);
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.vp-doc td,
|
|
889
|
+
.vp-doc th {
|
|
890
|
+
border-top: 1px solid var(--vp-c-divider);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.vp-doc tr:first-child td,
|
|
894
|
+
.vp-doc tr:first-child th {
|
|
895
|
+
border-top: 0;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.vp-doc blockquote {
|
|
899
|
+
margin: 20px 0;
|
|
900
|
+
padding: 14px 18px;
|
|
901
|
+
border-left: 3px solid var(--motion-c-focus);
|
|
902
|
+
border-radius: 0 var(--motion-radius-md) var(--motion-radius-md) 0;
|
|
903
|
+
background: var(--vp-c-bg-soft);
|
|
904
|
+
color: var(--vp-c-text-2);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.vp-doc hr {
|
|
908
|
+
margin: 32px 0;
|
|
909
|
+
border: 0;
|
|
910
|
+
border-top: 1px solid var(--vp-c-divider);
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.custom-block {
|
|
914
|
+
border: 1px solid var(--vp-c-divider);
|
|
915
|
+
border-radius: var(--motion-radius-md);
|
|
916
|
+
padding: 16px 18px;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.custom-block .custom-block-title {
|
|
920
|
+
font-size: 13px;
|
|
921
|
+
font-weight: 600;
|
|
922
|
+
letter-spacing: 0em;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.vp-doc .custom-block.warning :not(pre) > code {
|
|
926
|
+
border: 1px solid rgba(146, 59, 15, 0.24);
|
|
927
|
+
background: rgba(255, 255, 255, 0.72);
|
|
928
|
+
color: var(--vp-c-text-1);
|
|
929
|
+
font-weight: 500;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.dark .vp-doc .custom-block.warning :not(pre) > code {
|
|
933
|
+
border-color: rgba(255, 255, 255, 0.18);
|
|
934
|
+
background: rgba(255, 255, 255, 0.13);
|
|
935
|
+
color: var(--vp-c-text-1);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.motion-page-label {
|
|
939
|
+
margin: 0 0 10px;
|
|
940
|
+
color: var(--vp-c-text-3);
|
|
941
|
+
font-size: 12px;
|
|
942
|
+
font-weight: 500;
|
|
943
|
+
letter-spacing: 0em;
|
|
944
|
+
text-transform: none;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.motion-lead {
|
|
948
|
+
max-width: 700px;
|
|
949
|
+
margin: 0 0 28px;
|
|
950
|
+
color: var(--vp-c-text-2);
|
|
951
|
+
font-size: 16px;
|
|
952
|
+
line-height: 1.5;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.motion-fit-card,
|
|
956
|
+
.motion-link-card {
|
|
957
|
+
border: 1px solid var(--vp-c-divider);
|
|
958
|
+
background: var(--vp-c-bg);
|
|
959
|
+
box-shadow: none;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.motion-home-hero {
|
|
963
|
+
display: grid;
|
|
964
|
+
grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.25fr);
|
|
965
|
+
gap: 24px;
|
|
966
|
+
padding: 24px;
|
|
967
|
+
border: 1px solid var(--vp-c-divider);
|
|
968
|
+
border-radius: var(--motion-radius-panel);
|
|
969
|
+
background: var(--motion-c-surface-raised);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.motion-home-panel,
|
|
973
|
+
.motion-home-code {
|
|
974
|
+
min-width: 0;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.motion-home-panel {
|
|
978
|
+
align-self: center;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.motion-home-panel-title {
|
|
982
|
+
margin: 0 0 14px !important;
|
|
983
|
+
padding-top: 0 !important;
|
|
984
|
+
border-top: 0 !important;
|
|
985
|
+
color: var(--vp-c-text-1);
|
|
986
|
+
font-size: 18px !important;
|
|
987
|
+
line-height: 24px !important;
|
|
988
|
+
font-weight: 600;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.motion-home-panel-text {
|
|
992
|
+
max-width: 26rem;
|
|
993
|
+
margin: 0;
|
|
994
|
+
color: var(--vp-c-text-3);
|
|
995
|
+
font-size: 14px;
|
|
996
|
+
line-height: 20px;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.motion-home-code {
|
|
1000
|
+
border: 1px solid var(--vp-c-divider);
|
|
1001
|
+
border-radius: var(--motion-radius-md);
|
|
1002
|
+
background: var(--vp-code-block-bg);
|
|
1003
|
+
overflow: hidden;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
.motion-home-code-head {
|
|
1007
|
+
display: flex;
|
|
1008
|
+
align-items: center;
|
|
1009
|
+
justify-content: space-between;
|
|
1010
|
+
padding: 14px 18px 0;
|
|
1011
|
+
color: var(--vp-c-text-3);
|
|
1012
|
+
font-size: 12px;
|
|
1013
|
+
font-weight: 500;
|
|
1014
|
+
letter-spacing: 0em;
|
|
1015
|
+
text-transform: lowercase;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.motion-home-code-body {
|
|
1019
|
+
display: grid;
|
|
1020
|
+
gap: 2px;
|
|
1021
|
+
margin: 0;
|
|
1022
|
+
padding: 14px 18px 18px;
|
|
1023
|
+
overflow-x: auto;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.motion-home-code-line {
|
|
1027
|
+
display: block;
|
|
1028
|
+
color: var(--vp-c-text-2);
|
|
1029
|
+
font-size: 13px;
|
|
1030
|
+
line-height: 20px;
|
|
1031
|
+
font-family: var(--vp-font-family-mono);
|
|
1032
|
+
white-space: pre-wrap;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.motion-card-label,
|
|
1036
|
+
.motion-link-eyebrow {
|
|
1037
|
+
display: inline-block;
|
|
1038
|
+
margin: 0 0 10px;
|
|
1039
|
+
color: var(--vp-c-text-3);
|
|
1040
|
+
font-size: 12px;
|
|
1041
|
+
font-weight: 500;
|
|
1042
|
+
letter-spacing: 0em;
|
|
1043
|
+
text-transform: none;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.motion-actions {
|
|
1047
|
+
display: flex;
|
|
1048
|
+
flex-wrap: wrap;
|
|
1049
|
+
gap: 12px;
|
|
1050
|
+
margin-top: 22px;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.motion-button {
|
|
1054
|
+
display: inline-flex;
|
|
1055
|
+
align-items: center;
|
|
1056
|
+
justify-content: center;
|
|
1057
|
+
min-height: 36px;
|
|
1058
|
+
padding: 0 14px;
|
|
1059
|
+
border: 1px solid var(--vp-c-divider);
|
|
1060
|
+
border-radius: var(--motion-radius-full);
|
|
1061
|
+
background: var(--vp-c-bg);
|
|
1062
|
+
color: var(--vp-c-text-1) !important;
|
|
1063
|
+
font-size: 14px;
|
|
1064
|
+
font-weight: 500;
|
|
1065
|
+
transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.motion-button:hover {
|
|
1069
|
+
border-color: var(--motion-c-border-strong);
|
|
1070
|
+
background: var(--vp-c-bg-soft);
|
|
1071
|
+
color: var(--vp-c-text-1) !important;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.motion-home .motion-button-primary {
|
|
1075
|
+
border-color: var(--motion-c-primary);
|
|
1076
|
+
background: var(--motion-c-primary);
|
|
1077
|
+
color: var(--motion-c-on-inverse) !important;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.motion-home .motion-button-primary:hover {
|
|
1081
|
+
border-color: var(--motion-c-primary-hover);
|
|
1082
|
+
background: var(--motion-c-primary-hover);
|
|
1083
|
+
color: var(--motion-c-on-inverse) !important;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.motion-home-grid,
|
|
1087
|
+
.motion-fit-grid {
|
|
1088
|
+
display: grid;
|
|
1089
|
+
gap: 16px;
|
|
1090
|
+
margin-top: 18px;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.motion-home-grid-2 {
|
|
1094
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
.motion-home-grid-3 {
|
|
1098
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.motion-link-card {
|
|
1102
|
+
display: flex;
|
|
1103
|
+
flex-direction: column;
|
|
1104
|
+
gap: 8px;
|
|
1105
|
+
padding: 18px;
|
|
1106
|
+
border-radius: var(--motion-radius-md);
|
|
1107
|
+
color: inherit !important;
|
|
1108
|
+
transition: background-color 0.16s ease, border-color 0.16s ease;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
.motion-link-card-compact {
|
|
1112
|
+
min-height: 134px;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.motion-link-card:hover {
|
|
1116
|
+
border-color: var(--motion-c-border-strong);
|
|
1117
|
+
background: var(--vp-c-bg-soft);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.motion-link-card strong {
|
|
1121
|
+
color: var(--vp-c-text-1);
|
|
1122
|
+
font-size: 14px;
|
|
1123
|
+
line-height: 20px;
|
|
1124
|
+
font-weight: 600;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.motion-link-card span:last-child {
|
|
1128
|
+
color: var(--vp-c-text-2);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
.motion-next-steps {
|
|
1132
|
+
display: grid;
|
|
1133
|
+
gap: 12px;
|
|
1134
|
+
margin: 16px 0 0;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.motion-next-step {
|
|
1138
|
+
display: flex;
|
|
1139
|
+
align-items: flex-start;
|
|
1140
|
+
gap: 14px;
|
|
1141
|
+
min-width: 0;
|
|
1142
|
+
border-radius: var(--motion-radius-md);
|
|
1143
|
+
color: inherit !important;
|
|
1144
|
+
text-decoration: none !important;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.motion-next-step-icon {
|
|
1148
|
+
display: inline-flex;
|
|
1149
|
+
flex: 0 0 48px;
|
|
1150
|
+
align-items: center;
|
|
1151
|
+
justify-content: center;
|
|
1152
|
+
width: 48px;
|
|
1153
|
+
height: 48px;
|
|
1154
|
+
border: 1px solid var(--vp-c-divider);
|
|
1155
|
+
border-radius: var(--motion-radius-md);
|
|
1156
|
+
background: var(--vp-c-bg);
|
|
1157
|
+
color: var(--vp-c-text-2);
|
|
1158
|
+
transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.motion-next-step-icon svg {
|
|
1162
|
+
width: 24px;
|
|
1163
|
+
height: 24px;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
.motion-next-step-body {
|
|
1167
|
+
display: flex;
|
|
1168
|
+
flex: 1 1 auto;
|
|
1169
|
+
flex-direction: column;
|
|
1170
|
+
justify-content: center;
|
|
1171
|
+
min-width: 0;
|
|
1172
|
+
min-height: 48px;
|
|
1173
|
+
padding-top: 1px;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.motion-next-step-title {
|
|
1177
|
+
display: flex;
|
|
1178
|
+
align-items: center;
|
|
1179
|
+
gap: 2px;
|
|
1180
|
+
min-width: 0;
|
|
1181
|
+
color: var(--vp-c-text-1);
|
|
1182
|
+
font-size: 16px;
|
|
1183
|
+
line-height: 24px;
|
|
1184
|
+
font-weight: 500;
|
|
1185
|
+
letter-spacing: -0.01em;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
.motion-next-step-title > span {
|
|
1189
|
+
min-width: 0;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.motion-next-step-chevron {
|
|
1193
|
+
flex: 0 0 auto;
|
|
1194
|
+
width: 18px;
|
|
1195
|
+
height: 18px;
|
|
1196
|
+
color: var(--vp-c-text-3);
|
|
1197
|
+
transition: color 0.16s ease, transform 0.16s ease;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.motion-next-step-description {
|
|
1201
|
+
color: var(--vp-c-text-3);
|
|
1202
|
+
font-size: 14px;
|
|
1203
|
+
line-height: 20px;
|
|
1204
|
+
letter-spacing: -0.01em;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.motion-next-step:hover .motion-next-step-icon,
|
|
1208
|
+
.motion-next-step:focus-visible .motion-next-step-icon {
|
|
1209
|
+
border-color: var(--motion-c-border-strong);
|
|
1210
|
+
background: var(--vp-c-bg-soft);
|
|
1211
|
+
color: var(--vp-c-text-1);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.motion-next-step:hover .motion-next-step-chevron,
|
|
1215
|
+
.motion-next-step:focus-visible .motion-next-step-chevron {
|
|
1216
|
+
color: var(--vp-c-text-1);
|
|
1217
|
+
transform: translateX(2px);
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.motion-fit-grid {
|
|
1221
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.motion-fit-card {
|
|
1225
|
+
padding: 20px;
|
|
1226
|
+
border-radius: var(--motion-radius-md);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.motion-fit-card ul {
|
|
1230
|
+
margin: 0;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.motion-home .VPDocFooter {
|
|
1234
|
+
display: none;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
.motion-home .header-anchor {
|
|
1238
|
+
opacity: 0;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.motion-home .vp-doc h2 {
|
|
1242
|
+
margin-top: 44px;
|
|
1243
|
+
padding-top: 0;
|
|
1244
|
+
border-top: 0;
|
|
1245
|
+
font-size: 20px;
|
|
1246
|
+
line-height: 26px;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.motion-home .vp-doc h1 code {
|
|
1250
|
+
padding: 0;
|
|
1251
|
+
border-radius: 0;
|
|
1252
|
+
background: transparent;
|
|
1253
|
+
color: inherit;
|
|
1254
|
+
font-size: 0.96em;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
@media (max-width: 1100px) {
|
|
1258
|
+
.motion-home-hero,
|
|
1259
|
+
.motion-home-grid-3 {
|
|
1260
|
+
grid-template-columns: 1fr;
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
@media (max-width: 720px) {
|
|
1265
|
+
.motion-lead {
|
|
1266
|
+
font-size: 16px;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.motion-home-hero {
|
|
1270
|
+
padding: 20px;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
.motion-home-grid-2,
|
|
1274
|
+
.motion-home-grid-3,
|
|
1275
|
+
.motion-fit-grid {
|
|
1276
|
+
grid-template-columns: 1fr;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
.motion-next-step {
|
|
1280
|
+
gap: 12px;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
.motion-next-step-icon {
|
|
1284
|
+
flex-basis: 44px;
|
|
1285
|
+
width: 44px;
|
|
1286
|
+
height: 44px;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.motion-next-step-icon svg {
|
|
1290
|
+
width: 22px;
|
|
1291
|
+
height: 22px;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
.motion-next-step-body {
|
|
1295
|
+
min-height: 44px;
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
/* Image styling */
|
|
1300
|
+
.vp-doc img {
|
|
1301
|
+
border-radius: var(--motion-radius-md);
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/* ==========================================================================
|
|
1305
|
+
Transitions
|
|
1306
|
+
========================================================================== */
|
|
1307
|
+
|
|
1308
|
+
.VPSidebarItem .link,
|
|
1309
|
+
.VPNavBarMenuLink,
|
|
1310
|
+
.vp-doc a {
|
|
1311
|
+
transition: color 0.2s ease;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/* ==========================================================================
|
|
1315
|
+
Focus Styles - Accessibility (WCAG 2.4.7)
|
|
1316
|
+
========================================================================== */
|
|
1317
|
+
|
|
1318
|
+
.VPSidebarItem .link:focus-visible,
|
|
1319
|
+
.VPNavBarMenuLink:focus-visible,
|
|
1320
|
+
.VPButton:focus-visible {
|
|
1321
|
+
outline: 2px solid var(--motion-c-focus);
|
|
1322
|
+
outline-offset: 2px;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
.vp-doc a:focus-visible {
|
|
1326
|
+
outline: 2px solid var(--motion-c-focus);
|
|
1327
|
+
outline-offset: 2px;
|
|
1328
|
+
border-bottom-color: transparent;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/* ==========================================================================
|
|
1332
|
+
Mermaid Diagram Fixes
|
|
1333
|
+
========================================================================== */
|
|
1334
|
+
|
|
1335
|
+
/* Contain diagrams within their container */
|
|
1336
|
+
.mermaid-container {
|
|
1337
|
+
max-width: 100%;
|
|
1338
|
+
overflow-x: auto;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
.mermaid {
|
|
1342
|
+
max-width: 100%;
|
|
1343
|
+
overflow-x: auto;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
/* Let Mermaid wrap node labels instead of forcing wide diagrams. */
|
|
1347
|
+
.mermaid .nodeLabel {
|
|
1348
|
+
white-space: normal !important;
|
|
1349
|
+
overflow-wrap: anywhere;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/* Override monospace font for Mermaid - use system sans-serif for better sizing */
|
|
1353
|
+
.mermaid svg {
|
|
1354
|
+
font-family: "Geist", ui-sans-serif, system-ui, sans-serif !important;
|
|
1355
|
+
max-width: 100%;
|
|
1356
|
+
height: auto;
|
|
1357
|
+
}
|