-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
256 lines (235 loc) · 8.01 KB
/
Copy pathmain.css
File metadata and controls
256 lines (235 loc) · 8.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
@tailwind base;
@tailwind components;
@tailwind utilities;
/* ── UVerify brand colour palette ─────────────────────────────────────────── */
:root {
--color-ice-50: 235 254 255;
--color-ice-100: 206 251 255;
--color-ice-200: 162 246 255;
--color-ice-300: 99 236 253;
--color-ice-400: 28 217 244;
--color-ice-500: 0 190 220;
--color-ice-600: 3 150 183;
--color-ice-700: 10 119 148;
--color-ice-800: 18 96 120;
--color-ice-900: 20 80 101;
--color-ice-950: 6 53 70;
--color-green-50: 235 254 246;
--color-green-100: 206 253 231;
--color-green-200: 162 248 211;
--color-green-300: 74 174 177;
--color-green-400: 45 221 162;
--color-green-500: 5 196 139;
--color-green-600: 0 160 114;
--color-green-700: 0 128 94;
--color-green-800: 0 65 76;
--color-green-900: 1 53 64;
--color-green-950: 0 47 37;
--color-cyan-50: 239 255 253;
--color-cyan-100: 199 255 251;
--color-cyan-200: 159 255 249;
--color-cyan-300: 80 248 243;
--color-cyan-400: 29 227 228;
--color-cyan-500: 4 196 200;
--color-cyan-600: 0 154 161;
--color-cyan-700: 5 122 128;
--color-cyan-800: 10 95 101;
--color-cyan-900: 13 80 84;
--color-cyan-950: 0 45 51;
--color-blue-50: 239 250 255;
--color-blue-100: 223 243 255;
--color-blue-200: 184 233 255;
--color-blue-300: 120 218 255;
--color-blue-400: 83 208 255;
--color-blue-500: 6 176 241;
--color-blue-600: 0 141 206;
--color-blue-700: 0 113 167;
--color-blue-800: 2 95 138;
--color-blue-900: 6 49 75;
--color-blue-950: 0 32 57;
}
/* ── Dark mode: developer gradient as page background ─────────────────────── *
* Nextra sets --nextra-bg on body/surfaces. We override those to transparent *
* so the gradient on html shines through. The --nextra-bg value set in *
* theme.config.jsx (3,8,18) keeps Nextra's TOC/sidebar fade-shadows correct. */
html.dark {
background:
radial-gradient(ellipse 88% 60% at 40% 95%, rgb(var(--color-blue-600) / 0.32) 0%, transparent 55%),
linear-gradient(160deg, rgb(2 5 12), rgb(var(--color-blue-950)));
background-attachment: fixed;
}
html.dark body,
html.dark .nextra-nav-container-blur,
html.dark .nextra-sidebar-footer,
html.dark .nextra-toc ._tracking-tight {
background-color: transparent !important;
box-shadow: none !important;
}
html.dark .nextra-toc-footer {
background: transparent !important;
box-shadow: none !important;
}
html.dark footer,
html.dark .nextra-footer {
background: transparent !important;
box-shadow: none !important;
}
html.dark footer hr {
display: none;
}
/* ── Swagger UI dark theme overrides ──────────────────────────────────────── *
* swagger-ui-react ships its own light-mode CSS. These rules re-skin it for *
* the forced-dark Nextra environment. */
html.dark .swagger-ui,
html.dark .swagger-ui .wrapper,
html.dark .swagger-ui .opblock-tag-section {
background: transparent;
}
/* Info block */
html.dark .swagger-ui .info .title,
html.dark .swagger-ui .info p,
html.dark .swagger-ui .info li,
html.dark .swagger-ui .info a,
html.dark .swagger-ui .info .base-url {
color: rgba(255, 255, 255, 0.85);
}
/* Tag group headers */
html.dark .swagger-ui .opblock-tag {
border-bottom-color: rgba(255, 255, 255, 0.12);
color: rgba(255, 255, 255, 0.9);
}
html.dark .swagger-ui .opblock-tag:hover {
background: rgba(255, 255, 255, 0.04);
}
html.dark .swagger-ui .opblock-tag small {
color: rgba(255, 255, 255, 0.55);
}
/* Operation blocks — keep badge colours, darken backgrounds */
html.dark .swagger-ui .opblock {
box-shadow: none;
}
html.dark .swagger-ui .opblock .opblock-summary {
border-color: rgba(255, 255, 255, 0.08);
}
html.dark .swagger-ui .opblock .opblock-summary-description {
color: rgba(255, 255, 255, 0.7);
}
html.dark .swagger-ui .opblock-summary-path,
html.dark .swagger-ui .opblock-summary-path__deprecated {
color: rgba(255, 255, 255, 0.9) !important;
}
html.dark .swagger-ui .opblock.opblock-get { background: rgba(97, 175, 254, 0.07); border-color: rgba(97, 175, 254, 0.35); }
html.dark .swagger-ui .opblock.opblock-post { background: rgba(73, 204, 144, 0.07); border-color: rgba(73, 204, 144, 0.35); }
html.dark .swagger-ui .opblock.opblock-put { background: rgba(252, 161, 48, 0.07); border-color: rgba(252, 161, 48, 0.35); }
html.dark .swagger-ui .opblock.opblock-delete { background: rgba(249, 62, 62, 0.07); border-color: rgba(249, 62, 62, 0.35); }
html.dark .swagger-ui .opblock.opblock-patch { background: rgba(80, 227, 194, 0.07); border-color: rgba(80, 227, 194, 0.35); }
/* Expanded operation body */
html.dark .swagger-ui .opblock-body {
background: rgba(0, 0, 0, 0.18);
}
html.dark .swagger-ui .opblock-section-header {
background: rgba(255, 255, 255, 0.06);
}
html.dark .swagger-ui .opblock-section-header h4,
html.dark .swagger-ui .opblock-section-header label {
color: rgba(255, 255, 255, 0.85);
}
html.dark .swagger-ui .opblock-description-wrapper p,
html.dark .swagger-ui .opblock-external-docs-wrapper p,
html.dark .swagger-ui .opblock-title_normal p {
color: rgba(255, 255, 255, 0.7);
}
/* Parameters table */
html.dark .swagger-ui table thead tr th,
html.dark .swagger-ui .col_header {
color: rgba(255, 255, 255, 0.85);
border-bottom-color: rgba(255, 255, 255, 0.12);
}
html.dark .swagger-ui .parameter__name,
html.dark .swagger-ui .parameter__type,
html.dark .swagger-ui .parameter__in {
color: rgba(255, 255, 255, 0.85);
}
html.dark .swagger-ui .parameter__deprecated {
color: rgba(255, 255, 255, 0.4);
}
/* Responses */
html.dark .swagger-ui .responses-inner h4,
html.dark .swagger-ui .responses-inner h5,
html.dark .swagger-ui .response-col_status,
html.dark .swagger-ui .response-col_links,
html.dark .swagger-ui .response-col_description,
html.dark .swagger-ui .response-control-media-type__title,
html.dark .swagger-ui .content-type {
color: rgba(255, 255, 255, 0.75);
}
/* Schema / models */
html.dark .swagger-ui section.models {
border-color: rgba(255, 255, 255, 0.12);
}
html.dark .swagger-ui section.models h4,
html.dark .swagger-ui .models-control,
html.dark .swagger-ui .model-title {
color: rgba(255, 255, 255, 0.9);
}
html.dark .swagger-ui .model-container,
html.dark .swagger-ui .model-box {
background: rgba(255, 255, 255, 0.04);
}
html.dark .swagger-ui .model span,
html.dark .swagger-ui .model .property.primitive {
color: rgba(255, 255, 255, 0.7);
}
html.dark .swagger-ui .prop-type,
html.dark .swagger-ui .prop-format {
color: rgb(97, 175, 254);
}
/* Markdown text */
html.dark .swagger-ui .markdown p,
html.dark .swagger-ui .markdown li,
html.dark .swagger-ui .tab li {
color: rgba(255, 255, 255, 0.7);
}
/* Scheme container */
html.dark .swagger-ui .scheme-container {
background: rgba(255, 255, 255, 0.04);
box-shadow: none;
}
html.dark .swagger-ui .scheme-container .schemes > label,
html.dark .swagger-ui .servers > label,
html.dark .swagger-ui .servers-title {
color: rgba(255, 255, 255, 0.85);
}
/* Form controls */
html.dark .swagger-ui input[type=text],
html.dark .swagger-ui input[type=password],
html.dark .swagger-ui input[type=search],
html.dark .swagger-ui textarea {
background: rgba(255, 255, 255, 0.07);
border-color: rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.9);
}
html.dark .swagger-ui select {
background: rgb(10, 18, 35);
border-color: rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.9);
}
/* Buttons */
html.dark .swagger-ui .btn {
border-color: rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.85);
}
html.dark .swagger-ui .btn:hover {
background: rgba(255, 255, 255, 0.08);
}
/* SVG icons (arrows, lock, etc.) */
html.dark .swagger-ui svg.arrow,
html.dark .swagger-ui .expand-methods svg,
html.dark .swagger-ui .expand-operation svg,
html.dark .swagger-ui .authorization__btn,
html.dark .swagger-ui .unlocked {
fill: rgba(255, 255, 255, 0.6);
}
html.dark .swagger-ui .locked {
fill: rgba(255, 255, 255, 0.9);
}