decidim-api 0.26.2 → 0.27.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/decidim/api/documentation_controller.rb +21 -0
- data/app/packs/entrypoints/decidim_api_docs.js +1 -26
- data/app/packs/entrypoints/decidim_api_docs.scss +1318 -0
- data/app/views/decidim/api/documentation/graphql_docs_template.html.erb +7 -0
- data/app/views/decidim/api/documentation/show.html.erb +2 -11
- data/app/views/decidim/api/graphiql/show.html.erb +3 -1
- data/app/views/layouts/decidim/api/documentation.html.erb +1 -4
- data/config/routes.rb +1 -0
- data/lib/decidim/api/schema.rb +3 -3
- data/lib/decidim/api/test/component_context.rb +2 -2
- data/lib/decidim/api/version.rb +1 -1
- data/lib/decidim/api.rb +17 -0
- data/lib/tasks/decidim_api_docs.rake +34 -0
- metadata +23 -28
- data/app/helpers/decidim/api/application_helper.rb +0 -24
- data/app/packs/stylesheets/decidim/api/docs.scss +0 -61
@@ -0,0 +1,1318 @@
|
|
1
|
+
body{
|
2
|
+
max-width: 1200px;
|
3
|
+
}
|
4
|
+
|
5
|
+
.version{
|
6
|
+
display: inline-block;
|
7
|
+
font-size: .8rem;
|
8
|
+
margin-right: 1rem;
|
9
|
+
padding: 3px 7px;
|
10
|
+
background: #f33;
|
11
|
+
border-radius: 10px;
|
12
|
+
margin-top: 5px;
|
13
|
+
color: white;
|
14
|
+
}
|
15
|
+
|
16
|
+
ol,
|
17
|
+
ul{
|
18
|
+
list-style: none;
|
19
|
+
padding-left: 15px;
|
20
|
+
}
|
21
|
+
|
22
|
+
blockquote,
|
23
|
+
q{
|
24
|
+
quotes: none;
|
25
|
+
}
|
26
|
+
|
27
|
+
blockquote::before,
|
28
|
+
blockquote::after,
|
29
|
+
q::before,
|
30
|
+
q::after{
|
31
|
+
content: '';
|
32
|
+
content: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
table{
|
36
|
+
border-collapse: collapse;
|
37
|
+
border-spacing: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
body{
|
41
|
+
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
42
|
+
-webkit-font-smoothing: antialiased;
|
43
|
+
-moz-osx-font-smoothing: grayscale;
|
44
|
+
font-size: 16px;
|
45
|
+
font-weight: 400;
|
46
|
+
color: #444;
|
47
|
+
}
|
48
|
+
|
49
|
+
em{
|
50
|
+
font-style: italic;
|
51
|
+
}
|
52
|
+
|
53
|
+
#sidebar{
|
54
|
+
background-color: #fff;
|
55
|
+
position: fixed;
|
56
|
+
z-index: 2;
|
57
|
+
top: 0;
|
58
|
+
left: 0;
|
59
|
+
bottom: 0;
|
60
|
+
width: 250px;
|
61
|
+
padding: 0;
|
62
|
+
overflow-x: hidden;
|
63
|
+
overflow-y: scroll;
|
64
|
+
-webkit-overflow-scrolling: touch;
|
65
|
+
-ms-overflow-style: none;
|
66
|
+
border-right: 1px solid #eee;
|
67
|
+
font-size: 16px;
|
68
|
+
line-height: 1.1em;
|
69
|
+
}
|
70
|
+
|
71
|
+
#sidebar::-webkit-scrollbar{
|
72
|
+
width: 0 !important;
|
73
|
+
}
|
74
|
+
|
75
|
+
#sidebar li{
|
76
|
+
margin-bottom: .6em;
|
77
|
+
}
|
78
|
+
|
79
|
+
#sidebar a{
|
80
|
+
color: #444;
|
81
|
+
text-decoration: none;
|
82
|
+
}
|
83
|
+
|
84
|
+
#sidebar a:hover{
|
85
|
+
color: #de4f4f;
|
86
|
+
}
|
87
|
+
|
88
|
+
#sidebar a.current{
|
89
|
+
color: #de4f4f;
|
90
|
+
}
|
91
|
+
|
92
|
+
#sidebar a.H2{
|
93
|
+
font-weight: bold;
|
94
|
+
}
|
95
|
+
|
96
|
+
#sidebar .categories > li > p{
|
97
|
+
margin-top: 1.5em;
|
98
|
+
border-top: 1px solid #eee;
|
99
|
+
text-transform: uppercase;
|
100
|
+
padding-top: 1.2em;
|
101
|
+
margin-bottom: 1em;
|
102
|
+
color: #999;
|
103
|
+
font-size: .8em;
|
104
|
+
}
|
105
|
+
|
106
|
+
#sidebar .sub-menu{
|
107
|
+
padding-left: 20px;
|
108
|
+
margin: .6em 0;
|
109
|
+
font-size: 14px;
|
110
|
+
}
|
111
|
+
|
112
|
+
#sidebar .sub-menu .active{
|
113
|
+
position: relative;
|
114
|
+
color: #de4f4f;
|
115
|
+
}
|
116
|
+
|
117
|
+
#sidebar .sub-menu .active::before{
|
118
|
+
content: "";
|
119
|
+
position: absolute;
|
120
|
+
top: 2px;
|
121
|
+
left: -15px;
|
122
|
+
display: inline-block;
|
123
|
+
width: 0;
|
124
|
+
height: 0;
|
125
|
+
border-top: 4px solid transparent;
|
126
|
+
border-bottom: 4px solid transparent;
|
127
|
+
border-left: 6px solid #de4f4f;
|
128
|
+
}
|
129
|
+
|
130
|
+
#sidebar-mobile{
|
131
|
+
display: none;
|
132
|
+
margin-bottom: 20px;
|
133
|
+
}
|
134
|
+
|
135
|
+
#sidebar-mobile .search-box{
|
136
|
+
width: 200px;
|
137
|
+
margin-bottom: 20px;
|
138
|
+
}
|
139
|
+
|
140
|
+
.content{
|
141
|
+
padding: 20px 30px;
|
142
|
+
max-width: 760px;
|
143
|
+
margin-left: 300px;
|
144
|
+
-webkit-text-size-adjust: 100%;
|
145
|
+
}
|
146
|
+
|
147
|
+
.content em{
|
148
|
+
font-style: italic;
|
149
|
+
}
|
150
|
+
|
151
|
+
.content h1{
|
152
|
+
margin: 15px 0;
|
153
|
+
line-height: 1.4em;
|
154
|
+
font-size: 2em;
|
155
|
+
margin-top: 0;
|
156
|
+
margin-bottom: 30px;
|
157
|
+
}
|
158
|
+
|
159
|
+
.content h2{
|
160
|
+
margin: 15px 0;
|
161
|
+
line-height: 1.4em;
|
162
|
+
font-size: 1.5em;
|
163
|
+
margin-top: 30px;
|
164
|
+
padding-bottom: 10px;
|
165
|
+
border-bottom: 1px solid #eee;
|
166
|
+
position: relative;
|
167
|
+
}
|
168
|
+
|
169
|
+
.content h2 .anchor{
|
170
|
+
opacity: 0;
|
171
|
+
position: absolute;
|
172
|
+
font-size: 16px;
|
173
|
+
top: 2px;
|
174
|
+
left: -21px;
|
175
|
+
}
|
176
|
+
|
177
|
+
.content h2:hover .anchor{
|
178
|
+
opacity: 1;
|
179
|
+
}
|
180
|
+
|
181
|
+
.content h3{
|
182
|
+
margin: 15px 0;
|
183
|
+
line-height: 1.4em;
|
184
|
+
font-size: 1.2em;
|
185
|
+
margin-top: 30px;
|
186
|
+
position: relative;
|
187
|
+
}
|
188
|
+
|
189
|
+
.content h3 .anchor{
|
190
|
+
opacity: 0;
|
191
|
+
position: absolute;
|
192
|
+
font-size: 16px;
|
193
|
+
top: 2px;
|
194
|
+
left: -21px;
|
195
|
+
}
|
196
|
+
|
197
|
+
.content h3:hover .anchor{
|
198
|
+
opacity: 1;
|
199
|
+
}
|
200
|
+
|
201
|
+
.content h4{
|
202
|
+
margin: 15px 0;
|
203
|
+
line-height: 1.4em;
|
204
|
+
}
|
205
|
+
|
206
|
+
.content h5{
|
207
|
+
margin: 15px 0;
|
208
|
+
line-height: 1.4em;
|
209
|
+
}
|
210
|
+
|
211
|
+
.content h6{
|
212
|
+
margin: 15px 0;
|
213
|
+
line-height: 1.4em;
|
214
|
+
}
|
215
|
+
|
216
|
+
.content p{
|
217
|
+
margin: 15px 0;
|
218
|
+
line-height: 1.4em;
|
219
|
+
}
|
220
|
+
|
221
|
+
.content ul{
|
222
|
+
margin: 15px 0;
|
223
|
+
line-height: 1.4em;
|
224
|
+
padding-left: 1.5em;
|
225
|
+
list-style-type: disc;
|
226
|
+
}
|
227
|
+
|
228
|
+
.content ul li{
|
229
|
+
margin-bottom: 5px;
|
230
|
+
}
|
231
|
+
|
232
|
+
.content ol{
|
233
|
+
margin: 15px 0;
|
234
|
+
line-height: 1.4em;
|
235
|
+
padding-left: 1.5em;
|
236
|
+
list-style-type: decimal;
|
237
|
+
}
|
238
|
+
|
239
|
+
.content ol li{
|
240
|
+
margin-bottom: 5px;
|
241
|
+
}
|
242
|
+
|
243
|
+
.content figure{
|
244
|
+
margin: 15px 0;
|
245
|
+
line-height: 1.4em;
|
246
|
+
}
|
247
|
+
|
248
|
+
.content a{
|
249
|
+
color: #de4f4f;
|
250
|
+
}
|
251
|
+
|
252
|
+
.content img{
|
253
|
+
max-width: 100%;
|
254
|
+
}
|
255
|
+
|
256
|
+
.content code{
|
257
|
+
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
258
|
+
font-size: .8em;
|
259
|
+
line-height: 1.6em;
|
260
|
+
padding: 1px 4px;
|
261
|
+
background-color: #eee;
|
262
|
+
margin: 0 2px;
|
263
|
+
}
|
264
|
+
|
265
|
+
.content blockquote{
|
266
|
+
padding-left: 1.3em;
|
267
|
+
border-left: #eee solid .2em;
|
268
|
+
font-style: italic;
|
269
|
+
}
|
270
|
+
|
271
|
+
.content blockquote.warning{
|
272
|
+
border-color: #f00;
|
273
|
+
color: #f00;
|
274
|
+
}
|
275
|
+
|
276
|
+
.content dl{
|
277
|
+
margin-left: 1.5em;
|
278
|
+
}
|
279
|
+
|
280
|
+
.content dl dt .name{
|
281
|
+
font-family: monospace;
|
282
|
+
}
|
283
|
+
|
284
|
+
.content dl dt .type{
|
285
|
+
margin-left: .5em;
|
286
|
+
}
|
287
|
+
|
288
|
+
.content dl dd{
|
289
|
+
margin-left: 1.5em;
|
290
|
+
}
|
291
|
+
|
292
|
+
.content .edit-discuss-links{
|
293
|
+
margin-top: -25px;
|
294
|
+
margin-bottom: 40px;
|
295
|
+
}
|
296
|
+
|
297
|
+
.content table{
|
298
|
+
margin-top: 10px;
|
299
|
+
}
|
300
|
+
|
301
|
+
.content table th{
|
302
|
+
text-align: left;
|
303
|
+
padding: 0 25px;
|
304
|
+
}
|
305
|
+
|
306
|
+
.content table thead th:first-child{
|
307
|
+
padding: 0;
|
308
|
+
}
|
309
|
+
|
310
|
+
.content table td p{
|
311
|
+
padding: 0 25px;
|
312
|
+
}
|
313
|
+
|
314
|
+
.content pre{
|
315
|
+
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
316
|
+
line-height: 1.6em;
|
317
|
+
margin: 20px 0;
|
318
|
+
overflow-x: auto;
|
319
|
+
position: relative;
|
320
|
+
padding: 20px 30px;
|
321
|
+
}
|
322
|
+
|
323
|
+
.content pre table{
|
324
|
+
width: 100%;
|
325
|
+
border-collapse: collapse;
|
326
|
+
padding: 0;
|
327
|
+
margin: 0;
|
328
|
+
}
|
329
|
+
|
330
|
+
.content pre tr{
|
331
|
+
width: 100%;
|
332
|
+
border-collapse: collapse;
|
333
|
+
padding: 0;
|
334
|
+
margin: 0;
|
335
|
+
}
|
336
|
+
|
337
|
+
.content pre td{
|
338
|
+
width: 100%;
|
339
|
+
border-collapse: collapse;
|
340
|
+
padding: 0;
|
341
|
+
margin: 0;
|
342
|
+
}
|
343
|
+
|
344
|
+
.content pre code{
|
345
|
+
background-color: #272822;
|
346
|
+
padding: 0;
|
347
|
+
margin: 0;
|
348
|
+
}
|
349
|
+
|
350
|
+
.content pre .gutter{
|
351
|
+
user-select: none;
|
352
|
+
width: 1.5em;
|
353
|
+
padding-right: 30px;
|
354
|
+
}
|
355
|
+
|
356
|
+
.content .highlight.html .code::after{
|
357
|
+
position: absolute;
|
358
|
+
top: 0;
|
359
|
+
right: 0;
|
360
|
+
color: #ccc;
|
361
|
+
text-align: right;
|
362
|
+
font-size: .75em;
|
363
|
+
padding: 5px 10px 0;
|
364
|
+
letter-spacing: 1.5px;
|
365
|
+
line-height: 15px;
|
366
|
+
height: 15px;
|
367
|
+
font-weight: 600;
|
368
|
+
}
|
369
|
+
|
370
|
+
.content .highlight.js .code::after{
|
371
|
+
position: absolute;
|
372
|
+
top: 0;
|
373
|
+
right: 0;
|
374
|
+
color: #ccc;
|
375
|
+
text-align: right;
|
376
|
+
font-size: .75em;
|
377
|
+
padding: 5px 10px 0;
|
378
|
+
letter-spacing: 1.5px;
|
379
|
+
line-height: 15px;
|
380
|
+
height: 15px;
|
381
|
+
font-weight: 600;
|
382
|
+
}
|
383
|
+
|
384
|
+
.content .highlight.bash .code::after{
|
385
|
+
position: absolute;
|
386
|
+
top: 0;
|
387
|
+
right: 0;
|
388
|
+
color: #ccc;
|
389
|
+
text-align: right;
|
390
|
+
font-size: .75em;
|
391
|
+
padding: 5px 10px 0;
|
392
|
+
letter-spacing: 1.5px;
|
393
|
+
line-height: 15px;
|
394
|
+
height: 15px;
|
395
|
+
font-weight: 600;
|
396
|
+
}
|
397
|
+
|
398
|
+
.content .highlight.css .code::after{
|
399
|
+
position: absolute;
|
400
|
+
top: 0;
|
401
|
+
right: 0;
|
402
|
+
color: #ccc;
|
403
|
+
text-align: right;
|
404
|
+
font-size: .75em;
|
405
|
+
padding: 5px 10px 0;
|
406
|
+
letter-spacing: 1.5px;
|
407
|
+
line-height: 15px;
|
408
|
+
height: 15px;
|
409
|
+
font-weight: 600;
|
410
|
+
}
|
411
|
+
|
412
|
+
.content .highlight.jsx .code::after{
|
413
|
+
position: absolute;
|
414
|
+
top: 0;
|
415
|
+
right: 0;
|
416
|
+
color: #ccc;
|
417
|
+
text-align: right;
|
418
|
+
font-size: .75em;
|
419
|
+
padding: 5px 10px 0;
|
420
|
+
letter-spacing: 1.5px;
|
421
|
+
line-height: 15px;
|
422
|
+
height: 15px;
|
423
|
+
font-weight: 600;
|
424
|
+
}
|
425
|
+
|
426
|
+
.content .highlight.html.html .code::after{
|
427
|
+
content: 'HTML';
|
428
|
+
}
|
429
|
+
|
430
|
+
.content .highlight.js.html .code::after{
|
431
|
+
content: 'HTML';
|
432
|
+
}
|
433
|
+
|
434
|
+
.content .highlight.bash.html .code::after{
|
435
|
+
content: 'HTML';
|
436
|
+
}
|
437
|
+
|
438
|
+
.content .highlight.css.html .code::after{
|
439
|
+
content: 'HTML';
|
440
|
+
}
|
441
|
+
|
442
|
+
.content .highlight.jsx.html .code::after{
|
443
|
+
content: 'HTML';
|
444
|
+
}
|
445
|
+
|
446
|
+
.content .highlight.html.js .code::after{
|
447
|
+
content: 'JS';
|
448
|
+
}
|
449
|
+
|
450
|
+
.content .highlight.js.js .code::after{
|
451
|
+
content: 'JS';
|
452
|
+
}
|
453
|
+
|
454
|
+
.content .highlight.bash.js .code::after{
|
455
|
+
content: 'JS';
|
456
|
+
}
|
457
|
+
|
458
|
+
.content .highlight.css.js .code::after{
|
459
|
+
content: 'JS';
|
460
|
+
}
|
461
|
+
|
462
|
+
.content .highlight.jsx.js .code::after{
|
463
|
+
content: 'JS';
|
464
|
+
}
|
465
|
+
|
466
|
+
.content .highlight.html.bash .code::after{
|
467
|
+
content: 'Shell';
|
468
|
+
}
|
469
|
+
|
470
|
+
.content .highlight.js.bash .code::after{
|
471
|
+
content: 'Shell';
|
472
|
+
}
|
473
|
+
|
474
|
+
.content .highlight.bash.bash .code::after{
|
475
|
+
content: 'Shell';
|
476
|
+
}
|
477
|
+
|
478
|
+
.content .highlight.css.bash .code::after{
|
479
|
+
content: 'Shell';
|
480
|
+
}
|
481
|
+
|
482
|
+
.content .highlight.jsx.bash .code::after{
|
483
|
+
content: 'Shell';
|
484
|
+
}
|
485
|
+
|
486
|
+
.content .highlight.html.css .code::after{
|
487
|
+
content: 'CSS';
|
488
|
+
}
|
489
|
+
|
490
|
+
.content .highlight.js.css .code::after{
|
491
|
+
content: 'CSS';
|
492
|
+
}
|
493
|
+
|
494
|
+
.content .highlight.bash.css .code::after{
|
495
|
+
content: 'CSS';
|
496
|
+
}
|
497
|
+
|
498
|
+
.content .highlight.css.css .code::after{
|
499
|
+
content: 'CSS';
|
500
|
+
}
|
501
|
+
|
502
|
+
.content .highlight.jsx.css .code::after{
|
503
|
+
content: 'CSS';
|
504
|
+
}
|
505
|
+
|
506
|
+
.content .highlight.html.jsx .code::after{
|
507
|
+
content: 'JSX';
|
508
|
+
}
|
509
|
+
|
510
|
+
.content .highlight.js.jsx .code::after{
|
511
|
+
content: 'JSX';
|
512
|
+
}
|
513
|
+
|
514
|
+
.content .highlight.bash.jsx .code::after{
|
515
|
+
content: 'JSX';
|
516
|
+
}
|
517
|
+
|
518
|
+
.content .highlight.css.jsx .code::after{
|
519
|
+
content: 'JSX';
|
520
|
+
}
|
521
|
+
|
522
|
+
.content .highlight.jsx.jsx .code::after{
|
523
|
+
content: 'JSX';
|
524
|
+
}
|
525
|
+
|
526
|
+
.content > table{
|
527
|
+
width: 100%;
|
528
|
+
margin: 20px 0;
|
529
|
+
}
|
530
|
+
|
531
|
+
.content > table tr{
|
532
|
+
border-top: 1px solid #eee;
|
533
|
+
}
|
534
|
+
|
535
|
+
.content > table tr:nth-child(2n){
|
536
|
+
background-color: #f8f8f8;
|
537
|
+
}
|
538
|
+
|
539
|
+
.content > table th{
|
540
|
+
padding: 12px 13px;
|
541
|
+
border: 1px solid #eee;
|
542
|
+
vertical-align: middle;
|
543
|
+
text-align: left;
|
544
|
+
}
|
545
|
+
|
546
|
+
.content > table td{
|
547
|
+
border: 1px solid #eee;
|
548
|
+
vertical-align: middle;
|
549
|
+
padding: 6px 13px;
|
550
|
+
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
551
|
+
font-size: .8em;
|
552
|
+
line-height: 1.6em;
|
553
|
+
}
|
554
|
+
|
555
|
+
.content .bottom-nav{
|
556
|
+
height: 44px;
|
557
|
+
margin: 30px 0 25px;
|
558
|
+
border-bottom: 1px solid #eee;
|
559
|
+
padding-bottom: 25px;
|
560
|
+
}
|
561
|
+
|
562
|
+
.content .bottom-nav a{
|
563
|
+
margin: 0 5px;
|
564
|
+
}
|
565
|
+
|
566
|
+
.content .edit-link{
|
567
|
+
text-align: center;
|
568
|
+
}
|
569
|
+
|
570
|
+
.content .edit-link a{
|
571
|
+
color: #aaa;
|
572
|
+
}
|
573
|
+
|
574
|
+
.content .edit-link a::before{
|
575
|
+
content: '';
|
576
|
+
display: inline-block;
|
577
|
+
width: 16px;
|
578
|
+
height: 16px;
|
579
|
+
background-size: 16px;
|
580
|
+
opacity: .3;
|
581
|
+
margin-right: 8px;
|
582
|
+
position: relative;
|
583
|
+
top: 2px;
|
584
|
+
}
|
585
|
+
|
586
|
+
.content .field-name{
|
587
|
+
font-weight: bold;
|
588
|
+
}
|
589
|
+
|
590
|
+
.content .field-entry{
|
591
|
+
margin-bottom: 4rem;
|
592
|
+
}
|
593
|
+
|
594
|
+
.content .description-wrapper > p{
|
595
|
+
padding-left: 1rem;
|
596
|
+
margin-bottom: 1rem;
|
597
|
+
}
|
598
|
+
|
599
|
+
#mobile-header{
|
600
|
+
z-index: 3;
|
601
|
+
position: fixed;
|
602
|
+
top: 0;
|
603
|
+
left: 0;
|
604
|
+
width: 100%;
|
605
|
+
height: 20px;
|
606
|
+
display: none;
|
607
|
+
}
|
608
|
+
|
609
|
+
#mobile-header .menu-button{
|
610
|
+
color: #333;
|
611
|
+
position: absolute;
|
612
|
+
top: 0;
|
613
|
+
right: 20px;
|
614
|
+
height: 24px;
|
615
|
+
font-size: 40px;
|
616
|
+
cursor: pointer;
|
617
|
+
opacity: .4;
|
618
|
+
}
|
619
|
+
|
620
|
+
@media screen and (max-width: 560px){
|
621
|
+
body{
|
622
|
+
font-size: 14px;
|
623
|
+
}
|
624
|
+
|
625
|
+
body.sidebar-open #sidebar{
|
626
|
+
transform: translate3d(0, 0, 0);
|
627
|
+
}
|
628
|
+
|
629
|
+
body.sidebar-open #mobile-shade{
|
630
|
+
opacity: 1;
|
631
|
+
pointer-events: auto;
|
632
|
+
}
|
633
|
+
|
634
|
+
.content{
|
635
|
+
margin-left: 0;
|
636
|
+
}
|
637
|
+
|
638
|
+
#mobile-header{
|
639
|
+
display: block;
|
640
|
+
}
|
641
|
+
|
642
|
+
#mobile-shade{
|
643
|
+
display: block;
|
644
|
+
}
|
645
|
+
|
646
|
+
#sidebar-mobile{
|
647
|
+
display: block;
|
648
|
+
}
|
649
|
+
|
650
|
+
#wrap{
|
651
|
+
padding-top: 40px;
|
652
|
+
padding-left: 0;
|
653
|
+
}
|
654
|
+
|
655
|
+
#sidebar{
|
656
|
+
top: 0;
|
657
|
+
left: 0;
|
658
|
+
border-right: none;
|
659
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, .25);
|
660
|
+
transition: transform .3s ease;
|
661
|
+
transform: translate3d(-120%, 0, 0);
|
662
|
+
display: block;
|
663
|
+
}
|
664
|
+
}
|
665
|
+
|
666
|
+
.api{
|
667
|
+
background: #fafafa;
|
668
|
+
}
|
669
|
+
|
670
|
+
.api h3{
|
671
|
+
padding: 5px 10px;
|
672
|
+
}
|
673
|
+
|
674
|
+
.api h3.api-title{
|
675
|
+
margin: 0;
|
676
|
+
overflow: auto;
|
677
|
+
}
|
678
|
+
|
679
|
+
.api h4{
|
680
|
+
font-weight: normal;
|
681
|
+
font-style: italic;
|
682
|
+
margin-bottom: .25em;
|
683
|
+
text-decoration: underline;
|
684
|
+
margin-left: 20px;
|
685
|
+
}
|
686
|
+
|
687
|
+
.api dl{
|
688
|
+
margin-top: .25em;
|
689
|
+
}
|
690
|
+
|
691
|
+
.api dl.args{
|
692
|
+
margin-left: 40px;
|
693
|
+
}
|
694
|
+
|
695
|
+
.api dl.constants{
|
696
|
+
margin-left: 20px;
|
697
|
+
}
|
698
|
+
|
699
|
+
.api dt{
|
700
|
+
margin-top: 1em;
|
701
|
+
}
|
702
|
+
|
703
|
+
.api dt .name{
|
704
|
+
font-weight: bold;
|
705
|
+
}
|
706
|
+
|
707
|
+
.api dt .type{
|
708
|
+
margin-left: 15px;
|
709
|
+
font-size: .9em;
|
710
|
+
font-weight: 200;
|
711
|
+
color: #000;
|
712
|
+
}
|
713
|
+
|
714
|
+
.api dd{
|
715
|
+
margin-bottom: 1em;
|
716
|
+
margin-left: 0;
|
717
|
+
}
|
718
|
+
|
719
|
+
.api .desc{
|
720
|
+
margin: 1em;
|
721
|
+
}
|
722
|
+
|
723
|
+
.api pre{
|
724
|
+
margin-right: 10px;
|
725
|
+
}
|
726
|
+
|
727
|
+
h3.api-title{
|
728
|
+
padding: 5px 10px;
|
729
|
+
margin-top: 2em;
|
730
|
+
}
|
731
|
+
|
732
|
+
.api-title .locus{
|
733
|
+
float: right;
|
734
|
+
font-weight: normal;
|
735
|
+
padding-right: 5px;
|
736
|
+
font-style: italic;
|
737
|
+
}
|
738
|
+
|
739
|
+
.api-title .subtext{
|
740
|
+
font-size: 11px;
|
741
|
+
text-align: left;
|
742
|
+
clear: both;
|
743
|
+
display: block;
|
744
|
+
font-weight: normal;
|
745
|
+
}
|
746
|
+
|
747
|
+
.api-title .subtext > code{
|
748
|
+
font-size: 11px;
|
749
|
+
margin-right: 12px;
|
750
|
+
}
|
751
|
+
|
752
|
+
.api-title .src-code{
|
753
|
+
color: #20338a !important;
|
754
|
+
border-bottom: none !important;
|
755
|
+
}
|
756
|
+
|
757
|
+
.gutter pre{
|
758
|
+
color: #999;
|
759
|
+
}
|
760
|
+
|
761
|
+
pre{
|
762
|
+
color: #525252;
|
763
|
+
}
|
764
|
+
|
765
|
+
pre .function .keyword{
|
766
|
+
color: #0092db;
|
767
|
+
}
|
768
|
+
|
769
|
+
pre .constant{
|
770
|
+
color: #0092db;
|
771
|
+
}
|
772
|
+
|
773
|
+
pre .keyword{
|
774
|
+
color: #e96900;
|
775
|
+
}
|
776
|
+
|
777
|
+
pre .attribute{
|
778
|
+
color: #e96900;
|
779
|
+
}
|
780
|
+
|
781
|
+
pre .number{
|
782
|
+
color: #ae81ff;
|
783
|
+
}
|
784
|
+
|
785
|
+
pre .literal{
|
786
|
+
color: #ae81ff;
|
787
|
+
}
|
788
|
+
|
789
|
+
pre .tag{
|
790
|
+
color: #2973b7;
|
791
|
+
}
|
792
|
+
|
793
|
+
pre .tag .title{
|
794
|
+
color: #2973b7;
|
795
|
+
}
|
796
|
+
|
797
|
+
pre .tag .value{
|
798
|
+
color: #90a959;
|
799
|
+
}
|
800
|
+
|
801
|
+
pre .change{
|
802
|
+
color: #2973b7;
|
803
|
+
}
|
804
|
+
|
805
|
+
pre .winutils{
|
806
|
+
color: #2973b7;
|
807
|
+
}
|
808
|
+
|
809
|
+
pre .flow{
|
810
|
+
color: #2973b7;
|
811
|
+
}
|
812
|
+
|
813
|
+
pre .lisp .title{
|
814
|
+
color: #2973b7;
|
815
|
+
}
|
816
|
+
|
817
|
+
pre .clojure .built_in{
|
818
|
+
color: #2973b7;
|
819
|
+
}
|
820
|
+
|
821
|
+
pre .nginx .title{
|
822
|
+
color: #2973b7;
|
823
|
+
}
|
824
|
+
|
825
|
+
pre .tex .special{
|
826
|
+
color: #2973b7;
|
827
|
+
}
|
828
|
+
|
829
|
+
pre .tex .command{
|
830
|
+
color: #90a959;
|
831
|
+
}
|
832
|
+
|
833
|
+
pre .tex .formula{
|
834
|
+
color: #b3b3b3;
|
835
|
+
opacity: .5;
|
836
|
+
}
|
837
|
+
|
838
|
+
pre .class .title{
|
839
|
+
color: #4077bf;
|
840
|
+
}
|
841
|
+
|
842
|
+
pre .symbol{
|
843
|
+
color: #90a959;
|
844
|
+
}
|
845
|
+
|
846
|
+
pre .symbol .string{
|
847
|
+
color: #90a959;
|
848
|
+
}
|
849
|
+
|
850
|
+
pre .value{
|
851
|
+
color: #90a959;
|
852
|
+
}
|
853
|
+
|
854
|
+
pre .regexp{
|
855
|
+
color: #90a959;
|
856
|
+
}
|
857
|
+
|
858
|
+
pre .title{
|
859
|
+
color: #a6e22e;
|
860
|
+
}
|
861
|
+
|
862
|
+
pre .string{
|
863
|
+
color: #90a959;
|
864
|
+
}
|
865
|
+
|
866
|
+
pre .subst{
|
867
|
+
color: #90a959;
|
868
|
+
}
|
869
|
+
|
870
|
+
pre .haskell .type{
|
871
|
+
color: #90a959;
|
872
|
+
}
|
873
|
+
|
874
|
+
pre .preprocessor{
|
875
|
+
color: #90a959;
|
876
|
+
}
|
877
|
+
|
878
|
+
pre .ruby .class .parent{
|
879
|
+
color: #90a959;
|
880
|
+
}
|
881
|
+
|
882
|
+
pre .built_in{
|
883
|
+
color: #90a959;
|
884
|
+
}
|
885
|
+
|
886
|
+
pre .sql .aggregate{
|
887
|
+
color: #90a959;
|
888
|
+
}
|
889
|
+
|
890
|
+
pre .django .template_tag{
|
891
|
+
color: #90a959;
|
892
|
+
}
|
893
|
+
|
894
|
+
pre .django .variable{
|
895
|
+
color: #90a959;
|
896
|
+
}
|
897
|
+
|
898
|
+
pre .django .filter .argument{
|
899
|
+
color: #90a959;
|
900
|
+
}
|
901
|
+
|
902
|
+
pre .smalltalk .class{
|
903
|
+
color: #90a959;
|
904
|
+
}
|
905
|
+
|
906
|
+
pre .smalltalk .localvars{
|
907
|
+
color: #90a959;
|
908
|
+
}
|
909
|
+
|
910
|
+
pre .smalltalk .array{
|
911
|
+
color: #90a959;
|
912
|
+
}
|
913
|
+
|
914
|
+
pre .javadoc{
|
915
|
+
color: #90a959;
|
916
|
+
}
|
917
|
+
|
918
|
+
pre .attr_selector{
|
919
|
+
color: #90a959;
|
920
|
+
}
|
921
|
+
|
922
|
+
pre .pseudo{
|
923
|
+
color: #90a959;
|
924
|
+
}
|
925
|
+
|
926
|
+
pre .addition{
|
927
|
+
color: #90a959;
|
928
|
+
}
|
929
|
+
|
930
|
+
pre .stream{
|
931
|
+
color: #90a959;
|
932
|
+
}
|
933
|
+
|
934
|
+
pre .envvar{
|
935
|
+
color: #90a959;
|
936
|
+
}
|
937
|
+
|
938
|
+
pre .apache .tag{
|
939
|
+
color: #90a959;
|
940
|
+
}
|
941
|
+
|
942
|
+
pre .apache .cbracket{
|
943
|
+
color: #90a959;
|
944
|
+
}
|
945
|
+
|
946
|
+
pre .apache .sqbracket{
|
947
|
+
color: #b3b3b3;
|
948
|
+
}
|
949
|
+
|
950
|
+
pre .prompt{
|
951
|
+
color: #90a959;
|
952
|
+
}
|
953
|
+
|
954
|
+
pre .comment{
|
955
|
+
color: #b3b3b3;
|
956
|
+
}
|
957
|
+
|
958
|
+
pre .java .annotation{
|
959
|
+
color: #b3b3b3;
|
960
|
+
}
|
961
|
+
|
962
|
+
pre .python .decorator{
|
963
|
+
color: #b3b3b3;
|
964
|
+
}
|
965
|
+
|
966
|
+
pre .template_comment{
|
967
|
+
color: #b3b3b3;
|
968
|
+
}
|
969
|
+
|
970
|
+
pre .pi{
|
971
|
+
color: #b3b3b3;
|
972
|
+
}
|
973
|
+
|
974
|
+
pre .doctype{
|
975
|
+
color: #b3b3b3;
|
976
|
+
}
|
977
|
+
|
978
|
+
pre .deletion{
|
979
|
+
color: #b3b3b3;
|
980
|
+
}
|
981
|
+
|
982
|
+
pre .shebang{
|
983
|
+
color: #b3b3b3;
|
984
|
+
}
|
985
|
+
|
986
|
+
pre .coffeescript .javascript{
|
987
|
+
opacity: .5;
|
988
|
+
}
|
989
|
+
|
990
|
+
pre .javascript .xml{
|
991
|
+
opacity: .5;
|
992
|
+
}
|
993
|
+
|
994
|
+
pre .xml .javascript{
|
995
|
+
opacity: .5;
|
996
|
+
}
|
997
|
+
|
998
|
+
pre .xml .vbscript{
|
999
|
+
opacity: .5;
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
pre .xml .css{
|
1003
|
+
opacity: .5;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
pre .xml .cdata{
|
1007
|
+
opacity: .5;
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
.highlight .hll{
|
1011
|
+
background-color: #49483e;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
pre{
|
1015
|
+
background: #272822;
|
1016
|
+
color: #f8f8f2;
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
.highlight .c{
|
1020
|
+
color: #75715e;
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
/* Comment */
|
1024
|
+
.highlight .err{
|
1025
|
+
color: #960050;
|
1026
|
+
background-color: #1e0010;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
/* Error */
|
1030
|
+
.highlight .k{
|
1031
|
+
color: #66d9ef;
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
/* Keyword */
|
1035
|
+
.highlight .l{
|
1036
|
+
color: #ae81ff;
|
1037
|
+
}
|
1038
|
+
|
1039
|
+
/* Literal */
|
1040
|
+
.highlight .n{
|
1041
|
+
color: #f8f8f2;
|
1042
|
+
}
|
1043
|
+
|
1044
|
+
/* Name */
|
1045
|
+
.highlight .o{
|
1046
|
+
color: #f92672;
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
/* Operator */
|
1050
|
+
.highlight .p{
|
1051
|
+
color: #f8f8f2;
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
/* Punctuation */
|
1055
|
+
.highlight .cm{
|
1056
|
+
color: #75715e;
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
/* Comment.Multiline */
|
1060
|
+
.highlight .cp{
|
1061
|
+
color: #75715e;
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
/* Comment.Preproc */
|
1065
|
+
.highlight .c1{
|
1066
|
+
color: #75715e;
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
/* Comment.Single */
|
1070
|
+
.highlight .cs{
|
1071
|
+
color: #75715e;
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
/* Comment.Special */
|
1075
|
+
.highlight .ge{
|
1076
|
+
font-style: italic;
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
/* Generic.Emph */
|
1080
|
+
.highlight .gs{
|
1081
|
+
font-weight: bold;
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
/* Generic.Strong */
|
1085
|
+
.highlight .kc{
|
1086
|
+
color: #66d9ef;
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
/* Keyword.Constant */
|
1090
|
+
.highlight .kd{
|
1091
|
+
color: #66d9ef;
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
/* Keyword.Declaration */
|
1095
|
+
.highlight .kn{
|
1096
|
+
color: #f92672;
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
/* Keyword.Namespace */
|
1100
|
+
.highlight .kp{
|
1101
|
+
color: #66d9ef;
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
/* Keyword.Pseudo */
|
1105
|
+
.highlight .kr{
|
1106
|
+
color: #66d9ef;
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
/* Keyword.Reserved */
|
1110
|
+
.highlight .kt{
|
1111
|
+
color: #66d9ef;
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
/* Keyword.Type */
|
1115
|
+
.highlight .ld{
|
1116
|
+
color: #e6db74;
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
/* Literal.Date */
|
1120
|
+
.highlight .m{
|
1121
|
+
color: #ae81ff;
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
/* Literal.Number */
|
1125
|
+
.highlight .s{
|
1126
|
+
color: #e6db74;
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
/* Literal.String */
|
1130
|
+
.highlight .na{
|
1131
|
+
color: #a6e22e;
|
1132
|
+
}
|
1133
|
+
|
1134
|
+
/* Name.Attribute */
|
1135
|
+
.highlight .nb{
|
1136
|
+
color: #f8f8f2;
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
/* Name.Builtin */
|
1140
|
+
.highlight .nc{
|
1141
|
+
color: #a6e22e;
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
/* Name.Class */
|
1145
|
+
.highlight .no{
|
1146
|
+
color: #66d9ef;
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
/* Name.Constant */
|
1150
|
+
.highlight .nd{
|
1151
|
+
color: #a6e22e;
|
1152
|
+
}
|
1153
|
+
|
1154
|
+
/* Name.Decorator */
|
1155
|
+
.highlight .ni{
|
1156
|
+
color: #f8f8f2;
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
/* Name.Entity */
|
1160
|
+
.highlight .ne{
|
1161
|
+
color: #a6e22e;
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
/* Name.Exception */
|
1165
|
+
.highlight .nf{
|
1166
|
+
color: #a6e22e;
|
1167
|
+
}
|
1168
|
+
|
1169
|
+
/* Name.Function */
|
1170
|
+
.highlight .nl{
|
1171
|
+
color: #f8f8f2;
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
/* Name.Label */
|
1175
|
+
.highlight .nn{
|
1176
|
+
color: #f8f8f2;
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
/* Name.Namespace */
|
1180
|
+
.highlight .nx{
|
1181
|
+
color: #a6e22e;
|
1182
|
+
}
|
1183
|
+
|
1184
|
+
/* Name.Other */
|
1185
|
+
.highlight .py{
|
1186
|
+
color: #f8f8f2;
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
/* Name.Property */
|
1190
|
+
.highlight .nt{
|
1191
|
+
color: #f92672;
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
/* Name.Tag */
|
1195
|
+
.highlight .nv{
|
1196
|
+
color: #f8f8f2;
|
1197
|
+
}
|
1198
|
+
|
1199
|
+
/* Name.Variable */
|
1200
|
+
.highlight .ow{
|
1201
|
+
color: #f92672;
|
1202
|
+
}
|
1203
|
+
|
1204
|
+
/* Operator.Word */
|
1205
|
+
.highlight .w{
|
1206
|
+
color: #f8f8f2;
|
1207
|
+
}
|
1208
|
+
|
1209
|
+
/* Text.Whitespace */
|
1210
|
+
.highlight .mf{
|
1211
|
+
color: #ae81ff;
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
/* Literal.Number.Float */
|
1215
|
+
.highlight .mh{
|
1216
|
+
color: #ae81ff;
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
/* Literal.Number.Hex */
|
1220
|
+
.highlight .mi{
|
1221
|
+
color: #ae81ff;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
/* Literal.Number.Integer */
|
1225
|
+
.highlight .mo{
|
1226
|
+
color: #ae81ff;
|
1227
|
+
}
|
1228
|
+
|
1229
|
+
/* Literal.Number.Oct */
|
1230
|
+
.highlight .sb{
|
1231
|
+
color: #e6db74;
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
/* Literal.String.Backtick */
|
1235
|
+
.highlight .sc{
|
1236
|
+
color: #e6db74;
|
1237
|
+
}
|
1238
|
+
|
1239
|
+
/* Literal.String.Char */
|
1240
|
+
.highlight .sd{
|
1241
|
+
color: #e6db74;
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
/* Literal.String.Doc */
|
1245
|
+
.highlight .s2{
|
1246
|
+
color: #e6db74;
|
1247
|
+
}
|
1248
|
+
|
1249
|
+
/* Literal.String.Double */
|
1250
|
+
.highlight .se{
|
1251
|
+
color: #ae81ff;
|
1252
|
+
}
|
1253
|
+
|
1254
|
+
/* Literal.String.Escape */
|
1255
|
+
.highlight .sh{
|
1256
|
+
color: #e6db74;
|
1257
|
+
}
|
1258
|
+
|
1259
|
+
/* Literal.String.Heredoc */
|
1260
|
+
.highlight .si{
|
1261
|
+
color: #e6db74;
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
/* Literal.String.Interpol */
|
1265
|
+
.highlight .sx{
|
1266
|
+
color: #e6db74;
|
1267
|
+
}
|
1268
|
+
|
1269
|
+
/* Literal.String.Other */
|
1270
|
+
.highlight .sr{
|
1271
|
+
color: #e6db74;
|
1272
|
+
}
|
1273
|
+
|
1274
|
+
/* Literal.String.Regex */
|
1275
|
+
.highlight .s1{
|
1276
|
+
color: #e6db74;
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
/* Literal.String.Single */
|
1280
|
+
.highlight .ss{
|
1281
|
+
color: #e6db74;
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
/* Literal.String.Symbol */
|
1285
|
+
.highlight .bp{
|
1286
|
+
color: #f8f8f2;
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
/* Name.Builtin.Pseudo */
|
1290
|
+
.highlight .vc{
|
1291
|
+
color: #f8f8f2;
|
1292
|
+
}
|
1293
|
+
|
1294
|
+
/* Name.Variable.Class */
|
1295
|
+
.highlight .vg{
|
1296
|
+
color: #f8f8f2;
|
1297
|
+
}
|
1298
|
+
|
1299
|
+
/* Name.Variable.Global */
|
1300
|
+
.highlight .vi{
|
1301
|
+
color: #f8f8f2;
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
/* Name.Variable.Instance */
|
1305
|
+
.highlight .il{
|
1306
|
+
color: #ae81ff;
|
1307
|
+
}
|
1308
|
+
|
1309
|
+
/* Literal.Number.Integer.Long */
|
1310
|
+
.deprecation-notice{
|
1311
|
+
padding-left: 5px;
|
1312
|
+
border-left: 2px solid #e8400d;
|
1313
|
+
background: #fdf2ec;
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
.deprecation-notice span{
|
1317
|
+
font-weight: bold;
|
1318
|
+
}
|