jekyll-theme-gerbera 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,768 @@
1
+ /* Code Mirror */
2
+
3
+ /* BASICS */
4
+
5
+ .CodeMirror {
6
+ /* Set height, width, borders, and global font properties here */
7
+ height: 300px;
8
+ @include code-font();
9
+ }
10
+
11
+ /* PADDING */
12
+
13
+ .CodeMirror-lines {
14
+ padding: 4px 0; /* Vertical padding around content */
15
+ }
16
+ .CodeMirror pre {
17
+ padding: 0 4px; /* Horizontal padding of content */
18
+ }
19
+
20
+ .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
21
+ background-color: white; /* The little square between H and V scrollbars */
22
+ }
23
+
24
+ /* GUTTER */
25
+
26
+ .CodeMirror-gutters {
27
+ border-right: 1px solid #ddd;
28
+ background-color: #f7f7f7;
29
+ white-space: nowrap;
30
+ }
31
+ .CodeMirror-linenumbers {}
32
+ .CodeMirror-linenumber {
33
+ padding: 0 3px 0 5px;
34
+ min-width: 20px;
35
+ text-align: right;
36
+ color: #999;
37
+ white-space: nowrap;
38
+ }
39
+
40
+ .CodeMirror-guttermarker { color: black; }
41
+ .CodeMirror-guttermarker-subtle { color: #999; }
42
+
43
+ /* CURSOR */
44
+
45
+ .CodeMirror-cursor {
46
+ border-left: 1px solid black;
47
+ border-right: none;
48
+ width: 0;
49
+ }
50
+ /* Shown when moving in bi-directional text */
51
+ .CodeMirror div.CodeMirror-secondarycursor {
52
+ border-left: 1px solid silver;
53
+ }
54
+ .cm-fat-cursor .CodeMirror-cursor {
55
+ width: auto;
56
+ border: 0;
57
+ background: #7e7;
58
+ }
59
+ .cm-fat-cursor div.CodeMirror-cursors {
60
+ z-index: 1;
61
+ }
62
+
63
+ .cm-animate-fat-cursor {
64
+ width: auto;
65
+ border: 0;
66
+ -webkit-animation: blink 1.06s steps(1) infinite;
67
+ -moz-animation: blink 1.06s steps(1) infinite;
68
+ animation: blink 1.06s steps(1) infinite;
69
+ background-color: #7e7;
70
+ }
71
+ @-moz-keyframes blink {
72
+ 0% {}
73
+ 50% { background-color: transparent; }
74
+ 100% {}
75
+ }
76
+ @-webkit-keyframes blink {
77
+ 0% {}
78
+ 50% { background-color: transparent; }
79
+ 100% {}
80
+ }
81
+ @keyframes blink {
82
+ 0% {}
83
+ 50% { background-color: transparent; }
84
+ 100% {}
85
+ }
86
+
87
+ /* Can style cursor different in overwrite (non-insert) mode */
88
+ .CodeMirror-overwrite .CodeMirror-cursor {}
89
+
90
+ .cm-tab { display: inline-block; text-decoration: inherit; }
91
+
92
+ .CodeMirror-ruler {
93
+ border-left: 1px solid #ccc;
94
+ position: absolute;
95
+ }
96
+
97
+ /* DEFAULT THEME */
98
+
99
+ .cm-s-default .cm-header {color: blue;}
100
+ .cm-s-default .cm-quote {color: #090;}
101
+ .cm-negative {color: #d44;}
102
+ .cm-positive {color: #292;}
103
+ .cm-header, .cm-strong {font-weight: bold;}
104
+ .cm-em {font-style: italic;}
105
+ .cm-link {text-decoration: underline;}
106
+ .cm-strikethrough {text-decoration: line-through;}
107
+
108
+ .cm-s-default .cm-keyword {color: #708;}
109
+ .cm-s-default .cm-atom {color: #219;}
110
+ .cm-s-default .cm-number {color: #164;}
111
+ .cm-s-default .cm-def {color: #00f;}
112
+ .cm-s-default .cm-variable,
113
+ .cm-s-default .cm-punctuation,
114
+ .cm-s-default .cm-property,
115
+ .cm-s-default .cm-operator {}
116
+ .cm-s-default .cm-variable-2 {color: #05a;}
117
+ .cm-s-default .cm-variable-3 {color: #085;}
118
+ .cm-s-default .cm-comment {color: #a50;}
119
+ .cm-s-default .cm-string {color: #a11;}
120
+ .cm-s-default .cm-string-2 {color: #f50;}
121
+ .cm-s-default .cm-meta {color: #555;}
122
+ .cm-s-default .cm-qualifier {color: #555;}
123
+ .cm-s-default .cm-builtin {color: #30a;}
124
+ .cm-s-default .cm-bracket {color: #997;}
125
+ .cm-s-default .cm-tag {color: #170;}
126
+ .cm-s-default .cm-attribute {color: #00c;}
127
+ .cm-s-default .cm-hr {color: #999;}
128
+ .cm-s-default .cm-link {color: #00c;}
129
+
130
+ .cm-s-default .cm-error {color: #f00;}
131
+ .cm-invalidchar {color: #f00;}
132
+
133
+ .CodeMirror-composing { border-bottom: 2px solid; }
134
+
135
+ /* Default styles for common addons */
136
+
137
+ div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
138
+ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
139
+ .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
140
+ .CodeMirror-activeline-background {background: #e8f2ff;}
141
+
142
+ /* STOP */
143
+
144
+ /* The rest of this file contains styles related to the mechanics of
145
+ the editor. You probably shouldn't touch them. */
146
+
147
+ .CodeMirror {
148
+ position: relative;
149
+ overflow: hidden;
150
+ background: white;
151
+ }
152
+
153
+ .CodeMirror-scroll {
154
+ overflow: scroll !important; /* Things will break if this is overridden */
155
+ /* 30px is the magic margin used to hide the element's real scrollbars */
156
+ /* See overflow: hidden in .CodeMirror */
157
+ margin-bottom: -30px; margin-right: -30px;
158
+ padding-bottom: 30px;
159
+ height: 100%;
160
+ outline: none; /* Prevent dragging from highlighting the element */
161
+ position: relative;
162
+ }
163
+ .CodeMirror-sizer {
164
+ position: relative;
165
+ border-right: 30px solid transparent;
166
+ }
167
+
168
+ /* The fake, visible scrollbars. Used to force redraw during scrolling
169
+ before actuall scrolling happens, thus preventing shaking and
170
+ flickering artifacts. */
171
+ .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
172
+ position: absolute;
173
+ z-index: 6;
174
+ display: none;
175
+ }
176
+ .CodeMirror-vscrollbar {
177
+ right: 0; top: 0;
178
+ overflow-x: hidden;
179
+ overflow-y: scroll;
180
+ }
181
+ .CodeMirror-hscrollbar {
182
+ bottom: 0; left: 0;
183
+ overflow-y: hidden;
184
+ overflow-x: scroll;
185
+ }
186
+ .CodeMirror-scrollbar-filler {
187
+ right: 0; bottom: 0;
188
+ }
189
+ .CodeMirror-gutter-filler {
190
+ left: 0; bottom: 0;
191
+ }
192
+
193
+ .CodeMirror-gutters {
194
+ position: absolute; left: 0; top: 0;
195
+ z-index: 3;
196
+ }
197
+ .CodeMirror-gutter {
198
+ white-space: normal;
199
+ height: 100%;
200
+ display: inline-block;
201
+ margin-bottom: -30px;
202
+ /* Hack to make IE7 behave */
203
+ *zoom:1;
204
+ *display:inline;
205
+ }
206
+ .CodeMirror-gutter-wrapper {
207
+ position: absolute;
208
+ z-index: 4;
209
+ background: none !important;
210
+ border: none !important;
211
+ }
212
+ .CodeMirror-gutter-background {
213
+ position: absolute;
214
+ top: 0; bottom: 0;
215
+ z-index: 4;
216
+ }
217
+ .CodeMirror-gutter-elt {
218
+ position: absolute;
219
+ cursor: default;
220
+ z-index: 4;
221
+ }
222
+ .CodeMirror-gutter-wrapper {
223
+ -webkit-user-select: none;
224
+ -moz-user-select: none;
225
+ user-select: none;
226
+ }
227
+
228
+ .CodeMirror-lines {
229
+ cursor: text;
230
+ min-height: 1px; /* prevents collapsing before first draw */
231
+ }
232
+ .CodeMirror pre {
233
+ /* Reset some styles that the rest of the page might have set */
234
+ -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
235
+ border-width: 0;
236
+ background: transparent;
237
+ font-family: inherit;
238
+ font-size: inherit;
239
+ margin: 0;
240
+ white-space: pre;
241
+ word-wrap: normal;
242
+ line-height: inherit;
243
+ color: inherit;
244
+ z-index: 2;
245
+ position: relative;
246
+ overflow: visible;
247
+ -webkit-tap-highlight-color: transparent;
248
+ }
249
+ .CodeMirror-wrap pre {
250
+ word-wrap: break-word;
251
+ white-space: pre-wrap;
252
+ word-break: normal;
253
+ }
254
+
255
+ .CodeMirror-linebackground {
256
+ position: absolute;
257
+ left: 0; right: 0; top: 0; bottom: 0;
258
+ z-index: 0;
259
+ }
260
+
261
+ .CodeMirror-linewidget {
262
+ position: relative;
263
+ z-index: 2;
264
+ overflow: auto;
265
+ }
266
+
267
+ .CodeMirror-widget {}
268
+
269
+ .CodeMirror-code {
270
+ outline: none;
271
+ }
272
+
273
+ /* Force content-box sizing for the elements where we expect it */
274
+ .CodeMirror-scroll,
275
+ .CodeMirror-sizer,
276
+ .CodeMirror-gutter,
277
+ .CodeMirror-gutters,
278
+ .CodeMirror-linenumber {
279
+ -moz-box-sizing: content-box;
280
+ box-sizing: content-box;
281
+ }
282
+
283
+ .CodeMirror-measure {
284
+ position: absolute;
285
+ width: 100%;
286
+ height: 0;
287
+ overflow: hidden;
288
+ visibility: hidden;
289
+ }
290
+
291
+ .CodeMirror-cursor { position: absolute; }
292
+ .CodeMirror-measure pre { position: static; }
293
+
294
+ div.CodeMirror-cursors {
295
+ visibility: hidden;
296
+ position: relative;
297
+ z-index: 3;
298
+ }
299
+ div.CodeMirror-dragcursors {
300
+ visibility: visible;
301
+ }
302
+
303
+ .CodeMirror-focused div.CodeMirror-cursors {
304
+ visibility: visible;
305
+ }
306
+
307
+ .CodeMirror-selected { background: #d9d9d9; }
308
+ .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
309
+ .CodeMirror-crosshair { cursor: crosshair; }
310
+ .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
311
+ .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
312
+
313
+ .cm-searching {
314
+ background: #ffa;
315
+ background: rgba(255, 255, 0, .4);
316
+ }
317
+
318
+ /* IE7 hack to prevent it from returning funny offsetTops on the spans */
319
+ .CodeMirror span { *vertical-align: text-bottom; }
320
+
321
+ /* Used to force a border model for a node */
322
+ .cm-force-border { padding-right: .1px; }
323
+
324
+ @media print {
325
+ /* Hide the cursor when printing */
326
+ .CodeMirror div.CodeMirror-cursors {
327
+ visibility: hidden;
328
+ }
329
+ }
330
+
331
+ /* See issue #2901 */
332
+ .cm-tab-wrap-hack:after { content: ''; }
333
+
334
+ /* Help users use markselection to safely style text background */
335
+ span.CodeMirror-selectedtext { background: none; }
336
+
337
+
338
+
339
+
340
+
341
+
342
+ /* Fold */
343
+
344
+ .CodeMirror-foldmarker {
345
+ color: blue;
346
+ text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
347
+ font-family: arial;
348
+ line-height: .3;
349
+ cursor: pointer;
350
+ }
351
+ .CodeMirror-foldgutter {
352
+ width: .7em;
353
+ }
354
+ .CodeMirror-foldgutter-open,
355
+ .CodeMirror-foldgutter-folded {
356
+ cursor: pointer;
357
+ }
358
+ .CodeMirror-foldgutter-open:after {
359
+ content: "\25BE";
360
+ }
361
+ .CodeMirror-foldgutter-folded:after {
362
+ content: "\25B8";
363
+ }
364
+
365
+
366
+ /* Fold override */
367
+
368
+ .CodeMirror-foldmarker {
369
+ border-radius: 4px;
370
+ background: #08f;
371
+ background: -webkit-linear-gradient(#43A8FF, #0F83E8);
372
+ background: linear-gradient(#43A8FF, #0F83E8);
373
+
374
+ 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
+ font-family: arial;
379
+ line-height: 0;
380
+ padding: 0px 4px 1px;
381
+ font-size: 12px;
382
+ margin: 0 3px;
383
+ text-shadow: 0 -1px rgba(0, 0, 0, 0.1);
384
+ }
385
+
386
+
387
+
388
+
389
+ /* Lint */
390
+
391
+ /* The lint marker gutter */
392
+ .CodeMirror-lint-markers {
393
+ width: 16px;
394
+ }
395
+
396
+ .CodeMirror-lint-tooltip {
397
+ background-color: infobackground;
398
+ border: 1px solid black;
399
+ border-radius: 4px 4px 4px 4px;
400
+ @include code-font();
401
+ overflow: hidden;
402
+ padding: 2px 5px;
403
+ position: fixed;
404
+ white-space: pre;
405
+ white-space: pre-wrap;
406
+ z-index: 100;
407
+ max-width: 600px;
408
+ opacity: 0;
409
+ transition: opacity .4s;
410
+ -moz-transition: opacity .4s;
411
+ -webkit-transition: opacity .4s;
412
+ -o-transition: opacity .4s;
413
+ -ms-transition: opacity .4s;
414
+ }
415
+
416
+ .CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
417
+ background-position: left bottom;
418
+ background-repeat: repeat-x;
419
+ }
420
+
421
+ .CodeMirror-lint-mark-error {
422
+ background-image:
423
+ url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")
424
+ ;
425
+ }
426
+
427
+ .CodeMirror-lint-mark-warning {
428
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
429
+ }
430
+
431
+ .CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
432
+ background-position: center center;
433
+ background-repeat: no-repeat;
434
+ cursor: pointer;
435
+ display: inline-block;
436
+ height: 16px;
437
+ width: 16px;
438
+ vertical-align: middle;
439
+ position: relative;
440
+ }
441
+
442
+ .CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
443
+ padding-left: 18px;
444
+ background-position: top left;
445
+ background-repeat: no-repeat;
446
+ }
447
+
448
+ .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
449
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
450
+ }
451
+
452
+ .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
453
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
454
+ }
455
+
456
+ .CodeMirror-lint-marker-multiple {
457
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
458
+ background-repeat: no-repeat;
459
+ background-position: right bottom;
460
+ width: 100%; height: 100%;
461
+ }
462
+
463
+
464
+
465
+
466
+ /* Hint */
467
+
468
+ .CodeMirror-hints {
469
+ background: white;
470
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
471
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
472
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
473
+ @include code-font();
474
+ list-style: none;
475
+ margin: 0;
476
+ margin-left: -6px;
477
+ max-height: 14.5em;
478
+ overflow-y: auto;
479
+ overflow: hidden;
480
+ padding: 0;
481
+ position: absolute;
482
+ z-index: 10;
483
+ }
484
+
485
+ .CodeMirror-hints-wrapper {
486
+ background: white;
487
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
488
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
489
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
490
+ margin-left: -6px;
491
+ position: absolute;
492
+ z-index: 10;
493
+ }
494
+
495
+ .CodeMirror-hints-wrapper .CodeMirror-hints {
496
+ -webkit-box-shadow: none;
497
+ -moz-box-shadow: none;
498
+ box-shadow: none;
499
+ position: relative;
500
+ margin-left: 0;
501
+ z-index: 0;
502
+ }
503
+
504
+ .CodeMirror-hint {
505
+ border-top: solid 1px #f7f7f7;
506
+ color: #333;
507
+ cursor: pointer;
508
+ margin: 0;
509
+ max-width: 300px;
510
+ overflow: hidden;
511
+ padding: 2px 6px;
512
+ white-space: pre;
513
+ }
514
+
515
+ li.CodeMirror-hint-active {
516
+ background-color: #08f;
517
+ border-top-color: white;
518
+ color: white;
519
+ }
520
+
521
+ .CodeMirror-hint-information {
522
+ border-top: solid 1px #c0c0c0;
523
+ max-width: 300px;
524
+ padding: 4px 6px;
525
+ position: relative;
526
+ z-index: 1;
527
+ }
528
+
529
+ .CodeMirror-hint-information:first-child {
530
+ border-bottom: solid 1px #c0c0c0;
531
+ border-top: none;
532
+ margin-bottom: -1px;
533
+ }
534
+
535
+
536
+ /* Custom typeahead */
537
+
538
+ .CodeMirror-hint-information .content {
539
+ -webkit-box-orient: vertical;
540
+ display: -webkit-box;
541
+ @include body-font($size: 15px);
542
+ -webkit-line-clamp: 3;
543
+ max-height: 48px;
544
+ overflow: hidden;
545
+ text-overflow: -o-ellipsis-lastline;
546
+ }
547
+
548
+ .CodeMirror-hint-information .content p:first-child {
549
+ margin-top: 0;
550
+ }
551
+
552
+ .CodeMirror-hint-information .content p:last-child {
553
+ margin-bottom: 0;
554
+ }
555
+
556
+ .CodeMirror-hint-information .infoType {
557
+ color: #30a;
558
+ margin-right: 0.5em;
559
+ display: inline;
560
+ }
561
+
562
+
563
+
564
+ /* Lint override */
565
+
566
+ div.CodeMirror-lint-tooltip {
567
+ background-color: white;
568
+ color: #333;
569
+ border: 0;
570
+ border-radius: 2px;
571
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
572
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
573
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
574
+ @include body-font($size: 15px);
575
+ padding: 6px 10px;
576
+ opacity: 0;
577
+ transition: opacity 0.15s;
578
+ -moz-transition: opacity 0.15s;
579
+ -webkit-transition: opacity 0.15s;
580
+ -o-transition: opacity 0.15s;
581
+ -ms-transition: opacity 0.15s;
582
+ }
583
+
584
+ div.CodeMirror-lint-message-error, div.CodeMirror-lint-message-warning {
585
+ padding-left: 23px;
586
+ }
587
+
588
+
589
+
590
+
591
+
592
+ /* Brackets override */
593
+
594
+ div.CodeMirror span.CodeMirror-matchingbracket {
595
+ color: #555;
596
+ text-decoration: underline;
597
+ }
598
+
599
+ div.CodeMirror span.CodeMirror-nonmatchingbracket {
600
+ color: #f00;
601
+ }
602
+
603
+
604
+
605
+
606
+ /* Theme */
607
+
608
+ /* COLORS */
609
+
610
+
611
+ /* Comment */
612
+ .cm-comment {
613
+ color: #999;
614
+ }
615
+
616
+ /* Punctuation */
617
+ .cm-punctuation {
618
+ color: #555;
619
+ }
620
+
621
+ /* Keyword */
622
+ .cm-keyword {
623
+ color: #B11A04;
624
+ }
625
+
626
+ /* OperationName, FragmentName */
627
+ .cm-def {
628
+ color: #D2054E;
629
+ }
630
+
631
+ /* FieldName */
632
+ .cm-property {
633
+ color: #1F61A0;
634
+ }
635
+
636
+ /* FieldAlias */
637
+ .cm-qualifier {
638
+ color: #1C92A9;
639
+ }
640
+
641
+ /* ArgumentName and ObjectFieldName */
642
+ .cm-attribute {
643
+ color: #8B2BB9;
644
+ }
645
+
646
+ /* Number */
647
+ .cm-number {
648
+ color: #2882F9;
649
+ }
650
+
651
+ /* String */
652
+ .cm-string {
653
+ color: #D64292;
654
+ }
655
+
656
+ /* Boolean */
657
+ .cm-builtin {
658
+ color: #D47509;
659
+ }
660
+
661
+ /* EnumValue */
662
+ .cm-string-2 {
663
+ color: #0B7FC7;
664
+ }
665
+
666
+ /* Variable */
667
+ .cm-variable {
668
+ color: #397D13;
669
+ }
670
+
671
+ /* Directive */
672
+ .cm-meta {
673
+ color: #B33086;
674
+ }
675
+
676
+ /* Type */
677
+ .cm-atom {
678
+ color: #CA9800;
679
+ }
680
+
681
+
682
+
683
+ /* CM override */
684
+
685
+ .CodeMirror {
686
+ @include code-font();
687
+ }
688
+
689
+ .miniGraphiQL {
690
+ margin: 28px 0;
691
+ color: #333;
692
+ width: 100%;
693
+ display: -webkit-flex;
694
+ display: flex;
695
+ -webkit-flex-direction: row;
696
+ flex-direction: row;
697
+ position: relative;
698
+
699
+ background: white;
700
+ box-shadow: inset 0 0 0 1px #EEE, inset 4px 0 0 #EEE;
701
+ border-radius: 3px;
702
+ margin-left: -4px;
703
+ }
704
+
705
+ .query-editor .CodeMirror {
706
+ height: auto;
707
+ min-height: 100px;
708
+ margin: 0px 7px 35px;
709
+ background: none;
710
+ }
711
+
712
+ .query-editor {
713
+ width: 50%;
714
+ }
715
+
716
+ .hasVariables {
717
+ width: 50%;
718
+
719
+ .query-editor {
720
+ width: auto;
721
+ }
722
+
723
+ .query-editor .CodeMirror {
724
+ margin-bottom: 21px;
725
+ }
726
+
727
+ .variable-editor .CodeMirror {
728
+ height: auto;
729
+ min-height: 30px;
730
+ margin: 0 7px;
731
+ background: none;
732
+ }
733
+
734
+ .variable-editor::before {
735
+ background: #eee;
736
+ color: white;
737
+ content: 'VARIABLES';
738
+ display: block;
739
+ font-size: 10px;
740
+ font-weight: bold;
741
+ letter-spacing: 1px;
742
+ line-height: 1;
743
+ padding: 3px 12px 2px;
744
+ text-shadow: 0 -1px #ddd;
745
+ }
746
+ }
747
+
748
+ .result-window {
749
+ /*background: #fbfafa;*/
750
+ box-shadow: inset 5px 0px 4px -3px rgba(0,0,0,0.2);
751
+
752
+ position: absolute;
753
+ left: 50%;
754
+ top: 0;
755
+ bottom: 0;
756
+ height: 100%;
757
+ right: 0;
758
+
759
+ box-shadow: inset 0 0 0 1px #EEE;
760
+ border-radius: 3px;
761
+ }
762
+
763
+ .result-window .CodeMirror {
764
+ background: none;
765
+ height: 100%;
766
+ margin: 0 7px;
767
+ box-sizing: border-box;
768
+ }