docusaurus-theme-openapi-docs 0.0.0-beta.636 → 0.0.0-beta.638
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/index.js
CHANGED
|
@@ -28,16 +28,17 @@ function docusaurusThemeOpenAPI() {
|
|
|
28
28
|
},
|
|
29
29
|
configureWebpack(_, isServer, utils) {
|
|
30
30
|
const rules = _.module?.rules ?? [];
|
|
31
|
-
const
|
|
31
|
+
const sassLoaderRule = rules.filter((r) => {
|
|
32
32
|
return String(r.test) === String(/\.s[ca]ss$/);
|
|
33
33
|
});
|
|
34
34
|
const { getStyleLoaders } = utils;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
// Avoid conflicts with docusaurus-plugin-sass
|
|
36
|
+
if (sassLoaderRule.length === 0) {
|
|
37
|
+
return {
|
|
38
|
+
plugins: [new NodePolyfillPlugin()],
|
|
39
|
+
module: {
|
|
40
|
+
rules: [
|
|
41
|
+
{
|
|
41
42
|
test: /\.s[ac]ss$/,
|
|
42
43
|
include: path_1.default.resolve(__dirname, "..", "lib", "theme"),
|
|
43
44
|
use: [
|
|
@@ -47,10 +48,13 @@ function docusaurusThemeOpenAPI() {
|
|
|
47
48
|
options: {},
|
|
48
49
|
},
|
|
49
50
|
],
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
plugins: [new NodePolyfillPlugin()],
|
|
54
58
|
};
|
|
55
59
|
},
|
|
56
60
|
};
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bash-background-color: transparent;
|
|
3
|
+
--bash-border-radius: none;
|
|
4
|
+
--code-tab-logo-width: 26px;
|
|
5
|
+
--code-tab-logo-height: 26px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[data-theme="dark"] {
|
|
9
|
+
--bash-background-color: lightgrey;
|
|
10
|
+
--bash-border-radius: 20px;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.openapi-tabs__code-list-container {
|
|
2
14
|
display: table-row-group;
|
|
3
15
|
}
|
|
4
16
|
|
|
17
|
+
.openapi-demo__code-block code {
|
|
18
|
+
max-height: 500px;
|
|
19
|
+
}
|
|
20
|
+
|
|
5
21
|
.openapi-tabs__code-item {
|
|
6
22
|
margin-top: 0 !important;
|
|
7
23
|
margin-right: 0.5rem;
|
|
@@ -21,8 +37,8 @@
|
|
|
21
37
|
|
|
22
38
|
&::after {
|
|
23
39
|
content: "";
|
|
24
|
-
width:
|
|
25
|
-
height:
|
|
40
|
+
width: var(--code-tab-logo-width);
|
|
41
|
+
height: var(--code-tab-logo-height);
|
|
26
42
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg");
|
|
27
43
|
margin-block: auto;
|
|
28
44
|
}
|
|
@@ -33,18 +49,13 @@
|
|
|
33
49
|
}
|
|
34
50
|
}
|
|
35
51
|
|
|
36
|
-
.language-python {
|
|
37
|
-
max-height: 500px;
|
|
38
|
-
overflow: auto;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
52
|
.openapi-tabs__code-item--go {
|
|
42
53
|
color: var(--ifm-color-info);
|
|
43
54
|
|
|
44
55
|
&::after {
|
|
45
56
|
content: "";
|
|
46
|
-
width:
|
|
47
|
-
height:
|
|
57
|
+
width: var(--code-tab-logo-width);
|
|
58
|
+
height: var(--code-tab-logo-height);
|
|
48
59
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/go/go-original-wordmark.svg");
|
|
49
60
|
margin-block: auto;
|
|
50
61
|
}
|
|
@@ -55,18 +66,13 @@
|
|
|
55
66
|
}
|
|
56
67
|
}
|
|
57
68
|
|
|
58
|
-
.language-go {
|
|
59
|
-
max-height: 500px;
|
|
60
|
-
overflow: auto;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
69
|
.openapi-tabs__code-item--javascript {
|
|
64
70
|
color: var(--ifm-color-warning);
|
|
65
71
|
|
|
66
72
|
&::after {
|
|
67
73
|
content: "";
|
|
68
|
-
width:
|
|
69
|
-
height:
|
|
74
|
+
width: var(--code-tab-logo-width);
|
|
75
|
+
height: var(--code-tab-logo-height);
|
|
70
76
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg");
|
|
71
77
|
margin-block: auto;
|
|
72
78
|
}
|
|
@@ -77,20 +83,17 @@
|
|
|
77
83
|
}
|
|
78
84
|
}
|
|
79
85
|
|
|
80
|
-
.language-javascript {
|
|
81
|
-
max-height: 500px;
|
|
82
|
-
overflow: auto;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
86
|
.openapi-tabs__code-item--bash {
|
|
86
87
|
color: var(--ifm-color-danger);
|
|
87
88
|
|
|
88
89
|
&::after {
|
|
89
90
|
content: "";
|
|
90
|
-
width:
|
|
91
|
-
height:
|
|
92
|
-
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/
|
|
91
|
+
width: var(--code-tab-logo-width);
|
|
92
|
+
height: var(--code-tab-logo-height);
|
|
93
|
+
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/bash/bash-plain.svg");
|
|
93
94
|
margin-block: auto;
|
|
95
|
+
background-color: var(--bash-background-color);
|
|
96
|
+
border-radius: var(--bash-border-radius);
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
&.active {
|
|
@@ -99,18 +102,13 @@
|
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
104
|
|
|
102
|
-
.language-bash {
|
|
103
|
-
max-height: 500px;
|
|
104
|
-
overflow: auto;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
105
|
.openapi-tabs__code-item--ruby {
|
|
108
106
|
color: var(--ifm-color-danger);
|
|
109
107
|
|
|
110
108
|
&::after {
|
|
111
109
|
content: "";
|
|
112
|
-
width:
|
|
113
|
-
height:
|
|
110
|
+
width: var(--code-tab-logo-width);
|
|
111
|
+
height: var(--code-tab-logo-height);
|
|
114
112
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/ruby/ruby-plain.svg");
|
|
115
113
|
margin-block: auto;
|
|
116
114
|
}
|
|
@@ -121,18 +119,13 @@
|
|
|
121
119
|
}
|
|
122
120
|
}
|
|
123
121
|
|
|
124
|
-
.language-ruby {
|
|
125
|
-
max-height: 500px;
|
|
126
|
-
overflow: auto;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
122
|
.openapi-tabs__code-item--csharp {
|
|
130
123
|
color: var(--ifm-color-gray-500);
|
|
131
124
|
|
|
132
125
|
&::after {
|
|
133
126
|
content: "";
|
|
134
|
-
width:
|
|
135
|
-
height:
|
|
127
|
+
width: var(--code-tab-logo-width);
|
|
128
|
+
height: var(--code-tab-logo-height);
|
|
136
129
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/csharp/csharp-original.svg");
|
|
137
130
|
margin-block: auto;
|
|
138
131
|
}
|
|
@@ -143,18 +136,13 @@
|
|
|
143
136
|
}
|
|
144
137
|
}
|
|
145
138
|
|
|
146
|
-
.language-csharp {
|
|
147
|
-
max-height: 500px;
|
|
148
|
-
overflow: auto;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
139
|
.openapi-tabs__code-item--nodejs {
|
|
152
140
|
color: var(--ifm-color-success);
|
|
153
141
|
|
|
154
142
|
&::after {
|
|
155
143
|
content: "";
|
|
156
|
-
width:
|
|
157
|
-
height:
|
|
144
|
+
width: var(--code-tab-logo-width);
|
|
145
|
+
height: var(--code-tab-logo-height);
|
|
158
146
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original.svg");
|
|
159
147
|
margin-block: auto;
|
|
160
148
|
}
|
|
@@ -165,18 +153,13 @@
|
|
|
165
153
|
}
|
|
166
154
|
}
|
|
167
155
|
|
|
168
|
-
.language-nodejs {
|
|
169
|
-
max-height: 500px;
|
|
170
|
-
overflow: auto;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
156
|
.openapi-tabs__code-item--php {
|
|
174
157
|
color: var(--ifm-color-gray-500);
|
|
175
158
|
|
|
176
159
|
&::after {
|
|
177
160
|
content: "";
|
|
178
|
-
width:
|
|
179
|
-
height:
|
|
161
|
+
width: var(--code-tab-logo-width);
|
|
162
|
+
height: var(--code-tab-logo-height);
|
|
180
163
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg");
|
|
181
164
|
margin-block: auto;
|
|
182
165
|
}
|
|
@@ -187,18 +170,13 @@
|
|
|
187
170
|
}
|
|
188
171
|
}
|
|
189
172
|
|
|
190
|
-
.language-php {
|
|
191
|
-
max-height: 500px;
|
|
192
|
-
overflow: auto;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
173
|
.openapi-tabs__code-item--java {
|
|
196
174
|
color: var(--ifm-color-warning);
|
|
197
175
|
|
|
198
176
|
&::after {
|
|
199
177
|
content: "";
|
|
200
|
-
width:
|
|
201
|
-
height:
|
|
178
|
+
width: var(--code-tab-logo-width);
|
|
179
|
+
height: var(--code-tab-logo-height);
|
|
202
180
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/java/java-original.svg");
|
|
203
181
|
margin-block: auto;
|
|
204
182
|
}
|
|
@@ -209,18 +187,13 @@
|
|
|
209
187
|
}
|
|
210
188
|
}
|
|
211
189
|
|
|
212
|
-
.language-powershell {
|
|
213
|
-
max-height: 500px;
|
|
214
|
-
overflow: auto;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
190
|
.openapi-tabs__code-item--powershell {
|
|
218
191
|
color: var(--ifm-color-info);
|
|
219
192
|
|
|
220
193
|
&::after {
|
|
221
194
|
content: "";
|
|
222
|
-
width:
|
|
223
|
-
height:
|
|
195
|
+
width: var(--code-tab-logo-width);
|
|
196
|
+
height: var(--code-tab-logo-height);
|
|
224
197
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/windows8/windows8-original.svg");
|
|
225
198
|
margin-block: auto;
|
|
226
199
|
}
|
package/lib/theme/styles.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-theme-openapi-docs",
|
|
3
3
|
"description": "OpenAPI theme for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-beta.
|
|
4
|
+
"version": "0.0.0-beta.638",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"buffer": "^6.0.3",
|
|
49
49
|
"clsx": "^1.1.1",
|
|
50
50
|
"crypto-js": "^4.1.1",
|
|
51
|
-
"docusaurus-plugin-openapi-docs": "0.0.0-beta.
|
|
51
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-beta.638",
|
|
52
52
|
"docusaurus-plugin-sass": "^0.2.3",
|
|
53
53
|
"file-saver": "^2.0.5",
|
|
54
54
|
"immer": "^9.0.7",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=14"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "9542413e1a3fdfef18eea605ce80799f5fc10686"
|
|
77
77
|
}
|
package/src/index.ts
CHANGED
|
@@ -34,29 +34,33 @@ export default function docusaurusThemeOpenAPI(): Plugin<void> {
|
|
|
34
34
|
|
|
35
35
|
configureWebpack(_, isServer, utils) {
|
|
36
36
|
const rules: any = _.module?.rules ?? [];
|
|
37
|
-
const
|
|
37
|
+
const sassLoaderRule = rules.filter((r: any) => {
|
|
38
38
|
return String(r.test) === String(/\.s[ca]ss$/);
|
|
39
39
|
});
|
|
40
40
|
const { getStyleLoaders } = utils;
|
|
41
|
+
// Avoid conflicts with docusaurus-plugin-sass
|
|
42
|
+
if (sassLoaderRule.length === 0) {
|
|
43
|
+
return {
|
|
44
|
+
plugins: [new NodePolyfillPlugin()],
|
|
45
|
+
module: {
|
|
46
|
+
rules: [
|
|
47
|
+
{
|
|
48
|
+
test: /\.s[ac]ss$/,
|
|
49
|
+
include: path.resolve(__dirname, "..", "lib", "theme"),
|
|
50
|
+
use: [
|
|
51
|
+
...getStyleLoaders(isServer, {}),
|
|
52
|
+
{
|
|
53
|
+
loader: require.resolve("sass-loader"),
|
|
54
|
+
options: {},
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
}
|
|
41
62
|
return {
|
|
42
63
|
plugins: [new NodePolyfillPlugin()],
|
|
43
|
-
module: {
|
|
44
|
-
rules: [
|
|
45
|
-
sassLoader.length === 0
|
|
46
|
-
? {
|
|
47
|
-
test: /\.s[ac]ss$/,
|
|
48
|
-
include: path.resolve(__dirname, "..", "lib", "theme"),
|
|
49
|
-
use: [
|
|
50
|
-
...getStyleLoaders(isServer, {}),
|
|
51
|
-
{
|
|
52
|
-
loader: require.resolve("sass-loader"),
|
|
53
|
-
options: {},
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
}
|
|
57
|
-
: {},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
64
|
};
|
|
61
65
|
},
|
|
62
66
|
};
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bash-background-color: transparent;
|
|
3
|
+
--bash-border-radius: none;
|
|
4
|
+
--code-tab-logo-width: 26px;
|
|
5
|
+
--code-tab-logo-height: 26px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[data-theme="dark"] {
|
|
9
|
+
--bash-background-color: lightgrey;
|
|
10
|
+
--bash-border-radius: 20px;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.openapi-tabs__code-list-container {
|
|
2
14
|
display: table-row-group;
|
|
3
15
|
}
|
|
4
16
|
|
|
17
|
+
.openapi-demo__code-block code {
|
|
18
|
+
max-height: 500px;
|
|
19
|
+
}
|
|
20
|
+
|
|
5
21
|
.openapi-tabs__code-item {
|
|
6
22
|
margin-top: 0 !important;
|
|
7
23
|
margin-right: 0.5rem;
|
|
@@ -21,8 +37,8 @@
|
|
|
21
37
|
|
|
22
38
|
&::after {
|
|
23
39
|
content: "";
|
|
24
|
-
width:
|
|
25
|
-
height:
|
|
40
|
+
width: var(--code-tab-logo-width);
|
|
41
|
+
height: var(--code-tab-logo-height);
|
|
26
42
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg");
|
|
27
43
|
margin-block: auto;
|
|
28
44
|
}
|
|
@@ -33,18 +49,13 @@
|
|
|
33
49
|
}
|
|
34
50
|
}
|
|
35
51
|
|
|
36
|
-
.language-python {
|
|
37
|
-
max-height: 500px;
|
|
38
|
-
overflow: auto;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
52
|
.openapi-tabs__code-item--go {
|
|
42
53
|
color: var(--ifm-color-info);
|
|
43
54
|
|
|
44
55
|
&::after {
|
|
45
56
|
content: "";
|
|
46
|
-
width:
|
|
47
|
-
height:
|
|
57
|
+
width: var(--code-tab-logo-width);
|
|
58
|
+
height: var(--code-tab-logo-height);
|
|
48
59
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/go/go-original-wordmark.svg");
|
|
49
60
|
margin-block: auto;
|
|
50
61
|
}
|
|
@@ -55,18 +66,13 @@
|
|
|
55
66
|
}
|
|
56
67
|
}
|
|
57
68
|
|
|
58
|
-
.language-go {
|
|
59
|
-
max-height: 500px;
|
|
60
|
-
overflow: auto;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
69
|
.openapi-tabs__code-item--javascript {
|
|
64
70
|
color: var(--ifm-color-warning);
|
|
65
71
|
|
|
66
72
|
&::after {
|
|
67
73
|
content: "";
|
|
68
|
-
width:
|
|
69
|
-
height:
|
|
74
|
+
width: var(--code-tab-logo-width);
|
|
75
|
+
height: var(--code-tab-logo-height);
|
|
70
76
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg");
|
|
71
77
|
margin-block: auto;
|
|
72
78
|
}
|
|
@@ -77,20 +83,17 @@
|
|
|
77
83
|
}
|
|
78
84
|
}
|
|
79
85
|
|
|
80
|
-
.language-javascript {
|
|
81
|
-
max-height: 500px;
|
|
82
|
-
overflow: auto;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
86
|
.openapi-tabs__code-item--bash {
|
|
86
87
|
color: var(--ifm-color-danger);
|
|
87
88
|
|
|
88
89
|
&::after {
|
|
89
90
|
content: "";
|
|
90
|
-
width:
|
|
91
|
-
height:
|
|
92
|
-
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/
|
|
91
|
+
width: var(--code-tab-logo-width);
|
|
92
|
+
height: var(--code-tab-logo-height);
|
|
93
|
+
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/bash/bash-plain.svg");
|
|
93
94
|
margin-block: auto;
|
|
95
|
+
background-color: var(--bash-background-color);
|
|
96
|
+
border-radius: var(--bash-border-radius);
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
&.active {
|
|
@@ -99,18 +102,13 @@
|
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
104
|
|
|
102
|
-
.language-bash {
|
|
103
|
-
max-height: 500px;
|
|
104
|
-
overflow: auto;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
105
|
.openapi-tabs__code-item--ruby {
|
|
108
106
|
color: var(--ifm-color-danger);
|
|
109
107
|
|
|
110
108
|
&::after {
|
|
111
109
|
content: "";
|
|
112
|
-
width:
|
|
113
|
-
height:
|
|
110
|
+
width: var(--code-tab-logo-width);
|
|
111
|
+
height: var(--code-tab-logo-height);
|
|
114
112
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/ruby/ruby-plain.svg");
|
|
115
113
|
margin-block: auto;
|
|
116
114
|
}
|
|
@@ -121,18 +119,13 @@
|
|
|
121
119
|
}
|
|
122
120
|
}
|
|
123
121
|
|
|
124
|
-
.language-ruby {
|
|
125
|
-
max-height: 500px;
|
|
126
|
-
overflow: auto;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
122
|
.openapi-tabs__code-item--csharp {
|
|
130
123
|
color: var(--ifm-color-gray-500);
|
|
131
124
|
|
|
132
125
|
&::after {
|
|
133
126
|
content: "";
|
|
134
|
-
width:
|
|
135
|
-
height:
|
|
127
|
+
width: var(--code-tab-logo-width);
|
|
128
|
+
height: var(--code-tab-logo-height);
|
|
136
129
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/csharp/csharp-original.svg");
|
|
137
130
|
margin-block: auto;
|
|
138
131
|
}
|
|
@@ -143,18 +136,13 @@
|
|
|
143
136
|
}
|
|
144
137
|
}
|
|
145
138
|
|
|
146
|
-
.language-csharp {
|
|
147
|
-
max-height: 500px;
|
|
148
|
-
overflow: auto;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
139
|
.openapi-tabs__code-item--nodejs {
|
|
152
140
|
color: var(--ifm-color-success);
|
|
153
141
|
|
|
154
142
|
&::after {
|
|
155
143
|
content: "";
|
|
156
|
-
width:
|
|
157
|
-
height:
|
|
144
|
+
width: var(--code-tab-logo-width);
|
|
145
|
+
height: var(--code-tab-logo-height);
|
|
158
146
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original.svg");
|
|
159
147
|
margin-block: auto;
|
|
160
148
|
}
|
|
@@ -165,18 +153,13 @@
|
|
|
165
153
|
}
|
|
166
154
|
}
|
|
167
155
|
|
|
168
|
-
.language-nodejs {
|
|
169
|
-
max-height: 500px;
|
|
170
|
-
overflow: auto;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
156
|
.openapi-tabs__code-item--php {
|
|
174
157
|
color: var(--ifm-color-gray-500);
|
|
175
158
|
|
|
176
159
|
&::after {
|
|
177
160
|
content: "";
|
|
178
|
-
width:
|
|
179
|
-
height:
|
|
161
|
+
width: var(--code-tab-logo-width);
|
|
162
|
+
height: var(--code-tab-logo-height);
|
|
180
163
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg");
|
|
181
164
|
margin-block: auto;
|
|
182
165
|
}
|
|
@@ -187,18 +170,13 @@
|
|
|
187
170
|
}
|
|
188
171
|
}
|
|
189
172
|
|
|
190
|
-
.language-php {
|
|
191
|
-
max-height: 500px;
|
|
192
|
-
overflow: auto;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
173
|
.openapi-tabs__code-item--java {
|
|
196
174
|
color: var(--ifm-color-warning);
|
|
197
175
|
|
|
198
176
|
&::after {
|
|
199
177
|
content: "";
|
|
200
|
-
width:
|
|
201
|
-
height:
|
|
178
|
+
width: var(--code-tab-logo-width);
|
|
179
|
+
height: var(--code-tab-logo-height);
|
|
202
180
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/java/java-original.svg");
|
|
203
181
|
margin-block: auto;
|
|
204
182
|
}
|
|
@@ -209,18 +187,13 @@
|
|
|
209
187
|
}
|
|
210
188
|
}
|
|
211
189
|
|
|
212
|
-
.language-powershell {
|
|
213
|
-
max-height: 500px;
|
|
214
|
-
overflow: auto;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
190
|
.openapi-tabs__code-item--powershell {
|
|
218
191
|
color: var(--ifm-color-info);
|
|
219
192
|
|
|
220
193
|
&::after {
|
|
221
194
|
content: "";
|
|
222
|
-
width:
|
|
223
|
-
height:
|
|
195
|
+
width: var(--code-tab-logo-width);
|
|
196
|
+
height: var(--code-tab-logo-height);
|
|
224
197
|
background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/windows8/windows8-original.svg");
|
|
225
198
|
margin-block: auto;
|
|
226
199
|
}
|