Spaces:
Sleeping
Sleeping
Update dist/index.html
Browse files- dist/index.html +42 -16
dist/index.html
CHANGED
@@ -10,9 +10,8 @@
|
|
10 |
<link rel="stylesheet" href="https://unpkg.com/[email protected]/swagger-ui.css" />
|
11 |
<style>
|
12 |
#swagger-ui {
|
13 |
-
padding:
|
14 |
margin: 0;
|
15 |
-
width: 100vw;
|
16 |
position: relative;
|
17 |
}
|
18 |
|
@@ -28,19 +27,33 @@
|
|
28 |
|
29 |
/* table of contents */
|
30 |
#toc {
|
31 |
-
background-color:
|
|
|
32 |
z-index: 2;
|
|
|
|
|
|
|
|
|
33 |
/* width: 250px; */
|
34 |
position: fixed;
|
|
|
35 |
/* border: solid; */
|
36 |
|
37 |
}
|
38 |
|
39 |
#toc nav {
|
40 |
display: none;
|
41 |
-
overflow:
|
42 |
-
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
|
46 |
#toc.active nav {
|
@@ -48,29 +61,42 @@
|
|
48 |
}
|
49 |
|
50 |
#toc ul {
|
51 |
-
list-style:none;
|
52 |
-
margin:0;
|
53 |
-
padding: 0
|
|
|
54 |
|
55 |
}
|
56 |
|
57 |
#toc ul a:link {
|
58 |
-
padding-left:
|
|
|
59 |
text-decoration: none;
|
60 |
}
|
61 |
|
62 |
#toc ul a:hover {
|
63 |
-
|
|
|
64 |
display: block;
|
65 |
-
border-radius:
|
|
|
66 |
}
|
67 |
-
|
68 |
|
69 |
-
|
|
|
|
|
|
|
70 |
z-index: 3;
|
71 |
position: fixed;
|
72 |
-
|
73 |
-
right:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
}
|
76 |
</style>
|
|
|
10 |
<link rel="stylesheet" href="https://unpkg.com/[email protected]/swagger-ui.css" />
|
11 |
<style>
|
12 |
#swagger-ui {
|
13 |
+
padding-top: 1em;
|
14 |
margin: 0;
|
|
|
15 |
position: relative;
|
16 |
}
|
17 |
|
|
|
27 |
|
28 |
/* table of contents */
|
29 |
#toc {
|
30 |
+
background-color: #f6fffe;
|
31 |
+
border: 2px solid #96ccff;
|
32 |
z-index: 2;
|
33 |
+
top: 0.3em;
|
34 |
+
left: 0.3em;
|
35 |
+
padding: 0.35em 1em 0.65em 1em;
|
36 |
+
border-radius: 0.25rem;
|
37 |
/* width: 250px; */
|
38 |
position: fixed;
|
39 |
+
width: fit-content(1em);
|
40 |
/* border: solid; */
|
41 |
|
42 |
}
|
43 |
|
44 |
#toc nav {
|
45 |
display: none;
|
46 |
+
overflow-y: scroll;
|
47 |
+
scrollbar-width: none;
|
48 |
+
-ms-overflow-style: none;
|
49 |
+
padding-right: 0;
|
50 |
+
height: calc(100vh - 50px);
|
51 |
+
|
52 |
+
}
|
53 |
+
|
54 |
+
#toc nav::-webkit-scrollbar {
|
55 |
+
display: none;
|
56 |
+
/* Chrome Safari */
|
57 |
}
|
58 |
|
59 |
#toc.active nav {
|
|
|
61 |
}
|
62 |
|
63 |
#toc ul {
|
64 |
+
list-style: none;
|
65 |
+
margin: 0;
|
66 |
+
padding: 0;
|
67 |
+
|
68 |
|
69 |
}
|
70 |
|
71 |
#toc ul a:link {
|
72 |
+
padding-left: 0.5em;
|
73 |
+
padding-right: 0.5em;
|
74 |
text-decoration: none;
|
75 |
}
|
76 |
|
77 |
#toc ul a:hover {
|
78 |
+
cursor: pointer;
|
79 |
+
background: #ffdfdf;
|
80 |
display: block;
|
81 |
+
border-radius: 0.25rem;
|
82 |
+
transform: scale(1.02);
|
83 |
}
|
|
|
84 |
|
85 |
+
|
86 |
+
#release-select {
|
87 |
+
appearance: none;
|
88 |
+
-webkit-appearance: none;
|
89 |
z-index: 3;
|
90 |
position: fixed;
|
91 |
+
top: 0.3em;
|
92 |
+
right: 0.3em;
|
93 |
+
padding: 0.85em 6em 0.85em 1em;
|
94 |
+
background-color: #f6fffe;
|
95 |
+
border: 2px solid #96ccff;
|
96 |
+
border-radius: 0.25rem;
|
97 |
+
color: #000;
|
98 |
+
cursor: pointer;
|
99 |
+
|
100 |
|
101 |
}
|
102 |
</style>
|