@vuepress/theme-default 2.0.0-beta.5 → 2.0.0-beta.50
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/lib/client/components/AutoLink.vue +114 -0
- package/lib/client/components/DropdownTransition.vue +21 -0
- package/lib/client/components/Home.vue +15 -0
- package/lib/client/components/HomeContent.vue +5 -0
- package/lib/client/components/HomeFeatures.vue +23 -0
- package/lib/client/components/HomeFooter.vue +17 -0
- package/lib/client/components/HomeHero.vue +97 -0
- package/lib/client/components/Navbar.vue +75 -0
- package/lib/client/components/NavbarBrand.vue +55 -0
- package/lib/client/components/NavbarDropdown.vue +126 -0
- package/lib/{components/NavbarLinks.vue → client/components/NavbarItems.vue} +41 -52
- package/lib/{components → client/components}/Page.vue +9 -15
- package/lib/{components → client/components}/PageMeta.vue +51 -66
- package/lib/{components → client/components}/PageNav.vue +44 -57
- package/lib/client/components/Sidebar.vue +13 -0
- package/lib/client/components/SidebarItem.vue +87 -0
- package/lib/client/components/SidebarItems.vue +57 -0
- package/lib/client/components/ToggleColorModeButton.vue +57 -0
- package/lib/client/components/ToggleSidebarButton.vue +24 -0
- package/lib/client/components/global/Badge.vue +31 -0
- package/lib/{components → client/components}/global/CodeGroup.d.ts +2 -3
- package/lib/client/components/global/CodeGroup.js +106 -0
- package/lib/client/components/global/CodeGroupItem.vue +31 -0
- package/lib/client/components/global/index.d.ts +4 -0
- package/lib/client/components/global/index.js +4 -0
- package/lib/client/composables/index.d.ts +6 -0
- package/lib/client/composables/index.js +6 -0
- package/lib/client/composables/useDarkMode.d.ts +12 -0
- package/lib/client/composables/useDarkMode.js +57 -0
- package/lib/{composables → client/composables}/useNavLink.d.ts +6 -1
- package/lib/{composables → client/composables}/useNavLink.js +5 -2
- package/lib/{composables → client/composables}/useResolveRouteWithRedirect.d.ts +1 -1
- package/lib/{composables → client/composables}/useResolveRouteWithRedirect.js +2 -2
- package/lib/{composables → client/composables}/useScrollPromise.d.ts +0 -0
- package/lib/{composables → client/composables}/useScrollPromise.js +1 -1
- package/lib/{composables → client/composables}/useSidebarItems.d.ts +12 -7
- package/lib/client/composables/useSidebarItems.js +118 -0
- package/lib/{composables → client/composables}/useThemeData.d.ts +2 -2
- package/lib/{composables → client/composables}/useThemeData.js +1 -1
- package/lib/client/config.d.ts +3 -0
- package/lib/client/config.js +38 -0
- package/lib/client/index.d.ts +3 -0
- package/lib/client/index.js +3 -0
- package/lib/client/layouts/404.vue +27 -0
- package/lib/client/layouts/Layout.vue +134 -0
- package/lib/{shim.d.ts → client/shim.d.ts} +0 -0
- package/lib/{styles/_wrapper.scss → client/styles/_mixins.scss} +7 -2
- package/lib/client/styles/_variables.scss +11 -0
- package/lib/{styles → client/styles}/arrow.scss +4 -6
- package/lib/{styles → client/styles}/badge.scss +9 -11
- package/lib/{styles → client/styles}/code-group.scss +9 -2
- package/lib/{styles → client/styles}/code.scss +26 -37
- package/lib/client/styles/custom-container.scss +88 -0
- package/lib/{styles → client/styles}/home.scss +32 -24
- package/lib/{styles → client/styles}/index.scss +4 -4
- package/lib/{styles → client/styles}/layout.scss +70 -66
- package/lib/{styles/dropdown.scss → client/styles/navbar-dropdown.scss} +37 -47
- package/lib/{styles → client/styles}/navbar.scss +70 -34
- package/lib/client/styles/normalize.scss +177 -0
- package/lib/{styles → client/styles}/page.scss +20 -8
- package/lib/client/styles/sidebar.scss +134 -0
- package/lib/{styles → client/styles}/toc.scss +0 -0
- package/lib/client/styles/transitions.scss +22 -0
- package/lib/client/styles/vars-dark.scss +46 -0
- package/lib/client/styles/vars.scss +133 -0
- package/lib/client/utils/index.d.ts +3 -0
- package/lib/client/utils/index.js +3 -0
- package/lib/client/utils/isActiveSidebarItem.d.ts +3 -0
- package/lib/client/utils/isActiveSidebarItem.js +20 -0
- package/lib/{utils → client/utils}/resolveEditLink.d.ts +2 -2
- package/lib/{utils → client/utils}/resolveEditLink.js +15 -9
- package/lib/client/utils/resolveRepoType.d.ts +2 -0
- package/lib/{utils → client/utils}/resolveRepoType.js +3 -1
- package/lib/node/defaultTheme.d.ts +10 -0
- package/lib/node/defaultTheme.js +120 -0
- package/lib/node/index.d.ts +5 -5
- package/lib/node/index.js +5 -17
- package/lib/node/utils/assignDefaultLocaleOptions.d.ts +7 -0
- package/lib/node/{assignDefaultLocaleOptions.js → utils/assignDefaultLocaleOptions.js} +13 -13
- package/lib/node/utils/index.d.ts +2 -0
- package/lib/node/utils/index.js +2 -0
- package/lib/node/utils/resolveContainerPluginOptions.d.ts +8 -0
- package/lib/node/utils/resolveContainerPluginOptions.js +17 -0
- package/lib/shared/index.d.ts +3 -0
- package/lib/shared/index.js +3 -0
- package/lib/{types → shared}/nav.d.ts +11 -12
- package/lib/shared/nav.js +1 -0
- package/lib/{types → shared}/options.d.ts +49 -11
- package/lib/shared/options.js +1 -0
- package/lib/{types → shared}/page.d.ts +14 -6
- package/lib/shared/page.js +1 -0
- package/package.json +47 -29
- package/templates/build.html +33 -0
- package/CHANGELOG.md +0 -368
- package/lib/clientAppEnhance.d.ts +0 -3
- package/lib/clientAppEnhance.js +0 -30
- package/lib/clientAppSetup.d.ts +0 -2
- package/lib/clientAppSetup.js +0 -11
- package/lib/components/DropdownLink.vue +0 -141
- package/lib/components/DropdownTransition.vue +0 -34
- package/lib/components/Home.vue +0 -133
- package/lib/components/NavLink.vue +0 -115
- package/lib/components/Navbar.vue +0 -114
- package/lib/components/Sidebar.vue +0 -38
- package/lib/components/SidebarChild.d.ts +0 -6
- package/lib/components/SidebarChild.js +0 -91
- package/lib/components/ToggleSidebarButton.vue +0 -27
- package/lib/components/global/Badge.vue +0 -37
- package/lib/components/global/CodeGroup.js +0 -52
- package/lib/components/global/CodeGroupItem.vue +0 -25
- package/lib/components/global/OutboundLink.vue +0 -30
- package/lib/composables/index.d.ts +0 -5
- package/lib/composables/index.js +0 -5
- package/lib/composables/useSidebarItems.js +0 -114
- package/lib/index.d.ts +0 -6
- package/lib/index.js +0 -67
- package/lib/layouts/404.vue +0 -38
- package/lib/layouts/Layout.vue +0 -152
- package/lib/node/assignDefaultLocaleOptions.d.ts +0 -5
- package/lib/node/resolveActiveHeaderLinksPluginOptions.d.ts +0 -6
- package/lib/node/resolveActiveHeaderLinksPluginOptions.js +0 -16
- package/lib/node/resolveContainerPluginOptions.d.ts +0 -26
- package/lib/node/resolveContainerPluginOptions.js +0 -79
- package/lib/node/resolveGitPluginOptions.d.ts +0 -6
- package/lib/node/resolveGitPluginOptions.js +0 -22
- package/lib/node/resolveMediumZoomPluginOptions.d.ts +0 -6
- package/lib/node/resolveMediumZoomPluginOptions.js +0 -17
- package/lib/styles/_normalize.scss +0 -148
- package/lib/styles/_variables.scss +0 -34
- package/lib/styles/custom-container.scss +0 -78
- package/lib/styles/plugins.scss +0 -18
- package/lib/styles/sidebar.scss +0 -152
- package/lib/styles/sr-only.scss +0 -12
- package/lib/styles/transitions.scss +0 -13
- package/lib/types/index.d.ts +0 -3
- package/lib/types/index.js +0 -15
- package/lib/types/nav.js +0 -2
- package/lib/types/options.js +0 -2
- package/lib/types/page.js +0 -2
- package/lib/utils/index.d.ts +0 -2
- package/lib/utils/index.js +0 -2
- package/lib/utils/resolveRepoType.d.ts +0 -2
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
@import '_variables';
|
|
2
|
-
|
|
3
|
-
html,
|
|
4
|
-
body {
|
|
5
|
-
padding: 0;
|
|
6
|
-
margin: 0;
|
|
7
|
-
background-color: #fff;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
body {
|
|
11
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
|
12
|
-
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
13
|
-
-webkit-font-smoothing: antialiased;
|
|
14
|
-
-moz-osx-font-smoothing: grayscale;
|
|
15
|
-
font-size: 16px;
|
|
16
|
-
color: $textColor;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
a {
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
color: $accentColor;
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
p a code {
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
color: $accentColor;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
kbd {
|
|
31
|
-
background: #eee;
|
|
32
|
-
border: solid 0.15rem #ddd;
|
|
33
|
-
border-bottom: solid 0.25rem #ddd;
|
|
34
|
-
border-radius: 0.15rem;
|
|
35
|
-
padding: 0 0.15em;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
blockquote {
|
|
39
|
-
font-size: 1rem;
|
|
40
|
-
color: #999;
|
|
41
|
-
border-left: 0.2rem solid #dfe2e5;
|
|
42
|
-
margin: 1rem 0;
|
|
43
|
-
padding: 0.25rem 0 0.25rem 1rem;
|
|
44
|
-
|
|
45
|
-
& > p {
|
|
46
|
-
margin: 0;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
ul,
|
|
51
|
-
ol {
|
|
52
|
-
padding-left: 1.2em;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
strong {
|
|
56
|
-
font-weight: 600;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
h1,
|
|
60
|
-
h2,
|
|
61
|
-
h3,
|
|
62
|
-
h4,
|
|
63
|
-
h5,
|
|
64
|
-
h6 {
|
|
65
|
-
font-weight: 600;
|
|
66
|
-
line-height: 1.25;
|
|
67
|
-
|
|
68
|
-
&:hover .header-anchor {
|
|
69
|
-
opacity: 1;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
h1 {
|
|
74
|
-
font-size: 2.2rem;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
h2 {
|
|
78
|
-
font-size: 1.65rem;
|
|
79
|
-
padding-bottom: 0.3rem;
|
|
80
|
-
border-bottom: 1px solid $borderColor;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
h3 {
|
|
84
|
-
font-size: 1.35rem;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
h4 {
|
|
88
|
-
font-size: 1.15rem;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
h5 {
|
|
92
|
-
font-size: 1.05rem;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
h6 {
|
|
96
|
-
font-size: 1rem;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
a.header-anchor {
|
|
100
|
-
font-size: 0.85em;
|
|
101
|
-
float: left;
|
|
102
|
-
margin-left: -0.87em;
|
|
103
|
-
padding-right: 0.23em;
|
|
104
|
-
margin-top: 0.125em;
|
|
105
|
-
opacity: 0;
|
|
106
|
-
|
|
107
|
-
&:hover {
|
|
108
|
-
text-decoration: none;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
code,
|
|
113
|
-
kbd {
|
|
114
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
115
|
-
monospace;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
p,
|
|
119
|
-
ul,
|
|
120
|
-
ol {
|
|
121
|
-
line-height: 1.7;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
hr {
|
|
125
|
-
border: 0;
|
|
126
|
-
border-top: 1px solid $borderColor;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
table {
|
|
130
|
-
border-collapse: collapse;
|
|
131
|
-
margin: 1rem 0;
|
|
132
|
-
display: block;
|
|
133
|
-
overflow-x: auto;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
tr {
|
|
137
|
-
border-top: 1px solid #dfe2e5;
|
|
138
|
-
|
|
139
|
-
&:nth-child(2n) {
|
|
140
|
-
background-color: #f6f8fa;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
th,
|
|
145
|
-
td {
|
|
146
|
-
border: 1px solid #dfe2e5;
|
|
147
|
-
padding: 0.6em 1em;
|
|
148
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@import '@vuepress/plugin-palette/palette';
|
|
2
|
-
|
|
3
|
-
// colors
|
|
4
|
-
$accentColor: #3eaf7c !default;
|
|
5
|
-
$textColor: #2c3e50 !default;
|
|
6
|
-
$borderColor: #eaecef !default;
|
|
7
|
-
$codeBgColor: #282c34 !default;
|
|
8
|
-
$arrowBgColor: #ccc !default;
|
|
9
|
-
$tipColor: #42b983 !default;
|
|
10
|
-
$warningColor: #e7c000 !default;
|
|
11
|
-
$dangerColor: #cc0000 !default;
|
|
12
|
-
$badgeTipColor: $tipColor !default;
|
|
13
|
-
$badgeWarningColor: $warningColor !default;
|
|
14
|
-
$badgeDangerColor: $dangerColor !default;
|
|
15
|
-
|
|
16
|
-
// layout
|
|
17
|
-
$navbarHeight: 3.6rem !default;
|
|
18
|
-
$sidebarWidth: 20rem !default;
|
|
19
|
-
$contentWidth: 740px !default;
|
|
20
|
-
$homePageWidth: 960px !default;
|
|
21
|
-
|
|
22
|
-
// responsive breakpoints
|
|
23
|
-
$MQNarrow: 959px !default;
|
|
24
|
-
$MQMobile: 719px !default;
|
|
25
|
-
$MQMobileNarrow: 419px !default;
|
|
26
|
-
|
|
27
|
-
// code
|
|
28
|
-
$lineNumbersWrapperWidth: 3.5rem !default;
|
|
29
|
-
$codeLang: 'c' 'cpp' 'cs' 'css' 'dart' 'docker' 'fs' 'go' 'html' 'java' 'js'
|
|
30
|
-
'json' 'kt' 'less' 'makefile' 'md' 'php' 'py' 'rb' 'rs' 'sass' 'scss' 'sh'
|
|
31
|
-
'styl' 'ts' 'toml' 'vue' 'yml' !default;
|
|
32
|
-
|
|
33
|
-
// other
|
|
34
|
-
$contentClass: '.theme-default-content' !default;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
@use 'sass:color';
|
|
2
|
-
|
|
3
|
-
@import '_variables';
|
|
4
|
-
|
|
5
|
-
.custom-container {
|
|
6
|
-
.custom-container-title {
|
|
7
|
-
font-weight: 600;
|
|
8
|
-
margin-bottom: -0.4rem;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&.tip,
|
|
12
|
-
&.warning,
|
|
13
|
-
&.danger {
|
|
14
|
-
padding: 0.1rem 1.5rem;
|
|
15
|
-
border-left-width: 0.5rem;
|
|
16
|
-
border-left-style: solid;
|
|
17
|
-
margin: 1rem 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.tip {
|
|
21
|
-
background-color: #f3f5f7;
|
|
22
|
-
border-color: $tipColor;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.warning {
|
|
26
|
-
background-color: color.scale($warningColor, $lightness: 90%);
|
|
27
|
-
border-color: $warningColor;
|
|
28
|
-
color: color.scale($warningColor, $lightness: -50%);
|
|
29
|
-
|
|
30
|
-
.custom-container-title {
|
|
31
|
-
color: color.scale($warningColor, $lightness: -25%);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
a {
|
|
35
|
-
color: $textColor;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.danger {
|
|
40
|
-
background-color: color.scale($dangerColor, $lightness: 90%);
|
|
41
|
-
border-color: $dangerColor;
|
|
42
|
-
color: color.scale($dangerColor, $lightness: -50%);
|
|
43
|
-
|
|
44
|
-
.custom-container-title {
|
|
45
|
-
color: color.scale($dangerColor, $lightness: -25%);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
a {
|
|
49
|
-
color: $textColor;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.details {
|
|
54
|
-
display: block;
|
|
55
|
-
position: relative;
|
|
56
|
-
border-radius: 2px;
|
|
57
|
-
margin: 1.6em 0;
|
|
58
|
-
padding: 1.6em;
|
|
59
|
-
background-color: #eee;
|
|
60
|
-
|
|
61
|
-
h4 {
|
|
62
|
-
margin-top: 0;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
figure,
|
|
66
|
-
p {
|
|
67
|
-
&:last-child {
|
|
68
|
-
margin-bottom: 0;
|
|
69
|
-
padding-bottom: 0;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
summary {
|
|
74
|
-
outline: none;
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
package/lib/styles/plugins.scss
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@use 'sass:color';
|
|
2
|
-
|
|
3
|
-
@import '_variables';
|
|
4
|
-
|
|
5
|
-
.back-to-top {
|
|
6
|
-
--back-to-top-color: #{$accentColor};
|
|
7
|
-
--back-to-top-color-hover: #{color.scale($accentColor, $lightness: 30%)};
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
#nprogress {
|
|
11
|
-
--nprogress-color: #{$accentColor};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.DocSearch {
|
|
15
|
-
--docsearch-primary-color: #{$accentColor};
|
|
16
|
-
--docsearch-highlight-color: var(--docsearch-primary-color);
|
|
17
|
-
--docsearch-searchbox-shadow: inset 0 0 0 2px var(--docsearch-primary-color);
|
|
18
|
-
}
|
package/lib/styles/sidebar.scss
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
@import '_variables';
|
|
2
|
-
|
|
3
|
-
.sidebar {
|
|
4
|
-
ul {
|
|
5
|
-
padding: 0;
|
|
6
|
-
margin: 0;
|
|
7
|
-
list-style-type: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
a {
|
|
11
|
-
display: inline-block;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.navbar-links {
|
|
15
|
-
display: none;
|
|
16
|
-
border-bottom: 1px solid $borderColor;
|
|
17
|
-
padding: 0.5rem 0 0.75rem 0;
|
|
18
|
-
|
|
19
|
-
a {
|
|
20
|
-
font-weight: 600;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.navbar-links-item {
|
|
24
|
-
display: block;
|
|
25
|
-
line-height: 1.25rem;
|
|
26
|
-
font-size: 1.1em;
|
|
27
|
-
padding: 0.5rem 0 0.5rem 1.5rem;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
& > .sidebar-links {
|
|
32
|
-
padding: 1.5rem 0;
|
|
33
|
-
|
|
34
|
-
& > li > a.sidebar-link {
|
|
35
|
-
font-size: 1.1em;
|
|
36
|
-
line-height: 1.7;
|
|
37
|
-
font-weight: bold;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
& > li:not(:first-child) {
|
|
41
|
-
margin-top: 0.75rem;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@media (max-width: $MQMobile) {
|
|
47
|
-
.sidebar {
|
|
48
|
-
.navbar-links {
|
|
49
|
-
display: block;
|
|
50
|
-
|
|
51
|
-
.dropdown-wrapper
|
|
52
|
-
.nav-dropdown
|
|
53
|
-
.dropdown-item
|
|
54
|
-
a.router-link-active::after {
|
|
55
|
-
top: calc(1rem - 2px);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
& > .sidebar-links {
|
|
60
|
-
padding: 1rem 0;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* sidebar child
|
|
67
|
-
*/
|
|
68
|
-
.sidebar-group {
|
|
69
|
-
.sidebar-links > &:not(:first-child) {
|
|
70
|
-
margin-top: 0.75rem;
|
|
71
|
-
}
|
|
72
|
-
.sidebar-group {
|
|
73
|
-
& > .sidebar-heading {
|
|
74
|
-
opacity: 0.5;
|
|
75
|
-
font-size: 0.95em;
|
|
76
|
-
line-height: 1.4;
|
|
77
|
-
font-weight: normal;
|
|
78
|
-
padding-left: 2rem;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.sidebar-heading {
|
|
84
|
-
color: $textColor;
|
|
85
|
-
transition: color 0.15s ease;
|
|
86
|
-
cursor: default;
|
|
87
|
-
font-size: 1.1em;
|
|
88
|
-
font-weight: bold;
|
|
89
|
-
padding: 0.35rem 1.5rem 0.35rem 1.25rem;
|
|
90
|
-
width: 100%;
|
|
91
|
-
box-sizing: border-box;
|
|
92
|
-
margin: 0;
|
|
93
|
-
border-left: 0.25rem solid transparent;
|
|
94
|
-
|
|
95
|
-
&.open,
|
|
96
|
-
&:hover {
|
|
97
|
-
color: inherit;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.arrow {
|
|
101
|
-
position: relative;
|
|
102
|
-
top: -0.12em;
|
|
103
|
-
left: 0.5em;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.sidebar .sidebar-sub-headers {
|
|
108
|
-
padding-left: 1rem;
|
|
109
|
-
font-size: 0.95em;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.sidebar-link {
|
|
113
|
-
font-size: 1em;
|
|
114
|
-
font-weight: 400;
|
|
115
|
-
display: inline-block;
|
|
116
|
-
color: $textColor;
|
|
117
|
-
border-left: 0.25rem solid transparent;
|
|
118
|
-
margin: 0;
|
|
119
|
-
padding: 0.35rem 1rem 0.35rem 1.25rem;
|
|
120
|
-
line-height: 1.4;
|
|
121
|
-
width: 100%;
|
|
122
|
-
box-sizing: border-box;
|
|
123
|
-
|
|
124
|
-
.sidebar-group & {
|
|
125
|
-
padding-left: 2rem;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.sidebar-sub-headers & {
|
|
129
|
-
padding-top: 0.25rem;
|
|
130
|
-
padding-bottom: 0.25rem;
|
|
131
|
-
border-left: none;
|
|
132
|
-
|
|
133
|
-
&.active {
|
|
134
|
-
font-weight: 500;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
a.sidebar-heading,
|
|
140
|
-
a.sidebar-link {
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
|
|
143
|
-
&.active {
|
|
144
|
-
font-weight: 600;
|
|
145
|
-
color: $accentColor;
|
|
146
|
-
border-left-color: $accentColor;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&:hover {
|
|
150
|
-
color: $accentColor;
|
|
151
|
-
}
|
|
152
|
-
}
|
package/lib/styles/sr-only.scss
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
.fade-slide-y-enter-active {
|
|
2
|
-
transition: all 0.3s ease;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.fade-slide-y-leave-active {
|
|
6
|
-
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.fade-slide-y-enter-from,
|
|
10
|
-
.fade-slide-y-leave-to {
|
|
11
|
-
transform: translateY(10px);
|
|
12
|
-
opacity: 0;
|
|
13
|
-
}
|
package/lib/types/index.d.ts
DELETED
package/lib/types/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./nav"), exports);
|
|
14
|
-
__exportStar(require("./options"), exports);
|
|
15
|
-
__exportStar(require("./page"), exports);
|
package/lib/types/nav.js
DELETED
package/lib/types/options.js
DELETED
package/lib/types/page.js
DELETED
package/lib/utils/index.d.ts
DELETED
package/lib/utils/index.js
DELETED