avo 2.32.5 → 2.32.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/avo.base.css +1 -1
- data/app/components/avo/actions_component.rb +9 -2
- data/app/components/avo/fields/markdown_field/edit_component.html.erb +3 -3
- data/app/components/avo/fields/markdown_field/show_component.html.erb +3 -3
- data/app/components/avo/views/resource_show_component.html.erb +11 -11
- data/app/javascript/js/controllers/fields/{simple_mde_controller.js → easy_mde_controller.js} +3 -3
- data/app/javascript/js/controllers.js +2 -2
- data/lib/avo/base_action.rb +6 -1
- data/lib/avo/concerns/filters_session_handler.rb +0 -1
- data/lib/avo/configuration.rb +10 -2
- data/lib/avo/resources/controls/actions_list.rb +4 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/resource_generator.rb +1 -1
- data/public/avo-assets/avo.base.css +256 -130
- data/public/avo-assets/avo.base.js +291 -264
- data/public/avo-assets/avo.base.js.map +3 -3
- metadata +3 -3
@@ -1,21 +1,24 @@
|
|
1
1
|
@charset "UTF-8";
|
2
2
|
|
3
3
|
/**
|
4
|
-
*
|
5
|
-
* Copyright
|
6
|
-
* @link https://github.com/
|
4
|
+
* easymde v2.18.0
|
5
|
+
* Copyright Jeroen Akkerman
|
6
|
+
* @link https://github.com/ionaru/easy-markdown-editor
|
7
7
|
* @license MIT
|
8
8
|
*/
|
9
9
|
|
10
10
|
.CodeMirror{
|
11
|
-
|
11
|
+
font-family:monospace;
|
12
|
+
height:300px;
|
13
|
+
color:#000;
|
14
|
+
direction:ltr
|
12
15
|
}
|
13
16
|
|
14
17
|
.CodeMirror-lines{
|
15
18
|
padding:4px 0
|
16
19
|
}
|
17
20
|
|
18
|
-
.CodeMirror pre{
|
21
|
+
.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{
|
19
22
|
padding:0 4px
|
20
23
|
}
|
21
24
|
|
@@ -65,11 +68,16 @@
|
|
65
68
|
z-index:1
|
66
69
|
}
|
67
70
|
|
68
|
-
.cm-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
71
|
+
.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{
|
72
|
+
background:0 0
|
73
|
+
}
|
74
|
+
|
75
|
+
.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{
|
76
|
+
background:0 0
|
77
|
+
}
|
78
|
+
|
79
|
+
.cm-fat-cursor{
|
80
|
+
caret-color:transparent
|
73
81
|
}
|
74
82
|
|
75
83
|
@keyframes blink{
|
@@ -83,8 +91,19 @@
|
|
83
91
|
text-decoration:inherit
|
84
92
|
}
|
85
93
|
|
94
|
+
.CodeMirror-rulers{
|
95
|
+
position:absolute;
|
96
|
+
left:0;
|
97
|
+
right:0;
|
98
|
+
top:-50px;
|
99
|
+
bottom:0;
|
100
|
+
overflow:hidden
|
101
|
+
}
|
102
|
+
|
86
103
|
.CodeMirror-ruler{
|
87
104
|
border-left:1px solid #ccc;
|
105
|
+
top:0;
|
106
|
+
bottom:0;
|
88
107
|
position:absolute
|
89
108
|
}
|
90
109
|
|
@@ -140,7 +159,7 @@
|
|
140
159
|
color:#05a
|
141
160
|
}
|
142
161
|
|
143
|
-
.cm-s-default .cm-variable-3{
|
162
|
+
.cm-s-default .cm-type,.cm-s-default .cm-variable-3{
|
144
163
|
color:#085
|
145
164
|
}
|
146
165
|
|
@@ -156,7 +175,11 @@
|
|
156
175
|
color:#f50
|
157
176
|
}
|
158
177
|
|
159
|
-
.cm-s-default .cm-meta
|
178
|
+
.cm-s-default .cm-meta{
|
179
|
+
color:#555
|
180
|
+
}
|
181
|
+
|
182
|
+
.cm-s-default .cm-qualifier{
|
160
183
|
color:#555
|
161
184
|
}
|
162
185
|
|
@@ -184,7 +207,11 @@
|
|
184
207
|
color:#00c
|
185
208
|
}
|
186
209
|
|
187
|
-
.cm-
|
210
|
+
.cm-s-default .cm-error{
|
211
|
+
color:red
|
212
|
+
}
|
213
|
+
|
214
|
+
.cm-invalidchar{
|
188
215
|
color:red
|
189
216
|
}
|
190
217
|
|
@@ -193,11 +220,11 @@
|
|
193
220
|
}
|
194
221
|
|
195
222
|
div.CodeMirror span.CodeMirror-matchingbracket{
|
196
|
-
color:#
|
223
|
+
color:#0b0
|
197
224
|
}
|
198
225
|
|
199
226
|
div.CodeMirror span.CodeMirror-nonmatchingbracket{
|
200
|
-
color:#
|
227
|
+
color:#a22
|
201
228
|
}
|
202
229
|
|
203
230
|
.CodeMirror-matchingtag{
|
@@ -216,23 +243,25 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket{
|
|
216
243
|
|
217
244
|
.CodeMirror-scroll{
|
218
245
|
overflow:scroll!important;
|
219
|
-
margin-bottom:-
|
220
|
-
margin-right:-
|
221
|
-
padding-bottom:
|
246
|
+
margin-bottom:-50px;
|
247
|
+
margin-right:-50px;
|
248
|
+
padding-bottom:50px;
|
222
249
|
height:100%;
|
223
250
|
outline:0;
|
224
|
-
position:relative
|
251
|
+
position:relative;
|
252
|
+
z-index:0
|
225
253
|
}
|
226
254
|
|
227
255
|
.CodeMirror-sizer{
|
228
256
|
position:relative;
|
229
|
-
border-right:
|
257
|
+
border-right:50px solid transparent
|
230
258
|
}
|
231
259
|
|
232
260
|
.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{
|
233
261
|
position:absolute;
|
234
262
|
z-index:6;
|
235
|
-
display:none
|
263
|
+
display:none;
|
264
|
+
outline:0
|
236
265
|
}
|
237
266
|
|
238
267
|
.CodeMirror-vscrollbar{
|
@@ -272,16 +301,14 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket{
|
|
272
301
|
height:100%;
|
273
302
|
display:inline-block;
|
274
303
|
vertical-align:top;
|
275
|
-
margin-bottom:-
|
304
|
+
margin-bottom:-50px
|
276
305
|
}
|
277
306
|
|
278
307
|
.CodeMirror-gutter-wrapper{
|
279
308
|
position:absolute;
|
280
309
|
z-index:4;
|
281
310
|
background:0 0!important;
|
282
|
-
border:none!important
|
283
|
-
-webkit-user-select:none;
|
284
|
-
user-select:none
|
311
|
+
border:none!important
|
285
312
|
}
|
286
313
|
|
287
314
|
.CodeMirror-gutter-background{
|
@@ -297,12 +324,20 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket{
|
|
297
324
|
z-index:4
|
298
325
|
}
|
299
326
|
|
327
|
+
.CodeMirror-gutter-wrapper ::selection{
|
328
|
+
background-color:transparent
|
329
|
+
}
|
330
|
+
|
331
|
+
.CodeMirror-gutter-wrapper ::-moz-selection{
|
332
|
+
background-color:transparent
|
333
|
+
}
|
334
|
+
|
300
335
|
.CodeMirror-lines{
|
301
336
|
cursor:text;
|
302
337
|
min-height:1px
|
303
338
|
}
|
304
339
|
|
305
|
-
.CodeMirror pre{
|
340
|
+
.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{
|
306
341
|
border-radius:0;
|
307
342
|
border-width:0;
|
308
343
|
background:0 0;
|
@@ -317,10 +352,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket{
|
|
317
352
|
position:relative;
|
318
353
|
overflow:visible;
|
319
354
|
-webkit-tap-highlight-color:transparent;
|
320
|
-
font-variant-ligatures:
|
355
|
+
font-variant-ligatures:contextual
|
321
356
|
}
|
322
357
|
|
323
|
-
.CodeMirror-wrap pre{
|
358
|
+
.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{
|
324
359
|
word-wrap:break-word;
|
325
360
|
white-space:pre-wrap;
|
326
361
|
word-break:normal
|
@@ -338,7 +373,11 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket{
|
|
338
373
|
.CodeMirror-linewidget{
|
339
374
|
position:relative;
|
340
375
|
z-index:2;
|
341
|
-
|
376
|
+
padding:.1px
|
377
|
+
}
|
378
|
+
|
379
|
+
.CodeMirror-rtl pre{
|
380
|
+
direction:rtl
|
342
381
|
}
|
343
382
|
|
344
383
|
.CodeMirror-code{
|
@@ -358,7 +397,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket{
|
|
358
397
|
}
|
359
398
|
|
360
399
|
.CodeMirror-cursor{
|
361
|
-
position:absolute
|
400
|
+
position:absolute;
|
401
|
+
pointer-events:none
|
362
402
|
}
|
363
403
|
|
364
404
|
.CodeMirror-measure pre{
|
@@ -371,7 +411,11 @@ div.CodeMirror-cursors{
|
|
371
411
|
z-index:3
|
372
412
|
}
|
373
413
|
|
374
|
-
|
414
|
+
div.CodeMirror-dragcursors{
|
415
|
+
visibility:visible
|
416
|
+
}
|
417
|
+
|
418
|
+
.CodeMirror-focused div.CodeMirror-cursors{
|
375
419
|
visibility:visible
|
376
420
|
}
|
377
421
|
|
@@ -379,7 +423,7 @@ div.CodeMirror-cursors{
|
|
379
423
|
background:#d9d9d9
|
380
424
|
}
|
381
425
|
|
382
|
-
.CodeMirror-focused .CodeMirror-selected
|
426
|
+
.CodeMirror-focused .CodeMirror-selected{
|
383
427
|
background:#d7d4f0
|
384
428
|
}
|
385
429
|
|
@@ -387,13 +431,17 @@ div.CodeMirror-cursors{
|
|
387
431
|
cursor:crosshair
|
388
432
|
}
|
389
433
|
|
434
|
+
.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{
|
435
|
+
background:#d7d4f0
|
436
|
+
}
|
437
|
+
|
390
438
|
.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{
|
391
439
|
background:#d7d4f0
|
392
440
|
}
|
393
441
|
|
394
442
|
.cm-searching{
|
395
|
-
background:#ffa;
|
396
|
-
background:rgba(255,255,0,.4)
|
443
|
+
background-color:#ffa;
|
444
|
+
background-color:rgba(255,255,0,.4)
|
397
445
|
}
|
398
446
|
|
399
447
|
.cm-force-border{
|
@@ -414,22 +462,37 @@ span.CodeMirror-selectedtext{
|
|
414
462
|
background:0 0
|
415
463
|
}
|
416
464
|
|
417
|
-
.
|
465
|
+
.EasyMDEContainer{
|
466
|
+
display:block
|
467
|
+
}
|
468
|
+
|
469
|
+
.CodeMirror-rtl pre{
|
470
|
+
direction:rtl
|
471
|
+
}
|
472
|
+
|
473
|
+
.EasyMDEContainer.sided--no-fullscreen{
|
474
|
+
display:flex;
|
475
|
+
flex-direction:row;
|
476
|
+
flex-wrap:wrap
|
477
|
+
}
|
478
|
+
|
479
|
+
.EasyMDEContainer .CodeMirror{
|
480
|
+
box-sizing:border-box;
|
418
481
|
height:auto;
|
419
|
-
|
420
|
-
border:1px solid #ddd;
|
482
|
+
border:1px solid #ced4da;
|
421
483
|
border-bottom-left-radius:4px;
|
422
484
|
border-bottom-right-radius:4px;
|
423
485
|
padding:10px;
|
424
486
|
font:inherit;
|
425
|
-
z-index:
|
487
|
+
z-index:0;
|
488
|
+
word-wrap:break-word
|
426
489
|
}
|
427
490
|
|
428
|
-
.CodeMirror-scroll{
|
429
|
-
|
491
|
+
.EasyMDEContainer .CodeMirror-scroll{
|
492
|
+
cursor:text
|
430
493
|
}
|
431
494
|
|
432
|
-
.CodeMirror-fullscreen{
|
495
|
+
.EasyMDEContainer .CodeMirror-fullscreen{
|
433
496
|
background:#fff;
|
434
497
|
position:fixed!important;
|
435
498
|
top:50px;
|
@@ -437,51 +500,46 @@ span.CodeMirror-selectedtext{
|
|
437
500
|
right:0;
|
438
501
|
bottom:0;
|
439
502
|
height:auto;
|
440
|
-
z-index:
|
503
|
+
z-index:8;
|
504
|
+
border-right:none!important;
|
505
|
+
border-bottom-right-radius:0!important
|
441
506
|
}
|
442
507
|
|
443
|
-
.CodeMirror-sided{
|
508
|
+
.EasyMDEContainer .CodeMirror-sided{
|
444
509
|
width:50%!important
|
445
510
|
}
|
446
511
|
|
447
|
-
.
|
512
|
+
.EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided{
|
513
|
+
border-right:none!important;
|
514
|
+
border-bottom-right-radius:0;
|
448
515
|
position:relative;
|
449
|
-
|
450
|
-
-webkit-user-select:none;
|
451
|
-
-o-user-select:none;
|
452
|
-
user-select:none;
|
453
|
-
padding:0 10px;
|
454
|
-
border-top:1px solid #bbb;
|
455
|
-
border-left:1px solid #bbb;
|
456
|
-
border-right:1px solid #bbb;
|
457
|
-
border-top-left-radius:4px;
|
458
|
-
border-top-right-radius:4px
|
516
|
+
flex:1 1 auto
|
459
517
|
}
|
460
518
|
|
461
|
-
.
|
462
|
-
|
463
|
-
content:' ';
|
464
|
-
height:1px
|
465
|
-
}
|
466
|
-
|
467
|
-
.editor-toolbar:before{
|
468
|
-
margin-bottom:8px
|
519
|
+
.EasyMDEContainer .CodeMirror-placeholder{
|
520
|
+
opacity:.5
|
469
521
|
}
|
470
522
|
|
471
|
-
.
|
472
|
-
|
523
|
+
.EasyMDEContainer .CodeMirror-focused .CodeMirror-selected{
|
524
|
+
background:#d9d9d9
|
473
525
|
}
|
474
526
|
|
475
|
-
.editor-toolbar
|
476
|
-
|
527
|
+
.editor-toolbar{
|
528
|
+
position:relative;
|
529
|
+
-webkit-user-select:none;
|
530
|
+
-o-user-select:none;
|
531
|
+
user-select:none;
|
532
|
+
padding:9px 10px;
|
533
|
+
border-top:1px solid #ced4da;
|
534
|
+
border-left:1px solid #ced4da;
|
535
|
+
border-right:1px solid #ced4da;
|
536
|
+
border-top-left-radius:4px;
|
537
|
+
border-top-right-radius:4px
|
477
538
|
}
|
478
539
|
|
479
540
|
.editor-toolbar.fullscreen{
|
480
541
|
width:100%;
|
481
542
|
height:50px;
|
482
|
-
overflow-x:auto;
|
483
|
-
overflow-y:hidden;
|
484
|
-
white-space:nowrap;
|
485
543
|
padding-top:10px;
|
486
544
|
padding-bottom:10px;
|
487
545
|
box-sizing:border-box;
|
@@ -497,7 +555,7 @@ span.CodeMirror-selectedtext{
|
|
497
555
|
.editor-toolbar.fullscreen::before{
|
498
556
|
width:20px;
|
499
557
|
height:50px;
|
500
|
-
background:linear-gradient(to right
|
558
|
+
background:linear-gradient(to right,#fff 0,rgba(255,255,255,0) 100%);
|
501
559
|
position:fixed;
|
502
560
|
top:0;
|
503
561
|
left:0;
|
@@ -508,7 +566,7 @@ span.CodeMirror-selectedtext{
|
|
508
566
|
.editor-toolbar.fullscreen::after{
|
509
567
|
width:20px;
|
510
568
|
height:50px;
|
511
|
-
background:linear-gradient(to right,rgba(255,255,255,0) 0
|
569
|
+
background:linear-gradient(to right,rgba(255,255,255,0) 0,#fff 100%);
|
512
570
|
position:fixed;
|
513
571
|
top:0;
|
514
572
|
right:0;
|
@@ -516,26 +574,33 @@ span.CodeMirror-selectedtext{
|
|
516
574
|
padding:0
|
517
575
|
}
|
518
576
|
|
519
|
-
.editor-toolbar
|
577
|
+
.EasyMDEContainer.sided--no-fullscreen .editor-toolbar{
|
578
|
+
width:100%
|
579
|
+
}
|
580
|
+
|
581
|
+
.editor-toolbar .easymde-dropdown,.editor-toolbar button{
|
582
|
+
background:0 0;
|
520
583
|
display:inline-block;
|
521
584
|
text-align:center;
|
522
585
|
text-decoration:none!important;
|
523
|
-
color:#2c3e50!important;
|
524
|
-
width:30px;
|
525
586
|
height:30px;
|
526
587
|
margin:0;
|
588
|
+
padding:0;
|
527
589
|
border:1px solid transparent;
|
528
590
|
border-radius:3px;
|
529
591
|
cursor:pointer
|
530
592
|
}
|
531
593
|
|
532
|
-
.editor-toolbar
|
533
|
-
|
534
|
-
|
594
|
+
.editor-toolbar button{
|
595
|
+
font-weight:700;
|
596
|
+
min-width:30px;
|
597
|
+
padding:0 6px;
|
598
|
+
white-space:nowrap
|
535
599
|
}
|
536
600
|
|
537
|
-
.editor-toolbar
|
538
|
-
|
601
|
+
.editor-toolbar button.active,.editor-toolbar button:hover{
|
602
|
+
background:#fcfcfc;
|
603
|
+
border-color:#95a5a6
|
539
604
|
}
|
540
605
|
|
541
606
|
.editor-toolbar i.separator{
|
@@ -548,7 +613,7 @@ span.CodeMirror-selectedtext{
|
|
548
613
|
margin:0 6px
|
549
614
|
}
|
550
615
|
|
551
|
-
.editor-toolbar
|
616
|
+
.editor-toolbar button:after{
|
552
617
|
font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;
|
553
618
|
font-size:65%;
|
554
619
|
vertical-align:text-bottom;
|
@@ -556,35 +621,33 @@ span.CodeMirror-selectedtext{
|
|
556
621
|
top:2px
|
557
622
|
}
|
558
623
|
|
559
|
-
.editor-toolbar
|
624
|
+
.editor-toolbar button.heading-1:after{
|
560
625
|
content:"1"
|
561
626
|
}
|
562
627
|
|
563
|
-
.editor-toolbar
|
628
|
+
.editor-toolbar button.heading-2:after{
|
564
629
|
content:"2"
|
565
630
|
}
|
566
631
|
|
567
|
-
.editor-toolbar
|
632
|
+
.editor-toolbar button.heading-3:after{
|
568
633
|
content:"3"
|
569
634
|
}
|
570
635
|
|
571
|
-
.editor-toolbar
|
636
|
+
.editor-toolbar button.heading-bigger:after{
|
572
637
|
content:"▲"
|
573
638
|
}
|
574
639
|
|
575
|
-
.editor-toolbar
|
640
|
+
.editor-toolbar button.heading-smaller:after{
|
576
641
|
content:"▼"
|
577
642
|
}
|
578
643
|
|
579
|
-
.editor-toolbar.disabled-for-preview
|
580
|
-
|
581
|
-
|
582
|
-
border-color:transparent;
|
583
|
-
text-shadow:inherit
|
644
|
+
.editor-toolbar.disabled-for-preview button:not(.no-disable){
|
645
|
+
opacity:.6;
|
646
|
+
pointer-events:none
|
584
647
|
}
|
585
648
|
|
586
649
|
@media only screen and (max-width:700px){
|
587
|
-
.editor-toolbar
|
650
|
+
.editor-toolbar i.no-mobile{
|
588
651
|
display:none
|
589
652
|
}
|
590
653
|
}
|
@@ -596,20 +659,16 @@ span.CodeMirror-selectedtext{
|
|
596
659
|
text-align:right
|
597
660
|
}
|
598
661
|
|
662
|
+
.EasyMDEContainer.sided--no-fullscreen .editor-statusbar{
|
663
|
+
width:100%
|
664
|
+
}
|
665
|
+
|
599
666
|
.editor-statusbar span{
|
600
667
|
display:inline-block;
|
601
668
|
min-width:4em;
|
602
669
|
margin-left:1em
|
603
670
|
}
|
604
671
|
|
605
|
-
.editor-preview,.editor-preview-side{
|
606
|
-
padding:10px;
|
607
|
-
background:#fafafa;
|
608
|
-
overflow:auto;
|
609
|
-
display:none;
|
610
|
-
box-sizing:border-box
|
611
|
-
}
|
612
|
-
|
613
672
|
.editor-statusbar .lines:before{
|
614
673
|
content:'lines: '
|
615
674
|
}
|
@@ -622,13 +681,16 @@ span.CodeMirror-selectedtext{
|
|
622
681
|
content:'characters: '
|
623
682
|
}
|
624
683
|
|
625
|
-
.editor-preview{
|
684
|
+
.editor-preview-full{
|
626
685
|
position:absolute;
|
627
686
|
width:100%;
|
628
687
|
height:100%;
|
629
688
|
top:0;
|
630
689
|
left:0;
|
631
|
-
z-index:7
|
690
|
+
z-index:7;
|
691
|
+
overflow:auto;
|
692
|
+
display:none;
|
693
|
+
box-sizing:border-box
|
632
694
|
}
|
633
695
|
|
634
696
|
.editor-preview-side{
|
@@ -638,82 +700,146 @@ span.CodeMirror-selectedtext{
|
|
638
700
|
top:50px;
|
639
701
|
right:0;
|
640
702
|
z-index:9;
|
641
|
-
|
703
|
+
overflow:auto;
|
704
|
+
display:none;
|
705
|
+
box-sizing:border-box;
|
706
|
+
border:1px solid #ddd;
|
707
|
+
word-wrap:break-word
|
642
708
|
}
|
643
709
|
|
644
|
-
.editor-preview-active
|
710
|
+
.editor-preview-active-side{
|
645
711
|
display:block
|
646
712
|
}
|
647
713
|
|
648
|
-
.editor-preview-side
|
714
|
+
.EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side{
|
715
|
+
flex:1 1 auto;
|
716
|
+
height:auto;
|
717
|
+
position:static
|
718
|
+
}
|
719
|
+
|
720
|
+
.editor-preview-active{
|
721
|
+
display:block
|
722
|
+
}
|
723
|
+
|
724
|
+
.editor-preview{
|
725
|
+
padding:10px;
|
726
|
+
background:#fafafa
|
727
|
+
}
|
728
|
+
|
729
|
+
.editor-preview>p{
|
649
730
|
margin-top:0
|
650
731
|
}
|
651
732
|
|
652
|
-
.editor-preview pre
|
733
|
+
.editor-preview pre{
|
653
734
|
background:#eee;
|
654
735
|
margin-bottom:10px
|
655
736
|
}
|
656
737
|
|
657
|
-
.editor-preview table td,.editor-preview table th
|
738
|
+
.editor-preview table td,.editor-preview table th{
|
658
739
|
border:1px solid #ddd;
|
659
740
|
padding:5px
|
660
741
|
}
|
661
742
|
|
662
|
-
.
|
743
|
+
.cm-s-easymde .cm-tag{
|
663
744
|
color:#63a35c
|
664
745
|
}
|
665
746
|
|
666
|
-
.
|
747
|
+
.cm-s-easymde .cm-attribute{
|
667
748
|
color:#795da3
|
668
749
|
}
|
669
750
|
|
670
|
-
.
|
751
|
+
.cm-s-easymde .cm-string{
|
671
752
|
color:#183691
|
672
753
|
}
|
673
754
|
|
674
|
-
.
|
675
|
-
|
755
|
+
.cm-s-easymde .cm-header-1{
|
756
|
+
font-size:calc(1.375rem + 1.5vw)
|
757
|
+
}
|
758
|
+
|
759
|
+
.cm-s-easymde .cm-header-2{
|
760
|
+
font-size:calc(1.325rem + .9vw)
|
761
|
+
}
|
762
|
+
|
763
|
+
.cm-s-easymde .cm-header-3{
|
764
|
+
font-size:calc(1.3rem + .6vw)
|
676
765
|
}
|
677
766
|
|
678
|
-
.
|
679
|
-
font-size:
|
680
|
-
line-height:200%
|
767
|
+
.cm-s-easymde .cm-header-4{
|
768
|
+
font-size:calc(1.275rem + .3vw)
|
681
769
|
}
|
682
770
|
|
683
|
-
.
|
684
|
-
font-size:
|
685
|
-
line-height:160%
|
771
|
+
.cm-s-easymde .cm-header-5{
|
772
|
+
font-size:1.25rem
|
686
773
|
}
|
687
774
|
|
688
|
-
.
|
689
|
-
font-size:
|
690
|
-
line-height:125%
|
775
|
+
.cm-s-easymde .cm-header-6{
|
776
|
+
font-size:1rem
|
691
777
|
}
|
692
778
|
|
693
|
-
.
|
694
|
-
|
695
|
-
line-height:
|
779
|
+
.cm-s-easymde .cm-header-1,.cm-s-easymde .cm-header-2,.cm-s-easymde .cm-header-3,.cm-s-easymde .cm-header-4,.cm-s-easymde .cm-header-5,.cm-s-easymde .cm-header-6{
|
780
|
+
margin-bottom:.5rem;
|
781
|
+
line-height:1.2
|
696
782
|
}
|
697
783
|
|
698
|
-
.
|
784
|
+
.cm-s-easymde .cm-comment{
|
699
785
|
background:rgba(0,0,0,.05);
|
700
786
|
border-radius:2px
|
701
787
|
}
|
702
788
|
|
703
|
-
.
|
789
|
+
.cm-s-easymde .cm-link{
|
704
790
|
color:#7f8c8d
|
705
791
|
}
|
706
792
|
|
707
|
-
.
|
793
|
+
.cm-s-easymde .cm-url{
|
708
794
|
color:#aab2b3
|
709
795
|
}
|
710
796
|
|
711
|
-
.
|
712
|
-
|
797
|
+
.cm-s-easymde .cm-quote{
|
798
|
+
color:#7f8c8d;
|
799
|
+
font-style:italic
|
713
800
|
}
|
714
801
|
|
715
|
-
.
|
716
|
-
|
802
|
+
.editor-toolbar .easymde-dropdown{
|
803
|
+
position:relative;
|
804
|
+
background:linear-gradient(to bottom right,#fff 0,#fff 84%,#333 50%,#333 100%);
|
805
|
+
border-radius:0;
|
806
|
+
border:1px solid #fff
|
807
|
+
}
|
808
|
+
|
809
|
+
.editor-toolbar .easymde-dropdown:hover{
|
810
|
+
background:linear-gradient(to bottom right,#fff 0,#fff 84%,#333 50%,#333 100%)
|
811
|
+
}
|
812
|
+
|
813
|
+
.easymde-dropdown-content{
|
814
|
+
display:block;
|
815
|
+
visibility:hidden;
|
816
|
+
position:absolute;
|
817
|
+
background-color:#f9f9f9;
|
818
|
+
box-shadow:0 8px 16px 0 rgba(0,0,0,.2);
|
819
|
+
padding:8px;
|
820
|
+
z-index:2;
|
821
|
+
top:30px
|
822
|
+
}
|
823
|
+
|
824
|
+
.easymde-dropdown:active .easymde-dropdown-content,.easymde-dropdown:focus .easymde-dropdown-content,.easymde-dropdown:focus-within .easymde-dropdown-content{
|
825
|
+
visibility:visible
|
826
|
+
}
|
827
|
+
|
828
|
+
.easymde-dropdown-content button{
|
829
|
+
display:block
|
830
|
+
}
|
831
|
+
|
832
|
+
span[data-img-src]::after{
|
833
|
+
content:'';
|
834
|
+
background-image:var(--bg-image);
|
835
|
+
display:block;
|
836
|
+
max-height:100%;
|
837
|
+
max-width:100%;
|
838
|
+
background-size:contain;
|
839
|
+
height:0;
|
840
|
+
padding-top:var(--height);
|
841
|
+
width:var(--width);
|
842
|
+
background-repeat:no-repeat
|
717
843
|
}
|
718
844
|
|
719
845
|
.CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word){
|