@syncfusion/ej2-richtexteditor 27.1.55 → 27.1.57-637882

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 (234) hide show
  1. package/.eslintignore +4 -4
  2. package/.eslintrc.json +260 -260
  3. package/README.md +76 -76
  4. package/dist/ej2-richtexteditor.umd.min.js +1 -10
  5. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-richtexteditor.es2015.js +994 -749
  7. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  8. package/dist/es6/ej2-richtexteditor.es5.js +622 -364
  9. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  10. package/ej2-richtexteditor-component.sln +30 -0
  11. package/helpers/e2e/index.js +3 -3
  12. package/helpers/e2e/rte-helper.js +13 -13
  13. package/license +9 -9
  14. package/package.json +85 -85
  15. package/src/common/editor-styles.js +1 -1
  16. package/src/common/interface.d.ts +10 -8
  17. package/src/common/util.js +2 -1
  18. package/src/editor-manager/base/classes.d.ts +1 -1
  19. package/src/editor-manager/base/classes.js +1 -1
  20. package/src/editor-manager/base/constant.d.ts +4 -0
  21. package/src/editor-manager/base/constant.js +4 -0
  22. package/src/editor-manager/base/editor-manager.d.ts +3 -3
  23. package/src/editor-manager/base/editor-manager.js +3 -3
  24. package/src/editor-manager/base/enum.d.ts +2 -2
  25. package/src/editor-manager/base/interface.d.ts +9 -9
  26. package/src/editor-manager/base/types.d.ts +1 -1
  27. package/src/editor-manager/plugin/alignments.d.ts +2 -2
  28. package/src/editor-manager/plugin/alignments.js +2 -2
  29. package/src/editor-manager/plugin/audio.d.ts +3 -3
  30. package/src/editor-manager/plugin/audio.js +3 -3
  31. package/src/editor-manager/plugin/clearformat-exec.d.ts +2 -2
  32. package/src/editor-manager/plugin/clearformat-exec.js +2 -2
  33. package/src/editor-manager/plugin/clearformat.d.ts +1 -1
  34. package/src/editor-manager/plugin/clearformat.js +1 -1
  35. package/src/editor-manager/plugin/dom-node.d.ts +36 -36
  36. package/src/editor-manager/plugin/dom-node.js +36 -36
  37. package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -1
  38. package/src/editor-manager/plugin/format-painter-actions.js +1 -1
  39. package/src/editor-manager/plugin/formats.d.ts +3 -2
  40. package/src/editor-manager/plugin/formats.js +27 -2
  41. package/src/editor-manager/plugin/image.d.ts +3 -3
  42. package/src/editor-manager/plugin/image.js +11 -5
  43. package/src/editor-manager/plugin/indents.d.ts +2 -2
  44. package/src/editor-manager/plugin/indents.js +2 -2
  45. package/src/editor-manager/plugin/insert-methods.d.ts +4 -4
  46. package/src/editor-manager/plugin/insert-methods.js +4 -4
  47. package/src/editor-manager/plugin/insert-text.d.ts +2 -2
  48. package/src/editor-manager/plugin/insert-text.js +2 -2
  49. package/src/editor-manager/plugin/inserthtml-exec.d.ts +2 -2
  50. package/src/editor-manager/plugin/inserthtml-exec.js +2 -2
  51. package/src/editor-manager/plugin/inserthtml.d.ts +4 -2
  52. package/src/editor-manager/plugin/inserthtml.js +98 -19
  53. package/src/editor-manager/plugin/isformatted.d.ts +9 -9
  54. package/src/editor-manager/plugin/isformatted.js +9 -9
  55. package/src/editor-manager/plugin/link.d.ts +2 -2
  56. package/src/editor-manager/plugin/link.js +2 -2
  57. package/src/editor-manager/plugin/lists.d.ts +2 -2
  58. package/src/editor-manager/plugin/lists.js +2 -2
  59. package/src/editor-manager/plugin/ms-word-clean-up.d.ts +2 -1
  60. package/src/editor-manager/plugin/ms-word-clean-up.js +17 -1
  61. package/src/editor-manager/plugin/nodecutter.d.ts +6 -6
  62. package/src/editor-manager/plugin/nodecutter.js +8 -8
  63. package/src/editor-manager/plugin/selection-commands.d.ts +1 -1
  64. package/src/editor-manager/plugin/selection-commands.js +1 -1
  65. package/src/editor-manager/plugin/selection-exec.d.ts +2 -2
  66. package/src/editor-manager/plugin/selection-exec.js +2 -2
  67. package/src/editor-manager/plugin/table.d.ts +2 -2
  68. package/src/editor-manager/plugin/table.js +2 -2
  69. package/src/editor-manager/plugin/toolbar-status.d.ts +2 -2
  70. package/src/editor-manager/plugin/toolbar-status.js +2 -2
  71. package/src/editor-manager/plugin/undo.d.ts +6 -6
  72. package/src/editor-manager/plugin/undo.js +6 -6
  73. package/src/editor-manager/plugin/video.d.ts +3 -3
  74. package/src/editor-manager/plugin/video.js +3 -3
  75. package/src/markdown-parser/base/interface.d.ts +10 -10
  76. package/src/markdown-parser/base/markdown-parser.d.ts +3 -3
  77. package/src/markdown-parser/base/markdown-parser.js +3 -3
  78. package/src/markdown-parser/base/types.d.ts +1 -1
  79. package/src/markdown-parser/plugin/clearformat.d.ts +2 -2
  80. package/src/markdown-parser/plugin/clearformat.js +2 -2
  81. package/src/markdown-parser/plugin/formats.d.ts +2 -2
  82. package/src/markdown-parser/plugin/formats.js +2 -2
  83. package/src/markdown-parser/plugin/insert-text.d.ts +2 -2
  84. package/src/markdown-parser/plugin/insert-text.js +2 -2
  85. package/src/markdown-parser/plugin/link.d.ts +2 -2
  86. package/src/markdown-parser/plugin/link.js +2 -2
  87. package/src/markdown-parser/plugin/markdown-selection.d.ts +14 -14
  88. package/src/markdown-parser/plugin/markdown-selection.js +14 -14
  89. package/src/markdown-parser/plugin/md-selection-formats.d.ts +1 -1
  90. package/src/markdown-parser/plugin/md-selection-formats.js +1 -1
  91. package/src/markdown-parser/plugin/table.d.ts +3 -3
  92. package/src/markdown-parser/plugin/table.js +3 -3
  93. package/src/markdown-parser/plugin/undo.d.ts +6 -6
  94. package/src/markdown-parser/plugin/undo.js +6 -6
  95. package/src/rich-text-editor/actions/base-quick-toolbar.d.ts +9 -9
  96. package/src/rich-text-editor/actions/base-quick-toolbar.js +9 -9
  97. package/src/rich-text-editor/actions/base-toolbar.d.ts +3 -3
  98. package/src/rich-text-editor/actions/base-toolbar.js +3 -3
  99. package/src/rich-text-editor/actions/color-picker.d.ts +2 -2
  100. package/src/rich-text-editor/actions/color-picker.js +2 -2
  101. package/src/rich-text-editor/actions/count.d.ts +3 -3
  102. package/src/rich-text-editor/actions/count.js +3 -3
  103. package/src/rich-text-editor/actions/dropdown-buttons.d.ts +2 -2
  104. package/src/rich-text-editor/actions/dropdown-buttons.js +2 -2
  105. package/src/rich-text-editor/actions/emoji-picker.d.ts +1 -1
  106. package/src/rich-text-editor/actions/emoji-picker.js +1 -1
  107. package/src/rich-text-editor/actions/enter-key.js +10 -2
  108. package/src/rich-text-editor/actions/full-screen.d.ts +3 -3
  109. package/src/rich-text-editor/actions/full-screen.js +3 -3
  110. package/src/rich-text-editor/actions/html-editor.d.ts +3 -3
  111. package/src/rich-text-editor/actions/html-editor.js +21 -5
  112. package/src/rich-text-editor/actions/keyboard-model.d.ts +16 -16
  113. package/src/rich-text-editor/actions/keyboard.d.ts +1 -1
  114. package/src/rich-text-editor/actions/keyboard.js +20 -20
  115. package/src/rich-text-editor/actions/markdown-editor.d.ts +2 -2
  116. package/src/rich-text-editor/actions/markdown-editor.js +2 -2
  117. package/src/rich-text-editor/actions/paste-clean-up.d.ts +1 -1
  118. package/src/rich-text-editor/actions/paste-clean-up.js +49 -22
  119. package/src/rich-text-editor/actions/quick-toolbar.d.ts +9 -9
  120. package/src/rich-text-editor/actions/quick-toolbar.js +9 -9
  121. package/src/rich-text-editor/actions/resize.js +4 -0
  122. package/src/rich-text-editor/actions/toolbar.d.ts +13 -13
  123. package/src/rich-text-editor/actions/toolbar.js +13 -13
  124. package/src/rich-text-editor/actions/xhtml-validation.d.ts +1 -1
  125. package/src/rich-text-editor/actions/xhtml-validation.js +1 -1
  126. package/src/rich-text-editor/base/classes.d.ts +125 -125
  127. package/src/rich-text-editor/base/classes.js +125 -125
  128. package/src/rich-text-editor/base/constant.d.ts +158 -158
  129. package/src/rich-text-editor/base/constant.js +158 -158
  130. package/src/rich-text-editor/base/enum.d.ts +1 -1
  131. package/src/rich-text-editor/base/enum.js +1 -1
  132. package/src/rich-text-editor/base/interface.d.ts +51 -51
  133. package/src/rich-text-editor/base/interface.js +1 -1
  134. package/src/rich-text-editor/base/rich-text-editor-model.d.ts +958 -958
  135. package/src/rich-text-editor/base/rich-text-editor.d.ts +62 -62
  136. package/src/rich-text-editor/base/rich-text-editor.js +68 -65
  137. package/src/rich-text-editor/base/util.d.ts +1 -1
  138. package/src/rich-text-editor/base/util.js +1 -1
  139. package/src/rich-text-editor/formatter/formatter.d.ts +8 -8
  140. package/src/rich-text-editor/formatter/formatter.js +8 -8
  141. package/src/rich-text-editor/formatter/html-formatter.d.ts +2 -2
  142. package/src/rich-text-editor/formatter/html-formatter.js +15 -15
  143. package/src/rich-text-editor/formatter/markdown-formatter.d.ts +2 -2
  144. package/src/rich-text-editor/formatter/markdown-formatter.js +15 -15
  145. package/src/rich-text-editor/models/default-locale.js +5 -5
  146. package/src/rich-text-editor/models/iframe-settings-model.d.ts +38 -38
  147. package/src/rich-text-editor/models/iframe-settings.js +19 -19
  148. package/src/rich-text-editor/models/inline-mode-model.d.ts +11 -11
  149. package/src/rich-text-editor/models/inline-mode.js +19 -19
  150. package/src/rich-text-editor/models/slash-menu-settings-model.d.ts +25 -25
  151. package/src/rich-text-editor/models/slash-menu-settings.js +19 -19
  152. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +807 -807
  153. package/src/rich-text-editor/models/toolbar-settings.js +19 -19
  154. package/src/rich-text-editor/renderer/audio-module.d.ts +1 -1
  155. package/src/rich-text-editor/renderer/audio-module.js +8 -2
  156. package/src/rich-text-editor/renderer/content-renderer.d.ts +6 -6
  157. package/src/rich-text-editor/renderer/content-renderer.js +6 -6
  158. package/src/rich-text-editor/renderer/dialog-renderer.d.ts +2 -2
  159. package/src/rich-text-editor/renderer/dialog-renderer.js +2 -2
  160. package/src/rich-text-editor/renderer/iframe-content-renderer.d.ts +4 -4
  161. package/src/rich-text-editor/renderer/iframe-content-renderer.js +17 -17
  162. package/src/rich-text-editor/renderer/image-module.d.ts +1 -1
  163. package/src/rich-text-editor/renderer/image-module.js +65 -23
  164. package/src/rich-text-editor/renderer/link-module.d.ts +1 -1
  165. package/src/rich-text-editor/renderer/link-module.js +4 -1
  166. package/src/rich-text-editor/renderer/markdown-renderer.d.ts +6 -6
  167. package/src/rich-text-editor/renderer/markdown-renderer.js +6 -6
  168. package/src/rich-text-editor/renderer/popup-renderer.d.ts +5 -5
  169. package/src/rich-text-editor/renderer/popup-renderer.js +5 -5
  170. package/src/rich-text-editor/renderer/render.d.ts +2 -2
  171. package/src/rich-text-editor/renderer/render.js +2 -2
  172. package/src/rich-text-editor/renderer/slash-menu.js +9 -0
  173. package/src/rich-text-editor/renderer/table-module.d.ts +1 -1
  174. package/src/rich-text-editor/renderer/table-module.js +5 -4
  175. package/src/rich-text-editor/renderer/toolbar-renderer.d.ts +9 -9
  176. package/src/rich-text-editor/renderer/toolbar-renderer.js +9 -9
  177. package/src/rich-text-editor/renderer/video-module.d.ts +1 -1
  178. package/src/rich-text-editor/renderer/video-module.js +8 -2
  179. package/src/rich-text-editor/renderer/view-source.d.ts +5 -5
  180. package/src/rich-text-editor/renderer/view-source.js +5 -5
  181. package/src/rich-text-editor/services/renderer-factory.d.ts +3 -3
  182. package/src/rich-text-editor/services/renderer-factory.js +3 -3
  183. package/src/rich-text-editor/services/service-locator.d.ts +3 -3
  184. package/src/rich-text-editor/services/service-locator.js +3 -3
  185. package/src/selection/selection.d.ts +24 -23
  186. package/src/selection/selection.js +37 -34
  187. package/styles/_all.scss +1 -1
  188. package/styles/material3-dark.scss +1 -1
  189. package/styles/material3.scss +1 -1
  190. package/styles/rich-text-editor/_all.scss +2 -2
  191. package/styles/rich-text-editor/_bds-definition.scss +290 -290
  192. package/styles/rich-text-editor/_bigger.scss +610 -610
  193. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +291 -291
  194. package/styles/rich-text-editor/_bootstrap-definition.scss +349 -349
  195. package/styles/rich-text-editor/_bootstrap4-definition.scss +476 -476
  196. package/styles/rich-text-editor/_bootstrap5-definition.scss +278 -278
  197. package/styles/rich-text-editor/_bootstrap5.3-definition.scss +278 -278
  198. package/styles/rich-text-editor/_fabric-dark-definition.scss +275 -275
  199. package/styles/rich-text-editor/_fabric-definition.scss +273 -273
  200. package/styles/rich-text-editor/_fluent-definition.scss +279 -279
  201. package/styles/rich-text-editor/_fluent2-definition.scss +287 -287
  202. package/styles/rich-text-editor/_fusionnew-definition.scss +276 -276
  203. package/styles/rich-text-editor/_highcontrast-definition.scss +274 -274
  204. package/styles/rich-text-editor/_highcontrast-light-definition.scss +273 -273
  205. package/styles/rich-text-editor/_layout.scss +2180 -2180
  206. package/styles/rich-text-editor/_material-dark-definition.scss +278 -278
  207. package/styles/rich-text-editor/_material-definition.scss +276 -276
  208. package/styles/rich-text-editor/_material3-definition.scss +278 -278
  209. package/styles/rich-text-editor/_tailwind-definition.scss +273 -273
  210. package/styles/rich-text-editor/_theme.scss +844 -844
  211. package/styles/rich-text-editor/icons/_bds.scss +372 -372
  212. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +373 -373
  213. package/styles/rich-text-editor/icons/_bootstrap.scss +373 -373
  214. package/styles/rich-text-editor/icons/_bootstrap4.scss +373 -373
  215. package/styles/rich-text-editor/icons/_bootstrap5.3.scss +372 -372
  216. package/styles/rich-text-editor/icons/_bootstrap5.scss +372 -372
  217. package/styles/rich-text-editor/icons/_fabric-dark.scss +373 -373
  218. package/styles/rich-text-editor/icons/_fabric.scss +373 -373
  219. package/styles/rich-text-editor/icons/_fluent.scss +372 -372
  220. package/styles/rich-text-editor/icons/_fluent2.scss +369 -369
  221. package/styles/rich-text-editor/icons/_fusionnew.scss +357 -357
  222. package/styles/rich-text-editor/icons/_highcontrast-light.scss +361 -361
  223. package/styles/rich-text-editor/icons/_highcontrast.scss +373 -373
  224. package/styles/rich-text-editor/icons/_material-dark.scss +373 -373
  225. package/styles/rich-text-editor/icons/_material.scss +373 -373
  226. package/styles/rich-text-editor/icons/_material3.scss +372 -372
  227. package/styles/rich-text-editor/icons/_tailwind.scss +372 -372
  228. package/styles/rich-text-editor/material3-dark.scss +1 -1
  229. package/styles/rich-text-editor/material3.scss +1 -1
  230. package/dist/ej2-richtexteditor.min.js +0 -10
  231. package/dist/global/ej2-richtexteditor.min.js +0 -11
  232. package/dist/global/ej2-richtexteditor.min.js.map +0 -1
  233. package/dist/global/index.d.ts +0 -14
  234. package/tslint.json +0 -111
