avo 3.0.0.pre12 → 3.0.0.pre13

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.

Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/app/assets/stylesheets/avo.base.css +1 -1
  4. data/app/components/avo/actions_component.html.erb +1 -1
  5. data/app/components/avo/actions_component.rb +40 -16
  6. data/app/components/avo/alert_component.html.erb +1 -1
  7. data/app/components/avo/field_wrapper_component.html.erb +2 -2
  8. data/app/components/avo/fields/common/heading_component.html.erb +1 -1
  9. data/app/components/avo/fields/markdown_field/edit_component.html.erb +3 -3
  10. data/app/components/avo/fields/markdown_field/show_component.html.erb +3 -3
  11. data/app/components/avo/fields/trix_field/edit_component.html.erb +1 -1
  12. data/app/components/avo/fields/trix_field/show_component.html.erb +1 -1
  13. data/app/components/avo/index/field_wrapper_component.html.erb +1 -1
  14. data/app/components/avo/index/grid_item_component.html.erb +9 -35
  15. data/app/components/avo/index/grid_item_component.rb +36 -10
  16. data/app/components/avo/panel_component.html.erb +1 -1
  17. data/app/components/avo/profile_item_component.html.erb +17 -2
  18. data/app/components/avo/profile_item_component.rb +13 -1
  19. data/app/components/avo/resource_component.rb +1 -0
  20. data/app/components/avo/sidebar_profile_component.html.erb +27 -27
  21. data/app/controllers/avo/actions_controller.rb +11 -1
  22. data/app/controllers/avo/associations_controller.rb +1 -1
  23. data/app/controllers/avo/base_controller.rb +14 -2
  24. data/app/controllers/avo/home_controller.rb +1 -1
  25. data/app/controllers/avo/search_controller.rb +7 -11
  26. data/app/javascript/js/controllers/fields/{simple_mde_controller.js → easy_mde_controller.js} +3 -3
  27. data/app/javascript/js/controllers/search_controller.js +3 -1
  28. data/app/javascript/js/controllers.js +2 -2
  29. data/app/views/avo/actions/show.html.erb +2 -1
  30. data/app/views/avo/partials/_profile_menu_extra.html.erb +2 -0
  31. data/lib/avo/base_action.rb +8 -1
  32. data/lib/avo/base_resource.rb +73 -102
  33. data/lib/avo/concerns/filters_session_handler.rb +0 -1
  34. data/lib/avo/concerns/has_items.rb +8 -8
  35. data/lib/avo/configuration.rb +6 -2
  36. data/lib/avo/engine.rb +5 -0
  37. data/lib/avo/fields/base_field.rb +0 -4
  38. data/lib/avo/fields/belongs_to_field.rb +14 -8
  39. data/lib/avo/fields/has_base_field.rb +1 -1
  40. data/lib/avo/resources/controls/actions_list.rb +2 -1
  41. data/lib/avo/services/debug_service.rb +1 -1
  42. data/lib/avo/version.rb +1 -1
  43. data/lib/generators/avo/eject_generator.rb +1 -0
  44. data/lib/generators/avo/install_generator.rb +0 -1
  45. data/lib/generators/avo/resource_generator.rb +4 -1
  46. data/lib/generators/avo/templates/resource/resource.tt +3 -4
  47. data/lib/tasks/avo_tasks.rake +27 -0
  48. data/public/avo-assets/avo.base.css +273 -138
  49. data/public/avo-assets/avo.base.js +245 -217
  50. data/public/avo-assets/avo.base.js.map +3 -3
  51. metadata +4 -4
  52. data/lib/avo/grid_collector.rb +0 -40
@@ -1,21 +1,24 @@
1
1
  @charset "UTF-8";
2
2
 
