@churchapps/apphelper 0.1.10 → 0.1.11

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 (190) hide show
  1. package/.eslintignore +3 -3
  2. package/.eslintrc.json +22 -22
  3. package/LICENSE +21 -21
  4. package/README.md +24 -24
  5. package/dist/components/markdownEditor/editor.css +787 -787
  6. package/dist/components/markdownEditor/images/icons/arrow-clockwise.svg +3 -3
  7. package/dist/components/markdownEditor/images/icons/arrow-counterclockwise.svg +3 -3
  8. package/dist/components/markdownEditor/images/icons/chat-square-quote.svg +3 -3
  9. package/dist/components/markdownEditor/images/icons/chevron-down.svg +2 -2
  10. package/dist/components/markdownEditor/images/icons/code.svg +2 -2
  11. package/dist/components/markdownEditor/images/icons/journal-code.svg +4 -4
  12. package/dist/components/markdownEditor/images/icons/journal-text.svg +4 -4
  13. package/dist/components/markdownEditor/images/icons/justify.svg +2 -2
  14. package/dist/components/markdownEditor/images/icons/link.svg +3 -3
  15. package/dist/components/markdownEditor/images/icons/list-ol.svg +3 -3
  16. package/dist/components/markdownEditor/images/icons/list-ul.svg +2 -2
  17. package/dist/components/markdownEditor/images/icons/pencil-fill.svg +2 -2
  18. package/dist/components/markdownEditor/images/icons/text-center.svg +2 -2
  19. package/dist/components/markdownEditor/images/icons/text-left.svg +2 -2
  20. package/dist/components/markdownEditor/images/icons/text-paragraph.svg +2 -2
  21. package/dist/components/markdownEditor/images/icons/text-right.svg +2 -2
  22. package/dist/components/markdownEditor/images/icons/type-bold.svg +2 -2
  23. package/dist/components/markdownEditor/images/icons/type-h1.svg +2 -2
  24. package/dist/components/markdownEditor/images/icons/type-h2.svg +2 -2
  25. package/dist/components/markdownEditor/images/icons/type-h3.svg +2 -2
  26. package/dist/components/markdownEditor/images/icons/type-h4.svg +12 -12
  27. package/dist/components/markdownEditor/images/icons/type-italic.svg +2 -2
  28. package/dist/components/markdownEditor/images/icons/type-strikethrough.svg +2 -2
  29. package/dist/components/markdownEditor/images/icons/type-underline.svg +2 -2
  30. package/dist/components/markdownEditor/plugins/customLink/FloatingLinkEditor.d.ts.map +1 -1
  31. package/dist/components/markdownEditor/plugins/customLink/FloatingLinkEditor.js +10 -3
  32. package/dist/components/markdownEditor/plugins/customLink/FloatingLinkEditor.js.map +1 -1
  33. package/package.json +88 -88
  34. package/src/components/CreatePerson.tsx +80 -80
  35. package/src/components/DisplayBox.tsx +68 -68
  36. package/src/components/ErrorMessages.tsx +26 -26
  37. package/src/components/ExportLink.tsx +67 -67
  38. package/src/components/FloatingSupport.tsx +16 -16
  39. package/src/components/FormSubmissionEdit.tsx +120 -120
  40. package/src/components/HelpIcon.tsx +10 -10
  41. package/src/components/ImageEditor.tsx +126 -126
  42. package/src/components/InputBox.tsx +73 -73
  43. package/src/components/Loading.tsx +29 -29
  44. package/src/components/PersonAdd.tsx +75 -75
  45. package/src/components/QuestionEdit.tsx +63 -63
  46. package/src/components/SmallButton.tsx +39 -39
  47. package/src/components/SupportModal.tsx +26 -26
  48. package/src/components/TabPanel.tsx +34 -34
  49. package/src/components/gallery/GalleryModal.tsx +119 -119
  50. package/src/components/gallery/StockPhotos.tsx +74 -74
  51. package/src/components/gallery/index.ts +1 -1
  52. package/src/components/iconPicker/IconNamesList.ts +2240 -2240
  53. package/src/components/iconPicker/IconPicker.tsx +153 -153
  54. package/src/components/index.tsx +24 -24
  55. package/src/components/markdownEditor/Editor.tsx +132 -132
  56. package/src/components/markdownEditor/MarkdownEditor.tsx +16 -16
  57. package/src/components/markdownEditor/MarkdownModal.tsx +46 -46
  58. package/src/components/markdownEditor/MarkdownPreview.tsx +14 -14
  59. package/src/components/markdownEditor/editor.css +787 -787
  60. package/src/components/markdownEditor/images/icons/arrow-clockwise.svg +3 -3
  61. package/src/components/markdownEditor/images/icons/arrow-counterclockwise.svg +3 -3
  62. package/src/components/markdownEditor/images/icons/chat-square-quote.svg +3 -3
  63. package/src/components/markdownEditor/images/icons/chevron-down.svg +2 -2
  64. package/src/components/markdownEditor/images/icons/code.svg +2 -2
  65. package/src/components/markdownEditor/images/icons/journal-code.svg +4 -4
  66. package/src/components/markdownEditor/images/icons/journal-text.svg +4 -4
  67. package/src/components/markdownEditor/images/icons/justify.svg +2 -2
  68. package/src/components/markdownEditor/images/icons/link.svg +3 -3
  69. package/src/components/markdownEditor/images/icons/list-ol.svg +3 -3
  70. package/src/components/markdownEditor/images/icons/list-ul.svg +2 -2
  71. package/src/components/markdownEditor/images/icons/pencil-fill.svg +2 -2
  72. package/src/components/markdownEditor/images/icons/text-center.svg +2 -2
  73. package/src/components/markdownEditor/images/icons/text-left.svg +2 -2
  74. package/src/components/markdownEditor/images/icons/text-paragraph.svg +2 -2
  75. package/src/components/markdownEditor/images/icons/text-right.svg +2 -2
  76. package/src/components/markdownEditor/images/icons/type-bold.svg +2 -2
  77. package/src/components/markdownEditor/images/icons/type-h1.svg +2 -2
  78. package/src/components/markdownEditor/images/icons/type-h2.svg +2 -2
  79. package/src/components/markdownEditor/images/icons/type-h3.svg +2 -2
  80. package/src/components/markdownEditor/images/icons/type-h4.svg +12 -12
  81. package/src/components/markdownEditor/images/icons/type-italic.svg +2 -2
  82. package/src/components/markdownEditor/images/icons/type-strikethrough.svg +2 -2
  83. package/src/components/markdownEditor/images/icons/type-underline.svg +2 -2
  84. package/src/components/markdownEditor/index.ts +2 -2
  85. package/src/components/markdownEditor/plugins/AutoLinkPlugin.tsx +35 -35
  86. package/src/components/markdownEditor/plugins/ControlledEditorPlugin.tsx +24 -24
  87. package/src/components/markdownEditor/plugins/ListMaxIndentLevelPlugin.tsx +68 -68
  88. package/src/components/markdownEditor/plugins/MarkdownTransformers.ts +106 -106
  89. package/src/components/markdownEditor/plugins/ReadOnlyPlugin.tsx +15 -15
  90. package/src/components/markdownEditor/plugins/ToolbarPlugin.tsx +401 -401
  91. package/src/components/markdownEditor/plugins/customLink/CustomLinkNode.tsx +224 -224
  92. package/src/components/markdownEditor/plugins/customLink/CustomLinkNodePlugin.tsx +32 -32
  93. package/src/components/markdownEditor/plugins/customLink/CustomLinkNodeTransformer.tsx +102 -102
  94. package/src/components/markdownEditor/plugins/customLink/FloatingLinkEditor.tsx +252 -243
  95. package/src/components/markdownEditor/plugins/customLink/FloatingLinkEditor.types.ts +11 -11
  96. package/src/components/markdownEditor/plugins/emoji/EmojiNode.tsx +95 -95
  97. package/src/components/markdownEditor/plugins/emoji/EmojiNodeTransform.ts +41 -41
  98. package/src/components/markdownEditor/plugins/emoji/EmojiPickerPlugin.tsx +152 -152
  99. package/src/components/markdownEditor/plugins/emoji/EmojisPlugin.tsx +65 -65
  100. package/src/components/markdownEditor/plugins/index.ts +6 -6
  101. package/src/components/markdownEditor/theme.ts +65 -65
  102. package/src/components/notes/AddNote.tsx +90 -90
  103. package/src/components/notes/Conversation.tsx +82 -82
  104. package/src/components/notes/Conversations.tsx +58 -58
  105. package/src/components/notes/NewConversation.tsx +78 -78
  106. package/src/components/notes/Note.tsx +44 -44
  107. package/src/components/notes/Notes.tsx +69 -69
  108. package/src/components/notes/index.ts +5 -5
  109. package/src/components/reporting/ChartReport.tsx +98 -98
  110. package/src/components/reporting/ReportFilter.tsx +54 -54
  111. package/src/components/reporting/ReportFilterField.tsx +160 -160
  112. package/src/components/reporting/ReportOutput.tsx +79 -79
  113. package/src/components/reporting/ReportWithFilter.tsx +70 -70
  114. package/src/components/reporting/TableReport.tsx +57 -57
  115. package/src/components/reporting/TreeReport.tsx +111 -111
  116. package/src/components/reporting/index.ts +4 -4
  117. package/src/components/wrapper/AppList.tsx +20 -20
  118. package/src/components/wrapper/ChurchList.tsx +22 -22
  119. package/src/components/wrapper/Drawers.tsx +60 -60
  120. package/src/components/wrapper/NavItem.tsx +41 -41
  121. package/src/components/wrapper/NewPrivateMessage.tsx +103 -103
  122. package/src/components/wrapper/NotificationMenu.tsx +96 -96
  123. package/src/components/wrapper/Notifications.tsx +53 -53
  124. package/src/components/wrapper/PrivateMessageDetails.tsx +24 -24
  125. package/src/components/wrapper/PrivateMessages.tsx +92 -92
  126. package/src/components/wrapper/SiteWrapper.tsx +99 -99
  127. package/src/components/wrapper/TabPanel.tsx +30 -30
  128. package/src/components/wrapper/UserMenu.tsx +106 -106
  129. package/src/components/wrapper/index.tsx +5 -5
  130. package/src/donationComponents/DonationPage.tsx +136 -136
  131. package/src/donationComponents/components/BankForm.tsx +159 -159
  132. package/src/donationComponents/components/CardForm.tsx +104 -104
  133. package/src/donationComponents/components/DonationForm.tsx +235 -235
  134. package/src/donationComponents/components/FundDonation.tsx +49 -49
  135. package/src/donationComponents/components/FundDonations.tsx +39 -39
  136. package/src/donationComponents/components/NonAuthDonation.tsx +31 -31
  137. package/src/donationComponents/components/NonAuthDonationInner.tsx +259 -259
  138. package/src/donationComponents/components/PaymentMethods.tsx +135 -135
  139. package/src/donationComponents/components/RecurringDonations.tsx +121 -121
  140. package/src/donationComponents/components/RecurringDonationsEdit.tsx +93 -93
  141. package/src/donationComponents/components/index.tsx +9 -9
  142. package/src/donationComponents/index.ts +3 -3
  143. package/src/donationComponents/modals/DonationPreviewModal.tsx +66 -66
  144. package/src/helpers/AnalyticsHelper.ts +33 -33
  145. package/src/helpers/ApiHelper.ts +125 -125
  146. package/src/helpers/AppearanceHelper.ts +69 -69
  147. package/src/helpers/ArrayHelper.ts +81 -81
  148. package/src/helpers/CommonEnvironmentHelper.ts +80 -80
  149. package/src/helpers/CurrencyHelper.ts +10 -10
  150. package/src/helpers/DateHelper.ts +109 -109
  151. package/src/helpers/DonationHelper.ts +26 -26
  152. package/src/helpers/ErrorHelper.ts +36 -36
  153. package/src/helpers/EventHelper.ts +52 -52
  154. package/src/helpers/FileHelper.ts +31 -31
  155. package/src/helpers/PersonHelper.ts +60 -60
  156. package/src/helpers/SlugHelper.ts +37 -37
  157. package/src/helpers/SocketHelper.ts +78 -78
  158. package/src/helpers/Themes.ts +14 -14
  159. package/src/helpers/UniqueIdHelper.ts +36 -36
  160. package/src/helpers/UserHelper.ts +59 -59
  161. package/src/helpers/createEmotionCache.ts +17 -17
  162. package/src/helpers/index.ts +19 -19
  163. package/src/hooks/index.ts +1 -1
  164. package/src/hooks/useMountedState.ts +16 -16
  165. package/src/index.ts +6 -6
  166. package/src/interfaces/Access.ts +24 -24
  167. package/src/interfaces/Attendance.ts +8 -8
  168. package/src/interfaces/Content.ts +10 -10
  169. package/src/interfaces/Doing.ts +24 -24
  170. package/src/interfaces/Donation.ts +45 -45
  171. package/src/interfaces/Error.ts +17 -17
  172. package/src/interfaces/Membership.ts +51 -51
  173. package/src/interfaces/Messaging.ts +11 -11
  174. package/src/interfaces/Permissions.ts +68 -68
  175. package/src/interfaces/Reporting.ts +7 -7
  176. package/src/interfaces/UserContextInterface.ts +13 -13
  177. package/src/interfaces/index.ts +13 -13
  178. package/src/pageComponents/LoginPage.tsx +244 -244
  179. package/src/pageComponents/LogoutPage.tsx +28 -28
  180. package/src/pageComponents/components/Forgot.tsx +79 -79
  181. package/src/pageComponents/components/Login.tsx +54 -54
  182. package/src/pageComponents/components/LoginSetPassword.tsx +63 -63
  183. package/src/pageComponents/components/Register.tsx +107 -107
  184. package/src/pageComponents/components/SelectChurchModal.tsx +41 -41
  185. package/src/pageComponents/components/SelectChurchRegister.tsx +88 -88
  186. package/src/pageComponents/components/SelectChurchSearch.tsx +69 -69
  187. package/src/pageComponents/components/SelectableChurch.tsx +38 -38
  188. package/src/pageComponents/index.ts +3 -3
  189. package/tsconfig.json +34 -34
  190. package/tslint.json +14 -14
