@apify/docs-theme 1.0.177 → 1.0.179
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/package.json +1 -1
- package/src/config.js +11 -8
- package/src/theme/Footer/index.jsx +10 -6
- package/src/theme/Footer/index.module.css +73 -14
- package/src/theme/Layout/index.jsx +1 -1
- package/src/theme/Navbar/CTA/index.jsx +7 -0
- package/src/theme/Navbar/CTA/styles.module.css +57 -0
- package/src/theme/Navbar/Content/index.jsx +4 -4
- package/src/theme/Navbar/MobileSidebar/Header/index.jsx +46 -0
- package/src/theme/SearchBar/index.js +17 -8
- package/src/theme/SearchBar/styles.css +90 -2
- package/src/theme/custom.css +257 -129
- package/src/theme/Navbar/Content/styles.module.css +0 -8
package/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -137,13 +137,6 @@ const themeConfig = {
|
|
|
137
137
|
},
|
|
138
138
|
],
|
|
139
139
|
},
|
|
140
|
-
{
|
|
141
|
-
href: 'https://github.com/apify',
|
|
142
|
-
label: 'GitHub',
|
|
143
|
-
title: 'Apify on GitHub',
|
|
144
|
-
position: 'right',
|
|
145
|
-
className: 'icon',
|
|
146
|
-
},
|
|
147
140
|
{
|
|
148
141
|
href: 'https://discord.com/invite/jyEM2PRvMU',
|
|
149
142
|
label: 'Discord',
|
|
@@ -256,6 +249,10 @@ const themeConfig = {
|
|
|
256
249
|
label: 'GitHub',
|
|
257
250
|
href: 'https://github.com/apify',
|
|
258
251
|
},
|
|
252
|
+
{
|
|
253
|
+
href: 'https://discord.com/invite/jyEM2PRvMU',
|
|
254
|
+
label: 'Discord',
|
|
255
|
+
},
|
|
259
256
|
{
|
|
260
257
|
label: 'Trust Center',
|
|
261
258
|
href: 'https://trust.apify.com',
|
|
@@ -273,10 +270,16 @@ const themeConfig = {
|
|
|
273
270
|
algolia: {
|
|
274
271
|
appId: 'N8EOCSBQGH',
|
|
275
272
|
apiKey: 'e97714a64e2b4b8b8fe0b01cd8592870', // search only (public) API key
|
|
276
|
-
indexName: '
|
|
273
|
+
indexName: 'apify_sdk_v2',
|
|
274
|
+
placeholder: 'Search documentation',
|
|
277
275
|
algoliaOptions: {
|
|
278
276
|
facetFilters: ['version:VERSION'],
|
|
279
277
|
},
|
|
278
|
+
translations: {
|
|
279
|
+
button: {
|
|
280
|
+
buttonText: 'Search documentation…',
|
|
281
|
+
},
|
|
282
|
+
},
|
|
280
283
|
},
|
|
281
284
|
hubspot: {
|
|
282
285
|
accountId: '19497222',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useThemeConfig } from '@docusaurus/theme-common';
|
|
2
2
|
import LinkItem from '@theme/Footer/LinkItem';
|
|
3
|
+
import ColorModeToggle from '@theme/Navbar/ColorModeToggle';
|
|
3
4
|
import clsx from 'clsx';
|
|
4
5
|
import React from 'react';
|
|
5
6
|
|
|
@@ -8,7 +9,7 @@ import styles from './index.module.css';
|
|
|
8
9
|
function FooterLinksColumn({ column }) {
|
|
9
10
|
return (
|
|
10
11
|
<>
|
|
11
|
-
<div className={styles.
|
|
12
|
+
<div className={styles.title}>{column.title}</div>
|
|
12
13
|
<ul className={clsx(styles.footerItem, 'clean-list')}>
|
|
13
14
|
{column.items.map((item, i) => (
|
|
14
15
|
<li key={i} className="footer__item">
|
|
@@ -28,8 +29,8 @@ function Footer() {
|
|
|
28
29
|
const { links, style } = footer;
|
|
29
30
|
return (
|
|
30
31
|
<footer className={clsx(styles.footer, style)}>
|
|
31
|
-
<div className=
|
|
32
|
-
<div className=
|
|
32
|
+
<div className={styles.container}>
|
|
33
|
+
<div className={clsx('row', styles.top)}>
|
|
33
34
|
{ links.map((column, i) => (
|
|
34
35
|
<div key={i} className={`col col--2`}>
|
|
35
36
|
<FooterLinksColumn {...{ column }} />
|
|
@@ -37,12 +38,15 @@ function Footer() {
|
|
|
37
38
|
))
|
|
38
39
|
}
|
|
39
40
|
</div>
|
|
40
|
-
<div className=
|
|
41
|
-
<div className="col
|
|
41
|
+
<div className={clsx('row', styles.bottom)}>
|
|
42
|
+
<div className="col col--6">
|
|
42
43
|
<a href="https://apify.com" target={'_blank'} rel={'dofollow noreferrer'}>
|
|
43
|
-
<span className={styles.
|
|
44
|
+
<span className={styles.logo}></span>
|
|
44
45
|
</a>
|
|
45
46
|
</div>
|
|
47
|
+
<div className="col col--6">
|
|
48
|
+
<ColorModeToggle className={styles.toggle} />
|
|
49
|
+
</div>
|
|
46
50
|
</div>
|
|
47
51
|
</div>
|
|
48
52
|
</footer>
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
.footer {
|
|
2
|
-
padding
|
|
2
|
+
padding: 4rem 1.6rem 8rem;
|
|
3
|
+
border-top: 1px solid var(--color-neutral-separator-subtle);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.container {
|
|
7
|
+
max-width: calc(var(--max-layout-width) - var(--ifm-spacing-horizontal) * 2);
|
|
8
|
+
width: 100%;
|
|
9
|
+
margin: 0 auto;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
3
12
|
}
|
|
4
13
|
|
|
5
14
|
.builtBy {
|
|
@@ -33,20 +42,31 @@
|
|
|
33
42
|
fill: #6f7490;
|
|
34
43
|
}
|
|
35
44
|
|
|
36
|
-
.
|
|
37
|
-
font-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
.title {
|
|
46
|
+
font-size: 1.6rem;
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
line-height: 2.4rem;
|
|
49
|
+
margin-bottom: 1.6rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.top {
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.bottom {
|
|
57
|
+
padding-top: 8rem;
|
|
58
|
+
|
|
59
|
+
:global(.col) {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.toggle {
|
|
66
|
+
margin-left: auto;
|
|
47
67
|
}
|
|
48
68
|
|
|
49
|
-
.
|
|
69
|
+
.logo {
|
|
50
70
|
display: inline-block;
|
|
51
71
|
width: 90px;
|
|
52
72
|
height: 24px;
|
|
@@ -54,8 +74,47 @@
|
|
|
54
74
|
background-repeat: no-repeat;
|
|
55
75
|
}
|
|
56
76
|
|
|
57
|
-
html[data-theme='dark'] .
|
|
77
|
+
html[data-theme='dark'] .logo {
|
|
58
78
|
background-image: url('/img/footer-apify-logo-white.svg');
|
|
59
79
|
}
|
|
60
80
|
|
|
81
|
+
@media (max-width: 996px) {
|
|
82
|
+
.footer {
|
|
83
|
+
padding: 3.2rem 1.6rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.container {
|
|
87
|
+
flex-direction: column-reverse;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.bottom {
|
|
91
|
+
padding-top: 0;
|
|
92
|
+
gap: 1.6rem;
|
|
93
|
+
|
|
94
|
+
:global(.col) {
|
|
95
|
+
justify-content: center;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.toggle {
|
|
100
|
+
margin-left: unset;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.top {
|
|
104
|
+
padding: 3.2rem 0;
|
|
105
|
+
gap: 3.2rem;
|
|
106
|
+
text-align: center;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.top::before {
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 1px;
|
|
112
|
+
margin: 0 -1.6rem;
|
|
113
|
+
padding: 0 1.6rem;
|
|
114
|
+
content: '';
|
|
115
|
+
display: block;
|
|
116
|
+
background-color: var(--color-neutral-separator-subtle);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
61
120
|
/** dummy comment just to trigger theme publishing 3 */
|
|
@@ -12,7 +12,7 @@ export default function LayoutWrapper(props) {
|
|
|
12
12
|
|
|
13
13
|
return (
|
|
14
14
|
<div style={{
|
|
15
|
-
'--ifm-navbar-height': subNavbar && !currentPath.startsWith('api/v2') ? '
|
|
15
|
+
'--ifm-navbar-height': subNavbar && !currentPath.startsWith('api/v2') ? '126px' : '68px',
|
|
16
16
|
margin: 0,
|
|
17
17
|
padding: 0,
|
|
18
18
|
boxSizing: 'border-box',
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.getStarted {
|
|
2
|
+
all: unset;
|
|
3
|
+
height: 4rem;
|
|
4
|
+
padding: 0.8rem 1.6rem !important;
|
|
5
|
+
background-color: var(--color-primary-black-action);
|
|
6
|
+
border-radius: 2rem;
|
|
7
|
+
color: var(--color-neutral-text-on-primary);
|
|
8
|
+
font-size: 1.6rem;
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
line-height: 2.4rem;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
display: block;
|
|
14
|
+
position: relative;
|
|
15
|
+
text-align: center;
|
|
16
|
+
transition: all var(--ifm-transition-fast) var(--ifm-transition-timing-default);
|
|
17
|
+
|
|
18
|
+
&::before {
|
|
19
|
+
content: '';
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
bottom: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
background: var(--button-gradient);
|
|
26
|
+
opacity: 0.4;
|
|
27
|
+
border-radius: inherit;
|
|
28
|
+
transition: all var(--ifm-transition-fast) var(--ifm-transition-timing-default);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:hover {
|
|
32
|
+
background-color: var(--color-primary-black-action-hover);
|
|
33
|
+
color: var(--color-neutral-text-on-primary);
|
|
34
|
+
|
|
35
|
+
&::before {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:global(.navbar-sidebar) .getStarted {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (max-width: 768px) {
|
|
46
|
+
.getStarted {
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:global(.navbar__inner) .getStarted {
|
|
51
|
+
display: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:global(.navbar-sidebar) .getStarted {
|
|
55
|
+
display: block;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
splitNavbarItems,
|
|
5
5
|
} from '@docusaurus/theme-common/internal';
|
|
6
6
|
import { usePluginData } from '@docusaurus/useGlobalData';
|
|
7
|
-
import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle';
|
|
8
7
|
import NavbarLogo from '@theme/Navbar/Logo';
|
|
9
8
|
import NavbarMobileSidebarToggle from '@theme/Navbar/MobileSidebar/Toggle';
|
|
10
9
|
import NavbarSearch from '@theme/Navbar/Search';
|
|
@@ -12,7 +11,7 @@ import NavbarItem from '@theme/NavbarItem';
|
|
|
12
11
|
import React from 'react';
|
|
13
12
|
|
|
14
13
|
import SearchBar from '../../SearchBar';
|
|
15
|
-
import
|
|
14
|
+
import NavbarCTA from '../CTA';
|
|
16
15
|
|
|
17
16
|
function NavbarItems({ items }) {
|
|
18
17
|
return (
|
|
@@ -72,6 +71,7 @@ export default function NavbarContent() {
|
|
|
72
71
|
const { navbar: { items } } = useThemeConfig();
|
|
73
72
|
const [leftItems, rightItems] = splitNavbarItems(items);
|
|
74
73
|
const searchBarItem = items.find((item) => item.type === 'search');
|
|
74
|
+
|
|
75
75
|
return (
|
|
76
76
|
<div
|
|
77
77
|
style={{
|
|
@@ -85,20 +85,20 @@ export default function NavbarContent() {
|
|
|
85
85
|
<NavbarContentLayout
|
|
86
86
|
left={
|
|
87
87
|
<>
|
|
88
|
-
<NavbarMobileSidebarToggle />
|
|
89
88
|
<NavbarLogo />
|
|
90
89
|
<NavbarItems items={leftItems} />
|
|
91
90
|
</>
|
|
92
91
|
}
|
|
93
92
|
right={
|
|
94
93
|
<>
|
|
95
|
-
<NavbarColorModeToggle className={styles.colorModeToggle} />
|
|
96
94
|
<NavbarItems items={rightItems} />
|
|
97
95
|
{!searchBarItem && (
|
|
98
96
|
<NavbarSearch>
|
|
99
97
|
<SearchBar />
|
|
100
98
|
</NavbarSearch>
|
|
101
99
|
)}
|
|
100
|
+
<NavbarCTA />
|
|
101
|
+
<NavbarMobileSidebarToggle />
|
|
102
102
|
</>
|
|
103
103
|
}
|
|
104
104
|
/>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { useNavbarMobileSidebar, useThemeConfig } from '@docusaurus/theme-common/internal';
|
|
2
|
+
import IconClose from '@theme/Icon/Close';
|
|
3
|
+
import NavbarLogo from '@theme/Navbar/Logo';
|
|
4
|
+
import NavbarSearch from '@theme/Navbar/Search';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
import SearchBar from '../../../SearchBar';
|
|
8
|
+
import NavbarCTA from '../../CTA';
|
|
9
|
+
|
|
10
|
+
export default function NavbarMobileSidebarHeader() {
|
|
11
|
+
const mobileSidebar = useNavbarMobileSidebar();
|
|
12
|
+
|
|
13
|
+
const { navbar: { items } } = useThemeConfig();
|
|
14
|
+
const searchBarItem = items.find((item) => item.type === 'search');
|
|
15
|
+
|
|
16
|
+
function onSearchClick(event) {
|
|
17
|
+
event.preventDefault();
|
|
18
|
+
mobileSidebar.toggle();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<>
|
|
23
|
+
<div className="navbar-sidebar__brand">
|
|
24
|
+
<NavbarLogo />
|
|
25
|
+
<button
|
|
26
|
+
type="button"
|
|
27
|
+
className="clean-btn navbar-sidebar__close"
|
|
28
|
+
onClick={mobileSidebar.toggle}
|
|
29
|
+
aria-label="Close navigation bar"
|
|
30
|
+
>
|
|
31
|
+
<IconClose />
|
|
32
|
+
</button>
|
|
33
|
+
</div>
|
|
34
|
+
<div className="navbar-sidebar__actions">
|
|
35
|
+
<div className="navbar-sidebar__actions__container">
|
|
36
|
+
<NavbarCTA />
|
|
37
|
+
{!searchBarItem && (
|
|
38
|
+
<NavbarSearch>
|
|
39
|
+
<SearchBar onClick={onSearchClick} />
|
|
40
|
+
</NavbarSearch>
|
|
41
|
+
)}
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line simple-import-sort/imports
|
|
1
2
|
import BrowserOnly from '@docusaurus/BrowserOnly';
|
|
2
3
|
import RouterLink from '@docusaurus/Link';
|
|
3
4
|
import { useHistory, useLocation } from '@docusaurus/router';
|
|
@@ -6,6 +7,10 @@ import React, { useCallback } from 'react';
|
|
|
6
7
|
|
|
7
8
|
import { ApifySearch } from '@apify/docs-search-modal';
|
|
8
9
|
|
|
10
|
+
// needs to be imported as the last thing, so that it can override the default styles
|
|
11
|
+
// TODO: update simple-import-sort to allow importing css as last.
|
|
12
|
+
import './styles.css';
|
|
13
|
+
|
|
9
14
|
/**
|
|
10
15
|
* Tests whether the given href is pointing to the current docusaurus instance (so we can use the router link).
|
|
11
16
|
*/
|
|
@@ -35,7 +40,7 @@ export function Link(props) {
|
|
|
35
40
|
return <a {...props}>{props.children}</a>;
|
|
36
41
|
}
|
|
37
42
|
|
|
38
|
-
export default function SearchBar() {
|
|
43
|
+
export default function SearchBar({ onClick }) {
|
|
39
44
|
const { siteConfig } = useDocusaurusContext();
|
|
40
45
|
const location = useLocation();
|
|
41
46
|
const history = useHistory();
|
|
@@ -57,13 +62,17 @@ export default function SearchBar() {
|
|
|
57
62
|
|
|
58
63
|
return (
|
|
59
64
|
<BrowserOnly>
|
|
60
|
-
{() =>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
{() => (
|
|
66
|
+
<div onClick={onClick}>
|
|
67
|
+
<ApifySearch
|
|
68
|
+
algoliaAppId={siteConfig.themeConfig.algolia.appId}
|
|
69
|
+
algoliaIndexName='apify_sdk_v2'
|
|
70
|
+
algoliaKey={siteConfig.themeConfig.algolia.apiKey}
|
|
71
|
+
filters={`version:${getVersion()}`}
|
|
72
|
+
navigate={navigate}
|
|
73
|
+
/>
|
|
74
|
+
</div>
|
|
75
|
+
)}
|
|
67
76
|
</BrowserOnly>
|
|
68
77
|
);
|
|
69
78
|
}
|
|
@@ -4,9 +4,97 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.DocSearch-Button {
|
|
7
|
+
height: 4rem;
|
|
7
8
|
margin: 0;
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
padding: 0.8rem 1.2rem;
|
|
10
|
+
background-color: var(--color-Neutral_BackgroundMuted);
|
|
11
|
+
border: 1px solid var(--color-neutral-field-border);
|
|
12
|
+
border-radius: 6px;
|
|
13
|
+
color: var(--color-neutral-text-placeholder);
|
|
14
|
+
/* Annoying, but needed */
|
|
15
|
+
/* https://stackoverflow.com/questions/26140050/why-is-font-family-not-inherited-in-button-tags-automatically/26140154 */
|
|
16
|
+
font-family: inherit;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
gap: 2rem;
|
|
21
|
+
transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default),
|
|
22
|
+
color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.navbar-sidebar .DocSearch-Button {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (max-width: 768px) {
|
|
30
|
+
.DocSearch-Button {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.DocSearch-Button-Placeholder {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.navbar__inner .DocSearch-Button {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.navbar-sidebar .DocSearch-Button {
|
|
43
|
+
display: flex;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.DocSearch-Button:hover {
|
|
48
|
+
box-shadow: none;
|
|
49
|
+
background-color: var(--color-Neutral_BackgroundMuted);
|
|
50
|
+
color: var(--color-neutral-icon);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.DocSearch-Search-Icon {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.DocSearch-Button-Placeholder {
|
|
58
|
+
color: inherit;
|
|
59
|
+
font-size: 1.4rem;
|
|
60
|
+
line-height: 2.4rem;
|
|
61
|
+
padding: 0;
|
|
62
|
+
transition: color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.DocSearch-Button-Keys {
|
|
66
|
+
width: 3rem;
|
|
67
|
+
min-width: unset;
|
|
68
|
+
height: 2rem;
|
|
69
|
+
background-color: var(--color-neutral-background-subtle);
|
|
70
|
+
border: 1px solid var(--color-neutral-border);
|
|
71
|
+
border-radius: 4px;
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
gap: 0.2rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.DocSearch-Button-Key {
|
|
79
|
+
top: unset;
|
|
80
|
+
width: unset;
|
|
81
|
+
min-width: 0.8rem;
|
|
82
|
+
height: unset;
|
|
83
|
+
margin: unset;
|
|
84
|
+
padding: unset;
|
|
85
|
+
background: unset;
|
|
86
|
+
border-radius: unset;
|
|
87
|
+
box-shadow: unset;
|
|
88
|
+
color: var(--color-neutral-text-subtle);
|
|
89
|
+
font-size: 1.2rem;
|
|
90
|
+
font-weight: 500;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.DocSearch-Button-Key:first-child {
|
|
94
|
+
width: 1.2rem;
|
|
95
|
+
height: 1.2rem;
|
|
96
|
+
font-size: 1.6rem;
|
|
97
|
+
line-height: 1.2rem;
|
|
10
98
|
}
|
|
11
99
|
|
|
12
100
|
.DocSearch-Container {
|
package/src/theme/custom.css
CHANGED
|
@@ -14,8 +14,6 @@ html[data-theme='dark'] {
|
|
|
14
14
|
--ifm-heading-color: #f2f3fb;
|
|
15
15
|
--ifm-navbar-link-color: #f2f3fb;
|
|
16
16
|
|
|
17
|
-
/* TODO set this conditionally to 123px when there is second level nav */
|
|
18
|
-
--ifm-navbar-height: 68px;
|
|
19
17
|
--ifm-line-height-base: 1.65;
|
|
20
18
|
|
|
21
19
|
--ifm-code-background: var(--ifm-pre-background) !important;
|
|
@@ -80,6 +78,9 @@ html[data-theme='dark'] {
|
|
|
80
78
|
--color-primary-action: #5990ff;
|
|
81
79
|
--color-primary-action-hover: #80a9ff;
|
|
82
80
|
--color-primary-action-active: #3970d7;
|
|
81
|
+
--color-primary-black-action: #ffffff;
|
|
82
|
+
--color-primary-black-action-hover: #d1d5e4;
|
|
83
|
+
--color-primary-black-action-active: #f3f4fa;
|
|
83
84
|
--color-primary-field-border-active: #3970d7;
|
|
84
85
|
--color-primary-chip-background: #1a3a78;
|
|
85
86
|
--color-primary-chip-background-hover: #194594;
|
|
@@ -120,6 +121,7 @@ html[data-theme='dark'] {
|
|
|
120
121
|
--color-danger-chip-background: #672523;
|
|
121
122
|
--color-danger-chip-background-hover: #812420;
|
|
122
123
|
--color-danger-chip-text: #fe9e8a;
|
|
124
|
+
--button-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
:root {
|
|
@@ -133,6 +135,7 @@ html[data-theme='dark'] {
|
|
|
133
135
|
--ifm-font-weight-semibold: 600;
|
|
134
136
|
--ifm-font-color-base: #242736;
|
|
135
137
|
|
|
138
|
+
--ifm-navbar-sidebar-width: 100vw;
|
|
136
139
|
--ifm-navbar-item-padding-horizontal: 28px;
|
|
137
140
|
--ifm-navbar-link-color: #41465d;
|
|
138
141
|
--ifm-navbar-shadow: none;
|
|
@@ -160,6 +163,7 @@ html[data-theme='dark'] {
|
|
|
160
163
|
--ifm-footer-background-color: #272c3d;
|
|
161
164
|
--ifm-footer-title-color: #60626e;
|
|
162
165
|
--ifm-footer-link-color: #6b6e80;
|
|
166
|
+
--ifm-spacing-horizontal: 2.4rem;
|
|
163
167
|
--max-layout-width: 1440px;
|
|
164
168
|
|
|
165
169
|
--ifm-code-background: var(--ifm-pre-background);
|
|
@@ -236,6 +240,9 @@ html[data-theme='dark'] {
|
|
|
236
240
|
--color-primary-action: #1672eb;
|
|
237
241
|
--color-primary-action-hover: #5290f9;
|
|
238
242
|
--color-primary-action-active: #1a57da;
|
|
243
|
+
--color-primary-black-action: #272d3e;
|
|
244
|
+
--color-primary-black-action-hover: #2b3143;
|
|
245
|
+
--color-primary-black-action-active: #0a0b0f;
|
|
239
246
|
--color-primary-field-border-active: #1672eb;
|
|
240
247
|
--color-primary-chip-background: #e1eaff;
|
|
241
248
|
--color-primary-chip-background-hover: #d8e2ff;
|
|
@@ -276,6 +283,7 @@ html[data-theme='dark'] {
|
|
|
276
283
|
--color-danger-chip-background: #ffe3dc;
|
|
277
284
|
--color-danger-chip-background-hover: #fedad1;
|
|
278
285
|
--color-danger-chip-text: #bb0401;
|
|
286
|
+
--button-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
|
|
279
287
|
}
|
|
280
288
|
|
|
281
289
|
.markdown h1,
|
|
@@ -346,19 +354,51 @@ body {
|
|
|
346
354
|
font-weight: 600;
|
|
347
355
|
}
|
|
348
356
|
|
|
349
|
-
.navbar__item {
|
|
350
|
-
font-weight: 500;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
357
|
.navbar__sub--title > a {
|
|
354
358
|
font-weight: 600;
|
|
355
359
|
}
|
|
356
360
|
|
|
361
|
+
footer .clean-list {
|
|
362
|
+
margin-bottom: 0;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
footer .row {
|
|
366
|
+
margin: unset;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
footer .col {
|
|
370
|
+
padding: unset;
|
|
371
|
+
}
|
|
372
|
+
|
|
357
373
|
.footer__title {
|
|
358
374
|
font-size: 20px;
|
|
359
375
|
font-weight: 600;
|
|
360
376
|
}
|
|
361
377
|
|
|
378
|
+
.footer__item {
|
|
379
|
+
margin-bottom: 1.6rem;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.footer__item:last-child {
|
|
383
|
+
margin-bottom: 0;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.footer__link-item {
|
|
387
|
+
display: flex;
|
|
388
|
+
align-items: center;
|
|
389
|
+
gap: 0.4rem;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
@media (max-width: 996px) {
|
|
393
|
+
.footer__link-item {
|
|
394
|
+
margin: 0 auto;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.footer__link-item svg[class*=iconExternalLink] {
|
|
399
|
+
margin-left: unset;
|
|
400
|
+
}
|
|
401
|
+
|
|
362
402
|
.footer__bottom a {
|
|
363
403
|
opacity: 0.75;
|
|
364
404
|
}
|
|
@@ -367,24 +407,25 @@ body {
|
|
|
367
407
|
color: var(--ifm-footer-title-color);
|
|
368
408
|
}
|
|
369
409
|
|
|
370
|
-
footer .col {
|
|
371
|
-
margin-bottom: 32px;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
410
|
.navbar__title {
|
|
375
411
|
/* Replaced by SVG */
|
|
376
412
|
display: none;
|
|
377
413
|
}
|
|
378
414
|
|
|
379
415
|
.navbar__inner {
|
|
380
|
-
/* .container */
|
|
381
|
-
padding: 10px var(--ifm-spacing-horizontal);
|
|
382
416
|
width: 100%;
|
|
417
|
+
height: 68px;
|
|
418
|
+
padding: 0 var(--ifm-spacing-horizontal);
|
|
383
419
|
background: var(--color-Neutral_Background);
|
|
384
420
|
}
|
|
385
421
|
|
|
422
|
+
.navbar__sub {
|
|
423
|
+
padding: 0.8rem var(--ifm-spacing-horizontal);
|
|
424
|
+
height: 58px;
|
|
425
|
+
}
|
|
426
|
+
|
|
386
427
|
.navbar__container {
|
|
387
|
-
max-width: calc(var(--max-layout-width) -
|
|
428
|
+
max-width: calc(var(--max-layout-width) - var(--ifm-spacing-horizontal) * 2);
|
|
388
429
|
display: flex;
|
|
389
430
|
margin: 0 auto;
|
|
390
431
|
width: 100%;
|
|
@@ -395,43 +436,6 @@ footer .col {
|
|
|
395
436
|
display: none;
|
|
396
437
|
}
|
|
397
438
|
|
|
398
|
-
.dropdown__link {
|
|
399
|
-
font-size: 14px;
|
|
400
|
-
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.DocSearch-Button-Placeholder {
|
|
404
|
-
font-size: 14px !important;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
html .DocSearch-Button {
|
|
408
|
-
border-radius: 6px !important;
|
|
409
|
-
font-weight: 400 !important;
|
|
410
|
-
background: #f9fafd;
|
|
411
|
-
border: 1px solid #c1c6dd;
|
|
412
|
-
|
|
413
|
-
/* Annoying, but needed */
|
|
414
|
-
/* https://stackoverflow.com/questions/26140050/why-is-font-family-not-inherited-in-button-tags-automatically/26140154 */
|
|
415
|
-
font-family: inherit;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
html .DocSearch-Button .DocSearch-Search-Icon {
|
|
419
|
-
color: var(--docsearch-muted-color);
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
html[data-theme="dark"] .DocSearch-Button {
|
|
423
|
-
background: none;
|
|
424
|
-
border: 1px solid var(--docsearch-muted-color);
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
html[data-theme="dark"] .DocSearch-Button .DocSearch-Search-Icon {
|
|
428
|
-
color: var(--docsearch-muted-color);
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
.DocSearch-Button:hover {
|
|
432
|
-
box-shadow: none !important;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
439
|
.navbar {
|
|
436
440
|
padding: 0;
|
|
437
441
|
/* height: fit-content; */
|
|
@@ -520,24 +524,29 @@ aside .icon svg[class*=iconExternalLink] {
|
|
|
520
524
|
}
|
|
521
525
|
|
|
522
526
|
.navbar__items {
|
|
523
|
-
|
|
527
|
+
height: calc(100% -68px);
|
|
528
|
+
gap: 0.4rem;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.navbar__items--right {
|
|
532
|
+
gap: 1.6rem;
|
|
524
533
|
}
|
|
525
534
|
|
|
526
535
|
.navbar__item, .menu__link, .navbar__link {
|
|
527
|
-
border-radius: 8px;
|
|
528
536
|
color: var(--color-Neutral_TextMuted);
|
|
529
|
-
padding:
|
|
530
|
-
font-size:
|
|
531
|
-
line-height:
|
|
537
|
+
padding: 0;
|
|
538
|
+
font-size: 1.4rem;
|
|
539
|
+
line-height: 2.4rem;
|
|
532
540
|
transition: all ease-in 0.12s;
|
|
533
541
|
}
|
|
534
542
|
|
|
535
543
|
.menu__link:hover {
|
|
536
|
-
background: var(--color-Neutral_Hover)
|
|
544
|
+
background: var(--color-Neutral_Hover);
|
|
545
|
+
color: unset;
|
|
537
546
|
}
|
|
538
547
|
|
|
539
548
|
.menu__link--active:hover {
|
|
540
|
-
background: var(--color-neutral-overflow)
|
|
549
|
+
background: var(--color-neutral-overflow);
|
|
541
550
|
}
|
|
542
551
|
|
|
543
552
|
.navbar__link:hover, .navbar__link--active:hover {
|
|
@@ -554,12 +563,18 @@ aside .icon svg[class*=iconExternalLink] {
|
|
|
554
563
|
display: flex;
|
|
555
564
|
align-items: center;
|
|
556
565
|
width: 200px;
|
|
557
|
-
|
|
566
|
+
margin-right: 1.6rem;
|
|
567
|
+
padding-right: 2rem;
|
|
558
568
|
position: relative;
|
|
559
569
|
border-right: 1px solid var(--color-Neutral_SeparatorSubtle);
|
|
560
570
|
justify-content: center;
|
|
561
571
|
}
|
|
562
572
|
|
|
573
|
+
.navbar-sidebar__item {
|
|
574
|
+
width: 100%;
|
|
575
|
+
padding: 1.6rem var(--ifm-spacing-horizontal);
|
|
576
|
+
}
|
|
577
|
+
|
|
563
578
|
header.hero div[class^=heroButtons] {
|
|
564
579
|
justify-content: inherit;
|
|
565
580
|
}
|
|
@@ -592,8 +607,8 @@ article .card h2 {
|
|
|
592
607
|
margin-top: 0;
|
|
593
608
|
}
|
|
594
609
|
|
|
595
|
-
.tsd-kind-icon,
|
|
596
610
|
.menu__link,
|
|
611
|
+
.tsd-kind-icon,
|
|
597
612
|
.table-of-contents__link {
|
|
598
613
|
text-overflow: ellipsis;
|
|
599
614
|
display: inline-block !important;
|
|
@@ -615,13 +630,25 @@ article .card h2 {
|
|
|
615
630
|
color: #f2f3fb;
|
|
616
631
|
}
|
|
617
632
|
|
|
618
|
-
.menu__caret
|
|
619
|
-
|
|
620
|
-
|
|
633
|
+
.menu__caret {
|
|
634
|
+
margin-right: 0.8rem;
|
|
635
|
+
padding: 0.6rem;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.menu__caret,
|
|
639
|
+
.menu__link--sublist-caret {
|
|
640
|
+
border-radius: 1.2rem;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.menu__caret:before {
|
|
644
|
+
width: 1.2rem;
|
|
645
|
+
height: 1.2rem;
|
|
621
646
|
}
|
|
622
647
|
|
|
623
648
|
.menu__link--sublist-caret:after {
|
|
624
|
-
|
|
649
|
+
width: 2rem;
|
|
650
|
+
height: 2.4rem;
|
|
651
|
+
float: right;
|
|
625
652
|
}
|
|
626
653
|
|
|
627
654
|
aside button[class*="collapseSidebarButton"] svg {
|
|
@@ -632,29 +659,112 @@ aside button[class*="collapseSidebarButton"] svg {
|
|
|
632
659
|
height: 20px;
|
|
633
660
|
}
|
|
634
661
|
|
|
635
|
-
|
|
662
|
+
.navbar .dropdown--hoverable::after {
|
|
663
|
+
top: 100%;
|
|
664
|
+
width: 100%;
|
|
665
|
+
height: 0.6rem;
|
|
666
|
+
content: '';
|
|
667
|
+
display: block;
|
|
668
|
+
position: absolute;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.navbar .dropdown__menu {
|
|
672
|
+
top: calc(100% + 0.6rem);
|
|
636
673
|
min-width: 96px;
|
|
637
|
-
padding
|
|
674
|
+
padding: 0.8rem;
|
|
675
|
+
border: 1px solid var(--color-neutral-border);
|
|
676
|
+
border-radius: 12px;
|
|
677
|
+
box-shadow: none;
|
|
638
678
|
}
|
|
639
679
|
|
|
640
|
-
.
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
680
|
+
.navbar .dropdown__link {
|
|
681
|
+
margin: unset;
|
|
682
|
+
padding: 0.8rem;
|
|
683
|
+
font-size: 1.2rem;
|
|
684
|
+
line-height: 1.6rem;
|
|
685
|
+
border-radius: 0.8rem;
|
|
686
|
+
display: flex;
|
|
687
|
+
align-items: center;
|
|
688
|
+
gap: 0.4rem;
|
|
644
689
|
}
|
|
645
690
|
|
|
646
|
-
.navbar
|
|
647
|
-
|
|
691
|
+
.navbar .dropdown__link:hover {
|
|
692
|
+
background: var(--color-Neutral_Hover);
|
|
648
693
|
}
|
|
649
694
|
|
|
650
|
-
.navbar
|
|
651
|
-
|
|
695
|
+
.navbar .dropdown__link svg[class*=iconExternalLink] {
|
|
696
|
+
margin-left: unset;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.navbar__toggle,
|
|
700
|
+
.navbar-sidebar__close {
|
|
701
|
+
width: 3.6rem;
|
|
702
|
+
height: 3.6rem;
|
|
703
|
+
margin: unset;
|
|
704
|
+
flex-shrink: 0;
|
|
705
|
+
align-items: center;
|
|
706
|
+
justify-content: center;
|
|
652
707
|
}
|
|
653
708
|
|
|
654
|
-
|
|
709
|
+
@media (max-width: 996px) {
|
|
710
|
+
.navbar__toggle {
|
|
711
|
+
display: flex;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.navbar__toggle svg {
|
|
716
|
+
width: 2rem;
|
|
717
|
+
height: 2rem;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.navbar-sidebar__close svg {
|
|
721
|
+
width: 1.6rem;
|
|
722
|
+
height: 1.6rem;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.navbar-sidebar {
|
|
726
|
+
width: 100vw;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.navbar-sidebar__items {
|
|
730
|
+
height: calc(100vh - 197px);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.navbar-sidebar__brand {
|
|
734
|
+
height: 68px;
|
|
735
|
+
padding: 0 var(--ifm-spacing-horizontal);
|
|
736
|
+
display: flex;
|
|
737
|
+
align-items: center;
|
|
738
|
+
gap: 0.8rem;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.navbar-sidebar__actions {
|
|
742
|
+
width: 100%;
|
|
743
|
+
padding: 0 var(--ifm-spacing-horizontal);
|
|
655
744
|
display: none;
|
|
656
745
|
}
|
|
657
746
|
|
|
747
|
+
@media (max-width: 768px) {
|
|
748
|
+
.navbar-sidebar__actions {
|
|
749
|
+
display: block;
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.navbar-sidebar__actions__container {
|
|
754
|
+
width: 100%;
|
|
755
|
+
padding: 1.6rem 0;
|
|
756
|
+
border-bottom: 1px solid rgb(224, 224, 224);
|
|
757
|
+
display: flex;
|
|
758
|
+
flex-direction: column;
|
|
759
|
+
gap: 1.6rem;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
.navbar__logo {
|
|
763
|
+
width: 152px;
|
|
764
|
+
height: 28px;
|
|
765
|
+
margin-right: unset;
|
|
766
|
+
}
|
|
767
|
+
|
|
658
768
|
.navbar__link.subnav {
|
|
659
769
|
font-size: 12.8px;
|
|
660
770
|
padding: 5px;
|
|
@@ -724,7 +834,6 @@ html .plugin-docs .theme-doc-markdown h3 {
|
|
|
724
834
|
display: none;
|
|
725
835
|
}
|
|
726
836
|
|
|
727
|
-
.theme-doc-sidebar-menu .menu__link,
|
|
728
837
|
.theme-doc-toc-desktop .table-of-contents .toc-highlight {
|
|
729
838
|
height: auto;
|
|
730
839
|
background: none;
|
|
@@ -734,10 +843,6 @@ html .plugin-docs .theme-doc-markdown h3 {
|
|
|
734
843
|
margin-top: 0;
|
|
735
844
|
}
|
|
736
845
|
|
|
737
|
-
.theme-doc-sidebar-menu .menu__link:hover {
|
|
738
|
-
background: inherit;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
846
|
.theme-doc-sidebar-menu .menu__link {
|
|
742
847
|
font-weight: 400;
|
|
743
848
|
}
|
|
@@ -746,15 +851,6 @@ html .plugin-docs .theme-doc-markdown h3 {
|
|
|
746
851
|
font-weight: 700;
|
|
747
852
|
}
|
|
748
853
|
|
|
749
|
-
.theme-doc-sidebar-menu .menu__list-item-collapsible {
|
|
750
|
-
background: none;
|
|
751
|
-
border-radius: 0.8rem;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.theme-doc-sidebar-menu .menu__list-item-collapsible:hover {
|
|
755
|
-
background: var(--color-Neutral_Hover);
|
|
756
|
-
}
|
|
757
|
-
|
|
758
854
|
.theme-doc-sidebar-menu .menu__list-item-collapsible--active:hover {
|
|
759
855
|
background: var(--color-neutral-overflow);
|
|
760
856
|
}
|
|
@@ -785,7 +881,6 @@ html[data-theme='dark'] .theme-doc-toc-desktop .table-of-contents .table-of-cont
|
|
|
785
881
|
color: #f2f3fb;
|
|
786
882
|
}
|
|
787
883
|
|
|
788
|
-
.theme-doc-sidebar-menu .menu__link:hover,
|
|
789
884
|
.theme-doc-sidebar-menu .menu__link--active,
|
|
790
885
|
.theme-doc-toc-desktop .table-of-contents .table-of-contents__link:hover,
|
|
791
886
|
.theme-doc-toc-desktop .table-of-contents .table-of-contents__link--active {
|
|
@@ -819,24 +914,84 @@ div[class*="searchBox"] {
|
|
|
819
914
|
position: unset;
|
|
820
915
|
}
|
|
821
916
|
|
|
822
|
-
.
|
|
823
|
-
|
|
917
|
+
.navbar__brand {
|
|
918
|
+
margin-right: 2rem;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
@media (max-width: 996px) {
|
|
922
|
+
.navbar__brand {
|
|
923
|
+
margin-right: auto;
|
|
924
|
+
}
|
|
824
925
|
}
|
|
825
926
|
|
|
826
927
|
.menu__link, .menu__list-item > .navbar__item {
|
|
827
928
|
display: flex;
|
|
828
929
|
}
|
|
829
930
|
|
|
830
|
-
.
|
|
831
|
-
.
|
|
832
|
-
|
|
833
|
-
|
|
931
|
+
.menu__list-item > .menu__link,
|
|
932
|
+
.menu__list-item-collapsible,
|
|
933
|
+
.menu__list-item-collapsible > .menu__link,
|
|
934
|
+
.navbar__item.navbar__link,
|
|
935
|
+
.navbar__item > .navbar__link,
|
|
936
|
+
.navbar-sidebar__back {
|
|
937
|
+
padding: 0.8rem 1.2rem;
|
|
938
|
+
border-radius: 2rem;
|
|
939
|
+
font-size: 1.4rem;
|
|
940
|
+
line-height: 2.4rem;
|
|
941
|
+
font-weight: 500;
|
|
834
942
|
}
|
|
835
943
|
|
|
836
|
-
|
|
837
|
-
.
|
|
838
|
-
|
|
944
|
+
.navbar__item.navbar__link.icon {
|
|
945
|
+
padding: 0.8rem;
|
|
946
|
+
font-size: 0;
|
|
947
|
+
line-height: 0;
|
|
948
|
+
flex-shrink: 0;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
@media (max-width: 996px) {
|
|
952
|
+
.navbar__item.navbar__link.icon {
|
|
953
|
+
font-size: 1.4rem;
|
|
954
|
+
line-height: 2.4rem;
|
|
955
|
+
font-weight: 500;
|
|
839
956
|
}
|
|
957
|
+
|
|
958
|
+
.menu__link.icon::before {
|
|
959
|
+
display: none;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.navbar__inner .navbar__item.navbar__link.icon {
|
|
963
|
+
display: none;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
.menu__list-item-collapsible {
|
|
969
|
+
padding: unset;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.menu__list {
|
|
973
|
+
width: 100%;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.menu__list > .menu__list-item {
|
|
977
|
+
margin-top: 0.4rem;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.menu__list .menu__list {
|
|
981
|
+
margin-top: unset;
|
|
982
|
+
padding-left: 1.6rem;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.navbar-sidebar__back {
|
|
986
|
+
width: 100%;
|
|
987
|
+
margin: unset;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.theme-doc-sidebar-item-category
|
|
991
|
+
.theme-doc-sidebar-item-link,
|
|
992
|
+
.menu__list-item-collapsible {
|
|
993
|
+
display: flex;
|
|
994
|
+
align-items: center;
|
|
840
995
|
}
|
|
841
996
|
|
|
842
997
|
@media (min-width: 997px) {
|
|
@@ -849,12 +1004,6 @@ div[class*="searchBox"] {
|
|
|
849
1004
|
}
|
|
850
1005
|
}
|
|
851
1006
|
|
|
852
|
-
@media (min-width: 1130px) {
|
|
853
|
-
.navbar__items {
|
|
854
|
-
gap: 20px;
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
|
|
858
1007
|
/* @media (min-width: 997px) and (max-width: 1250px) {
|
|
859
1008
|
.navbar__items--right a.icon {
|
|
860
1009
|
display: none;
|
|
@@ -878,11 +1027,6 @@ html .theme-doc-sidebar-container {
|
|
|
878
1027
|
border: 0;
|
|
879
1028
|
}
|
|
880
1029
|
|
|
881
|
-
html .theme-doc-sidebar-container button {
|
|
882
|
-
border: 0;
|
|
883
|
-
border-radius: 10px;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
1030
|
html .table-of-contents {
|
|
887
1031
|
border-left: 0;
|
|
888
1032
|
}
|
|
@@ -1016,15 +1160,6 @@ aside li.section-header > .menu__list {
|
|
|
1016
1160
|
padding-left: 0;
|
|
1017
1161
|
}
|
|
1018
1162
|
|
|
1019
|
-
.theme-doc-sidebar-menu > li.section-header > ul > li.theme-doc-sidebar-item-category-level-2 > .menu__list-item-collapsible:hover,
|
|
1020
|
-
.theme-doc-sidebar-menu > li.section-header > ul > li.theme-doc-sidebar-item-category-level-2 > .menu__list-item-collapsible--active {
|
|
1021
|
-
background: inherit !important;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
.theme-doc-sidebar-menu > li.section-header > ul > li.theme-doc-sidebar-item-category-level-2 {
|
|
1025
|
-
margin-bottom: 1rem;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
1163
|
.beta-chip {
|
|
1029
1164
|
display: inline-block;
|
|
1030
1165
|
border: 1px solid #ccc;
|
|
@@ -1837,19 +1972,12 @@ iframe[src*="youtube"] {
|
|
|
1837
1972
|
--ifm-button-size-multiplier: 1.5;
|
|
1838
1973
|
}
|
|
1839
1974
|
|
|
1975
|
+
div[class^="navbarSearchContainer"] {
|
|
1976
|
+
padding: 0;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1840
1979
|
@media (max-width: 996px) {
|
|
1841
1980
|
div[class^="navbarSearchContainer"] {
|
|
1842
1981
|
position: static;
|
|
1843
1982
|
}
|
|
1844
|
-
|
|
1845
|
-
div[class^="navbarSearchContainer"] button {
|
|
1846
|
-
margin-left: 5px;
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
@media (max-width: 768px) {
|
|
1851
|
-
.DocSearch-Button-Keys,
|
|
1852
|
-
.DocSearch-Button-Placeholder {
|
|
1853
|
-
display: none !important;
|
|
1854
|
-
}
|
|
1855
1983
|
}
|