@churchapps/apphelper 1.7.1 → 1.7.3

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.
Files changed (112) hide show
  1. package/dist/components/notes/Notes.js +27 -27
  2. package/dist/components/wrapper/AppList.js +1 -1
  3. package/dist/components/wrapper/AppList.js.map +1 -1
  4. package/dist/components/wrapper/Notifications.d.ts.map +1 -1
  5. package/dist/components/wrapper/Notifications.js +2 -1
  6. package/dist/components/wrapper/Notifications.js.map +1 -1
  7. package/dist/components/wrapper/UserMenu.js +1 -1
  8. package/dist/components/wrapper/UserMenu.js.map +1 -1
  9. package/dist/login/LoginPage.d.ts.map +1 -1
  10. package/dist/login/LoginPage.js +3 -2
  11. package/dist/login/LoginPage.js.map +1 -1
  12. package/dist/markdown/components/htmlEditor/editor.css +879 -879
  13. package/dist/markdown/components/htmlEditor/images/icons/arrow-clockwise.svg +3 -3
  14. package/dist/markdown/components/htmlEditor/images/icons/arrow-counterclockwise.svg +3 -3
  15. package/dist/markdown/components/htmlEditor/images/icons/chat-square-quote.svg +3 -3
  16. package/dist/markdown/components/htmlEditor/images/icons/chevron-down.svg +2 -2
  17. package/dist/markdown/components/htmlEditor/images/icons/code.svg +2 -2
  18. package/dist/markdown/components/htmlEditor/images/icons/journal-code.svg +4 -4
  19. package/dist/markdown/components/htmlEditor/images/icons/journal-text.svg +4 -4
  20. package/dist/markdown/components/htmlEditor/images/icons/justify.svg +2 -2
  21. package/dist/markdown/components/htmlEditor/images/icons/link.svg +3 -3
  22. package/dist/markdown/components/htmlEditor/images/icons/list-ol.svg +3 -3
  23. package/dist/markdown/components/htmlEditor/images/icons/list-ul.svg +2 -2
  24. package/dist/markdown/components/htmlEditor/images/icons/pencil-fill.svg +2 -2
  25. package/dist/markdown/components/htmlEditor/images/icons/text-center.svg +2 -2
  26. package/dist/markdown/components/htmlEditor/images/icons/text-left.svg +2 -2
  27. package/dist/markdown/components/htmlEditor/images/icons/text-paragraph.svg +2 -2
  28. package/dist/markdown/components/htmlEditor/images/icons/text-right.svg +2 -2
  29. package/dist/markdown/components/htmlEditor/images/icons/type-bold.svg +2 -2
  30. package/dist/markdown/components/htmlEditor/images/icons/type-h1.svg +2 -2
  31. package/dist/markdown/components/htmlEditor/images/icons/type-h2.svg +2 -2
  32. package/dist/markdown/components/htmlEditor/images/icons/type-h3.svg +2 -2
  33. package/dist/markdown/components/htmlEditor/images/icons/type-h4.svg +12 -12
  34. package/dist/markdown/components/htmlEditor/images/icons/type-italic.svg +2 -2
  35. package/dist/markdown/components/htmlEditor/images/icons/type-strikethrough.svg +2 -2
  36. package/dist/markdown/components/htmlEditor/images/icons/type-underline.svg +2 -2
  37. package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNode.d.ts.map +1 -1
  38. package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNode.js +7 -2
  39. package/dist/markdown/components/htmlEditor/plugins/customLink/CustomLinkNode.js.map +1 -1
  40. package/dist/markdown/components/markdownEditor/editor.css +787 -787
  41. package/dist/markdown/components/markdownEditor/images/icons/arrow-clockwise.svg +3 -3
  42. package/dist/markdown/components/markdownEditor/images/icons/arrow-counterclockwise.svg +3 -3
  43. package/dist/markdown/components/markdownEditor/images/icons/chat-square-quote.svg +3 -3
  44. package/dist/markdown/components/markdownEditor/images/icons/chevron-down.svg +2 -2
  45. package/dist/markdown/components/markdownEditor/images/icons/code.svg +2 -2
  46. package/dist/markdown/components/markdownEditor/images/icons/journal-code.svg +4 -4
  47. package/dist/markdown/components/markdownEditor/images/icons/journal-text.svg +4 -4
  48. package/dist/markdown/components/markdownEditor/images/icons/justify.svg +2 -2
  49. package/dist/markdown/components/markdownEditor/images/icons/link.svg +3 -3
  50. package/dist/markdown/components/markdownEditor/images/icons/list-ol.svg +3 -3
  51. package/dist/markdown/components/markdownEditor/images/icons/list-ul.svg +2 -2
  52. package/dist/markdown/components/markdownEditor/images/icons/pencil-fill.svg +2 -2
  53. package/dist/markdown/components/markdownEditor/images/icons/text-center.svg +2 -2
  54. package/dist/markdown/components/markdownEditor/images/icons/text-left.svg +2 -2
  55. package/dist/markdown/components/markdownEditor/images/icons/text-paragraph.svg +2 -2
  56. package/dist/markdown/components/markdownEditor/images/icons/text-right.svg +2 -2
  57. package/dist/markdown/components/markdownEditor/images/icons/type-bold.svg +2 -2
  58. package/dist/markdown/components/markdownEditor/images/icons/type-h1.svg +2 -2
  59. package/dist/markdown/components/markdownEditor/images/icons/type-h2.svg +2 -2
  60. package/dist/markdown/components/markdownEditor/images/icons/type-h3.svg +2 -2
  61. package/dist/markdown/components/markdownEditor/images/icons/type-h4.svg +12 -12
  62. package/dist/markdown/components/markdownEditor/images/icons/type-italic.svg +2 -2
  63. package/dist/markdown/components/markdownEditor/images/icons/type-strikethrough.svg +2 -2
  64. package/dist/markdown/components/markdownEditor/images/icons/type-underline.svg +2 -2
  65. package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNode.d.ts.map +1 -1
  66. package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNode.js +7 -2
  67. package/dist/markdown/components/markdownEditor/plugins/customLink/CustomLinkNode.js.map +1 -1
  68. package/dist/public/css/cropper.css +309 -309
  69. package/dist/public/css/styles.css +111 -111
  70. package/dist/public/locales/ar.json +420 -389
  71. package/dist/public/locales/cs.json +420 -389
  72. package/dist/public/locales/da.json +420 -389
  73. package/dist/public/locales/de.json +420 -389
  74. package/dist/public/locales/en.json +420 -389
  75. package/dist/public/locales/es.json +420 -389
  76. package/dist/public/locales/fi.json +420 -389
  77. package/dist/public/locales/fr.json +420 -389
  78. package/dist/public/locales/hi.json +420 -389
  79. package/dist/public/locales/hu.json +420 -389
  80. package/dist/public/locales/id.json +420 -389
  81. package/dist/public/locales/it.json +420 -389
  82. package/dist/public/locales/ja.json +420 -389
  83. package/dist/public/locales/ko.json +420 -389
  84. package/dist/public/locales/lt.json +420 -389
  85. package/dist/public/locales/nl.json +420 -389
  86. package/dist/public/locales/no.json +420 -389
  87. package/dist/public/locales/pl.json +420 -389
  88. package/dist/public/locales/pt.json +420 -389
  89. package/dist/public/locales/ro.json +420 -389
  90. package/dist/public/locales/ru.json +420 -389
  91. package/dist/public/locales/sk.json +420 -389
  92. package/dist/public/locales/sl.json +420 -389
  93. package/dist/public/locales/sr.json +420 -389
  94. package/dist/public/locales/sv.json +420 -389
  95. package/dist/public/locales/tl.json +420 -389
  96. package/dist/public/locales/tr.json +420 -389
  97. package/dist/public/locales/uk.json +420 -389
  98. package/dist/public/locales/vi.json +420 -389
  99. package/dist/public/locales/zh.json +420 -389
  100. package/dist/website/components/elementTypes/MapElement.js +1 -1
  101. package/dist/website/components/elementTypes/MapElement.js.map +1 -1
  102. package/dist/website/components/elementTypes/PodcastElement.js +2 -2
  103. package/dist/website/components/elementTypes/PodcastElement.js.map +1 -1
  104. package/dist/website/components/elementTypes/SermonElement.js +2 -2
  105. package/dist/website/components/elementTypes/SermonElement.js.map +1 -1
  106. package/dist/website/components/video/VideoContainer.d.ts.map +1 -1
  107. package/dist/website/components/video/VideoContainer.js +2 -1
  108. package/dist/website/components/video/VideoContainer.js.map +1 -1
  109. package/dist/website/helpers/StyleHelper.js +9 -9
  110. package/dist/website/styles/animations.css +76 -76
  111. package/dist/website/styles/pages.css +963 -963
  112. package/package.json +2 -2