@@ -1,2180 +1,2180 @@
1
- @include export-module('richtexteditor-layout') {
2
-
3
- /*! tab layout */
4
-
5
- .e-richtexteditor {
6
- display: block;
7
- position: relative;
8
-
9
- .e-rte-container {
10
- display: flex;
11
- flex-direction: column;
12
- width: 100%;
13
- height: 100%;
14
-
15
- &.e-count-enabled,
16
- &.e-resize-enabled {
17
- .e-content {
18
- padding-bottom: 0;
19
- }
20
-
21
- .e-rte-content,
22
- .e-source-content {
23
- margin-bottom: 20px;
24
- }
25
- }
26
-
27
- &.e-source-code-enabled {
28
- .e-rte-content {
29
- display: none;
30
- }
31
-
32
- .e-source-content {
33
- display: block;
34
- overflow: hidden;
35
- }
36
- }
37
- }
38
-
39
- .e-rte-content {
40
- flex-grow: 1;
41
-
42
- .rte-placeholder.e-rte-placeholder.enabled {
43
- display: block;
44
- font-size: $rte-content-font-size;
45
- }
46
- }
47
-
48
- .e-source-content {
49
- display: none;
50
- }
51
-
52
- & textarea.e-content {
53
- border: 0;
54
- display: block;
55
- height: 100%;
56
- margin: 0;
57
- outline: 0;
58
- padding: 8px;
59
- resize: none;
60
- width: 100%;
61
- }
62
-
63
- & .e-rte-hidden {
64
- display: none;
65
- }
66
-
67
- &.e-disabled {
68
- pointer-events: none;
69
- }
70
-
71
- &.e-rte-full-screen {
72
- bottom: 0;
73
- height: 100% !important; /* stylelint-disable-line declaration-no-important */
74
- left: 0;
75
- overflow: auto;
76
- position: fixed;
77
- right: 0;
78
- top: 0;
79
- width: 100% !important; /* stylelint-disable-line declaration-no-important */
80
- z-index: 999;
81
-
82
- .e-resize-handle {
83
- display: none;
84
- }
85
-
86
- iframe {
87
- height: calc(100% - 42px);
88
- }
89
-
90
- .e-rte-edit-table {
91
- max-height: $rte-table-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
92
- }
93
-
94
- .e-rte-edit-table-prop-dialog {
95
- max-height: $rte-edit-table-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
96
- }
97
-
98
- .e-rte-link-dialog {
99
- max-height: $rte-link-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
100
- }
101
-
102
- .e-rte-img-dialog {
103
- max-height: $rte-img-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
104
- }
105
-
106
- .e-rte-img-link-dialog {
107
- max-height: $rte-img-link-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
108
- }
109
-
110
- .e-rte-img-size-dialog {
111
- max-height: $rte-img-size-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
112
- }
113
-
114
- .e-rte-img-alt-dialog {
115
- max-height: $rte-img-alt-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
116
- }
117
- }
118
-
119
- &.e-rtl .e-rte-character-count {
120
- left: 0;
121
- padding-left: 30px;
122
- padding-right: unset;
123
- right: unset;
124
- }
125
-
126
- &.e-rtl .e-rte-content .e-content blockquote {
127
- padding-left: 0;
128
- padding-right: 12px;
129
- }
130
-
131
- .e-rte-toolbar {
132
-
133
- @if $skin-name == 'bootstrap5' {
134
- &.e-toolbar .e-hor-nav {
135
- min-height: $toolbar-expand-icon-min-height;
136
- }
137
- }
138
-
139
- .e-toolbar-items:not(.e-tbar-pos):not(.e-toolbar-multirow) .e-toolbar-item:first-child {
140
- margin-left: $rte-tb-items-margin-left;
141
- }
142
-
143
- .e-toolbar-items .e-hscroll-bar .e-hscroll-content .e-toolbar-item:first-child {
144
- margin-left: 0;
145
- }
146
-
147
- .e-hor-nav.e-expended-nav {
148
- height: auto;
149
- }
150
-
151
- .e-toolbar-multirow {
152
- margin-left: 7px;
153
- margin-right: 7px;
154
- }
155
- }
156
-
157
- &.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos):not(.e-toolbar-multirow) .e-toolbar-item:first-child {
158
- margin-left: 0;
159
- margin-right: $rte-tb-items-margin-left;
160
- }
161
-
162
- &.e-rtl .e-rte-toolbar .e-toolbar-multirow:not(.e-tbar-pos) .e-toolbar-item:first-child {
163
- margin-right: 0;
164
- }
165
-
166
- .e-rte-toolbar.e-rte-tb-mobile .e-toolbar-multirow {
167
- display: inline-block;
168
- margin-left: 0;
169
- margin-right: 0;
170
- overflow-x: auto;
171
- white-space: nowrap;
172
- width: 100%;
173
- }
174
-
175
- .e-rte-toolbar,
176
- .e-rte-toolbar.e-toolbar.e-extended-toolbar {
177
-
178
- .e-toolbar-extended {
179
- margin-left: 0;
180
- padding-left: $rte-tb-items-padding-left;
181
- }
182
-
183
- .e-toolbar-items,
184
- .e-toolbar-extended {
185
-
186
- .e-toolbar-item {
187
-
188
- .e-formats-tbar-btn > :first-child {
189
- min-width: $rte-format-btn-min-width;
190
- }
191
-
192
- .e-font-name-tbar-btn > :first-child {
193
- min-width: $rte-font-name-btn-min-width;
194
- }
195
-
196
- .e-font-size-tbar-btn > :first-child {
197
- min-width: $rte-font-size-btn-min-width;
198
- }
199
-
200
- .e-dropdown-btn {
201
- padding-left: $rte-drop-btn-padding-left;
202
- padding-right: $rte-drop-btn-padding-right;
203
-
204
- .e-rte-dropdown-btn-text {
205
- font-size: $dropdown-btn-font-size;
206
- font-weight: $font-weight;
207
- overflow: hidden;
208
- text-overflow: ellipsis;
209
- white-space: nowrap;
210
- }
211
- }
212
-
213
- .e-dropdown-btn:hover,
214
- .e-dropdown-btn:focus,
215
- .e-dropdown-btn:active {
216
- padding-left: $rte-drop-btn-action-padding-left;
217
- padding-right: $rte-drop-btn-action-padding-right;
218
- }
219
-
220
- .e-rte-font-color .e-selected-color.e-icons::before {
221
- font-size: 12px;
222
- position: relative;
223
- top: -18px;
224
- }
225
-
226
- .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
227
- .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content {
228
- line-height: $rte-formatlists-dropdown-line-height;
229
- @if $skin-name == 'FluentUI' {
230
- padding: 5px;
231
- }
232
- }
233
-
234
- .e-background-color.e-icons::before {
235
- display: inline;
236
- font-size: $rte-background-color-icon-fontsize;
237
- }
238
-
239
- .e-tbar-btn {
240
-
241
- .e-order-list.e-icons,
242
- .e-unorder-list.e-icons,
243
- .e-icons.e-btn-icon:not(.e-caret) {
244
- font-size: $rte-toolbar-icon-size;
245
- }
246
- }
247
-
248
- &.e-active .e-tbar-btn.e-btn {
249
- padding: $rte-active-tb-item-btn-padding;
250
- @if $skin-name == 'FluentUI' {
251
- border-radius: 0;
252
- }
253
- }
254
- }
255
- .e-dropdown-btn .e-rte-color-content {
256
- padding-top: $rte-dropdown-btn-color-content-padding;
257
- height: $rte-dropdown-btn-color-content-height;
258
- }
259
- }
260
-
261
- @if $skin-name == 'bootstrap5' {
262
- .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
263
- padding: 0 4px;
264
- }
265
- }
266
-
267
- &.e-control[class *= 'e-toolbar'] {
268
- box-sizing: border-box;
269
- }
270
-
271
- .e-toolbar-extended.e-visible {
272
- display: block;
273
- visibility: hidden;
274
- }
275
-
276
- &.e-tbar-ios-fixed.e-rte-tb-fixed {
277
- top: 0;
278
- transform: translate3d(0, 0, 0);
279
- }
280
-
281
- &.e-rte-tb-fixed:not(.e-tbar-ios-fixed) {
282
- bottom: 0;
283
- }
284
-
285
- &.e-rte-tb-fixed {
286
- display: none;
287
- left: 0;
288
- position: fixed;
289
- right: 0;
290
-
291
- &.e-show {
292
- display: block;
293
- z-index: 101;
294
- }
295
- }
296
- }
297
-
298
- .rte-placeholder {
299
- color: $rte-content-font-color;
300
- line-height: $rte-placeholder-line-height;
301
- opacity: .54;
302
- overflow: hidden;
303
- padding: $rte-placeholder-padding;
304
- position: absolute;
305
- text-align: start;
306
- top: 0;
307
- z-index: 1;
308
- display: none;
309
- }
310
-
311
- .e-rte-content {
312
- position: relative;
313
- z-index: 1;
314
- }
315
-
316
- .e-rte-content,
317
- .e-source-content {
318
- /* stylelint-disable property-no-vendor-prefix */
319
- -webkit-overflow-scrolling: touch; //iOS devices scrolling smooth
320
- // sass-lint:enabled no-vendor-prefixes
321
- overflow: auto;
322
- transition: 100ms ease-out;
323
- width: 100%;
324
- font-size: $rte-content-font-size;
325
-
326
- .e-content {
327
- width: 100%;
328
- float: left;
329
- background: unset;
330
- box-sizing: border-box;
331
- height: 100%;
332
- min-height: 100px;
333
- outline: 0 solid transparent;
334
- padding: $rte-content-padding;
335
- position: relative;
336
- text-align: inherit;
337
- z-index: 2;
338
- font-weight: normal; /* normal = 400 */
339
- line-height: 1.5;
340
- font-size: 1em;
341
- }
342
-
343
- .e-content p {
344
- margin: 0 0 10px;
345
- margin-bottom: 10px;
346
- }
347
-
348
- .e-content code {
349
- background: $rte-code-background;
350
- color: $rte-code-color;
351
- }
352
-
353
- .e-content li {
354
- margin-bottom: 10px;
355
- }
356
-
357
- .e-content li ol,
358
- .e-content li ul {
359
- margin-block-start: 10px;
360
- }
361
-
362
- .e-content ul {
363
- list-style-type: disc;
364
- }
365
-
366
- .e-content ul ul,
367
- .e-content ol ul {
368
- list-style-type: circle;
369
- }
370
-
371
- .e-content ul ul ul,
372
- .e-content ol ul ul,
373
- .e-content ul ol ul,
374
- .e-content ol ol ul {
375
- list-style-type: square;
376
- }
377
-
378
- .e-content h1 {
379
- font-size: 2.857em;
380
- font-weight: 600;
381
- line-height: 1.2;
382
- margin: 10px 0;
383
- }
384
-
385
- .e-content h2 {
386
- font-size: 2.285em;
387
- font-weight: 600;
388
- line-height: 1.2;
389
- margin: 10px 0;
390
- }
391
-
392
- .e-content h3 {
393
- font-size: 2em;
394
- font-weight: 600;
395
- line-height: 1.2;
396
- margin: 10px 0;
397
- }
398
-
399
- .e-content h4 {
400
- font-size: 1.714em;
401
- font-weight: 600;
402
- line-height: 1.2;
403
- margin: 10px 0;
404
- }
405
-
406
- .e-content h5 {
407
- font-size: 1.428em;
408
- font-weight: 600;
409
- line-height: 1.2;
410
- margin: 10px 0;
411
- }
412
-
413
- .e-content h6 {
414
- font-size: 1.142em;
415
- line-height: 600;
416
- line-height: 1.5;
417
- margin: 10px 0;
418
- }
419
-
420
- .e-content blockquote {
421
- margin: 10px 0;
422
- margin-left: 0;
423
- padding-left: 12px;
424
- }
425
-
426
- .e-content table {
427
- margin-bottom: 10px;
428
- border-collapse: collapse;
429
- empty-cells: show;
430
- }
431
-
432
- .e-content pre {
433
- background-color: $rte-content-pre-background;
434
- border: 0;
435
- border-radius: 0;
436
- color: $rte-content-color;
437
- font-size: inherit;
438
- line-height: inherit;
439
- margin: 0 0 10px;
440
- overflow: visible;
441
- padding: 0;
442
- white-space: pre-wrap;
443
- word-break: inherit;
444
- word-wrap: break-word;
445
-
446
- @if $skin-name == 'fluent2' or $theme-name == 'fluent2-highcontrast' or $skin-name == 'fluent2-dark' {
447
- background-color: $rte-pre-bg-color;
448
- }
449
- }
450
-
451
- .e-content strong,
452
- .e-content b {
453
- font-weight: bold;
454
- }
455
-
456
- .e-content a {
457
- text-decoration: none;
458
- user-select: auto;
459
- }
460
-
461
- .e-content a:hover {
462
- text-decoration: underline;
463
- }
464
-
465
- .e-content p:last-child,
466
- .e-content pre:last-child,
467
- .e-content blockquote:last-child {
468
- margin-bottom: 0;
469
- }
470
-
471
- .e-content h3 + h4,
472
- .e-content h4 + h5,
473
- .e-content h5 + h6 {
474
- margin-top: .6em;
475
- }
476
-
477
- .e-content ul:last-child {
478
- margin-bottom: 0;
479
- }
480
-
481
- .e-content table.e-cell-select {
482
- position: relative;
483
- }
484
-
485
- .e-content table.e-cell-select::after {
486
- content: '';
487
- position: absolute;
488
- top: 0;
489
- left: 0;
490
- right: 0;
491
- bottom: 0;
492
- border: 2px solid $rte-table-select-border-color;
493
- pointer-events: none;
494
- }
495
-
496
- .e-content table td.e-cell-select.e-multi-cells-select,
497
- .e-content table th.e-cell-select.e-multi-cells-select {
498
- border: 1px double $rte-table-select-border-color;
499
- position: relative;
500
- }
501
-
502
- .e-content table td.e-cell-select.e-multi-cells-select::after,
503
- .e-content table th.e-cell-select.e-multi-cells-select::after {
504
- background-color: $rte-table-multicell-select-bg-color;
505
- content: '';
506
- position: absolute;
507
- top: 0;
508
- left: 0;
509
- width: 100%;
510
- height: 100%;
511
- bottom: 0;
512
- pointer-events: none;
513
- right: 0;
514
- }
515
- .e-content table td.e-multi-cells-select ::selection,
516
- .e-content table th.e-multi-cells-select ::selection {
517
- background-color: transparent;
518
- }
519
- .e-content table td.e-multi-cells-select,
520
- .e-content table th.e-multi-cells-select {
521
- user-select: none;
522
- }
523
- }
524
-
525
- .e-rte-character-count {
526
- bottom: 0;
527
- color: $rte-default-character-count-color;
528
- font-size: 14px;
529
- margin-right: 30px;
530
- opacity: $rte-default-character-count-opacity;
531
- padding-bottom: 2px;
532
- position: absolute;
533
- right: 0;
534
- z-index: 100;
535
- pointer-events: none;
536
-
537
- &.e-warning {
538
- color: $rte-warning-character-count-color;
539
- opacity: unset;
540
- }
541
-
542
- &.e-error {
543
- color: $rte-error-character-count-color;
544
- opacity: unset;
545
- }
546
- }
547
-
548
- .e-rte-srctextarea {
549
- background-color: transparent;
550
- border: 0;
551
- color: $rte-content-color;
552
- height: 100%;
553
- line-height: 22px;
554
- overflow: auto;
555
- padding: 16px;
556
- resize: none;
557
- transition: 100ms ease-out;
558
- width: 100%;
559
- }
560
-
561
- .e-resize-handle {
562
- height: $rte-resize-handler-height;
563
- position: absolute;
564
- width: $rte-resize-handler-width;
565
-
566
- &.e-south-east {
567
- bottom: $rte-resize-handler-position;
568
- cursor: nwse-resize;
569
- right: $rte-resize-handler-position;
570
- z-index: 100;
571
- }
572
-
573
- &.e-south-west {
574
- bottom: $rte-resize-handler-position;
575
- cursor: sw-resize;
576
- left: $rte-resize-handler-position;
577
- transform: rotate(90deg);
578
- z-index: 100;
579
- }
580
- }
581
-
582
- &.e-rtl {
583
-
584
- &.e-rte-resize {
585
- float: right;
586
- }
587
-
588
- .e-resize-handle.e-south-west {
589
- direction: ltr;
590
- text-align: initial;
591
- }
592
- }
593
-
594
- &.e-rte-tb-expand {
595
- &.e-rte-fixed-tb-expand {
596
- transition: none;
597
- }
598
- }
599
- .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon:not(.e-toolbar-pop) {
600
- padding: $rte-extended-toolbar-items-padding;
601
- }
602
- .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
603
- background: $rte-expand-tbar-hover-bg;
604
- }
605
- .e-toolbar .e-toolbar-item .e-tbar-btn,
606
- .e-toolbar.e-extended-toolbar .e-toolbar-extended.e-toolbar-pop .e-toolbar-item .e-tbar-btn{
607
- font-size: $rte-tbar-icon-size;
608
- }
609
- .e-clickelem::after,
610
- .e-video-clickelem::after {
611
- left: 0;
612
- right: 0;
613
- z-index: 1;
614
- }
615
- .e-clickelem::before,
616
- .e-video-clickelem::before {
617
- left: 0;
618
- right: 0;
619
- z-index: 1;
620
- }
621
- .e-clickelem::before {
622
- bottom: 70%;
623
- top: 0;
624
- }
625
- .e-clickelem::after {
626
- bottom: 0;
627
- top: 70%;
628
- }
629
- .e-video-clickelem::before {
630
- bottom: 85%;
631
- top: 0;
632
- }
633
- .e-video-clickelem::after {
634
- bottom: 0;
635
- top: 90%;
636
- }
637
-
638
- .e-audio-wrap,
639
- .e-embed-video-wrap {
640
- display: inline-block;
641
- }
642
-
643
- .e-clickelem,
644
- .e-video-clickelem {
645
- display: block;
646
- margin: 0;
647
- outline: none;
648
- padding: 0;
649
- position: relative;
650
- }
651
-
652
- .e-clickelem::after,
653
- .e-video-clickelem::after {
654
- background: transparent;
655
- content: '';
656
- cursor: default;
657
- display: block;
658
- position: absolute;
659
- }
660
-
661
- .e-clickelem::before,
662
- .e-video-clickelem::before {
663
- background: transparent;
664
- content: '';
665
- cursor: default;
666
- display: block;
667
- position: absolute;
668
- }
669
-
670
- .e-videoheader,
671
- .e-embed-videoheader,
672
- .e-video-url-wrap {
673
- padding-bottom: 5px;
674
- padding-top: 15px;
675
- }
676
-
677
- .e-video-url-wrap .e-radio-wrapper {
678
- padding: 5px;
679
- }
680
-
681
- .e-video-url-wrap textarea {
682
- height: 80px;
683
- }
684
-
685
- .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon.e-caret:not(.e-toolbar-pop,.e-rte-fontcolor-dropdown .e-caret,.e-rte-backgroundcolor-dropdown .e-caret, .e-rte-numberformatlist-dropdown .e-caret,.e-rte-bulletformatlist-dropdown .e-caret){
686
- padding-left: 9px;
687
- }
688
- .e-toolbar-item .e-caret:not(.e-toolbar-pop,.e-rte-fontcolor-dropdown .e-caret,.e-rte-backgroundcolor-dropdown .e-caret, .e-rte-numberformatlist-dropdown .e-caret,.e-rte-bulletformatlist-dropdown .e-caret){
689
- padding-left: 9px;
690
- }
691
- }
692
-
693
- .e-rte-quick-toolbar .e-toolbar-item .e-caret:not(.e-toolbar-pop,.e-rte-fontcolor-dropdown .e-caret,.e-rte-backgroundcolor-dropdown .e-caret, .e-rte-numberformatlist-dropdown .e-caret,.e-rte-bulletformatlist-dropdown .e-caret){
694
- padding-left: 9px;
695
- }
696
-
697
- .e-rte-linkcontent .e-rte-label {
698
- padding-top: $rte-insert-dialog-label-padding-top;
699
- }
700
-
701
- .e-rte-label label {
702
- font-weight: normal;
703
- }
704
-
705
- .e-rte-linkcontent .e-rte-label:first-child {
706
- padding-top: 0;
707
- }
708
-
709
- .e-rte-dropdown-popup {
710
-
711
- &.e-rte-inline-dropdown {
712
-
713
- @media screen and (max-width: 768px) {
714
- ul {
715
- padding: 7px 0;
716
-
717
- li.e-item {
718
- height: 34px;
719
- line-height: 34px;
720
- padding: 0 6.5px;
721
- }
722
-
723
- .e-item .e-menu-icon {
724
- float: none;
725
- }
726
- }
727
- }
728
-
729
- &.e-rte-dropdown-icons.e-dropdown-popup {
730
-
731
- @media screen and (max-width: 768px) {
732
- max-height: 280px;
733
-
734
- ul {
735
- display: inline-flex;
736
- }
737
- }
738
- }
739
- }
740
-
741
- ul {
742
- min-width: 82px;
743
-
744
- .e-item {
745
-
746
- .e-menu-icon {
747
- margin: 0 6px;
748
- width: auto;
749
- }
750
-
751
- &.e-h1 {
752
- font-size: 2em;
753
- font-weight: bold;
754
- height: 40px;
755
- @if $skin-name =='fluent2' {
756
- line-height: 25px;
757
- }
758
- @else {
759
- line-height: 40px;
760
- }
761
- }
762
-
763
- &.e-code{
764
- font-family: monospace;
765
- unicode-bidi: isolate;
766
- white-space: pre;
767
- }
768
-
769
- &.e-h2 {
770
- font-size: 1.5em;
771
- font-weight: bold;
772
- height: 40px;
773
- @if $skin-name =='fluent2' {
774
- line-height: 25px;
775
- }
776
- @else {
777
- line-height: 40px;
778
- }
779
- }
780
-
781
- &.e-h3 {
782
- font-size: 1.16em;
783
- font-weight: bold;
784
- }
785
-
786
- &.e-h4 {
787
- font-size: 1em;
788
- font-weight: bold;
789
- }
790
-
791
- &.e-h5 {
792
- font-size: .83em;
793
- font-weight: bold;
794
- }
795
-
796
- &.e-h6 {
797
- font-size: .7em;
798
- font-weight: bold;
799
- }
800
-
801
- &.e-segoe-ui {
802
- font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
803
- }
804
-
805
- &.e-arial {
806
- font-family: 'Arial', 'Helvetica', sans-serif;
807
- }
808
-
809
- &.e-courier-new {
810
- font-family: 'Courier New', 'Courier', monospace;
811
- }
812
-
813
- &.e-georgia {
814
- font-family: 'Georgia', 'Times New Roman', 'Times', serif;
815
- }
816
-
817
- &.e-helvetica-neue {
818
- font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
819
- }
820
-
821
- &.e-impact {
822
- font-family: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
823
- }
824
-
825
- &.e-lucida-console {
826
- font-family: 'Lucida Console', 'Monaco', monospace;
827
- }
828
-
829
- &.e-tahoma {
830
- font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
831
- }
832
-
833
- &.e-times-new-roman {
834
- font-family: 'Times New Roman', 'Times', serif;
835
- }
836
-
837
- &.e-trebuchet-ms {
838
- font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', sans-serif;
839
- }
840
-
841
- &.e-verdana {
842
- font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
843
- }
844
-
845
- &.e-roboto {
846
- font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif;
847
- }
848
- }
849
- }
850
-
851
- &.e-rte-dropdown-icons {
852
-
853
- ul {
854
- min-width: auto;
855
- }
856
-
857
- @media screen and (max-width: 768px) {
858
-
859
- ul {
860
- min-width: 30px;
861
- }
862
- }
863
- }
864
-
865
- &.e-rtl {
866
- ul .e-item .e-menu-icon {
867
- margin: 0 6px;
868
- }
869
- }
870
- }
871
-
872
- .e-rte-image.e-imgbreak,
873
- .e-rte-audio.e-audio-break,
874
- .e-rte-video.e-video-break {
875
- border: 0;
876
- cursor: pointer;
877
- display: block;
878
- float: none;
879
- max-width: 100%;
880
- padding: 1px;
881
- position: relative;
882
- }
883
-
884
- .e-rte-image,
885
- .e-rte-audio,
886
- .e-rte-video {
887
- border: 0;
888
- cursor: pointer;
889
- display: block;
890
- float: none;
891
- margin: auto;
892
- max-width: 100%;
893
- position: relative;
894
- }
895
-
896
- .e-rte-image.e-imginline,
897
- .e-rte-audio.e-audio-inline,
898
- .e-rte-video.e-video-inline {
899
- margin-left: 5px;
900
- margin-right: 5px;
901
- display: inline-block;
902
- float: none;
903
- max-width: 100%;
904
- padding: 1px;
905
- vertical-align: bottom;
906
- }
907
-
908
- .e-rte-image.e-imgcenter,
909
- .e-rte-video.e-video-center {
910
- cursor: pointer;
911
- display: block;
912
- float: none;
913
- margin: 5px auto;
914
- max-width: 100%;
915
- position: relative;
916
- }
917
-
918
- .e-rte-image.e-imgleft,
919
- .e-rte-video.e-video-left {
920
- float: left;
921
- margin: 0 auto;
922
- margin-right: 5px;
923
- text-align: left;
924
- }
925
-
926
- .e-rte-image.e-imgright,
927
- .e-rte-video.e-video-right {
928
- float: right;
929
- margin: 0 auto;
930
- margin-left: 5px;
931
- text-align: right;
932
- }
933
-
934
- .e-rte-img-popup .e-item {
935
- height: 106px;
936
- width: 300px;
937
- }
938
-
939
- .e-rte-img-caption {
940
- display: inline-block;
941
- margin: 5px auto;
942
- max-width: 100%;
943
- position: relative;
944
- }
945
-
946
- .e-rte-img-caption.e-caption-inline {
947
- display: inline-block;
948
- margin: 5px auto;
949
- margin-left: 5px;
950
- margin-right: 5px;
951
- max-width: calc(100% - (2 * 5px));
952
- position: relative;
953
- text-align: center;
954
- vertical-align: bottom;
955
- }
956
-
957
- .e-rte-img-caption.e-imgcenter {
958
- display: contents;
959
- margin-left: auto;
960
- margin-right: auto;
961
- }
962
-
963
- .e-rte-img-caption.e-imgright {
964
- display: contents;
965
- margin-left: auto;
966
- margin-right: 0;
967
- }
968
-
969
- .e-rte-img-caption.e-imgleft {
970
- display: contents;
971
- margin-left: 0;
972
- margin-right: auto;
973
- }
974
-
975
- .e-rte-img-caption .e-rte-image.e-imgright {
976
- margin-left: auto;
977
- margin-right: 0;
978
- }
979
-
980
- .e-rte-img-caption .e-rte-image.e-imgleft {
981
- margin: 0;
982
- }
983
-
984
- .e-img-caption.e-rte-img-caption.e-imgbreak {
985
- display: contents;
986
- }
987
-
988
- .e-rte-table td,
989
- .e-rte-table th {
990
- border: 1px solid $rte-table-border-color;
991
- height: 20px;
992
- min-width: 20px;
993
- padding: 2px 5px;
994
- box-sizing: border-box;
995
- }
996
-
997
- .e-rte-table.e-dashed-border td,
998
- .e-rte-table.e-dashed-border th {
999
- border-style: dashed;
1000
- }
1001
-
1002
- .e-rte-img-caption .e-img-inner {
1003
- box-sizing: border-box;
1004
- display: block;
1005
- font-size: $rte-toolbar-icon-size;
1006
- font-weight: initial;
1007
- margin: auto;
1008
- opacity: .9;
1009
- position: relative;
1010
- text-align: center;
1011
- width: 100%;
1012
- }
1013
-
1014
- .e-rte-img-caption.e-imgleft .e-img-inner {
1015
- float: left;
1016
- text-align: left;
1017
- }
1018
-
1019
- .e-rte-img-caption.e-imgright .e-img-inner {
1020
- float: right;
1021
- text-align: right;
1022
- }
1023
-
1024
- .e-rte-img-caption.e-imgleft .e-img-wrap,
1025
- .e-rte-img-caption.e-imgright .e-img-wrap {
1026
- display: contents;
1027
- }
1028
-
1029
- .e-rte-img-caption .e-img-wrap {
1030
- display: inline-block;
1031
- margin: auto;
1032
- padding: 0;
1033
- width: 100%;
1034
- }
1035
-
1036
- .e-rte-img-dialog .e-rte-label {
1037
- padding-top: $rte-insert-dialog-label-padding-top;
1038
- }
1039
-
1040
- .e-rte-img-dialog .e-rte-label:first-child {
1041
- padding-top: 0;
1042
- }
1043
-
1044
- .e-rte-video-dialog .e-rte-label {
1045
- padding-top: $rte-insert-dialog-label-padding-top;
1046
- }
1047
-
1048
- .e-rte-video-dialog .e-rte-label:first-child {
1049
- padding-top: 0;
1050
- }
1051
-
1052
- .e-rte-table-resize.e-row-resize,
1053
- .e-rte-table-resize.e-column-resize {
1054
- background-color: transparent;
1055
- background-repeat: repeat;
1056
- bottom: 0;
1057
- cursor: col-resize;
1058
- height: 1px;
1059
- overflow: visible;
1060
- position: absolute;
1061
- width: 1px;
1062
- }
1063
-
1064
- .e-rte-table-resize.e-row-resize {
1065
- cursor: row-resize;
1066
- height: 1px;
1067
- }
1068
-
1069
- .e-richtexteditor,
1070
- .e-rte-elements {
1071
- .e-linkheader,
1072
- .e-audioheader,
1073
- .e-videoheader,
1074
- .e-video-url-wrap {
1075
- font-family: $rte-font-family;
1076
- font-size: $rte-insert-dialog-font-size;
1077
- opacity: .87;
1078
- padding-bottom: $rte-insert-dialog-label-padding-bottom;
1079
- padding-top: $rte-insert-dialog-label-padding-top;
1080
- }
1081
-
1082
- .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
1083
- .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
1084
- padding: $rte-toolbar-expaned-padding;
1085
- }
1086
-
1087
- .e-toolbar .e-toolbar-pop .e-toolbar-item.e-tbtn-align .e-btn.e-control .e-icons.e-btn-icon {
1088
- min-width: $rte-toolbar-expaned-minwidth;
1089
- }
1090
-
1091
- .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover {
1092
- padding: $rte-toolbar-expaned-padding-hover;
1093
- }
1094
-
1095
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
1096
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1097
- .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
1098
- .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1099
- .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
1100
- .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
1101
- margin-top: 0;
1102
- }
1103
-
1104
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1105
- .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1106
- .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
1107
- margin-right: 30px;
1108
- }
1109
-
1110
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list,
1111
- .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list,
1112
- .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list {
1113
- border-bottom: 0 solid transparent;
1114
- min-height: initial;
1115
- }
1116
-
1117
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container,
1118
- .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container,
1119
- .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container {
1120
- margin-left: 0;
1121
- margin-right: 0;
1122
- }
1123
-
1124
- .e-img-uploadwrap.e-droparea .e-upload .e-upload-files,
1125
- .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files,
1126
- .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files {
1127
- border-top: 0 solid transparent;
1128
- }
1129
-
1130
- .e-img-uploadwrap.e-droparea .e-file-select-wrap,
1131
- .e-aud-uploadwrap.e-droparea .e-file-select-wrap,
1132
- .e-vid-uploadwrap.e-droparea .e-file-select-wrap {
1133
- display: none;
1134
- }
1135
-
1136
- .e-img-uploadwrap.e-droparea .e-upload,
1137
- .e-aud-uploadwrap.e-droparea .e-upload,
1138
- .e-vid-uploadwrap.e-droparea .e-upload {
1139
- border: 0 solid transparent;
1140
- float: none;
1141
- }
1142
-
1143
- .e-dialog .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
1144
- margin-right: $rte-img-upload-abort-icon-btn-margin-right;
1145
- margin-top: $rte-img-upload-abort-icon-btn-margin-top;
1146
- }
1147
-
1148
- .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn,
1149
- .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
1150
- .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
1151
- display: block;
1152
- height: $rte-droparea-browsebtn-height;
1153
- margin: 0 auto 10px;
1154
- padding: $rte-droparea-browsebtn-padding;
1155
- position: relative;
1156
- top: 6px;
1157
- @if $skin-name == 'FluentUI' {
1158
- outline: none;
1159
- }
1160
- }
1161
-
1162
- .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn,
1163
- .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea .e-browsebtn,
1164
- .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
1165
- display: none;
1166
- }
1167
-
1168
- .e-dialog .e-img-uploadwrap.e-droparea,
1169
- .e-dialog .e-aud-uploadwrap.e-droparea,
1170
- .e-dialog .e-vid-uploadwrap.e-droparea {
1171
- line-height: $rte-droparea-line-height;
1172
- min-height: 50px;
1173
- position: relative;
1174
- }
1175
-
1176
- .e-dialog .e-img-uploadwrap.e-droparea .e-rte-upload-text,
1177
- .e-dialog .e-aud-uploadwrap.e-droparea .e-rte-upload-text,
1178
- .e-dialog .e-vid-uploadwrap.e-droparea .e-rte-upload-text {
1179
- display: inline-block;
1180
- line-height: normal;
1181
- }
1182
-
1183
- .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea,
1184
- .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea,
1185
- .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea {
1186
- line-height: 4;
1187
- }
1188
-
1189
- .e-rte-inline-dropdown ul {
1190
- max-height: 200px;
1191
- overflow-y: auto;
1192
- }
1193
-
1194
- .e-rte-dropdown-popup.e-rte-dropdown-items ul {
1195
- max-height: 280px;
1196
- overflow-y: auto;
1197
- }
1198
-
1199
- .e-dropdown-btn.e-rte-backgroundcolor-dropdown,
1200
- .e-dropdown-btn.e-rte-fontcolor-dropdown,
1201
- .e-dropdown-btn.e-rte-numberformatlist-dropdown,
1202
- .e-dropdown-btn.e-rte-bulletformatlist-dropdown {
1203
- line-height: $rte-inline-dropdown-line-height;
1204
- }
1205
-
1206
- .e-rte-table-popup.e-popup.e-popup-open {
1207
- border-radius: $rte-table-popup-bdr-radius;
1208
- box-shadow: $rte-table-popup-box;
1209
- font-size: 14px;
1210
- font-weight: normal;
1211
- min-width: 120px;
1212
- overflow: hidden;
1213
- padding: $rte-table-popup-padding;
1214
- border: $rte-table-popup-border;
1215
- }
1216
-
1217
- .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1218
- border: $rte-table-span-border;
1219
- display: inline-block;
1220
- height: $rte-table-popup-tablecell-height;
1221
- margin: $rte-table-popup-tablecell-margin;
1222
- overflow: hidden;
1223
- vertical-align: top;
1224
- width: $rte-table-popup-tablecell-width;
1225
- }
1226
-
1227
- .e-rte-table-popup.e-popup-open .e-rte-table-row {
1228
- height: $rte-table-popup-row-height;
1229
- }
1230
-
1231
- .e-rte-table-popup.e-popup-open .e-insert-table-btn {
1232
- width: 100%;
1233
- }
1234
-
1235
- .e-rte-edit-table .e-rte-field {
1236
- padding-top: $rte-insert-dialog-label-padding-top;
1237
- }
1238
-
1239
- .e-rte-edit-table .e-rte-field:first-child {
1240
- padding-top: 0;
1241
- }
1242
-
1243
- .e-table-fake-selection {
1244
- visibility: hidden;
1245
- content: '\u200B';
1246
- position: fixed;
1247
- top: 0;
1248
- left: -9999px;
1249
- }
1250
-
1251
- .e-rte-content .e-content table td.e-cell-select,
1252
- .e-rte-content .e-content table th.e-cell-select {
1253
- border: 1px double $rte-table-select-border-color;
1254
- height: inherit;
1255
- }
1256
-
1257
- span.e-table-box {
1258
- cursor: nwse-resize;
1259
- display: block;
1260
- height: 10px;
1261
- position: absolute;
1262
- width: 10px;
1263
-
1264
- &.e-hide {
1265
- display: none;
1266
- }
1267
- }
1268
-
1269
- span.e-table-box.e-rmob {
1270
- height: 14px;
1271
- width: 14px;
1272
- }
1273
-
1274
- .e-upload .e-upload-files .e-upload-file-list .e-file-container {
1275
- margin-right: 50px;
1276
- }
1277
-
1278
- .e-rte-upload-popup {
1279
- width: 250px;
1280
- }
1281
-
1282
- .e-rte-dialog-upload .e-upload-files {
1283
- border-top: 0;
1284
- }
1285
-
1286
- .e-rte-dialog-upload .e-upload-files .e-upload-file-list {
1287
- border-bottom: 0;
1288
- }
1289
-
1290
- .e-rte-emojipicker-popup.e-popup.e-popup-open {
1291
- border: $rte-emoji-pop-border;
1292
- min-width: 120px;
1293
- height: 330px;
1294
- width: 308px;
1295
-
1296
- .e-toolbar .e-toolbar-item .e-tbar-btn {
1297
- padding: 7px 3px;
1298
- border-radius: 4px;
1299
-
1300
- @if $skin-name =='bootstrap' or $skin-name =='botstrap-dark' {
1301
- &:hover,
1302
- &:focus{
1303
- padding: 7px 3px;
1304
- }
1305
- }
1306
-
1307
- @if $skin-name =='material' or $skin-name =='material-dark' {
1308
- padding: 0 6px;
1309
- }
1310
-
1311
- .e-tbar-btn-text {
1312
- @if $skin-name =='fluent2' {
1313
- font-size: 16px;
1314
- }
1315
- @else {
1316
- font-size: 24px;
1317
- }
1318
- padding: 0;
1319
- }
1320
- }
1321
-
1322
- .e-input-group.e-control-wrapper {
1323
- margin: 10px;
1324
- width: 94%;
1325
-
1326
- .e-rte-emoji-search {
1327
- @if $skin-name =='material' or $skin-name =='material-dark' or $skin-name =='material3' or $skin-name =='material3-dark' {
1328
- text-indent: 4px;
1329
- }
1330
- }
1331
- }
1332
-
1333
- .e-rte-emojipicker-btn {
1334
- display: block;
1335
- gap: 10px;
1336
- height: $rte-emoji-btn-height;
1337
- overflow: auto;
1338
- padding: 10px;
1339
-
1340
- .e-rte-emojipicker-group .e-rte-emojipickerbtn-group {
1341
- display: grid;
1342
- grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
1343
- gap: 6px;
1344
-
1345
- .e-btn.e-control {
1346
- display: inline-block;
1347
- box-shadow: none;
1348
- padding: 6px 0;
1349
- width: $rte-emoji-grp-btn-width;
1350
- height: $rte-emoji-grp-btn-height;
1351
- border: none;
1352
- line-height: $rte-emoji-grp-btn-line-height;
1353
- @if $skin-name =='fluent2' {
1354
- font-size: 16px;
1355
- }
1356
- @else {
1357
- font-size: 24px;
1358
- }
1359
- }
1360
- }
1361
-
1362
- .e-rte-emojisearch-btn {
1363
- display: grid;
1364
- grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
1365
- gap: 6px;
1366
- height: 0;
1367
-
1368
- .e-btn.e-control {
1369
- display: inline-block;
1370
- box-shadow: none;
1371
- font-size: 24px;
1372
- padding: 6px 0;
1373
- width: 40px;
1374
- height: 40px;
1375
- border: none;
1376
- line-height: $rte-emoji-grp-btn-line-height;
1377
- }
1378
- }
1379
-
1380
- .e-rte-emojipicker-group .e-rte-emojipicker-name {
1381
- font-weight: $rte-emoji-headname-font-weight;
1382
- font-size: 14px;
1383
- }
1384
-
1385
- .e-rte-emojiSearch-noEmoji {
1386
- text-align: center;
1387
- }
1388
- }
1389
- }
1390
- }
1391
-
1392
- .e-rte-backgroundcolor-colorpicker,
1393
- .e-rte-fontcolor-colorpicker {
1394
- & .e-color-palette.e-container {
1395
- & .e-custom-palette .e-palette {
1396
- padding: 0;
1397
- }
1398
-
1399
- & .e-switch-ctrl-btn {
1400
- padding: 5px;
1401
- }
1402
- }
1403
- }
1404
-
1405
- .e-rte-quick-popup {
1406
- border-radius: 2px;
1407
- overflow: hidden;
1408
-
1409
- .e-rte-quick-toolbar {
1410
- border-radius: 2px;
1411
- min-height: 42px;
1412
-
1413
- .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1414
- white-space: nowrap;
1415
- display: inline-block;
1416
- }
1417
-
1418
- &.e-remove-white-space {
1419
-
1420
- .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1421
- white-space: nowrap;
1422
- }
1423
- }
1424
-
1425
- .e-toolbar-items:not(.e-tbar-pos) {
1426
- border-radius: 2px;
1427
- margin: $rte-quick-toolbar-item-margin;
1428
- min-height: 42px;
1429
-
1430
- .e-toolbar-item.e-rte-horizontal-separator,
1431
- .e-toolbar-item.e-separator.e-multirow-separator.e-rte-horizontal-separator {
1432
- display: block;
1433
- height: 1px;
1434
- margin: 0;
1435
- min-height: 1px;
1436
- }
1437
-
1438
- .e-toolbar-item {
1439
- margin: $rte-toolbar-item-frist-last-child-margin;
1440
- min-height: 42px;
1441
-
1442
- &:first-child,
1443
- &:last-child {
1444
- margin: 0;
1445
- }
1446
-
1447
- .e-tbar-btn:not(.e-rte-dropdown-btn) {
1448
- line-height: $rte-qt-item-btn-line-height;
1449
- }
1450
-
1451
- .e-tbar-btn:not(.e-rte-dropdown-btn) .e-icons {
1452
- min-width: $rte-quick-item-icon-min-width;
1453
- }
1454
- }
1455
-
1456
- .e-toolbar-item .e-btn,
1457
- .e-toolbar-item .e-btn:hover {
1458
- min-height: $rte-quick-item-btn-height;
1459
- min-width: $rte-quick-item-btn-width;
1460
- padding: $rte-quick-item-padding;
1461
- @if $skin-name == 'FluentUI' {
1462
- padding-left: $rte-quick-item-padding-left;
1463
- padding-right: $rte-quick-item-padding-right;
1464
- }
1465
- }
1466
- }
1467
-
1468
- .e-tbar-btn {
1469
- .e-icons.e-btn-icon:not(.e-caret) {
1470
- font-size: $rte-toolbar-icon-size;
1471
- }
1472
- }
1473
-
1474
- .e-background-color.e-icons::before {
1475
- display: inline;
1476
- }
1477
-
1478
- .e-rte-fontcolor-dropdown .e-btn-icon.e-caret,
1479
- .e-rte-backgroundcolor-dropdown .e-btn-icon.e-caret,
1480
- .e-rte-numberformatlist-dropdown .e-btn-icon.e-caret,
1481
- .e-rte-bulletformatlist-dropdown .e-btn-icon.e-caret {
1482
- font-size: 10px;
1483
- }
1484
- &.e-rte-toolbar.e-toolbar {
1485
- box-sizing: border-box;
1486
- }
1487
- }
1488
-
1489
- .e-rte-dropdown-btn.e-tbar-btn {
1490
- line-height: $rte-quick-drop-btn-line-height;
1491
- margin: $rte-quick-drop-btn-margin;
1492
- padding: $rte-quick-drop-btn-padding;
1493
-
1494
- .e-rte-dropdown-btn-text {
1495
- font-weight: 500;
1496
- overflow: hidden;
1497
- text-overflow: ellipsis;
1498
- white-space: nowrap;
1499
- }
1500
-
1501
- .e-order-list.e-icons,
1502
- .e-unorder-list.e-icons,
1503
- .e-icons:not(.e-caret) {
1504
- font-size: 14px;
1505
- }
1506
-
1507
- .e-caret {
1508
- font-size: $rte-quick-drop-btn-caret-font-size;
1509
- width: 12px;
1510
- }
1511
- }
1512
-
1513
- &.e-hide {
1514
- display: block;
1515
- visibility: hidden;
1516
- }
1517
- }
1518
-
1519
- .e-rte-quick-popup.e-rte-inline-popup {
1520
- .e-rte-quick-toolbar {
1521
- .e-toolbar-item {
1522
- &.e-rte-inline-template {
1523
- min-width: $rte-inline-tmp-min-width;
1524
- }
1525
-
1526
- &.e-rte-inline-size-template {
1527
- min-width: $rte-inline-tmp-size-min-width;
1528
- }
1529
-
1530
- &.e-rte-inline-color-template {
1531
- min-width: $rte-inline-tmp-color-min-width;
1532
- }
1533
- }
1534
- }
1535
- }
1536
-
1537
- .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item {
1538
- button.e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1539
- button.e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1540
- button.e-rte-numberformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1541
- button.e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1542
- @if $skin-name == 'FluentUI' {
1543
- .e-btn-icon.e-icons.e-caret {
1544
- padding-top: 0;
1545
- }
1546
- }
1547
- }
1548
- }
1549
-
1550
- .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1551
- .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
1552
- .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item,
1553
- .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item {
1554
-
1555
- .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1556
- .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1557
- .e-rte-numberformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1558
- .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1559
- display: flex;
1560
- padding-left: $rte-colorpicker-parent-padding;
1561
- padding-right: $rte-colorpicker-parent-padding;
1562
- @if $skin-name == 'FluentUI' {
1563
- padding-top: $rte-colorpicker-parent-padding-top;
1564
- }
1565
-
1566
- &:hover,
1567
- &:active,
1568
- &.e-active,
1569
- &.e-active:hover {
1570
- padding-left: $rte-colorpicker-parent-padding-hover;
1571
- padding-right: $rte-colorpicker-parent-padding-hover;
1572
- @if $skin-name == 'FluentUI' {
1573
- padding-top: $rte-colorpicker-parent-padding-hover-top;
1574
- }
1575
- }
1576
-
1577
- .e-rte-color-content,
1578
- .e-rte-list-primary-content {
1579
- position: relative;
1580
- vertical-align: middle;
1581
- width: $rte-font-icon-width;
1582
- }
1583
-
1584
- .e-rte-color-content {
1585
- .e-rte-elements {
1586
- border-bottom-style: solid;
1587
- border-bottom-width: 3px;
1588
- padding-bottom: 1px;
1589
- }
1590
- }
1591
-
1592
- .e-rte-list-primary-content .e-order-list,
1593
- &.e-active .e-rte-list-primary-content .e-order-list,
1594
- .e-rte-list-primary-content .e-unorder-list,
1595
- &.e-active .e-rte-list-primary-content .e-unorder-list {
1596
- line-height: $rte-split-btn-active-color-icon-line-height;
1597
- }
1598
-
1599
- .e-rte-color-content::after {
1600
- content: '';
1601
- height: 100%;
1602
- position: absolute;
1603
- right: 0;
1604
- width: $rte-split-btn-bar-size;
1605
- }
1606
-
1607
- .e-icons.e-btn-icon {
1608
- display: flex;
1609
- flex-direction: $rte-list-btn-flex;
1610
- justify-content: center;
1611
- line-height: $rte-list-btn-line-height;
1612
- min-width: $rte-font-arrow-width;
1613
- text-align: center;
1614
- width: $rte-font-arrow-width;
1615
- }
1616
-
1617
- @if $skin-name == 'bootstrap5' {
1618
-
1619
- .e-icons.e-btn-icon.e-caret:not(.e-toolbar-pop) {
1620
- padding-left: 0;
1621
- padding-right: 0;
1622
- }
1623
- }
1624
- }
1625
-
1626
- .e-dropdown-btn.e-tbar-btn .e-icons.e-btn-icon.e-caret {
1627
- font-size: $rte-dropdown-caret-icon-size;
1628
-
1629
- @if $skin-name == 'bootstrap5' {
1630
- &:not(.e-toolbar-pop) {
1631
- font-size: 12px;
1632
- }
1633
- }
1634
- }
1635
- @if $skin-name == 'bootstrap5' {
1636
- .e-dropdown-btn.e-alignment-tbar-btn .e-btn-icon.e-caret {
1637
- min-width: $rte-align-caret-icon-min-width;
1638
- }
1639
- }
1640
-
1641
- @if $skin-name == 'FluentUI' {
1642
- .e-dropdown-btn:focus,
1643
- .e-dropdown-btn.e-btn:focus {
1644
- box-shadow: none;
1645
- }
1646
- }
1647
- }
1648
-
1649
- .e-rte-inline-dropdown .e-rte-color-content .e-rte-elements {
1650
- border-bottom-style: solid;
1651
- border-bottom-width: 3px;
1652
- line-height: $rte-font-icon-line-height;
1653
- padding-bottom: 1px;
1654
- }
1655
-
1656
- .e-popup-modal.e-popup.e-popup-open {
1657
- display: inline-flex;
1658
- }
1659
-
1660
- .e-rte-modal-popup.e-popup-container.e-center {
1661
- justify-content: center;
1662
- }
1663
-
1664
- .e-rte-modal-popup.e-popup-container {
1665
- align-items: center;
1666
- display: none;
1667
- height: 100%;
1668
- left: 0;
1669
- position: fixed;
1670
- top: 0;
1671
- width: 100%;
1672
- z-index: 10000;
1673
- }
1674
-
1675
- .e-popup-overlay {
1676
- height: 100%;
1677
- left: 0;
1678
- opacity: .5;
1679
- position: absolute;
1680
- top: 0;
1681
- width: 100%;
1682
- }
1683
-
1684
- .e-table-rhelper {
1685
- cursor: col-resize;
1686
- opacity: .87;
1687
- position: absolute;
1688
- }
1689
-
1690
- .e-table-rhelper.e-column-helper {
1691
- width: 1px;
1692
- }
1693
-
1694
- .e-table-rhelper.e-row-helper {
1695
- height: 1px;
1696
- }
1697
-
1698
- .e-reicon::before {
1699
- border-bottom: 6px solid transparent;
1700
- border-right: 6px solid;
1701
- border-top: 6px solid transparent;
1702
- content: '';
1703
- display: block;
1704
- height: 0;
1705
- position: absolute;
1706
- right: 4px;
1707
- top: 4px;
1708
- width: 20px;
1709
- }
1710
-
1711
- .e-reicon::after {
1712
- border-bottom: 6px solid transparent;
1713
- border-left: 6px solid;
1714
- border-top: 6px solid transparent;
1715
- content: '';
1716
- display: block;
1717
- height: 0;
1718
- left: 4px;
1719
- position: absolute;
1720
- top: 4px;
1721
- width: 20px;
1722
- z-index: 3;
1723
- }
1724
-
1725
- .e-row-helper.e-reicon::after {
1726
- top: 10px;
1727
- transform: rotate(90deg);
1728
- }
1729
-
1730
- .e-row-helper.e-reicon::before {
1731
- left: 4px;
1732
- top: -20px;
1733
- transform: rotate(90deg);
1734
- }
1735
-
1736
- .e-rte-overflow {
1737
- overflow: hidden;
1738
- }
1739
-
1740
- .e-dialog.e-rte-dialog-minheight {
1741
- min-height: 296px;
1742
- @if $skin-name == 'FluentUI' or $skin-name =='fluent2' {
1743
- min-height: 308px;
1744
- }
1745
- }
1746
-
1747
- .e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor {
1748
- background-size: 700px 190px;
1749
- min-height: 190px;
1750
- }
1751
-
1752
- .e-rte-table.e-rte-table-border {
1753
- border: 1px solid $rte-table-border-color;
1754
- border-collapse: separate;
1755
- }
1756
-
1757
- .e-rte-img-dialog.e-dialog.e-device.e-dlg-modal,
1758
- .e-rte-audio-dialog.e-dialog.e-device.e-dlg-modal,
1759
- .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal {
1760
- .e-img-uploadwrap.e-droparea,
1761
- .e-aud-uploadwrap.e-droparea,
1762
- .e-vid-uploadwrap.e-droparea {
1763
- line-height: 10;
1764
- min-height: 50px;
1765
- position: relative;
1766
-
1767
- .e-browsebtn {
1768
- display: block;
1769
- height: 36px;
1770
- margin: 0 auto 10px;
1771
- padding: 0 18px;
1772
- position: relative;
1773
- top: -50px;
1774
- @if $skin-name == 'FluentUI' {
1775
- outline: none;
1776
- }
1777
- }
1778
-
1779
- .e-upload {
1780
- border: 0 solid transparent;
1781
- float: none;
1782
- }
1783
-
1784
- .e-file-select-wrap {
1785
- display: none;
1786
- }
1787
- }
1788
-
1789
- .e-linkheader {
1790
- font-family: $rte-font-family;
1791
- font-size: $rte-big-insert-dialog-font-size;
1792
- opacity: .87;
1793
- padding-bottom: $rte-insert-dialog-label-padding-bottom;
1794
- padding-top: $rte-insert-dialog-label-padding-top;
1795
- }
1796
- }
1797
-
1798
- .e-rte-file-manager-dialog {
1799
-
1800
- .e-rte-label {
1801
- padding-bottom: 8px;
1802
- padding-top: 15px;
1803
-
1804
- label {
1805
- font-size: 15px;
1806
- opacity: .87;
1807
- }
1808
- }
1809
- }
1810
-
1811
- .e-dialog .e-img-uploadwrap .e-droptext,
1812
- .e-dialog .e-aud-uploadwrap .e-droptext,
1813
- .e-dialog .e-vid-uploadwrap .e-droptext,
1814
- .e-dialog.e-device .e-vid-uploadwrap .e-droptext {
1815
- border: dashed 2px $rte-upload-drag-border-clr;
1816
- border-radius: 4px;
1817
- color: $rte-drop-text-clr;
1818
- font-family: $rte-font-family;
1819
- font-size: 14px;
1820
- height: $rte-drop-text-height;
1821
- margin: 0 auto;
1822
- text-align: center;
1823
- width: auto;
1824
- display: flex;
1825
- flex-direction: column;
1826
- justify-content: center;
1827
- align-items: center;
1828
- }
1829
-
1830
- .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap .e-droptext,
1831
- .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap .e-droptext,
1832
- .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap .e-droptext {
1833
- margin: 0 auto;
1834
- width: $rte-drop-text-mobile-width;
1835
- }
1836
- .e-dialog.e-device .e-video-url-wrap .e-radio-wrapper {
1837
- padding: 8px 4px;
1838
- }
1839
-
1840
- .e-rte-text-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn,
1841
- .e-rte-inline-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn {
1842
- .e-rte-dropdown-btn-text,
1843
- .e-background-color,
1844
- .e-rte-font-color {
1845
- @if $skin-name =='FluentUI' or $skin-name =='tailwind' {
1846
- font-size: 16px;
1847
- }
1848
- @else {
1849
- font-size: 14px;
1850
- }
1851
- }
1852
- }
1853
-
1854
- // Blazor styles start
1855
- .e-rte-upload-popup.e-dialog .e-file-select-wrap {
1856
- display: none;
1857
- }
1858
-
1859
- .e-rte-upload-popup.e-dialog .e-dlg-content {
1860
- overflow: hidden;
1861
- padding: 0;
1862
- }
1863
-
1864
- .e-hide.e-rte-quick-popup-hide {
1865
- border: 0;
1866
- position: absolute;
1867
- }
1868
-
1869
- .e-rte-popup-hide {
1870
- display: none;
1871
- }
1872
-
1873
- .e-rte-hide-visible {
1874
- visibility: hidden;
1875
- }
1876
-
1877
- .e-rte-table-popup.e-dialog .e-dlg-content {
1878
- padding: 0;
1879
- @if $skin-name == 'FluentUI' {
1880
- margin-bottom: 0;
1881
- }
1882
- }
1883
-
1884
- @if $skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'FluentUI' {
1885
- .e-rte-quick-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1886
- .e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:hover,
1887
- .e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:active,
1888
- .e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active {
1889
- padding-left: 0;
1890
- padding-right: 0;
1891
- }
1892
- }
1893
-
1894
- .e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell,
1895
- .e-rte-elements.e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
1896
- @if $skin-name == 'fluent2' {
1897
- margin: 0;
1898
- }
1899
- @else {
1900
- margin: 1px;
1901
- }
1902
- }
1903
-
1904
- .e-rte-elements{
1905
- .e-rte-table-popup.e-popup-open{
1906
- .e-rte-table-row {
1907
- height: 16px;
1908
- }
1909
- .e-insert-table-btn {
1910
- @if $skin-name == 'FluentUI' {
1911
- margin-top: $rte-table-popup-btn-margin-top;
1912
- }
1913
- width: 100%;
1914
- }
1915
- .e-rte-tablecell {
1916
- border: $rte-table-span-border;
1917
- display: inline-block;
1918
- height: 14px;
1919
- margin: 1px;
1920
- overflow: hidden;
1921
- vertical-align: top;
1922
- width: 14px;
1923
- }
1924
- }
1925
- .e-rte-table-popup.e-popup.e-popup-open {
1926
- border-radius: $rte-table-popup-bdr-radius;
1927
- box-shadow: $rte-table-popup-box;
1928
- font-size: 14px;
1929
- font-weight: normal;
1930
- min-width: 120px;
1931
- overflow: hidden;
1932
- padding: $rte-table-popup-padding;
1933
- }
1934
- &.e-dropdown-popup.e-popup.e-font-size-tbar-btn.e-popup-open {
1935
- width: 95px;
1936
- }
1937
- }
1938
-
1939
- .e-rte-elements.e-dialog {
1940
- .e-img-uploadwrap.e-droparea .e-rte-upload-text,
1941
- .e-aud-uploadwrap.e-droparea .e-rte-upload-text,
1942
- .e-vid-uploadwrap.e-droparea .e-rte-upload-text {
1943
- display: inline-block;
1944
- line-height: normal;
1945
- }
1946
- .e-img-uploadwrap.e-droparea,
1947
- .e-aud-uploadwrap.e-droparea,
1948
- .e-vid-uploadwrap.e-droparea {
1949
- line-height: $rte-droparea-line-height;
1950
- min-height: 50px;
1951
- position: relative;
1952
- }
1953
- .e-img-uploadwrap.e-droparea .e-browsebtn,
1954
- .e-aud-uploadwrap.e-droparea .e-browsebtn,
1955
- .e-vid-uploadwrap.e-droparea .e-browsebtn {
1956
- display: block;
1957
- height: $rte-droparea-browsebtn-height;
1958
- margin: 0 auto 10px;
1959
- padding: $rte-droparea-browsebtn-padding;
1960
- position: relative;
1961
- @if $skin-name == 'FluentUI' {
1962
- outline: none;
1963
- }
1964
- }
1965
- }
1966
- .e-transparent.e-rte-elements.e-tbar-btn.e-rte-fontcolor-dropdown,
1967
- .e-transparent.e-rte-elements.e-tbar-btn.e-rte-backgroundcolor-dropdown {
1968
- visibility: hidden;
1969
- }
1970
- // Blazor styles end
1971
-
1972
- .e-richtexteditor {
1973
- .e-toolbar-wrapper.e-rte-tb-float,
1974
- .e-toolbar-container.e-rte-tb-float {
1975
- position: sticky;
1976
- top: 0;
1977
- overflow: visible;
1978
- }
1979
- .e-toolbar-wrapper,
1980
- .e-toolbar-container {
1981
- height: auto;
1982
- z-index: 10;
1983
- white-space: nowrap;
1984
- }
1985
- .e-toolbar .e-toolbar-pop.e-toolbar-extended {
1986
- position: relative;
1987
- width: 100%;
1988
- top: 0 !important; /* stylelint-disable-line declaration-no-important */
1989
- left: 0 !important; /* stylelint-disable-line declaration-no-important */
1990
- }
1991
- .e-toolbar .e-toolbar-pop.e-toolbar-extended.e-popup-open {
1992
- display: block;
1993
- }
1994
- }
1995
- // Used to hide the Color picker during the rendering at the initial stage. Removed the class in the created event.
1996
- .e-rte-picker-init {
1997
- display: none !important; /* stylelint-disable-line declaration-no-important */
1998
- }
1999
-
2000
- @if $skin-name == 'tailwind' {
2001
- .e-rte-table-popup.e-popup.e-popup-open {
2002
- box-shadow: $rte-table-popup-box;
2003
- }
2004
- .e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
2005
- min-width: 24px;
2006
- }
2007
- .e-richtexteditor .e-toolbar .e-hor-nav{
2008
- min-height: 39px;
2009
- }
2010
-
2011
- .e-richtexteditor {
2012
- .e-toolbar.e-extended-toolbar .e-toolbar-extended {
2013
- .e-toolbar-item.e-active .e-tbar-btn {
2014
- border: $rte-tb-item-active-border;
2015
- }
2016
- }
2017
- }
2018
- }
2019
-
2020
- @if $skin-name == 'fabric-dark' {
2021
- .e-richtexteditor {
2022
- .e-toolbar .e-hor-nav{
2023
- min-height: 42px;
2024
- }
2025
- }
2026
- }
2027
-
2028
- @if $skin-name == 'bootstrap-dark'{
2029
- .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover{
2030
- border: 1px solid $grey-white;
2031
- }
2032
-
2033
- .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn{
2034
- border: 1px solid transparent;
2035
- }
2036
- }
2037
-
2038
- @if $skin-name == 'bootstrap5' {
2039
- .e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
2040
- min-width: 24px;
2041
- }
2042
-
2043
- .e-richtexteditor .e-toolbar .e-insert-table-btn.e-btn .e-icons {
2044
- padding-bottom: 0;
2045
- }
2046
- }
2047
-
2048
- @if $skin-name == 'Material3' {
2049
- .e-richtexteditor .e-rte-table-popup .e-insert-table-btn {
2050
- font-weight: $font-weight;
2051
- border: 1px solid rgba($info-outline-border);
2052
- border-radius: 20px;
2053
- }
2054
- .e-dialog .e-dlg-header-content + .e-dlg-content{
2055
- padding-top: 0;
2056
- }
2057
- .e-rte-link-dialog .e-dlg-content{
2058
- padding: 7px 20px;
2059
- }
2060
- .e-toolbar-wrapper .e-toolbar .e-toolbar-item:not(.e-separator) {
2061
- padding: 8px 4px;
2062
- }
2063
- .e-rte-quick-popup .e-rte-toolbar.e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child,
2064
- .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:last-child {
2065
- margin: 0;
2066
- }
2067
- .e-rte-text-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn,
2068
- .e-rte-inline-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn {
2069
- .e-rte-dropdown-btn-text,
2070
- .e-background-color,
2071
- .e-rte-font-color {
2072
- font-size: 16px;
2073
- }
2074
- }
2075
- .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn {
2076
- .e-background-color,
2077
- .e-rte-font-color{
2078
- font-size: 16px;
2079
- }
2080
- }
2081
- }
2082
-
2083
- @if $skin-name == 'fluent2' {
2084
- .e-richtexteditor {
2085
- .e-toolbar {
2086
- border: 0;
2087
- }
2088
- .e-toolbar .e-hor-nav{
2089
- min-height: 40px;
2090
- }
2091
- .e-toolbar .e-toolbar-pop {
2092
- border: 0;
2093
- }
2094
- .e-dialog {
2095
- .e-radio + label {
2096
- margin: 0;
2097
- }
2098
- }
2099
- }
2100
- .e-rte-elements .e-toolbar .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon {
2101
- min-width: 16px;
2102
- }
2103
- .e-rte-container{
2104
- border-radius: 4px;
2105
- }
2106
- .e-richtexteditor{
2107
- border-radius: 4px;
2108
- .e-toolbar {
2109
- border-radius: 4px 4px 0 0;
2110
- }
2111
- .e-toolbar .e-toolbar-items {
2112
- border-radius: 4px 4px 0 0;
2113
- }
2114
- .e-toolbar .e-hor-nav {
2115
- border-radius: 0 4px 0 0;
2116
- }
2117
- .e-rte-content {
2118
- border-radius: 0 0 4px 4px;
2119
- }
2120
- }
2121
- .e-richtexteditor .e-toolbar-wrapper{
2122
- border-radius: 4px 4px 0 0;
2123
- }
2124
- }
2125
-
2126
- /* Slash Menu Styles */
2127
- .e-rte-elements.e-slash-menu {
2128
- .e-rte-quotes::before {
2129
- content: open-quote;
2130
- font-size: 30px;
2131
- line-height: 20px;
2132
- }
2133
-
2134
- .e-rte-paragraph::before {
2135
- content: 'T';
2136
- font-size: 15px;
2137
- }
2138
-
2139
- .e-rte-h1::before {
2140
- content: 'H1';
2141
- font-size: 13px;
2142
- }
2143
-
2144
- .e-rte-h2::before {
2145
- content: 'H2';
2146
- font-size: 13px;
2147
- }
2148
-
2149
- .e-rte-h3::before {
2150
- content: 'H3';
2151
- font-size: 13px;
2152
- }
2153
-
2154
- .e-rte-h4::before {
2155
- content: 'H4';
2156
- font-size: 13px;
2157
- }
2158
-
2159
- .e-rte-slash-menu-item-text {
2160
- font-size: 14px;
2161
- display: block;
2162
- line-height: 20px;
2163
- padding: 5px 0 1px;
2164
- }
2165
-
2166
- .e-rte-slash-menu-item-description {
2167
- display: block;
2168
- line-height: 20px;
2169
- font-size: 11px;
2170
- padding: 1px 0 5px;
2171
- }
2172
-
2173
- .e-slash-menu-icon {
2174
- line-height: 0;
2175
- display: inline-block;
2176
- width: 50px;
2177
- font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
2178
- }
2179
- }
2180
- }
1
+ @include export-module('richtexteditor-layout') {
2
+
3
+ /*! tab layout */
4
+
5
+ .e-richtexteditor {
6
+ display: block;
7
+ position: relative;
8
+
9
+ .e-rte-container {
10
+ display: flex;
11
+ flex-direction: column;
12
+ width: 100%;
13
+ height: 100%;
14
+
15
+ &.e-count-enabled,
16
+ &.e-resize-enabled {
17
+ .e-content {
18
+ padding-bottom: 0;
19
+ }
20
+
21
+ .e-rte-content,
22
+ .e-source-content {
23
+ margin-bottom: 20px;
24
+ }
25
+ }
26
+
27
+ &.e-source-code-enabled {
28
+ .e-rte-content {
29
+ display: none;
30
+ }
31
+
32
+ .e-source-content {
33
+ display: block;
34
+ overflow: hidden;
35
+ }
36
+ }
37
+ }
38
+
39
+ .e-rte-content {
40
+ flex-grow: 1;
41
+
42
+ .rte-placeholder.e-rte-placeholder.enabled {
43
+ display: block;
44
+ font-size: $rte-content-font-size;
45
+ }
46
+ }
47
+
48
+ .e-source-content {
49
+ display: none;
50
+ }
51
+
52
+ & textarea.e-content {
53
+ border: 0;
54
+ display: block;
55
+ height: 100%;
56
+ margin: 0;
57
+ outline: 0;
58
+ padding: 8px;
59
+ resize: none;
60
+ width: 100%;
61
+ }
62
+
63
+ & .e-rte-hidden {
64
+ display: none;
65
+ }
66
+
67
+ &.e-disabled {
68
+ pointer-events: none;
69
+ }
70
+
71
+ &.e-rte-full-screen {
72
+ bottom: 0;
73
+ height: 100% !important; /* stylelint-disable-line declaration-no-important */
74
+ left: 0;
75
+ overflow: auto;
76
+ position: fixed;
77
+ right: 0;
78
+ top: 0;
79
+ width: 100% !important; /* stylelint-disable-line declaration-no-important */
80
+ z-index: 999;
81
+
82
+ .e-resize-handle {
83
+ display: none;
84
+ }
85
+
86
+ iframe {
87
+ height: calc(100% - 42px);
88
+ }
89
+
90
+ .e-rte-edit-table {
91
+ max-height: $rte-table-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
92
+ }
93
+
94
+ .e-rte-edit-table-prop-dialog {
95
+ max-height: $rte-edit-table-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
96
+ }
97
+
98
+ .e-rte-link-dialog {
99
+ max-height: $rte-link-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
100
+ }
101
+
102
+ .e-rte-img-dialog {
103
+ max-height: $rte-img-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
104
+ }
105
+
106
+ .e-rte-img-link-dialog {
107
+ max-height: $rte-img-link-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
108
+ }
109
+
110
+ .e-rte-img-size-dialog {
111
+ max-height: $rte-img-size-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
112
+ }
113
+
114
+ .e-rte-img-alt-dialog {
115
+ max-height: $rte-img-alt-dlg-max-height !important; /* stylelint-disable-line declaration-no-important */
116
+ }
117
+ }
118
+
119
+ &.e-rtl .e-rte-character-count {
120
+ left: 0;
121
+ padding-left: 30px;
122
+ padding-right: unset;
123
+ right: unset;
124
+ }
125
+
126
+ &.e-rtl .e-rte-content .e-content blockquote {
127
+ padding-left: 0;
128
+ padding-right: 12px;
129
+ }
130
+
131
+ .e-rte-toolbar {
132
+
133
+ @if $skin-name == 'bootstrap5' {
134
+ &.e-toolbar .e-hor-nav {
135
+ min-height: $toolbar-expand-icon-min-height;
136
+ }
137
+ }
138
+
139
+ .e-toolbar-items:not(.e-tbar-pos):not(.e-toolbar-multirow) .e-toolbar-item:first-child {
140
+ margin-left: $rte-tb-items-margin-left;
141
+ }
142
+
143
+ .e-toolbar-items .e-hscroll-bar .e-hscroll-content .e-toolbar-item:first-child {
144
+ margin-left: 0;
145
+ }
146
+
147
+ .e-hor-nav.e-expended-nav {
148
+ height: auto;
149
+ }
150
+
151
+ .e-toolbar-multirow {
152
+ margin-left: 7px;
153
+ margin-right: 7px;
154
+ }
155
+ }
156
+
157
+ &.e-rtl .e-rte-toolbar .e-toolbar-items:not(.e-tbar-pos):not(.e-toolbar-multirow) .e-toolbar-item:first-child {
158
+ margin-left: 0;
159
+ margin-right: $rte-tb-items-margin-left;
160
+ }
161
+
162
+ &.e-rtl .e-rte-toolbar .e-toolbar-multirow:not(.e-tbar-pos) .e-toolbar-item:first-child {
163
+ margin-right: 0;
164
+ }
165
+
166
+ .e-rte-toolbar.e-rte-tb-mobile .e-toolbar-multirow {
167
+ display: inline-block;
168
+ margin-left: 0;
169
+ margin-right: 0;
170
+ overflow-x: auto;
171
+ white-space: nowrap;
172
+ width: 100%;
173
+ }
174
+
175
+ .e-rte-toolbar,
176
+ .e-rte-toolbar.e-toolbar.e-extended-toolbar {
177
+
178
+ .e-toolbar-extended {
179
+ margin-left: 0;
180
+ padding-left: $rte-tb-items-padding-left;
181
+ }
182
+
183
+ .e-toolbar-items,
184
+ .e-toolbar-extended {
185
+
186
+ .e-toolbar-item {
187
+
188
+ .e-formats-tbar-btn > :first-child {
189
+ min-width: $rte-format-btn-min-width;
190
+ }
191
+
192
+ .e-font-name-tbar-btn > :first-child {
193
+ min-width: $rte-font-name-btn-min-width;
194
+ }
195
+
196
+ .e-font-size-tbar-btn > :first-child {
197
+ min-width: $rte-font-size-btn-min-width;
198
+ }
199
+
200
+ .e-dropdown-btn {
201
+ padding-left: $rte-drop-btn-padding-left;
202
+ padding-right: $rte-drop-btn-padding-right;
203
+
204
+ .e-rte-dropdown-btn-text {
205
+ font-size: $dropdown-btn-font-size;
206
+ font-weight: $font-weight;
207
+ overflow: hidden;
208
+ text-overflow: ellipsis;
209
+ white-space: nowrap;
210
+ }
211
+ }
212
+
213
+ .e-dropdown-btn:hover,
214
+ .e-dropdown-btn:focus,
215
+ .e-dropdown-btn:active {
216
+ padding-left: $rte-drop-btn-action-padding-left;
217
+ padding-right: $rte-drop-btn-action-padding-right;
218
+ }
219
+
220
+ .e-rte-font-color .e-selected-color.e-icons::before {
221
+ font-size: 12px;
222
+ position: relative;
223
+ top: -18px;
224
+ }
225
+
226
+ .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
227
+ .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content {
228
+ line-height: $rte-formatlists-dropdown-line-height;
229
+ @if $skin-name == 'FluentUI' {
230
+ padding: 5px;
231
+ }
232
+ }
233
+
234
+ .e-background-color.e-icons::before {
235
+ display: inline;
236
+ font-size: $rte-background-color-icon-fontsize;
237
+ }
238
+
239
+ .e-tbar-btn {
240
+
241
+ .e-order-list.e-icons,
242
+ .e-unorder-list.e-icons,
243
+ .e-icons.e-btn-icon:not(.e-caret) {
244
+ font-size: $rte-toolbar-icon-size;
245
+ }
246
+ }
247
+
248
+ &.e-active .e-tbar-btn.e-btn {
249
+ padding: $rte-active-tb-item-btn-padding;
250
+ @if $skin-name == 'FluentUI' {
251
+ border-radius: 0;
252
+ }
253
+ }
254
+ }
255
+ .e-dropdown-btn .e-rte-color-content {
256
+ padding-top: $rte-dropdown-btn-color-content-padding;
257
+ height: $rte-dropdown-btn-color-content-height;
258
+ }
259
+ }
260
+
261
+ @if $skin-name == 'bootstrap5' {
262
+ .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
263
+ padding: 0 4px;
264
+ }
265
+ }
266
+
267
+ &.e-control[class *= 'e-toolbar'] {
268
+ box-sizing: border-box;
269
+ }
270
+
271
+ .e-toolbar-extended.e-visible {
272
+ display: block;
273
+ visibility: hidden;
274
+ }
275
+
276
+ &.e-tbar-ios-fixed.e-rte-tb-fixed {
277
+ top: 0;
278
+ transform: translate3d(0, 0, 0);
279
+ }
280
+
281
+ &.e-rte-tb-fixed:not(.e-tbar-ios-fixed) {
282
+ bottom: 0;
283
+ }
284
+
285
+ &.e-rte-tb-fixed {
286
+ display: none;
287
+ left: 0;
288
+ position: fixed;
289
+ right: 0;
290
+
291
+ &.e-show {
292
+ display: block;
293
+ z-index: 101;
294
+ }
295
+ }
296
+ }
297
+
298
+ .rte-placeholder {
299
+ color: $rte-content-font-color;
300
+ line-height: $rte-placeholder-line-height;
301
+ opacity: .54;
302
+ overflow: hidden;
303
+ padding: $rte-placeholder-padding;
304
+ position: absolute;
305
+ text-align: start;
306
+ top: 0;
307
+ z-index: 1;
308
+ display: none;
309
+ }
310
+
311
+ .e-rte-content {
312
+ position: relative;
313
+ z-index: 1;
314
+ }
315
+
316
+ .e-rte-content,
317
+ .e-source-content {
318
+ /* stylelint-disable property-no-vendor-prefix */
319
+ -webkit-overflow-scrolling: touch; //iOS devices scrolling smooth
320
+ // sass-lint:enabled no-vendor-prefixes
321
+ overflow: auto;
322
+ transition: 100ms ease-out;
323
+ width: 100%;
324
+ font-size: $rte-content-font-size;
325
+
326
+ .e-content {
327
+ width: 100%;
328
+ float: left;
329
+ background: unset;
330
+ box-sizing: border-box;
331
+ height: 100%;
332
+ min-height: 100px;
333
+ outline: 0 solid transparent;
334
+ padding: $rte-content-padding;
335
+ position: relative;
336
+ text-align: inherit;
337
+ z-index: 2;
338
+ font-weight: normal; /* normal = 400 */
339
+ line-height: 1.5;
340
+ font-size: 1em;
341
+ }
342
+
343
+ .e-content p {
344
+ margin: 0 0 10px;
345
+ margin-bottom: 10px;
346
+ }
347
+
348
+ .e-content code {
349
+ background: $rte-code-background;
350
+ color: $rte-code-color;
351
+ }
352
+
353
+ .e-content li {
354
+ margin-bottom: 10px;
355
+ }
356
+
357
+ .e-content li ol,
358
+ .e-content li ul {
359
+ margin-block-start: 10px;
360
+ }
361
+
362
+ .e-content ul {
363
+ list-style-type: disc;
364
+ }
365
+
366
+ .e-content ul ul,
367
+ .e-content ol ul {
368
+ list-style-type: circle;
369
+ }
370
+
371
+ .e-content ul ul ul,
372
+ .e-content ol ul ul,
373
+ .e-content ul ol ul,
374
+ .e-content ol ol ul {
375
+ list-style-type: square;
376
+ }
377
+
378
+ .e-content h1 {
379
+ font-size: 2.857em;
380
+ font-weight: 600;
381
+ line-height: 1.2;
382
+ margin: 10px 0;
383
+ }
384
+
385
+ .e-content h2 {
386
+ font-size: 2.285em;
387
+ font-weight: 600;
388
+ line-height: 1.2;
389
+ margin: 10px 0;
390
+ }
391
+
392
+ .e-content h3 {
393
+ font-size: 2em;
394
+ font-weight: 600;
395
+ line-height: 1.2;
396
+ margin: 10px 0;
397
+ }
398
+
399
+ .e-content h4 {
400
+ font-size: 1.714em;
401
+ font-weight: 600;
402
+ line-height: 1.2;
403
+ margin: 10px 0;
404
+ }
405
+
406
+ .e-content h5 {
407
+ font-size: 1.428em;
408
+ font-weight: 600;
409
+ line-height: 1.2;
410
+ margin: 10px 0;
411
+ }
412
+
413
+ .e-content h6 {
414
+ font-size: 1.142em;
415
+ line-height: 600;
416
+ line-height: 1.5;
417
+ margin: 10px 0;
418
+ }
419
+
420
+ .e-content blockquote {
421
+ margin: 10px 0;
422
+ margin-left: 0;
423
+ padding-left: 12px;
424
+ }
425
+
426
+ .e-content table {
427
+ margin-bottom: 10px;
428
+ border-collapse: collapse;
429
+ empty-cells: show;
430
+ }
431
+
432
+ .e-content pre {
433
+ background-color: $rte-content-pre-background;
434
+ border: 0;
435
+ border-radius: 0;
436
+ color: $rte-content-color;
437
+ font-size: inherit;
438
+ line-height: inherit;
439
+ margin: 0 0 10px;
440
+ overflow: visible;
441
+ padding: 0;
442
+ white-space: pre-wrap;
443
+ word-break: inherit;
444
+ word-wrap: break-word;
445
+
446
+ @if $skin-name == 'fluent2' or $theme-name == 'fluent2-highcontrast' or $skin-name == 'fluent2-dark' {
447
+ background-color: $rte-pre-bg-color;
448
+ }
449
+ }
450
+
451
+ .e-content strong,
452
+ .e-content b {
453
+ font-weight: bold;
454
+ }
455
+
456
+ .e-content a {
457
+ text-decoration: none;
458
+ user-select: auto;
459
+ }
460
+
461
+ .e-content a:hover {
462
+ text-decoration: underline;
463
+ }
464
+
465
+ .e-content p:last-child,
466
+ .e-content pre:last-child,
467
+ .e-content blockquote:last-child {
468
+ margin-bottom: 0;
469
+ }
470
+
471
+ .e-content h3 + h4,
472
+ .e-content h4 + h5,
473
+ .e-content h5 + h6 {
474
+ margin-top: .6em;
475
+ }
476
+
477
+ .e-content ul:last-child {
478
+ margin-bottom: 0;
479
+ }
480
+
481
+ .e-content table.e-cell-select {
482
+ position: relative;
483
+ }
484
+
485
+ .e-content table.e-cell-select::after {
486
+ content: '';
487
+ position: absolute;
488
+ top: 0;
489
+ left: 0;
490
+ right: 0;
491
+ bottom: 0;
492
+ border: 2px solid $rte-table-select-border-color;
493
+ pointer-events: none;
494
+ }
495
+
496
+ .e-content table td.e-cell-select.e-multi-cells-select,
497
+ .e-content table th.e-cell-select.e-multi-cells-select {
498
+ border: 1px double $rte-table-select-border-color;
499
+ position: relative;
500
+ }
501
+
502
+ .e-content table td.e-cell-select.e-multi-cells-select::after,
503
+ .e-content table th.e-cell-select.e-multi-cells-select::after {
504
+ background-color: $rte-table-multicell-select-bg-color;
505
+ content: '';
506
+ position: absolute;
507
+ top: 0;
508
+ left: 0;
509
+ width: 100%;
510
+ height: 100%;
511
+ bottom: 0;
512
+ pointer-events: none;
513
+ right: 0;
514
+ }
515
+ .e-content table td.e-multi-cells-select ::selection,
516
+ .e-content table th.e-multi-cells-select ::selection {
517
+ background-color: transparent;
518
+ }
519
+ .e-content table td.e-multi-cells-select,
520
+ .e-content table th.e-multi-cells-select {
521
+ user-select: none;
522
+ }
523
+ }
524
+
525
+ .e-rte-character-count {
526
+ bottom: 0;
527
+ color: $rte-default-character-count-color;
528
+ font-size: 14px;
529
+ margin-right: 30px;
530
+ opacity: $rte-default-character-count-opacity;
531
+ padding-bottom: 2px;
532
+ position: absolute;
533
+ right: 0;
534
+ z-index: 100;
535
+ pointer-events: none;
536
+
537
+ &.e-warning {
538
+ color: $rte-warning-character-count-color;
539
+ opacity: unset;
540
+ }
541
+
542
+ &.e-error {
543
+ color: $rte-error-character-count-color;
544
+ opacity: unset;
545
+ }
546
+ }
547
+
548
+ .e-rte-srctextarea {
549
+ background-color: transparent;
550
+ border: 0;
551
+ color: $rte-content-color;
552
+ height: 100%;
553
+ line-height: 22px;
554
+ overflow: auto;
555
+ padding: 16px;
556
+ resize: none;
557
+ transition: 100ms ease-out;
558
+ width: 100%;
559
+ }
560
+
561
+ .e-resize-handle {
562
+ height: $rte-resize-handler-height;
563
+ position: absolute;
564
+ width: $rte-resize-handler-width;
565
+
566
+ &.e-south-east {
567
+ bottom: $rte-resize-handler-position;
568
+ cursor: nwse-resize;
569
+ right: $rte-resize-handler-position;
570
+ z-index: 100;
571
+ }
572
+
573
+ &.e-south-west {
574
+ bottom: $rte-resize-handler-position;
575
+ cursor: sw-resize;
576
+ left: $rte-resize-handler-position;
577
+ transform: rotate(90deg);
578
+ z-index: 100;
579
+ }
580
+ }
581
+
582
+ &.e-rtl {
583
+
584
+ &.e-rte-resize {
585
+ float: right;
586
+ }
587
+
588
+ .e-resize-handle.e-south-west {
589
+ direction: ltr;
590
+ text-align: initial;
591
+ }
592
+ }
593
+
594
+ &.e-rte-tb-expand {
595
+ &.e-rte-fixed-tb-expand {
596
+ transition: none;
597
+ }
598
+ }
599
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon:not(.e-toolbar-pop) {
600
+ padding: $rte-extended-toolbar-items-padding;
601
+ }
602
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover {
603
+ background: $rte-expand-tbar-hover-bg;
604
+ }
605
+ .e-toolbar .e-toolbar-item .e-tbar-btn,
606
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended.e-toolbar-pop .e-toolbar-item .e-tbar-btn{
607
+ font-size: $rte-tbar-icon-size;
608
+ }
609
+ .e-clickelem::after,
610
+ .e-video-clickelem::after {
611
+ left: 0;
612
+ right: 0;
613
+ z-index: 1;
614
+ }
615
+ .e-clickelem::before,
616
+ .e-video-clickelem::before {
617
+ left: 0;
618
+ right: 0;
619
+ z-index: 1;
620
+ }
621
+ .e-clickelem::before {
622
+ bottom: 70%;
623
+ top: 0;
624
+ }
625
+ .e-clickelem::after {
626
+ bottom: 0;
627
+ top: 70%;
628
+ }
629
+ .e-video-clickelem::before {
630
+ bottom: 85%;
631
+ top: 0;
632
+ }
633
+ .e-video-clickelem::after {
634
+ bottom: 0;
635
+ top: 90%;
636
+ }
637
+
638
+ .e-audio-wrap,
639
+ .e-embed-video-wrap {
640
+ display: inline-block;
641
+ }
642
+
643
+ .e-clickelem,
644
+ .e-video-clickelem {
645
+ display: block;
646
+ margin: 0;
647
+ outline: none;
648
+ padding: 0;
649
+ position: relative;
650
+ }
651
+
652
+ .e-clickelem::after,
653
+ .e-video-clickelem::after {
654
+ background: transparent;
655
+ content: '';
656
+ cursor: default;
657
+ display: block;
658
+ position: absolute;
659
+ }
660
+
661
+ .e-clickelem::before,
662
+ .e-video-clickelem::before {
663
+ background: transparent;
664
+ content: '';
665
+ cursor: default;
666
+ display: block;
667
+ position: absolute;
668
+ }
669
+
670
+ .e-videoheader,
671
+ .e-embed-videoheader,
672
+ .e-video-url-wrap {
673
+ padding-bottom: 5px;
674
+ padding-top: 15px;
675
+ }
676
+
677
+ .e-video-url-wrap .e-radio-wrapper {
678
+ padding: 5px;
679
+ }
680
+
681
+ .e-video-url-wrap textarea {
682
+ height: 80px;
683
+ }
684
+
685
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon.e-caret:not(.e-toolbar-pop,.e-rte-fontcolor-dropdown .e-caret,.e-rte-backgroundcolor-dropdown .e-caret, .e-rte-numberformatlist-dropdown .e-caret,.e-rte-bulletformatlist-dropdown .e-caret){
686
+ padding-left: 9px;
687
+ }
688
+ .e-toolbar-item .e-caret:not(.e-toolbar-pop,.e-rte-fontcolor-dropdown .e-caret,.e-rte-backgroundcolor-dropdown .e-caret, .e-rte-numberformatlist-dropdown .e-caret,.e-rte-bulletformatlist-dropdown .e-caret){
689
+ padding-left: 9px;
690
+ }
691
+ }
692
+
693
+ .e-rte-quick-toolbar .e-toolbar-item .e-caret:not(.e-toolbar-pop,.e-rte-fontcolor-dropdown .e-caret,.e-rte-backgroundcolor-dropdown .e-caret, .e-rte-numberformatlist-dropdown .e-caret,.e-rte-bulletformatlist-dropdown .e-caret){
694
+ padding-left: 9px;
695
+ }
696
+
697
+ .e-rte-linkcontent .e-rte-label {
698
+ padding-top: $rte-insert-dialog-label-padding-top;
699
+ }
700
+
701
+ .e-rte-label label {
702
+ font-weight: normal;
703
+ }
704
+
705
+ .e-rte-linkcontent .e-rte-label:first-child {
706
+ padding-top: 0;
707
+ }
708
+
709
+ .e-rte-dropdown-popup {
710
+
711
+ &.e-rte-inline-dropdown {
712
+
713
+ @media screen and (max-width: 768px) {
714
+ ul {
715
+ padding: 7px 0;
716
+
717
+ li.e-item {
718
+ height: 34px;
719
+ line-height: 34px;
720
+ padding: 0 6.5px;
721
+ }
722
+
723
+ .e-item .e-menu-icon {
724
+ float: none;
725
+ }
726
+ }
727
+ }
728
+
729
+ &.e-rte-dropdown-icons.e-dropdown-popup {
730
+
731
+ @media screen and (max-width: 768px) {
732
+ max-height: 280px;
733
+
734
+ ul {
735
+ display: inline-flex;
736
+ }
737
+ }
738
+ }
739
+ }
740
+
741
+ ul {
742
+ min-width: 82px;
743
+
744
+ .e-item {
745
+
746
+ .e-menu-icon {
747
+ margin: 0 6px;
748
+ width: auto;
749
+ }
750
+
751
+ &.e-h1 {
752
+ font-size: 2em;
753
+ font-weight: bold;
754
+ height: 40px;
755
+ @if $skin-name =='fluent2' {
756
+ line-height: 25px;
757
+ }
758
+ @else {
759
+ line-height: 40px;
760
+ }
761
+ }
762
+
763
+ &.e-code{
764
+ font-family: monospace;
765
+ unicode-bidi: isolate;
766
+ white-space: pre;
767
+ }
768
+
769
+ &.e-h2 {
770
+ font-size: 1.5em;
771
+ font-weight: bold;
772
+ height: 40px;
773
+ @if $skin-name =='fluent2' {
774
+ line-height: 25px;
775
+ }
776
+ @else {
777
+ line-height: 40px;
778
+ }
779
+ }
780
+
781
+ &.e-h3 {
782
+ font-size: 1.16em;
783
+ font-weight: bold;
784
+ }
785
+
786
+ &.e-h4 {
787
+ font-size: 1em;
788
+ font-weight: bold;
789
+ }
790
+
791
+ &.e-h5 {
792
+ font-size: .83em;
793
+ font-weight: bold;
794
+ }
795
+
796
+ &.e-h6 {
797
+ font-size: .7em;
798
+ font-weight: bold;
799
+ }
800
+
801
+ &.e-segoe-ui {
802
+ font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
803
+ }
804
+
805
+ &.e-arial {
806
+ font-family: 'Arial', 'Helvetica', sans-serif;
807
+ }
808
+
809
+ &.e-courier-new {
810
+ font-family: 'Courier New', 'Courier', monospace;
811
+ }
812
+
813
+ &.e-georgia {
814
+ font-family: 'Georgia', 'Times New Roman', 'Times', serif;
815
+ }
816
+
817
+ &.e-helvetica-neue {
818
+ font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
819
+ }
820
+
821
+ &.e-impact {
822
+ font-family: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
823
+ }
824
+
825
+ &.e-lucida-console {
826
+ font-family: 'Lucida Console', 'Monaco', monospace;
827
+ }
828
+
829
+ &.e-tahoma {
830
+ font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
831
+ }
832
+
833
+ &.e-times-new-roman {
834
+ font-family: 'Times New Roman', 'Times', serif;
835
+ }
836
+
837
+ &.e-trebuchet-ms {
838
+ font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', sans-serif;
839
+ }
840
+
841
+ &.e-verdana {
842
+ font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
843
+ }
844
+
845
+ &.e-roboto {
846
+ font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif;
847
+ }
848
+ }
849
+ }
850
+
851
+ &.e-rte-dropdown-icons {
852
+
853
+ ul {
854
+ min-width: auto;
855
+ }
856
+
857
+ @media screen and (max-width: 768px) {
858
+
859
+ ul {
860
+ min-width: 30px;
861
+ }
862
+ }
863
+ }
864
+
865
+ &.e-rtl {
866
+ ul .e-item .e-menu-icon {
867
+ margin: 0 6px;
868
+ }
869
+ }
870
+ }
871
+
872
+ .e-rte-image.e-imgbreak,
873
+ .e-rte-audio.e-audio-break,
874
+ .e-rte-video.e-video-break {
875
+ border: 0;
876
+ cursor: pointer;
877
+ display: block;
878
+ float: none;
879
+ max-width: 100%;
880
+ padding: 1px;
881
+ position: relative;
882
+ }
883
+
884
+ .e-rte-image,
885
+ .e-rte-audio,
886
+ .e-rte-video {
887
+ border: 0;
888
+ cursor: pointer;
889
+ display: block;
890
+ float: none;
891
+ margin: auto;
892
+ max-width: 100%;
893
+ position: relative;
894
+ }
895
+
896
+ .e-rte-image.e-imginline,
897
+ .e-rte-audio.e-audio-inline,
898
+ .e-rte-video.e-video-inline {
899
+ margin-left: 5px;
900
+ margin-right: 5px;
901
+ display: inline-block;
902
+ float: none;
903
+ max-width: 100%;
904
+ padding: 1px;
905
+ vertical-align: bottom;
906
+ }
907
+
908
+ .e-rte-image.e-imgcenter,
909
+ .e-rte-video.e-video-center {
910
+ cursor: pointer;
911
+ display: block;
912
+ float: none;
913
+ margin: 5px auto;
914
+ max-width: 100%;
915
+ position: relative;
916
+ }
917
+
918
+ .e-rte-image.e-imgleft,
919
+ .e-rte-video.e-video-left {
920
+ float: left;
921
+ margin: 0 auto;
922
+ margin-right: 5px;
923
+ text-align: left;
924
+ }
925
+
926
+ .e-rte-image.e-imgright,
927
+ .e-rte-video.e-video-right {
928
+ float: right;
929
+ margin: 0 auto;
930
+ margin-left: 5px;
931
+ text-align: right;
932
+ }
933
+
934
+ .e-rte-img-popup .e-item {
935
+ height: 106px;
936
+ width: 300px;
937
+ }
938
+
939
+ .e-rte-img-caption {
940
+ display: inline-block;
941
+ margin: 5px auto;
942
+ max-width: 100%;
943
+ position: relative;
944
+ }
945
+
946
+ .e-rte-img-caption.e-caption-inline {
947
+ display: inline-block;
948
+ margin: 5px auto;
949
+ margin-left: 5px;
950
+ margin-right: 5px;
951
+ max-width: calc(100% - (2 * 5px));
952
+ position: relative;
953
+ text-align: center;
954
+ vertical-align: bottom;
955
+ }
956
+
957
+ .e-rte-img-caption.e-imgcenter {
958
+ display: contents;
959
+ margin-left: auto;
960
+ margin-right: auto;
961
+ }
962
+
963
+ .e-rte-img-caption.e-imgright {
964
+ display: contents;
965
+ margin-left: auto;
966
+ margin-right: 0;
967
+ }
968
+
969
+ .e-rte-img-caption.e-imgleft {
970
+ display: contents;
971
+ margin-left: 0;
972
+ margin-right: auto;
973
+ }
974
+
975
+ .e-rte-img-caption .e-rte-image.e-imgright {
976
+ margin-left: auto;
977
+ margin-right: 0;
978
+ }
979
+
980
+ .e-rte-img-caption .e-rte-image.e-imgleft {
981
+ margin: 0;
982
+ }
983
+
984
+ .e-img-caption.e-rte-img-caption.e-imgbreak {
985
+ display: contents;
986
+ }
987
+
988
+ .e-rte-table td,
989
+ .e-rte-table th {
990
+ border: 1px solid $rte-table-border-color;
991
+ height: 20px;
992
+ min-width: 20px;
993
+ padding: 2px 5px;
994
+ box-sizing: border-box;
995
+ }
996
+
997
+ .e-rte-table.e-dashed-border td,
998
+ .e-rte-table.e-dashed-border th {
999
+ border-style: dashed;
1000
+ }
1001
+
1002
+ .e-rte-img-caption .e-img-inner {
1003
+ box-sizing: border-box;
1004
+ display: block;
1005
+ font-size: $rte-toolbar-icon-size;
1006
+ font-weight: initial;
1007
+ margin: auto;
1008
+ opacity: .9;
1009
+ position: relative;
1010
+ text-align: center;
1011
+ width: 100%;
1012
+ }
1013
+
1014
+ .e-rte-img-caption.e-imgleft .e-img-inner {
1015
+ float: left;
1016
+ text-align: left;
1017
+ }
1018
+
1019
+ .e-rte-img-caption.e-imgright .e-img-inner {
1020
+ float: right;
1021
+ text-align: right;
1022
+ }
1023
+
1024
+ .e-rte-img-caption.e-imgleft .e-img-wrap,
1025
+ .e-rte-img-caption.e-imgright .e-img-wrap {
1026
+ display: contents;
1027
+ }
1028
+
1029
+ .e-rte-img-caption .e-img-wrap {
1030
+ display: inline-block;
1031
+ margin: auto;
1032
+ padding: 0;
1033
+ width: 100%;
1034
+ }
1035
+
1036
+ .e-rte-img-dialog .e-rte-label {
1037
+ padding-top: $rte-insert-dialog-label-padding-top;
1038
+ }
1039
+
1040
+ .e-rte-img-dialog .e-rte-label:first-child {
1041
+ padding-top: 0;
1042
+ }
1043
+
1044
+ .e-rte-video-dialog .e-rte-label {
1045
+ padding-top: $rte-insert-dialog-label-padding-top;
1046
+ }
1047
+
1048
+ .e-rte-video-dialog .e-rte-label:first-child {
1049
+ padding-top: 0;
1050
+ }
1051
+
1052
+ .e-rte-table-resize.e-row-resize,
1053
+ .e-rte-table-resize.e-column-resize {
1054
+ background-color: transparent;
1055
+ background-repeat: repeat;
1056
+ bottom: 0;
1057
+ cursor: col-resize;
1058
+ height: 1px;
1059
+ overflow: visible;
1060
+ position: absolute;
1061
+ width: 1px;
1062
+ }
1063
+
1064
+ .e-rte-table-resize.e-row-resize {
1065
+ cursor: row-resize;
1066
+ height: 1px;
1067
+ }
1068
+
1069
+ .e-richtexteditor,
1070
+ .e-rte-elements {
1071
+ .e-linkheader,
1072
+ .e-audioheader,
1073
+ .e-videoheader,
1074
+ .e-video-url-wrap {
1075
+ font-family: $rte-font-family;
1076
+ font-size: $rte-insert-dialog-font-size;
1077
+ opacity: .87;
1078
+ padding-bottom: $rte-insert-dialog-label-padding-bottom;
1079
+ padding-top: $rte-insert-dialog-label-padding-top;
1080
+ }
1081
+
1082
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
1083
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control {
1084
+ padding: $rte-toolbar-expaned-padding;
1085
+ }
1086
+
1087
+ .e-toolbar .e-toolbar-pop .e-toolbar-item.e-tbtn-align .e-btn.e-control .e-icons.e-btn-icon {
1088
+ min-width: $rte-toolbar-expaned-minwidth;
1089
+ }
1090
+
1091
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control:hover {
1092
+ padding: $rte-toolbar-expaned-padding-hover;
1093
+ }
1094
+
1095
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
1096
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1097
+ .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
1098
+ .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1099
+ .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
1100
+ .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
1101
+ margin-top: 0;
1102
+ }
1103
+
1104
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1105
+ .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1106
+ .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
1107
+ margin-right: 30px;
1108
+ }
1109
+
1110
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list,
1111
+ .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list,
1112
+ .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list {
1113
+ border-bottom: 0 solid transparent;
1114
+ min-height: initial;
1115
+ }
1116
+
1117
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container,
1118
+ .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container,
1119
+ .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container {
1120
+ margin-left: 0;
1121
+ margin-right: 0;
1122
+ }
1123
+
1124
+ .e-img-uploadwrap.e-droparea .e-upload .e-upload-files,
1125
+ .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files,
1126
+ .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files {
1127
+ border-top: 0 solid transparent;
1128
+ }
1129
+
1130
+ .e-img-uploadwrap.e-droparea .e-file-select-wrap,
1131
+ .e-aud-uploadwrap.e-droparea .e-file-select-wrap,
1132
+ .e-vid-uploadwrap.e-droparea .e-file-select-wrap {
1133
+ display: none;
1134
+ }
1135
+
1136
+ .e-img-uploadwrap.e-droparea .e-upload,
1137
+ .e-aud-uploadwrap.e-droparea .e-upload,
1138
+ .e-vid-uploadwrap.e-droparea .e-upload {
1139
+ border: 0 solid transparent;
1140
+ float: none;
1141
+ }
1142
+
1143
+ .e-dialog .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
1144
+ margin-right: $rte-img-upload-abort-icon-btn-margin-right;
1145
+ margin-top: $rte-img-upload-abort-icon-btn-margin-top;
1146
+ }
1147
+
1148
+ .e-dialog .e-img-uploadwrap.e-droparea .e-browsebtn,
1149
+ .e-dialog .e-aud-uploadwrap.e-droparea .e-browsebtn,
1150
+ .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn {
1151
+ display: block;
1152
+ height: $rte-droparea-browsebtn-height;
1153
+ margin: 0 auto 10px;
1154
+ padding: $rte-droparea-browsebtn-padding;
1155
+ position: relative;
1156
+ top: 6px;
1157
+ @if $skin-name == 'FluentUI' {
1158
+ outline: none;
1159
+ }
1160
+ }
1161
+
1162
+ .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn,
1163
+ .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea .e-browsebtn,
1164
+ .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
1165
+ display: none;
1166
+ }
1167
+
1168
+ .e-dialog .e-img-uploadwrap.e-droparea,
1169
+ .e-dialog .e-aud-uploadwrap.e-droparea,
1170
+ .e-dialog .e-vid-uploadwrap.e-droparea {
1171
+ line-height: $rte-droparea-line-height;
1172
+ min-height: 50px;
1173
+ position: relative;
1174
+ }
1175
+
1176
+ .e-dialog .e-img-uploadwrap.e-droparea .e-rte-upload-text,
1177
+ .e-dialog .e-aud-uploadwrap.e-droparea .e-rte-upload-text,
1178
+ .e-dialog .e-vid-uploadwrap.e-droparea .e-rte-upload-text {
1179
+ display: inline-block;
1180
+ line-height: normal;
1181
+ }
1182
+
1183
+ .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea,
1184
+ .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea,
1185
+ .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea {
1186
+ line-height: 4;
1187
+ }
1188
+
1189
+ .e-rte-inline-dropdown ul {
1190
+ max-height: 200px;
1191
+ overflow-y: auto;
1192
+ }
1193
+
1194
+ .e-rte-dropdown-popup.e-rte-dropdown-items ul {
1195
+ max-height: 280px;
1196
+ overflow-y: auto;
1197
+ }
1198
+
1199
+ .e-dropdown-btn.e-rte-backgroundcolor-dropdown,
1200
+ .e-dropdown-btn.e-rte-fontcolor-dropdown,
1201
+ .e-dropdown-btn.e-rte-numberformatlist-dropdown,
1202
+ .e-dropdown-btn.e-rte-bulletformatlist-dropdown {
1203
+ line-height: $rte-inline-dropdown-line-height;
1204
+ }
1205
+
1206
+ .e-rte-table-popup.e-popup.e-popup-open {
1207
+ border-radius: $rte-table-popup-bdr-radius;
1208
+ box-shadow: $rte-table-popup-box;
1209
+ font-size: 14px;
1210
+ font-weight: normal;
1211
+ min-width: 120px;
1212
+ overflow: hidden;
1213
+ padding: $rte-table-popup-padding;
1214
+ border: $rte-table-popup-border;
1215
+ }
1216
+
1217
+ .e-rte-table-popup.e-popup-open .e-rte-tablecell {
1218
+ border: $rte-table-span-border;
1219
+ display: inline-block;
1220
+ height: $rte-table-popup-tablecell-height;
1221
+ margin: $rte-table-popup-tablecell-margin;
1222
+ overflow: hidden;
1223
+ vertical-align: top;
1224
+ width: $rte-table-popup-tablecell-width;
1225
+ }
1226
+
1227
+ .e-rte-table-popup.e-popup-open .e-rte-table-row {
1228
+ height: $rte-table-popup-row-height;
1229
+ }
1230
+
1231
+ .e-rte-table-popup.e-popup-open .e-insert-table-btn {
1232
+ width: 100%;
1233
+ }
1234
+
1235
+ .e-rte-edit-table .e-rte-field {
1236
+ padding-top: $rte-insert-dialog-label-padding-top;
1237
+ }
1238
+
1239
+ .e-rte-edit-table .e-rte-field:first-child {
1240
+ padding-top: 0;
1241
+ }
1242
+
1243
+ .e-table-fake-selection {
1244
+ visibility: hidden;
1245
+ content: '\u200B';
1246
+ position: fixed;
1247
+ top: 0;
1248
+ left: -9999px;
1249
+ }
1250
+
1251
+ .e-rte-content .e-content table td.e-cell-select,
1252
+ .e-rte-content .e-content table th.e-cell-select {
1253
+ border: 1px double $rte-table-select-border-color;
1254
+ height: inherit;
1255
+ }
1256
+
1257
+ span.e-table-box {
1258
+ cursor: nwse-resize;
1259
+ display: block;
1260
+ height: 10px;
1261
+ position: absolute;
1262
+ width: 10px;
1263
+
1264
+ &.e-hide {
1265
+ display: none;
1266
+ }
1267
+ }
1268
+
1269
+ span.e-table-box.e-rmob {
1270
+ height: 14px;
1271
+ width: 14px;
1272
+ }
1273
+
1274
+ .e-upload .e-upload-files .e-upload-file-list .e-file-container {
1275
+ margin-right: 50px;
1276
+ }
1277
+
1278
+ .e-rte-upload-popup {
1279
+ width: 250px;
1280
+ }
1281
+
1282
+ .e-rte-dialog-upload .e-upload-files {
1283
+ border-top: 0;
1284
+ }
1285
+
1286
+ .e-rte-dialog-upload .e-upload-files .e-upload-file-list {
1287
+ border-bottom: 0;
1288
+ }
1289
+
1290
+ .e-rte-emojipicker-popup.e-popup.e-popup-open {
1291
+ border: $rte-emoji-pop-border;
1292
+ min-width: 120px;
1293
+ height: 330px;
1294
+ width: 308px;
1295
+
1296
+ .e-toolbar .e-toolbar-item .e-tbar-btn {
1297
+ padding: 7px 3px;
1298
+ border-radius: 4px;
1299
+
1300
+ @if $skin-name =='bootstrap' or $skin-name =='botstrap-dark' {
1301
+ &:hover,
1302
+ &:focus{
1303
+ padding: 7px 3px;
1304
+ }
1305
+ }
1306
+
1307
+ @if $skin-name =='material' or $skin-name =='material-dark' {
1308
+ padding: 0 6px;
1309
+ }
1310
+
1311
+ .e-tbar-btn-text {
1312
+ @if $skin-name =='fluent2' {
1313
+ font-size: 16px;
1314
+ }
1315
+ @else {
1316
+ font-size: 24px;
1317
+ }
1318
+ padding: 0;
1319
+ }
1320
+ }
1321
+
1322
+ .e-input-group.e-control-wrapper {
1323
+ margin: 10px;
1324
+ width: 94%;
1325
+
1326
+ .e-rte-emoji-search {
1327
+ @if $skin-name =='material' or $skin-name =='material-dark' or $skin-name =='material3' or $skin-name =='material3-dark' {
1328
+ text-indent: 4px;
1329
+ }
1330
+ }
1331
+ }
1332
+
1333
+ .e-rte-emojipicker-btn {
1334
+ display: block;
1335
+ gap: 10px;
1336
+ height: $rte-emoji-btn-height;
1337
+ overflow: auto;
1338
+ padding: 10px;
1339
+
1340
+ .e-rte-emojipicker-group .e-rte-emojipickerbtn-group {
1341
+ display: grid;
1342
+ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
1343
+ gap: 6px;
1344
+
1345
+ .e-btn.e-control {
1346
+ display: inline-block;
1347
+ box-shadow: none;
1348
+ padding: 6px 0;
1349
+ width: $rte-emoji-grp-btn-width;
1350
+ height: $rte-emoji-grp-btn-height;
1351
+ border: none;
1352
+ line-height: $rte-emoji-grp-btn-line-height;
1353
+ @if $skin-name =='fluent2' {
1354
+ font-size: 16px;
1355
+ }
1356
+ @else {
1357
+ font-size: 24px;
1358
+ }
1359
+ }
1360
+ }
1361
+
1362
+ .e-rte-emojisearch-btn {
1363
+ display: grid;
1364
+ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
1365
+ gap: 6px;
1366
+ height: 0;
1367
+
1368
+ .e-btn.e-control {
1369
+ display: inline-block;
1370
+ box-shadow: none;
1371
+ font-size: 24px;
1372
+ padding: 6px 0;
1373
+ width: 40px;
1374
+ height: 40px;
1375
+ border: none;
1376
+ line-height: $rte-emoji-grp-btn-line-height;
1377
+ }
1378
+ }
1379
+
1380
+ .e-rte-emojipicker-group .e-rte-emojipicker-name {
1381
+ font-weight: $rte-emoji-headname-font-weight;
1382
+ font-size: 14px;
1383
+ }
1384
+
1385
+ .e-rte-emojiSearch-noEmoji {
1386
+ text-align: center;
1387
+ }
1388
+ }
1389
+ }
1390
+ }
1391
+
1392
+ .e-rte-backgroundcolor-colorpicker,
1393
+ .e-rte-fontcolor-colorpicker {
1394
+ & .e-color-palette.e-container {
1395
+ & .e-custom-palette .e-palette {
1396
+ padding: 0;
1397
+ }
1398
+
1399
+ & .e-switch-ctrl-btn {
1400
+ padding: 5px;
1401
+ }
1402
+ }
1403
+ }
1404
+
1405
+ .e-rte-quick-popup {
1406
+ border-radius: 2px;
1407
+ overflow: hidden;
1408
+
1409
+ .e-rte-quick-toolbar {
1410
+ border-radius: 2px;
1411
+ min-height: 42px;
1412
+
1413
+ .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1414
+ white-space: nowrap;
1415
+ display: inline-block;
1416
+ }
1417
+
1418
+ &.e-remove-white-space {
1419
+
1420
+ .e-toolbar-items:not(.e-tbar-pos).e-toolbar-multirow {
1421
+ white-space: nowrap;
1422
+ }
1423
+ }
1424
+
1425
+ .e-toolbar-items:not(.e-tbar-pos) {
1426
+ border-radius: 2px;
1427
+ margin: $rte-quick-toolbar-item-margin;
1428
+ min-height: 42px;
1429
+
1430
+ .e-toolbar-item.e-rte-horizontal-separator,
1431
+ .e-toolbar-item.e-separator.e-multirow-separator.e-rte-horizontal-separator {
1432
+ display: block;
1433
+ height: 1px;
1434
+ margin: 0;
1435
+ min-height: 1px;
1436
+ }
1437
+
1438
+ .e-toolbar-item {
1439
+ margin: $rte-toolbar-item-frist-last-child-margin;
1440
+ min-height: 42px;
1441
+
1442
+ &:first-child,
1443
+ &:last-child {
1444
+ margin: 0;
1445
+ }
1446
+
1447
+ .e-tbar-btn:not(.e-rte-dropdown-btn) {
1448
+ line-height: $rte-qt-item-btn-line-height;
1449
+ }
1450
+
1451
+ .e-tbar-btn:not(.e-rte-dropdown-btn) .e-icons {
1452
+ min-width: $rte-quick-item-icon-min-width;
1453
+ }
1454
+ }
1455
+
1456
+ .e-toolbar-item .e-btn,
1457
+ .e-toolbar-item .e-btn:hover {
1458
+ min-height: $rte-quick-item-btn-height;
1459
+ min-width: $rte-quick-item-btn-width;
1460
+ padding: $rte-quick-item-padding;
1461
+ @if $skin-name == 'FluentUI' {
1462
+ padding-left: $rte-quick-item-padding-left;
1463
+ padding-right: $rte-quick-item-padding-right;
1464
+ }
1465
+ }
1466
+ }
1467
+
1468
+ .e-tbar-btn {
1469
+ .e-icons.e-btn-icon:not(.e-caret) {
1470
+ font-size: $rte-toolbar-icon-size;
1471
+ }
1472
+ }
1473
+
1474
+ .e-background-color.e-icons::before {
1475
+ display: inline;
1476
+ }
1477
+
1478
+ .e-rte-fontcolor-dropdown .e-btn-icon.e-caret,
1479
+ .e-rte-backgroundcolor-dropdown .e-btn-icon.e-caret,
1480
+ .e-rte-numberformatlist-dropdown .e-btn-icon.e-caret,
1481
+ .e-rte-bulletformatlist-dropdown .e-btn-icon.e-caret {
1482
+ font-size: 10px;
1483
+ }
1484
+ &.e-rte-toolbar.e-toolbar {
1485
+ box-sizing: border-box;
1486
+ }
1487
+ }
1488
+
1489
+ .e-rte-dropdown-btn.e-tbar-btn {
1490
+ line-height: $rte-quick-drop-btn-line-height;
1491
+ margin: $rte-quick-drop-btn-margin;
1492
+ padding: $rte-quick-drop-btn-padding;
1493
+
1494
+ .e-rte-dropdown-btn-text {
1495
+ font-weight: 500;
1496
+ overflow: hidden;
1497
+ text-overflow: ellipsis;
1498
+ white-space: nowrap;
1499
+ }
1500
+
1501
+ .e-order-list.e-icons,
1502
+ .e-unorder-list.e-icons,
1503
+ .e-icons:not(.e-caret) {
1504
+ font-size: 14px;
1505
+ }
1506
+
1507
+ .e-caret {
1508
+ font-size: $rte-quick-drop-btn-caret-font-size;
1509
+ width: 12px;
1510
+ }
1511
+ }
1512
+
1513
+ &.e-hide {
1514
+ display: block;
1515
+ visibility: hidden;
1516
+ }
1517
+ }
1518
+
1519
+ .e-rte-quick-popup.e-rte-inline-popup {
1520
+ .e-rte-quick-toolbar {
1521
+ .e-toolbar-item {
1522
+ &.e-rte-inline-template {
1523
+ min-width: $rte-inline-tmp-min-width;
1524
+ }
1525
+
1526
+ &.e-rte-inline-size-template {
1527
+ min-width: $rte-inline-tmp-size-min-width;
1528
+ }
1529
+
1530
+ &.e-rte-inline-color-template {
1531
+ min-width: $rte-inline-tmp-color-min-width;
1532
+ }
1533
+ }
1534
+ }
1535
+ }
1536
+
1537
+ .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item {
1538
+ button.e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1539
+ button.e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1540
+ button.e-rte-numberformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1541
+ button.e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1542
+ @if $skin-name == 'FluentUI' {
1543
+ .e-btn-icon.e-icons.e-caret {
1544
+ padding-top: 0;
1545
+ }
1546
+ }
1547
+ }
1548
+ }
1549
+
1550
+ .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item,
1551
+ .e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item,
1552
+ .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item,
1553
+ .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item {
1554
+
1555
+ .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1556
+ .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1557
+ .e-rte-numberformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1558
+ .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
1559
+ display: flex;
1560
+ padding-left: $rte-colorpicker-parent-padding;
1561
+ padding-right: $rte-colorpicker-parent-padding;
1562
+ @if $skin-name == 'FluentUI' {
1563
+ padding-top: $rte-colorpicker-parent-padding-top;
1564
+ }
1565
+
1566
+ &:hover,
1567
+ &:active,
1568
+ &.e-active,
1569
+ &.e-active:hover {
1570
+ padding-left: $rte-colorpicker-parent-padding-hover;
1571
+ padding-right: $rte-colorpicker-parent-padding-hover;
1572
+ @if $skin-name == 'FluentUI' {
1573
+ padding-top: $rte-colorpicker-parent-padding-hover-top;
1574
+ }
1575
+ }
1576
+
1577
+ .e-rte-color-content,
1578
+ .e-rte-list-primary-content {
1579
+ position: relative;
1580
+ vertical-align: middle;
1581
+ width: $rte-font-icon-width;
1582
+ }
1583
+
1584
+ .e-rte-color-content {
1585
+ .e-rte-elements {
1586
+ border-bottom-style: solid;
1587
+ border-bottom-width: 3px;
1588
+ padding-bottom: 1px;
1589
+ }
1590
+ }
1591
+
1592
+ .e-rte-list-primary-content .e-order-list,
1593
+ &.e-active .e-rte-list-primary-content .e-order-list,
1594
+ .e-rte-list-primary-content .e-unorder-list,
1595
+ &.e-active .e-rte-list-primary-content .e-unorder-list {
1596
+ line-height: $rte-split-btn-active-color-icon-line-height;
1597
+ }
1598
+
1599
+ .e-rte-color-content::after {
1600
+ content: '';
1601
+ height: 100%;
1602
+ position: absolute;
1603
+ right: 0;
1604
+ width: $rte-split-btn-bar-size;
1605
+ }
1606
+
1607
+ .e-icons.e-btn-icon {
1608
+ display: flex;
1609
+ flex-direction: $rte-list-btn-flex;
1610
+ justify-content: center;
1611
+ line-height: $rte-list-btn-line-height;
1612
+ min-width: $rte-font-arrow-width;
1613
+ text-align: center;
1614
+ width: $rte-font-arrow-width;
1615
+ }
1616
+
1617
+ @if $skin-name == 'bootstrap5' {
1618
+
1619
+ .e-icons.e-btn-icon.e-caret:not(.e-toolbar-pop) {
1620
+ padding-left: 0;
1621
+ padding-right: 0;
1622
+ }
1623
+ }
1624
+ }
1625
+
1626
+ .e-dropdown-btn.e-tbar-btn .e-icons.e-btn-icon.e-caret {
1627
+ font-size: $rte-dropdown-caret-icon-size;
1628
+
1629
+ @if $skin-name == 'bootstrap5' {
1630
+ &:not(.e-toolbar-pop) {
1631
+ font-size: 12px;
1632
+ }
1633
+ }
1634
+ }
1635
+ @if $skin-name == 'bootstrap5' {
1636
+ .e-dropdown-btn.e-alignment-tbar-btn .e-btn-icon.e-caret {
1637
+ min-width: $rte-align-caret-icon-min-width;
1638
+ }
1639
+ }
1640
+
1641
+ @if $skin-name == 'FluentUI' {
1642
+ .e-dropdown-btn:focus,
1643
+ .e-dropdown-btn.e-btn:focus {
1644
+ box-shadow: none;
1645
+ }
1646
+ }
1647
+ }
1648
+
1649
+ .e-rte-inline-dropdown .e-rte-color-content .e-rte-elements {
1650
+ border-bottom-style: solid;
1651
+ border-bottom-width: 3px;
1652
+ line-height: $rte-font-icon-line-height;
1653
+ padding-bottom: 1px;
1654
+ }
1655
+
1656
+ .e-popup-modal.e-popup.e-popup-open {
1657
+ display: inline-flex;
1658
+ }
1659
+
1660
+ .e-rte-modal-popup.e-popup-container.e-center {
1661
+ justify-content: center;
1662
+ }
1663
+
1664
+ .e-rte-modal-popup.e-popup-container {
1665
+ align-items: center;
1666
+ display: none;
1667
+ height: 100%;
1668
+ left: 0;
1669
+ position: fixed;
1670
+ top: 0;
1671
+ width: 100%;
1672
+ z-index: 10000;
1673
+ }
1674
+
1675
+ .e-popup-overlay {
1676
+ height: 100%;
1677
+ left: 0;
1678
+ opacity: .5;
1679
+ position: absolute;
1680
+ top: 0;
1681
+ width: 100%;
1682
+ }
1683
+
1684
+ .e-table-rhelper {
1685
+ cursor: col-resize;
1686
+ opacity: .87;
1687
+ position: absolute;
1688
+ }
1689
+
1690
+ .e-table-rhelper.e-column-helper {
1691
+ width: 1px;
1692
+ }
1693
+
1694
+ .e-table-rhelper.e-row-helper {
1695
+ height: 1px;
1696
+ }
1697
+
1698
+ .e-reicon::before {
1699
+ border-bottom: 6px solid transparent;
1700
+ border-right: 6px solid;
1701
+ border-top: 6px solid transparent;
1702
+ content: '';
1703
+ display: block;
1704
+ height: 0;
1705
+ position: absolute;
1706
+ right: 4px;
1707
+ top: 4px;
1708
+ width: 20px;
1709
+ }
1710
+
1711
+ .e-reicon::after {
1712
+ border-bottom: 6px solid transparent;
1713
+ border-left: 6px solid;
1714
+ border-top: 6px solid transparent;
1715
+ content: '';
1716
+ display: block;
1717
+ height: 0;
1718
+ left: 4px;
1719
+ position: absolute;
1720
+ top: 4px;
1721
+ width: 20px;
1722
+ z-index: 3;
1723
+ }
1724
+
1725
+ .e-row-helper.e-reicon::after {
1726
+ top: 10px;
1727
+ transform: rotate(90deg);
1728
+ }
1729
+
1730
+ .e-row-helper.e-reicon::before {
1731
+ left: 4px;
1732
+ top: -20px;
1733
+ transform: rotate(90deg);
1734
+ }
1735
+
1736
+ .e-rte-overflow {
1737
+ overflow: hidden;
1738
+ }
1739
+
1740
+ .e-dialog.e-rte-dialog-minheight {
1741
+ min-height: 296px;
1742
+ @if $skin-name == 'FluentUI' or $skin-name =='fluent2' {
1743
+ min-height: 308px;
1744
+ }
1745
+ }
1746
+
1747
+ .e-content-placeholder.e-richtexteditor.e-placeholder-richtexteditor {
1748
+ background-size: 700px 190px;
1749
+ min-height: 190px;
1750
+ }
1751
+
1752
+ .e-rte-table.e-rte-table-border {
1753
+ border: 1px solid $rte-table-border-color;
1754
+ border-collapse: separate;
1755
+ }
1756
+
1757
+ .e-rte-img-dialog.e-dialog.e-device.e-dlg-modal,
1758
+ .e-rte-audio-dialog.e-dialog.e-device.e-dlg-modal,
1759
+ .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal {
1760
+ .e-img-uploadwrap.e-droparea,
1761
+ .e-aud-uploadwrap.e-droparea,
1762
+ .e-vid-uploadwrap.e-droparea {
1763
+ line-height: 10;
1764
+ min-height: 50px;
1765
+ position: relative;
1766
+
1767
+ .e-browsebtn {
1768
+ display: block;
1769
+ height: 36px;
1770
+ margin: 0 auto 10px;
1771
+ padding: 0 18px;
1772
+ position: relative;
1773
+ top: -50px;
1774
+ @if $skin-name == 'FluentUI' {
1775
+ outline: none;
1776
+ }
1777
+ }
1778
+
1779
+ .e-upload {
1780
+ border: 0 solid transparent;
1781
+ float: none;
1782
+ }
1783
+
1784
+ .e-file-select-wrap {
1785
+ display: none;
1786
+ }
1787
+ }
1788
+
1789
+ .e-linkheader {
1790
+ font-family: $rte-font-family;
1791
+ font-size: $rte-big-insert-dialog-font-size;
1792
+ opacity: .87;
1793
+ padding-bottom: $rte-insert-dialog-label-padding-bottom;
1794
+ padding-top: $rte-insert-dialog-label-padding-top;
1795
+ }
1796
+ }
1797
+
1798
+ .e-rte-file-manager-dialog {
1799
+
1800
+ .e-rte-label {
1801
+ padding-bottom: 8px;
1802
+ padding-top: 15px;
1803
+
1804
+ label {
1805
+ font-size: 15px;
1806
+ opacity: .87;
1807
+ }
1808
+ }
1809
+ }
1810
+
1811
+ .e-dialog .e-img-uploadwrap .e-droptext,
1812
+ .e-dialog .e-aud-uploadwrap .e-droptext,
1813
+ .e-dialog .e-vid-uploadwrap .e-droptext,
1814
+ .e-dialog.e-device .e-vid-uploadwrap .e-droptext {
1815
+ border: dashed 2px $rte-upload-drag-border-clr;
1816
+ border-radius: 4px;
1817
+ color: $rte-drop-text-clr;
1818
+ font-family: $rte-font-family;
1819
+ font-size: 14px;
1820
+ height: $rte-drop-text-height;
1821
+ margin: 0 auto;
1822
+ text-align: center;
1823
+ width: auto;
1824
+ display: flex;
1825
+ flex-direction: column;
1826
+ justify-content: center;
1827
+ align-items: center;
1828
+ }
1829
+
1830
+ .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap .e-droptext,
1831
+ .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap .e-droptext,
1832
+ .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap .e-droptext {
1833
+ margin: 0 auto;
1834
+ width: $rte-drop-text-mobile-width;
1835
+ }
1836
+ .e-dialog.e-device .e-video-url-wrap .e-radio-wrapper {
1837
+ padding: 8px 4px;
1838
+ }
1839
+
1840
+ .e-rte-text-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn,
1841
+ .e-rte-inline-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn {
1842
+ .e-rte-dropdown-btn-text,
1843
+ .e-background-color,
1844
+ .e-rte-font-color {
1845
+ @if $skin-name =='FluentUI' or $skin-name =='tailwind' {
1846
+ font-size: 16px;
1847
+ }
1848
+ @else {
1849
+ font-size: 14px;
1850
+ }
1851
+ }
1852
+ }
1853
+
1854
+ // Blazor styles start
1855
+ .e-rte-upload-popup.e-dialog .e-file-select-wrap {
1856
+ display: none;
1857
+ }
1858
+
1859
+ .e-rte-upload-popup.e-dialog .e-dlg-content {
1860
+ overflow: hidden;
1861
+ padding: 0;
1862
+ }
1863
+
1864
+ .e-hide.e-rte-quick-popup-hide {
1865
+ border: 0;
1866
+ position: absolute;
1867
+ }
1868
+
1869
+ .e-rte-popup-hide {
1870
+ display: none;
1871
+ }
1872
+
1873
+ .e-rte-hide-visible {
1874
+ visibility: hidden;
1875
+ }
1876
+
1877
+ .e-rte-table-popup.e-dialog .e-dlg-content {
1878
+ padding: 0;
1879
+ @if $skin-name == 'FluentUI' {
1880
+ margin-bottom: 0;
1881
+ }
1882
+ }
1883
+
1884
+ @if $skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'FluentUI' {
1885
+ .e-rte-quick-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control,
1886
+ .e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:hover,
1887
+ .e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:active,
1888
+ .e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active {
1889
+ padding-left: 0;
1890
+ padding-right: 0;
1891
+ }
1892
+ }
1893
+
1894
+ .e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell,
1895
+ .e-rte-elements.e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
1896
+ @if $skin-name == 'fluent2' {
1897
+ margin: 0;
1898
+ }
1899
+ @else {
1900
+ margin: 1px;
1901
+ }
1902
+ }
1903
+
1904
+ .e-rte-elements{
1905
+ .e-rte-table-popup.e-popup-open{
1906
+ .e-rte-table-row {
1907
+ height: 16px;
1908
+ }
1909
+ .e-insert-table-btn {
1910
+ @if $skin-name == 'FluentUI' {
1911
+ margin-top: $rte-table-popup-btn-margin-top;
1912
+ }
1913
+ width: 100%;
1914
+ }
1915
+ .e-rte-tablecell {
1916
+ border: $rte-table-span-border;
1917
+ display: inline-block;
1918
+ height: 14px;
1919
+ margin: 1px;
1920
+ overflow: hidden;
1921
+ vertical-align: top;
1922
+ width: 14px;
1923
+ }
1924
+ }
1925
+ .e-rte-table-popup.e-popup.e-popup-open {
1926
+ border-radius: $rte-table-popup-bdr-radius;
1927
+ box-shadow: $rte-table-popup-box;
1928
+ font-size: 14px;
1929
+ font-weight: normal;
1930
+ min-width: 120px;
1931
+ overflow: hidden;
1932
+ padding: $rte-table-popup-padding;
1933
+ }
1934
+ &.e-dropdown-popup.e-popup.e-font-size-tbar-btn.e-popup-open {
1935
+ width: 95px;
1936
+ }
1937
+ }
1938
+
1939
+ .e-rte-elements.e-dialog {
1940
+ .e-img-uploadwrap.e-droparea .e-rte-upload-text,
1941
+ .e-aud-uploadwrap.e-droparea .e-rte-upload-text,
1942
+ .e-vid-uploadwrap.e-droparea .e-rte-upload-text {
1943
+ display: inline-block;
1944
+ line-height: normal;
1945
+ }
1946
+ .e-img-uploadwrap.e-droparea,
1947
+ .e-aud-uploadwrap.e-droparea,
1948
+ .e-vid-uploadwrap.e-droparea {
1949
+ line-height: $rte-droparea-line-height;
1950
+ min-height: 50px;
1951
+ position: relative;
1952
+ }
1953
+ .e-img-uploadwrap.e-droparea .e-browsebtn,
1954
+ .e-aud-uploadwrap.e-droparea .e-browsebtn,
1955
+ .e-vid-uploadwrap.e-droparea .e-browsebtn {
1956
+ display: block;
1957
+ height: $rte-droparea-browsebtn-height;
1958
+ margin: 0 auto 10px;
1959
+ padding: $rte-droparea-browsebtn-padding;
1960
+ position: relative;
1961
+ @if $skin-name == 'FluentUI' {
1962
+ outline: none;
1963
+ }
1964
+ }
1965
+ }
1966
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-fontcolor-dropdown,
1967
+ .e-transparent.e-rte-elements.e-tbar-btn.e-rte-backgroundcolor-dropdown {
1968
+ visibility: hidden;
1969
+ }
1970
+ // Blazor styles end
1971
+
1972
+ .e-richtexteditor {
1973
+ .e-toolbar-wrapper.e-rte-tb-float,
1974
+ .e-toolbar-container.e-rte-tb-float {
1975
+ position: sticky;
1976
+ top: 0;
1977
+ overflow: visible;
1978
+ }
1979
+ .e-toolbar-wrapper,
1980
+ .e-toolbar-container {
1981
+ height: auto;
1982
+ z-index: 10;
1983
+ white-space: nowrap;
1984
+ }
1985
+ .e-toolbar .e-toolbar-pop.e-toolbar-extended {
1986
+ position: relative;
1987
+ width: 100%;
1988
+ top: 0 !important; /* stylelint-disable-line declaration-no-important */
1989
+ left: 0 !important; /* stylelint-disable-line declaration-no-important */
1990
+ }
1991
+ .e-toolbar .e-toolbar-pop.e-toolbar-extended.e-popup-open {
1992
+ display: block;
1993
+ }
1994
+ }
1995
+ // Used to hide the Color picker during the rendering at the initial stage. Removed the class in the created event.
1996
+ .e-rte-picker-init {
1997
+ display: none !important; /* stylelint-disable-line declaration-no-important */
1998
+ }
1999
+
2000
+ @if $skin-name == 'tailwind' {
2001
+ .e-rte-table-popup.e-popup.e-popup-open {
2002
+ box-shadow: $rte-table-popup-box;
2003
+ }
2004
+ .e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
2005
+ min-width: 24px;
2006
+ }
2007
+ .e-richtexteditor .e-toolbar .e-hor-nav{
2008
+ min-height: 39px;
2009
+ }
2010
+
2011
+ .e-richtexteditor {
2012
+ .e-toolbar.e-extended-toolbar .e-toolbar-extended {
2013
+ .e-toolbar-item.e-active .e-tbar-btn {
2014
+ border: $rte-tb-item-active-border;
2015
+ }
2016
+ }
2017
+ }
2018
+ }
2019
+
2020
+ @if $skin-name == 'fabric-dark' {
2021
+ .e-richtexteditor {
2022
+ .e-toolbar .e-hor-nav{
2023
+ min-height: 42px;
2024
+ }
2025
+ }
2026
+ }
2027
+
2028
+ @if $skin-name == 'bootstrap-dark'{
2029
+ .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover{
2030
+ border: 1px solid $grey-white;
2031
+ }
2032
+
2033
+ .e-richtexteditor .e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn{
2034
+ border: 1px solid transparent;
2035
+ }
2036
+ }
2037
+
2038
+ @if $skin-name == 'bootstrap5' {
2039
+ .e-rte-elements.e-rte-quick-popup .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
2040
+ min-width: 24px;
2041
+ }
2042
+
2043
+ .e-richtexteditor .e-toolbar .e-insert-table-btn.e-btn .e-icons {
2044
+ padding-bottom: 0;
2045
+ }
2046
+ }
2047
+
2048
+ @if $skin-name == 'Material3' {
2049
+ .e-richtexteditor .e-rte-table-popup .e-insert-table-btn {
2050
+ font-weight: $font-weight;
2051
+ border: 1px solid rgba($info-outline-border);
2052
+ border-radius: 20px;
2053
+ }
2054
+ .e-dialog .e-dlg-header-content + .e-dlg-content{
2055
+ padding-top: 0;
2056
+ }
2057
+ .e-rte-link-dialog .e-dlg-content{
2058
+ padding: 7px 20px;
2059
+ }
2060
+ .e-toolbar-wrapper .e-toolbar .e-toolbar-item:not(.e-separator) {
2061
+ padding: 8px 4px;
2062
+ }
2063
+ .e-rte-quick-popup .e-rte-toolbar.e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:first-child,
2064
+ .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:last-child {
2065
+ margin: 0;
2066
+ }
2067
+ .e-rte-text-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn,
2068
+ .e-rte-inline-popup .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn {
2069
+ .e-rte-dropdown-btn-text,
2070
+ .e-background-color,
2071
+ .e-rte-font-color {
2072
+ font-size: 16px;
2073
+ }
2074
+ }
2075
+ .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-dropdown-btn {
2076
+ .e-background-color,
2077
+ .e-rte-font-color{
2078
+ font-size: 16px;
2079
+ }
2080
+ }
2081
+ }
2082
+
2083
+ @if $skin-name == 'fluent2' {
2084
+ .e-richtexteditor {
2085
+ .e-toolbar {
2086
+ border: 0;
2087
+ }
2088
+ .e-toolbar .e-hor-nav{
2089
+ min-height: 40px;
2090
+ }
2091
+ .e-toolbar .e-toolbar-pop {
2092
+ border: 0;
2093
+ }
2094
+ .e-dialog {
2095
+ .e-radio + label {
2096
+ margin: 0;
2097
+ }
2098
+ }
2099
+ }
2100
+ .e-rte-elements .e-toolbar .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon {
2101
+ min-width: 16px;
2102
+ }
2103
+ .e-rte-container{
2104
+ border-radius: 4px;
2105
+ }
2106
+ .e-richtexteditor{
2107
+ border-radius: 4px;
2108
+ .e-toolbar {
2109
+ border-radius: 4px 4px 0 0;
2110
+ }
2111
+ .e-toolbar .e-toolbar-items {
2112
+ border-radius: 4px 4px 0 0;
2113
+ }
2114
+ .e-toolbar .e-hor-nav {
2115
+ border-radius: 0 4px 0 0;
2116
+ }
2117
+ .e-rte-content {
2118
+ border-radius: 0 0 4px 4px;
2119
+ }
2120
+ }
2121
+ .e-richtexteditor .e-toolbar-wrapper{
2122
+ border-radius: 4px 4px 0 0;
2123
+ }
2124
+ }
2125
+
2126
+ /* Slash Menu Styles */
2127
+ .e-rte-elements.e-slash-menu {
2128
+ .e-rte-quotes::before {
2129
+ content: open-quote;
2130
+ font-size: 30px;
2131
+ line-height: 20px;
2132
+ }
2133
+
2134
+ .e-rte-paragraph::before {
2135
+ content: 'T';
2136
+ font-size: 15px;
2137
+ }
2138
+
2139
+ .e-rte-h1::before {
2140
+ content: 'H1';
2141
+ font-size: 13px;
2142
+ }
2143
+
2144
+ .e-rte-h2::before {
2145
+ content: 'H2';
2146
+ font-size: 13px;
2147
+ }
2148
+
2149
+ .e-rte-h3::before {
2150
+ content: 'H3';
2151
+ font-size: 13px;
2152
+ }
2153
+
2154
+ .e-rte-h4::before {
2155
+ content: 'H4';
2156
+ font-size: 13px;
2157
+ }
2158
+
2159
+ .e-rte-slash-menu-item-text {
2160
+ font-size: 14px;
2161
+ display: block;
2162
+ line-height: 20px;
2163
+ padding: 5px 0 1px;
2164
+ }
2165
+
2166
+ .e-rte-slash-menu-item-description {
2167
+ display: block;
2168
+ line-height: 20px;
2169
+ font-size: 11px;
2170
+ padding: 1px 0 5px;
2171
+ }
2172
+
2173
+ .e-slash-menu-icon {
2174
+ line-height: 0;
2175
+ display: inline-block;
2176
+ width: 50px;
2177
+ font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
2178
+ }
2179
+ }
2180
+ }