forked from nelmio/NelmioApiDocBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
screen.css
487 lines (431 loc) · 9.53 KB
/
screen.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
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
@font-face{font-family:'Droid Sans';font-style:normal;font-weight:400;src:local('Droid Sans'),local('DroidSans'),url(http://themes.googleusercontent.com/static/fonts/droidsans/v3/s-BiyweUPV0v-yRb-cjciL3hpw3pgy2gAi-Ip7WPMi0.woff) format('woff')}@font-face{font-family:'Droid Sans';font-style:normal;font-weight:700;src:local('Droid Sans Bold'),local('DroidSans-Bold'),url(http://themes.googleusercontent.com/static/fonts/droidsans/v3/EFpQQyG9GqCrobXxL-KRMXbFhgvWbfSbdVg11QabG8w.woff) format('woff')}.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
smany, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body {
line-height: 1;
font-family: "Droid Sans", sans-serif;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
text-decoration: underline;
}
h1 {
color: black;
font-size: 1.5em;
line-height: 1.3em;
padding: 10px 0 10px 0;
font-family: "Droid Sans", sans-serif;
font-weight: bold;
}
h2 {
color: black;
font-size: 1.3em;
padding: 10px 0 10px 0;
}
h2 a {
color: black;
}
h3 {
color: black;
font-size: 1.1em;
padding: 10px 0 10px 0;
}
p {
line-height: 1.4em;
padding: 0 0 10px 0;
color: #333333;
}
a {
color: #547f00;
}
strong {
font-family: "Droid Sans", sans-serif;
font-weight: bold;
font-weight: bold;
}
em {
font-style: italic;
}
code, pre {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
background-color: #fcf6db;
}
p code {
padding: 1px 4px 1px 4px;
border: 1px solid #e5e0c6;
}
pre {
padding: 10px;
border: 1px solid #e5e0c6;
margin-bottom: 15px;
line-height:1.2em;
}
table.fullwidth {
width: 100%;
}
table thead tr th {
padding: 5px;
font-size: 0.9em;
color: #666666;
border-bottom: 1px solid #999999;
}
table tbody tr td {
padding: 6px;
font-size: 0.9em;
border-bottom: 1px solid #cccccc;
vertical-align: top;
line-height: 1.3em;
}
table tbody tr:last-child td {
border-bottom: none;
}
#header {
background-color: #89BF04;
padding: 1%;
margin-bottom: 1%;
}
#header h1 {
font-size: 1.2em;
}
#header a {
text-decoration: none;
}
#colophon {
margin: 0 15px 40px 15px;
padding: 10px 0;
font-size: 0.8em;
border-top: 1px solid #dddddd;
font-family: "Droid Sans", sans-serif;
color: #999999;
font-style: italic;
}
#resources {
padding: 0 1%;
font-family: "Droid Sans", sans-serif;
font-size: 0.9em;
}
li.resource {
border-bottom: 1px solid #dddddd;
}
li.resource:last-child {
border-bottom: none;
}
/* heading */
div.heading {
border: 1px solid transparent;
float: none;
clear: both;
overflow: hidden;
display: block;
}
div.heading h2 {
color: #999999;
padding-left: 0;
display: block;
clear: none;
float: left;
font-family: "Droid Sans", sans-serif;
font-weight: bold;
}
div.heading ul.options {
overflow: hidden;
padding: 0;
display: block;
clear: none;
float: right;
margin: 6px 10px 0 0;
}
div.heading ul.options li {
float: left;
clear: none;
margin: 0;
padding: 2px 10px;
border-right: 1px solid #dddddd;
color: #666666;
font-size: 0.9em;
}
div.heading ul.options li:first-child,
div.heading ul.options li.first {
padding-left: 0;
}
div.heading ul.options li:last-child,
div.heading ul.options li.last {
padding-right: 0;
border-right: none;
}
/* operations */
li.operation {
float: none;
clear: both;
overflow: hidden;
display: block;
margin: 0 0 10px 0;
padding: 0 0 0 0;
}
li.operation div.heading {
margin: 0 0 0 0;
padding: 0;
background-color: #e7f0f7;
border: 1px solid black;
}
li.operation div.heading h3 {
display: block;
clear: none;
float: left;
width: auto;
margin: 0;
padding: 0;
line-height: 1.1em;
color: black;
}
li.operation div.heading h3 span {
margin: 0;
padding: 0;
}
li.operation div.heading h3 span.http_method a {
text-transform: uppercase;
text-decoration: none;
color: white;
display: inline-block;
width: 50px;
font-size: 0.7em;
text-align: center;
padding: 7px 0 4px 0;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}
li.operation div.heading h3 span.path {
padding-left: 10px;
}
li.operation div.content {
border: 1px solid black;
border-top: none;
padding: 10px;
-moz-border-radius-bottomleft: 6px;
-webkit-border-bottom-left-radius: 6px;
border-bottom-left-radius: 6px;
-moz-border-radius-bottomright: 6px;
-webkit-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
margin: 0 0 20px 0;
}
li.operation div.content h4 {
font-size: 1.1em;
margin: 0;
padding: 15px 0 5px 0;
}
li.operation div.content form input[type='text'].error {
outline: 2px solid #cc0000;
}
/* GET operations */
li.operation.get div.heading {
border-color: #c3d9ec;
}
li.operation.get div.heading h3 span.http_method a {
background-color: #0f6ab4;
}
li.operation.get div.heading ul.options li {
border-right-color: #c3d9ec;
color: #0f6ab4;
}
li.operation.get div.content {
background-color: #ebf3f9;
border-color: #c3d9ec;
}
li.operation.get div.content h4 {
color: #0f6ab4;
}
/* POST operations */
li.operation.post div.heading {
border-color: #c3e8d1;
}
li.operation.post div.heading h3 span.http_method a{
background-color: #10a54a;
}
li.operation.post div.heading ul.options li {
border-right-color: #c3e8d1;
color: #10a54a;
}
li.operation.post div.content {
background-color: #ebf7f0;
border-color: #c3e8d1;
}
li.operation.post div.content h4 {
color: #10a54a;
}
/* ANY operations */
li.operation.any div.heading {
background-color: lightgray;
border-color: gray;
}
li.operation.any div.heading h3 span.http_method a {
background-color: #000;
}
li.operation.any div.heading ul.options li {
color: #000;
border-right-color: gray;
}
li.operation.any div.content {
background-color: lightgray;
border-color: gray;
}
li.operation.any div.content h4 {
color: #000;
}
/* PUT operations */
li.operation.put div.heading {
background-color: #f9f2e9;
border-color: #f0e0ca;
}
li.operation.put div.heading h3 span.http_method a {
background-color: #c5862b;
}
li.operation.put div.heading ul.options li {
border-right-color: #f0e0ca;
color: #c5862b;
}
li.operation.put div.content {
background-color: #faf5ee;
border-color: #f0e0ca;
}
li.operation.put div.content h4 {
color: #c5862b;
}
/* DELETE operations */
li.operation.delete div.heading {
background-color: #f5e8e8;
border-color: #e8c6c7;
}
li.operation.delete div.heading h3 span.http_method a {
background-color: #a41e22;
}
li.operation.delete div.heading ul.options li {
border-right-color: #e8c6c7;
color: #a41e22;
}
li.operation.delete div.content {
background-color: #f7eded;
border-color: #e8c6c7;
}
li.operation.delete div.content h4 {
color: #a41e22;
}
/* PATCH operations */
li.operation.patch div.heading {
background-color: #f5e8e8;
border-color: #e8c6e7;
}
li.operation.patch div.heading h3 span.http_method a {
background-color: #a41ee2;
}
li.operation.patch div.heading ul.options li {
border-right-color: #e8c6c7;
color: #a41ee2;
}
li.operation.patch div.content {
background-color: #f7eded;
border-color: #e8c6c7;
}
li.operation.patch div.content h4 {
color: #a41ee2;
}
.toggler {
cursor: pointer;
}
/** sandbox */
.pane:not(.selected) {
display: none;
}
.result pre {
border: none;
font-size: 0.9em;
overflow: auto;
}
.result pre.to-shrink,
.result pre.to-expand {
cursor:pointer;
}
.result pre.to-expand {
height: 1em;
overflow:hidden;
}
.tabs li {
display: inline;
float: left;
margin: 10px;
cursor: pointer;
}
.tabs li.selected {
font-weight: bold;
}
.panes {
clear: both;
border-top: 1px solid #C3D9EC;
}
.pane.sandbox {
border: 1px solid #C3D9EC;
border-top: none;
padding: 10px;
}
.pane.sandbox legend {
padding-bottom: 5px;
}
.remove {
cursor: pointer;
}
.pane.sandbox .result {
display: none;
}
form .parameters,
form .headers,
form .request-content {
float: left;
width: 33%;
}
.buttons {
clear: both;
padding-top: 10px;
}
.request-content textarea {
width:100%;
min-width:100%;
max-width:100%;
height:5em;
margin-bottom:10px;
}