@@ -1,787 +1,787 @@
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
- caret-color: rgb(5, 5, 5);
60
- position: relative;
61
- tab-size: 1;
62
- outline: 0;
63
- padding: 15px 10px;
64
- caret-color: #444;
65
- }
66
-
67
- .editor-container.preview .editor-input {
68
- padding: 0px 0px;
69
- }
70
-
71
- .editor-placeholder {
72
- color: #999;
73
- overflow: hidden;
74
- position: absolute;
75
- text-overflow: ellipsis;
76
- top: 15px;
77
- left: 10px;
78
- font-size: 15px;
79
- user-select: none;
80
- display: inline-block;
81
- pointer-events: none;
82
- }
83
-
84
- .editor-text-bold {
85
- font-weight: bold;
86
- }
87
-
88
- .editor-text-italic {
89
- font-style: italic;
90
- }
91
-
92
- .editor-text-underline {
93
- text-decoration: underline;
94
- }
95
-
96
- .editor-text-strikethrough {
97
- text-decoration: line-through;
98
- }
99
-
100
- .editor-text-underlineStrikethrough {
101
- text-decoration: underline line-through;
102
- }
103
-
104
- .editor-text-code {
105
- background-color: rgb(240, 242, 245);
106
- padding: 1px 0.25rem;
107
- font-family: Menlo, Consolas, Monaco, monospace;
108
- font-size: 94%;
109
- }
110
-
111
- .editor-link {
112
- color: rgb(33, 111, 219);
113
- text-decoration: none;
114
- }
115
-
116
- .tree-view-output {
117
- display: block;
118
- background: #222;
119
- color: #fff;
120
- padding: 5px;
121
- font-size: 12px;
122
- white-space: pre-wrap;
123
- margin: 1px auto 10px auto;
124
- max-height: 250px;
125
- position: relative;
126
- border-bottom-left-radius: 10px;
127
- border-bottom-right-radius: 10px;
128
- overflow: auto;
129
- line-height: 14px;
130
- }
131
-
132
- .editor-code {
133
- background-color: rgb(240, 242, 245);
134
- font-family: Menlo, Consolas, Monaco, monospace;
135
- display: block;
136
- padding: 8px 8px 8px 52px;
137
- line-height: 1.53;
138
- font-size: 13px;
139
- margin: 0;
140
- margin-top: 8px;
141
- margin-bottom: 8px;
142
- tab-size: 2;
143
- /* white-space: pre; */
144
- overflow-x: auto;
145
- position: relative;
146
- }
147
-
148
- .editor-code:before {
149
- content: attr(data-gutter);
150
- position: absolute;
151
- background-color: #eee;
152
- left: 0;
153
- top: 0;
154
- border-right: 1px solid #ccc;
155
- padding: 8px;
156
- color: #777;
157
- white-space: pre-wrap;
158
- text-align: right;
159
- min-width: 25px;
160
- }
161
-
162
- .editor-code:after {
163
- content: attr(data-highlight-language);
164
- top: 0;
165
- right: 3px;
166
- padding: 3px;
167
- font-size: 10px;
168
- text-transform: uppercase;
169
- position: absolute;
170
- color: rgba(0, 0, 0, 0.5);
171
- }
172
-
173
- .editor-tokenComment {
174
- color: slategray;
175
- }
176
-
177
- .editor-tokenPunctuation {
178
- color: #999;
179
- }
180
-
181
- .editor-tokenProperty {
182
- color: #905;
183
- }
184
-
185
- .editor-tokenSelector {
186
- color: #690;
187
- }
188
-
189
- .editor-tokenOperator {
190
- color: #9a6e3a;
191
- }
192
-
193
- .editor-tokenAttr {
194
- color: #07a;
195
- }
196
-
197
- .editor-tokenVariable {
198
- color: #e90;
199
- }
200
-
201
- .editor-tokenFunction {
202
- color: #dd4a68;
203
- }
204
-
205
- .editor-paragraph {
206
- margin: 0;
207
- margin-bottom: 8px;
208
- position: relative;
209
- /*
210
- display: flex;
211
- align-items: flex-end;
212
- */
213
- }
214
-
215
- .editor-paragraph:last-child {
216
- margin-bottom: 0;
217
- }
218
- .editor-heading-h1 {
219
- line-height: 30px;
220
- }
221
- /*
222
- .editor-heading-h1 {
223
- font-size: 24px;
224
- font-weight: 400;
225
- margin: 0;
226
- margin-bottom: 12px;
227
- padding: 0;
228
- line-height: 24px;
229
- }
230
-
231
- .editor-heading-h2 {
232
- font-size: 15px;
233
- font-weight: 700;
234
- margin: 0;
235
- margin-top: 10px;
236
- padding: 0;
237
- }
238
- */
239
- .editor-quote {
240
- margin: 0;
241
- margin-left: 20px;
242
- font-size: 15px;
243
- color: rgb(101, 103, 107);
244
- border-left-color: rgb(206, 208, 212);
245
- border-left-width: 4px;
246
- border-left-style: solid;
247
- padding-left: 16px;
248
- }
249
-
250
- /*
251
- .editor-list-ol {
252
- padding: 0;
253
- margin: 0;
254
- margin-left: 16px;
255
- }
256
-
257
- .editor-list-ul {
258
- padding: 0;
259
- margin: 0;
260
- margin-left: 16px;
261
- }
262
-
263
- .editor-listitem {
264
- margin: 8px 32px 8px 32px;
265
- }
266
- */
267
- .editor-nested-listitem {
268
- list-style-type: none;
269
- }
270
-
271
-
272
- .debug-timetravel-panel {
273
- overflow: hidden;
274
- padding: 0 0 10px 0;
275
- margin: auto;
276
- display: flex;
277
- }
278
-
279
- .debug-timetravel-panel-slider {
280
- padding: 0;
281
- flex: 8;
282
- }
283
-
284
- .debug-timetravel-panel-button {
285
- padding: 0;
286
- border: 0;
287
- background: none;
288
- flex: 1;
289
- color: #fff;
290
- font-size: 12px;
291
- }
292
-
293
- .debug-timetravel-panel-button:hover {
294
- text-decoration: underline;
295
- }
296
-
297
- .debug-timetravel-button {
298
- border: 0;
299
- padding: 0;
300
- font-size: 12px;
301
- top: 10px;
302
- right: 15px;
303
- position: absolute;
304
- background: none;
305
- color: #fff;
306
- }
307
-
308
- .debug-timetravel-button:hover {
309
- text-decoration: underline;
310
- }
311
-
312
- .emoji {
313
- color: transparent;
314
- background-size: 16px 16px;
315
- background-position: center;
316
- background-repeat: no-repeat;
317
- vertical-align: middle;
318
- margin: 0 -1px;
319
- }
320
-
321
- .emoji-inner {
322
- padding: 0 0.15em;
323
- }
324
-
325
- .emoji-inner::selection {
326
- color: transparent;
327
- background-color: rgba(150, 150, 150, 0.4);
328
- }
329
-
330
- .emoji-inner::moz-selection {
331
- color: transparent;
332
- background-color: rgba(150, 150, 150, 0.4);
333
- }
334
-
335
- .emoji.happysmile {
336
- background-image: url(./images/emoji/1F642.png);
337
- }
338
-
339
- .toolbar {
340
- display: flex;
341
- position:sticky;
342
- top: 0;
343
- background-color: white;
344
- z-index: 1;
345
- margin-bottom: 1px;
346
- padding: 4px;
347
- border-top-left-radius: 10px;
348
- border-top-right-radius: 10px;
349
- vertical-align: middle;
350
- border-bottom: 1px solid lightgray;
351
- }
352
-
353
- .toolbar button.toolbar-item {
354
- border: 0;
355
- display: flex;
356
- background: none;
357
- border-radius: 10px;
358
- padding: 8px;
359
- cursor: pointer;
360
- vertical-align: middle;
361
- }
362
-
363
- .toolbar button.toolbar-item:disabled {
364
- cursor: not-allowed;
365
- }
366
-
367
- .toolbar button.toolbar-item.spaced {
368
- margin-right: 2px;
369
- }
370
-
371
- .toolbar button.toolbar-item i.format {
372
- background-size: contain;
373
- display: inline-block;
374
- height: 18px;
375
- width: 18px;
376
- margin-top: 2px;
377
- vertical-align: -0.25em;
378
- display: flex;
379
- opacity: 0.6;
380
- }
381
-
382
- .toolbar button.toolbar-item:disabled i.format {
383
- opacity: 0.2;
384
- }
385
-
386
- .toolbar button.toolbar-item.active {
387
- background-color: rgba(223, 232, 250, 0.3);
388
- }
389
-
390
- .toolbar button.toolbar-item.active i {
391
- opacity: 1;
392
- }
393
-
394
- .toolbar .toolbar-item:hover:not([disabled]) {
395
- background-color: #eee;
396
- }
397
-
398
- .toolbar .divider {
399
- width: 1px;
400
- background-color: #eee;
401
- margin: 0 4px;
402
- }
403
-
404
- .toolbar select.toolbar-item {
405
- border: 0;
406
- display: flex;
407
- background: none;
408
- border-radius: 10px;
409
- padding: 8px;
410
- vertical-align: middle;
411
- -webkit-appearance: none;
412
- -moz-appearance: none;
413
- width: 70px;
414
- font-size: 14px;
415
- color: #777;
416
- text-overflow: ellipsis;
417
- }
418
-
419
- .toolbar select.code-language {
420
- text-transform: capitalize;
421
- width: 130px;
422
- }
423
-
424
- .toolbar .toolbar-item .text {
425
- display: flex;
426
- line-height: 20px;
427
- width: 200px;
428
- vertical-align: middle;
429
- font-size: 14px;
430
- color: #777;
431
- text-overflow: ellipsis;
432
- width: 70px;
433
- overflow: hidden;
434
- height: 20px;
435
- text-align: left;
436
- }
437
-
438
- .toolbar .toolbar-item .icon {
439
- display: flex;
440
- width: 20px;
441
- height: 20px;
442
- user-select: none;
443
- margin-right: 8px;
444
- line-height: 16px;
445
- background-size: contain;
446
- }
447
-
448
- .toolbar i.chevron-down {
449
- margin-top: 3px;
450
- width: 16px;
451
- height: 16px;
452
- display: flex;
453
- user-select: none;
454
- }
455
-
456
- .toolbar i.chevron-down.inside {
457
- width: 16px;
458
- height: 16px;
459
- display: flex;
460
- margin-left: -25px;
461
- margin-top: 11px;
462
- margin-right: 10px;
463
- pointer-events: none;
464
- }
465
-
466
- i.chevron-down {
467
- background-color: transparent;
468
- background-size: contain;
469
- display: inline-block;
470
- height: 8px;
471
- width: 8px;
472
- background-image: url(./images/icons/chevron-down.svg);
473
- }
474
-
475
- #block-controls button:hover {
476
- background-color: #efefef;
477
- }
478
-
479
- #block-controls button:focus-visible {
480
- border-color: blue;
481
- }
482
-
483
- #block-controls span.block-type {
484
- background-size: contain;
485
- display: block;
486
- width: 18px;
487
- height: 18px;
488
- margin: 2px;
489
- }
490
-
491
- #block-controls span.block-type.paragraph {
492
- background-image: url(./images/icons/text-paragraph.svg);
493
- }
494
-
495
- #block-controls span.block-type.h1 {
496
- background-image: url(./images/icons/type-h1.svg);
497
- }
498
-
499
- #block-controls span.block-type.h2 {
500
- background-image: url(./images/icons/type-h2.svg);
501
- }
502
-
503
- #block-controls span.block-type.quote {
504
- background-image: url(./images/icons/chat-square-quote.svg);
505
- }
506
-
507
- #block-controls span.block-type.ul {
508
- background-image: url(./images/icons/list-ul.svg);
509
- }
510
-
511
- #block-controls span.block-type.ol {
512
- background-image: url(./images/icons/list-ol.svg);
513
- }
514
-
515
- #block-controls span.block-type.code {
516
- background-image: url(./images/icons/code.svg);
517
- }
518
-
519
- .dropdown {
520
- z-index: 5;
521
- display: block;
522
- position: absolute;
523
- box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1),
524
- inset 0 0 0 1px rgba(255, 255, 255, 0.5);
525
- border-radius: 8px;
526
- min-width: 100px;
527
- min-height: 40px;
528
- background-color: #fff;
529
- }
530
-
531
- .dropdown .item {
532
- margin: 0 8px 0 8px;
533
- padding: 8px;
534
- color: #050505;
535
- cursor: pointer;
536
- line-height: 16px;
537
- font-size: 15px;
538
- display: flex;
539
- align-content: center;
540
- flex-direction: row;
541
- flex-shrink: 0;
542
- justify-content: space-between;
543
- background-color: #fff;
544
- border-radius: 8px;
545
- border: 0;
546
- min-width: 268px;
547
- }
548
-
549
- .dropdown .item .active {
550
- display: flex;
551
- width: 20px;
552
- height: 20px;
553
- background-size: contain;
554
- }
555
-
556
- .dropdown .item:first-child {
557
- margin-top: 8px;
558
- }
559
-
560
- .dropdown .item:last-child {
561
- margin-bottom: 8px;
562
- }
563
-
564
- .dropdown .item:hover {
565
- background-color: #eee;
566
- }
567
-
568
- .dropdown .item .text {
569
- display: flex;
570
- line-height: 20px;
571
- flex-grow: 1;
572
- width: 200px;
573
- }
574
-
575
- .dropdown .item .icon {
576
- display: flex;
577
- width: 20px;
578
- height: 20px;
579
- user-select: none;
580
- margin-right: 12px;
581
- line-height: 16px;
582
- background-size: contain;
583
- }
584
-
585
- .link-editor {
586
- position: absolute;
587
- z-index: 100;
588
- top: -10000px;
589
- left: -10000px;
590
- margin-top: -6px;
591
- max-width: 300px;
592
- width: 100%;
593
- opacity: 0;
594
- background-color: #fff;
595
- box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
596
- border-radius: 8px;
597
- transition: opacity 0.5s;
598
- padding:10px;
599
- }
600
- .link-editor .MuiFormControl-root {
601
- margin-top:10px;
602
- margin-bottom: 10px;
603
- }
604
-
605
- i.undo {
606
- background-image: url(./images/icons/arrow-counterclockwise.svg);
607
- }
608
-
609
- i.redo {
610
- background-image: url(./images/icons/arrow-clockwise.svg);
611
- }
612
-
613
- .icon.paragraph {
614
- background-image: url(./images/icons/text-paragraph.svg);
615
- }
616
-
617
- .icon.large-heading,
618
- .icon.h1 {
619
- background-image: url(./images/icons/type-h1.svg);
620
- }
621
-
622
- .icon.small-heading,
623
- .icon.h2 {
624
- background-image: url(./images/icons/type-h2.svg);
625
- }
626
-
627
- .icon.h3 {
628
- background-image: url(./images/icons/type-h3.svg);
629
- }
630
-
631
- .icon.h4 {
632
- background-image: url(./images/icons/type-h4.svg);
633
- }
634
-
635
- .icon.bullet-list,
636
- .icon.ul {
637
- background-image: url(./images/icons/list-ul.svg);
638
- }
639
-
640
- .icon.numbered-list,
641
- .icon.ol {
642
- background-image: url(./images/icons/list-ol.svg);
643
- }
644
-
645
- .icon.quote {
646
- background-image: url(./images/icons/chat-square-quote.svg);
647
- }
648
-
649
- .icon.code {
650
- background-image: url(./images/icons/code.svg);
651
- }
652
-
653
- i.bold {
654
- background-image: url(./images/icons/type-bold.svg);
655
- }
656
-
657
- i.italic {
658
- background-image: url(./images/icons/type-italic.svg);
659
- }
660
-
661
- i.underline {
662
- background-image: url(./images/icons/type-underline.svg);
663
- }
664
-
665
- i.strikethrough {
666
- background-image: url(./images/icons/type-strikethrough.svg);
667
- }
668
-
669
- i.code {
670
- background-image: url(./images/icons/code.svg);
671
- }
672
-
673
- i.link {
674
- background-image: url(./images/icons/link.svg);
675
- }
676
-
677
- i.left-align {
678
- background-image: url(./images/icons/text-left.svg);
679
- }
680
-
681
- i.center-align {
682
- background-image: url(./images/icons/text-center.svg);
683
- }
684
-
685
- i.right-align {
686
- background-image: url(./images/icons/text-right.svg);
687
- }
688
-
689
- i.justify-align {
690
- background-image: url(./images/icons/justify.svg);
691
- }
692
-
693
- .typeahead-popover {
694
- background: #fff;
695
- box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
696
- border-radius: 8px;
697
- margin-top: 25px;
698
- }
699
-
700
- .typeahead-popover ul {
701
- padding: 0;
702
- list-style: none;
703
- margin: 0;
704
- border-radius: 8px;
705
- max-height: 200px;
706
- overflow-y: scroll;
707
- }
708
-
709
- .typeahead-popover ul::-webkit-scrollbar {
710
- display: none;
711
- }
712
-
713
- .typeahead-popover ul {
714
- -ms-overflow-style: none;
715
- scrollbar-width: none;
716
- }
717
-
718
- .typeahead-popover ul li {
719
- margin: 0;
720
- min-width: 180px;
721
- font-size: 14px;
722
- outline: none;
723
- cursor: pointer;
724
- border-radius: 8px;
725
- }
726
-
727
- .typeahead-popover ul li.selected {
728
- background: #eee;
729
- }
730
-
731
- .typeahead-popover li {
732
- margin: 0 8px 0 8px;
733
- padding: 8px;
734
- color: #050505;
735
- cursor: pointer;
736
- line-height: 16px;
737
- font-size: 15px;
738
- display: flex;
739
- align-content: center;
740
- flex-direction: row;
741
- flex-shrink: 0;
742
- background-color: #fff;
743
- border-radius: 8px;
744
- border: 0;
745
- }
746
-
747
- .typeahead-popover li.active {
748
- display: flex;
749
- width: 20px;
750
- height: 20px;
751
- background-size: contain;
752
- }
753
-
754
- .typeahead-popover li:first-child {
755
- border-radius: 8px 8px 0px 0px;
756
- }
757
-
758
- .typeahead-popover li:last-child {
759
- border-radius: 0px 0px 8px 8px;
760
- }
761
-
762
- .typeahead-popover li:hover {
763
- background-color: #eee;
764
- }
765
-
766
- .typeahead-popover li .text {
767
- display: flex;
768
- line-height: 20px;
769
- flex-grow: 1;
770
- min-width: 150px;
771
- }
772
-
773
- .typeahead-popover li .icon {
774
- display: flex;
775
- width: 20px;
776
- height: 20px;
777
- user-select: none;
778
- margin-right: 8px;
779
- line-height: 16px;
780
- background-size: contain;
781
- background-repeat: no-repeat;
782
- background-position: center;
783
- }
784
-
785
- .emoji-menu {
786
- width: 200px;
787
- }
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
+ caret-color: rgb(5, 5, 5);
60
+ position: relative;
61
+ tab-size: 1;
62
+ outline: 0;
63
+ padding: 15px 10px;
64
+ caret-color: #444;
65
+ }
66
+
67
+ .editor-container.preview .editor-input {
68
+ padding: 0px 0px;
69
+ }
70
+
71
+ .editor-placeholder {
72
+ color: #999;
73
+ overflow: hidden;
74
+ position: absolute;
75
+ text-overflow: ellipsis;
76
+ top: 15px;
77
+ left: 10px;
78
+ font-size: 15px;
79
+ user-select: none;
80
+ display: inline-block;
81
+ pointer-events: none;
82
+ }
83
+
84
+ .editor-text-bold {
85
+ font-weight: bold;
86
+ }
87
+
88
+ .editor-text-italic {
89
+ font-style: italic;
90
+ }
91
+
92
+ .editor-text-underline {
93
+ text-decoration: underline;
94
+ }
95
+
96
+ .editor-text-strikethrough {
97
+ text-decoration: line-through;
98
+ }
99
+
100
+ .editor-text-underlineStrikethrough {
101
+ text-decoration: underline line-through;
102
+ }
103
+
104
+ .editor-text-code {
105
+ background-color: rgb(240, 242, 245);
106
+ padding: 1px 0.25rem;
107
+ font-family: Menlo, Consolas, Monaco, monospace;
108
+ font-size: 94%;
109
+ }
110
+
111
+ .editor-link {
112
+ color: rgb(33, 111, 219);
113
+ text-decoration: none;
114
+ }
115
+
116
+ .tree-view-output {
117
+ display: block;
118
+ background: #222;
119
+ color: #fff;
120
+ padding: 5px;
121
+ font-size: 12px;
122
+ white-space: pre-wrap;
123
+ margin: 1px auto 10px auto;
124
+ max-height: 250px;
125
+ position: relative;
126
+ border-bottom-left-radius: 10px;
127
+ border-bottom-right-radius: 10px;
128
+ overflow: auto;
129
+ line-height: 14px;
130
+ }
131
+
132
+ .editor-code {
133
+ background-color: rgb(240, 242, 245);
134
+ font-family: Menlo, Consolas, Monaco, monospace;
135
+ display: block;
136
+ padding: 8px 8px 8px 52px;
137
+ line-height: 1.53;
138
+ font-size: 13px;
139
+ margin: 0;
140
+ margin-top: 8px;
141
+ margin-bottom: 8px;
142
+ tab-size: 2;
143
+ /* white-space: pre; */
144
+ overflow-x: auto;
145
+ position: relative;
146
+ }
147
+
148
+ .editor-code:before {
149
+ content: attr(data-gutter);
150
+ position: absolute;
151
+ background-color: #eee;
152
+ left: 0;
153
+ top: 0;
154
+ border-right: 1px solid #ccc;
155
+ padding: 8px;
156
+ color: #777;
157
+ white-space: pre-wrap;
158
+ text-align: right;
159
+ min-width: 25px;
160
+ }
161
+
162
+ .editor-code:after {
163
+ content: attr(data-highlight-language);
164
+ top: 0;
165
+ right: 3px;
166
+ padding: 3px;
167
+ font-size: 10px;
168
+ text-transform: uppercase;
169
+ position: absolute;
170
+ color: rgba(0, 0, 0, 0.5);
171
+ }
172
+
173
+ .editor-tokenComment {
174
+ color: slategray;
175
+ }
176
+
177
+ .editor-tokenPunctuation {
178
+ color: #999;
179
+ }
180
+
181
+ .editor-tokenProperty {
182
+ color: #905;
183
+ }
184
+
185
+ .editor-tokenSelector {
186
+ color: #690;
187
+ }
188
+
189
+ .editor-tokenOperator {
190
+ color: #9a6e3a;
191
+ }
192
+
193
+ .editor-tokenAttr {
194
+ color: #07a;
195
+ }
196
+
197
+ .editor-tokenVariable {
198
+ color: #e90;
199
+ }
200
+
201
+ .editor-tokenFunction {
202
+ color: #dd4a68;
203
+ }
204
+
205
+ .editor-paragraph {
206
+ margin: 0;
207
+ margin-bottom: 8px;
208
+ position: relative;
209
+ /*
210
+ display: flex;
211
+ align-items: flex-end;
212
+ */
213
+ }
214
+
215
+ .editor-paragraph:last-child {
216
+ margin-bottom: 0;
217
+ }
218
+ .editor-heading-h1 {
219
+ line-height: 30px;
220
+ }
221
+ /*
222
+ .editor-heading-h1 {
223
+ font-size: 24px;
224
+ font-weight: 400;
225
+ margin: 0;
226
+ margin-bottom: 12px;
227
+ padding: 0;
228
+ line-height: 24px;
229
+ }
230
+
231
+ .editor-heading-h2 {
232
+ font-size: 15px;
233
+ font-weight: 700;
234
+ margin: 0;
235
+ margin-top: 10px;
236
+ padding: 0;
237
+ }
238
+ */
239
+ .editor-quote {
240
+ margin: 0;
241
+ margin-left: 20px;
242
+ font-size: 15px;
243
+ color: rgb(101, 103, 107);
244
+ border-left-color: rgb(206, 208, 212);
245
+ border-left-width: 4px;
246
+ border-left-style: solid;
247
+ padding-left: 16px;
248
+ }
249
+
250
+ /*
251
+ .editor-list-ol {
252
+ padding: 0;
253
+ margin: 0;
254
+ margin-left: 16px;
255
+ }
256
+
257
+ .editor-list-ul {
258
+ padding: 0;
259
+ margin: 0;
260
+ margin-left: 16px;
261
+ }
262
+
263
+ .editor-listitem {
264
+ margin: 8px 32px 8px 32px;
265
+ }
266
+ */
267
+ .editor-nested-listitem {
268
+ list-style-type: none;
269
+ }
270
+
271
+
272
+ .debug-timetravel-panel {
273
+ overflow: hidden;
274
+ padding: 0 0 10px 0;
275
+ margin: auto;
276
+ display: flex;
277
+ }
278
+
279
+ .debug-timetravel-panel-slider {
280
+ padding: 0;
281
+ flex: 8;
282
+ }
283
+
284
+ .debug-timetravel-panel-button {
285
+ padding: 0;
286
+ border: 0;
287
+ background: none;
288
+ flex: 1;
289
+ color: #fff;
290
+ font-size: 12px;
291
+ }
292
+
293
+ .debug-timetravel-panel-button:hover {
294
+ text-decoration: underline;
295
+ }
296
+
297
+ .debug-timetravel-button {
298
+ border: 0;
299
+ padding: 0;
300
+ font-size: 12px;
301
+ top: 10px;
302
+ right: 15px;
303
+ position: absolute;
304
+ background: none;
305
+ color: #fff;
306
+ }
307
+
308
+ .debug-timetravel-button:hover {
309
+ text-decoration: underline;
310
+ }
311
+
312
+ .emoji {
313
+ color: transparent;
314
+ background-size: 16px 16px;
315
+ background-position: center;
316
+ background-repeat: no-repeat;
317
+ vertical-align: middle;
318
+ margin: 0 -1px;
319
+ }
320
+
321
+ .emoji-inner {
322
+ padding: 0 0.15em;
323
+ }
324
+
325
+ .emoji-inner::selection {
326
+ color: transparent;
327
+ background-color: rgba(150, 150, 150, 0.4);
328
+ }
329
+
330
+ .emoji-inner::moz-selection {
331
+ color: transparent;
332
+ background-color: rgba(150, 150, 150, 0.4);
333
+ }
334
+
335
+ .emoji.happysmile {
336
+ background-image: url(./images/emoji/1F642.png);
337
+ }
338
+
339
+ .toolbar {
340
+ display: flex;
341
+ position:sticky;
342
+ top: 0;
343
+ background-color: white;
344
+ z-index: 1;
345
+ margin-bottom: 1px;
346
+ padding: 4px;
347
+ border-top-left-radius: 10px;
348
+ border-top-right-radius: 10px;
349
+ vertical-align: middle;
350
+ border-bottom: 1px solid lightgray;
351
+ }
352
+
353
+ .toolbar button.toolbar-item {
354
+ border: 0;
355
+ display: flex;
356
+ background: none;
357
+ border-radius: 10px;
358
+ padding: 8px;
359
+ cursor: pointer;
360
+ vertical-align: middle;
361
+ }
362
+
363
+ .toolbar button.toolbar-item:disabled {
364
+ cursor: not-allowed;
365
+ }
366
+
367
+ .toolbar button.toolbar-item.spaced {
368
+ margin-right: 2px;
369
+ }
370
+
371
+ .toolbar button.toolbar-item i.format {
372
+ background-size: contain;
373
+ display: inline-block;
374
+ height: 18px;
375
+ width: 18px;
376
+ margin-top: 2px;
377
+ vertical-align: -0.25em;
378
+ display: flex;
379
+ opacity: 0.6;
380
+ }
381
+
382
+ .toolbar button.toolbar-item:disabled i.format {
383
+ opacity: 0.2;
384
+ }
385
+
386
+ .toolbar button.toolbar-item.active {
387
+ background-color: rgba(223, 232, 250, 0.3);
388
+ }
389
+
390
+ .toolbar button.toolbar-item.active i {
391
+ opacity: 1;
392
+ }
393
+
394
+ .toolbar .toolbar-item:hover:not([disabled]) {
395
+ background-color: #eee;
396
+ }
397
+
398
+ .toolbar .divider {
399
+ width: 1px;
400
+ background-color: #eee;
401
+ margin: 0 4px;
402
+ }
403
+
404
+ .toolbar select.toolbar-item {
405
+ border: 0;
406
+ display: flex;
407
+ background: none;
408
+ border-radius: 10px;
409
+ padding: 8px;
410
+ vertical-align: middle;
411
+ -webkit-appearance: none;
412
+ -moz-appearance: none;
413
+ width: 70px;
414
+ font-size: 14px;
415
+ color: #777;
416
+ text-overflow: ellipsis;
417
+ }
418
+
419
+ .toolbar select.code-language {
420
+ text-transform: capitalize;
421
+ width: 130px;
422
+ }
423
+
424
+ .toolbar .toolbar-item .text {
425
+ display: flex;
426
+ line-height: 20px;
427
+ width: 200px;
428
+ vertical-align: middle;
429
+ font-size: 14px;
430
+ color: #777;
431
+ text-overflow: ellipsis;
432
+ width: 70px;
433
+ overflow: hidden;
434
+ height: 20px;
435
+ text-align: left;
436
+ }
437
+
438
+ .toolbar .toolbar-item .icon {
439
+ display: flex;
440
+ width: 20px;
441
+ height: 20px;
442
+ user-select: none;
443
+ margin-right: 8px;
444
+ line-height: 16px;
445
+ background-size: contain;
446
+ }
447
+
448
+ .toolbar i.chevron-down {
449
+ margin-top: 3px;
450
+ width: 16px;
451
+ height: 16px;
452
+ display: flex;
453
+ user-select: none;
454
+ }
455
+
456
+ .toolbar i.chevron-down.inside {
457
+ width: 16px;
458
+ height: 16px;
459
+ display: flex;
460
+ margin-left: -25px;
461
+ margin-top: 11px;
462
+ margin-right: 10px;
463
+ pointer-events: none;
464
+ }
465
+
466
+ i.chevron-down {
467
+ background-color: transparent;
468
+ background-size: contain;
469
+ display: inline-block;
470
+ height: 8px;
471
+ width: 8px;
472
+ background-image: url(./images/icons/chevron-down.svg);
473
+ }
474
+
475
+ #block-controls button:hover {
476
+ background-color: #efefef;
477
+ }
478
+
479
+ #block-controls button:focus-visible {
480
+ border-color: blue;
481
+ }
482
+
483
+ #block-controls span.block-type {
484
+ background-size: contain;
485
+ display: block;
486
+ width: 18px;
487
+ height: 18px;
488
+ margin: 2px;
489
+ }
490
+
491
+ #block-controls span.block-type.paragraph {
492
+ background-image: url(./images/icons/text-paragraph.svg);
493
+ }
494
+
495
+ #block-controls span.block-type.h1 {
496
+ background-image: url(./images/icons/type-h1.svg);
497
+ }
498
+
499
+ #block-controls span.block-type.h2 {
500
+ background-image: url(./images/icons/type-h2.svg);
501
+ }
502
+
503
+ #block-controls span.block-type.quote {
504
+ background-image: url(./images/icons/chat-square-quote.svg);
505
+ }
506
+
507
+ #block-controls span.block-type.ul {
508
+ background-image: url(./images/icons/list-ul.svg);
509
+ }
510
+
511
+ #block-controls span.block-type.ol {
512
+ background-image: url(./images/icons/list-ol.svg);
513
+ }
514
+
515
+ #block-controls span.block-type.code {
516
+ background-image: url(./images/icons/code.svg);
517
+ }
518
+
519
+ .dropdown {
520
+ z-index: 5;
521
+ display: block;
522
+ position: absolute;
523
+ box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1),
524
+ inset 0 0 0 1px rgba(255, 255, 255, 0.5);
525
+ border-radius: 8px;
526
+ min-width: 100px;
527
+ min-height: 40px;
528
+ background-color: #fff;
529
+ }
530
+
531
+ .dropdown .item {
532
+ margin: 0 8px 0 8px;
533
+ padding: 8px;
534
+ color: #050505;
535
+ cursor: pointer;
536
+ line-height: 16px;
537
+ font-size: 15px;
538
+ display: flex;
539
+ align-content: center;
540
+ flex-direction: row;
541
+ flex-shrink: 0;
542
+ justify-content: space-between;
543
+ background-color: #fff;
544
+ border-radius: 8px;
545
+ border: 0;
546
+ min-width: 268px;
547
+ }
548
+
549
+ .dropdown .item .active {
550
+ display: flex;
551
+ width: 20px;
552
+ height: 20px;
553
+ background-size: contain;
554
+ }
555
+
556
+ .dropdown .item:first-child {
557
+ margin-top: 8px;
558
+ }
559
+
560
+ .dropdown .item:last-child {
561
+ margin-bottom: 8px;
562
+ }
563
+
564
+ .dropdown .item:hover {
565
+ background-color: #eee;
566
+ }
567
+
568
+ .dropdown .item .text {
569
+ display: flex;
570
+ line-height: 20px;
571
+ flex-grow: 1;
572
+ width: 200px;
573
+ }
574
+
575
+ .dropdown .item .icon {
576
+ display: flex;
577
+ width: 20px;
578
+ height: 20px;
579
+ user-select: none;
580
+ margin-right: 12px;
581
+ line-height: 16px;
582
+ background-size: contain;
583
+ }
584
+
585
+ .link-editor {
586
+ position: absolute;
587
+ z-index: 100;
588
+ top: -10000px;
589
+ left: -10000px;
590
+ margin-top: -6px;
591
+ max-width: 300px;
592
+ width: 100%;
593
+ opacity: 0;
594
+ background-color: #fff;
595
+ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
596
+ border-radius: 8px;
597
+ transition: opacity 0.5s;
598
+ padding:10px;
599
+ }
600
+ .link-editor .MuiFormControl-root {
601
+ margin-top:10px;
602
+ margin-bottom: 10px;
603
+ }
604
+
605
+ i.undo {
606
+ background-image: url(./images/icons/arrow-counterclockwise.svg);
607
+ }
608
+
609
+ i.redo {
610
+ background-image: url(./images/icons/arrow-clockwise.svg);
611
+ }
612
+
613
+ .icon.paragraph {
614
+ background-image: url(./images/icons/text-paragraph.svg);
615
+ }
616
+
617
+ .icon.large-heading,
618
+ .icon.h1 {
619
+ background-image: url(./images/icons/type-h1.svg);
620
+ }
621
+
622
+ .icon.small-heading,
623
+ .icon.h2 {
624
+ background-image: url(./images/icons/type-h2.svg);
625
+ }
626
+
627
+ .icon.h3 {
628
+ background-image: url(./images/icons/type-h3.svg);
629
+ }
630
+
631
+ .icon.h4 {
632
+ background-image: url(./images/icons/type-h4.svg);
633
+ }
634
+
635
+ .icon.bullet-list,
636
+ .icon.ul {
637
+ background-image: url(./images/icons/list-ul.svg);
638
+ }
639
+
640
+ .icon.numbered-list,
641
+ .icon.ol {
642
+ background-image: url(./images/icons/list-ol.svg);
643
+ }
644
+
645
+ .icon.quote {
646
+ background-image: url(./images/icons/chat-square-quote.svg);
647
+ }
648
+
649
+ .icon.code {
650
+ background-image: url(./images/icons/code.svg);
651
+ }
652
+
653
+ i.bold {
654
+ background-image: url(./images/icons/type-bold.svg);
655
+ }
656
+
657
+ i.italic {
658
+ background-image: url(./images/icons/type-italic.svg);
659
+ }
660
+
661
+ i.underline {
662
+ background-image: url(./images/icons/type-underline.svg);
663
+ }
664
+
665
+ i.strikethrough {
666
+ background-image: url(./images/icons/type-strikethrough.svg);
667
+ }
668
+
669
+ i.code {
670
+ background-image: url(./images/icons/code.svg);
671
+ }
672
+
673
+ i.link {
674
+ background-image: url(./images/icons/link.svg);
675
+ }
676
+
677
+ i.left-align {
678
+ background-image: url(./images/icons/text-left.svg);
679
+ }
680
+
681
+ i.center-align {
682
+ background-image: url(./images/icons/text-center.svg);
683
+ }
684
+
685
+ i.right-align {
686
+ background-image: url(./images/icons/text-right.svg);
687
+ }
688
+
689
+ i.justify-align {
690
+ background-image: url(./images/icons/justify.svg);
691
+ }
692
+
693
+ .typeahead-popover {
694
+ background: #fff;
695
+ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
696
+ border-radius: 8px;
697
+ margin-top: 25px;
698
+ }
699
+
700
+ .typeahead-popover ul {
701
+ padding: 0;
702
+ list-style: none;
703
+ margin: 0;
704
+ border-radius: 8px;
705
+ max-height: 200px;
706
+ overflow-y: scroll;
707
+ }
708
+
709
+ .typeahead-popover ul::-webkit-scrollbar {
710
+ display: none;
711
+ }
712
+
713
+ .typeahead-popover ul {
714
+ -ms-overflow-style: none;
715
+ scrollbar-width: none;
716
+ }
717
+
718
+ .typeahead-popover ul li {
719
+ margin: 0;
720
+ min-width: 180px;
721
+ font-size: 14px;
722
+ outline: none;
723
+ cursor: pointer;
724
+ border-radius: 8px;
725
+ }
726
+
727
+ .typeahead-popover ul li.selected {
728
+ background: #eee;
729
+ }
730
+
731
+ .typeahead-popover li {
732
+ margin: 0 8px 0 8px;
733
+ padding: 8px;
734
+ color: #050505;
735
+ cursor: pointer;
736
+ line-height: 16px;
737
+ font-size: 15px;
738
+ display: flex;
739
+ align-content: center;
740
+ flex-direction: row;
741
+ flex-shrink: 0;
742
+ background-color: #fff;
743
+ border-radius: 8px;
744
+ border: 0;
745
+ }
746
+
747
+ .typeahead-popover li.active {
748
+ display: flex;
749
+ width: 20px;
750
+ height: 20px;
751
+ background-size: contain;
752
+ }
753
+
754
+ .typeahead-popover li:first-child {
755
+ border-radius: 8px 8px 0px 0px;
756
+ }
757
+
758
+ .typeahead-popover li:last-child {
759
+ border-radius: 0px 0px 8px 8px;
760
+ }
761
+
762
+ .typeahead-popover li:hover {
763
+ background-color: #eee;
764
+ }
765
+
766
+ .typeahead-popover li .text {
767
+ display: flex;
768
+ line-height: 20px;
769
+ flex-grow: 1;
770
+ min-width: 150px;
771
+ }
772
+
773
+ .typeahead-popover li .icon {
774
+ display: flex;
775
+ width: 20px;
776
+ height: 20px;
777
+ user-select: none;
778
+ margin-right: 8px;
779
+ line-height: 16px;
780
+ background-size: contain;
781
+ background-repeat: no-repeat;
782
+ background-position: center;
783
+ }
784
+
785
+ .emoji-menu {
786
+ width: 200px;
787
+ }