@syncfusion/ej2-richtexteditor 18.1.52 → 18.2.44-4568

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 (177) hide show
  1. package/CHANGELOG.md +614 -572
  2. package/README.md +67 -67
  3. package/dist/ej2-richtexteditor.umd.min.js +1 -10
  4. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es2015.js +353 -136
  6. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-richtexteditor.es5.js +364 -147
  8. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  9. package/license +9 -9
  10. package/package.json +50 -73
  11. package/src/common/interface.d.ts +6 -6
  12. package/src/editor-manager/base/classes.d.ts +1 -1
  13. package/src/editor-manager/base/classes.js +1 -1
  14. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  15. package/src/editor-manager/base/editor-manager.js +3 -3
  16. package/src/editor-manager/base/interface.d.ts +7 -7
  17. package/src/editor-manager/base/types.d.ts +1 -1
  18. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  19. package/src/editor-manager/plugin/alignments.js +2 -2
  20. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  21. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  22. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  23. package/src/editor-manager/plugin/clearformat.js +1 -1
  24. package/src/editor-manager/plugin/dom-node.d.ts +34 -34
  25. package/src/editor-manager/plugin/dom-node.js +34 -34
  26. package/src/editor-manager/plugin/formats.d.ts +2 -2
  27. package/src/editor-manager/plugin/formats.js +2 -2
  28. package/src/editor-manager/plugin/image.d.ts +3 -3
  29. package/src/editor-manager/plugin/image.js +3 -3
  30. package/src/editor-manager/plugin/indents.d.ts +2 -2
  31. package/src/editor-manager/plugin/indents.js +2 -2
  32. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  33. package/src/editor-manager/plugin/insert-methods.js +4 -4
  34. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  35. package/src/editor-manager/plugin/insert-text.js +2 -2
  36. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  37. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  38. package/src/editor-manager/plugin/inserthtml.d.ts +4 -2
  39. package/src/editor-manager/plugin/inserthtml.js +42 -6
  40. package/src/editor-manager/plugin/isformatted.d.ts +8 -8
  41. package/src/editor-manager/plugin/isformatted.js +8 -8
  42. package/src/editor-manager/plugin/link.d.ts +2 -2
  43. package/src/editor-manager/plugin/link.js +2 -2
  44. package/src/editor-manager/plugin/lists.d.ts +2 -2
  45. package/src/editor-manager/plugin/lists.js +4 -14
  46. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +1 -1
  47. package/src/editor-manager/plugin/ms-word-clean-up.js +1 -1
  48. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  49. package/src/editor-manager/plugin/nodecutter.js +6 -6
  50. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  51. package/src/editor-manager/plugin/selection-commands.js +1 -1
  52. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  53. package/src/editor-manager/plugin/selection-exec.js +2 -2
  54. package/src/editor-manager/plugin/table.d.ts +2 -2
  55. package/src/editor-manager/plugin/table.js +2 -2
  56. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  57. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  58. package/src/editor-manager/plugin/undo.d.ts +6 -6
  59. package/src/editor-manager/plugin/undo.js +6 -6
  60. package/src/markdown-parser/base/interface.d.ts +10 -10
  61. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  62. package/src/markdown-parser/base/markdown-parser.js +3 -3
  63. package/src/markdown-parser/base/types.d.ts +1 -1
  64. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  65. package/src/markdown-parser/plugin/clearformat.js +2 -2
  66. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  67. package/src/markdown-parser/plugin/formats.js +2 -2
  68. package/src/markdown-parser/plugin/link.d.ts +2 -2
  69. package/src/markdown-parser/plugin/link.js +2 -2
  70. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  71. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  72. package/src/markdown-parser/plugin/md-selection-formats.d.ts +2 -2
  73. package/src/markdown-parser/plugin/md-selection-formats.js +2 -2
  74. package/src/markdown-parser/plugin/table.d.ts +3 -3
  75. package/src/markdown-parser/plugin/table.js +3 -3
  76. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  77. package/src/markdown-parser/plugin/undo.js +6 -6
  78. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  79. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  80. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  81. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  82. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  83. package/src/rich-text-editor/actions/color-picker.js +2 -2
  84. package/src/rich-text-editor/actions/count.d.ts +3 -3
  85. package/src/rich-text-editor/actions/count.js +3 -3
  86. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  87. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  88. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  89. package/src/rich-text-editor/actions/full-screen.js +3 -3
  90. package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
  91. package/src/rich-text-editor/actions/html-editor.js +3 -3
  92. package/src/rich-text-editor/actions/keyboard-model.d.ts +13 -13
  93. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  94. package/src/rich-text-editor/actions/keyboard.js +1 -1
  95. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  96. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  97. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
  98. package/src/rich-text-editor/actions/paste-clean-up.js +34 -3
  99. package/src/rich-text-editor/actions/quick-toolbar.d.ts +19 -9
  100. package/src/rich-text-editor/actions/quick-toolbar.js +17 -7
  101. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  102. package/src/rich-text-editor/actions/toolbar.js +13 -13
  103. package/src/rich-text-editor/base/classes.d.ts +102 -102
  104. package/src/rich-text-editor/base/classes.js +102 -102
  105. package/src/rich-text-editor/base/constant.d.ts +111 -101
  106. package/src/rich-text-editor/base/constant.js +111 -101
  107. package/src/rich-text-editor/base/enum.d.ts +1 -1
  108. package/src/rich-text-editor/base/enum.js +1 -1
  109. package/src/rich-text-editor/base/interface.d.ts +51 -40
  110. package/src/rich-text-editor/base/interface.js +1 -1
  111. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +659 -641
  112. package/src/rich-text-editor/base/rich-text-editor.d.ts +84 -52
  113. package/src/rich-text-editor/base/rich-text-editor.js +100 -43
  114. package/src/rich-text-editor/base/util.d.ts +1 -1
  115. package/src/rich-text-editor/base/util.js +1 -1
  116. package/src/rich-text-editor/formatter/formatter.d.ts +9 -8
  117. package/src/rich-text-editor/formatter/formatter.js +10 -8
  118. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  119. package/src/rich-text-editor/formatter/html-formatter.js +2 -2
  120. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  121. package/src/rich-text-editor/formatter/markdown-formatter.js +2 -2
  122. package/src/rich-text-editor/models/iframe-settings-model.d.ts +21 -21
  123. package/src/rich-text-editor/models/inline-mode-model.d.ts +9 -9
  124. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +228 -228
  125. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  126. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  127. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +3 -2
  128. package/src/rich-text-editor/renderer/dialog-renderer.js +8 -8
  129. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  130. package/src/rich-text-editor/renderer/iframe-content-renderer.js +4 -4
  131. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  132. package/src/rich-text-editor/renderer/image-module.js +96 -29
  133. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  134. package/src/rich-text-editor/renderer/link-module.js +1 -1
  135. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  136. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  137. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  138. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  139. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  140. package/src/rich-text-editor/renderer/render.js +2 -2
  141. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  142. package/src/rich-text-editor/renderer/table-module.js +5 -3
  143. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +8 -8
  144. package/src/rich-text-editor/renderer/toolbar-renderer.js +21 -9
  145. package/src/rich-text-editor/renderer/view-source.d.ts +6 -6
  146. package/src/rich-text-editor/renderer/view-source.js +6 -6
  147. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  148. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  149. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  150. package/src/rich-text-editor/services/service-locator.js +3 -3
  151. package/src/selection/selection.d.ts +22 -22
  152. package/src/selection/selection.js +22 -22
  153. package/styles/_all.scss +2 -2
  154. package/styles/rich-text-editor/_all.scss +2 -2
  155. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +151 -151
  156. package/styles/rich-text-editor/_bootstrap-definition.scss +184 -184
  157. package/styles/rich-text-editor/_bootstrap4-definition.scss +307 -307
  158. package/styles/rich-text-editor/_fabric-dark-definition.scss +150 -150
  159. package/styles/rich-text-editor/_fabric-definition.scss +148 -148
  160. package/styles/rich-text-editor/_highcontrast-definition.scss +148 -148
  161. package/styles/rich-text-editor/_highcontrast-light-definition.scss +148 -148
  162. package/styles/rich-text-editor/_layout.scss +1332 -1332
  163. package/styles/rich-text-editor/_material-dark-definition.scss +151 -151
  164. package/styles/rich-text-editor/_material-definition.scss +150 -150
  165. package/styles/rich-text-editor/_theme.scss +484 -484
  166. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +285 -285
  167. package/styles/rich-text-editor/icons/_bootstrap.scss +284 -284
  168. package/styles/rich-text-editor/icons/_bootstrap4.scss +284 -284
  169. package/styles/rich-text-editor/icons/_fabric-dark.scss +284 -284
  170. package/styles/rich-text-editor/icons/_fabric.scss +284 -284
  171. package/styles/rich-text-editor/icons/_highcontrast-light.scss +284 -284
  172. package/styles/rich-text-editor/icons/_highcontrast.scss +284 -284
  173. package/styles/rich-text-editor/icons/_material-dark.scss +284 -284
  174. package/styles/rich-text-editor/icons/_material.scss +284 -284
  175. package/dist/global/ej2-richtexteditor.min.js +0 -11
  176. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  177. package/dist/global/index.d.ts +0 -14
