@churchapps/apphelper 0.2.82 → 0.2.84

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 (222) hide show
  1. package/dist/components/B1ShareModal.js +1 -2
  2. package/dist/components/B1ShareModal.js.map +1 -1
  3. package/dist/components/CreatePerson.js +2 -3
  4. package/dist/components/CreatePerson.js.map +1 -1
  5. package/dist/components/DisplayBox.js.map +1 -1
  6. package/dist/components/ErrorMessages.js +17 -7
  7. package/dist/components/ErrorMessages.js.map +1 -1
  8. package/dist/components/ExportLink.js.map +1 -1
  9. package/dist/components/FormCardPayment.js +23 -13
  10. package/dist/components/FormCardPayment.js.map +1 -1
  11. package/dist/components/FormSubmissionEdit.js +17 -7
  12. package/dist/components/FormSubmissionEdit.js.map +1 -1
  13. package/dist/components/ImageEditor.js +18 -9
  14. package/dist/components/ImageEditor.js.map +1 -1
  15. package/dist/components/InputBox.js +1 -2
  16. package/dist/components/InputBox.js.map +1 -1
  17. package/dist/components/Loading.js.map +1 -1
  18. package/dist/components/PersonAdd.js +17 -7
  19. package/dist/components/PersonAdd.js.map +1 -1
  20. package/dist/components/QuestionEdit.js.map +1 -1
  21. package/dist/components/gallery/GalleryModal.js +17 -7
  22. package/dist/components/gallery/GalleryModal.js.map +1 -1
  23. package/dist/components/gallery/StockPhotos.js +17 -7
  24. package/dist/components/gallery/StockPhotos.js.map +1 -1
  25. package/dist/components/header/Banner.d.ts +7 -0
  26. package/dist/components/header/Banner.d.ts.map +1 -0
  27. package/dist/components/header/Banner.js +13 -0
  28. package/dist/components/header/Banner.js.map +1 -0
  29. package/dist/components/header/PrimaryMenu.d.ts +12 -0
  30. package/dist/components/header/PrimaryMenu.d.ts.map +1 -0
  31. package/dist/components/header/PrimaryMenu.js +44 -0
  32. package/dist/components/header/PrimaryMenu.js.map +1 -0
  33. package/dist/components/header/SecondaryMenu.d.ts +11 -0
  34. package/dist/components/header/SecondaryMenu.d.ts.map +1 -0
  35. package/dist/components/header/SecondaryMenu.js +26 -0
  36. package/dist/components/header/SecondaryMenu.js.map +1 -0
  37. package/dist/components/header/SecondaryMenuAlt.d.ts +11 -0
  38. package/dist/components/header/SecondaryMenuAlt.d.ts.map +1 -0
  39. package/dist/components/header/SecondaryMenuAlt.js +32 -0
  40. package/dist/components/header/SecondaryMenuAlt.js.map +1 -0
  41. package/dist/components/header/SiteHeader.d.ts +20 -0
  42. package/dist/components/header/SiteHeader.d.ts.map +1 -0
  43. package/dist/components/header/SiteHeader.js +39 -0
  44. package/dist/components/header/SiteHeader.js.map +1 -0
  45. package/dist/components/header/index.d.ts +3 -0
  46. package/dist/components/header/index.d.ts.map +1 -0
  47. package/dist/components/header/index.js +8 -0
  48. package/dist/components/header/index.js.map +1 -0
  49. package/dist/components/iconPicker/IconPicker.js +18 -9
  50. package/dist/components/iconPicker/IconPicker.js.map +1 -1
  51. package/dist/components/index.d.ts +1 -0
  52. package/dist/components/index.d.ts.map +1 -1
  53. package/dist/components/index.js +1 -0
  54. package/dist/components/index.js.map +1 -1
  55. package/dist/components/markdownEditor/Editor.js.map +1 -1
  56. package/dist/components/markdownEditor/MarkdownEditor.js +18 -9
  57. package/dist/components/markdownEditor/MarkdownEditor.js.map +1 -1
  58. package/dist/components/markdownEditor/MarkdownModal.js +17 -7
  59. package/dist/components/markdownEditor/MarkdownModal.js.map +1 -1
  60. package/dist/components/markdownEditor/MarkdownPreview.js +18 -9
  61. package/dist/components/markdownEditor/MarkdownPreview.js.map +1 -1
  62. package/dist/components/markdownEditor/MarkdownPreviewLight.js +1 -2
  63. package/dist/components/markdownEditor/MarkdownPreviewLight.js.map +1 -1
  64. package/dist/components/markdownEditor/plugins/AutoLinkPlugin.js +1 -2
  65. package/dist/components/markdownEditor/plugins/AutoLinkPlugin.js.map +1 -1
  66. package/dist/components/markdownEditor/plugins/ControlledEditorPlugin.js +1 -2
  67. package/dist/components/markdownEditor/plugins/ControlledEditorPlugin.js.map +1 -1
  68. package/dist/components/markdownEditor/plugins/ListMaxIndentLevelPlugin.js +1 -2
  69. package/dist/components/markdownEditor/plugins/ListMaxIndentLevelPlugin.js.map +1 -1
  70. package/dist/components/markdownEditor/plugins/MarkdownTransformers.js.map +1 -1
  71. package/dist/components/markdownEditor/plugins/ReadOnlyPlugin.js +1 -2
  72. package/dist/components/markdownEditor/plugins/ReadOnlyPlugin.js.map +1 -1
  73. package/dist/components/markdownEditor/plugins/ToolbarPlugin.js +2 -3
  74. package/dist/components/markdownEditor/plugins/ToolbarPlugin.js.map +1 -1
  75. package/dist/components/markdownEditor/plugins/customLink/CustomLinkNode.d.ts.map +1 -1
  76. package/dist/components/markdownEditor/plugins/customLink/CustomLinkNode.js +3 -3
  77. package/dist/components/markdownEditor/plugins/customLink/CustomLinkNode.js.map +1 -1
  78. package/dist/components/markdownEditor/plugins/customLink/CustomLinkNodeTransformer.js.map +1 -1
  79. package/dist/components/markdownEditor/plugins/customLink/FloatingLinkEditor.js +17 -7
  80. package/dist/components/markdownEditor/plugins/customLink/FloatingLinkEditor.js.map +1 -1
  81. package/dist/components/markdownEditor/plugins/emoji/EmojiNode.js +4 -4
  82. package/dist/components/markdownEditor/plugins/emoji/EmojiNode.js.map +1 -1
  83. package/dist/components/markdownEditor/plugins/emoji/EmojiNodeTransform.js.map +1 -1
  84. package/dist/components/markdownEditor/plugins/emoji/EmojiPickerPlugin.js +18 -8
  85. package/dist/components/markdownEditor/plugins/emoji/EmojiPickerPlugin.js.map +1 -1
  86. package/dist/components/markdownEditor/plugins/emoji/EmojisPlugin.d.ts +0 -1
  87. package/dist/components/markdownEditor/plugins/emoji/EmojisPlugin.d.ts.map +1 -1
  88. package/dist/components/markdownEditor/plugins/emoji/EmojisPlugin.js +1 -1
  89. package/dist/components/markdownEditor/plugins/emoji/EmojisPlugin.js.map +1 -1
  90. package/dist/components/notes/AddNote.js +18 -9
  91. package/dist/components/notes/AddNote.js.map +1 -1
  92. package/dist/components/notes/Conversation.js +1 -2
  93. package/dist/components/notes/Conversation.js.map +1 -1
  94. package/dist/components/notes/Conversations.js +1 -2
  95. package/dist/components/notes/Conversations.js.map +1 -1
  96. package/dist/components/notes/NewConversation.js +1 -2
  97. package/dist/components/notes/NewConversation.js.map +1 -1
  98. package/dist/components/notes/Note.js +17 -7
  99. package/dist/components/notes/Note.js.map +1 -1
  100. package/dist/components/notes/Notes.js +1 -2
  101. package/dist/components/notes/Notes.js.map +1 -1
  102. package/dist/components/reporting/ChartReport.js.map +1 -1
  103. package/dist/components/reporting/ReportFilter.js.map +1 -1
  104. package/dist/components/reporting/ReportFilterField.js.map +1 -1
  105. package/dist/components/reporting/ReportOutput.js +17 -7
  106. package/dist/components/reporting/ReportOutput.js.map +1 -1
  107. package/dist/components/reporting/ReportWithFilter.js.map +1 -1
  108. package/dist/components/reporting/TreeReport.js.map +1 -1
  109. package/dist/components/wrapper/ChurchList.js +17 -7
  110. package/dist/components/wrapper/ChurchList.js.map +1 -1
  111. package/dist/components/wrapper/Drawers.d.ts +8 -21
  112. package/dist/components/wrapper/Drawers.d.ts.map +1 -1
  113. package/dist/components/wrapper/NavItem.js.map +1 -1
  114. package/dist/components/wrapper/NewPrivateMessage.js +17 -7
  115. package/dist/components/wrapper/NewPrivateMessage.js.map +1 -1
  116. package/dist/components/wrapper/Notifications.js +17 -7
  117. package/dist/components/wrapper/Notifications.js.map +1 -1
  118. package/dist/components/wrapper/PrivateMessages.js +17 -7
  119. package/dist/components/wrapper/PrivateMessages.js.map +1 -1
  120. package/dist/components/wrapper/SiteWrapper.js.map +1 -1
  121. package/dist/components/wrapper/TabPanel.js +1 -2
  122. package/dist/components/wrapper/TabPanel.js.map +1 -1
  123. package/dist/donationComponents/DonationPage.js +2 -2
  124. package/dist/donationComponents/DonationPage.js.map +1 -1
  125. package/dist/donationComponents/components/BankForm.js.map +1 -1
  126. package/dist/donationComponents/components/CardForm.js +17 -7
  127. package/dist/donationComponents/components/CardForm.js.map +1 -1
  128. package/dist/donationComponents/components/DonationForm.js +5 -5
  129. package/dist/donationComponents/components/DonationForm.js.map +1 -1
  130. package/dist/donationComponents/components/FundDonation.js.map +1 -1
  131. package/dist/donationComponents/components/FundDonations.js.map +1 -1
  132. package/dist/donationComponents/components/NonAuthDonation.js.map +1 -1
  133. package/dist/donationComponents/components/NonAuthDonationInner.js +22 -12
  134. package/dist/donationComponents/components/NonAuthDonationInner.js.map +1 -1
  135. package/dist/donationComponents/components/PaymentMethods.js.map +1 -1
  136. package/dist/donationComponents/components/RecurringDonations.js.map +1 -1
  137. package/dist/donationComponents/components/RecurringDonationsEdit.js.map +1 -1
  138. package/dist/helpers/AnalyticsHelper.js.map +1 -1
  139. package/dist/helpers/ApiHelper.js.map +1 -1
  140. package/dist/helpers/AppearanceHelper.js.map +1 -1
  141. package/dist/helpers/ArrayHelper.js.map +1 -1
  142. package/dist/helpers/CommonEnvironmentHelper.js.map +1 -1
  143. package/dist/helpers/DateHelper.js.map +1 -1
  144. package/dist/helpers/DonationHelper.js.map +1 -1
  145. package/dist/helpers/ErrorHelper.d.ts.map +1 -1
  146. package/dist/helpers/ErrorHelper.js.map +1 -1
  147. package/dist/helpers/EventHelper.js.map +1 -1
  148. package/dist/helpers/FileHelper.d.ts.map +1 -1
  149. package/dist/helpers/FileHelper.js.map +1 -1
  150. package/dist/helpers/Locale.js.map +1 -1
  151. package/dist/helpers/PersonHelper.js.map +1 -1
  152. package/dist/helpers/ReportHelper.js.map +1 -1
  153. package/dist/helpers/SlugHelper.js.map +1 -1
  154. package/dist/helpers/SocketHelper.d.ts.map +1 -1
  155. package/dist/helpers/SocketHelper.js.map +1 -1
  156. package/dist/helpers/UniqueIdHelper.js.map +1 -1
  157. package/dist/helpers/UserHelper.js.map +1 -1
  158. package/dist/helpers/createEmotionCache.d.ts +1 -1
  159. package/dist/helpers/createEmotionCache.js +1 -2
  160. package/dist/helpers/createEmotionCache.js.map +1 -1
  161. package/dist/pageComponents/LoginPage.js +20 -10
  162. package/dist/pageComponents/LoginPage.js.map +1 -1
  163. package/dist/pageComponents/LogoutPage.js.map +1 -1
  164. package/dist/pageComponents/components/Forgot.js.map +1 -1
  165. package/dist/pageComponents/components/Login.js +17 -7
  166. package/dist/pageComponents/components/Login.js.map +1 -1
  167. package/dist/pageComponents/components/LoginSetPassword.js +17 -7
  168. package/dist/pageComponents/components/LoginSetPassword.js.map +1 -1
  169. package/dist/pageComponents/components/Register.js.map +1 -1
  170. package/dist/pageComponents/components/SelectChurchRegister.js.map +1 -1
  171. package/dist/pageComponents/components/SelectChurchSearch.js.map +1 -1
  172. package/dist/pageComponents/components/SelectableChurch.js.map +1 -1
  173. package/package.json +1 -1
  174. package/src/components/header/Banner.tsx +13 -0
  175. package/src/components/header/PrimaryMenu.tsx +56 -0
  176. package/src/components/header/SecondaryMenu.tsx +26 -0
  177. package/src/components/header/SecondaryMenuAlt.tsx +40 -0
  178. package/src/components/header/SiteHeader.tsx +53 -0
  179. package/src/components/header/index.tsx +2 -0
  180. package/src/components/index.tsx +1 -0
  181. package/src/donationComponents/DonationPage.tsx +2 -2
  182. package/dist/components/markdownEditor/editor.css +0 -787
  183. package/dist/components/markdownEditor/images/emoji/1F600.png +0 -0
  184. package/dist/components/markdownEditor/images/emoji/1F641.png +0 -0
  185. package/dist/components/markdownEditor/images/emoji/1F642.png +0 -0
  186. package/dist/components/markdownEditor/images/emoji/2764.png +0 -0
  187. package/dist/components/markdownEditor/images/icons/arrow-clockwise.svg +0 -4
  188. package/dist/components/markdownEditor/images/icons/arrow-counterclockwise.svg +0 -4
  189. package/dist/components/markdownEditor/images/icons/chat-square-quote.svg +0 -4
  190. package/dist/components/markdownEditor/images/icons/chevron-down.svg +0 -3
  191. package/dist/components/markdownEditor/images/icons/code.svg +0 -3
  192. package/dist/components/markdownEditor/images/icons/journal-code.svg +0 -5
  193. package/dist/components/markdownEditor/images/icons/journal-text.svg +0 -5
  194. package/dist/components/markdownEditor/images/icons/justify.svg +0 -3
  195. package/dist/components/markdownEditor/images/icons/link.svg +0 -4
  196. package/dist/components/markdownEditor/images/icons/list-ol.svg +0 -4
  197. package/dist/components/markdownEditor/images/icons/list-ul.svg +0 -3
  198. package/dist/components/markdownEditor/images/icons/pencil-fill.svg +0 -3
  199. package/dist/components/markdownEditor/images/icons/text-center.svg +0 -3
  200. package/dist/components/markdownEditor/images/icons/text-left.svg +0 -3
  201. package/dist/components/markdownEditor/images/icons/text-paragraph.svg +0 -3
  202. package/dist/components/markdownEditor/images/icons/text-right.svg +0 -3
  203. package/dist/components/markdownEditor/images/icons/type-bold.svg +0 -3
  204. package/dist/components/markdownEditor/images/icons/type-h1.svg +0 -3
  205. package/dist/components/markdownEditor/images/icons/type-h2.svg +0 -3
  206. package/dist/components/markdownEditor/images/icons/type-h3.svg +0 -3
  207. package/dist/components/markdownEditor/images/icons/type-h4.svg +0 -13
  208. package/dist/components/markdownEditor/images/icons/type-italic.svg +0 -3
  209. package/dist/components/markdownEditor/images/icons/type-strikethrough.svg +0 -3
  210. package/dist/components/markdownEditor/images/icons/type-underline.svg +0 -3
  211. package/dist/public/locales/de.json +0 -270
  212. package/dist/public/locales/en.json +0 -275
  213. package/dist/public/locales/es.json +0 -272
  214. package/dist/public/locales/fr.json +0 -270
  215. package/dist/public/locales/hi.json +0 -270
  216. package/dist/public/locales/it.json +0 -270
  217. package/dist/public/locales/ko.json +0 -270
  218. package/dist/public/locales/no.json +0 -270
  219. package/dist/public/locales/pt.json +0 -270
  220. package/dist/public/locales/ru.json +0 -270
  221. package/dist/public/locales/tl.json +0 -270
  222. package/dist/public/locales/zh.json +0 -270
@@ -1,787 +0,0 @@
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: 1301;
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: 1301;
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
- }