@@ -1,879 +1,879 @@
1
- .other h2 {
2
- font-size: 18px;
3
- color: #444;
4
- margin-bottom: 7px;
5
- }
6
-
7
- .other a {
8
- color: #777;
9
- text-decoration: underline;
10
- font-size: 14px;
11
- }
12
-
13
- .other ul {
14
- padding: 0;
15
- margin: 0;
16
- list-style-type: none;
17
- }
18
-
19
- /*
20
- .editor-list-ol li {
21
- list-style-type: decimal !important;
22
- }
23
-
24
- .editor-list-ul li {
25
- list-style-type: disc !important;
26
- }
27
- */
28
-
29
- .text-left {
30
- text-align: left;
31
- }
32
-
33
- .text-right {
34
- text-align: right;
35
- }
36
-
37
- .text-center {
38
- text-align: center;
39
- }
40
-
41
- .editor-container {
42
- /*margin: 20px auto 20px auto;*/
43
- border-radius: 2px;
44
- /*color: #000;*/
45
- position: relative;
46
- /*line-height: 20px;*/
47
- /*font-weight: 400;*/
48
- border-radius: 5px;
49
- }
50
-
51
- .editor-inner {
52
- position: relative;
53
- }
54
-
55
- .editor-input {
56
- min-height: 150px;
57
- resize: none;
58
- font-size: 15px;
59
- position: relative;
60
- tab-size: 1;
61
- outline: 0;
62
- padding: 15px 10px;
63
- }
64
-
65
- .editor-container.preview .editor-input {
66
- padding: 0px 0px;
67
- }
68
-
69
- .editor-placeholder {
70
- color: #999;
71
- overflow: hidden;
72
- position: absolute;
73
- text-overflow: ellipsis;
74
- top: 15px;
75
- left: 10px;
76
- font-size: 15px;
77
- user-select: none;
78
- display: inline-block;
79
- pointer-events: none;
80
- }
81
-
82
- .editor-text-bold {
83
- font-weight: bold;
84
- }
85
-
86
- .editor-text-italic {
87
- font-style: italic;
88
- }
89
-
90
- .editor-text-underline {
91
- text-decoration: underline;
92
- }
93
-
94
- .editor-text-strikethrough {
95
- text-decoration: line-through;
96
- }
97
-
98
- .editor-text-underlineStrikethrough {
99
- text-decoration: underline line-through;
100
- }
101
-
102
- .editor-text-code {
103
- background-color: rgb(240, 242, 245);
104
- padding: 1px 0.25rem;
105
- font-family: Menlo, Consolas, Monaco, monospace;
106
- font-size: 94%;
107
- }
108
-
109
- .editor-link {
110
- color: rgb(33, 111, 219);
111
- text-decoration: none;
112
- }
113
-
114
- /* Ensure button-styled links reflect app button styles inside the editor */
115
- .editor-inner a.btn {
116
- text-decoration: none !important;
117
- }
118
- /* If theme adds editor-link class, don't override button text color */
119
- .editor-inner a.btn.editor-link,
120
- .editor-inner a.editor-link.btn {
121
- color: inherit !important;
122
- }
123
-
124
- /* Minimal in-editor button look (for previewing only) */
125
- .editor-inner a.btn {
126
- display: inline-block;
127
- padding: 8px 14px;
128
- border-radius: 4px;
129
- border: 1px solid transparent;
130
- font-weight: 500;
131
- }
132
- .editor-inner a.btn-block { display: block; width: 100%; text-align: center; }
133
- .editor-inner a.btn-small { font-size: 12px; padding: 6px 12px; }
134
- .editor-inner a.btn-medium { font-size: 14px; padding: 8px 14px; }
135
- .editor-inner a.btn-large { font-size: 16px; padding: 10px 16px; }
136
- .editor-inner a.btn-xl { font-size: 18px; padding: 12px 20px; }
137
- .editor-inner a.btn-2x { font-size: 20px; padding: 12px 22px; }
138
- .editor-inner a.btn-3x { font-size: 22px; padding: 14px 24px; }
139
- .editor-inner a.btn-4x { font-size: 24px; padding: 16px 26px; }
140
-
141
- /* Provide a basic primary style so buttons read as buttons in-editor */
142
- .editor-inner a.btn-primary {
143
- background-color: #1976d2;
144
- color: #fff !important;
145
- }
146
- .editor-inner a.btn-primary { /* allow external CSS to set actual colors; avoid forcing defaults */ }
147
- .editor-inner a.btn-secondary { }
148
- .editor-inner a.btn-success { }
149
- .editor-inner a.btn-danger { }
150
- .editor-inner a.btn-warning { }
151
- .editor-inner a.btn-info { }
152
-
153
- .tree-view-output {
154
- display: block;
155
- background: #222;
156
- color: #fff;
157
- padding: 5px;
158
- font-size: 12px;
159
- white-space: pre-wrap;
160
- margin: 1px auto 10px auto;
161
- max-height: 250px;
162
- position: relative;
163
- border-bottom-left-radius: 10px;
164
- border-bottom-right-radius: 10px;
165
- overflow: auto;
166
- line-height: 14px;
167
- }
168
-
169
- .editor-code {
170
- background-color: rgb(240, 242, 245);
171
- font-family: Menlo, Consolas, Monaco, monospace;
172
- display: block;
173
- padding: 8px 8px 8px 52px;
174
- line-height: 1.53;
175
- font-size: 13px;
176
- margin: 0;
177
- margin-top: 8px;
178
- margin-bottom: 8px;
179
- tab-size: 2;
180
- /* white-space: pre; */
181
- overflow-x: auto;
182
- position: relative;
183
- }
184
-
185
- .editor-code:before {
186
- content: attr(data-gutter);
187
- position: absolute;
188
- background-color: #eee;
189
- left: 0;
190
- top: 0;
191
- border-right: 1px solid #ccc;
192
- padding: 8px;
193
- color: #777;
194
- white-space: pre-wrap;
195
- text-align: right;
196
- min-width: 25px;
197
- }
198
-
199
- .editor-code:after {
200
- content: attr(data-highlight-language);
201
- top: 0;
202
- right: 3px;
203
- padding: 3px;
204
- font-size: 10px;
205
- text-transform: uppercase;
206
- position: absolute;
207
- color: rgba(0, 0, 0, 0.5);
208
- }
209
-
210
- body.dark-theme .editor-text-code,
211
- body.dark-theme .editor-code {
212
- background-color: #2a2a2a;
213
- }
214
-
215
- body.dark-theme .editor-code:before {
216
- background-color: #222;
217
- border-right-color: #444;
218
- color: #aaa;
219
- }
220
-
221
- body.dark-theme .editor-code:after {
222
- color: rgba(255, 255, 255, 0.5);
223
- }
224
-
225
- .editor-tokenComment {
226
- color: slategray;
227
- }
228
-
229
- .editor-tokenPunctuation {
230
- color: #999;
231
- }
232
-
233
- .editor-tokenProperty {
234
- color: #905;
235
- }
236
-
237
- .editor-tokenSelector {
238
- color: #690;
239
- }
240
-
241
- .editor-tokenOperator {
242
- color: #9a6e3a;
243
- }
244
-
245
- .editor-tokenAttr {
246
- color: #07a;
247
- }
248
-
249
- .editor-tokenVariable {
250
- color: #e90;
251
- }
252
-
253
- .editor-tokenFunction {
254
- color: #dd4a68;
255
- }
256
-
257
- .editor-paragraph {
258
- margin: 0;
259
- margin-bottom: 8px;
260
- position: relative;
261
- /*
262
- display: flex;
263
- align-items: flex-end;
264
- */
265
- }
266
-
267
- .editor-paragraph:last-child {
268
- margin-bottom: 0;
269
- }
270
- .editor-heading-h1 {
271
- line-height: 30px;
272
- }
273
- /*
274
- .editor-heading-h1 {
275
- font-size: 24px;
276
- font-weight: 400;
277
- margin: 0;
278
- margin-bottom: 12px;
279
- padding: 0;
280
- line-height: 24px;
281
- }
282
-
283
- .editor-heading-h2 {
284
- font-size: 15px;
285
- font-weight: 700;
286
- margin: 0;
287
- margin-top: 10px;
288
- padding: 0;
289
- }
290
- */
291
- .editor-quote {
292
- margin: 0;
293
- margin-left: 20px;
294
- font-size: 15px;
295
- color: rgb(101, 103, 107);
296
- border-left-color: rgb(206, 208, 212);
297
- border-left-width: 4px;
298
- border-left-style: solid;
299
- padding-left: 16px;
300
- }
301
-
302
- body.dark-theme .editor-quote {
303
- color: rgb(180, 182, 186);
304
- border-left-color: rgb(100, 102, 106);
305
- }
306
-
307
- /*
308
- .editor-list-ol {
309
- padding: 0;
310
- margin: 0;
311
- margin-left: 16px;
312
- }
313
-
314
- .editor-list-ul {
315
- padding: 0;
316
- margin: 0;
317
- margin-left: 16px;
318
- }
319
-
320
- .editor-listitem {
321
- margin: 8px 32px 8px 32px;
322
- }
323
- */
324
- .editor-nested-listitem {
325
- list-style-type: none;
326
- }
327
-
328
-
329
- .debug-timetravel-panel {
330
- overflow: hidden;
331
- padding: 0 0 10px 0;
332
- margin: auto;
333
- display: flex;
334
- }
335
-
336
- .debug-timetravel-panel-slider {
337
- padding: 0;
338
- flex: 8;
339
- }
340
-
341
- .debug-timetravel-panel-button {
342
- padding: 0;
343
- border: 0;
344
- background: none;
345
- flex: 1;
346
- color: #fff;
347
- font-size: 12px;
348
- }
349
-
350
- .debug-timetravel-panel-button:hover {
351
- text-decoration: underline;
352
- }
353
-
354
- .debug-timetravel-button {
355
- border: 0;
356
- padding: 0;
357
- font-size: 12px;
358
- top: 10px;
359
- right: 15px;
360
- position: absolute;
361
- background: none;
362
- color: #fff;
363
- }
364
-
365
- .debug-timetravel-button:hover {
366
- text-decoration: underline;
367
- }
368
-
369
- .emoji {
370
- color: transparent;
371
- background-size: 16px 16px;
372
- background-position: center;
373
- background-repeat: no-repeat;
374
- vertical-align: middle;
375
- margin: 0 -1px;
376
- }
377
-
378
- .emoji-inner {
379
- padding: 0 0.15em;
380
- }
381
-
382
- .emoji-inner::selection {
383
- color: transparent;
384
- background-color: rgba(150, 150, 150, 0.4);
385
- }
386
-
387
- .emoji-inner::-moz-selection {
388
- color: transparent;
389
- background-color: rgba(150, 150, 150, 0.4);
390
- }
391
-
392
- .emoji.happysmile {
393
- background-image: url(./images/emoji/1F642.png);
394
- }
395
-
396
- .toolbar {
397
- display: flex;
398
- position:sticky;
399
- top: 0;
400
- z-index: 1;
401
- margin-bottom: 1px;
402
- padding: 4px;
403
- border-top-left-radius: 10px;
404
- border-top-right-radius: 10px;
405
- vertical-align: middle;
406
- border-bottom-width: 1px;
407
- border-bottom-style: solid;
408
- background-color: white;
409
- border-bottom-color: lightgray;
410
- }
411
-
412
- body.dark-theme .toolbar {
413
- background-color: #333333;
414
- border-bottom-color: #444444;
415
- }
416
-
417
- .floating-toolbar {
418
- background-color: white;
419
- }
420
-
421
- body.dark-theme .floating-toolbar,
422
- body.dark-theme .dropdown,
423
- body.dark-theme .dropdown .item,
424
- body.dark-theme .link-editor,
425
- body.dark-theme .typeahead-popover,
426
- body.dark-theme .typeahead-popover li {
427
- background-color: #333333;
428
- color: #ffffff;
429
- }
430
-
431
- .toolbar button.toolbar-item {
432
- border: 0;
433
- display: flex;
434
- background: none;
435
- border-radius: 10px;
436
- padding: 8px;
437
- cursor: pointer;
438
- vertical-align: middle;
439
- }
440
-
441
- .toolbar button.toolbar-item:disabled {
442
- cursor: not-allowed;
443
- }
444
-
445
- .toolbar button.toolbar-item.spaced {
446
- margin-right: 2px;
447
- }
448
-
449
- .toolbar button.toolbar-item i.format {
450
- background-size: contain;
451
- display: inline-block;
452
- height: 18px;
453
- width: 18px;
454
- margin-top: 2px;
455
- vertical-align: -0.25em;
456
- display: flex;
457
- opacity: 0.6;
458
- }
459
-
460
- .toolbar button.toolbar-item:disabled i.format {
461
- opacity: 0.2;
462
- }
463
-
464
- .toolbar button.toolbar-item.active {
465
- background-color: rgba(223, 232, 250, 0.3);
466
- }
467
-
468
- .toolbar button.toolbar-item.active i {
469
- opacity: 1;
470
- }
471
-
472
- /* Active state for MUI IconButton components */
473
- .toolbar .MuiIconButton-root.active,
474
- .floating-toolbar .MuiIconButton-root.active {
475
- background-color: rgba(25, 118, 210, 0.12);
476
- }
477
-
478
- .toolbar .toolbar-item:hover:not([disabled]),
479
- .floating-toolbar .toolbar-item:hover:not([disabled]),
480
- .floating-toolbar .MuiIconButton-root:hover:not([disabled]) {
481
- background-color: #eee;
482
- }
483
-
484
- body.dark-theme .toolbar .toolbar-item:hover:not([disabled]),
485
- body.dark-theme .floating-toolbar .toolbar-item:hover:not([disabled]),
486
- body.dark-theme .floating-toolbar .MuiIconButton-root:hover:not([disabled]) {
487
- background-color: #555;
488
- }
489
-
490
- .toolbar .divider {
491
- width: 1px;
492
- background-color: #eee;
493
- margin: 0 4px;
494
- }
495
-
496
- .toolbar select.toolbar-item {
497
- border: 0;
498
- display: flex;
499
- background: none;
500
- border-radius: 10px;
501
- padding: 8px;
502
- vertical-align: middle;
503
- -webkit-appearance: none;
504
- -moz-appearance: none;
505
- width: 70px;
506
- font-size: 14px;
507
- color: #777;
508
- text-overflow: ellipsis;
509
- }
510
-
511
- .toolbar select.code-language {
512
- text-transform: capitalize;
513
- width: 130px;
514
- }
515
-
516
- .toolbar .toolbar-item .text {
517
- display: flex;
518
- line-height: 20px;
519
- width: 200px;
520
- vertical-align: middle;
521
- font-size: 14px;
522
- color: #777;
523
- text-overflow: ellipsis;
524
- width: 70px;
525
- overflow: hidden;
526
- height: 20px;
527
- text-align: left;
528
- }
529
-
530
- .toolbar .toolbar-item .icon {
531
- display: flex;
532
- width: 20px;
533
- height: 20px;
534
- user-select: none;
535
- margin-right: 8px;
536
- line-height: 16px;
537
- background-size: contain;
538
- }
539
-
540
- .toolbar i.chevron-down {
541
- margin-top: 3px;
542
- width: 16px;
543
- height: 16px;
544
- display: flex;
545
- user-select: none;
546
- }
547
-
548
- .toolbar i.chevron-down.inside {
549
- width: 16px;
550
- height: 16px;
551
- display: flex;
552
- margin-left: -25px;
553
- margin-top: 11px;
554
- margin-right: 10px;
555
- pointer-events: none;
556
- }
557
-
558
- i.chevron-down {
559
- background-color: transparent;
560
- background-size: contain;
561
- display: inline-block;
562
- height: 8px;
563
- width: 8px;
564
- background-image: url(./images/icons/chevron-down.svg);
565
- }
566
-
567
- #block-controls button:hover {
568
- background-color: #efefef;
569
- }
570
-
571
- #block-controls button:focus-visible {
572
- border-color: blue;
573
- }
574
-
575
- #block-controls span.block-type {
576
- background-size: contain;
577
- display: block;
578
- width: 18px;
579
- height: 18px;
580
- margin: 2px;
581
- }
582
-
583
- #block-controls span.block-type.paragraph {
584
- background-image: url(./images/icons/text-paragraph.svg);
585
- }
586
-
587
- #block-controls span.block-type.h1 {
588
- background-image: url(./images/icons/type-h1.svg);
589
- }
590
-
591
- #block-controls span.block-type.h2 {
592
- background-image: url(./images/icons/type-h2.svg);
593
- }
594
-
595
- #block-controls span.block-type.quote {
596
- background-image: url(./images/icons/chat-square-quote.svg);
597
- }
598
-
599
- #block-controls span.block-type.ul {
600
- background-image: url(./images/icons/list-ul.svg);
601
- }
602
-
603
- #block-controls span.block-type.ol {
604
- background-image: url(./images/icons/list-ol.svg);
605
- }
606
-
607
- #block-controls span.block-type.code {
608
- background-image: url(./images/icons/code.svg);
609
- }
610
-
611
- .dropdown {
612
- z-index: 1301;
613
- display: block;
614
- position: absolute;
615
- box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1),
616
- inset 0 0 0 1px rgba(255, 255, 255, 0.5);
617
- border-radius: 8px;
618
- min-width: 100px;
619
- min-height: 40px;
620
- background-color: #fff;
621
- }
622
-
623
- .dropdown .item {
624
- margin: 0 8px 0 8px;
625
- padding: 8px;
626
- color: #050505;
627
- cursor: pointer;
628
- line-height: 16px;
629
- font-size: 15px;
630
- display: flex;
631
- align-content: center;
632
- flex-direction: row;
633
- flex-shrink: 0;
634
- justify-content: space-between;
635
- background-color: #fff;
636
- border-radius: 8px;
637
- border: 0;
638
- min-width: 268px;
639
- }
640
-
641
- .dropdown .item .active {
642
- display: flex;
643
- width: 20px;
644
- height: 20px;
645
- background-size: contain;
646
- }
647
-
648
- .dropdown .item:first-child {
649
- margin-top: 8px;
650
- }
651
-
652
- .dropdown .item:last-child {
653
- margin-bottom: 8px;
654
- }
655
-
656
- .dropdown .item:hover {
657
- background-color: #eee;
658
- }
659
-
660
- .dropdown .item .text {
661
- display: flex;
662
- line-height: 20px;
663
- flex-grow: 1;
664
- width: 200px;
665
- }
666
-
667
- .dropdown .item .icon {
668
- display: flex;
669
- width: 20px;
670
- height: 20px;
671
- user-select: none;
672
- margin-right: 12px;
673
- line-height: 16px;
674
- background-size: contain;
675
- }
676
-
677
- .link-editor {
678
- position: absolute;
679
- z-index: 1301;
680
- top: -10000px;
681
- left: -10000px;
682
- margin-top: -6px;
683
- max-width: 300px;
684
- width: 100%;
685
- opacity: 0;
686
- background-color: #fff;
687
- box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
688
- border-radius: 8px;
689
- transition: opacity 0.5s;
690
- padding:10px;
691
- }
692
- .link-editor .MuiFormControl-root {
693
- margin-top:10px;
694
- margin-bottom: 10px;
695
- }
696
-
697
- i.undo {
698
- background-image: url(./images/icons/arrow-counterclockwise.svg);
699
- }
700
-
701
- i.redo {
702
- background-image: url(./images/icons/arrow-clockwise.svg);
703
- }
704
-
705
- .icon.paragraph {
706
- background-image: url(./images/icons/text-paragraph.svg);
707
- }
708
-
709
- .icon.large-heading,
710
- .icon.h1 {
711
- background-image: url(./images/icons/type-h1.svg);
712
- }
713
-
714
- .icon.small-heading,
715
- .icon.h2 {
716
- background-image: url(./images/icons/type-h2.svg);
717
- }
718
-
719
- .icon.h3 {
720
- background-image: url(./images/icons/type-h3.svg);
721
- }
722
-
723
- .icon.h4 {
724
- background-image: url(./images/icons/type-h4.svg);
725
- }
726
-
727
- .icon.bullet-list,
728
- .icon.ul {
729
- background-image: url(./images/icons/list-ul.svg);
730
- }
731
-
732
- .icon.numbered-list,
733
- .icon.ol {
734
- background-image: url(./images/icons/list-ol.svg);
735
- }
736
-
737
- .icon.quote {
738
- background-image: url(./images/icons/chat-square-quote.svg);
739
- }
740
-
741
- .icon.code {
742
- background-image: url(./images/icons/code.svg);
743
- }
744
-
745
- i.bold {
746
- background-image: url(./images/icons/type-bold.svg);
747
- }
748
-
749
- i.italic {
750
- background-image: url(./images/icons/type-italic.svg);
751
- }
752
-
753
- i.underline {
754
- background-image: url(./images/icons/type-underline.svg);
755
- }
756
-
757
- i.strikethrough {
758
- background-image: url(./images/icons/type-strikethrough.svg);
759
- }
760
-
761
- i.code {
762
- background-image: url(./images/icons/code.svg);
763
- }
764
-
765
- i.link {
766
- background-image: url(./images/icons/link.svg);
767
- }
768
-
769
- i.left-align {
770
- background-image: url(./images/icons/text-left.svg);
771
- }
772
-
773
- i.center-align {
774
- background-image: url(./images/icons/text-center.svg);
775
- }
776
-
777
- i.right-align {
778
- background-image: url(./images/icons/text-right.svg);
779
- }
780
-
781
- i.justify-align {
782
- background-image: url(./images/icons/justify.svg);
783
- }
784
-
785
- .typeahead-popover {
786
- background: #fff;
787
- box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
788
- border-radius: 8px;
789
- margin-top: 25px;
790
- }
791
-
792
- .typeahead-popover ul {
793
- padding: 0;
794
- list-style: none;
795
- margin: 0;
796
- border-radius: 8px;
797
- max-height: 200px;
798
- overflow-y: scroll;
799
- }
800
-
801
- .typeahead-popover ul::-webkit-scrollbar {
802
- display: none;
803
- }
804
-
805
- .typeahead-popover ul {
806
- -ms-overflow-style: none;
807
- scrollbar-width: none;
808
- }
809
-
810
- .typeahead-popover ul li {
811
- margin: 0;
812
- min-width: 180px;
813
- font-size: 14px;
814
- outline: none;
815
- cursor: pointer;
816
- border-radius: 8px;
817
- }
818
-
819
- .typeahead-popover ul li.selected {
820
- background: #eee;
821
- }
822
-
823
- .typeahead-popover li {
824
- margin: 0 8px 0 8px;
825
- padding: 8px;
826
- color: #050505;
827
- cursor: pointer;
828
- line-height: 16px;
829
- font-size: 15px;
830
- display: flex;
831
- align-content: center;
832
- flex-direction: row;
833
- flex-shrink: 0;
834
- background-color: #fff;
835
- border-radius: 8px;
836
- border: 0;
837
- }
838
-
839
- .typeahead-popover li.active {
840
- display: flex;
841
- width: 20px;
842
- height: 20px;
843
- background-size: contain;
844
- }
845
-
846
- .typeahead-popover li:first-child {
847
- border-radius: 8px 8px 0px 0px;
848
- }
849
-
850
- .typeahead-popover li:last-child {
851
- border-radius: 0px 0px 8px 8px;
852
- }
853
-
854
- .typeahead-popover li:hover {
855
- background-color: #eee;
856
- }
857
-
858
- .typeahead-popover li .text {
859
- display: flex;
860
- line-height: 20px;
861
- flex-grow: 1;
862
- min-width: 150px;
863
- }
864
-
865
- .typeahead-popover li .icon {
866
- display: flex;
867
- width: 20px;
868
- height: 20px;
869
- user-select: none;
870
- margin-right: 8px;
871
- line-height: 16px;
872
- background-size: contain;
873
- background-repeat: no-repeat;
874
- background-position: center;
875
- }
876
-
877
- .emoji-menu {
878
- width: 200px;
879
- }
1
+ .other h2 {
2
+ font-size: 18px;
3
+ color: #444;
4
+ margin-bottom: 7px;
5
+ }
6
+
7
+ .other a {
8
+ color: #777;
9
+ text-decoration: underline;
10
+ font-size: 14px;
11
+ }
12
+
13
+ .other ul {
14
+ padding: 0;
15
+ margin: 0;
16
+ list-style-type: none;
17
+ }
18
+
19
+ /*
20
+ .editor-list-ol li {
21
+ list-style-type: decimal !important;
22
+ }
23
+
24
+ .editor-list-ul li {
25
+ list-style-type: disc !important;
26
+ }
27
+ */
28
+
29
+ .text-left {
30
+ text-align: left;
31
+ }
32
+
33
+ .text-right {
34
+ text-align: right;
35
+ }
36
+
37
+ .text-center {
38
+ text-align: center;
39
+ }
40
+
41
+ .editor-container {
42
+ /*margin: 20px auto 20px auto;*/
43
+ border-radius: 2px;
44
+ /*color: #000;*/
45
+ position: relative;
46
+ /*line-height: 20px;*/
47
+ /*font-weight: 400;*/
48
+ border-radius: 5px;
49
+ }
50
+
51
+ .editor-inner {
52
+ position: relative;
53
+ }
54
+
55
+ .editor-input {
56
+ min-height: 150px;
57
+ resize: none;
58
+ font-size: 15px;
59
+ position: relative;
60
+ tab-size: 1;
61
+ outline: 0;
62
+ padding: 15px 10px;
63
+ }
64
+
65
+ .editor-container.preview .editor-input {
66
+ padding: 0px 0px;
67
+ }
68
+
69
+ .editor-placeholder {
70
+ color: #999;
71
+ overflow: hidden;
72
+ position: absolute;
73
+ text-overflow: ellipsis;
74
+ top: 15px;
75
+ left: 10px;
76
+ font-size: 15px;
77
+ user-select: none;
78
+ display: inline-block;
79
+ pointer-events: none;
80
+ }
81
+
82
+ .editor-text-bold {
83
+ font-weight: bold;
84
+ }
85
+
86
+ .editor-text-italic {
87
+ font-style: italic;
88
+ }
89
+
90
+ .editor-text-underline {
91
+ text-decoration: underline;
92
+ }
93
+
94
+ .editor-text-strikethrough {
95
+ text-decoration: line-through;
96
+ }
97
+
98
+ .editor-text-underlineStrikethrough {
99
+ text-decoration: underline line-through;
100
+ }
101
+
102
+ .editor-text-code {
103
+ background-color: rgb(240, 242, 245);
104
+ padding: 1px 0.25rem;
105
+ font-family: Menlo, Consolas, Monaco, monospace;
106
+ font-size: 94%;
107
+ }
108
+
109
+ .editor-link {
110
+ color: rgb(33, 111, 219);
111
+ text-decoration: none;
112
+ }
113
+
114
+ /* Ensure button-styled links reflect app button styles inside the editor */
115
+ .editor-inner a.btn {
116
+ text-decoration: none !important;
117
+ }
118
+ /* If theme adds editor-link class, don't override button text color */
119
+ .editor-inner a.btn.editor-link,
120
+ .editor-inner a.editor-link.btn {
121
+ color: inherit !important;
122
+ }
123
+
124
+ /* Minimal in-editor button look (for previewing only) */
125
+ .editor-inner a.btn {
126
+ display: inline-block;
127
+ padding: 8px 14px;
128
+ border-radius: 4px;
129
+ border: 1px solid transparent;
130
+ font-weight: 500;
131
+ }
132
+ .editor-inner a.btn-block { display: block; width: 100%; text-align: center; }
133
+ .editor-inner a.btn-small { font-size: 12px; padding: 6px 12px; }
134
+ .editor-inner a.btn-medium { font-size: 14px; padding: 8px 14px; }
135
+ .editor-inner a.btn-large { font-size: 16px; padding: 10px 16px; }
136
+ .editor-inner a.btn-xl { font-size: 18px; padding: 12px 20px; }
137
+ .editor-inner a.btn-2x { font-size: 20px; padding: 12px 22px; }
138
+ .editor-inner a.btn-3x { font-size: 22px; padding: 14px 24px; }
139
+ .editor-inner a.btn-4x { font-size: 24px; padding: 16px 26px; }
140
+
141
+ /* Provide a basic primary style so buttons read as buttons in-editor */
142
+ .editor-inner a.btn-primary {
143
+ background-color: #1976d2;
144
+ color: #fff !important;
145
+ }
146
+ .editor-inner a.btn-primary { /* allow external CSS to set actual colors; avoid forcing defaults */ }
147
+ .editor-inner a.btn-secondary { }
148
+ .editor-inner a.btn-success { }
149
+ .editor-inner a.btn-danger { }
150
+ .editor-inner a.btn-warning { }
151
+ .editor-inner a.btn-info { }
152
+
153
+ .tree-view-output {
154
+ display: block;
155
+ background: #222;
156
+ color: #fff;
157
+ padding: 5px;
158
+ font-size: 12px;
159
+ white-space: pre-wrap;
160
+ margin: 1px auto 10px auto;
161
+ max-height: 250px;
162
+ position: relative;
163
+ border-bottom-left-radius: 10px;
164
+ border-bottom-right-radius: 10px;
165
+ overflow: auto;
166
+ line-height: 14px;
167
+ }
168
+
169
+ .editor-code {
170
+ background-color: rgb(240, 242, 245);
171
+ font-family: Menlo, Consolas, Monaco, monospace;
172
+ display: block;
173
+ padding: 8px 8px 8px 52px;
174
+ line-height: 1.53;
175
+ font-size: 13px;
176
+ margin: 0;
177
+ margin-top: 8px;
178
+ margin-bottom: 8px;
179
+ tab-size: 2;
180
+ /* white-space: pre; */
181
+ overflow-x: auto;
182
+ position: relative;
183
+ }
184
+
185
+ .editor-code:before {
186
+ content: attr(data-gutter);
187
+ position: absolute;
188
+ background-color: #eee;
189
+ left: 0;
190
+ top: 0;
191
+ border-right: 1px solid #ccc;
192
+ padding: 8px;
193
+ color: #777;
194
+ white-space: pre-wrap;
195
+ text-align: right;
196
+ min-width: 25px;
197
+ }
198
+
199
+ .editor-code:after {
200
+ content: attr(data-highlight-language);
201
+ top: 0;
202
+ right: 3px;
203
+ padding: 3px;
204
+ font-size: 10px;
205
+ text-transform: uppercase;
206
+ position: absolute;
207
+ color: rgba(0, 0, 0, 0.5);
208
+ }
209
+
210
+ body.dark-theme .editor-text-code,
211
+ body.dark-theme .editor-code {
212
+ background-color: #2a2a2a;
213
+ }
214
+
215
+ body.dark-theme .editor-code:before {
216
+ background-color: #222;
217
+ border-right-color: #444;
218
+ color: #aaa;
219
+ }
220
+
221
+ body.dark-theme .editor-code:after {
222
+ color: rgba(255, 255, 255, 0.5);
223
+ }
224
+
225
+ .editor-tokenComment {
226
+ color: slategray;
227
+ }
228
+
229
+ .editor-tokenPunctuation {
230
+ color: #999;
231
+ }
232
+
233
+ .editor-tokenProperty {
234
+ color: #905;
235
+ }
236
+
237
+ .editor-tokenSelector {
238
+ color: #690;
239
+ }
240
+
241
+ .editor-tokenOperator {
242
+ color: #9a6e3a;
243
+ }
244
+
245
+ .editor-tokenAttr {
246
+ color: #07a;
247
+ }
248
+
249
+ .editor-tokenVariable {
250
+ color: #e90;
251
+ }
252
+
253
+ .editor-tokenFunction {
254
+ color: #dd4a68;
255
+ }
256
+
257
+ .editor-paragraph {
258
+ margin: 0;
259
+ margin-bottom: 8px;
260
+ position: relative;
261
+ /*
262
+ display: flex;
263
+ align-items: flex-end;
264
+ */
265
+ }
266
+
267
+ .editor-paragraph:last-child {
268
+ margin-bottom: 0;
269
+ }
270
+ .editor-heading-h1 {
271
+ line-height: 30px;
272
+ }
273
+ /*
274
+ .editor-heading-h1 {
275
+ font-size: 24px;
276
+ font-weight: 400;
277
+ margin: 0;
278
+ margin-bottom: 12px;
279
+ padding: 0;
280
+ line-height: 24px;
281
+ }
282
+
283
+ .editor-heading-h2 {
284
+ font-size: 15px;
285
+ font-weight: 700;
286
+ margin: 0;
287
+ margin-top: 10px;
288
+ padding: 0;
289
+ }
290
+ */
291
+ .editor-quote {
292
+ margin: 0;
293
+ margin-left: 20px;
294
+ font-size: 15px;
295
+ color: rgb(101, 103, 107);
296
+ border-left-color: rgb(206, 208, 212);
297
+ border-left-width: 4px;
298
+ border-left-style: solid;
299
+ padding-left: 16px;
300
+ }
301
+
302
+ body.dark-theme .editor-quote {
303
+ color: rgb(180, 182, 186);
304
+ border-left-color: rgb(100, 102, 106);
305
+ }
306
+
307
+ /*
308
+ .editor-list-ol {
309
+ padding: 0;
310
+ margin: 0;
311
+ margin-left: 16px;
312
+ }
313
+
314
+ .editor-list-ul {
315
+ padding: 0;
316
+ margin: 0;
317
+ margin-left: 16px;
318
+ }
319
+
320
+ .editor-listitem {
321
+ margin: 8px 32px 8px 32px;
322
+ }
323
+ */
324
+ .editor-nested-listitem {
325
+ list-style-type: none;
326
+ }
327
+
328
+
329
+ .debug-timetravel-panel {
330
+ overflow: hidden;
331
+ padding: 0 0 10px 0;
332
+ margin: auto;
333
+ display: flex;
334
+ }
335
+
336
+ .debug-timetravel-panel-slider {
337
+ padding: 0;
338
+ flex: 8;
339
+ }
340
+
341
+ .debug-timetravel-panel-button {
342
+ padding: 0;
343
+ border: 0;
344
+ background: none;
345
+ flex: 1;
346
+ color: #fff;
347
+ font-size: 12px;
348
+ }
349
+
350
+ .debug-timetravel-panel-button:hover {
351
+ text-decoration: underline;
352
+ }
353
+
354
+ .debug-timetravel-button {
355
+ border: 0;
356
+ padding: 0;
357
+ font-size: 12px;
358
+ top: 10px;
359
+ right: 15px;
360
+ position: absolute;
361
+ background: none;
362
+ color: #fff;
363
+ }
364
+
365
+ .debug-timetravel-button:hover {
366
+ text-decoration: underline;
367
+ }
368
+
369
+ .emoji {
370
+ color: transparent;
371
+ background-size: 16px 16px;
372
+ background-position: center;
373
+ background-repeat: no-repeat;
374
+ vertical-align: middle;
375
+ margin: 0 -1px;
376
+ }
377
+
378
+ .emoji-inner {
379
+ padding: 0 0.15em;
380
+ }
381
+
382
+ .emoji-inner::selection {
383
+ color: transparent;
384
+ background-color: rgba(150, 150, 150, 0.4);
385
+ }
386
+
387
+ .emoji-inner::-moz-selection {
388
+ color: transparent;
389
+ background-color: rgba(150, 150, 150, 0.4);
390
+ }
391
+
392
+ .emoji.happysmile {
393
+ background-image: url(./images/emoji/1F642.png);
394
+ }
395
+
396
+ .toolbar {
397
+ display: flex;
398
+ position:sticky;
399
+ top: 0;
400
+ z-index: 1;
401
+ margin-bottom: 1px;
402
+ padding: 4px;
403
+ border-top-left-radius: 10px;
404
+ border-top-right-radius: 10px;
405
+ vertical-align: middle;
406
+ border-bottom-width: 1px;
407
+ border-bottom-style: solid;
408
+ background-color: white;
409
+ border-bottom-color: lightgray;
410
+ }
411
+
412
+ body.dark-theme .toolbar {
413
+ background-color: #333333;
414
+ border-bottom-color: #444444;
415
+ }
416
+
417
+ .floating-toolbar {
418
+ background-color: white;
419
+ }
420
+
421
+ body.dark-theme .floating-toolbar,
422
+ body.dark-theme .dropdown,
423
+ body.dark-theme .dropdown .item,
424
+ body.dark-theme .link-editor,
425
+ body.dark-theme .typeahead-popover,
426
+ body.dark-theme .typeahead-popover li {
427
+ background-color: #333333;
428
+ color: #ffffff;
429
+ }
430
+
431
+ .toolbar button.toolbar-item {
432
+ border: 0;
433
+ display: flex;
434
+ background: none;
435
+ border-radius: 10px;
436
+ padding: 8px;
437
+ cursor: pointer;
438
+ vertical-align: middle;
439
+ }
440
+
441
+ .toolbar button.toolbar-item:disabled {
442
+ cursor: not-allowed;
443
+ }
444
+
445
+ .toolbar button.toolbar-item.spaced {
446
+ margin-right: 2px;
447
+ }
448
+
449
+ .toolbar button.toolbar-item i.format {
450
+ background-size: contain;
451
+ display: inline-block;
452
+ height: 18px;
453
+ width: 18px;
454
+ margin-top: 2px;
455
+ vertical-align: -0.25em;
456
+ display: flex;
457
+ opacity: 0.6;
458
+ }
459
+
460
+ .toolbar button.toolbar-item:disabled i.format {
461
+ opacity: 0.2;
462
+ }
463
+
464
+ .toolbar button.toolbar-item.active {
465
+ background-color: rgba(223, 232, 250, 0.3);
466
+ }
467
+
468
+ .toolbar button.toolbar-item.active i {
469
+ opacity: 1;
470
+ }
471
+
472
+ /* Active state for MUI IconButton components */
473
+ .toolbar .MuiIconButton-root.active,
474
+ .floating-toolbar .MuiIconButton-root.active {
475
+ background-color: rgba(25, 118, 210, 0.12);
476
+ }
477
+
478
+ .toolbar .toolbar-item:hover:not([disabled]),
479
+ .floating-toolbar .toolbar-item:hover:not([disabled]),
480
+ .floating-toolbar .MuiIconButton-root:hover:not([disabled]) {
481
+ background-color: #eee;
482
+ }
483
+
484
+ body.dark-theme .toolbar .toolbar-item:hover:not([disabled]),
485
+ body.dark-theme .floating-toolbar .toolbar-item:hover:not([disabled]),
486
+ body.dark-theme .floating-toolbar .MuiIconButton-root:hover:not([disabled]) {
487
+ background-color: #555;
488
+ }
489
+
490
+ .toolbar .divider {
491
+ width: 1px;
492
+ background-color: #eee;
493
+ margin: 0 4px;
494
+ }
495
+
496
+ .toolbar select.toolbar-item {
497
+ border: 0;
498
+ display: flex;
499
+ background: none;
500
+ border-radius: 10px;
501
+ padding: 8px;
502
+ vertical-align: middle;
503
+ -webkit-appearance: none;
504
+ -moz-appearance: none;
505
+ width: 70px;
506
+ font-size: 14px;
507
+ color: #777;
508
+ text-overflow: ellipsis;
509
+ }
510
+
511
+ .toolbar select.code-language {
512
+ text-transform: capitalize;
513
+ width: 130px;
514
+ }
515
+
516
+ .toolbar .toolbar-item .text {
517
+ display: flex;
518
+ line-height: 20px;
519
+ width: 200px;
520
+ vertical-align: middle;
521
+ font-size: 14px;
522
+ color: #777;
523
+ text-overflow: ellipsis;
524
+ width: 70px;
525
+ overflow: hidden;
526
+ height: 20px;
527
+ text-align: left;
528
+ }
529
+
530
+ .toolbar .toolbar-item .icon {
531
+ display: flex;
532
+ width: 20px;
533
+ height: 20px;
534
+ user-select: none;
535
+ margin-right: 8px;
536
+ line-height: 16px;
537
+ background-size: contain;
538
+ }
539
+
540
+ .toolbar i.chevron-down {
541
+ margin-top: 3px;
542
+ width: 16px;
543
+ height: 16px;
544
+ display: flex;
545
+ user-select: none;
546
+ }
547
+
548
+ .toolbar i.chevron-down.inside {
549
+ width: 16px;
550
+ height: 16px;
551
+ display: flex;
552
+ margin-left: -25px;
553
+ margin-top: 11px;
554
+ margin-right: 10px;
555
+ pointer-events: none;
556
+ }
557
+
558
+ i.chevron-down {
559
+ background-color: transparent;
560
+ background-size: contain;
561
+ display: inline-block;
562
+ height: 8px;
563
+ width: 8px;
564
+ background-image: url(./images/icons/chevron-down.svg);
565
+ }
566
+
567
+ #block-controls button:hover {
568
+ background-color: #efefef;
569
+ }
570
+
571
+ #block-controls button:focus-visible {
572
+ border-color: blue;
573
+ }
574
+
575
+ #block-controls span.block-type {
576
+ background-size: contain;
577
+ display: block;
578
+ width: 18px;
579
+ height: 18px;
580
+ margin: 2px;
581
+ }
582
+
583
+ #block-controls span.block-type.paragraph {
584
+ background-image: url(./images/icons/text-paragraph.svg);
585
+ }
586
+
587
+ #block-controls span.block-type.h1 {
588
+ background-image: url(./images/icons/type-h1.svg);
589
+ }
590
+
591
+ #block-controls span.block-type.h2 {
592
+ background-image: url(./images/icons/type-h2.svg);
593
+ }
594
+
595
+ #block-controls span.block-type.quote {
596
+ background-image: url(./images/icons/chat-square-quote.svg);
597
+ }
598
+
599
+ #block-controls span.block-type.ul {
600
+ background-image: url(./images/icons/list-ul.svg);
601
+ }
602
+
603
+ #block-controls span.block-type.ol {
604
+ background-image: url(./images/icons/list-ol.svg);
605
+ }
606
+
607
+ #block-controls span.block-type.code {
608
+ background-image: url(./images/icons/code.svg);
609
+ }
610
+
611
+ .dropdown {
612
+ z-index: 1301;
613
+ display: block;
614
+ position: absolute;
615
+ box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1),
616
+ inset 0 0 0 1px rgba(255, 255, 255, 0.5);
617
+ border-radius: 8px;
618
+ min-width: 100px;
619
+ min-height: 40px;
620
+ background-color: #fff;
621
+ }
622
+
623
+ .dropdown .item {
624
+ margin: 0 8px 0 8px;
625
+ padding: 8px;
626
+ color: #050505;
627
+ cursor: pointer;
628
+ line-height: 16px;
629
+ font-size: 15px;
630
+ display: flex;
631
+ align-content: center;
632
+ flex-direction: row;
633
+ flex-shrink: 0;
634
+ justify-content: space-between;
635
+ background-color: #fff;
636
+ border-radius: 8px;
637
+ border: 0;
638
+ min-width: 268px;
639
+ }
640
+
641
+ .dropdown .item .active {
642
+ display: flex;
643
+ width: 20px;
644
+ height: 20px;
645
+ background-size: contain;
646
+ }
647
+
648
+ .dropdown .item:first-child {
649
+ margin-top: 8px;
650
+ }
651
+
652
+ .dropdown .item:last-child {
653
+ margin-bottom: 8px;
654
+ }
655
+
656
+ .dropdown .item:hover {
657
+ background-color: #eee;
658
+ }
659
+
660
+ .dropdown .item .text {
661
+ display: flex;
662
+ line-height: 20px;
663
+ flex-grow: 1;
664
+ width: 200px;
665
+ }
666
+
667
+ .dropdown .item .icon {
668
+ display: flex;
669
+ width: 20px;
670
+ height: 20px;
671
+ user-select: none;
672
+ margin-right: 12px;
673
+ line-height: 16px;
674
+ background-size: contain;
675
+ }
676
+
677
+ .link-editor {
678
+ position: absolute;
679
+ z-index: 1301;
680
+ top: -10000px;
681
+ left: -10000px;
682
+ margin-top: -6px;
683
+ max-width: 300px;
684
+ width: 100%;
685
+ opacity: 0;
686
+ background-color: #fff;
687
+ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
688
+ border-radius: 8px;
689
+ transition: opacity 0.5s;
690
+ padding:10px;
691
+ }
692
+ .link-editor .MuiFormControl-root {
693
+ margin-top:10px;
694
+ margin-bottom: 10px;
695
+ }
696
+
697
+ i.undo {
698
+ background-image: url(./images/icons/arrow-counterclockwise.svg);
699
+ }
700
+
701
+ i.redo {
702
+ background-image: url(./images/icons/arrow-clockwise.svg);
703
+ }
704
+
705
+ .icon.paragraph {
706
+ background-image: url(./images/icons/text-paragraph.svg);
707
+ }
708
+
709
+ .icon.large-heading,
710
+ .icon.h1 {
711
+ background-image: url(./images/icons/type-h1.svg);
712
+ }
713
+
714
+ .icon.small-heading,
715
+ .icon.h2 {
716
+ background-image: url(./images/icons/type-h2.svg);
717
+ }
718
+
719
+ .icon.h3 {
720
+ background-image: url(./images/icons/type-h3.svg);
721
+ }
722
+
723
+ .icon.h4 {
724
+ background-image: url(./images/icons/type-h4.svg);
725
+ }
726
+
727
+ .icon.bullet-list,
728
+ .icon.ul {
729
+ background-image: url(./images/icons/list-ul.svg);
730
+ }
731
+
732
+ .icon.numbered-list,
733
+ .icon.ol {
734
+ background-image: url(./images/icons/list-ol.svg);
735
+ }
736
+
737
+ .icon.quote {
738
+ background-image: url(./images/icons/chat-square-quote.svg);
739
+ }
740
+
741
+ .icon.code {
742
+ background-image: url(./images/icons/code.svg);
743
+ }
744
+
745
+ i.bold {
746
+ background-image: url(./images/icons/type-bold.svg);
747
+ }
748
+
749
+ i.italic {
750
+ background-image: url(./images/icons/type-italic.svg);
751
+ }
752
+
753
+ i.underline {
754
+ background-image: url(./images/icons/type-underline.svg);
755
+ }
756
+
757
+ i.strikethrough {
758
+ background-image: url(./images/icons/type-strikethrough.svg);
759
+ }
760
+
761
+ i.code {
762
+ background-image: url(./images/icons/code.svg);
763
+ }
764
+
765
+ i.link {
766
+ background-image: url(./images/icons/link.svg);
767
+ }
768
+
769
+ i.left-align {
770
+ background-image: url(./images/icons/text-left.svg);
771
+ }
772
+
773
+ i.center-align {
774
+ background-image: url(./images/icons/text-center.svg);
775
+ }
776
+
777
+ i.right-align {
778
+ background-image: url(./images/icons/text-right.svg);
779
+ }
780
+
781
+ i.justify-align {
782
+ background-image: url(./images/icons/justify.svg);
783
+ }
784
+
785
+ .typeahead-popover {
786
+ background: #fff;
787
+ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
788
+ border-radius: 8px;
789
+ margin-top: 25px;
790
+ }
791
+
792
+ .typeahead-popover ul {
793
+ padding: 0;
794
+ list-style: none;
795
+ margin: 0;
796
+ border-radius: 8px;
797
+ max-height: 200px;
798
+ overflow-y: scroll;
799
+ }
800
+
801
+ .typeahead-popover ul::-webkit-scrollbar {
802
+ display: none;
803
+ }
804
+
805
+ .typeahead-popover ul {
806
+ -ms-overflow-style: none;
807
+ scrollbar-width: none;
808
+ }
809
+
810
+ .typeahead-popover ul li {
811
+ margin: 0;
812
+ min-width: 180px;
813
+ font-size: 14px;
814
+ outline: none;
815
+ cursor: pointer;
816
+ border-radius: 8px;
817
+ }
818
+
819
+ .typeahead-popover ul li.selected {
820
+ background: #eee;
821
+ }
822
+
823
+ .typeahead-popover li {
824
+ margin: 0 8px 0 8px;
825
+ padding: 8px;
826
+ color: #050505;
827
+ cursor: pointer;
828
+ line-height: 16px;
829
+ font-size: 15px;
830
+ display: flex;
831
+ align-content: center;
832
+ flex-direction: row;
833
+ flex-shrink: 0;
834
+ background-color: #fff;
835
+ border-radius: 8px;
836
+ border: 0;
837
+ }
838
+
839
+ .typeahead-popover li.active {
840
+ display: flex;
841
+ width: 20px;
842
+ height: 20px;
843
+ background-size: contain;
844
+ }
845
+
846
+ .typeahead-popover li:first-child {
847
+ border-radius: 8px 8px 0px 0px;
848
+ }
849
+
850
+ .typeahead-popover li:last-child {
851
+ border-radius: 0px 0px 8px 8px;
852
+ }
853
+
854
+ .typeahead-popover li:hover {
855
+ background-color: #eee;
856
+ }
857
+
858
+ .typeahead-popover li .text {
859
+ display: flex;
860
+ line-height: 20px;
861
+ flex-grow: 1;
862
+ min-width: 150px;
863
+ }
864
+
865
+ .typeahead-popover li .icon {
866
+ display: flex;
867
+ width: 20px;
868
+ height: 20px;
869
+ user-select: none;
870
+ margin-right: 8px;
871
+ line-height: 16px;
872
+ background-size: contain;
873
+ background-repeat: no-repeat;
874
+ background-position: center;
875
+ }
876
+
877
+ .emoji-menu {
878
+ width: 200px;
879
+ }