3
3
  /**
4
- * simplemde v1.11.2
5
- * Copyright Next Step Webs, Inc.
6
- * @link https://github.com/NextStepWebs/simplemde-markdown-editor
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
- color:#000
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-animate-fat-cursor{
69
- width:auto;
70
- border:0;
71
- animation:blink 1.06s steps(1) infinite;
72
- background-color:#7e7
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,.cm-s-default .cm-qualifier{
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-invalidchar,.cm-s-default .cm-error{
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:#0f0
223
+ color:#0b0
197
224
  }
198
225
 
199
226
  div.CodeMirror span.CodeMirror-nonmatchingbracket{
200
- color:#f22
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:-30px;
220
- margin-right:-30px;
221
- padding-bottom:30px;
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:30px solid transparent
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:-30px
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:none
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
- overflow:auto
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
- .CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{
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,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{
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
- .CodeMirror{
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
- min-height:300px;
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:1
487
+ z-index:0;
488
+ word-wrap:break-word
426
489
  }
427
490
 
428
- .CodeMirror-scroll{
429
- min-height:300px
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:9
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
- .editor-toolbar{
512
+ .EasyMDEContainer.sided--no-fullscreen .CodeMirror-sided{
513
+ border-right:none!important;
514
+ border-bottom-right-radius:0;
448
515
  position:relative;
449
- opacity:.6;
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
459
- }
460
-
461
- .editor-toolbar:after,.editor-toolbar:before{
462
- display:block;
463
- content:' ';
464
- height:1px
516
+ flex:1 1 auto
465
517
  }
466
518
 
467
- .editor-toolbar:before{
468
- margin-bottom:8px
519
+ .EasyMDEContainer .CodeMirror-placeholder{
520
+ opacity:.5
469
521
  }
470
522
 
471
- .editor-toolbar:after{
472
- margin-top:8px
523
+ .EasyMDEContainer .CodeMirror-focused .CodeMirror-selected{
524
+ background:#d9d9d9
473
525
  }
474
526
 
475
- .editor-toolbar:hover,.editor-wrapper input.title:focus,.editor-wrapper input.title:hover{
476
- opacity:.8
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,rgba(255,255,255,1) 0,rgba(255,255,255,0) 100%);
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,rgba(255,255,255,1) 100%);
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 a{
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 a.active,.editor-toolbar a:hover{
533
- background:#fcfcfc;
534
- border-color:#95a5a6
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 a:before{
538
- line-height:30px
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 a.fa-header-x:after{
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 a.fa-header-1:after{
624
+ .editor-toolbar button.heading-1:after{
560
625
  content:"1"
561
626
  }
562
627
 
563
- .editor-toolbar a.fa-header-2:after{
628
+ .editor-toolbar button.heading-2:after{
564
629
  content:"2"
565
630
  }
566
631
 
567
- .editor-toolbar a.fa-header-3:after{
632
+ .editor-toolbar button.heading-3:after{
568
633
  content:"3"
569
634
  }
570
635
 
571
- .editor-toolbar a.fa-header-bigger:after{
636
+ .editor-toolbar button.heading-bigger:after{
572
637
  content:"▲"
573
638
  }
574
639
 
575
- .editor-toolbar a.fa-header-smaller:after{
640
+ .editor-toolbar button.heading-smaller:after{
576
641
  content:"▼"
577
642
  }
578
643
 
579
- .editor-toolbar.disabled-for-preview a:not(.no-disable){
580
- pointer-events:none;
581
- background:#fff;
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 a.no-mobile{
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
- border:1px solid #ddd
703
+ overflow:auto;
704
+ display:none;
705
+ box-sizing:border-box;
706
+ border:1px solid #ddd;
707
+ word-wrap:break-word
708
+ }
709
+
710
+ .editor-preview-active-side{
711
+ display:block
712
+ }
713
+
714
+ .EasyMDEContainer.sided--no-fullscreen .editor-preview-active-side{
715
+ flex:1 1 auto;
716
+ height:auto;
717
+ position:static
642
718
  }
643
719
 
644
- .editor-preview-active,.editor-preview-active-side{
720
+ .editor-preview-active{
645
721
  display:block
646
722
  }
647
723
 
648
- .editor-preview-side>p,.editor-preview>p{
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,.editor-preview-side 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,.editor-preview-side table td,.editor-preview-side 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
- .CodeMirror .CodeMirror-code .cm-tag{
743
+ .cm-s-easymde .cm-tag{
663
744
  color:#63a35c
664
745
  }
665
746
 
666
- .CodeMirror .CodeMirror-code .cm-attribute{
747
+ .cm-s-easymde .cm-attribute{
667
748
  color:#795da3
668
749
  }
669
750
 
670
- .CodeMirror .CodeMirror-code .cm-string{
751
+ .cm-s-easymde .cm-string{
671
752
  color:#183691
672
753
  }
673
754
 
674
- .CodeMirror .CodeMirror-selected{
675
- background:#d9d9d9
755
+ .cm-s-easymde .cm-header-1{
756
+ font-size:calc(1.375rem + 1.5vw)
676
757
  }
677
758
 
678
- .CodeMirror .CodeMirror-code .cm-header-1{
679
- font-size:200%;
680
- line-height:200%
759
+ .cm-s-easymde .cm-header-2{
760
+ font-size:calc(1.325rem + .9vw)
681
761
  }
682
762
 
683
- .CodeMirror .CodeMirror-code .cm-header-2{
684
- font-size:160%;
685
- line-height:160%
763
+ .cm-s-easymde .cm-header-3{
764
+ font-size:calc(1.3rem + .6vw)
686
765
  }
687
766
 
688
- .CodeMirror .CodeMirror-code .cm-header-3{
689
- font-size:125%;
690
- line-height:125%
767
+ .cm-s-easymde .cm-header-4{
768
+ font-size:calc(1.275rem + .3vw)
691
769
  }
692
770
 
693
- .CodeMirror .CodeMirror-code .cm-header-4{
694
- font-size:110%;
695
- line-height:110%
771
+ .cm-s-easymde .cm-header-5{
772
+ font-size:1.25rem
696
773
  }
697
774
 
698
- .CodeMirror .CodeMirror-code .cm-comment{
775
+ .cm-s-easymde .cm-header-6{
776
+ font-size:1rem
777
+ }
778
+
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
782
+ }
783
+
784
+ .cm-s-easymde .cm-comment{
699
785
  background:rgba(0,0,0,.05);
700
786
  border-radius:2px
701
787
  }
702
788
 
703
- .CodeMirror .CodeMirror-code .cm-link{
789
+ .cm-s-easymde .cm-link{
704
790
  color:#7f8c8d
705
791
  }
706
792
 
707
- .CodeMirror .CodeMirror-code .cm-url{
793
+ .cm-s-easymde .cm-url{
708
794
  color:#aab2b3
709
795
  }
710
796
 
711
- .CodeMirror .CodeMirror-code .cm-strikethrough{
712
- text-decoration:line-through
797
+ .cm-s-easymde .cm-quote{
798
+ color:#7f8c8d;
799
+ font-style:italic
713
800
  }
714
801
 
715
- .CodeMirror .CodeMirror-placeholder{
716
- opacity:.5
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){
@@ -6682,6 +6808,10 @@ trix-toolbar .trix-button-group:not(:first-child){
6682
6808
  margin-bottom:1rem
6683
6809
  }
6684
6810
 
6811
+ .me-1{
6812
+ margin-inline-end:0.25rem
6813
+ }
6814
+
6685
6815
  .ml-1{
6686
6816
  margin-left:0.25rem
6687
6817
  }
@@ -7050,10 +7180,6 @@ trix-toolbar .trix-button-group:not(:first-child){
7050
7180
  width:0.5rem
7051
7181
  }
7052
7182
 
7053
- .w-2\/3{
7054
- width:66.666667%
7055
- }
7056
-
7057
7183
  .w-24{
7058
7184
  width:6rem
7059
7185
  }
@@ -7809,6 +7935,11 @@ trix-toolbar .trix-button-group:not(:first-child){
7809
7935
  background-color:rgb(57 158 229 / var(--tw-bg-opacity))
7810
7936
  }
7811
7937
 
7938
+ .bg-blue-50{
7939
+ --tw-bg-opacity:1;
7940
+ background-color:rgb(230 243 252 / var(--tw-bg-opacity))
7941
+ }
7942
+
7812
7943
  .bg-blue-500{
7813
7944
  --tw-bg-opacity:1;
7814
7945
  background-color:rgb(8 134 222 / var(--tw-bg-opacity))
@@ -8200,10 +8331,6 @@ trix-toolbar .trix-button-group:not(:first-child){
8200
8331
  padding-bottom:1.5rem
8201
8332
  }
8202
8333
 
8203
- .pe-48{
8204
- padding-inline-end:12rem
8205
- }
8206
-
8207
8334
  .pl-1{
8208
8335
  padding-left:0.25rem
8209
8336
  }
@@ -8228,6 +8355,10 @@ trix-toolbar .trix-button-group:not(:first-child){
8228
8355
  padding-top:0.125rem
8229
8356
  }
8230
8357
 
8358
+ .pt-1{
8359
+ padding-top:0.25rem
8360
+ }
8361
+
8231
8362
  .pt-16{
8232
8363
  padding-top:4rem
8233
8364
  }
@@ -10151,6 +10282,10 @@ trix-editor {
10151
10282
  width:33.333333%
10152
10283
  }
10153
10284
 
10285
+ .sm\:w-2\/3{
10286
+ width:66.666667%
10287
+ }
10288
+
10154
10289
  .sm\:w-auto{
10155
10290
  width:auto
10156
10291
  }