@apify/docs-theme 1.0.243 → 1.0.245
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 +201 -0
- package/package.json +48 -48
- package/src/config.js +1 -3
- package/src/markdown.js +8 -6
- package/src/roa-loader/index.js +16 -14
- package/src/theme/ColorModeToggle/index.jsx +14 -27
- package/src/theme/DocBreadcrumbs/Items/Home/index.js +2 -1
- package/src/theme/DocBreadcrumbs/index.js +10 -20
- package/src/theme/DocItemContent/index.js +42 -43
- package/src/theme/DocItemContent/styles.module.css +1 -3
- package/src/theme/DocSidebarItem/Category/index.js +36 -54
- package/src/theme/DocSidebarItem/Link/index.jsx +9 -23
- package/src/theme/DocSidebarItem/Link/styles.module.css +1 -1
- package/src/theme/Footer/LinkItem/index.js +7 -12
- package/src/theme/Footer/index.jsx +2 -3
- package/src/theme/Heading/index.jsx +3 -4
- package/src/theme/Heading/styles.module.css +23 -23
- package/src/theme/Icon/DarkMode/index.jsx +7 -1
- package/src/theme/Icon/LightMode/index.jsx +28 -10
- package/src/theme/LLMButtons/index.jsx +7 -37
- package/src/theme/Layout/index.jsx +10 -9
- package/src/theme/Logo/index.js +3 -16
- package/src/theme/MDXComponents/A.js +11 -6
- package/src/theme/MDXComponents/Code.js +3 -2
- package/src/theme/MDXComponents/Details.js +1 -3
- package/src/theme/MDXComponents/Head.js +2 -1
- package/src/theme/MDXComponents/Img/index.js +1 -7
- package/src/theme/MDXComponents/Img/styles.module.css +1 -1
- package/src/theme/MDXComponents/Ul/index.js +1 -1
- package/src/theme/MDXComponents/Ul/styles.module.css +2 -2
- package/src/theme/Navbar/CTA/index.jsx +3 -1
- package/src/theme/Navbar/CTA/styles.module.css +45 -45
- package/src/theme/Navbar/Content/index.jsx +29 -28
- package/src/theme/Navbar/MobileSidebar/Header/index.jsx +3 -1
- package/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.jsx +15 -29
- package/src/theme/NavbarItem/ComponentTypes.jsx +3 -22
- package/src/theme/NavbarItem/NavbarNavLink.jsx +28 -24
- package/src/theme/NotFound.jsx +2 -6
- package/src/theme/RunnableCodeBlock/RunnableCodeBlock.jsx +43 -9
- package/src/theme/SearchBar/index.js +21 -21
- package/src/theme/SearchBar/styles.css +84 -83
- package/src/theme/SearchMetadata/index.js +8 -8
- package/src/theme/SearchPage/index.js +173 -230
- package/src/theme/SearchPage/styles.module.css +59 -59
- package/src/theme/TOCItems/Tree.jsx +2 -12
- package/src/theme/TOCItems/index.jsx +2 -12
- package/src/theme/custom.css +90 -75
- package/src/theme.js +15 -19
- package/src/utils.js +1 -5
- package/static/js/custom.js +7 -5
|
@@ -1,112 +1,112 @@
|
|
|
1
1
|
.searchQueryInput,
|
|
2
2
|
.searchVersionInput {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
border-radius: var(--ifm-global-radius);
|
|
4
|
+
border: 2px solid var(--ifm-toc-border-color);
|
|
5
|
+
font: var(--ifm-font-size-base) var(--ifm-font-family-base);
|
|
6
|
+
padding: 12.8px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
background: var(--docsearch-searchbox-focus-background);
|
|
9
|
+
color: var(--docsearch-text-color);
|
|
10
|
+
margin-bottom: 8px;
|
|
11
|
+
transition: border var(--ifm-transition-fast) ease;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.searchQueryInput:focus,
|
|
15
15
|
.searchVersionInput:focus {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
border-color: var(--docsearch-primary-color);
|
|
17
|
+
outline: none;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.searchQueryInput::placeholder {
|
|
21
|
-
|
|
21
|
+
color: var(--docsearch-muted-color);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.searchResultsColumn {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
font-size: 14.4px;
|
|
26
|
+
font-weight: bold;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.algoliaLogo {
|
|
30
|
-
|
|
30
|
+
max-width: 150px;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.algoliaLogoPathFill {
|
|
34
|
-
|
|
34
|
+
fill: var(--ifm-font-color-base);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.searchResultItem {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
padding: 16px 0;
|
|
39
|
+
border-bottom: 1px solid var(--ifm-toc-border-color);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.searchResultItemHeading {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
margin-bottom: 0;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.searchResultItemPath {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
font-size: 12.8px;
|
|
49
|
+
color: var(--ifm-color-content-secondary);
|
|
50
|
+
--ifm-breadcrumb-separator-size-multiplier: 1;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.searchResultItemSummary {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
margin: 8px 0 0;
|
|
55
|
+
font-style: italic;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
@media only screen and (max-width: 996px) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
.searchQueryColumn {
|
|
60
|
+
max-width: 60% !important;
|
|
61
|
+
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
.searchVersionColumn {
|
|
64
|
+
max-width: 40% !important;
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
.searchResultsColumn {
|
|
68
|
+
max-width: 60% !important;
|
|
69
|
+
}
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
.searchLogoColumn {
|
|
72
|
+
max-width: 40% !important;
|
|
73
|
+
padding-left: 0 !important;
|
|
74
|
+
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
@media screen and (max-width: 576px) {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
.searchQueryColumn {
|
|
79
|
+
max-width: 100% !important;
|
|
80
|
+
}
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
.searchVersionColumn {
|
|
83
|
+
max-width: 100% !important;
|
|
84
|
+
padding-left: var(--ifm-spacing-horizontal) !important;
|
|
85
|
+
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.loadingSpinner {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
width: 48px;
|
|
90
|
+
height: 48px;
|
|
91
|
+
border: 0.4em solid #eee;
|
|
92
|
+
border-top-color: var(--ifm-color-primary);
|
|
93
|
+
border-radius: 50%;
|
|
94
|
+
animation: loading-spin 1s linear infinite;
|
|
95
|
+
margin: 0 auto;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
@keyframes loading-spin {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
100% {
|
|
100
|
+
transform: rotate(360deg);
|
|
101
|
+
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.loader {
|
|
105
|
-
|
|
105
|
+
margin-top: 32px;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:global(.search-result-match) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
color: var(--docsearch-hit-color);
|
|
110
|
+
background: rgb(255 215 142 / 25%);
|
|
111
|
+
padding: 0.09em 0;
|
|
112
112
|
}
|
|
@@ -5,12 +5,7 @@ import React from 'react';
|
|
|
5
5
|
import styles from './styles.module.css';
|
|
6
6
|
|
|
7
7
|
// Recursive component rendering the toc tree
|
|
8
|
-
function TOCItemTree({
|
|
9
|
-
toc,
|
|
10
|
-
className,
|
|
11
|
-
linkClassName,
|
|
12
|
-
isChild,
|
|
13
|
-
}) {
|
|
8
|
+
function TOCItemTree({ toc, className, linkClassName, isChild }) {
|
|
14
9
|
if (!toc.length) {
|
|
15
10
|
return null;
|
|
16
11
|
}
|
|
@@ -25,12 +20,7 @@ function TOCItemTree({
|
|
|
25
20
|
// Developer provided the HTML, so assume it's safe.
|
|
26
21
|
dangerouslySetInnerHTML={{ __html: heading.value }}
|
|
27
22
|
/>
|
|
28
|
-
<TOCItemTree
|
|
29
|
-
isChild
|
|
30
|
-
toc={heading.children}
|
|
31
|
-
className={className}
|
|
32
|
-
linkClassName={linkClassName}
|
|
33
|
-
/>
|
|
23
|
+
<TOCItemTree isChild toc={heading.children} className={className} linkClassName={linkClassName} />
|
|
34
24
|
</li>
|
|
35
25
|
))}
|
|
36
26
|
</ul>
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { useThemeConfig } from '@docusaurus/theme-common';
|
|
2
|
-
import {
|
|
3
|
-
useFilteredAndTreeifiedTOC,
|
|
4
|
-
useTOCHighlight,
|
|
5
|
-
} from '@docusaurus/theme-common/internal';
|
|
2
|
+
import { useFilteredAndTreeifiedTOC, useTOCHighlight } from '@docusaurus/theme-common/internal';
|
|
6
3
|
import TOCItemTree from '@theme/TOCItems/Tree';
|
|
7
4
|
import React, { useMemo } from 'react';
|
|
8
5
|
|
|
@@ -39,12 +36,5 @@ export default function TOCItems({
|
|
|
39
36
|
}, [linkClassName, linkActiveClassName, minHeadingLevel, maxHeadingLevel]);
|
|
40
37
|
useTOCHighlight(tocHighlightConfig);
|
|
41
38
|
|
|
42
|
-
return
|
|
43
|
-
<TOCItemTree
|
|
44
|
-
toc={tocTree}
|
|
45
|
-
className={className}
|
|
46
|
-
linkClassName={linkClassName}
|
|
47
|
-
{...props}
|
|
48
|
-
/>
|
|
49
|
-
);
|
|
39
|
+
return <TOCItemTree toc={tocTree} className={className} linkClassName={linkClassName} {...props} />;
|
|
50
40
|
}
|
package/src/theme/custom.css
CHANGED
|
@@ -24,14 +24,14 @@ html[data-theme='dark'] {
|
|
|
24
24
|
--docsearch-text-color: #8d92af;
|
|
25
25
|
|
|
26
26
|
/* TRON colors */
|
|
27
|
-
--color-Neutral_Text: #
|
|
27
|
+
--color-Neutral_Text: #f3f4fa;
|
|
28
28
|
--color-Neutral_TextMuted: #b0b8d1;
|
|
29
29
|
--color-Neutral_Border: #d1d5e4;
|
|
30
30
|
--color-Neutral_Hover: #2a2d39;
|
|
31
|
-
--color-Neutral_Background: #
|
|
31
|
+
--color-Neutral_Background: #1a1b21;
|
|
32
32
|
--color-Neutral_BackgroundMuted: #252832;
|
|
33
33
|
--color-Neutral_ChipBackground: #555d76;
|
|
34
|
-
--color-Neutral_ChipBackgroundActive: #
|
|
34
|
+
--color-Neutral_ChipBackgroundActive: #8c93a8;
|
|
35
35
|
--color-Neutral_SeparatorSubtle: #31384d;
|
|
36
36
|
--color-Primary_ChipText: #8ebcff;
|
|
37
37
|
--color-Primary_ChipBackground: #1a3a78;
|
|
@@ -51,7 +51,7 @@ html[data-theme='dark'] {
|
|
|
51
51
|
--color-neutral-card-background: #1e2027;
|
|
52
52
|
--color-neutral-border: #414758;
|
|
53
53
|
--color-neutral-separator-subtle: #343847;
|
|
54
|
-
--color-neutral-hover: #
|
|
54
|
+
--color-neutral-hover: #2d313e;
|
|
55
55
|
--color-neutral-disabled: #343847;
|
|
56
56
|
--color-neutral-overflow: #2a2d39;
|
|
57
57
|
--color-neutral-icon: #b2b8cc;
|
|
@@ -127,9 +127,8 @@ html[data-theme='dark'] {
|
|
|
127
127
|
:root {
|
|
128
128
|
/* use default system font based on https://devhints.io/css-system-font-stack */
|
|
129
129
|
--ifm-font-family-base:
|
|
130
|
-
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
131
|
-
'
|
|
132
|
-
sans-serif;
|
|
130
|
+
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
|
|
131
|
+
'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
133
132
|
--ifm-heading-font-family: 'Lota Grotesque', sans-serif;
|
|
134
133
|
--tsd-spacing-vertical: 1.2rem !important;
|
|
135
134
|
--tsd-spacing-horizontal: 1.6rem !important;
|
|
@@ -196,10 +195,10 @@ html[data-theme='dark'] {
|
|
|
196
195
|
--color-Neutral_Background: #ffffff;
|
|
197
196
|
--color-Neutral_BackgroundMuted: #f8f9fc;
|
|
198
197
|
--color-Neutral_ChipBackground: #e0e3f2;
|
|
199
|
-
--color-Neutral_ChipBackgroundActive: #
|
|
198
|
+
--color-Neutral_ChipBackgroundActive: #c1c6dd;
|
|
200
199
|
--color-Neutral_SeparatorSubtle: #e0e3f2;
|
|
201
|
-
--color-Primary_ChipText: #
|
|
202
|
-
--color-Primary_ChipBackground: #
|
|
200
|
+
--color-Primary_ChipText: #1a57da;
|
|
201
|
+
--color-Primary_ChipBackground: #e1eaff;
|
|
203
202
|
--color-Primary_TextInteractive: #3970d7;
|
|
204
203
|
|
|
205
204
|
/* EXPERIMENT: tokens for shared components */
|
|
@@ -216,7 +215,7 @@ html[data-theme='dark'] {
|
|
|
216
215
|
--color-neutral-card-background: #ffffff;
|
|
217
216
|
--color-neutral-border: #d0d5e9;
|
|
218
217
|
--color-neutral-separator-subtle: #e0e3f2;
|
|
219
|
-
--color-neutral-hover: #
|
|
218
|
+
--color-neutral-hover: #eef0f8;
|
|
220
219
|
--color-neutral-disabled: #f3f4fa;
|
|
221
220
|
--color-neutral-overflow: #e0e3f2;
|
|
222
221
|
--color-neutral-icon: #555d76;
|
|
@@ -348,25 +347,42 @@ html[data-theme='dark'] {
|
|
|
348
347
|
}
|
|
349
348
|
|
|
350
349
|
.markdown h1,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
350
|
+
.markdown h2,
|
|
351
|
+
.markdown h3,
|
|
352
|
+
.markdown h4,
|
|
353
|
+
.markdown h5,
|
|
354
|
+
.markdown h6 {
|
|
355
|
+
/* Comes from the Apify design theme content typography tokens */
|
|
356
|
+
--ifm-h1-font-size: 4.2rem;
|
|
357
|
+
--ifm-h2-font-size: 3.2rem;
|
|
358
|
+
--ifm-h3-font-size: 2.4rem;
|
|
359
|
+
--ifm-h4-font-size: 2rem;
|
|
360
|
+
--ifm-h5-font-size: 1.6rem;
|
|
361
|
+
--ifm-h6-font-size: 1.4rem;
|
|
362
|
+
}
|
|
364
363
|
|
|
365
364
|
.markdown h1:first-child {
|
|
366
365
|
--ifm-h1-font-size: 4.2rem;
|
|
367
366
|
}
|
|
368
367
|
}
|
|
369
368
|
|
|
369
|
+
.markdown kbd {
|
|
370
|
+
background-color: white;
|
|
371
|
+
padding: 1.5px 10px;
|
|
372
|
+
border-radius: 5px;
|
|
373
|
+
border-left: 1px solid rgb(116, 116, 116);
|
|
374
|
+
border-right: 1px solid rgb(116, 116, 116);
|
|
375
|
+
border-bottom: 1.5px solid rgb(116, 116, 116);
|
|
376
|
+
box-shadow: 0 0 1px rgb(116, 116, 116);
|
|
377
|
+
color: rgb(39, 39, 39);
|
|
378
|
+
font-size: 1.5rem;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
html[data-theme='dark'] .markdown kbd {
|
|
382
|
+
background-color: #4a4a4cd3;
|
|
383
|
+
color: rgb(255, 255, 255);
|
|
384
|
+
}
|
|
385
|
+
|
|
370
386
|
/* Setting the base size to 10px so it's easy to use rem for scaling (1.6rem = 16px) */
|
|
371
387
|
html {
|
|
372
388
|
font-size: 10px;
|
|
@@ -380,8 +396,9 @@ body {
|
|
|
380
396
|
|
|
381
397
|
@font-face {
|
|
382
398
|
font-family: 'Lota Grotesque';
|
|
383
|
-
src:
|
|
384
|
-
|
|
399
|
+
src:
|
|
400
|
+
url('/font/lota.woff2') format('woff2'),
|
|
401
|
+
url('/font/lota.woff') format('woff');
|
|
385
402
|
font-weight: 600;
|
|
386
403
|
}
|
|
387
404
|
|
|
@@ -426,7 +443,7 @@ footer .col {
|
|
|
426
443
|
}
|
|
427
444
|
}
|
|
428
445
|
|
|
429
|
-
.footer__link-item svg[class*=iconExternalLink] {
|
|
446
|
+
.footer__link-item svg[class*='iconExternalLink'] {
|
|
430
447
|
margin-left: unset;
|
|
431
448
|
}
|
|
432
449
|
|
|
@@ -473,7 +490,8 @@ footer .col {
|
|
|
473
490
|
height: auto;
|
|
474
491
|
}
|
|
475
492
|
|
|
476
|
-
.navbar,
|
|
493
|
+
.navbar,
|
|
494
|
+
.main-wrapper {
|
|
477
495
|
justify-content: center;
|
|
478
496
|
}
|
|
479
497
|
|
|
@@ -547,24 +565,24 @@ aside > div > a > b {
|
|
|
547
565
|
background-size: cover;
|
|
548
566
|
}
|
|
549
567
|
|
|
550
|
-
.navbar .icon[href*=github]::before {
|
|
568
|
+
.navbar .icon[href*='github']::before {
|
|
551
569
|
background-image: url('/img/github-brand.svg');
|
|
552
570
|
}
|
|
553
571
|
|
|
554
|
-
html[data-theme=
|
|
572
|
+
html[data-theme='dark'] .navbar .navbar__link[href*='github']:before {
|
|
555
573
|
background-image: url('/img/github-brand-dark.svg');
|
|
556
574
|
}
|
|
557
575
|
|
|
558
|
-
.navbar .icon[href*=discord]::before {
|
|
576
|
+
.navbar .icon[href*='discord']::before {
|
|
559
577
|
background-image: url('/img/discord-brand.svg');
|
|
560
578
|
}
|
|
561
579
|
|
|
562
|
-
html[data-theme=
|
|
580
|
+
html[data-theme='dark'] .navbar .navbar__link[href*='discord']:before {
|
|
563
581
|
background-image: url('/img/discord-brand-dark.svg');
|
|
564
582
|
}
|
|
565
583
|
|
|
566
|
-
.navbar .icon svg[class*=iconExternalLink],
|
|
567
|
-
aside .icon svg[class*=iconExternalLink] {
|
|
584
|
+
.navbar .icon svg[class*='iconExternalLink'],
|
|
585
|
+
aside .icon svg[class*='iconExternalLink'] {
|
|
568
586
|
display: none;
|
|
569
587
|
}
|
|
570
588
|
|
|
@@ -576,7 +594,9 @@ aside .icon svg[class*=iconExternalLink] {
|
|
|
576
594
|
gap: 1.6rem;
|
|
577
595
|
}
|
|
578
596
|
|
|
579
|
-
.navbar__item,
|
|
597
|
+
.navbar__item,
|
|
598
|
+
.menu__link,
|
|
599
|
+
.navbar__link {
|
|
580
600
|
color: var(--color-Neutral_TextMuted);
|
|
581
601
|
padding: 0;
|
|
582
602
|
font-size: 1.4rem;
|
|
@@ -593,7 +613,8 @@ aside .icon svg[class*=iconExternalLink] {
|
|
|
593
613
|
background: var(--color-neutral-overflow);
|
|
594
614
|
}
|
|
595
615
|
|
|
596
|
-
.navbar__link:hover,
|
|
616
|
+
.navbar__link:hover,
|
|
617
|
+
.navbar__link--active:hover {
|
|
597
618
|
color: unset;
|
|
598
619
|
}
|
|
599
620
|
|
|
@@ -619,13 +640,13 @@ aside .icon svg[class*=iconExternalLink] {
|
|
|
619
640
|
padding: 1.6rem var(--ifm-spacing-horizontal);
|
|
620
641
|
}
|
|
621
642
|
|
|
622
|
-
header.hero div[class^=heroButtons] {
|
|
643
|
+
header.hero div[class^='heroButtons'] {
|
|
623
644
|
justify-content: inherit;
|
|
624
645
|
}
|
|
625
646
|
|
|
626
647
|
.markdown blockquote {
|
|
627
648
|
--ifm-alert-background-color: var(--ifm-color-info-contrast-background);
|
|
628
|
-
--ifm-alert-background-color-highlight: rgba(84,199,236
|
|
649
|
+
--ifm-alert-background-color-highlight: rgba(84, 199, 236, 0.15);
|
|
629
650
|
--ifm-alert-foreground-color: var(--ifm-color-info-contrast-foreground);
|
|
630
651
|
--ifm-alert-border-color: var(--ifm-color-info-dark);
|
|
631
652
|
--ifm-code-background: var(--ifm-alert-background-color-highlight);
|
|
@@ -666,8 +687,8 @@ article .card h2 {
|
|
|
666
687
|
}
|
|
667
688
|
|
|
668
689
|
.tsd-panel-header .tsd-flag-group {
|
|
669
|
-
margin-right: .8rem;
|
|
670
|
-
margin-left: .5rem;
|
|
690
|
+
margin-right: 0.8rem;
|
|
691
|
+
margin-left: 0.5rem;
|
|
671
692
|
}
|
|
672
693
|
|
|
673
694
|
.tsd-panel .tsd-flag {
|
|
@@ -695,8 +716,8 @@ article .card h2 {
|
|
|
695
716
|
float: right;
|
|
696
717
|
}
|
|
697
718
|
|
|
698
|
-
aside button[class*=
|
|
699
|
-
transform: scale(.7) rotate(180deg);
|
|
719
|
+
aside button[class*='collapseSidebarButton'] svg {
|
|
720
|
+
transform: scale(0.7) rotate(180deg);
|
|
700
721
|
}
|
|
701
722
|
|
|
702
723
|
.table-of-contents__link {
|
|
@@ -736,7 +757,7 @@ aside button[class*="collapseSidebarButton"] svg {
|
|
|
736
757
|
background: var(--color-Neutral_Hover);
|
|
737
758
|
}
|
|
738
759
|
|
|
739
|
-
.navbar .dropdown__link svg[class*=iconExternalLink] {
|
|
760
|
+
.navbar .dropdown__link svg[class*='iconExternalLink'] {
|
|
740
761
|
margin-left: unset;
|
|
741
762
|
}
|
|
742
763
|
|
|
@@ -905,8 +926,7 @@ html .plugin-docs .theme-doc-markdown h3 {
|
|
|
905
926
|
|
|
906
927
|
.navbar__link--active,
|
|
907
928
|
.theme-doc-sidebar-menu.menu__list .menu__link--active,
|
|
908
|
-
.theme-doc-sidebar-menu.menu__list .menu__list-item-collapsible--active
|
|
909
|
-
{
|
|
929
|
+
.theme-doc-sidebar-menu.menu__list .menu__list-item-collapsible--active {
|
|
910
930
|
color: var(--color-Neutral_Text);
|
|
911
931
|
background: var(--color-neutral-overflow);
|
|
912
932
|
}
|
|
@@ -943,17 +963,16 @@ nav.navbar {
|
|
|
943
963
|
transition: transform var(--ifm-transition-slow) ease;
|
|
944
964
|
}
|
|
945
965
|
|
|
946
|
-
nav.navbar[class*=
|
|
966
|
+
nav.navbar[class*='navbarHidden'] {
|
|
947
967
|
transform: translate3d(0, calc(-210%), 0);
|
|
948
968
|
}
|
|
949
969
|
|
|
950
970
|
.navbar__items--right a.icon,
|
|
951
|
-
div[class*=
|
|
952
|
-
{
|
|
971
|
+
div[class*='colorModeToggle'] {
|
|
953
972
|
display: initial;
|
|
954
973
|
}
|
|
955
974
|
|
|
956
|
-
div[class*=
|
|
975
|
+
div[class*='searchBox'] {
|
|
957
976
|
padding-left: 0;
|
|
958
977
|
position: unset;
|
|
959
978
|
}
|
|
@@ -968,7 +987,8 @@ div[class*="searchBox"] {
|
|
|
968
987
|
}
|
|
969
988
|
}
|
|
970
989
|
|
|
971
|
-
.menu__link,
|
|
990
|
+
.menu__link,
|
|
991
|
+
.menu__list-item > .navbar__item {
|
|
972
992
|
display: flex;
|
|
973
993
|
}
|
|
974
994
|
|
|
@@ -1008,7 +1028,6 @@ div[class*="searchBox"] {
|
|
|
1008
1028
|
}
|
|
1009
1029
|
}
|
|
1010
1030
|
|
|
1011
|
-
|
|
1012
1031
|
.menu__list-item-collapsible {
|
|
1013
1032
|
padding: unset;
|
|
1014
1033
|
}
|
|
@@ -1031,8 +1050,7 @@ div[class*="searchBox"] {
|
|
|
1031
1050
|
margin: unset;
|
|
1032
1051
|
}
|
|
1033
1052
|
|
|
1034
|
-
.theme-doc-sidebar-item-category
|
|
1035
|
-
.theme-doc-sidebar-item-link,
|
|
1053
|
+
.theme-doc-sidebar-item-category .theme-doc-sidebar-item-link,
|
|
1036
1054
|
.menu__list-item-collapsible {
|
|
1037
1055
|
display: flex;
|
|
1038
1056
|
align-items: center;
|
|
@@ -1102,7 +1120,7 @@ html[data-theme='dark'] .actionLink:hover::after {
|
|
|
1102
1120
|
}
|
|
1103
1121
|
|
|
1104
1122
|
.actionLink::after {
|
|
1105
|
-
content:
|
|
1123
|
+
content: ' ';
|
|
1106
1124
|
display: block;
|
|
1107
1125
|
background-image: url('/img/arrow-right.svg');
|
|
1108
1126
|
background-size: 15px 15px;
|
|
@@ -1117,13 +1135,12 @@ html[data-theme='dark'] .actionLink:hover::after {
|
|
|
1117
1135
|
margin-left: 8px;
|
|
1118
1136
|
}
|
|
1119
1137
|
|
|
1120
|
-
|
|
1121
1138
|
.card {
|
|
1122
|
-
[class*=
|
|
1139
|
+
[class*='cardTitle'] {
|
|
1123
1140
|
font-size: 1.6rem !important;
|
|
1124
1141
|
}
|
|
1125
1142
|
|
|
1126
|
-
[class*=
|
|
1143
|
+
[class*='cardDescription'] {
|
|
1127
1144
|
font-size: 1.2rem !important;
|
|
1128
1145
|
}
|
|
1129
1146
|
}
|
|
@@ -1159,7 +1176,9 @@ html[data-theme='dark'] .actionLink:hover::after {
|
|
|
1159
1176
|
--ifm-toc-padding-horizontal: 4px;
|
|
1160
1177
|
}
|
|
1161
1178
|
|
|
1162
|
-
.navbar__item,
|
|
1179
|
+
.navbar__item,
|
|
1180
|
+
.menu__link,
|
|
1181
|
+
.navbar__link {
|
|
1163
1182
|
padding: 2px 8px;
|
|
1164
1183
|
}
|
|
1165
1184
|
|
|
@@ -1222,7 +1241,7 @@ html[data-theme='dark'] .beta-chip {
|
|
|
1222
1241
|
background: #333;
|
|
1223
1242
|
}
|
|
1224
1243
|
|
|
1225
|
-
a.tsd-anchor[href^=
|
|
1244
|
+
a.tsd-anchor[href^='https://undefined'] {
|
|
1226
1245
|
display: none;
|
|
1227
1246
|
}
|
|
1228
1247
|
|
|
@@ -1245,7 +1264,6 @@ html[data-theme='dark'] .runnable-code-block svg .apify-logo {
|
|
|
1245
1264
|
fill: #fff;
|
|
1246
1265
|
}
|
|
1247
1266
|
|
|
1248
|
-
|
|
1249
1267
|
/* updating the sizes in the docs search modal */
|
|
1250
1268
|
.aa-DetachedContainer {
|
|
1251
1269
|
.mx-0\.5 {
|
|
@@ -1325,7 +1343,6 @@ html[data-theme='dark'] .runnable-code-block svg .apify-logo {
|
|
|
1325
1343
|
padding-bottom: 2.4rem;
|
|
1326
1344
|
}
|
|
1327
1345
|
|
|
1328
|
-
|
|
1329
1346
|
.pl-10 {
|
|
1330
1347
|
padding-left: 4rem;
|
|
1331
1348
|
}
|
|
@@ -1338,7 +1355,6 @@ html[data-theme='dark'] .runnable-code-block svg .apify-logo {
|
|
|
1338
1355
|
padding-left: 2rem;
|
|
1339
1356
|
}
|
|
1340
1357
|
|
|
1341
|
-
|
|
1342
1358
|
.text-2xl {
|
|
1343
1359
|
font-size: 2.4rem;
|
|
1344
1360
|
line-height: 3.2rem;
|
|
@@ -1359,14 +1375,14 @@ html[data-theme='dark'] .runnable-code-block svg .apify-logo {
|
|
|
1359
1375
|
}
|
|
1360
1376
|
}
|
|
1361
1377
|
|
|
1362
|
-
.card-image-container_src-components-Cards-module
|
|
1378
|
+
.card-image-container_src-components-Cards-module {
|
|
1363
1379
|
height: 23rem !important;
|
|
1364
|
-
& > img {
|
|
1380
|
+
& > img {
|
|
1365
1381
|
width: 100%;
|
|
1366
1382
|
}
|
|
1367
1383
|
}
|
|
1368
1384
|
|
|
1369
|
-
.card_src-components-Cards-module>a>div {
|
|
1385
|
+
.card_src-components-Cards-module > a > div {
|
|
1370
1386
|
padding: 0px 1.6rem 1.6rem !important;
|
|
1371
1387
|
}
|
|
1372
1388
|
|
|
@@ -1770,26 +1786,25 @@ html[data-theme='dark'] .runnable-code-block svg .apify-logo {
|
|
|
1770
1786
|
border: 1px solid var(--color-neutral-border);
|
|
1771
1787
|
box-shadow: none !important;
|
|
1772
1788
|
|
|
1773
|
-
div[class^=
|
|
1789
|
+
div[class^='codeBlockTitle'] {
|
|
1774
1790
|
border-bottom: 1px solid var(--color-neutral-border) !important;
|
|
1775
1791
|
background: var(--color-neutral-background-subtle);
|
|
1776
1792
|
}
|
|
1777
1793
|
|
|
1778
|
-
div[class^=
|
|
1794
|
+
div[class^='buttonGroup'] button {
|
|
1779
1795
|
opacity: 1 !important;
|
|
1780
1796
|
|
|
1781
|
-
&[title=
|
|
1797
|
+
&[title='Toggle word wrap'] {
|
|
1782
1798
|
display: none;
|
|
1783
1799
|
}
|
|
1784
1800
|
}
|
|
1785
|
-
|
|
1786
1801
|
}
|
|
1787
1802
|
|
|
1788
1803
|
.apiPage .tsd-panel-header .tsd-anchor-id {
|
|
1789
1804
|
top: -13rem;
|
|
1790
1805
|
}
|
|
1791
1806
|
|
|
1792
|
-
iframe[src*=
|
|
1807
|
+
iframe[src*='youtube'] {
|
|
1793
1808
|
width: 100%;
|
|
1794
1809
|
aspect-ratio: 16/9;
|
|
1795
1810
|
height: auto;
|
|
@@ -2003,7 +2018,7 @@ a.client-docs-link {
|
|
|
2003
2018
|
|
|
2004
2019
|
.theme-doc-markdown .openapi__heading {
|
|
2005
2020
|
font-size: var(--ifm-h1-font-size);
|
|
2006
|
-
margin-bottom: calc(var(--ifm-h1-vertical-rhythm-bottom)* var(--ifm-leading)) !important;
|
|
2021
|
+
margin-bottom: calc(var(--ifm-h1-vertical-rhythm-bottom) * var(--ifm-leading)) !important;
|
|
2007
2022
|
}
|
|
2008
2023
|
|
|
2009
2024
|
.theme-doc-markdown .openapi-tabs__code-container .openapi-tabs__code-item span {
|
|
@@ -2014,12 +2029,12 @@ a.client-docs-link {
|
|
|
2014
2029
|
--ifm-button-size-multiplier: 1.5;
|
|
2015
2030
|
}
|
|
2016
2031
|
|
|
2017
|
-
div[class^=
|
|
2032
|
+
div[class^='navbarSearchContainer'] {
|
|
2018
2033
|
padding: 0;
|
|
2019
2034
|
}
|
|
2020
2035
|
|
|
2021
2036
|
@media (max-width: 996px) {
|
|
2022
|
-
div[class^=
|
|
2037
|
+
div[class^='navbarSearchContainer'] {
|
|
2023
2038
|
position: static;
|
|
2024
2039
|
}
|
|
2025
2040
|
}
|
|
@@ -2043,8 +2058,8 @@ div[class^="navbarSearchContainer"] {
|
|
|
2043
2058
|
|
|
2044
2059
|
/* Array brackets in API schema - rendered via CSS so they don't leak into .md export */
|
|
2045
2060
|
.openapi-array-bracket-open::before {
|
|
2046
|
-
content:
|
|
2061
|
+
content: 'Array [';
|
|
2047
2062
|
}
|
|
2048
2063
|
.openapi-array-bracket-close::before {
|
|
2049
|
-
content:
|
|
2064
|
+
content: ']';
|
|
2050
2065
|
}
|