graphiql-rails 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/graphiql/rails/application.js +1 -1
- data/app/assets/javascripts/graphiql/rails/{graphiql-0.4.5.js → graphiql-0.6.6.js} +19812 -14910
- data/app/assets/stylesheets/graphiql/rails/application.css +8 -1
- data/app/assets/stylesheets/graphiql/rails/{graphiql-0.4.5.css → graphiql-0.6.6.css} +213 -79
- data/app/views/graphiql/rails/editors/show.html.erb +8 -0
- data/lib/graphiql/rails.rb +2 -1
- data/lib/graphiql/rails/version.rb +1 -1
- data/readme.md +1 -0
- metadata +5 -5
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
html, body {
|
|
2
|
-
height: 100%;
|
|
3
|
-
margin: 0;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
1
|
#graphiql-container {
|
|
9
2
|
color: #141823;
|
|
10
|
-
width: 100%;
|
|
11
|
-
display: -webkit-flex;
|
|
12
3
|
display: flex;
|
|
13
|
-
-webkit-flex
|
|
4
|
+
display: -webkit-flex;
|
|
14
5
|
flex-direction: row;
|
|
15
|
-
|
|
16
|
-
font-family:
|
|
6
|
+
-webkit-flex-direction: row;
|
|
7
|
+
font-family:
|
|
8
|
+
system,
|
|
9
|
+
-apple-system,
|
|
10
|
+
'San Francisco',
|
|
11
|
+
'.SFNSDisplay-Regular',
|
|
12
|
+
'Segoe UI',
|
|
13
|
+
Segoe,
|
|
14
|
+
'Segoe WP',
|
|
15
|
+
'Helvetica Neue',
|
|
16
|
+
helvetica,
|
|
17
|
+
'Lucida Grande',
|
|
18
|
+
arial,
|
|
19
|
+
sans-serif;
|
|
17
20
|
font-size: 14px;
|
|
21
|
+
height: 100%;
|
|
22
|
+
margin: 0;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
width: 100%;
|
|
18
25
|
}
|
|
19
26
|
|
|
20
27
|
#graphiql-container .editorWrap {
|
|
@@ -43,34 +50,40 @@ html, body {
|
|
|
43
50
|
}
|
|
44
51
|
|
|
45
52
|
#graphiql-container .topBar {
|
|
53
|
+
-webkit-align-items: center;
|
|
54
|
+
align-items: center;
|
|
46
55
|
background: -webkit-linear-gradient(#f7f7f7, #e2e2e2);
|
|
47
56
|
background: linear-gradient(#f7f7f7, #e2e2e2);
|
|
48
|
-
border-bottom: solid
|
|
57
|
+
border-bottom: 1px solid #d0d0d0;
|
|
49
58
|
cursor: default;
|
|
50
|
-
height: 34px;
|
|
51
|
-
padding: 7px 14px 6px;
|
|
52
|
-
-webkit-user-select: none;
|
|
53
|
-
user-select: none;
|
|
54
59
|
display: -webkit-flex;
|
|
55
60
|
display: flex;
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
height: 34px;
|
|
62
|
+
padding: 7px 14px 6px;
|
|
58
63
|
-webkit-flex: 1;
|
|
59
64
|
flex: 1;
|
|
60
|
-
-webkit-
|
|
61
|
-
|
|
65
|
+
-webkit-flex-direction: row;
|
|
66
|
+
flex-direction: row;
|
|
67
|
+
-webkit-user-select: none;
|
|
68
|
+
user-select: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
#graphiql-container .toolbar {
|
|
72
|
+
overflow-x: auto;
|
|
62
73
|
}
|
|
63
74
|
|
|
64
75
|
#graphiql-container .docExplorerShow {
|
|
65
76
|
background: -webkit-linear-gradient(#f7f7f7, #e2e2e2);
|
|
66
77
|
background: linear-gradient(#f7f7f7, #e2e2e2);
|
|
67
|
-
border:
|
|
68
|
-
border-
|
|
69
|
-
border-
|
|
78
|
+
border-bottom: 1px solid #d0d0d0;
|
|
79
|
+
border-left: 1px solid rgba(0, 0, 0, 0.2);
|
|
80
|
+
border-right: none;
|
|
81
|
+
border-top: none;
|
|
70
82
|
color: #3B5998;
|
|
71
83
|
cursor: pointer;
|
|
72
84
|
font-size: 14px;
|
|
73
85
|
outline: 0;
|
|
86
|
+
margin: 0;
|
|
74
87
|
padding: 2px 20px 0 18px;
|
|
75
88
|
}
|
|
76
89
|
|
|
@@ -82,45 +95,45 @@ html, body {
|
|
|
82
95
|
height: 9px;
|
|
83
96
|
margin: 0 3px -1px 0;
|
|
84
97
|
position: relative;
|
|
85
|
-
width: 9px;
|
|
86
98
|
-webkit-transform: rotate(-45deg);
|
|
87
99
|
transform: rotate(-45deg);
|
|
100
|
+
width: 9px;
|
|
88
101
|
}
|
|
89
102
|
|
|
90
103
|
#graphiql-container .editorBar {
|
|
91
104
|
display: -webkit-flex;
|
|
92
105
|
display: flex;
|
|
93
|
-
-webkit-flex-direction: row;
|
|
94
|
-
flex-direction: row;
|
|
95
106
|
-webkit-flex: 1;
|
|
96
107
|
flex: 1;
|
|
108
|
+
-webkit-flex-direction: row;
|
|
109
|
+
flex-direction: row;
|
|
97
110
|
}
|
|
98
111
|
|
|
99
112
|
#graphiql-container .queryWrap {
|
|
100
113
|
display: -webkit-flex;
|
|
101
114
|
display: flex;
|
|
102
|
-
-webkit-flex-direction: column;
|
|
103
|
-
flex-direction: column;
|
|
104
115
|
-webkit-flex: 1;
|
|
105
116
|
flex: 1;
|
|
117
|
+
-webkit-flex-direction: column;
|
|
118
|
+
flex-direction: column;
|
|
106
119
|
}
|
|
107
120
|
|
|
108
121
|
#graphiql-container .resultWrap {
|
|
109
|
-
|
|
122
|
+
border-left: solid 1px #e0e0e0;
|
|
110
123
|
display: -webkit-flex;
|
|
111
124
|
display: flex;
|
|
112
|
-
|
|
113
|
-
flex-direction: column;
|
|
125
|
+
position: relative;
|
|
114
126
|
-webkit-flex: 1;
|
|
115
127
|
flex: 1;
|
|
116
|
-
|
|
128
|
+
-webkit-flex-direction: column;
|
|
129
|
+
flex-direction: column;
|
|
117
130
|
}
|
|
118
131
|
|
|
119
132
|
#graphiql-container .docExplorerWrap {
|
|
133
|
+
background: white;
|
|
120
134
|
box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
|
121
|
-
z-index: 3;
|
|
122
135
|
position: relative;
|
|
123
|
-
|
|
136
|
+
z-index: 3;
|
|
124
137
|
}
|
|
125
138
|
|
|
126
139
|
#graphiql-container .docExplorerResizer {
|
|
@@ -147,9 +160,9 @@ html, body {
|
|
|
147
160
|
}
|
|
148
161
|
|
|
149
162
|
#graphiql-container .variable-editor {
|
|
150
|
-
height: 30px;
|
|
151
163
|
display: -webkit-flex;
|
|
152
164
|
display: flex;
|
|
165
|
+
height: 29px;
|
|
153
166
|
-webkit-flex-direction: column;
|
|
154
167
|
flex-direction: column;
|
|
155
168
|
position: relative;
|
|
@@ -157,8 +170,8 @@ html, body {
|
|
|
157
170
|
|
|
158
171
|
#graphiql-container .variable-editor-title {
|
|
159
172
|
background: #eeeeee;
|
|
160
|
-
border-bottom: solid
|
|
161
|
-
border-top: solid
|
|
173
|
+
border-bottom: 1px solid #d6d6d6;
|
|
174
|
+
border-top: 1px solid #e0e0e0;
|
|
162
175
|
color: #777;
|
|
163
176
|
font-variant: small-caps;
|
|
164
177
|
font-weight: bold;
|
|
@@ -184,8 +197,8 @@ html, body {
|
|
|
184
197
|
|
|
185
198
|
#graphiql-container .footer {
|
|
186
199
|
background: #f6f7f8;
|
|
187
|
-
border-left: solid
|
|
188
|
-
border-top: solid
|
|
200
|
+
border-left: 1px solid #e0e0e0;
|
|
201
|
+
border-top: 1px solid #e0e0e0;
|
|
189
202
|
margin-left: 12px;
|
|
190
203
|
position: relative;
|
|
191
204
|
}
|
|
@@ -216,20 +229,63 @@ html, body {
|
|
|
216
229
|
padding-left: 3px;
|
|
217
230
|
}
|
|
218
231
|
|
|
232
|
+
#graphiql-container .toolbar-button {
|
|
233
|
+
background: #fdfdfd;
|
|
234
|
+
background: -webkit-linear-gradient(#fbfbfb, #f8f8f8);
|
|
235
|
+
background: linear-gradient(#fbfbfb, #f8f8f8);
|
|
236
|
+
border-width: 0.5px;
|
|
237
|
+
border-style: solid;
|
|
238
|
+
border-color: #d3d3d3 #d0d0d0 #bababa;
|
|
239
|
+
border-radius: 4px;
|
|
240
|
+
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.13), inset 0 1px #fff;
|
|
241
|
+
color: #444;
|
|
242
|
+
cursor: pointer;
|
|
243
|
+
display: inline-block;
|
|
244
|
+
margin: 0 5px 0;
|
|
245
|
+
padding: 2px 8px 4px;
|
|
246
|
+
text-decoration: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
#graphiql-container .toolbar-button:active {
|
|
250
|
+
background: -webkit-linear-gradient(#ececec, #d8d8d8);
|
|
251
|
+
background: linear-gradient(#ececec, #d8d8d8);
|
|
252
|
+
border-color: #cacaca #c9c9c9 #b0b0b0;
|
|
253
|
+
box-shadow:
|
|
254
|
+
0 1px 0 #fff,
|
|
255
|
+
inset 0 1px rgba(255, 255, 255, 0.2),
|
|
256
|
+
inset 0 1px 1px rgba(0, 0, 0, 0.08);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
#graphiql-container .toolbar-button.error {
|
|
260
|
+
background: -webkit-linear-gradient(#fdf3f3, #e6d6d7);
|
|
261
|
+
background: linear-gradient(#fdf3f3, #e6d6d7);
|
|
262
|
+
color: #b00;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
#graphiql-container .execute-button-wrap {
|
|
266
|
+
position: relative;
|
|
267
|
+
margin: 0 14px 0 28px;
|
|
268
|
+
height: 34px;
|
|
269
|
+
}
|
|
270
|
+
|
|
219
271
|
#graphiql-container .execute-button {
|
|
220
272
|
background: -webkit-linear-gradient(#fdfdfd, #d2d3d6);
|
|
221
273
|
background: linear-gradient(#fdfdfd, #d2d3d6);
|
|
222
|
-
border: solid
|
|
274
|
+
border: 1px solid rgba(0,0,0,0.25);
|
|
223
275
|
border-radius: 17px;
|
|
224
276
|
box-shadow: 0 1px 0 #fff;
|
|
225
277
|
cursor: pointer;
|
|
226
278
|
fill: #444;
|
|
227
279
|
height: 34px;
|
|
228
|
-
margin: 0
|
|
280
|
+
margin: 0;
|
|
229
281
|
padding: 0;
|
|
230
282
|
width: 34px;
|
|
231
283
|
}
|
|
232
284
|
|
|
285
|
+
#graphiql-container .execute-button svg {
|
|
286
|
+
pointer-events: none;
|
|
287
|
+
}
|
|
288
|
+
|
|
233
289
|
#graphiql-container .execute-button:active {
|
|
234
290
|
background: -webkit-linear-gradient(#e6e6e6, #c0c0c0);
|
|
235
291
|
background: linear-gradient(#e6e6e6, #c0c0c0);
|
|
@@ -243,19 +299,49 @@ html, body {
|
|
|
243
299
|
outline: 0;
|
|
244
300
|
}
|
|
245
301
|
|
|
302
|
+
#graphiql-container .execute-options {
|
|
303
|
+
background: #fff;
|
|
304
|
+
box-shadow:
|
|
305
|
+
0 0 0 1px rgba(0,0,0,0.1),
|
|
306
|
+
0 2px 4px rgba(0,0,0,0.25);
|
|
307
|
+
left: -1px;
|
|
308
|
+
margin: 0;
|
|
309
|
+
padding: 8px 0;
|
|
310
|
+
position: absolute;
|
|
311
|
+
top: 37px;
|
|
312
|
+
z-index: 100;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
#graphiql-container .execute-options li {
|
|
316
|
+
padding: 2px 30px 4px 10px;
|
|
317
|
+
list-style: none;
|
|
318
|
+
min-width: 100px;
|
|
319
|
+
cursor: pointer;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
#graphiql-container .execute-options li.selected {
|
|
323
|
+
background: #e10098;
|
|
324
|
+
color: white;
|
|
325
|
+
}
|
|
326
|
+
|
|
246
327
|
#graphiql-container .CodeMirror-scroll {
|
|
247
328
|
-webkit-overflow-scrolling: touch;
|
|
248
329
|
}
|
|
249
330
|
|
|
250
331
|
#graphiql-container .CodeMirror {
|
|
332
|
+
color: #141823;
|
|
333
|
+
font-family:
|
|
334
|
+
'Consolas',
|
|
335
|
+
'Inconsolata',
|
|
336
|
+
'Droid Sans Mono',
|
|
337
|
+
'Monaco',
|
|
338
|
+
monospace;
|
|
339
|
+
font-size: 13px;
|
|
340
|
+
height: 100%;
|
|
341
|
+
left: 0;
|
|
251
342
|
position: absolute;
|
|
252
343
|
top: 0;
|
|
253
|
-
left: 0;
|
|
254
|
-
height: 100%;
|
|
255
344
|
width: 100%;
|
|
256
|
-
font-size: 13px;
|
|
257
|
-
font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;
|
|
258
|
-
color: #141823;
|
|
259
345
|
}
|
|
260
346
|
|
|
261
347
|
#graphiql-container .CodeMirror-lines {
|
|
@@ -264,11 +350,13 @@ html, body {
|
|
|
264
350
|
|
|
265
351
|
.CodeMirror-hint-information .content {
|
|
266
352
|
-webkit-box-orient: vertical;
|
|
353
|
+
box-orient: vertical;
|
|
267
354
|
color: #141823;
|
|
268
355
|
display: -webkit-box;
|
|
269
356
|
font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif;
|
|
270
357
|
font-size: 13px;
|
|
271
358
|
-webkit-line-clamp: 3;
|
|
359
|
+
line-clamp: 3;
|
|
272
360
|
line-height: 16px;
|
|
273
361
|
max-height: 48px;
|
|
274
362
|
overflow: hidden;
|
|
@@ -285,22 +373,22 @@ html, body {
|
|
|
285
373
|
|
|
286
374
|
.CodeMirror-hint-information .infoType {
|
|
287
375
|
color: #30a;
|
|
288
|
-
margin-right: 0.5em;
|
|
289
|
-
display: inline;
|
|
290
376
|
cursor: pointer;
|
|
377
|
+
display: inline;
|
|
378
|
+
margin-right: 0.5em;
|
|
291
379
|
}
|
|
292
380
|
|
|
293
381
|
.autoInsertedLeaf.cm-property {
|
|
294
|
-
padding: 2px 4px 1px;
|
|
295
|
-
margin: -2px -4px -1px;
|
|
296
|
-
border-radius: 2px;
|
|
297
|
-
border-bottom: solid 2px rgba(255, 255, 255, 0);
|
|
298
382
|
-webkit-animation-duration: 6s;
|
|
299
383
|
-moz-animation-duration: 6s;
|
|
300
384
|
animation-duration: 6s;
|
|
301
385
|
-webkit-animation-name: insertionFade;
|
|
302
386
|
-moz-animation-name: insertionFade;
|
|
303
387
|
animation-name: insertionFade;
|
|
388
|
+
border-bottom: 2px solid rgba(255, 255, 255, 0);
|
|
389
|
+
border-radius: 2px;
|
|
390
|
+
margin: -2px -4px -1px;
|
|
391
|
+
padding: 2px 4px 1px;
|
|
304
392
|
}
|
|
305
393
|
|
|
306
394
|
@-moz-keyframes insertionFade {
|
|
@@ -341,22 +429,32 @@ html, body {
|
|
|
341
429
|
|
|
342
430
|
div.CodeMirror-lint-tooltip {
|
|
343
431
|
background-color: white;
|
|
344
|
-
color: #141823;
|
|
345
432
|
border: 0;
|
|
346
433
|
border-radius: 2px;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
434
|
+
color: #141823;
|
|
435
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
|
|
436
|
+
font-family:
|
|
437
|
+
system,
|
|
438
|
+
-apple-system,
|
|
439
|
+
'San Francisco',
|
|
440
|
+
'.SFNSDisplay-Regular',
|
|
441
|
+
'Segoe UI',
|
|
442
|
+
Segoe,
|
|
443
|
+
'Segoe WP',
|
|
444
|
+
'Helvetica Neue',
|
|
445
|
+
helvetica,
|
|
446
|
+
'Lucida Grande',
|
|
447
|
+
arial,
|
|
448
|
+
sans-serif;
|
|
351
449
|
font-size: 13px;
|
|
352
450
|
line-height: 16px;
|
|
353
|
-
padding: 6px 10px;
|
|
354
451
|
opacity: 0;
|
|
355
|
-
|
|
356
|
-
-moz-transition: opacity 0.15s;
|
|
452
|
+
padding: 6px 10px;
|
|
357
453
|
-webkit-transition: opacity 0.15s;
|
|
358
|
-
|
|
359
|
-
|
|
454
|
+
-moz-transition: opacity 0.15s;
|
|
455
|
+
-ms-transition: opacity 0.15s;
|
|
456
|
+
-o-transition: opacity 0.15s;
|
|
457
|
+
transition: opacity 0.15s;
|
|
360
458
|
}
|
|
361
459
|
|
|
362
460
|
div.CodeMirror-lint-message-error, div.CodeMirror-lint-message-warning {
|
|
@@ -370,16 +468,15 @@ div.CodeMirror-lint-message-error, div.CodeMirror-lint-message-warning {
|
|
|
370
468
|
background: #08f;
|
|
371
469
|
background: -webkit-linear-gradient(#43A8FF, #0F83E8);
|
|
372
470
|
background: linear-gradient(#43A8FF, #0F83E8);
|
|
373
|
-
|
|
471
|
+
box-shadow:
|
|
472
|
+
0 1px 1px rgba(0, 0, 0, 0.2),
|
|
473
|
+
inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
374
474
|
color: white;
|
|
375
|
-
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
376
|
-
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
377
|
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
378
475
|
font-family: arial;
|
|
379
|
-
line-height: 0;
|
|
380
|
-
padding: 0px 4px 1px;
|
|
381
476
|
font-size: 12px;
|
|
477
|
+
line-height: 0;
|
|
382
478
|
margin: 0 3px;
|
|
479
|
+
padding: 0px 4px 1px;
|
|
383
480
|
text-shadow: 0 -1px rgba(0, 0, 0, 0.1);
|
|
384
481
|
}
|
|
385
482
|
|
|
@@ -625,7 +722,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
|
|
625
722
|
}
|
|
626
723
|
|
|
627
724
|
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
|
628
|
-
before
|
|
725
|
+
before actual scrolling happens, thus preventing shaking and
|
|
629
726
|
flickering artifacts. */
|
|
630
727
|
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
631
728
|
position: absolute;
|
|
@@ -651,12 +748,14 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
|
|
651
748
|
|
|
652
749
|
.CodeMirror-gutters {
|
|
653
750
|
position: absolute; left: 0; top: 0;
|
|
751
|
+
min-height: 100%;
|
|
654
752
|
z-index: 3;
|
|
655
753
|
}
|
|
656
754
|
.CodeMirror-gutter {
|
|
657
755
|
white-space: normal;
|
|
658
756
|
height: 100%;
|
|
659
757
|
display: inline-block;
|
|
758
|
+
vertical-align: top;
|
|
660
759
|
margin-bottom: -30px;
|
|
661
760
|
/* Hack to make IE7 behave */
|
|
662
761
|
*zoom:1;
|
|
@@ -665,7 +764,13 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
|
|
665
764
|
.CodeMirror-gutter-wrapper {
|
|
666
765
|
position: absolute;
|
|
667
766
|
z-index: 4;
|
|
668
|
-
|
|
767
|
+
background: none !important;
|
|
768
|
+
border: none !important;
|
|
769
|
+
}
|
|
770
|
+
.CodeMirror-gutter-background {
|
|
771
|
+
position: absolute;
|
|
772
|
+
top: 0; bottom: 0;
|
|
773
|
+
z-index: 4;
|
|
669
774
|
}
|
|
670
775
|
.CodeMirror-gutter-elt {
|
|
671
776
|
position: absolute;
|
|
@@ -698,6 +803,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
|
|
698
803
|
position: relative;
|
|
699
804
|
overflow: visible;
|
|
700
805
|
-webkit-tap-highlight-color: transparent;
|
|
806
|
+
-webkit-font-variant-ligatures: none;
|
|
807
|
+
font-variant-ligatures: none;
|
|
701
808
|
}
|
|
702
809
|
.CodeMirror-wrap pre {
|
|
703
810
|
word-wrap: break-word;
|
|
@@ -740,19 +847,19 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
|
|
740
847
|
overflow: hidden;
|
|
741
848
|
visibility: hidden;
|
|
742
849
|
}
|
|
743
|
-
.CodeMirror-measure pre { position: static; }
|
|
744
850
|
|
|
745
|
-
.CodeMirror
|
|
746
|
-
|
|
747
|
-
border-right: none;
|
|
748
|
-
width: 0;
|
|
749
|
-
}
|
|
851
|
+
.CodeMirror-cursor { position: absolute; }
|
|
852
|
+
.CodeMirror-measure pre { position: static; }
|
|
750
853
|
|
|
751
854
|
div.CodeMirror-cursors {
|
|
752
855
|
visibility: hidden;
|
|
753
856
|
position: relative;
|
|
754
857
|
z-index: 3;
|
|
755
858
|
}
|
|
859
|
+
div.CodeMirror-dragcursors {
|
|
860
|
+
visibility: visible;
|
|
861
|
+
}
|
|
862
|
+
|
|
756
863
|
.CodeMirror-focused div.CodeMirror-cursors {
|
|
757
864
|
visibility: visible;
|
|
758
865
|
}
|
|
@@ -760,8 +867,8 @@ div.CodeMirror-cursors {
|
|
|
760
867
|
.CodeMirror-selected { background: #d9d9d9; }
|
|
761
868
|
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
|
762
869
|
.CodeMirror-crosshair { cursor: crosshair; }
|
|
763
|
-
.CodeMirror ::selection { background: #d7d4f0; }
|
|
764
|
-
.CodeMirror ::-moz-selection { background: #d7d4f0; }
|
|
870
|
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
|
871
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
|
765
872
|
|
|
766
873
|
.cm-searching {
|
|
767
874
|
background: #ffa;
|
|
@@ -921,6 +1028,33 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
921
1028
|
#graphiql-container .arg:last-child:after {
|
|
922
1029
|
content: '';
|
|
923
1030
|
}
|
|
1031
|
+
|
|
1032
|
+
#graphiql-container .doc-alert-text {
|
|
1033
|
+
color: #F00F00;
|
|
1034
|
+
font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;
|
|
1035
|
+
font-size: 13px;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
#graphiql-container .search-box-outer {
|
|
1039
|
+
border: 1px solid #d3d6db;
|
|
1040
|
+
box-sizing: border-box;
|
|
1041
|
+
display: inline-block;
|
|
1042
|
+
font-size: 12px;
|
|
1043
|
+
height: 24px;
|
|
1044
|
+
margin-bottom: 12px;
|
|
1045
|
+
padding: 3px 8px 5px;
|
|
1046
|
+
vertical-align: middle;
|
|
1047
|
+
width: 100%;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
#graphiql-container .search-box-input {
|
|
1051
|
+
border: 0;
|
|
1052
|
+
font-size: 12px;
|
|
1053
|
+
margin: 0;
|
|
1054
|
+
outline: 0;
|
|
1055
|
+
padding: 0;
|
|
1056
|
+
width: 100%;
|
|
1057
|
+
}
|
|
924
1058
|
.CodeMirror-foldmarker {
|
|
925
1059
|
color: blue;
|
|
926
1060
|
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
|