docusaurus-theme-openapi-docs 0.0.0-399 → 0.0.0-402
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/theme/ApiItem/icons/bash-original.svg +1 -0
- package/lib/theme/ApiItem/icons/go-original-wordmark.svg +1 -0
- package/lib/theme/ApiItem/icons/javascript-original.svg +1 -0
- package/lib/theme/ApiItem/icons/linux-original.svg +1 -0
- package/lib/theme/ApiItem/icons/python-original.svg +1 -0
- package/lib/theme/ApiItem/styles.module.css +218 -0
- package/lib/theme/SchemaTabs/code.yaml +4802 -0
- package/lib-next/theme/ApiItem/icons/bash-original.svg +1 -0
- package/lib-next/theme/ApiItem/icons/go-original-wordmark.svg +1 -0
- package/lib-next/theme/ApiItem/icons/javascript-original.svg +1 -0
- package/lib-next/theme/ApiItem/icons/linux-original.svg +1 -0
- package/lib-next/theme/ApiItem/icons/python-original.svg +1 -0
- package/lib-next/theme/ApiItem/styles.module.css +218 -0
- package/lib-next/theme/SchemaTabs/code.yaml +4802 -0
- package/package.json +6 -6
- package/yarn-error.log +16024 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--openapi-required: var(--ifm-color-danger);
|
|
3
|
+
--openapi-code-blue: var(--ifm-color-info);
|
|
4
|
+
--openapi-code-red: var(--ifm-color-danger);
|
|
5
|
+
--openapi-code-orange: var(--ifm-color-warning);
|
|
6
|
+
--openapi-code-green: var(--ifm-color-success);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.apiItemContainer article > *:first-child,
|
|
10
|
+
.apiItemContainer header + * {
|
|
11
|
+
margin-top: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:global(.version-button div) {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:global(.version-button div > button > span::after) {
|
|
19
|
+
border-color: currentcolor transparent;
|
|
20
|
+
border-style: solid;
|
|
21
|
+
border-width: 0.4em 0.4em 0;
|
|
22
|
+
content: "";
|
|
23
|
+
margin-left: 0.3em;
|
|
24
|
+
position: relative;
|
|
25
|
+
transform: translateY(-50%);
|
|
26
|
+
display: inline-block;
|
|
27
|
+
font-size: 0.8rem;
|
|
28
|
+
top: 1px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* default markdown margins look really silly in a table */
|
|
32
|
+
:global(.theme-api-markdown table *:last-child) {
|
|
33
|
+
margin-bottom: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:global(.theme-api-markdown details) {
|
|
37
|
+
margin: unset;
|
|
38
|
+
max-width: 600px;
|
|
39
|
+
background-color: transparent;
|
|
40
|
+
color: var(--ifm-font-color-base);
|
|
41
|
+
padding: unset;
|
|
42
|
+
border: unset !important;
|
|
43
|
+
box-shadow: unset !important;
|
|
44
|
+
--docusaurus-details-decoration-color: var(--ifm-font-color-base);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:global(.theme-api-markdown details > div > div) {
|
|
48
|
+
padding-top: unset !important;
|
|
49
|
+
border-top: unset !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:global(.theme-api-markdown code) {
|
|
53
|
+
max-width: 600px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media (min-width: 997px) {
|
|
57
|
+
.docItemCol {
|
|
58
|
+
max-width: 75% !important;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Prevent hydration FOUC, as the mobile TOC needs to be server-rendered */
|
|
62
|
+
.tocMobile {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:global(.theme-api-markdown details li) {
|
|
68
|
+
list-style: none;
|
|
69
|
+
padding-bottom: 5px;
|
|
70
|
+
padding-top: 5px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:global(.theme-api-markdown details p) {
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:global(.theme-api-markdown li::before) {
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 10px;
|
|
80
|
+
left: 0;
|
|
81
|
+
width: 0.7rem; /* width of horizontal line */
|
|
82
|
+
height: 0.5rem; /* vertical position of line */
|
|
83
|
+
vertical-align: top;
|
|
84
|
+
border-bottom: thin solid var(--ifm-color-gray-500);
|
|
85
|
+
content: "";
|
|
86
|
+
display: inline-block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:global(.theme-api-markdown details ul) {
|
|
90
|
+
padding-left: 0;
|
|
91
|
+
/* font-family: "Fira Mono", monospace; */
|
|
92
|
+
font-size: 14px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* :global(.theme-api-markdown h2) {
|
|
96
|
+
font-size: 2rem;
|
|
97
|
+
} */
|
|
98
|
+
|
|
99
|
+
:global(.schemaItem) {
|
|
100
|
+
list-style: none;
|
|
101
|
+
position: relative;
|
|
102
|
+
margin: 0 !important;
|
|
103
|
+
padding: 5px 0 5px 1rem;
|
|
104
|
+
border-left: thin solid var(--ifm-color-gray-500) !important;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:global(.schemaItem:hover) {
|
|
108
|
+
background-color: var(--ifm-menu-color-background-active);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:global(.schemaItem:focus) {
|
|
112
|
+
background-color: var(--ifm-menu-color-background-active);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:global(.paramsItem:hover) {
|
|
116
|
+
background-color: var(--ifm-menu-color-background-active);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:global(.paramsItem:focus) {
|
|
120
|
+
background-color: var(--ifm-menu-color-background-active);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:global(.theme-api-markdown div[class^="collapsibleContent"]) {
|
|
124
|
+
margin-top: 0 !important;
|
|
125
|
+
padding-left: 2px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:global(.code__tab--python::after) {
|
|
129
|
+
content: "";
|
|
130
|
+
width: 32px;
|
|
131
|
+
height: 32px;
|
|
132
|
+
background: url(./icons/python-original.svg);
|
|
133
|
+
margin-block: auto;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:global(.code__tab--python) {
|
|
137
|
+
color: var(--ifm-color-success);
|
|
138
|
+
padding-left: 2rem;
|
|
139
|
+
padding-right: 2rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:global(.code__tab--python.tabs__item--active) {
|
|
143
|
+
border-bottom-color: var(--ifm-color-success);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:global(.language-python) {
|
|
147
|
+
max-height: 500px;
|
|
148
|
+
overflow: auto;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
:global(.code__tab--go::after) {
|
|
152
|
+
content: "";
|
|
153
|
+
width: 32px;
|
|
154
|
+
height: 32px;
|
|
155
|
+
background: url(./icons/go-original-wordmark.svg);
|
|
156
|
+
margin-block: auto;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:global(.code__tab--go) {
|
|
160
|
+
color: var(--ifm-color-info);
|
|
161
|
+
padding-left: 2rem;
|
|
162
|
+
padding-right: 2rem;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:global(.code__tab--go.tabs__item--active) {
|
|
166
|
+
border-bottom-color: var(--ifm-color-info);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
:global(.language-go) {
|
|
170
|
+
max-height: 500px;
|
|
171
|
+
overflow: auto;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:global(.code__tab--javascript::after) {
|
|
175
|
+
content: "";
|
|
176
|
+
width: 32px;
|
|
177
|
+
height: 32px;
|
|
178
|
+
background: url(./icons/javascript-original.svg);
|
|
179
|
+
margin-block: auto;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:global(.code__tab--javascript) {
|
|
183
|
+
color: var(--ifm-color-warning);
|
|
184
|
+
padding-left: 2rem;
|
|
185
|
+
padding-right: 2rem;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:global(.code__tab--javascript.tabs__item--active) {
|
|
189
|
+
border-bottom-color: var(--ifm-color-warning);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:global(.language-javascript) {
|
|
193
|
+
max-height: 500px;
|
|
194
|
+
overflow: auto;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:global(.code__tab--bash::after) {
|
|
198
|
+
content: "";
|
|
199
|
+
width: 32px;
|
|
200
|
+
height: 32px;
|
|
201
|
+
background: url(./icons/linux-original.svg);
|
|
202
|
+
margin-block: auto;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
:global(.code__tab--bash) {
|
|
206
|
+
color: var(--ifm-color-danger);
|
|
207
|
+
padding-left: 2rem;
|
|
208
|
+
padding-right: 2rem;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
:global(.code__tab--bash.tabs__item--active) {
|
|
212
|
+
border-bottom-color: var(--ifm-color-danger);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
:global(.language-bash) {
|
|
216
|
+
max-height: 500px;
|
|
217
|
+
overflow: auto;
|
|
218
|
+
}
|