@@ -1,1332 +1,1332 @@
1
- @include export-module('richtexteditor-layout') {
2
- /*! tab layout */
3
-
4
- .e-bigger #{&}.e-richtexteditor,
5
- #{&}.e-richtexteditor.e-bigger {
6
-
7
- .e-rte-toolbar {
8
-
9
- .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
10
- margin-left: $rte-big-tb-items-margin-left;
11
- }
12
- }
13
-
14
- &.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
15
- margin-left: 0;
16
- margin-right: $rte-big-tb-items-margin-left;
17
- }
18
-
19
- .e-rte-toolbar,
20
- .e-rte-toolbar.e-toolbar.e-extended-toolbar {
21
-
22
- .e-toolbar-extended {
23
- padding-left: $rte-big-tb-items-padding-left;
24
- }
25
-
26
- .e-toolbar-items,
27
- .e-toolbar-extended {
28
-
29
- .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon:not(.e-caret) {
30
- font-size: 18px;
31
- }
32
-
33
- .e-toolbar-item .e-font-color .e-selected-color.e-icons::before,
34
- .e-toolbar-item .e-background-color .e-selected-color.e-icons::before {
35
- top: -20px;
36
- }
37
-
38
- .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn {
39
- padding-left: $rte-big-drop-btn-padding-left;
40
- padding-right: $rte-big-drop-btn-padding-right;
41
- }
42
-
43
- .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn:hover,
44
- .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn:focus,
45
- .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn:active {
46
- padding-left: $rte-big-drop-btn-action-padding-left;
47
- padding-right: $rte-big-drop-btn-action-padding-right;
48
- }
49
-
50
- .e-toolbar-item.e-active .e-tbar-btn.e-btn {
51
- padding: $rte-big-active-tb-item-btn-padding;
52
- }
53
-
54
- .e-toolbar-item .e-rte-fontcolor-dropdown.e-active .e-rte-color-content,
55
- .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active .e-rte-color-content {
56
- line-height: $rte-big-split-btn-active-color-icon-line-height;
57
- }
58
- }
59
-
60
- .e-dropdown-btn .e-caret {
61
- font-size: $rte-big-dropdown-caret-icon-size;
62
- }
63
- }
64
- }
65
-
66
- #{&}.e-richtexteditor {
67
- color: $rte-content-color;
68
- display: block;
69
- position: relative;
70
-
71
- & textarea.e-content {
72
- border: 0;
73
- display: block;
74
- height: 100%;
75
- margin: 0;
76
- outline: 0;
77
- padding: 8px;
78
- resize: none;
79
- width: 100%;
80
- }
81
-
82
- & .e-rte-hidden {
83
- border: 0;
84
- display: block;
85
- height: 0;
86
- margin: 0;
87
- outline: 0;
88
- padding: 0;
89
- resize: none;
90
- visibility: hidden;
91
- width: 0;
92
- }
93
-
94
- &.e-disabled {
95
- pointer-events: none;
96
- }
97
-
98
- &.e-rte-full-screen {
99
- bottom: 0;
100
- height: 100% !important; // sass-lint:disable-line no-important
101
- left: 0;
102
- position: fixed;
103
- right: 0;
104
- top: 0;
105
- width: 100% !important; // sass-lint:disable-line no-important
106
- z-index: 999;
107
- }
108
-
109
- &.e-rtl .e-rte-character-count {
110
- left: 0;
111
- padding-left: 30px;
112
- padding-right: unset;
113
- right: unset;
114
- }
115
-
116
- .e-rte-toolbar {
117
-
118
- .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
119
- margin-left: $rte-tb-items-margin-left;
120
- }
121
- }
122
-
123
- &.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
124
- margin-left: 0;
125
- margin-right: $rte-tb-items-margin-left;
126
- }
127
-
128
- .e-rte-toolbar.e-rte-tb-mobile .e-toolbar-multirow {
129
- margin-left: 0;
130
- margin-right: 0;
131
- overflow-x: auto;
132
- white-space: nowrap;
133
- width: 100%;
134
- }
135
-
136
- .e-rte-toolbar,
137
- .e-rte-toolbar.e-toolbar.e-extended-toolbar {
138
- z-index: 101;
139
-
140
- .e-toolbar-extended {
141
- margin-left: 0;
142
- padding-left: $rte-tb-items-padding-left;
143
- }
144
-
145
- .e-toolbar-items,
146
- .e-toolbar-extended {
147
-
148
- .e-toolbar-item {
149
-
150
- .e-formats-tbar-btn > :first-child {
151
- min-width: $rte-format-btn-min-width;
152
- }
153
-
154
- .e-font-name-tbar-btn > :first-child {
155
- min-width: $rte-font-name-btn-min-width;
156
- }
157
-
158
- .e-font-size-tbar-btn > :first-child {
159
- min-width: $rte-font-size-btn-min-width;
160
- }
161
-
162
- .e-dropdown-btn {
163
- padding-left: $rte-drop-btn-padding-left;
164
- padding-right: $rte-drop-btn-padding-right;
165
-
166
- .e-rte-dropdown-btn-text {
167
- font-weight: 500;
168
- overflow: hidden;
169
- text-overflow: ellipsis;
170
- white-space: nowrap;
171
- }
172
- }
173
-
174
- .e-dropdown-btn:hover,
175
- .e-dropdown-btn:focus,
176
- .e-dropdown-btn:active {
177
- padding-left: $rte-drop-btn-action-padding-left;
178
- padding-right: $rte-drop-btn-action-padding-right;
179
- }
180
-
181
- .e-font-color .e-selected-color.e-icons::before {
182
-
183
- font-size: 12px;
184
- position: relative;
185
- top: -18px;
186
- }
187
-
188
- .e-font-color.e-icons::before {
189
- font-size: 13px;
190
- }
191
-
192
- .e-background-color.e-icons::before {
193
- display: inline;
194
- font-size: 14px;
195
- }
196
-
197
- .e-rte-fontcolor-dropdown.e-active .e-rte-color-content,
198
- .e-rte-backgroundcolor-dropdown.e-active .e-rte-color-content {
199
- line-height: $rte-split-btn-active-color-icon-line-height;
200
- }
201
-
202
- .e-tbar-btn {
203
-
204
- .e-icons.e-btn-icon:not(.e-caret) {
205
- font-size: 16px;
206
- }
207
- }
208
-
209
- &.e-active .e-tbar-btn.e-btn {
210
- padding: $rte-active-tb-item-btn-padding;
211
- }
212
- }
213
- }
214
-
215
- &.e-control[class*='e-toolbar'] {
216
- box-sizing: border-box;
217
- }
218
-
219
- .e-toolbar-extended.e-visible {
220
- display: block;
221
- visibility: hidden;
222
- }
223
-
224
- &.e-tbar-ios-fixed.e-rte-tb-fixed {
225
- top: 0;
226
- transform: translate3d(0, 0, 0);
227
- }
228
-
229
- &.e-rte-tb-fixed:not(.e-tbar-ios-fixed) {
230
- bottom: 0;
231
- }
232
-
233
- &.e-rte-tb-fixed {
234
- display: none;
235
- left: 0;
236
- position: fixed;
237
- right: 0;
238
-
239
- &.e-show {
240
- display: block;
241
- z-index: 101;
242
- }
243
- }
244
-
245
- &.e-rte-tb-float {
246
- position: fixed;
247
- top: 0;
248
-
249
- &.e-rte-tb-abs-float {
250
- position: absolute;
251
- }
252
- }
253
-
254
- .e-dropdown-btn .e-caret {
255
- font-size: $rte-dropdown-caret-icon-size;
256
- }
257
- }
258
-
259
- .rte-placeholder {
260
- color: $rte-content-font-color;
261
- line-height: $rte-placeholder-line-height;
262
- opacity: 00.54;
263
- overflow: hidden;
264
- position: absolute;
265
- text-align: start;
266
- top: 0;
267
- z-index: 1;
268
- }
269
-
270
- .e-rte-content {
271
- position: relative;
272
- z-index: 1;
273
- }
274
-
275
- .e-rte-content,
276
- .e-source-content {
277
- // sass-lint:disable no-vendor-prefixes
278
- -webkit-overflow-scrolling: touch; //iOS devices scrolling smooth
279
- // sass-lint:enabled no-vendor-prefixes
280
- overflow: auto;
281
- transition: 100ms ease-out;
282
- width: 100%;
283
-
284
- .e-content {
285
- background: unset;
286
- box-sizing: border-box;
287
- height: 100%;
288
- min-height: 100px;
289
- outline: 0 solid transparent;
290
- overflow-x: auto;
291
- padding: 16px;
292
- position: relative;
293
- text-align: inherit;
294
- z-index: 2;
295
-
296
- @media screen and (min-width: 992px) {
297
- font-size: $rte-content-font-size;
298
- }
299
- }
300
-
301
- .e-content p {
302
- margin: 0 0 10px;
303
- margin-bottom: 10px;
304
- }
305
-
306
- .e-content li {
307
- margin-bottom: 10px;
308
- }
309
-
310
- .e-content h1 {
311
- font-size: 2.17em;
312
- font-weight: 400;
313
- line-height: 1;
314
- margin: 10px 0;
315
- }
316
-
317
- .e-content h2 {
318
- font-size: 1.74em;
319
- font-weight: 400;
320
- margin: 10px 0;
321
- }
322
-
323
- .e-content h3 {
324
- font-size: 1.31em;
325
- font-weight: 400;
326
- margin: 10px 0;
327
- }
328
-
329
- .e-content h4 {
330
- font-size: 1em;
331
- font-weight: 400;
332
- margin: 0;
333
- }
334
-
335
- .e-content h5 {
336
- font-size: 00.8em;
337
- font-weight: 400;
338
- margin: 0;
339
- }
340
-
341
- .e-content h6 {
342
- font-size: 00.65em;
343
- font-weight: 400;
344
- margin: 0;
345
- }
346
-
347
- .e-content blockquote {
348
- margin: 10px 0;
349
- margin-left: 0;
350
- padding-left: 5px;
351
- }
352
-
353
- .e-content pre {
354
- background-color: inherit;
355
- border: 0;
356
- border-radius: 0;
357
- color: $rte-content-color;
358
- font-size: inherit;
359
- line-height: inherit;
360
- margin: 0 0 10px;
361
- overflow: visible;
362
- padding: 0;
363
- white-space: pre-wrap;
364
- word-break: inherit;
365
- word-wrap: break-word;
366
- }
367
-
368
- .e-content strong,
369
- .e-content b {
370
- font-weight: 700;
371
- }
372
-
373
- .e-content a {
374
- text-decoration: none;
375
- user-select: auto;
376
- }
377
-
378
- .e-content a:hover {
379
- text-decoration: underline;
380
- }
381
-
382
- .e-content p:last-child,
383
- .e-content pre:last-child,
384
- .e-content blockquote:last-child {
385
- margin-bottom: 0;
386
- }
387
-
388
- .e-content h3+h4,
389
- .e-content h4+h5,
390
- .e-content h5+h6 {
391
- margin-top: 00.6em;
392
- }
393
-
394
- .e-content ul:last-child {
395
- margin-bottom: 0;
396
- }
397
-
398
- }
399
-
400
- .e-rte-character-count {
401
- bottom: 0;
402
- color: $rte-default-character-count-color;
403
- font-family: 'Times New Roman', Georgia, Serif;
404
- font-size: 14px;
405
- opacity: 00.54;
406
- padding-bottom: 2px;
407
- padding-right: 30px;
408
- position: absolute;
409
- right: 0;
410
- z-index: 100;
411
-
412
- &.e-warning {
413
- color: $rte-warning-character-count-color;
414
- opacity: unset;
415
- }
416
-
417
- &.e-error {
418
- color: $rte-error-character-count-color;
419
- opacity: unset;
420
- }
421
-
422
- }
423
-
424
- .e-rte-srctextarea {
425
- background-color: transparent;
426
- border: 0;
427
- color: $rte-content-color;
428
- display: block;
429
- height: 100%;
430
- line-height: 22px;
431
- min-height: 200px;
432
- overflow: auto;
433
- padding: 16px;
434
- resize: none;
435
- transition: 100ms ease-out;
436
- width: 100%;
437
- }
438
-
439
- img::selection {
440
- background: transparent;
441
- color: transparent;
442
- }
443
-
444
- .e-resize-handle {
445
- height: $rte-resize-handler-height;
446
- position: absolute;
447
- width: $rte-resize-handler-width;
448
-
449
- &.e-south-east {
450
- bottom: $rte-resize-handler-position;
451
- cursor: nwse-resize;
452
- right: $rte-resize-handler-position;
453
- z-index: 100;
454
- }
455
- }
456
- }
457
-
458
- .e-rte-linkcontent .e-rte-label {
459
- padding-top: $rte-insert-dialog-label-padding-top;
460
- }
461
-
462
- .e-rte-label label {
463
- font-weight: normal;
464
- }
465
-
466
- .e-rte-linkcontent .e-rte-label:first-child {
467
- padding-top: 0;
468
- }
469
-
470
- .e-bigger .e-rte-dropdown-popup {
471
-
472
- ul {
473
- min-width: 84px;
474
- }
475
- }
476
-
477
- .e-rte-dropdown-popup {
478
-
479
- &.e-rte-inline-dropdown {
480
-
481
- @media screen and (max-width: 768px) {
482
- ul {
483
- padding: 7px 0;
484
-
485
- li.e-item {
486
- height: 34px;
487
- line-height: 34px;
488
- padding: 0 6.5px;
489
- }
490
-
491
- .e-item .e-menu-icon {
492
- float: none;
493
- }
494
- }
495
- }
496
-
497
- &.e-rte-dropdown-icons.e-dropdown-popup {
498
-
499
- @media screen and (max-width: 768px) {
500
- max-height: 280px;
501
-
502
- ul {
503
- display: inline-flex;
504
- }
505
- }
506
- }
507
-
508
- }
509
-
510
- ul {
511
- min-width: 82px;
512
-
513
- .e-item {
514
-
515
- .e-menu-icon {
516
- margin: 0 6px;
517
- width: auto;
518
- }
519
-
520
- &.e-h1 {
521
- font-size: 2em;
522
- font-weight: bold;
523
- height: 40px;
524
- line-height: 40px;
525
- }
526
-
527
- &.e-h2 {
528
- font-size: 1.5em;
529
- font-weight: bold;
530
- height: 40px;
531
- line-height: 40px;
532
- }
533
-
534
- &.e-h3 {
535
- font-size: 1.16em;
536
- font-weight: bold;
537
- }
538
-
539
- &.e-h4 {
540
- font-size: 1em;
541
- font-weight: bold;
542
- }
543
-
544
- &.e-h5 {
545
- font-size: .83em;
546
- font-weight: bold;
547
- }
548
-
549
- &.e-h6 {
550
- font-size: .7em;
551
- font-weight: bold;
552
- }
553
-
554
- &.e-segoe-ui {
555
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
556
- }
557
-
558
- &.e-arial {
559
- font-family: Arial, Helvetica, sans-serif;
560
- }
561
-
562
- &.e-courier-new {
563
- font-family: Courier New, Courier, monospace;
564
- }
565
-
566
- &.e-georgia {
567
- font-family: Georgia, 'Times New Roman', Times, serif;
568
- }
569
-
570
- &.e-helvetica-neue {
571
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
572
- }
573
-
574
- &.e-impact {
575
- font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
576
- }
577
-
578
- &.e-lucida-console {
579
- font-family: Lucida Console, Monaco, monospace;
580
- }
581
-
582
- &.e-tahoma {
583
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
584
- }
585
-
586
- &.e-times-new-roman {
587
- font-family: 'Times New Roman', Times, serif;
588
- }
589
-
590
- &.e-trebuchet-ms {
591
- font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
592
- }
593
-
594
- &.e-verdana {
595
- font-family: Verdana, Geneva, Tahoma, sans-serif;
596
- }
597
-
598
- &.e-roboto {
599
- font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif;
600
- }
601
-
602
- }
603
- }
604
-
605
- &.e-rte-dropdown-icons {
606
-
607
- ul {
608
- min-width: auto;
609
- }
610
-
611
- @media screen and (max-width: 768px) {
612
-
613
- ul {
614
- min-width: 30px;
615
- }
616
- }
617
- }
618
- }
619
-
620
- .e-rte-image.e-imgbreak {
621
- border: 0;
622
- cursor: pointer;
623
- display: block;
624
- float: none;
625
- margin: 5px auto;
626
- max-width: 100%;
627
- position: relative;
628
- }
629
-
630
- .e-rte-image {
631
- border: 0;
632
- cursor: pointer;
633
- display: block;
634
- float: none;
635
- margin: auto;
636
- max-width: 100%;
637
- position: relative;
638
- }
639
-
640
- .e-rte-image.e-imginline {
641
- display: inline-block;
642
- float: none;
643
- margin-left: 5px;
644
- margin-right: 5px;
645
- max-width: calc(100% - (2 * 5px));
646
- vertical-align: bottom;
647
- }
648
-
649
- .e-rte-image.e-imgcenter {
650
- cursor: pointer;
651
- display: block;
652
- float: none;
653
- margin: 5px auto;
654
- max-width: 100%;
655
- position: relative;
656
- }
657
-
658
- .e-rte-image.e-imgleft {
659
- float: left;
660
- margin: 0 5px 0 0;
661
- text-align: left;
662
- }
663
-
664
- .e-rte-image.e-imgright {
665
- float: right;
666
- margin: 0 0 0 5px;
667
- text-align: right;
668
- }
669
-
670
- .e-rte-img-popup .e-item {
671
- height: 106px;
672
- width: 300px;
673
- }
674
-
675
- .e-rte-img-caption {
676
- display: inline-block;
677
- margin: 5px auto;
678
- max-width: 100%;
679
- position: relative;
680
- }
681
-
682
- .e-rte-img-caption.e-caption-inline {
683
- display: inline-block;
684
- margin: 5px auto;
685
- margin-left: 5px;
686
- margin-right: 5px;
687
- max-width: calc(100% - (2 * 5px));
688
- position: relative;
689
- text-align: center;
690
- vertical-align: bottom;
691
- }
692
-
693
- .e-rte-img-caption.e-imgcenter {
694
- display: block;
695
- }
696
-
697
- .e-rte-img-caption .e-rte-image.e-imgright,
698
- .e-rte-img-caption .e-rte-image.e-imgleft {
699
- float: none;
700
- margin: 0;
701
- }
702
-
703
- .e-rte-table {
704
- border-collapse: collapse;
705
- empty-cells: show;
706
- }
707
-
708
- .e-rte-table td,
709
- .e-rte-table th {
710
- border: 1px solid $rte-table-border-color;
711
- height: 20px;
712
- min-width: 20px;
713
- padding: 2px 5px;
714
- vertical-align: middle;
715
- }
716
-
717
- .e-rte-table.e-dashed-border td,
718
- .e-rte-table.e-dashed-border th {
719
- border-style: dashed;
720
- }
721
-
722
- .e-rte-img-caption .e-img-inner {
723
- box-sizing: border-box;
724
- display: block;
725
- font-size: 16px;
726
- font-weight: initial;
727
- margin: auto;
728
- opacity: .9;
729
- position: relative;
730
- text-align: center;
731
- width: 100%;
732
- }
733
-
734
- .e-rte-img-caption .e-img-wrap {
735
- display: inline-block;
736
- margin: auto;
737
- padding: 0;
738
- width: 100%;
739
- }
740
-
741
- .e-rte-img-dialog .e-rte-label {
742
- padding-top: $rte-insert-dialog-label-padding-top;
743
- }
744
-
745
- .e-rte-img-dialog .e-rte-label:first-child {
746
- padding-top: 0;
747
- }
748
-
749
- .e-rte-table-resize.e-row-resize,
750
- .e-rte-table-resize.e-column-resize {
751
- background-color: transparent;
752
- background-repeat: repeat;
753
- bottom: 0;
754
- cursor: col-resize;
755
- height: 1px;
756
- overflow: visible;
757
- position: absolute;
758
- width: 1px;
759
- }
760
-
761
- .e-rte-table-resize.e-row-resize {
762
- cursor: row-resize;
763
- height: 1px;
764
- }
765
-
766
- #{&}.e-richtexteditor {
767
- .e-linkheader {
768
- font-family: $rte-font-family;
769
- font-size: 15px;
770
- opacity: .87;
771
- padding-bottom: $rte-insert-dialog-label-padding-bottom;
772
- padding-top: $rte-insert-dialog-label-padding-top;
773
- }
774
-
775
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
776
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
777
- margin-top: 0;
778
- }
779
-
780
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list {
781
- border-bottom: 0 solid transparent;
782
- min-height: initial;
783
- }
784
-
785
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container {
786
- margin-left: 0;
787
- }
788
-
789
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files {
790
- border-top: 0 solid transparent;
791
- }
792
-
793
- .e-img-uploadwrap.e-droparea .e-file-select-wrap {
794
- display: none;
795
- }
796
-
797
- .e-img-uploadwrap.e-droparea .e-upload {
798
- border: 0 solid transparent;
799
- float: none;
800
- }
801
-
802
- .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn {
803
- display: block;
804
- height: 36px;
805
- margin: -50px auto;
806
- padding: 0 18px;
807
- }
808
-
809
- .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn {
810
- display: none;
811
- }
812
-
813
- .e-dialog .e-img-uploadwrap.e-droparea {
814
- line-height: 10;
815
- min-height: 50px;
816
- position: relative;
817
- }
818
-
819
- .e-dialog .e-img-uploadwrap.e-droparea .e-rte-upload-text {
820
- display: inline-block;
821
- line-height: normal;
822
- }
823
-
824
- .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea {
825
- line-height: 4;
826
- }
827
-
828
- .e-rte-inline-dropdown ul {
829
- max-height: 200px;
830
- overflow-y: auto;
831
- }
832
-
833
- .e-rte-dropdown-popup.e-rte-dropdown-items ul {
834
- max-height: 280px;
835
- overflow-y: auto;
836
- }
837
-
838
- .e-bigger .e-rte-dropdown-popup.e-rte-dropdown-items ul {
839
- max-height: 360px;
840
- overflow-y: auto;
841
- }
842
-
843
- .e-rte-inline-dropdown.e-rte-backgroundcolor-dropdown,
844
- .e-rte-inline-dropdown.e-rte-fontcolor-dropdown {
845
- line-height: 0;
846
- }
847
-
848
- .e-rte-inline-dropdown .e-rte-color-content .e-rte-elements {
849
- border-bottom-style: solid;
850
- border-bottom-width: 3px;
851
- line-height: $rte-font-icon-line-height;
852
- padding-bottom: 1px;
853
- }
854
-
855
- .e-rte-table-popup.e-popup.e-popup-open {
856
- border-radius: 0;
857
- box-shadow: $rte-table-popup-box;
858
- font-size: 14px;
859
- font-weight: normal;
860
- min-width: 120px;
861
- overflow: hidden;
862
- padding: 10px;
863
- }
864
-
865
- .e-rte-table-popup.e-popup-open .e-rte-tablecell {
866
- border: $rte-table-span-border;
867
- display: inline-block;
868
- height: 14px;
869
- margin: 1px;
870
- overflow: hidden;
871
- vertical-align: top;
872
- width: 14px;
873
- }
874
-
875
- .e-rte-table-popup.e-popup-open .e-rte-table-row {
876
- height: 16px;
877
- }
878
-
879
- .e-rte-table-popup.e-popup-open .e-insert-table-btn {
880
- width: 100%;
881
- }
882
-
883
- .e-rte-edit-table .e-rte-field {
884
- padding-top: $rte-insert-dialog-label-padding-top;
885
- }
886
-
887
- .e-rte-edit-table .e-rte-field:first-child {
888
- padding-top: 0;
889
- }
890
-
891
- .e-rte-content .e-content table td.e-cell-select,
892
- .e-rte-content .e-content table th.e-cell-select {
893
- border: 1px double $rte-table-select-border-color;
894
- height: 24.67px;
895
- }
896
-
897
- span.e-table-box {
898
- cursor: nwse-resize;
899
- display: block;
900
- height: 10px;
901
- position: absolute;
902
- width: 10px;
903
- }
904
-
905
- span.e-table-box.e-rmob {
906
- height: 14px;
907
- width: 14px;
908
- }
909
-
910
- .e-upload .e-upload-files .e-upload-file-list .e-file-container {
911
- margin-right: 50px;
912
- }
913
-
914
- .e-rte-upload-popup {
915
- width: 250px;
916
- }
917
-
918
- .e-rte-dialog-upload .e-upload-files {
919
- border-top: 0;
920
- }
921
-
922
- .e-rte-dialog-upload .e-upload-files .e-upload-file-list {
923
- border-bottom: 0;
924
- }
925
-
926
- }
927
-
928
- .e-rte-backgroundcolor-colorpicker,
929
- .e-rte-fontcolor-colorpicker {
930
- & .e-color-palette.e-container {
931
- & .e-custom-palette .e-palette {
932
- padding: 0;
933
- }
934
-
935
- & .e-switch-ctrl-btn {
936
- padding: 5px;.e-bigger & {
937
- padding: 5px;
938
- }
939
- }
940
-
941
- }
942
-
943
- }
944
-
945
- .e-rte-quick-popup {
946
- border-radius: 2px;
947
- overflow: hidden;
948
-
949
- .e-rte-quick-toolbar {
950
- border-radius: 2px;
951
- min-height: 42px;
952
-
953
- .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
954
- white-space: nowrap;
955
- }
956
-
957
- &.e-remove-white-space {
958
-
959
- .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
960
- white-space: nowrap;
961
- }
962
- }
963
-
964
- .e-toolbar-items:not(.e-tbar-pos) {
965
- border-radius: 2px;
966
- margin: 0 6px;
967
- min-height: 42px;
968
-
969
- .e-toolbar-item.e-rte-horizontal-separator,
970
- .e-toolbar-item.e-separator.e-multirow-separator.e-rte-horizontal-separator {
971
- display: block;
972
- height: 1px;
973
- margin: 0;
974
- min-height: 1px;
975
- }
976
-
977
- .e-toolbar-item {
978
- margin: 0 6px;
979
- min-height: 42px;
980
-
981
- &:first-child,
982
- &:last-child {
983
- margin: 0 6px;
984
- }
985
-
986
- .e-tbar-btn:not(.e-rte-dropdown-btn) {
987
- line-height: 20px;
988
- }
989
-
990
- .e-tbar-btn:not(.e-rte-dropdown-btn) .e-icons {
991
- min-width: $rte-quick-item-icon-min-width;
992
- }
993
- }
994
-
995
- .e-toolbar-item .e-btn,
996
- .e-toolbar-item .e-btn:hover {
997
- min-height: $rte-quick-item-btn-height;
998
- min-width: $rte-quick-item-btn-width;
999
- padding: $rte-quick-item-padding;
1000
- }
1001
- }
1002
-
1003
- .e-tbar-btn {
1004
-
1005
- .e-icons.e-btn-icon:not(.e-caret) {
1006
- font-size: 16px;
1007
- }
1008
- }
1009
-
1010
- .e-background-color.e-icons::before {
1011
- display: inline;
1012
- }
1013
-
1014
- .e-rte-backgroundcolor-dropdown .e-btn-icon.e-caret {
1015
- font-size: 10px;
1016
- }
1017
- }
1018
-
1019
- .e-rte-dropdown-btn.e-tbar-btn {
1020
- line-height: $rte-quick-drop-btn-line-height;
1021
- margin: $rte-quick-drop-btn-margin;
1022
- padding: $rte-quick-drop-btn-padding;
1023
-
1024
- .e-rte-dropdown-btn-text {
1025
- font-weight: 500;
1026
- overflow: hidden;
1027
- text-overflow: ellipsis;
1028
- white-space: nowrap;
1029
- }
1030
-
1031
- .e-icons:not(.e-caret) {
1032
- font-size: 14px;
1033
- margin-left: -3px;
1034
- }
1035
-
1036
- .e-caret {
1037
- font-size: $rte-quick-drop-btn-caret-font-size;
1038
- width: 12px;
1039
- }
1040
- }
1041
-
1042
- &.e-hide {
1043
- display: block;
1044
- visibility: hidden;
1045
- }
1046
-
1047
- }
1048
-
1049
- .e-bigger .e-rte-quick-popup {
1050
- .e-rte-quick-toolbar {
1051
- min-height: 48px;
1052
-
1053
- .e-toolbar-items:not(.e-tbar-pos) {
1054
- margin: 0 6px;
1055
- min-height: 48px;
1056
-
1057
- .e-toolbar-item:not(.e-separator) {
1058
- margin: 0 6px;
1059
- min-height: 48px;
1060
- min-width: 36px;
1061
- padding: 0;
1062
- }
1063
-
1064
- .e-toolbar-item .e-tbar-btn:not(.e-rte-dropdown-btn) {
1065
- line-height: $rte-big-quick-item-line-height;
1066
- }
1067
-
1068
- .e-toolbar-item .e-btn,
1069
- .e-toolbar-item .e-btn:hover {
1070
- min-height: $rte-big-quick-item-btn-height;
1071
- min-width: $rte-big-quick-item-btn-width;
1072
- padding: $rte-big-quick-item-padding;
1073
- }
1074
-
1075
- .e-toolbar-item:first-child,
1076
- .e-toolbar-item:last-child {
1077
- margin: 0 6px;
1078
- }
1079
-
1080
- .e-toolbar-item .e-tbar-btn.e-btn.e-control {
1081
- height: $rte-big-quick-tbar-item-min-height;
1082
- line-height: normal;
1083
- margin: 0;
1084
- min-height: $rte-big-quick-tbar-item-min-height;
1085
- min-width: $rte-big-quick-tbar-item-min-width;
1086
- }
1087
-
1088
- .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon:not(.e-caret) {
1089
- font-size: 18px;
1090
- }
1091
- }
1092
- }
1093
-
1094
- .e-rte-dropdown-btn.e-tbar-btn {
1095
- line-height: $rte-big-quick-drop-btn-line-height;
1096
- margin: $rte-big-quick-drop-btn-margin;
1097
- padding: $rte-big-quick-drop-btn-padding;
1098
-
1099
- .e-icons:not(.e-caret) {
1100
- font-size: 16px;
1101
- }
1102
-
1103
- .e-caret {
1104
- font-size: $rte-big-quick-drop-btn-caret-font-size;
1105
- width: 20px;
1106
- }
1107
- }
1108
- }
1109
-
1110
- .e-bigger #{&}.e-richtexteditor,
1111
- #{&}.e-richtexteditor.e-bigger,
1112
- #{&}.e-richtexteditor {
1113
-
1114
- & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1115
- & .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
1116
- & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item,
1117
- & .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item {
1118
-
1119
- & .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1120
- & .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1121
- display: flex;
1122
- padding-left: $rte-colorpicker-parent-padding;
1123
- padding-right: $rte-colorpicker-parent-padding;
1124
-
1125
- &:hover,
1126
- &:active,
1127
- &.e-active,
1128
- &.e-active:hover {
1129
- padding-left: $rte-colorpicker-parent-padding-hover;
1130
- padding-right: $rte-colorpicker-parent-padding-hover;
1131
- }
1132
-
1133
- &.e-active:hover {
1134
- padding-bottom: $rte-colorpicker-parent-padding-active-hover;
1135
- padding-top: $rte-colorpicker-parent-padding-active-hover;
1136
- }
1137
-
1138
- & .e-rte-color-content {
1139
- position: relative;
1140
- vertical-align: middle;
1141
- width: $rte-font-icon-width;
1142
-
1143
- & .e-rte-elements {
1144
- border-bottom-style: solid;
1145
- border-bottom-width: 3px;
1146
- line-height: $rte-font-icon-line-height;
1147
- padding-bottom: 1px;
1148
- }
1149
- }
1150
-
1151
- .e-rte-color-content::after {
1152
- content: '';
1153
- height: 100%;
1154
- position: absolute;
1155
- right: 0;
1156
- width: $rte-split-btn-bar-size;
1157
- }
1158
-
1159
- & .e-icons.e-btn-icon {
1160
- display: flex;
1161
- flex-direction: column;
1162
- justify-content: center;
1163
- line-height: 1;
1164
- min-width: $rte-font-arrow-width;
1165
- text-align: center;
1166
- width: $rte-font-arrow-width;
1167
- }
1168
- }
1169
- }
1170
- }
1171
-
1172
- .e-bigger #{&}.e-richtexteditor,
1173
- #{&}.e-richtexteditor.e-bigger {
1174
- & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1175
- & .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
1176
- & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item,
1177
- & .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item {
1178
- & .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1179
- & .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1180
- & .e-icons.e-btn-icon {
1181
- min-width: $rte-font-arrow-touch-width;
1182
- width: $rte-font-arrow-touch-width;
1183
- }
1184
- }
1185
- }
1186
- }
1187
-
1188
- .e-popup-modal.e-popup.e-popup-open {
1189
- display: inline-flex;
1190
- }
1191
-
1192
- .e-rte-modal-popup.e-popup-container.e-center {
1193
- justify-content: center;
1194
- }
1195
-
1196
- .e-rte-modal-popup.e-popup-container {
1197
- align-items: center;
1198
- display: none;
1199
- height: 100%;
1200
- left: 0;
1201
- position: fixed;
1202
- top: 0;
1203
- width: 100%;
1204
- z-index: 10000;
1205
- }
1206
-
1207
- .e-popup-overlay {
1208
- height: 100%;
1209
- left: 0;
1210
- opacity: .5;
1211
- position: absolute;
1212
- top: 0;
1213
- width: 100%;
1214
- }
1215
-
1216
- .e-bigger .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1217
- height: 16px;
1218
- width: 16px;
1219
- }
1220
-
1221
- .e-bigger .e-rte-table-popup.e-popup-open .e-rte-table-row {
1222
- height: 18px;
1223
- }
1224
-
1225
- .e-table-rhelper {
1226
- cursor: col-resize;
1227
- opacity: .87;
1228
- position: absolute;
1229
- }
1230
-
1231
- .e-table-rhelper.e-column-helper {
1232
- width: 1px;
1233
- }
1234
-
1235
- .e-table-rhelper.e-row-helper {
1236
- height: 1px;
1237
- }
1238
-
1239
- .e-reicon::before {
1240
- border-bottom: 6px solid transparent;
1241
- border-right: 6px solid;
1242
- border-top: 6px solid transparent;
1243
- content: '';
1244
- display: block;
1245
- height: 0;
1246
- position: absolute;
1247
- right: 4px;
1248
- top: 4px;
1249
- width: 20px;
1250
- }
1251
-
1252
- .e-reicon::after {
1253
- border-bottom: 6px solid transparent;
1254
- border-left: 6px solid;
1255
- border-top: 6px solid transparent;
1256
- content: '';
1257
- display: block;
1258
- height: 0;
1259
- left: 4px;
1260
- position: absolute;
1261
- top: 4px;
1262
- width: 20px;
1263
- z-index: 3;
1264
- }
1265
-
1266
- .e-row-helper.e-reicon::after {
1267
- top: 10px;
1268
- transform: rotate(90deg);
1269
- }
1270
-
1271
- .e-row-helper.e-reicon::before {
1272
- left: 4px;
1273
- top: -20px;
1274
- transform: rotate(90deg);
1275
- }
1276
-
1277
- .e-rte-overflow {
1278
- overflow: hidden;
1279
- }
1280
-
1281
- .e-rte-dialog-minheight {
1282
- min-height: 296px;
1283
- }
1284
-
1285
- .e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor {
1286
- background-size: 700px 190px;
1287
- min-height: 190px;
1288
- }
1289
-
1290
- .e-bigger .e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor,
1291
- .e-bigger.e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor {
1292
- background-size: 700px 190px;
1293
- min-height: 190px;
1294
- }
1295
-
1296
- .e-rte-table.e-rte-table-border {
1297
- border: 1px solid $rte-table-border-color;
1298
- border-collapse: separate;
1299
- }
1300
-
1301
- .e-rte-img-dialog.e-dialog.e-device.e-dlg-modal {
1302
- .e-img-uploadwrap.e-droparea {
1303
- line-height: 10;
1304
- min-height: 50px;
1305
- position: relative;
1306
-
1307
- .e-browsebtn {
1308
- display: block;
1309
- height: 36px;
1310
- margin: -50px auto;
1311
- padding: 0 18px;
1312
- }
1313
-
1314
- .e-upload {
1315
- border: 0 solid transparent;
1316
- float: none;
1317
- }
1318
-
1319
- .e-file-select-wrap {
1320
- display: none;
1321
- }
1322
- }
1323
-
1324
- .e-linkheader {
1325
- font-family: $rte-font-family;
1326
- font-size: 15px;
1327
- opacity: .87;
1328
- padding-bottom: $rte-insert-dialog-label-padding-bottom;
1329
- padding-top: $rte-insert-dialog-label-padding-top;
1330
- }
1331
- }
1332
- }
1
+ @include export-module('richtexteditor-layout') {
2
+ /*! tab layout */
3
+
4
+ .e-bigger #{&}.e-richtexteditor,
5
+ #{&}.e-richtexteditor.e-bigger {
6
+
7
+ .e-rte-toolbar {
8
+
9
+ .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
10
+ margin-left: $rte-big-tb-items-margin-left;
11
+ }
12
+ }
13
+
14
+ &.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
15
+ margin-left: 0;
16
+ margin-right: $rte-big-tb-items-margin-left;
17
+ }
18
+
19
+ .e-rte-toolbar,
20
+ .e-rte-toolbar.e-toolbar.e-extended-toolbar {
21
+
22
+ .e-toolbar-extended {
23
+ padding-left: $rte-big-tb-items-padding-left;
24
+ }
25
+
26
+ .e-toolbar-items,
27
+ .e-toolbar-extended {
28
+
29
+ .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon:not(.e-caret) {
30
+ font-size: 18px;
31
+ }
32
+
33
+ .e-toolbar-item .e-font-color .e-selected-color.e-icons::before,
34
+ .e-toolbar-item .e-background-color .e-selected-color.e-icons::before {
35
+ top: -20px;
36
+ }
37
+
38
+ .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn {
39
+ padding-left: $rte-big-drop-btn-padding-left;
40
+ padding-right: $rte-big-drop-btn-padding-right;
41
+ }
42
+
43
+ .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn:hover,
44
+ .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn:focus,
45
+ .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn:active {
46
+ padding-left: $rte-big-drop-btn-action-padding-left;
47
+ padding-right: $rte-big-drop-btn-action-padding-right;
48
+ }
49
+
50
+ .e-toolbar-item.e-active .e-tbar-btn.e-btn {
51
+ padding: $rte-big-active-tb-item-btn-padding;
52
+ }
53
+
54
+ .e-toolbar-item .e-rte-fontcolor-dropdown.e-active .e-rte-color-content,
55
+ .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active .e-rte-color-content {
56
+ line-height: $rte-big-split-btn-active-color-icon-line-height;
57
+ }
58
+ }
59
+
60
+ .e-dropdown-btn .e-caret {
61
+ font-size: $rte-big-dropdown-caret-icon-size;
62
+ }
63
+ }
64
+ }
65
+
66
+ #{&}.e-richtexteditor {
67
+ color: $rte-content-color;
68
+ display: block;
69
+ position: relative;
70
+
71
+ & textarea.e-content {
72
+ border: 0;
73
+ display: block;
74
+ height: 100%;
75
+ margin: 0;
76
+ outline: 0;
77
+ padding: 8px;
78
+ resize: none;
79
+ width: 100%;
80
+ }
81
+
82
+ & .e-rte-hidden {
83
+ border: 0;
84
+ display: block;
85
+ height: 0;
86
+ margin: 0;
87
+ outline: 0;
88
+ padding: 0;
89
+ resize: none;
90
+ visibility: hidden;
91
+ width: 0;
92
+ }
93
+
94
+ &.e-disabled {
95
+ pointer-events: none;
96
+ }
97
+
98
+ &.e-rte-full-screen {
99
+ bottom: 0;
100
+ height: 100% !important; // sass-lint:disable-line no-important
101
+ left: 0;
102
+ position: fixed;
103
+ right: 0;
104
+ top: 0;
105
+ width: 100% !important; // sass-lint:disable-line no-important
106
+ z-index: 999;
107
+ }
108
+
109
+ &.e-rtl .e-rte-character-count {
110
+ left: 0;
111
+ padding-left: 30px;
112
+ padding-right: unset;
113
+ right: unset;
114
+ }
115
+
116
+ .e-rte-toolbar {
117
+
118
+ .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
119
+ margin-left: $rte-tb-items-margin-left;
120
+ }
121
+ }
122
+
123
+ &.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child {
124
+ margin-left: 0;
125
+ margin-right: $rte-tb-items-margin-left;
126
+ }
127
+
128
+ .e-rte-toolbar.e-rte-tb-mobile .e-toolbar-multirow {
129
+ margin-left: 0;
130
+ margin-right: 0;
131
+ overflow-x: auto;
132
+ white-space: nowrap;
133
+ width: 100%;
134
+ }
135
+
136
+ .e-rte-toolbar,
137
+ .e-rte-toolbar.e-toolbar.e-extended-toolbar {
138
+ z-index: 101;
139
+
140
+ .e-toolbar-extended {
141
+ margin-left: 0;
142
+ padding-left: $rte-tb-items-padding-left;
143
+ }
144
+
145
+ .e-toolbar-items,
146
+ .e-toolbar-extended {
147
+
148
+ .e-toolbar-item {
149
+
150
+ .e-formats-tbar-btn > :first-child {
151
+ min-width: $rte-format-btn-min-width;
152
+ }
153
+
154
+ .e-font-name-tbar-btn > :first-child {
155
+ min-width: $rte-font-name-btn-min-width;
156
+ }
157
+
158
+ .e-font-size-tbar-btn > :first-child {
159
+ min-width: $rte-font-size-btn-min-width;
160
+ }
161
+
162
+ .e-dropdown-btn {
163
+ padding-left: $rte-drop-btn-padding-left;
164
+ padding-right: $rte-drop-btn-padding-right;
165
+
166
+ .e-rte-dropdown-btn-text {
167
+ font-weight: 500;
168
+ overflow: hidden;
169
+ text-overflow: ellipsis;
170
+ white-space: nowrap;
171
+ }
172
+ }
173
+
174
+ .e-dropdown-btn:hover,
175
+ .e-dropdown-btn:focus,
176
+ .e-dropdown-btn:active {
177
+ padding-left: $rte-drop-btn-action-padding-left;
178
+ padding-right: $rte-drop-btn-action-padding-right;
179
+ }
180
+
181
+ .e-font-color .e-selected-color.e-icons::before {
182
+
183
+ font-size: 12px;
184
+ position: relative;
185
+ top: -18px;
186
+ }
187
+
188
+ .e-font-color.e-icons::before {
189
+ font-size: 13px;
190
+ }
191
+
192
+ .e-background-color.e-icons::before {
193
+ display: inline;
194
+ font-size: 14px;
195
+ }
196
+
197
+ .e-rte-fontcolor-dropdown.e-active .e-rte-color-content,
198
+ .e-rte-backgroundcolor-dropdown.e-active .e-rte-color-content {
199
+ line-height: $rte-split-btn-active-color-icon-line-height;
200
+ }
201
+
202
+ .e-tbar-btn {
203
+
204
+ .e-icons.e-btn-icon:not(.e-caret) {
205
+ font-size: 16px;
206
+ }
207
+ }
208
+
209
+ &.e-active .e-tbar-btn.e-btn {
210
+ padding: $rte-active-tb-item-btn-padding;
211
+ }
212
+ }
213
+ }
214
+
215
+ &.e-control[class*='e-toolbar'] {
216
+ box-sizing: border-box;
217
+ }
218
+
219
+ .e-toolbar-extended.e-visible {
220
+ display: block;
221
+ visibility: hidden;
222
+ }
223
+
224
+ &.e-tbar-ios-fixed.e-rte-tb-fixed {
225
+ top: 0;
226
+ transform: translate3d(0, 0, 0);
227
+ }
228
+
229
+ &.e-rte-tb-fixed:not(.e-tbar-ios-fixed) {
230
+ bottom: 0;
231
+ }
232
+
233
+ &.e-rte-tb-fixed {
234
+ display: none;
235
+ left: 0;
236
+ position: fixed;
237
+ right: 0;
238
+
239
+ &.e-show {
240
+ display: block;
241
+ z-index: 101;
242
+ }
243
+ }
244
+
245
+ &.e-rte-tb-float {
246
+ position: fixed;
247
+ top: 0;
248
+
249
+ &.e-rte-tb-abs-float {
250
+ position: absolute;
251
+ }
252
+ }
253
+
254
+ .e-dropdown-btn .e-caret {
255
+ font-size: $rte-dropdown-caret-icon-size;
256
+ }
257
+ }
258
+
259
+ .rte-placeholder {
260
+ color: $rte-content-font-color;
261
+ line-height: $rte-placeholder-line-height;
262
+ opacity: 00.54;
263
+ overflow: hidden;
264
+ position: absolute;
265
+ text-align: start;
266
+ top: 0;
267
+ z-index: 1;
268
+ }
269
+
270
+ .e-rte-content {
271
+ position: relative;
272
+ z-index: 1;
273
+ }
274
+
275
+ .e-rte-content,
276
+ .e-source-content {
277
+ // sass-lint:disable no-vendor-prefixes
278
+ -webkit-overflow-scrolling: touch; //iOS devices scrolling smooth
279
+ // sass-lint:enabled no-vendor-prefixes
280
+ overflow: auto;
281
+ transition: 100ms ease-out;
282
+ width: 100%;
283
+
284
+ .e-content {
285
+ background: unset;
286
+ box-sizing: border-box;
287
+ height: 100%;
288
+ min-height: 100px;
289
+ outline: 0 solid transparent;
290
+ overflow-x: auto;
291
+ padding: 16px;
292
+ position: relative;
293
+ text-align: inherit;
294
+ z-index: 2;
295
+
296
+ @media screen and (min-width: 992px) {
297
+ font-size: $rte-content-font-size;
298
+ }
299
+ }
300
+
301
+ .e-content p {
302
+ margin: 0 0 10px;
303
+ margin-bottom: 10px;
304
+ }
305
+
306
+ .e-content li {
307
+ margin-bottom: 10px;
308
+ }
309
+
310
+ .e-content h1 {
311
+ font-size: 2.17em;
312
+ font-weight: 400;
313
+ line-height: 1;
314
+ margin: 10px 0;
315
+ }
316
+
317
+ .e-content h2 {
318
+ font-size: 1.74em;
319
+ font-weight: 400;
320
+ margin: 10px 0;
321
+ }
322
+
323
+ .e-content h3 {
324
+ font-size: 1.31em;
325
+ font-weight: 400;
326
+ margin: 10px 0;
327
+ }
328
+
329
+ .e-content h4 {
330
+ font-size: 1em;
331
+ font-weight: 400;
332
+ margin: 0;
333
+ }
334
+
335
+ .e-content h5 {
336
+ font-size: 00.8em;
337
+ font-weight: 400;
338
+ margin: 0;
339
+ }
340
+
341
+ .e-content h6 {
342
+ font-size: 00.65em;
343
+ font-weight: 400;
344
+ margin: 0;
345
+ }
346
+
347
+ .e-content blockquote {
348
+ margin: 10px 0;
349
+ margin-left: 0;
350
+ padding-left: 5px;
351
+ }
352
+
353
+ .e-content pre {
354
+ background-color: inherit;
355
+ border: 0;
356
+ border-radius: 0;
357
+ color: $rte-content-color;
358
+ font-size: inherit;
359
+ line-height: inherit;
360
+ margin: 0 0 10px;
361
+ overflow: visible;
362
+ padding: 0;
363
+ white-space: pre-wrap;
364
+ word-break: inherit;
365
+ word-wrap: break-word;
366
+ }
367
+
368
+ .e-content strong,
369
+ .e-content b {
370
+ font-weight: 700;
371
+ }
372
+
373
+ .e-content a {
374
+ text-decoration: none;
375
+ user-select: auto;
376
+ }
377
+
378
+ .e-content a:hover {
379
+ text-decoration: underline;
380
+ }
381
+
382
+ .e-content p:last-child,
383
+ .e-content pre:last-child,
384
+ .e-content blockquote:last-child {
385
+ margin-bottom: 0;
386
+ }
387
+
388
+ .e-content h3+h4,
389
+ .e-content h4+h5,
390
+ .e-content h5+h6 {
391
+ margin-top: 00.6em;
392
+ }
393
+
394
+ .e-content ul:last-child {
395
+ margin-bottom: 0;
396
+ }
397
+
398
+ }
399
+
400
+ .e-rte-character-count {
401
+ bottom: 0;
402
+ color: $rte-default-character-count-color;
403
+ font-family: 'Times New Roman', Georgia, Serif;
404
+ font-size: 14px;
405
+ opacity: 00.54;
406
+ padding-bottom: 2px;
407
+ padding-right: 30px;
408
+ position: absolute;
409
+ right: 0;
410
+ z-index: 100;
411
+
412
+ &.e-warning {
413
+ color: $rte-warning-character-count-color;
414
+ opacity: unset;
415
+ }
416
+
417
+ &.e-error {
418
+ color: $rte-error-character-count-color;
419
+ opacity: unset;
420
+ }
421
+
422
+ }
423
+
424
+ .e-rte-srctextarea {
425
+ background-color: transparent;
426
+ border: 0;
427
+ color: $rte-content-color;
428
+ display: block;
429
+ height: 100%;
430
+ line-height: 22px;
431
+ min-height: 200px;
432
+ overflow: auto;
433
+ padding: 16px;
434
+ resize: none;
435
+ transition: 100ms ease-out;
436
+ width: 100%;
437
+ }
438
+
439
+ img::selection {
440
+ background: transparent;
441
+ color: transparent;
442
+ }
443
+
444
+ .e-resize-handle {
445
+ height: $rte-resize-handler-height;
446
+ position: absolute;
447
+ width: $rte-resize-handler-width;
448
+
449
+ &.e-south-east {
450
+ bottom: $rte-resize-handler-position;
451
+ cursor: nwse-resize;
452
+ right: $rte-resize-handler-position;
453
+ z-index: 100;
454
+ }
455
+ }
456
+ }
457
+
458
+ .e-rte-linkcontent .e-rte-label {
459
+ padding-top: $rte-insert-dialog-label-padding-top;
460
+ }
461
+
462
+ .e-rte-label label {
463
+ font-weight: normal;
464
+ }
465
+
466
+ .e-rte-linkcontent .e-rte-label:first-child {
467
+ padding-top: 0;
468
+ }
469
+
470
+ .e-bigger .e-rte-dropdown-popup {
471
+
472
+ ul {
473
+ min-width: 84px;
474
+ }
475
+ }
476
+
477
+ .e-rte-dropdown-popup {
478
+
479
+ &.e-rte-inline-dropdown {
480
+
481
+ @media screen and (max-width: 768px) {
482
+ ul {
483
+ padding: 7px 0;
484
+
485
+ li.e-item {
486
+ height: 34px;
487
+ line-height: 34px;
488
+ padding: 0 6.5px;
489
+ }
490
+
491
+ .e-item .e-menu-icon {
492
+ float: none;
493
+ }
494
+ }
495
+ }
496
+
497
+ &.e-rte-dropdown-icons.e-dropdown-popup {
498
+
499
+ @media screen and (max-width: 768px) {
500
+ max-height: 280px;
501
+
502
+ ul {
503
+ display: inline-flex;
504
+ }
505
+ }
506
+ }
507
+
508
+ }
509
+
510
+ ul {
511
+ min-width: 82px;
512
+
513
+ .e-item {
514
+
515
+ .e-menu-icon {
516
+ margin: 0 6px;
517
+ width: auto;
518
+ }
519
+
520
+ &.e-h1 {
521
+ font-size: 2em;
522
+ font-weight: bold;
523
+ height: 40px;
524
+ line-height: 40px;
525
+ }
526
+
527
+ &.e-h2 {
528
+ font-size: 1.5em;
529
+ font-weight: bold;
530
+ height: 40px;
531
+ line-height: 40px;
532
+ }
533
+
534
+ &.e-h3 {
535
+ font-size: 1.16em;
536
+ font-weight: bold;
537
+ }
538
+
539
+ &.e-h4 {
540
+ font-size: 1em;
541
+ font-weight: bold;
542
+ }
543
+
544
+ &.e-h5 {
545
+ font-size: .83em;
546
+ font-weight: bold;
547
+ }
548
+
549
+ &.e-h6 {
550
+ font-size: .7em;
551
+ font-weight: bold;
552
+ }
553
+
554
+ &.e-segoe-ui {
555
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
556
+ }
557
+
558
+ &.e-arial {
559
+ font-family: Arial, Helvetica, sans-serif;
560
+ }
561
+
562
+ &.e-courier-new {
563
+ font-family: Courier New, Courier, monospace;
564
+ }
565
+
566
+ &.e-georgia {
567
+ font-family: Georgia, 'Times New Roman', Times, serif;
568
+ }
569
+
570
+ &.e-helvetica-neue {
571
+ font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
572
+ }
573
+
574
+ &.e-impact {
575
+ font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
576
+ }
577
+
578
+ &.e-lucida-console {
579
+ font-family: Lucida Console, Monaco, monospace;
580
+ }
581
+
582
+ &.e-tahoma {
583
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
584
+ }
585
+
586
+ &.e-times-new-roman {
587
+ font-family: 'Times New Roman', Times, serif;
588
+ }
589
+
590
+ &.e-trebuchet-ms {
591
+ font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
592
+ }
593
+
594
+ &.e-verdana {
595
+ font-family: Verdana, Geneva, Tahoma, sans-serif;
596
+ }
597
+
598
+ &.e-roboto {
599
+ font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif;
600
+ }
601
+
602
+ }
603
+ }
604
+
605
+ &.e-rte-dropdown-icons {
606
+
607
+ ul {
608
+ min-width: auto;
609
+ }
610
+
611
+ @media screen and (max-width: 768px) {
612
+
613
+ ul {
614
+ min-width: 30px;
615
+ }
616
+ }
617
+ }
618
+ }
619
+
620
+ .e-rte-image.e-imgbreak {
621
+ border: 0;
622
+ cursor: pointer;
623
+ display: block;
624
+ float: none;
625
+ margin: 5px auto;
626
+ max-width: 100%;
627
+ position: relative;
628
+ }
629
+
630
+ .e-rte-image {
631
+ border: 0;
632
+ cursor: pointer;
633
+ display: block;
634
+ float: none;
635
+ margin: auto;
636
+ max-width: 100%;
637
+ position: relative;
638
+ }
639
+
640
+ .e-rte-image.e-imginline {
641
+ display: inline-block;
642
+ float: none;
643
+ margin-left: 5px;
644
+ margin-right: 5px;
645
+ max-width: calc(100% - (2 * 5px));
646
+ vertical-align: bottom;
647
+ }
648
+
649
+ .e-rte-image.e-imgcenter {
650
+ cursor: pointer;
651
+ display: block;
652
+ float: none;
653
+ margin: 5px auto;
654
+ max-width: 100%;
655
+ position: relative;
656
+ }
657
+
658
+ .e-rte-image.e-imgleft {
659
+ float: left;
660
+ margin: 0 5px 0 0;
661
+ text-align: left;
662
+ }
663
+
664
+ .e-rte-image.e-imgright {
665
+ float: right;
666
+ margin: 0 0 0 5px;
667
+ text-align: right;
668
+ }
669
+
670
+ .e-rte-img-popup .e-item {
671
+ height: 106px;
672
+ width: 300px;
673
+ }
674
+
675
+ .e-rte-img-caption {
676
+ display: inline-block;
677
+ margin: 5px auto;
678
+ max-width: 100%;
679
+ position: relative;
680
+ }
681
+
682
+ .e-rte-img-caption.e-caption-inline {
683
+ display: inline-block;
684
+ margin: 5px auto;
685
+ margin-left: 5px;
686
+ margin-right: 5px;
687
+ max-width: calc(100% - (2 * 5px));
688
+ position: relative;
689
+ text-align: center;
690
+ vertical-align: bottom;
691
+ }
692
+
693
+ .e-rte-img-caption.e-imgcenter {
694
+ display: block;
695
+ }
696
+
697
+ .e-rte-img-caption .e-rte-image.e-imgright,
698
+ .e-rte-img-caption .e-rte-image.e-imgleft {
699
+ float: none;
700
+ margin: 0;
701
+ }
702
+
703
+ .e-rte-table {
704
+ border-collapse: collapse;
705
+ empty-cells: show;
706
+ }
707
+
708
+ .e-rte-table td,
709
+ .e-rte-table th {
710
+ border: 1px solid $rte-table-border-color;
711
+ height: 20px;
712
+ min-width: 20px;
713
+ padding: 2px 5px;
714
+ vertical-align: middle;
715
+ }
716
+
717
+ .e-rte-table.e-dashed-border td,
718
+ .e-rte-table.e-dashed-border th {
719
+ border-style: dashed;
720
+ }
721
+
722
+ .e-rte-img-caption .e-img-inner {
723
+ box-sizing: border-box;
724
+ display: block;
725
+ font-size: 16px;
726
+ font-weight: initial;
727
+ margin: auto;
728
+ opacity: .9;
729
+ position: relative;
730
+ text-align: center;
731
+ width: 100%;
732
+ }
733
+
734
+ .e-rte-img-caption .e-img-wrap {
735
+ display: inline-block;
736
+ margin: auto;
737
+ padding: 0;
738
+ width: 100%;
739
+ }
740
+
741
+ .e-rte-img-dialog .e-rte-label {
742
+ padding-top: $rte-insert-dialog-label-padding-top;
743
+ }
744
+
745
+ .e-rte-img-dialog .e-rte-label:first-child {
746
+ padding-top: 0;
747
+ }
748
+
749
+ .e-rte-table-resize.e-row-resize,
750
+ .e-rte-table-resize.e-column-resize {
751
+ background-color: transparent;
752
+ background-repeat: repeat;
753
+ bottom: 0;
754
+ cursor: col-resize;
755
+ height: 1px;
756
+ overflow: visible;
757
+ position: absolute;
758
+ width: 1px;
759
+ }
760
+
761
+ .e-rte-table-resize.e-row-resize {
762
+ cursor: row-resize;
763
+ height: 1px;
764
+ }
765
+
766
+ #{&}.e-richtexteditor {
767
+ .e-linkheader {
768
+ font-family: $rte-font-family;
769
+ font-size: 15px;
770
+ opacity: .87;
771
+ padding-bottom: $rte-insert-dialog-label-padding-bottom;
772
+ padding-top: $rte-insert-dialog-label-padding-top;
773
+ }
774
+
775
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
776
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
777
+ margin-top: 0;
778
+ }
779
+
780
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list {
781
+ border-bottom: 0 solid transparent;
782
+ min-height: initial;
783
+ }
784
+
785
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container {
786
+ margin-left: 0;
787
+ }
788
+
789
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files {
790
+ border-top: 0 solid transparent;
791
+ }
792
+
793
+ .e-img-uploadwrap.e-droparea .e-file-select-wrap {
794
+ display: none;
795
+ }
796
+
797
+ .e-img-uploadwrap.e-droparea .e-upload {
798
+ border: 0 solid transparent;
799
+ float: none;
800
+ }
801
+
802
+ .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn {
803
+ display: block;
804
+ height: 36px;
805
+ margin: -50px auto;
806
+ padding: 0 18px;
807
+ }
808
+
809
+ .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn {
810
+ display: none;
811
+ }
812
+
813
+ .e-dialog .e-img-uploadwrap.e-droparea {
814
+ line-height: 10;
815
+ min-height: 50px;
816
+ position: relative;
817
+ }
818
+
819
+ .e-dialog .e-img-uploadwrap.e-droparea .e-rte-upload-text {
820
+ display: inline-block;
821
+ line-height: normal;
822
+ }
823
+
824
+ .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea {
825
+ line-height: 4;
826
+ }
827
+
828
+ .e-rte-inline-dropdown ul {
829
+ max-height: 200px;
830
+ overflow-y: auto;
831
+ }
832
+
833
+ .e-rte-dropdown-popup.e-rte-dropdown-items ul {
834
+ max-height: 280px;
835
+ overflow-y: auto;
836
+ }
837
+
838
+ .e-bigger .e-rte-dropdown-popup.e-rte-dropdown-items ul {
839
+ max-height: 360px;
840
+ overflow-y: auto;
841
+ }
842
+
843
+ .e-rte-inline-dropdown.e-rte-backgroundcolor-dropdown,
844
+ .e-rte-inline-dropdown.e-rte-fontcolor-dropdown {
845
+ line-height: 0;
846
+ }
847
+
848
+ .e-rte-inline-dropdown .e-rte-color-content .e-rte-elements {
849
+ border-bottom-style: solid;
850
+ border-bottom-width: 3px;
851
+ line-height: $rte-font-icon-line-height;
852
+ padding-bottom: 1px;
853
+ }
854
+
855
+ .e-rte-table-popup.e-popup.e-popup-open {
856
+ border-radius: 0;
857
+ box-shadow: $rte-table-popup-box;
858
+ font-size: 14px;
859
+ font-weight: normal;
860
+ min-width: 120px;
861
+ overflow: hidden;
862
+ padding: 10px;
863
+ }
864
+
865
+ .e-rte-table-popup.e-popup-open .e-rte-tablecell {
866
+ border: $rte-table-span-border;
867
+ display: inline-block;
868
+ height: 14px;
869
+ margin: 1px;
870
+ overflow: hidden;
871
+ vertical-align: top;
872
+ width: 14px;
873
+ }
874
+
875
+ .e-rte-table-popup.e-popup-open .e-rte-table-row {
876
+ height: 16px;
877
+ }
878
+
879
+ .e-rte-table-popup.e-popup-open .e-insert-table-btn {
880
+ width: 100%;
881
+ }
882
+
883
+ .e-rte-edit-table .e-rte-field {
884
+ padding-top: $rte-insert-dialog-label-padding-top;
885
+ }
886
+
887
+ .e-rte-edit-table .e-rte-field:first-child {
888
+ padding-top: 0;
889
+ }
890
+
891
+ .e-rte-content .e-content table td.e-cell-select,
892
+ .e-rte-content .e-content table th.e-cell-select {
893
+ border: 1px double $rte-table-select-border-color;
894
+ height: 24.67px;
895
+ }
896
+
897
+ span.e-table-box {
898
+ cursor: nwse-resize;
899
+ display: block;
900
+ height: 10px;
901
+ position: absolute;
902
+ width: 10px;
903
+ }
904
+
905
+ span.e-table-box.e-rmob {
906
+ height: 14px;
907
+ width: 14px;
908
+ }
909
+
910
+ .e-upload .e-upload-files .e-upload-file-list .e-file-container {
911
+ margin-right: 50px;
912
+ }
913
+
914
+ .e-rte-upload-popup {
915
+ width: 250px;
916
+ }
917
+
918
+ .e-rte-dialog-upload .e-upload-files {
919
+ border-top: 0;
920
+ }
921
+
922
+ .e-rte-dialog-upload .e-upload-files .e-upload-file-list {
923
+ border-bottom: 0;
924
+ }
925
+
926
+ }
927
+
928
+ .e-rte-backgroundcolor-colorpicker,
929
+ .e-rte-fontcolor-colorpicker {
930
+ & .e-color-palette.e-container {
931
+ & .e-custom-palette .e-palette {
932
+ padding: 0;
933
+ }
934
+
935
+ & .e-switch-ctrl-btn {
936
+ padding: 5px;.e-bigger & {
937
+ padding: 5px;
938
+ }
939
+ }
940
+
941
+ }
942
+
943
+ }
944
+
945
+ .e-rte-quick-popup {
946
+ border-radius: 2px;
947
+ overflow: hidden;
948
+
949
+ .e-rte-quick-toolbar {
950
+ border-radius: 2px;
951
+ min-height: 42px;
952
+
953
+ .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
954
+ white-space: nowrap;
955
+ }
956
+
957
+ &.e-remove-white-space {
958
+
959
+ .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
960
+ white-space: nowrap;
961
+ }
962
+ }
963
+
964
+ .e-toolbar-items:not(.e-tbar-pos) {
965
+ border-radius: 2px;
966
+ margin: 0 6px;
967
+ min-height: 42px;
968
+
969
+ .e-toolbar-item.e-rte-horizontal-separator,
970
+ .e-toolbar-item.e-separator.e-multirow-separator.e-rte-horizontal-separator {
971
+ display: block;
972
+ height: 1px;
973
+ margin: 0;
974
+ min-height: 1px;
975
+ }
976
+
977
+ .e-toolbar-item {
978
+ margin: 0 6px;
979
+ min-height: 42px;
980
+
981
+ &:first-child,
982
+ &:last-child {
983
+ margin: 0 6px;
984
+ }
985
+
986
+ .e-tbar-btn:not(.e-rte-dropdown-btn) {
987
+ line-height: 20px;
988
+ }
989
+
990
+ .e-tbar-btn:not(.e-rte-dropdown-btn) .e-icons {
991
+ min-width: $rte-quick-item-icon-min-width;
992
+ }
993
+ }
994
+
995
+ .e-toolbar-item .e-btn,
996
+ .e-toolbar-item .e-btn:hover {
997
+ min-height: $rte-quick-item-btn-height;
998
+ min-width: $rte-quick-item-btn-width;
999
+ padding: $rte-quick-item-padding;
1000
+ }
1001
+ }
1002
+
1003
+ .e-tbar-btn {
1004
+
1005
+ .e-icons.e-btn-icon:not(.e-caret) {
1006
+ font-size: 16px;
1007
+ }
1008
+ }
1009
+
1010
+ .e-background-color.e-icons::before {
1011
+ display: inline;
1012
+ }
1013
+
1014
+ .e-rte-backgroundcolor-dropdown .e-btn-icon.e-caret {
1015
+ font-size: 10px;
1016
+ }
1017
+ }
1018
+
1019
+ .e-rte-dropdown-btn.e-tbar-btn {
1020
+ line-height: $rte-quick-drop-btn-line-height;
1021
+ margin: $rte-quick-drop-btn-margin;
1022
+ padding: $rte-quick-drop-btn-padding;
1023
+
1024
+ .e-rte-dropdown-btn-text {
1025
+ font-weight: 500;
1026
+ overflow: hidden;
1027
+ text-overflow: ellipsis;
1028
+ white-space: nowrap;
1029
+ }
1030
+
1031
+ .e-icons:not(.e-caret) {
1032
+ font-size: 14px;
1033
+ margin-left: -3px;
1034
+ }
1035
+
1036
+ .e-caret {
1037
+ font-size: $rte-quick-drop-btn-caret-font-size;
1038
+ width: 12px;
1039
+ }
1040
+ }
1041
+
1042
+ &.e-hide {
1043
+ display: block;
1044
+ visibility: hidden;
1045
+ }
1046
+
1047
+ }
1048
+
1049
+ .e-bigger .e-rte-quick-popup {
1050
+ .e-rte-quick-toolbar {
1051
+ min-height: 48px;
1052
+
1053
+ .e-toolbar-items:not(.e-tbar-pos) {
1054
+ margin: 0 6px;
1055
+ min-height: 48px;
1056
+
1057
+ .e-toolbar-item:not(.e-separator) {
1058
+ margin: 0 6px;
1059
+ min-height: 48px;
1060
+ min-width: 36px;
1061
+ padding: 0;
1062
+ }
1063
+
1064
+ .e-toolbar-item .e-tbar-btn:not(.e-rte-dropdown-btn) {
1065
+ line-height: $rte-big-quick-item-line-height;
1066
+ }
1067
+
1068
+ .e-toolbar-item .e-btn,
1069
+ .e-toolbar-item .e-btn:hover {
1070
+ min-height: $rte-big-quick-item-btn-height;
1071
+ min-width: $rte-big-quick-item-btn-width;
1072
+ padding: $rte-big-quick-item-padding;
1073
+ }
1074
+
1075
+ .e-toolbar-item:first-child,
1076
+ .e-toolbar-item:last-child {
1077
+ margin: 0 6px;
1078
+ }
1079
+
1080
+ .e-toolbar-item .e-tbar-btn.e-btn.e-control {
1081
+ height: $rte-big-quick-tbar-item-min-height;
1082
+ line-height: normal;
1083
+ margin: 0;
1084
+ min-height: $rte-big-quick-tbar-item-min-height;
1085
+ min-width: $rte-big-quick-tbar-item-min-width;
1086
+ }
1087
+
1088
+ .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon:not(.e-caret) {
1089
+ font-size: 18px;
1090
+ }
1091
+ }
1092
+ }
1093
+
1094
+ .e-rte-dropdown-btn.e-tbar-btn {
1095
+ line-height: $rte-big-quick-drop-btn-line-height;
1096
+ margin: $rte-big-quick-drop-btn-margin;
1097
+ padding: $rte-big-quick-drop-btn-padding;
1098
+
1099
+ .e-icons:not(.e-caret) {
1100
+ font-size: 16px;
1101
+ }
1102
+
1103
+ .e-caret {
1104
+ font-size: $rte-big-quick-drop-btn-caret-font-size;
1105
+ width: 20px;
1106
+ }
1107
+ }
1108
+ }
1109
+
1110
+ .e-bigger #{&}.e-richtexteditor,
1111
+ #{&}.e-richtexteditor.e-bigger,
1112
+ #{&}.e-richtexteditor {
1113
+
1114
+ & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1115
+ & .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
1116
+ & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item,
1117
+ & .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item {
1118
+
1119
+ & .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1120
+ & .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1121
+ display: flex;
1122
+ padding-left: $rte-colorpicker-parent-padding;
1123
+ padding-right: $rte-colorpicker-parent-padding;
1124
+
1125
+ &:hover,
1126
+ &:active,
1127
+ &.e-active,
1128
+ &.e-active:hover {
1129
+ padding-left: $rte-colorpicker-parent-padding-hover;
1130
+ padding-right: $rte-colorpicker-parent-padding-hover;
1131
+ }
1132
+
1133
+ &.e-active:hover {
1134
+ padding-bottom: $rte-colorpicker-parent-padding-active-hover;
1135
+ padding-top: $rte-colorpicker-parent-padding-active-hover;
1136
+ }
1137
+
1138
+ & .e-rte-color-content {
1139
+ position: relative;
1140
+ vertical-align: middle;
1141
+ width: $rte-font-icon-width;
1142
+
1143
+ & .e-rte-elements {
1144
+ border-bottom-style: solid;
1145
+ border-bottom-width: 3px;
1146
+ line-height: $rte-font-icon-line-height;
1147
+ padding-bottom: 1px;
1148
+ }
1149
+ }
1150
+
1151
+ .e-rte-color-content::after {
1152
+ content: '';
1153
+ height: 100%;
1154
+ position: absolute;
1155
+ right: 0;
1156
+ width: $rte-split-btn-bar-size;
1157
+ }
1158
+
1159
+ & .e-icons.e-btn-icon {
1160
+ display: flex;
1161
+ flex-direction: column;
1162
+ justify-content: center;
1163
+ line-height: 1;
1164
+ min-width: $rte-font-arrow-width;
1165
+ text-align: center;
1166
+ width: $rte-font-arrow-width;
1167
+ }
1168
+ }
1169
+ }
1170
+ }
1171
+
1172
+ .e-bigger #{&}.e-richtexteditor,
1173
+ #{&}.e-richtexteditor.e-bigger {
1174
+ & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1175
+ & .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
1176
+ & .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item,
1177
+ & .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item {
1178
+ & .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1179
+ & .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1180
+ & .e-icons.e-btn-icon {
1181
+ min-width: $rte-font-arrow-touch-width;
1182
+ width: $rte-font-arrow-touch-width;
1183
+ }
1184
+ }
1185
+ }
1186
+ }
1187
+
1188
+ .e-popup-modal.e-popup.e-popup-open {
1189
+ display: inline-flex;
1190
+ }
1191
+
1192
+ .e-rte-modal-popup.e-popup-container.e-center {
1193
+ justify-content: center;
1194
+ }
1195
+
1196
+ .e-rte-modal-popup.e-popup-container {
1197
+ align-items: center;
1198
+ display: none;
1199
+ height: 100%;
1200
+ left: 0;
1201
+ position: fixed;
1202
+ top: 0;
1203
+ width: 100%;
1204
+ z-index: 10000;
1205
+ }
1206
+
1207
+ .e-popup-overlay {
1208
+ height: 100%;
1209
+ left: 0;
1210
+ opacity: .5;
1211
+ position: absolute;
1212
+ top: 0;
1213
+ width: 100%;
1214
+ }
1215
+
1216
+ .e-bigger .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1217
+ height: 16px;
1218
+ width: 16px;
1219
+ }
1220
+
1221
+ .e-bigger .e-rte-table-popup.e-popup-open .e-rte-table-row {
1222
+ height: 18px;
1223
+ }
1224
+
1225
+ .e-table-rhelper {
1226
+ cursor: col-resize;
1227
+ opacity: .87;
1228
+ position: absolute;
1229
+ }
1230
+
1231
+ .e-table-rhelper.e-column-helper {
1232
+ width: 1px;
1233
+ }
1234
+
1235
+ .e-table-rhelper.e-row-helper {
1236
+ height: 1px;
1237
+ }
1238
+
1239
+ .e-reicon::before {
1240
+ border-bottom: 6px solid transparent;
1241
+ border-right: 6px solid;
1242
+ border-top: 6px solid transparent;
1243
+ content: '';
1244
+ display: block;
1245
+ height: 0;
1246
+ position: absolute;
1247
+ right: 4px;
1248
+ top: 4px;
1249
+ width: 20px;
1250
+ }
1251
+
1252
+ .e-reicon::after {
1253
+ border-bottom: 6px solid transparent;
1254
+ border-left: 6px solid;
1255
+ border-top: 6px solid transparent;
1256
+ content: '';
1257
+ display: block;
1258
+ height: 0;
1259
+ left: 4px;
1260
+ position: absolute;
1261
+ top: 4px;
1262
+ width: 20px;
1263
+ z-index: 3;
1264
+ }
1265
+
1266
+ .e-row-helper.e-reicon::after {
1267
+ top: 10px;
1268
+ transform: rotate(90deg);
1269
+ }
1270
+
1271
+ .e-row-helper.e-reicon::before {
1272
+ left: 4px;
1273
+ top: -20px;
1274
+ transform: rotate(90deg);
1275
+ }
1276
+
1277
+ .e-rte-overflow {
1278
+ overflow: hidden;
1279
+ }
1280
+
1281
+ .e-rte-dialog-minheight {
1282
+ min-height: 296px;
1283
+ }
1284
+
1285
+ .e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor {
1286
+ background-size: 700px 190px;
1287
+ min-height: 190px;
1288
+ }
1289
+
1290
+ .e-bigger .e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor,
1291
+ .e-bigger.e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor {
1292
+ background-size: 700px 190px;
1293
+ min-height: 190px;
1294
+ }
1295
+
1296
+ .e-rte-table.e-rte-table-border {
1297
+ border: 1px solid $rte-table-border-color;
1298
+ border-collapse: separate;
1299
+ }
1300
+
1301
+ .e-rte-img-dialog.e-dialog.e-device.e-dlg-modal {
1302
+ .e-img-uploadwrap.e-droparea {
1303
+ line-height: 10;
1304
+ min-height: 50px;
1305
+ position: relative;
1306
+
1307
+ .e-browsebtn {
1308
+ display: block;
1309
+ height: 36px;
1310
+ margin: -50px auto;
1311
+ padding: 0 18px;
1312
+ }
1313
+
1314
+ .e-upload {
1315
+ border: 0 solid transparent;
1316
+ float: none;
1317
+ }
1318
+
1319
+ .e-file-select-wrap {
1320
+ display: none;
1321
+ }
1322
+ }
1323
+
1324
+ .e-linkheader {
1325
+ font-family: $rte-font-family;
1326
+ font-size: 15px;
1327
+ opacity: .87;
1328
+ padding-bottom: $rte-insert-dialog-label-padding-bottom;
1329
+ padding-top: $rte-insert-dialog-label-padding-top;
1330
+ }
1331
+ }
1332
+ }