-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswagger-dark.tailwind.css
208 lines (157 loc) · 4.58 KB
/
swagger-dark.tailwind.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
font-family: 'Inter', sans-serif !important;
}
.swagger .btn {
@apply inline-flex items-center px-3 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm
text-white bg-indigo-400 hover:bg-indigo-500 cursor-pointer font-semibold uppercase outline-0;
}
.swagger {
@apply !font-sans mt-10 !text-white;
}
.swagger .swagger-container {
@apply rounded-lg shadow-lg bg-white/10 p-6 mt-10;
}
.swagger .title {
@apply !font-sans font-bold text-2xl !text-white;
}
.swagger .description p {
@apply bg-gray-900 rounded-lg p-4 text-white mt-6 text-lg;
}
.swagger .info .main span {
@apply inline-flex flex-row items-center justify-center rounded-lg p-4 text-white ml-4 gap-4;
}
.swagger .opblock-summary-path {
@apply !font-sans font-bold text-lg !text-white/80;
}
.swagger .scheme-container {
@apply !font-sans text-xl !text-white bg-gray-900/50 rounded-lg p-0 mx-5 p-4;
}
.swagger .schemes {
@apply p-0;
}
.swagger .swagger-ui {
@apply w-full;
}
.swagger .servers-title {
@apply !font-sans font-bold text-2xl !text-white pb-4 hidden;
}
.swagger .servers {
@apply w-full rounded-lg p-0 before:content-['Api-Endpoint'] before:block mb-4 font-sans before:h-10 text-base;
}
.swagger .swagger-ui .servers>label select {
@apply w-full rounded-lg p-4 bg-white text-gray-900 cursor-pointer;
}
.swagger .swagger-ui .opblock .opblock-section-header {
@apply !font-sans font-bold text-2xl !text-white bg-gray-900;
}
.swagger .opblock-title {
@apply !font-sans font-bold text-2xl !text-white bg-gray-900;
}
.swagger .swagger-ui .opblock.opblock {
@apply bg-gray-900 rounded-lg;
}
.swagger .swagger-ui .opblock-description-wrapper p, .swagger-ui .opblock-external-docs-wrapper p, .swagger-ui .opblock-title_normal p {
@apply !text-white;
}
.swagger .swagger-ui .response-col_status {
@apply !text-white/80;
}
.swagger .swagger-ui table thead tr td, .swagger-ui table thead tr th {
@apply !text-white/80;
}
.swagger .swagger-ui .opblock .opblock-section-header h4 {
@apply !text-white/80;
}
.swagger .swagger-ui .btn.authorize {
@apply hover:bg-gray-800;
}
.swagger .swagger-ui .dialog-ux .modal-ux {
@apply bg-gray-800 rounded-lg p-4 text-white;
}
.swagger .swagger-ui .dialog-ux .modal-ux-header h3 {
@apply !font-sans font-bold text-2xl !text-white;
}
.swagger-ui button, .swagger-ui input {
@apply rounded-lg p-4 text-white bg-gray-800 hover:bg-gray-900;
}
.swagger-ui .opblock-description table {
@apply list-none list-inside columns-2 max-w-2xl flex p-0;
}
.swagger-ui .opblock-description table tr {
@apply !font-sans !text-base !font-normal !leading-6 bg-gray-900 text-white border-2 border-gray-800 w-1/2;
}
.swagger-ui .opblock-description table tr td {
@apply px-4;
}
.swagger-ui .opblock-description table tr td:first-child {
@apply px-4 bg-gray-600;
}
.swagger-ui .btn.execute {
@apply w-auto;
}
.swagger-ui .btn.cancel {
@apply hover:bg-transparent;
}
.swagger-ui .renderedMarkdown p {
@apply text-base text-white font-sans;
}
.swagger-ui .renderedMarkdown h2 {
@apply text-base text-gray-300 font-sans mb-2 mt-1;
}
.swagger-ui .opblock-summary-description {
@apply !text-white !font-sans !text-base !font-normal !leading-6 border-l-2 border-gray-800 p-4 ml-2;
}
.swagger-ui .opblock-summary-control {
@apply p-2;
}
.swagger-ui .opblock-tag {
@apply w-auto text-white text-lg font-sans bg-gray-900/20 px-6 rounded hover:bg-gray-900/100 mt-6;
}
.swagger-ui .opblock-summary {
@apply min-h-[82px];
}
.swagger-ui .opblock-summary-control {
@apply hover:bg-gray-800;
}
.swagger-ui svg {
@apply fill-white;
}
.swagger-ui .model-box-control:focus, .swagger-ui .models-control:focus, .swagger-ui .opblock-summary-control:focus {
outline: none;
}
.swagger-ui .opblock-summary-description {
@apply select-none;
}
.swagger-ui .expand-operation {
@apply p-0 mr-[30px];
}
.swagger-ui .dialog-ux .modal-ux-content h4 {
@apply text-white;
}
.swagger-ui .dialog-ux .modal-ux-content p {
@apply text-white;
}
.swagger-ui label {
@apply text-white;
}
.swagger-ui .auth-container input {
@apply !text-white !bg-gray-900 text-base;
}
.swagger-ui .parameters-col_description input[type=text] {
@apply !text-white !bg-gray-900 text-base;
}
.swagger-ui .opblock-body {
@apply bg-gray-900/60;
}
.swagger-ui .opblock-summary-method {
@apply !rounded-full;
}
.swagger-ui address {
@apply flex flex-row text-base text-white/20 gap-2 mb-4;
}
.swagger-ui .btn-group {
@apply inline-flex;
}