graphiql-rails-fork 1.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/javascripts/graphiql/rails/application.js +4 -0
- data/app/assets/javascripts/graphiql/rails/fetch-0.10.1.js +381 -0
- data/app/assets/javascripts/graphiql/rails/graphiql-0.11.11.js +46455 -0
- data/app/assets/javascripts/graphiql/rails/react-16.2.0.js +1684 -0
- data/app/assets/javascripts/graphiql/rails/react-dom-16.2.0.js +16068 -0
- data/app/assets/stylesheets/graphiql/rails/application.css +10 -0
- data/app/assets/stylesheets/graphiql/rails/graphiql-0.11.11.css +1741 -0
- data/app/controllers/graphiql/rails/editors_controller.rb +14 -0
- data/app/views/graphiql/rails/editors/show.html.erb +103 -0
- data/config/routes.rb +3 -0
- data/lib/graphiql/rails.rb +26 -0
- data/lib/graphiql/rails/config.rb +43 -0
- data/lib/graphiql/rails/engine.rb +7 -0
- data/lib/graphiql/rails/version.rb +5 -0
- data/test/controllers/editors_controller_test.rb +77 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +15 -0
- data/test/dummy/config/boot.rb +3 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/graphiql/rails/config_test.rb +24 -0
- data/test/graphiql/rails/engine_test.rb +7 -0
- data/test/graphiql/rails_test.rb +12 -0
- data/test/test_helper.rb +12 -0
- metadata +227 -0
@@ -0,0 +1,1741 @@
|
|
1
|
+
.graphiql-container,
|
2
|
+
.graphiql-container button,
|
3
|
+
.graphiql-container input {
|
4
|
+
color: #141823;
|
5
|
+
font-family:
|
6
|
+
system,
|
7
|
+
-apple-system,
|
8
|
+
'San Francisco',
|
9
|
+
'.SFNSDisplay-Regular',
|
10
|
+
'Segoe UI',
|
11
|
+
Segoe,
|
12
|
+
'Segoe WP',
|
13
|
+
'Helvetica Neue',
|
14
|
+
helvetica,
|
15
|
+
'Lucida Grande',
|
16
|
+
arial,
|
17
|
+
sans-serif;
|
18
|
+
font-size: 14px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.graphiql-container {
|
22
|
+
display: -webkit-box;
|
23
|
+
display: -ms-flexbox;
|
24
|
+
display: flex;
|
25
|
+
-webkit-box-orient: horizontal;
|
26
|
+
-webkit-box-direction: normal;
|
27
|
+
-ms-flex-direction: row;
|
28
|
+
flex-direction: row;
|
29
|
+
height: 100%;
|
30
|
+
margin: 0;
|
31
|
+
overflow: hidden;
|
32
|
+
width: 100%;
|
33
|
+
}
|
34
|
+
|
35
|
+
.graphiql-container .editorWrap {
|
36
|
+
display: -webkit-box;
|
37
|
+
display: -ms-flexbox;
|
38
|
+
display: flex;
|
39
|
+
-webkit-box-orient: vertical;
|
40
|
+
-webkit-box-direction: normal;
|
41
|
+
-ms-flex-direction: column;
|
42
|
+
flex-direction: column;
|
43
|
+
-webkit-box-flex: 1;
|
44
|
+
-ms-flex: 1;
|
45
|
+
flex: 1;
|
46
|
+
overflow-x: hidden;
|
47
|
+
}
|
48
|
+
|
49
|
+
.graphiql-container .title {
|
50
|
+
font-size: 18px;
|
51
|
+
}
|
52
|
+
|
53
|
+
.graphiql-container .title em {
|
54
|
+
font-family: georgia;
|
55
|
+
font-size: 19px;
|
56
|
+
}
|
57
|
+
|
58
|
+
.graphiql-container .topBarWrap {
|
59
|
+
display: -webkit-box;
|
60
|
+
display: -ms-flexbox;
|
61
|
+
display: flex;
|
62
|
+
-webkit-box-orient: horizontal;
|
63
|
+
-webkit-box-direction: normal;
|
64
|
+
-ms-flex-direction: row;
|
65
|
+
flex-direction: row;
|
66
|
+
}
|
67
|
+
|
68
|
+
.graphiql-container .topBar {
|
69
|
+
-webkit-box-align: center;
|
70
|
+
-ms-flex-align: center;
|
71
|
+
align-items: center;
|
72
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#e2e2e2));
|
73
|
+
background: linear-gradient(#f7f7f7, #e2e2e2);
|
74
|
+
border-bottom: 1px solid #d0d0d0;
|
75
|
+
cursor: default;
|
76
|
+
display: -webkit-box;
|
77
|
+
display: -ms-flexbox;
|
78
|
+
display: flex;
|
79
|
+
-webkit-box-orient: horizontal;
|
80
|
+
-webkit-box-direction: normal;
|
81
|
+
-ms-flex-direction: row;
|
82
|
+
flex-direction: row;
|
83
|
+
-webkit-box-flex: 1;
|
84
|
+
-ms-flex: 1;
|
85
|
+
flex: 1;
|
86
|
+
height: 34px;
|
87
|
+
overflow-y: visible;
|
88
|
+
padding: 7px 14px 6px;
|
89
|
+
-webkit-user-select: none;
|
90
|
+
-moz-user-select: none;
|
91
|
+
-ms-user-select: none;
|
92
|
+
user-select: none;
|
93
|
+
}
|
94
|
+
|
95
|
+
.graphiql-container .toolbar {
|
96
|
+
overflow-x: visible;
|
97
|
+
display: -webkit-box;
|
98
|
+
display: -ms-flexbox;
|
99
|
+
display: flex;
|
100
|
+
}
|
101
|
+
|
102
|
+
.graphiql-container .docExplorerShow,
|
103
|
+
.graphiql-container .historyShow {
|
104
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#e2e2e2));
|
105
|
+
background: linear-gradient(#f7f7f7, #e2e2e2);
|
106
|
+
border-radius: 0;
|
107
|
+
border-bottom: 1px solid #d0d0d0;
|
108
|
+
border-right: none;
|
109
|
+
border-top: none;
|
110
|
+
color: #3B5998;
|
111
|
+
cursor: pointer;
|
112
|
+
font-size: 14px;
|
113
|
+
margin: 0;
|
114
|
+
outline: 0;
|
115
|
+
padding: 2px 20px 0 18px;
|
116
|
+
}
|
117
|
+
|
118
|
+
.graphiql-container .docExplorerShow {
|
119
|
+
border-left: 1px solid rgba(0, 0, 0, 0.2);
|
120
|
+
}
|
121
|
+
|
122
|
+
.graphiql-container .historyShow {
|
123
|
+
border-right: 1px solid rgba(0, 0, 0, 0.2);
|
124
|
+
border-left: 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
.graphiql-container .docExplorerShow:before {
|
128
|
+
border-left: 2px solid #3B5998;
|
129
|
+
border-top: 2px solid #3B5998;
|
130
|
+
content: '';
|
131
|
+
display: inline-block;
|
132
|
+
height: 9px;
|
133
|
+
margin: 0 3px -1px 0;
|
134
|
+
position: relative;
|
135
|
+
-webkit-transform: rotate(-45deg);
|
136
|
+
transform: rotate(-45deg);
|
137
|
+
width: 9px;
|
138
|
+
}
|
139
|
+
|
140
|
+
.graphiql-container .editorBar {
|
141
|
+
display: -webkit-box;
|
142
|
+
display: -ms-flexbox;
|
143
|
+
display: flex;
|
144
|
+
-webkit-box-orient: horizontal;
|
145
|
+
-webkit-box-direction: normal;
|
146
|
+
-ms-flex-direction: row;
|
147
|
+
flex-direction: row;
|
148
|
+
-webkit-box-flex: 1;
|
149
|
+
-ms-flex: 1;
|
150
|
+
flex: 1;
|
151
|
+
}
|
152
|
+
|
153
|
+
.graphiql-container .queryWrap {
|
154
|
+
display: -webkit-box;
|
155
|
+
display: -ms-flexbox;
|
156
|
+
display: flex;
|
157
|
+
-webkit-box-orient: vertical;
|
158
|
+
-webkit-box-direction: normal;
|
159
|
+
-ms-flex-direction: column;
|
160
|
+
flex-direction: column;
|
161
|
+
-webkit-box-flex: 1;
|
162
|
+
-ms-flex: 1;
|
163
|
+
flex: 1;
|
164
|
+
}
|
165
|
+
|
166
|
+
.graphiql-container .resultWrap {
|
167
|
+
border-left: solid 1px #e0e0e0;
|
168
|
+
display: -webkit-box;
|
169
|
+
display: -ms-flexbox;
|
170
|
+
display: flex;
|
171
|
+
-webkit-box-orient: vertical;
|
172
|
+
-webkit-box-direction: normal;
|
173
|
+
-ms-flex-direction: column;
|
174
|
+
flex-direction: column;
|
175
|
+
-webkit-box-flex: 1;
|
176
|
+
-ms-flex: 1;
|
177
|
+
flex: 1;
|
178
|
+
position: relative;
|
179
|
+
}
|
180
|
+
|
181
|
+
.graphiql-container .docExplorerWrap,
|
182
|
+
.graphiql-container .historyPaneWrap {
|
183
|
+
background: white;
|
184
|
+
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
185
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
186
|
+
position: relative;
|
187
|
+
z-index: 3;
|
188
|
+
}
|
189
|
+
|
190
|
+
.graphiql-container .historyPaneWrap {
|
191
|
+
min-width: 230px;
|
192
|
+
z-index: 5;
|
193
|
+
}
|
194
|
+
|
195
|
+
.graphiql-container .docExplorerResizer {
|
196
|
+
cursor: col-resize;
|
197
|
+
height: 100%;
|
198
|
+
left: -5px;
|
199
|
+
position: absolute;
|
200
|
+
top: 0;
|
201
|
+
width: 10px;
|
202
|
+
z-index: 10;
|
203
|
+
}
|
204
|
+
|
205
|
+
.graphiql-container .docExplorerHide {
|
206
|
+
cursor: pointer;
|
207
|
+
font-size: 18px;
|
208
|
+
margin: -7px -8px -6px 0;
|
209
|
+
padding: 18px 16px 15px 12px;
|
210
|
+
}
|
211
|
+
|
212
|
+
.graphiql-container div .query-editor {
|
213
|
+
-webkit-box-flex: 1;
|
214
|
+
-ms-flex: 1;
|
215
|
+
flex: 1;
|
216
|
+
position: relative;
|
217
|
+
}
|
218
|
+
|
219
|
+
.graphiql-container .variable-editor {
|
220
|
+
display: -webkit-box;
|
221
|
+
display: -ms-flexbox;
|
222
|
+
display: flex;
|
223
|
+
-webkit-box-orient: vertical;
|
224
|
+
-webkit-box-direction: normal;
|
225
|
+
-ms-flex-direction: column;
|
226
|
+
flex-direction: column;
|
227
|
+
height: 29px;
|
228
|
+
position: relative;
|
229
|
+
}
|
230
|
+
|
231
|
+
.graphiql-container .variable-editor-title {
|
232
|
+
background: #eeeeee;
|
233
|
+
border-bottom: 1px solid #d6d6d6;
|
234
|
+
border-top: 1px solid #e0e0e0;
|
235
|
+
color: #777;
|
236
|
+
font-variant: small-caps;
|
237
|
+
font-weight: bold;
|
238
|
+
letter-spacing: 1px;
|
239
|
+
line-height: 14px;
|
240
|
+
padding: 6px 0 8px 43px;
|
241
|
+
text-transform: lowercase;
|
242
|
+
-webkit-user-select: none;
|
243
|
+
-moz-user-select: none;
|
244
|
+
-ms-user-select: none;
|
245
|
+
user-select: none;
|
246
|
+
}
|
247
|
+
|
248
|
+
.graphiql-container .codemirrorWrap {
|
249
|
+
-webkit-box-flex: 1;
|
250
|
+
-ms-flex: 1;
|
251
|
+
flex: 1;
|
252
|
+
height: 100%;
|
253
|
+
position: relative;
|
254
|
+
}
|
255
|
+
|
256
|
+
.graphiql-container .result-window {
|
257
|
+
-webkit-box-flex: 1;
|
258
|
+
-ms-flex: 1;
|
259
|
+
flex: 1;
|
260
|
+
height: 100%;
|
261
|
+
position: relative;
|
262
|
+
}
|
263
|
+
|
264
|
+
.graphiql-container .footer {
|
265
|
+
background: #f6f7f8;
|
266
|
+
border-left: 1px solid #e0e0e0;
|
267
|
+
border-top: 1px solid #e0e0e0;
|
268
|
+
margin-left: 12px;
|
269
|
+
position: relative;
|
270
|
+
}
|
271
|
+
|
272
|
+
.graphiql-container .footer:before {
|
273
|
+
background: #eeeeee;
|
274
|
+
bottom: 0;
|
275
|
+
content: " ";
|
276
|
+
left: -13px;
|
277
|
+
position: absolute;
|
278
|
+
top: -1px;
|
279
|
+
width: 12px;
|
280
|
+
}
|
281
|
+
|
282
|
+
/* No `.graphiql-container` here so themes can overwrite */
|
283
|
+
.result-window .CodeMirror {
|
284
|
+
background: #f6f7f8;
|
285
|
+
}
|
286
|
+
|
287
|
+
.graphiql-container .result-window .CodeMirror-gutters {
|
288
|
+
background-color: #eeeeee;
|
289
|
+
border-color: #e0e0e0;
|
290
|
+
cursor: col-resize;
|
291
|
+
}
|
292
|
+
|
293
|
+
.graphiql-container .result-window .CodeMirror-foldgutter,
|
294
|
+
.graphiql-container .result-window .CodeMirror-foldgutter-open:after,
|
295
|
+
.graphiql-container .result-window .CodeMirror-foldgutter-folded:after {
|
296
|
+
padding-left: 3px;
|
297
|
+
}
|
298
|
+
|
299
|
+
.graphiql-container .toolbar-button {
|
300
|
+
background: #fdfdfd;
|
301
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec));
|
302
|
+
background: linear-gradient(#f9f9f9, #ececec);
|
303
|
+
border-radius: 3px;
|
304
|
+
-webkit-box-shadow:
|
305
|
+
inset 0 0 0 1px rgba(0,0,0,0.20),
|
306
|
+
0 1px 0 rgba(255,255,255, 0.7),
|
307
|
+
inset 0 1px #fff;
|
308
|
+
box-shadow:
|
309
|
+
inset 0 0 0 1px rgba(0,0,0,0.20),
|
310
|
+
0 1px 0 rgba(255,255,255, 0.7),
|
311
|
+
inset 0 1px #fff;
|
312
|
+
color: #555;
|
313
|
+
cursor: pointer;
|
314
|
+
display: inline-block;
|
315
|
+
margin: 0 5px;
|
316
|
+
padding: 3px 11px 5px;
|
317
|
+
text-decoration: none;
|
318
|
+
text-overflow: ellipsis;
|
319
|
+
white-space: nowrap;
|
320
|
+
max-width: 150px;
|
321
|
+
}
|
322
|
+
|
323
|
+
.graphiql-container .toolbar-button:active {
|
324
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#ececec), to(#d5d5d5));
|
325
|
+
background: linear-gradient(#ececec, #d5d5d5);
|
326
|
+
-webkit-box-shadow:
|
327
|
+
0 1px 0 rgba(255, 255, 255, 0.7),
|
328
|
+
inset 0 0 0 1px rgba(0,0,0,0.10),
|
329
|
+
inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),
|
330
|
+
inset 0 0 5px rgba(0, 0, 0, 0.1);
|
331
|
+
box-shadow:
|
332
|
+
0 1px 0 rgba(255, 255, 255, 0.7),
|
333
|
+
inset 0 0 0 1px rgba(0,0,0,0.10),
|
334
|
+
inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),
|
335
|
+
inset 0 0 5px rgba(0, 0, 0, 0.1);
|
336
|
+
}
|
337
|
+
|
338
|
+
.graphiql-container .toolbar-button.error {
|
339
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#fdf3f3), to(#e6d6d7));
|
340
|
+
background: linear-gradient(#fdf3f3, #e6d6d7);
|
341
|
+
color: #b00;
|
342
|
+
}
|
343
|
+
|
344
|
+
.graphiql-container .toolbar-button-group {
|
345
|
+
margin: 0 5px;
|
346
|
+
white-space: nowrap;
|
347
|
+
}
|
348
|
+
|
349
|
+
.graphiql-container .toolbar-button-group > * {
|
350
|
+
margin: 0;
|
351
|
+
}
|
352
|
+
|
353
|
+
.graphiql-container .toolbar-button-group > *:not(:last-child) {
|
354
|
+
border-top-right-radius: 0;
|
355
|
+
border-bottom-right-radius: 0;
|
356
|
+
}
|
357
|
+
|
358
|
+
.graphiql-container .toolbar-button-group > *:not(:first-child) {
|
359
|
+
border-top-left-radius: 0;
|
360
|
+
border-bottom-left-radius: 0;
|
361
|
+
margin-left: -1px;
|
362
|
+
}
|
363
|
+
|
364
|
+
.graphiql-container .execute-button-wrap {
|
365
|
+
height: 34px;
|
366
|
+
margin: 0 14px 0 28px;
|
367
|
+
position: relative;
|
368
|
+
}
|
369
|
+
|
370
|
+
.graphiql-container .execute-button {
|
371
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#d2d3d6));
|
372
|
+
background: linear-gradient(#fdfdfd, #d2d3d6);
|
373
|
+
border-radius: 17px;
|
374
|
+
border: 1px solid rgba(0,0,0,0.25);
|
375
|
+
-webkit-box-shadow: 0 1px 0 #fff;
|
376
|
+
box-shadow: 0 1px 0 #fff;
|
377
|
+
cursor: pointer;
|
378
|
+
fill: #444;
|
379
|
+
height: 34px;
|
380
|
+
margin: 0;
|
381
|
+
padding: 0;
|
382
|
+
width: 34px;
|
383
|
+
}
|
384
|
+
|
385
|
+
.graphiql-container .execute-button svg {
|
386
|
+
pointer-events: none;
|
387
|
+
}
|
388
|
+
|
389
|
+
.graphiql-container .execute-button:active {
|
390
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#e6e6e6), to(#c3c3c3));
|
391
|
+
background: linear-gradient(#e6e6e6, #c3c3c3);
|
392
|
+
-webkit-box-shadow:
|
393
|
+
0 1px 0 #fff,
|
394
|
+
inset 0 0 2px rgba(0, 0, 0, 0.2),
|
395
|
+
inset 0 0 6px rgba(0, 0, 0, 0.1);
|
396
|
+
box-shadow:
|
397
|
+
0 1px 0 #fff,
|
398
|
+
inset 0 0 2px rgba(0, 0, 0, 0.2),
|
399
|
+
inset 0 0 6px rgba(0, 0, 0, 0.1);
|
400
|
+
}
|
401
|
+
|
402
|
+
.graphiql-container .execute-button:focus {
|
403
|
+
outline: 0;
|
404
|
+
}
|
405
|
+
|
406
|
+
.graphiql-container .toolbar-menu,
|
407
|
+
.graphiql-container .toolbar-select {
|
408
|
+
position: relative;
|
409
|
+
}
|
410
|
+
|
411
|
+
.graphiql-container .execute-options,
|
412
|
+
.graphiql-container .toolbar-menu-items,
|
413
|
+
.graphiql-container .toolbar-select-options {
|
414
|
+
background: #fff;
|
415
|
+
-webkit-box-shadow:
|
416
|
+
0 0 0 1px rgba(0,0,0,0.1),
|
417
|
+
0 2px 4px rgba(0,0,0,0.25);
|
418
|
+
box-shadow:
|
419
|
+
0 0 0 1px rgba(0,0,0,0.1),
|
420
|
+
0 2px 4px rgba(0,0,0,0.25);
|
421
|
+
margin: 0;
|
422
|
+
padding: 6px 0;
|
423
|
+
position: absolute;
|
424
|
+
z-index: 100;
|
425
|
+
}
|
426
|
+
|
427
|
+
.graphiql-container .execute-options {
|
428
|
+
min-width: 100px;
|
429
|
+
top: 37px;
|
430
|
+
left: -1px;
|
431
|
+
}
|
432
|
+
|
433
|
+
.graphiql-container .toolbar-menu-items {
|
434
|
+
left: 1px;
|
435
|
+
margin-top: -1px;
|
436
|
+
min-width: 110%;
|
437
|
+
top: 100%;
|
438
|
+
visibility: hidden;
|
439
|
+
}
|
440
|
+
|
441
|
+
.graphiql-container .toolbar-menu-items.open {
|
442
|
+
visibility: visible;
|
443
|
+
}
|
444
|
+
|
445
|
+
.graphiql-container .toolbar-select-options {
|
446
|
+
left: 0;
|
447
|
+
min-width: 100%;
|
448
|
+
top: -5px;
|
449
|
+
visibility: hidden;
|
450
|
+
}
|
451
|
+
|
452
|
+
.graphiql-container .toolbar-select-options.open {
|
453
|
+
visibility: visible;
|
454
|
+
}
|
455
|
+
|
456
|
+
.graphiql-container .execute-options > li,
|
457
|
+
.graphiql-container .toolbar-menu-items > li,
|
458
|
+
.graphiql-container .toolbar-select-options > li {
|
459
|
+
cursor: pointer;
|
460
|
+
display: block;
|
461
|
+
margin: none;
|
462
|
+
max-width: 300px;
|
463
|
+
overflow: hidden;
|
464
|
+
padding: 2px 20px 4px 11px;
|
465
|
+
text-overflow: ellipsis;
|
466
|
+
white-space: nowrap;
|
467
|
+
}
|
468
|
+
|
469
|
+
.graphiql-container .execute-options > li.selected,
|
470
|
+
.graphiql-container .toolbar-menu-items > li.hover,
|
471
|
+
.graphiql-container .toolbar-menu-items > li:active,
|
472
|
+
.graphiql-container .toolbar-menu-items > li:hover,
|
473
|
+
.graphiql-container .toolbar-select-options > li.hover,
|
474
|
+
.graphiql-container .toolbar-select-options > li:active,
|
475
|
+
.graphiql-container .toolbar-select-options > li:hover,
|
476
|
+
.graphiql-container .history-contents > p:hover,
|
477
|
+
.graphiql-container .history-contents > p:active {
|
478
|
+
background: #e10098;
|
479
|
+
color: #fff;
|
480
|
+
}
|
481
|
+
|
482
|
+
.graphiql-container .toolbar-select-options > li > svg {
|
483
|
+
display: inline;
|
484
|
+
fill: #666;
|
485
|
+
margin: 0 -6px 0 6px;
|
486
|
+
pointer-events: none;
|
487
|
+
vertical-align: middle;
|
488
|
+
}
|
489
|
+
|
490
|
+
.graphiql-container .toolbar-select-options > li.hover > svg,
|
491
|
+
.graphiql-container .toolbar-select-options > li:active > svg,
|
492
|
+
.graphiql-container .toolbar-select-options > li:hover > svg {
|
493
|
+
fill: #fff;
|
494
|
+
}
|
495
|
+
|
496
|
+
.graphiql-container .CodeMirror-scroll {
|
497
|
+
overflow-scrolling: touch;
|
498
|
+
}
|
499
|
+
|
500
|
+
.graphiql-container .CodeMirror {
|
501
|
+
color: #141823;
|
502
|
+
font-family:
|
503
|
+
'Consolas',
|
504
|
+
'Inconsolata',
|
505
|
+
'Droid Sans Mono',
|
506
|
+
'Monaco',
|
507
|
+
monospace;
|
508
|
+
font-size: 13px;
|
509
|
+
height: 100%;
|
510
|
+
left: 0;
|
511
|
+
position: absolute;
|
512
|
+
top: 0;
|
513
|
+
width: 100%;
|
514
|
+
}
|
515
|
+
|
516
|
+
.graphiql-container .CodeMirror-lines {
|
517
|
+
padding: 20px 0;
|
518
|
+
}
|
519
|
+
|
520
|
+
.CodeMirror-hint-information .content {
|
521
|
+
box-orient: vertical;
|
522
|
+
color: #141823;
|
523
|
+
display: -webkit-box;
|
524
|
+
display: -ms-flexbox;
|
525
|
+
display: flex;
|
526
|
+
font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif;
|
527
|
+
font-size: 13px;
|
528
|
+
line-clamp: 3;
|
529
|
+
line-height: 16px;
|
530
|
+
max-height: 48px;
|
531
|
+
overflow: hidden;
|
532
|
+
text-overflow: -o-ellipsis-lastline;
|
533
|
+
}
|
534
|
+
|
535
|
+
.CodeMirror-hint-information .content p:first-child {
|
536
|
+
margin-top: 0;
|
537
|
+
}
|
538
|
+
|
539
|
+
.CodeMirror-hint-information .content p:last-child {
|
540
|
+
margin-bottom: 0;
|
541
|
+
}
|
542
|
+
|
543
|
+
.CodeMirror-hint-information .infoType {
|
544
|
+
color: #CA9800;
|
545
|
+
cursor: pointer;
|
546
|
+
display: inline;
|
547
|
+
margin-right: 0.5em;
|
548
|
+
}
|
549
|
+
|
550
|
+
.autoInsertedLeaf.cm-property {
|
551
|
+
-webkit-animation-duration: 6s;
|
552
|
+
animation-duration: 6s;
|
553
|
+
-webkit-animation-name: insertionFade;
|
554
|
+
animation-name: insertionFade;
|
555
|
+
border-bottom: 2px solid rgba(255, 255, 255, 0);
|
556
|
+
border-radius: 2px;
|
557
|
+
margin: -2px -4px -1px;
|
558
|
+
padding: 2px 4px 1px;
|
559
|
+
}
|
560
|
+
|
561
|
+
@-webkit-keyframes insertionFade {
|
562
|
+
from, to {
|
563
|
+
background: rgba(255, 255, 255, 0);
|
564
|
+
border-color: rgba(255, 255, 255, 0);
|
565
|
+
}
|
566
|
+
|
567
|
+
15%, 85% {
|
568
|
+
background: #fbffc9;
|
569
|
+
border-color: #f0f3c0;
|
570
|
+
}
|
571
|
+
}
|
572
|
+
|
573
|
+
@keyframes insertionFade {
|
574
|
+
from, to {
|
575
|
+
background: rgba(255, 255, 255, 0);
|
576
|
+
border-color: rgba(255, 255, 255, 0);
|
577
|
+
}
|
578
|
+
|
579
|
+
15%, 85% {
|
580
|
+
background: #fbffc9;
|
581
|
+
border-color: #f0f3c0;
|
582
|
+
}
|
583
|
+
}
|
584
|
+
|
585
|
+
div.CodeMirror-lint-tooltip {
|
586
|
+
background-color: white;
|
587
|
+
border-radius: 2px;
|
588
|
+
border: 0;
|
589
|
+
color: #141823;
|
590
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
|
591
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
|
592
|
+
font-family:
|
593
|
+
system,
|
594
|
+
-apple-system,
|
595
|
+
'San Francisco',
|
596
|
+
'.SFNSDisplay-Regular',
|
597
|
+
'Segoe UI',
|
598
|
+
Segoe,
|
599
|
+
'Segoe WP',
|
600
|
+
'Helvetica Neue',
|
601
|
+
helvetica,
|
602
|
+
'Lucida Grande',
|
603
|
+
arial,
|
604
|
+
sans-serif;
|
605
|
+
font-size: 13px;
|
606
|
+
line-height: 16px;
|
607
|
+
max-width: 430px;
|
608
|
+
opacity: 0;
|
609
|
+
padding: 8px 10px;
|
610
|
+
-webkit-transition: opacity 0.15s;
|
611
|
+
transition: opacity 0.15s;
|
612
|
+
white-space: pre-wrap;
|
613
|
+
}
|
614
|
+
|
615
|
+
div.CodeMirror-lint-tooltip > * {
|
616
|
+
padding-left: 23px;
|
617
|
+
}
|
618
|
+
|
619
|
+
div.CodeMirror-lint-tooltip > * + * {
|
620
|
+
margin-top: 12px;
|
621
|
+
}
|
622
|
+
|
623
|
+
/* COLORS */
|
624
|
+
|
625
|
+
.graphiql-container .CodeMirror-foldmarker {
|
626
|
+
border-radius: 4px;
|
627
|
+
background: #08f;
|
628
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#43A8FF), to(#0F83E8));
|
629
|
+
background: linear-gradient(#43A8FF, #0F83E8);
|
630
|
+
-webkit-box-shadow:
|
631
|
+
0 1px 1px rgba(0, 0, 0, 0.2),
|
632
|
+
inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
633
|
+
box-shadow:
|
634
|
+
0 1px 1px rgba(0, 0, 0, 0.2),
|
635
|
+
inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
636
|
+
color: white;
|
637
|
+
font-family: arial;
|
638
|
+
font-size: 12px;
|
639
|
+
line-height: 0;
|
640
|
+
margin: 0 3px;
|
641
|
+
padding: 0px 4px 1px;
|
642
|
+
text-shadow: 0 -1px rgba(0, 0, 0, 0.1);
|
643
|
+
}
|
644
|
+
|
645
|
+
.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket {
|
646
|
+
color: #555;
|
647
|
+
text-decoration: underline;
|
648
|
+
}
|
649
|
+
|
650
|
+
.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
651
|
+
color: #f00;
|
652
|
+
}
|
653
|
+
|
654
|
+
/* Comment */
|
655
|
+
.cm-comment {
|
656
|
+
color: #999;
|
657
|
+
}
|
658
|
+
|
659
|
+
/* Punctuation */
|
660
|
+
.cm-punctuation {
|
661
|
+
color: #555;
|
662
|
+
}
|
663
|
+
|
664
|
+
/* Keyword */
|
665
|
+
.cm-keyword {
|
666
|
+
color: #B11A04;
|
667
|
+
}
|
668
|
+
|
669
|
+
/* OperationName, FragmentName */
|
670
|
+
.cm-def {
|
671
|
+
color: #D2054E;
|
672
|
+
}
|
673
|
+
|
674
|
+
/* FieldName */
|
675
|
+
.cm-property {
|
676
|
+
color: #1F61A0;
|
677
|
+
}
|
678
|
+
|
679
|
+
/* FieldAlias */
|
680
|
+
.cm-qualifier {
|
681
|
+
color: #1C92A9;
|
682
|
+
}
|
683
|
+
|
684
|
+
/* ArgumentName and ObjectFieldName */
|
685
|
+
.cm-attribute {
|
686
|
+
color: #8B2BB9;
|
687
|
+
}
|
688
|
+
|
689
|
+
/* Number */
|
690
|
+
.cm-number {
|
691
|
+
color: #2882F9;
|
692
|
+
}
|
693
|
+
|
694
|
+
/* String */
|
695
|
+
.cm-string {
|
696
|
+
color: #D64292;
|
697
|
+
}
|
698
|
+
|
699
|
+
/* Boolean */
|
700
|
+
.cm-builtin {
|
701
|
+
color: #D47509;
|
702
|
+
}
|
703
|
+
|
704
|
+
/* EnumValue */
|
705
|
+
.cm-string-2 {
|
706
|
+
color: #0B7FC7;
|
707
|
+
}
|
708
|
+
|
709
|
+
/* Variable */
|
710
|
+
.cm-variable {
|
711
|
+
color: #397D13;
|
712
|
+
}
|
713
|
+
|
714
|
+
/* Directive */
|
715
|
+
.cm-meta {
|
716
|
+
color: #B33086;
|
717
|
+
}
|
718
|
+
|
719
|
+
/* Type */
|
720
|
+
.cm-atom {
|
721
|
+
color: #CA9800;
|
722
|
+
}
|
723
|
+
/* BASICS */
|
724
|
+
|
725
|
+
.CodeMirror {
|
726
|
+
/* Set height, width, borders, and global font properties here */
|
727
|
+
color: black;
|
728
|
+
font-family: monospace;
|
729
|
+
height: 300px;
|
730
|
+
}
|
731
|
+
|
732
|
+
/* PADDING */
|
733
|
+
|
734
|
+
.CodeMirror-lines {
|
735
|
+
padding: 4px 0; /* Vertical padding around content */
|
736
|
+
}
|
737
|
+
.CodeMirror pre {
|
738
|
+
padding: 0 4px; /* Horizontal padding of content */
|
739
|
+
}
|
740
|
+
|
741
|
+
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
742
|
+
background-color: white; /* The little square between H and V scrollbars */
|
743
|
+
}
|
744
|
+
|
745
|
+
/* GUTTER */
|
746
|
+
|
747
|
+
.CodeMirror-gutters {
|
748
|
+
border-right: 1px solid #ddd;
|
749
|
+
background-color: #f7f7f7;
|
750
|
+
white-space: nowrap;
|
751
|
+
}
|
752
|
+
.CodeMirror-linenumbers {}
|
753
|
+
.CodeMirror-linenumber {
|
754
|
+
color: #999;
|
755
|
+
min-width: 20px;
|
756
|
+
padding: 0 3px 0 5px;
|
757
|
+
text-align: right;
|
758
|
+
white-space: nowrap;
|
759
|
+
}
|
760
|
+
|
761
|
+
.CodeMirror-guttermarker { color: black; }
|
762
|
+
.CodeMirror-guttermarker-subtle { color: #999; }
|
763
|
+
|
764
|
+
/* CURSOR */
|
765
|
+
|
766
|
+
.CodeMirror .CodeMirror-cursor {
|
767
|
+
border-left: 1px solid black;
|
768
|
+
}
|
769
|
+
/* Shown when moving in bi-directional text */
|
770
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
771
|
+
border-left: 1px solid silver;
|
772
|
+
}
|
773
|
+
.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {
|
774
|
+
background: #7e7;
|
775
|
+
border: 0;
|
776
|
+
width: auto;
|
777
|
+
}
|
778
|
+
.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {
|
779
|
+
z-index: 1;
|
780
|
+
}
|
781
|
+
|
782
|
+
.cm-animate-fat-cursor {
|
783
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
784
|
+
animation: blink 1.06s steps(1) infinite;
|
785
|
+
border: 0;
|
786
|
+
width: auto;
|
787
|
+
}
|
788
|
+
@-webkit-keyframes blink {
|
789
|
+
0% { background: #7e7; }
|
790
|
+
50% { background: none; }
|
791
|
+
100% { background: #7e7; }
|
792
|
+
}
|
793
|
+
@keyframes blink {
|
794
|
+
0% { background: #7e7; }
|
795
|
+
50% { background: none; }
|
796
|
+
100% { background: #7e7; }
|
797
|
+
}
|
798
|
+
|
799
|
+
/* Can style cursor different in overwrite (non-insert) mode */
|
800
|
+
div.CodeMirror-overwrite div.CodeMirror-cursor {}
|
801
|
+
|
802
|
+
.cm-tab { display: inline-block; text-decoration: inherit; }
|
803
|
+
|
804
|
+
.CodeMirror-ruler {
|
805
|
+
border-left: 1px solid #ccc;
|
806
|
+
position: absolute;
|
807
|
+
}
|
808
|
+
|
809
|
+
/* DEFAULT THEME */
|
810
|
+
|
811
|
+
.cm-s-default .cm-keyword {color: #708;}
|
812
|
+
.cm-s-default .cm-atom {color: #219;}
|
813
|
+
.cm-s-default .cm-number {color: #164;}
|
814
|
+
.cm-s-default .cm-def {color: #00f;}
|
815
|
+
.cm-s-default .cm-variable,
|
816
|
+
.cm-s-default .cm-punctuation,
|
817
|
+
.cm-s-default .cm-property,
|
818
|
+
.cm-s-default .cm-operator {}
|
819
|
+
.cm-s-default .cm-variable-2 {color: #05a;}
|
820
|
+
.cm-s-default .cm-variable-3 {color: #085;}
|
821
|
+
.cm-s-default .cm-comment {color: #a50;}
|
822
|
+
.cm-s-default .cm-string {color: #a11;}
|
823
|
+
.cm-s-default .cm-string-2 {color: #f50;}
|
824
|
+
.cm-s-default .cm-meta {color: #555;}
|
825
|
+
.cm-s-default .cm-qualifier {color: #555;}
|
826
|
+
.cm-s-default .cm-builtin {color: #30a;}
|
827
|
+
.cm-s-default .cm-bracket {color: #997;}
|
828
|
+
.cm-s-default .cm-tag {color: #170;}
|
829
|
+
.cm-s-default .cm-attribute {color: #00c;}
|
830
|
+
.cm-s-default .cm-header {color: blue;}
|
831
|
+
.cm-s-default .cm-quote {color: #090;}
|
832
|
+
.cm-s-default .cm-hr {color: #999;}
|
833
|
+
.cm-s-default .cm-link {color: #00c;}
|
834
|
+
|
835
|
+
.cm-negative {color: #d44;}
|
836
|
+
.cm-positive {color: #292;}
|
837
|
+
.cm-header, .cm-strong {font-weight: bold;}
|
838
|
+
.cm-em {font-style: italic;}
|
839
|
+
.cm-link {text-decoration: underline;}
|
840
|
+
.cm-strikethrough {text-decoration: line-through;}
|
841
|
+
|
842
|
+
.cm-s-default .cm-error {color: #f00;}
|
843
|
+
.cm-invalidchar {color: #f00;}
|
844
|
+
|
845
|
+
.CodeMirror-composing { border-bottom: 2px solid; }
|
846
|
+
|
847
|
+
/* Default styles for common addons */
|
848
|
+
|
849
|
+
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
|
850
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
851
|
+
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
852
|
+
.CodeMirror-activeline-background {background: #e8f2ff;}
|
853
|
+
|
854
|
+
/* STOP */
|
855
|
+
|
856
|
+
/* The rest of this file contains styles related to the mechanics of
|
857
|
+
the editor. You probably shouldn't touch them. */
|
858
|
+
|
859
|
+
.CodeMirror {
|
860
|
+
background: white;
|
861
|
+
overflow: hidden;
|
862
|
+
position: relative;
|
863
|
+
}
|
864
|
+
|
865
|
+
.CodeMirror-scroll {
|
866
|
+
height: 100%;
|
867
|
+
/* 30px is the magic margin used to hide the element's real scrollbars */
|
868
|
+
/* See overflow: hidden in .CodeMirror */
|
869
|
+
margin-bottom: -30px; margin-right: -30px;
|
870
|
+
outline: none; /* Prevent dragging from highlighting the element */
|
871
|
+
overflow: scroll !important; /* Things will break if this is overridden */
|
872
|
+
padding-bottom: 30px;
|
873
|
+
position: relative;
|
874
|
+
}
|
875
|
+
.CodeMirror-sizer {
|
876
|
+
border-right: 30px solid transparent;
|
877
|
+
position: relative;
|
878
|
+
}
|
879
|
+
|
880
|
+
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
881
|
+
before actual scrolling happens, thus preventing shaking and
|
882
|
+
flickering artifacts. */
|
883
|
+
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
884
|
+
display: none;
|
885
|
+
position: absolute;
|
886
|
+
z-index: 6;
|
887
|
+
}
|
888
|
+
.CodeMirror-vscrollbar {
|
889
|
+
overflow-x: hidden;
|
890
|
+
overflow-y: scroll;
|
891
|
+
right: 0; top: 0;
|
892
|
+
}
|
893
|
+
.CodeMirror-hscrollbar {
|
894
|
+
bottom: 0; left: 0;
|
895
|
+
overflow-x: scroll;
|
896
|
+
overflow-y: hidden;
|
897
|
+
}
|
898
|
+
.CodeMirror-scrollbar-filler {
|
899
|
+
right: 0; bottom: 0;
|
900
|
+
}
|
901
|
+
.CodeMirror-gutter-filler {
|
902
|
+
left: 0; bottom: 0;
|
903
|
+
}
|
904
|
+
|
905
|
+
.CodeMirror-gutters {
|
906
|
+
min-height: 100%;
|
907
|
+
position: absolute; left: 0; top: 0;
|
908
|
+
z-index: 3;
|
909
|
+
}
|
910
|
+
.CodeMirror-gutter {
|
911
|
+
display: inline-block;
|
912
|
+
height: 100%;
|
913
|
+
margin-bottom: -30px;
|
914
|
+
vertical-align: top;
|
915
|
+
white-space: normal;
|
916
|
+
/* Hack to make IE7 behave */
|
917
|
+
*zoom:1;
|
918
|
+
*display:inline;
|
919
|
+
}
|
920
|
+
.CodeMirror-gutter-wrapper {
|
921
|
+
background: none !important;
|
922
|
+
border: none !important;
|
923
|
+
position: absolute;
|
924
|
+
z-index: 4;
|
925
|
+
}
|
926
|
+
.CodeMirror-gutter-background {
|
927
|
+
position: absolute;
|
928
|
+
top: 0; bottom: 0;
|
929
|
+
z-index: 4;
|
930
|
+
}
|
931
|
+
.CodeMirror-gutter-elt {
|
932
|
+
cursor: default;
|
933
|
+
position: absolute;
|
934
|
+
z-index: 4;
|
935
|
+
}
|
936
|
+
.CodeMirror-gutter-wrapper {
|
937
|
+
-webkit-user-select: none;
|
938
|
+
-moz-user-select: none;
|
939
|
+
-ms-user-select: none;
|
940
|
+
user-select: none;
|
941
|
+
}
|
942
|
+
|
943
|
+
.CodeMirror-lines {
|
944
|
+
cursor: text;
|
945
|
+
min-height: 1px; /* prevents collapsing before first draw */
|
946
|
+
}
|
947
|
+
.CodeMirror pre {
|
948
|
+
-webkit-tap-highlight-color: transparent;
|
949
|
+
/* Reset some styles that the rest of the page might have set */
|
950
|
+
background: transparent;
|
951
|
+
border-radius: 0;
|
952
|
+
border-width: 0;
|
953
|
+
color: inherit;
|
954
|
+
font-family: inherit;
|
955
|
+
font-size: inherit;
|
956
|
+
-webkit-font-variant-ligatures: none;
|
957
|
+
font-variant-ligatures: none;
|
958
|
+
line-height: inherit;
|
959
|
+
margin: 0;
|
960
|
+
overflow: visible;
|
961
|
+
position: relative;
|
962
|
+
white-space: pre;
|
963
|
+
word-wrap: normal;
|
964
|
+
z-index: 2;
|
965
|
+
}
|
966
|
+
.CodeMirror-wrap pre {
|
967
|
+
word-wrap: break-word;
|
968
|
+
white-space: pre-wrap;
|
969
|
+
word-break: normal;
|
970
|
+
}
|
971
|
+
|
972
|
+
.CodeMirror-linebackground {
|
973
|
+
position: absolute;
|
974
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
975
|
+
z-index: 0;
|
976
|
+
}
|
977
|
+
|
978
|
+
.CodeMirror-linewidget {
|
979
|
+
overflow: auto;
|
980
|
+
position: relative;
|
981
|
+
z-index: 2;
|
982
|
+
}
|
983
|
+
|
984
|
+
.CodeMirror-widget {}
|
985
|
+
|
986
|
+
.CodeMirror-code {
|
987
|
+
outline: none;
|
988
|
+
}
|
989
|
+
|
990
|
+
/* Force content-box sizing for the elements where we expect it */
|
991
|
+
.CodeMirror-scroll,
|
992
|
+
.CodeMirror-sizer,
|
993
|
+
.CodeMirror-gutter,
|
994
|
+
.CodeMirror-gutters,
|
995
|
+
.CodeMirror-linenumber {
|
996
|
+
-webkit-box-sizing: content-box;
|
997
|
+
box-sizing: content-box;
|
998
|
+
}
|
999
|
+
|
1000
|
+
.CodeMirror-measure {
|
1001
|
+
height: 0;
|
1002
|
+
overflow: hidden;
|
1003
|
+
position: absolute;
|
1004
|
+
visibility: hidden;
|
1005
|
+
width: 100%;
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
.CodeMirror-cursor { position: absolute; }
|
1009
|
+
.CodeMirror-measure pre { position: static; }
|
1010
|
+
|
1011
|
+
div.CodeMirror-cursors {
|
1012
|
+
position: relative;
|
1013
|
+
visibility: hidden;
|
1014
|
+
z-index: 3;
|
1015
|
+
}
|
1016
|
+
div.CodeMirror-dragcursors {
|
1017
|
+
visibility: visible;
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
.CodeMirror-focused div.CodeMirror-cursors {
|
1021
|
+
visibility: visible;
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
.CodeMirror-selected { background: #d9d9d9; }
|
1025
|
+
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
1026
|
+
.CodeMirror-crosshair { cursor: crosshair; }
|
1027
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
1028
|
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
1029
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
1030
|
+
|
1031
|
+
.cm-searching {
|
1032
|
+
background: #ffa;
|
1033
|
+
background: rgba(255, 255, 0, .4);
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
|
1037
|
+
.CodeMirror span { *vertical-align: text-bottom; }
|
1038
|
+
|
1039
|
+
/* Used to force a border model for a node */
|
1040
|
+
.cm-force-border { padding-right: .1px; }
|
1041
|
+
|
1042
|
+
@media print {
|
1043
|
+
/* Hide the cursor when printing */
|
1044
|
+
.CodeMirror div.CodeMirror-cursors {
|
1045
|
+
visibility: hidden;
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
/* See issue #2901 */
|
1050
|
+
.cm-tab-wrap-hack:after { content: ''; }
|
1051
|
+
|
1052
|
+
/* Help users use markselection to safely style text background */
|
1053
|
+
span.CodeMirror-selectedtext { background: none; }
|
1054
|
+
|
1055
|
+
.CodeMirror-dialog {
|
1056
|
+
background: inherit;
|
1057
|
+
color: inherit;
|
1058
|
+
left: 0; right: 0;
|
1059
|
+
overflow: hidden;
|
1060
|
+
padding: .1em .8em;
|
1061
|
+
position: absolute;
|
1062
|
+
z-index: 15;
|
1063
|
+
}
|
1064
|
+
|
1065
|
+
.CodeMirror-dialog-top {
|
1066
|
+
border-bottom: 1px solid #eee;
|
1067
|
+
top: 0;
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
.CodeMirror-dialog-bottom {
|
1071
|
+
border-top: 1px solid #eee;
|
1072
|
+
bottom: 0;
|
1073
|
+
}
|
1074
|
+
|
1075
|
+
.CodeMirror-dialog input {
|
1076
|
+
background: transparent;
|
1077
|
+
border: 1px solid #d3d6db;
|
1078
|
+
color: inherit;
|
1079
|
+
font-family: monospace;
|
1080
|
+
outline: none;
|
1081
|
+
width: 20em;
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
.CodeMirror-dialog button {
|
1085
|
+
font-size: 70%;
|
1086
|
+
}
|
1087
|
+
.graphiql-container .doc-explorer {
|
1088
|
+
background: white;
|
1089
|
+
}
|
1090
|
+
|
1091
|
+
.graphiql-container .doc-explorer-title-bar,
|
1092
|
+
.graphiql-container .history-title-bar {
|
1093
|
+
cursor: default;
|
1094
|
+
display: -webkit-box;
|
1095
|
+
display: -ms-flexbox;
|
1096
|
+
display: flex;
|
1097
|
+
height: 34px;
|
1098
|
+
line-height: 14px;
|
1099
|
+
padding: 8px 8px 5px;
|
1100
|
+
position: relative;
|
1101
|
+
-webkit-user-select: none;
|
1102
|
+
-moz-user-select: none;
|
1103
|
+
-ms-user-select: none;
|
1104
|
+
user-select: none;
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
.graphiql-container .doc-explorer-title,
|
1108
|
+
.graphiql-container .history-title {
|
1109
|
+
-webkit-box-flex: 1;
|
1110
|
+
-ms-flex: 1;
|
1111
|
+
flex: 1;
|
1112
|
+
font-weight: bold;
|
1113
|
+
overflow-x: hidden;
|
1114
|
+
padding: 10px 0 10px 10px;
|
1115
|
+
text-align: center;
|
1116
|
+
text-overflow: ellipsis;
|
1117
|
+
-webkit-user-select: initial;
|
1118
|
+
-moz-user-select: initial;
|
1119
|
+
-ms-user-select: initial;
|
1120
|
+
user-select: initial;
|
1121
|
+
white-space: nowrap;
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
.graphiql-container .doc-explorer-back {
|
1125
|
+
color: #3B5998;
|
1126
|
+
cursor: pointer;
|
1127
|
+
margin: -7px 0 -6px -8px;
|
1128
|
+
overflow-x: hidden;
|
1129
|
+
padding: 17px 12px 16px 16px;
|
1130
|
+
text-overflow: ellipsis;
|
1131
|
+
white-space: nowrap;
|
1132
|
+
}
|
1133
|
+
|
1134
|
+
.doc-explorer-narrow .doc-explorer-back {
|
1135
|
+
width: 0;
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
.graphiql-container .doc-explorer-back:before {
|
1139
|
+
border-left: 2px solid #3B5998;
|
1140
|
+
border-top: 2px solid #3B5998;
|
1141
|
+
content: '';
|
1142
|
+
display: inline-block;
|
1143
|
+
height: 9px;
|
1144
|
+
margin: 0 3px -1px 0;
|
1145
|
+
position: relative;
|
1146
|
+
-webkit-transform: rotate(-45deg);
|
1147
|
+
transform: rotate(-45deg);
|
1148
|
+
width: 9px;
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
.graphiql-container .doc-explorer-rhs {
|
1152
|
+
position: relative;
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
.graphiql-container .doc-explorer-contents,
|
1156
|
+
.graphiql-container .history-contents {
|
1157
|
+
background-color: #ffffff;
|
1158
|
+
border-top: 1px solid #d6d6d6;
|
1159
|
+
bottom: 0;
|
1160
|
+
left: 0;
|
1161
|
+
overflow-y: auto;
|
1162
|
+
padding: 20px 15px;
|
1163
|
+
position: absolute;
|
1164
|
+
right: 0;
|
1165
|
+
top: 47px;
|
1166
|
+
}
|
1167
|
+
|
1168
|
+
.graphiql-container .doc-explorer-contents {
|
1169
|
+
min-width: 300px;
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
.graphiql-container .doc-type-description p:first-child ,
|
1173
|
+
.graphiql-container .doc-type-description blockquote:first-child {
|
1174
|
+
margin-top: 0;
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
.graphiql-container .doc-explorer-contents a {
|
1178
|
+
cursor: pointer;
|
1179
|
+
text-decoration: none;
|
1180
|
+
}
|
1181
|
+
|
1182
|
+
.graphiql-container .doc-explorer-contents a:hover {
|
1183
|
+
text-decoration: underline;
|
1184
|
+
}
|
1185
|
+
|
1186
|
+
.graphiql-container .doc-value-description > :first-child {
|
1187
|
+
margin-top: 4px;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
.graphiql-container .doc-value-description > :last-child {
|
1191
|
+
margin-bottom: 4px;
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
.graphiql-container .doc-category {
|
1195
|
+
margin: 20px 0;
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
.graphiql-container .doc-category-title {
|
1199
|
+
border-bottom: 1px solid #e0e0e0;
|
1200
|
+
color: #777;
|
1201
|
+
cursor: default;
|
1202
|
+
font-size: 14px;
|
1203
|
+
font-variant: small-caps;
|
1204
|
+
font-weight: bold;
|
1205
|
+
letter-spacing: 1px;
|
1206
|
+
margin: 0 -15px 10px 0;
|
1207
|
+
padding: 10px 0;
|
1208
|
+
-webkit-user-select: none;
|
1209
|
+
-moz-user-select: none;
|
1210
|
+
-ms-user-select: none;
|
1211
|
+
user-select: none;
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
.graphiql-container .doc-category-item {
|
1215
|
+
margin: 12px 0;
|
1216
|
+
color: #555;
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
.graphiql-container .keyword {
|
1220
|
+
color: #B11A04;
|
1221
|
+
}
|
1222
|
+
|
1223
|
+
.graphiql-container .type-name {
|
1224
|
+
color: #CA9800;
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
.graphiql-container .field-name {
|
1228
|
+
color: #1F61A0;
|
1229
|
+
}
|
1230
|
+
|
1231
|
+
.graphiql-container .field-short-description {
|
1232
|
+
color: #999;
|
1233
|
+
margin-left: 5px;
|
1234
|
+
overflow: hidden;
|
1235
|
+
text-overflow: ellipsis;
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
.graphiql-container .enum-value {
|
1239
|
+
color: #0B7FC7;
|
1240
|
+
}
|
1241
|
+
|
1242
|
+
.graphiql-container .arg-name {
|
1243
|
+
color: #8B2BB9;
|
1244
|
+
}
|
1245
|
+
|
1246
|
+
.graphiql-container .arg {
|
1247
|
+
display: block;
|
1248
|
+
margin-left: 1em;
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
.graphiql-container .arg:first-child:last-child,
|
1252
|
+
.graphiql-container .arg:first-child:nth-last-child(2),
|
1253
|
+
.graphiql-container .arg:first-child:nth-last-child(2) ~ .arg {
|
1254
|
+
display: inherit;
|
1255
|
+
margin: inherit;
|
1256
|
+
}
|
1257
|
+
|
1258
|
+
.graphiql-container .arg:first-child:nth-last-child(2):after {
|
1259
|
+
content: ', ';
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
.graphiql-container .arg-default-value {
|
1263
|
+
color: #43A047;
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
.graphiql-container .doc-deprecation {
|
1267
|
+
background: #fffae8;
|
1268
|
+
-webkit-box-shadow: inset 0 0 1px #bfb063;
|
1269
|
+
box-shadow: inset 0 0 1px #bfb063;
|
1270
|
+
color: #867F70;
|
1271
|
+
line-height: 16px;
|
1272
|
+
margin: 8px -8px;
|
1273
|
+
max-height: 80px;
|
1274
|
+
overflow: hidden;
|
1275
|
+
padding: 8px;
|
1276
|
+
border-radius: 3px;
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
.graphiql-container .doc-deprecation:before {
|
1280
|
+
content: 'Deprecated:';
|
1281
|
+
color: #c79b2e;
|
1282
|
+
cursor: default;
|
1283
|
+
display: block;
|
1284
|
+
font-size: 9px;
|
1285
|
+
font-weight: bold;
|
1286
|
+
letter-spacing: 1px;
|
1287
|
+
line-height: 1;
|
1288
|
+
padding-bottom: 5px;
|
1289
|
+
text-transform: uppercase;
|
1290
|
+
-webkit-user-select: none;
|
1291
|
+
-moz-user-select: none;
|
1292
|
+
-ms-user-select: none;
|
1293
|
+
user-select: none;
|
1294
|
+
}
|
1295
|
+
|
1296
|
+
.graphiql-container .doc-deprecation > :first-child {
|
1297
|
+
margin-top: 0;
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
.graphiql-container .doc-deprecation > :last-child {
|
1301
|
+
margin-bottom: 0;
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
.graphiql-container .show-btn {
|
1305
|
+
-webkit-appearance: initial;
|
1306
|
+
display: block;
|
1307
|
+
border-radius: 3px;
|
1308
|
+
border: solid 1px #ccc;
|
1309
|
+
text-align: center;
|
1310
|
+
padding: 8px 12px 10px;
|
1311
|
+
width: 100%;
|
1312
|
+
-webkit-box-sizing: border-box;
|
1313
|
+
box-sizing: border-box;
|
1314
|
+
background: #fbfcfc;
|
1315
|
+
color: #555;
|
1316
|
+
cursor: pointer;
|
1317
|
+
}
|
1318
|
+
|
1319
|
+
.graphiql-container .search-box {
|
1320
|
+
border-bottom: 1px solid #d3d6db;
|
1321
|
+
display: block;
|
1322
|
+
font-size: 14px;
|
1323
|
+
margin: -15px -15px 12px 0;
|
1324
|
+
position: relative;
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
.graphiql-container .search-box:before {
|
1328
|
+
content: '\26b2';
|
1329
|
+
cursor: pointer;
|
1330
|
+
display: block;
|
1331
|
+
font-size: 24px;
|
1332
|
+
position: absolute;
|
1333
|
+
top: -2px;
|
1334
|
+
-webkit-transform: rotate(-45deg);
|
1335
|
+
transform: rotate(-45deg);
|
1336
|
+
-webkit-user-select: none;
|
1337
|
+
-moz-user-select: none;
|
1338
|
+
-ms-user-select: none;
|
1339
|
+
user-select: none;
|
1340
|
+
}
|
1341
|
+
|
1342
|
+
.graphiql-container .search-box .search-box-clear {
|
1343
|
+
background-color: #d0d0d0;
|
1344
|
+
border-radius: 12px;
|
1345
|
+
color: #fff;
|
1346
|
+
cursor: pointer;
|
1347
|
+
font-size: 11px;
|
1348
|
+
padding: 1px 5px 2px;
|
1349
|
+
position: absolute;
|
1350
|
+
right: 3px;
|
1351
|
+
top: 8px;
|
1352
|
+
-webkit-user-select: none;
|
1353
|
+
-moz-user-select: none;
|
1354
|
+
-ms-user-select: none;
|
1355
|
+
user-select: none;
|
1356
|
+
}
|
1357
|
+
|
1358
|
+
.graphiql-container .search-box .search-box-clear:hover {
|
1359
|
+
background-color: #b9b9b9;
|
1360
|
+
}
|
1361
|
+
|
1362
|
+
.graphiql-container .search-box > input {
|
1363
|
+
border: none;
|
1364
|
+
-webkit-box-sizing: border-box;
|
1365
|
+
box-sizing: border-box;
|
1366
|
+
font-size: 14px;
|
1367
|
+
outline: none;
|
1368
|
+
padding: 6px 24px 8px 20px;
|
1369
|
+
width: 100%;
|
1370
|
+
}
|
1371
|
+
|
1372
|
+
.graphiql-container .error-container {
|
1373
|
+
font-weight: bold;
|
1374
|
+
left: 0;
|
1375
|
+
letter-spacing: 1px;
|
1376
|
+
opacity: 0.5;
|
1377
|
+
position: absolute;
|
1378
|
+
right: 0;
|
1379
|
+
text-align: center;
|
1380
|
+
text-transform: uppercase;
|
1381
|
+
top: 50%;
|
1382
|
+
-webkit-transform: translate(0, -50%);
|
1383
|
+
transform: translate(0, -50%);
|
1384
|
+
}
|
1385
|
+
.CodeMirror-foldmarker {
|
1386
|
+
color: blue;
|
1387
|
+
cursor: pointer;
|
1388
|
+
font-family: arial;
|
1389
|
+
line-height: .3;
|
1390
|
+
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
|
1391
|
+
}
|
1392
|
+
.CodeMirror-foldgutter {
|
1393
|
+
width: .7em;
|
1394
|
+
}
|
1395
|
+
.CodeMirror-foldgutter-open,
|
1396
|
+
.CodeMirror-foldgutter-folded {
|
1397
|
+
cursor: pointer;
|
1398
|
+
}
|
1399
|
+
.CodeMirror-foldgutter-open:after {
|
1400
|
+
content: "\25BE";
|
1401
|
+
}
|
1402
|
+
.CodeMirror-foldgutter-folded:after {
|
1403
|
+
content: "\25B8";
|
1404
|
+
}
|
1405
|
+
.graphiql-container .history-contents {
|
1406
|
+
font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;
|
1407
|
+
padding: 0;
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
.graphiql-container .history-contents p {
|
1411
|
+
font-size: 12px;
|
1412
|
+
overflow: hidden;
|
1413
|
+
text-overflow: ellipsis;
|
1414
|
+
white-space: nowrap;
|
1415
|
+
margin: 0;
|
1416
|
+
padding: 8px;
|
1417
|
+
border-bottom: 1px solid #e0e0e0;
|
1418
|
+
}
|
1419
|
+
|
1420
|
+
.graphiql-container .history-contents p:hover {
|
1421
|
+
cursor: pointer;
|
1422
|
+
}
|
1423
|
+
.CodeMirror-info {
|
1424
|
+
background: white;
|
1425
|
+
border-radius: 2px;
|
1426
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
|
1427
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
|
1428
|
+
-webkit-box-sizing: border-box;
|
1429
|
+
box-sizing: border-box;
|
1430
|
+
color: #555;
|
1431
|
+
font-family:
|
1432
|
+
system,
|
1433
|
+
-apple-system,
|
1434
|
+
'San Francisco',
|
1435
|
+
'.SFNSDisplay-Regular',
|
1436
|
+
'Segoe UI',
|
1437
|
+
Segoe,
|
1438
|
+
'Segoe WP',
|
1439
|
+
'Helvetica Neue',
|
1440
|
+
helvetica,
|
1441
|
+
'Lucida Grande',
|
1442
|
+
arial,
|
1443
|
+
sans-serif;
|
1444
|
+
font-size: 13px;
|
1445
|
+
line-height: 16px;
|
1446
|
+
margin: 8px -8px;
|
1447
|
+
max-width: 400px;
|
1448
|
+
opacity: 0;
|
1449
|
+
overflow: hidden;
|
1450
|
+
padding: 8px 8px;
|
1451
|
+
position: fixed;
|
1452
|
+
-webkit-transition: opacity 0.15s;
|
1453
|
+
transition: opacity 0.15s;
|
1454
|
+
z-index: 50;
|
1455
|
+
}
|
1456
|
+
|
1457
|
+
.CodeMirror-info :first-child {
|
1458
|
+
margin-top: 0;
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
.CodeMirror-info :last-child {
|
1462
|
+
margin-bottom: 0;
|
1463
|
+
}
|
1464
|
+
|
1465
|
+
.CodeMirror-info p {
|
1466
|
+
margin: 1em 0;
|
1467
|
+
}
|
1468
|
+
|
1469
|
+
.CodeMirror-info .info-description {
|
1470
|
+
color: #777;
|
1471
|
+
line-height: 16px;
|
1472
|
+
margin-top: 1em;
|
1473
|
+
max-height: 80px;
|
1474
|
+
overflow: hidden;
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
.CodeMirror-info .info-deprecation {
|
1478
|
+
background: #fffae8;
|
1479
|
+
-webkit-box-shadow: inset 0 1px 1px -1px #bfb063;
|
1480
|
+
box-shadow: inset 0 1px 1px -1px #bfb063;
|
1481
|
+
color: #867F70;
|
1482
|
+
line-height: 16px;
|
1483
|
+
margin: -8px;
|
1484
|
+
margin-top: 8px;
|
1485
|
+
max-height: 80px;
|
1486
|
+
overflow: hidden;
|
1487
|
+
padding: 8px;
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
.CodeMirror-info .info-deprecation-label {
|
1491
|
+
color: #c79b2e;
|
1492
|
+
cursor: default;
|
1493
|
+
display: block;
|
1494
|
+
font-size: 9px;
|
1495
|
+
font-weight: bold;
|
1496
|
+
letter-spacing: 1px;
|
1497
|
+
line-height: 1;
|
1498
|
+
padding-bottom: 5px;
|
1499
|
+
text-transform: uppercase;
|
1500
|
+
-webkit-user-select: none;
|
1501
|
+
-moz-user-select: none;
|
1502
|
+
-ms-user-select: none;
|
1503
|
+
user-select: none;
|
1504
|
+
}
|
1505
|
+
|
1506
|
+
.CodeMirror-info .info-deprecation-label + * {
|
1507
|
+
margin-top: 0;
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
.CodeMirror-info a {
|
1511
|
+
text-decoration: none;
|
1512
|
+
}
|
1513
|
+
|
1514
|
+
.CodeMirror-info a:hover {
|
1515
|
+
text-decoration: underline;
|
1516
|
+
}
|
1517
|
+
|
1518
|
+
.CodeMirror-info .type-name {
|
1519
|
+
color: #CA9800;
|
1520
|
+
}
|
1521
|
+
|
1522
|
+
.CodeMirror-info .field-name {
|
1523
|
+
color: #1F61A0;
|
1524
|
+
}
|
1525
|
+
|
1526
|
+
.CodeMirror-info .enum-value {
|
1527
|
+
color: #0B7FC7;
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
.CodeMirror-info .arg-name {
|
1531
|
+
color: #8B2BB9;
|
1532
|
+
}
|
1533
|
+
|
1534
|
+
.CodeMirror-info .directive-name {
|
1535
|
+
color: #B33086;
|
1536
|
+
}
|
1537
|
+
.CodeMirror-jump-token {
|
1538
|
+
text-decoration: underline;
|
1539
|
+
cursor: pointer;
|
1540
|
+
}
|
1541
|
+
/* The lint marker gutter */
|
1542
|
+
.CodeMirror-lint-markers {
|
1543
|
+
width: 16px;
|
1544
|
+
}
|
1545
|
+
|
1546
|
+
.CodeMirror-lint-tooltip {
|
1547
|
+
background-color: infobackground;
|
1548
|
+
border-radius: 4px 4px 4px 4px;
|
1549
|
+
border: 1px solid black;
|
1550
|
+
color: infotext;
|
1551
|
+
font-family: monospace;
|
1552
|
+
font-size: 10pt;
|
1553
|
+
max-width: 600px;
|
1554
|
+
opacity: 0;
|
1555
|
+
overflow: hidden;
|
1556
|
+
padding: 2px 5px;
|
1557
|
+
position: fixed;
|
1558
|
+
-webkit-transition: opacity .4s;
|
1559
|
+
transition: opacity .4s;
|
1560
|
+
white-space: pre-wrap;
|
1561
|
+
z-index: 100;
|
1562
|
+
}
|
1563
|
+
|
1564
|
+
.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
|
1565
|
+
background-position: left bottom;
|
1566
|
+
background-repeat: repeat-x;
|
1567
|
+
}
|
1568
|
+
|
1569
|
+
.CodeMirror-lint-mark-error {
|
1570
|
+
background-image:
|
1571
|
+
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")
|
1572
|
+
;
|
1573
|
+
}
|
1574
|
+
|
1575
|
+
.CodeMirror-lint-mark-warning {
|
1576
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
|
1577
|
+
}
|
1578
|
+
|
1579
|
+
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
|
1580
|
+
background-position: center center;
|
1581
|
+
background-repeat: no-repeat;
|
1582
|
+
cursor: pointer;
|
1583
|
+
display: inline-block;
|
1584
|
+
height: 16px;
|
1585
|
+
position: relative;
|
1586
|
+
vertical-align: middle;
|
1587
|
+
width: 16px;
|
1588
|
+
}
|
1589
|
+
|
1590
|
+
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
|
1591
|
+
background-position: top left;
|
1592
|
+
background-repeat: no-repeat;
|
1593
|
+
padding-left: 18px;
|
1594
|
+
}
|
1595
|
+
|
1596
|
+
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
|
1597
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
|
1598
|
+
}
|
1599
|
+
|
1600
|
+
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
|
1601
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
.CodeMirror-lint-marker-multiple {
|
1605
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
|
1606
|
+
background-position: right bottom;
|
1607
|
+
background-repeat: no-repeat;
|
1608
|
+
width: 100%; height: 100%;
|
1609
|
+
}
|
1610
|
+
.graphiql-container .spinner-container {
|
1611
|
+
height: 36px;
|
1612
|
+
left: 50%;
|
1613
|
+
position: absolute;
|
1614
|
+
top: 50%;
|
1615
|
+
-webkit-transform: translate(-50%, -50%);
|
1616
|
+
transform: translate(-50%, -50%);
|
1617
|
+
width: 36px;
|
1618
|
+
z-index: 10;
|
1619
|
+
}
|
1620
|
+
|
1621
|
+
.graphiql-container .spinner {
|
1622
|
+
-webkit-animation: rotation .6s infinite linear;
|
1623
|
+
animation: rotation .6s infinite linear;
|
1624
|
+
border-bottom: 6px solid rgba(150, 150, 150, .15);
|
1625
|
+
border-left: 6px solid rgba(150, 150, 150, .15);
|
1626
|
+
border-radius: 100%;
|
1627
|
+
border-right: 6px solid rgba(150, 150, 150, .15);
|
1628
|
+
border-top: 6px solid rgba(150, 150, 150, .8);
|
1629
|
+
display: inline-block;
|
1630
|
+
height: 24px;
|
1631
|
+
position: absolute;
|
1632
|
+
vertical-align: middle;
|
1633
|
+
width: 24px;
|
1634
|
+
}
|
1635
|
+
|
1636
|
+
@-webkit-keyframes rotation {
|
1637
|
+
from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
|
1638
|
+
to { -webkit-transform: rotate(359deg); transform: rotate(359deg); }
|
1639
|
+
}
|
1640
|
+
|
1641
|
+
@keyframes rotation {
|
1642
|
+
from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
|
1643
|
+
to { -webkit-transform: rotate(359deg); transform: rotate(359deg); }
|
1644
|
+
}
|
1645
|
+
.CodeMirror-hints {
|
1646
|
+
background: white;
|
1647
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
|
1648
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
|
1649
|
+
font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;
|
1650
|
+
font-size: 13px;
|
1651
|
+
list-style: none;
|
1652
|
+
margin-left: -6px;
|
1653
|
+
margin: 0;
|
1654
|
+
max-height: 14.5em;
|
1655
|
+
overflow-y: auto;
|
1656
|
+
overflow: hidden;
|
1657
|
+
padding: 0;
|
1658
|
+
position: absolute;
|
1659
|
+
z-index: 10;
|
1660
|
+
}
|
1661
|
+
|
1662
|
+
.CodeMirror-hint {
|
1663
|
+
border-top: solid 1px #f7f7f7;
|
1664
|
+
color: #141823;
|
1665
|
+
cursor: pointer;
|
1666
|
+
margin: 0;
|
1667
|
+
max-width: 300px;
|
1668
|
+
overflow: hidden;
|
1669
|
+
padding: 2px 6px;
|
1670
|
+
white-space: pre;
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
li.CodeMirror-hint-active {
|
1674
|
+
background-color: #08f;
|
1675
|
+
border-top-color: white;
|
1676
|
+
color: white;
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
.CodeMirror-hint-information {
|
1680
|
+
border-top: solid 1px #c0c0c0;
|
1681
|
+
max-width: 300px;
|
1682
|
+
padding: 4px 6px;
|
1683
|
+
position: relative;
|
1684
|
+
z-index: 1;
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
.CodeMirror-hint-information:first-child {
|
1688
|
+
border-bottom: solid 1px #c0c0c0;
|
1689
|
+
border-top: none;
|
1690
|
+
margin-bottom: -1px;
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
.CodeMirror-hint-deprecation {
|
1694
|
+
background: #fffae8;
|
1695
|
+
-webkit-box-shadow: inset 0 1px 1px -1px #bfb063;
|
1696
|
+
box-shadow: inset 0 1px 1px -1px #bfb063;
|
1697
|
+
color: #867F70;
|
1698
|
+
font-family:
|
1699
|
+
system,
|
1700
|
+
-apple-system,
|
1701
|
+
'San Francisco',
|
1702
|
+
'.SFNSDisplay-Regular',
|
1703
|
+
'Segoe UI',
|
1704
|
+
Segoe,
|
1705
|
+
'Segoe WP',
|
1706
|
+
'Helvetica Neue',
|
1707
|
+
helvetica,
|
1708
|
+
'Lucida Grande',
|
1709
|
+
arial,
|
1710
|
+
sans-serif;
|
1711
|
+
font-size: 13px;
|
1712
|
+
line-height: 16px;
|
1713
|
+
margin-top: 4px;
|
1714
|
+
max-height: 80px;
|
1715
|
+
overflow: hidden;
|
1716
|
+
padding: 6px;
|
1717
|
+
}
|
1718
|
+
|
1719
|
+
.CodeMirror-hint-deprecation .deprecation-label {
|
1720
|
+
color: #c79b2e;
|
1721
|
+
cursor: default;
|
1722
|
+
display: block;
|
1723
|
+
font-size: 9px;
|
1724
|
+
font-weight: bold;
|
1725
|
+
letter-spacing: 1px;
|
1726
|
+
line-height: 1;
|
1727
|
+
padding-bottom: 5px;
|
1728
|
+
text-transform: uppercase;
|
1729
|
+
-webkit-user-select: none;
|
1730
|
+
-moz-user-select: none;
|
1731
|
+
-ms-user-select: none;
|
1732
|
+
user-select: none;
|
1733
|
+
}
|
1734
|
+
|
1735
|
+
.CodeMirror-hint-deprecation .deprecation-label + * {
|
1736
|
+
margin-top: 0;
|
1737
|
+
}
|
1738
|
+
|
1739
|
+
.CodeMirror-hint-deprecation :last-child {
|
1740
|
+
margin-bottom: 0;
|
1741
|
+
}
|