@syncfusion/ej2-richtexteditor 29.2.4-771571 → 29.2.4-803054

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 (316) hide show
  1. package/dist/ej2-richtexteditor.umd.min.js +1 -1
  2. package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
  3. package/dist/es6/ej2-richtexteditor.es2015.js +140 -18
  4. package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
  5. package/dist/es6/ej2-richtexteditor.es5.js +162 -35
  6. package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/editor-manager/plugin/clearformat.js +53 -22
  9. package/src/rich-text-editor/actions/enter-key.js +25 -9
  10. package/src/rich-text-editor/actions/paste-clean-up.d.ts +4 -0
  11. package/src/rich-text-editor/actions/paste-clean-up.js +79 -2
  12. package/src/rich-text-editor/base/rich-text-editor.js +4 -3
  13. package/src/rich-text-editor/models/toolbar-settings-model.d.ts +7 -0
  14. package/src/rich-text-editor/models/toolbar-settings.d.ts +6 -0
  15. package/src/rich-text-editor/models/toolbar-settings.js +3 -0
  16. package/styles/_all.bds.scss +1 -0
  17. package/styles/_all.bootstrap-dark.scss +1 -0
  18. package/styles/_all.bootstrap.scss +1 -0
  19. package/styles/_all.bootstrap4.scss +1 -0
  20. package/styles/_all.bootstrap5-dark.scss +1 -0
  21. package/styles/_all.bootstrap5.3.scss +1 -0
  22. package/styles/_all.bootstrap5.scss +1 -0
  23. package/styles/_all.fabric-dark.scss +1 -0
  24. package/styles/_all.fabric.scss +1 -0
  25. package/styles/_all.fluent-dark.scss +1 -0
  26. package/styles/_all.fluent.scss +1 -0
  27. package/styles/_all.fluent2.scss +1 -0
  28. package/styles/_all.highcontrast-light.scss +1 -0
  29. package/styles/_all.highcontrast.scss +1 -0
  30. package/styles/_all.material-dark.scss +1 -0
  31. package/styles/_all.material.scss +1 -0
  32. package/styles/_all.material3-dark.scss +1 -0
  33. package/styles/_all.material3.scss +1 -0
  34. package/styles/_all.scss +1 -1
  35. package/styles/_all.tailwind-dark.scss +1 -0
  36. package/styles/_all.tailwind.scss +1 -0
  37. package/styles/_all.tailwind3.scss +1 -0
  38. package/styles/bds-lite.css +239 -89
  39. package/styles/bds-lite.scss +3 -4
  40. package/styles/bds.css +347 -98
  41. package/styles/bds.scss +4 -5
  42. package/styles/bootstrap-dark-lite.css +206 -86
  43. package/styles/bootstrap-dark-lite.scss +3 -4
  44. package/styles/bootstrap-dark.css +299 -95
  45. package/styles/bootstrap-dark.scss +4 -5
  46. package/styles/bootstrap-lite.css +384 -86
  47. package/styles/bootstrap-lite.scss +3 -4
  48. package/styles/bootstrap.css +566 -95
  49. package/styles/bootstrap.scss +4 -5
  50. package/styles/bootstrap4-lite.css +565 -93
  51. package/styles/bootstrap4-lite.scss +3 -4
  52. package/styles/bootstrap4.css +850 -115
  53. package/styles/bootstrap4.scss +4 -5
  54. package/styles/bootstrap5-dark-lite.css +193 -87
  55. package/styles/bootstrap5-dark-lite.scss +3 -4
  56. package/styles/bootstrap5-dark.css +279 -96
  57. package/styles/bootstrap5-dark.scss +4 -5
  58. package/styles/bootstrap5-lite.css +187 -87
  59. package/styles/bootstrap5-lite.scss +4 -4
  60. package/styles/bootstrap5.3-lite.css +456 -108
  61. package/styles/bootstrap5.3-lite.scss +4 -4
  62. package/styles/bootstrap5.3.css +627 -118
  63. package/styles/bootstrap5.3.scss +5 -5
  64. package/styles/bootstrap5.css +273 -96
  65. package/styles/bootstrap5.scss +5 -5
  66. package/styles/fabric-dark-lite.css +193 -87
  67. package/styles/fabric-dark-lite.scss +4 -4
  68. package/styles/fabric-dark.css +279 -96
  69. package/styles/fabric-dark.scss +5 -5
  70. package/styles/fabric-lite.css +193 -87
  71. package/styles/fabric-lite.scss +4 -4
  72. package/styles/fabric.css +279 -96
  73. package/styles/fabric.scss +5 -5
  74. package/styles/fluent-dark-lite.css +195 -98
  75. package/styles/fluent-dark-lite.scss +4 -4
  76. package/styles/fluent-dark.css +281 -107
  77. package/styles/fluent-dark.scss +5 -5
  78. package/styles/fluent-lite.css +195 -89
  79. package/styles/fluent-lite.scss +4 -4
  80. package/styles/fluent.css +281 -98
  81. package/styles/fluent.scss +5 -5
  82. package/styles/fluent2-lite.css +519 -114
  83. package/styles/fluent2-lite.scss +4 -4
  84. package/styles/fluent2.css +703 -126
  85. package/styles/fluent2.scss +5 -5
  86. package/styles/highcontrast-light-lite.css +193 -87
  87. package/styles/highcontrast-light-lite.scss +4 -4
  88. package/styles/highcontrast-light.css +279 -96
  89. package/styles/highcontrast-light.scss +5 -5
  90. package/styles/highcontrast-lite.css +193 -87
  91. package/styles/highcontrast-lite.scss +4 -4
  92. package/styles/highcontrast.css +279 -96
  93. package/styles/highcontrast.scss +5 -5
  94. package/styles/material-dark-lite.css +192 -86
  95. package/styles/material-dark-lite.scss +4 -4
  96. package/styles/material-dark.css +278 -95
  97. package/styles/material-dark.scss +5 -5
  98. package/styles/material-lite.css +192 -86
  99. package/styles/material-lite.scss +3 -4
  100. package/styles/material.css +278 -95
  101. package/styles/material.scss +4 -5
  102. package/styles/material3-dark-lite.css +539 -105
  103. package/styles/material3-dark-lite.scss +4 -4
  104. package/styles/material3-dark.css +723 -130
  105. package/styles/material3-dark.scss +5 -7
  106. package/styles/material3-lite.css +459 -105
  107. package/styles/material3-lite.scss +4 -4
  108. package/styles/material3.css +645 -130
  109. package/styles/material3.scss +5 -7
  110. package/styles/rich-text-editor/_all.bds.scss +2 -0
  111. package/styles/rich-text-editor/_all.bootstrap-dark.scss +2 -0
  112. package/styles/rich-text-editor/_all.bootstrap.scss +2 -0
  113. package/styles/rich-text-editor/_all.bootstrap4.scss +2 -0
  114. package/styles/rich-text-editor/_all.bootstrap5-dark.scss +2 -0
  115. package/styles/rich-text-editor/_all.bootstrap5.3.scss +2 -0
  116. package/styles/rich-text-editor/_all.bootstrap5.scss +2 -0
  117. package/styles/rich-text-editor/_all.fabric-dark.scss +2 -0
  118. package/styles/rich-text-editor/_all.fabric.scss +2 -0
  119. package/styles/rich-text-editor/_all.fluent-dark.scss +2 -0
  120. package/styles/rich-text-editor/_all.fluent.scss +2 -0
  121. package/styles/rich-text-editor/_all.fluent2.scss +2 -0
  122. package/styles/rich-text-editor/_all.highcontrast-light.scss +2 -0
  123. package/styles/rich-text-editor/_all.highcontrast.scss +2 -0
  124. package/styles/rich-text-editor/_all.material-dark.scss +2 -0
  125. package/styles/rich-text-editor/_all.material.scss +2 -0
  126. package/styles/rich-text-editor/_all.material3-dark.scss +2 -0
  127. package/styles/rich-text-editor/_all.material3.scss +2 -0
  128. package/styles/rich-text-editor/_all.scss +2 -2
  129. package/styles/rich-text-editor/_all.tailwind-dark.scss +2 -0
  130. package/styles/rich-text-editor/_all.tailwind.scss +2 -0
  131. package/styles/rich-text-editor/_all.tailwind3.scss +2 -0
  132. package/styles/rich-text-editor/_bds-definition.scss +468 -27
  133. package/styles/rich-text-editor/_bigger.bds.scss +3 -0
  134. package/styles/rich-text-editor/_bigger.bootstrap-dark.scss +3 -0
  135. package/styles/rich-text-editor/_bigger.bootstrap.scss +3 -0
  136. package/styles/rich-text-editor/_bigger.bootstrap4.scss +3 -0
  137. package/styles/rich-text-editor/_bigger.bootstrap5-dark.scss +3 -0
  138. package/styles/rich-text-editor/_bigger.bootstrap5.3.scss +3 -0
  139. package/styles/rich-text-editor/_bigger.bootstrap5.scss +3 -0
  140. package/styles/rich-text-editor/_bigger.fabric-dark.scss +3 -0
  141. package/styles/rich-text-editor/_bigger.fabric.scss +3 -0
  142. package/styles/rich-text-editor/_bigger.fluent-dark.scss +3 -0
  143. package/styles/rich-text-editor/_bigger.fluent.scss +3 -0
  144. package/styles/rich-text-editor/_bigger.fluent2.scss +3 -0
  145. package/styles/rich-text-editor/_bigger.highcontrast-light.scss +3 -0
  146. package/styles/rich-text-editor/_bigger.highcontrast.scss +3 -0
  147. package/styles/rich-text-editor/_bigger.material-dark.scss +3 -0
  148. package/styles/rich-text-editor/_bigger.material.scss +3 -0
  149. package/styles/rich-text-editor/_bigger.material3-dark.scss +3 -0
  150. package/styles/rich-text-editor/_bigger.material3.scss +3 -0
  151. package/styles/rich-text-editor/_bigger.scss +152 -57
  152. package/styles/rich-text-editor/_bigger.tailwind-dark.scss +3 -0
  153. package/styles/rich-text-editor/_bigger.tailwind.scss +3 -0
  154. package/styles/rich-text-editor/_bigger.tailwind3.scss +3 -0
  155. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +467 -26
  156. package/styles/rich-text-editor/_bootstrap-definition.scss +467 -26
  157. package/styles/rich-text-editor/_bootstrap4-definition.scss +473 -33
  158. package/styles/rich-text-editor/_bootstrap5-dark-definition.scss +709 -1
  159. package/styles/rich-text-editor/_bootstrap5-definition.scss +467 -27
  160. package/styles/rich-text-editor/_bootstrap5.3-definition.scss +469 -29
  161. package/styles/rich-text-editor/_fabric-dark-definition.scss +467 -27
  162. package/styles/rich-text-editor/_fabric-definition.scss +466 -27
  163. package/styles/rich-text-editor/_fluent-dark-definition.scss +710 -1
  164. package/styles/rich-text-editor/_fluent-definition.scss +470 -27
  165. package/styles/rich-text-editor/_fluent2-definition.scss +478 -33
  166. package/styles/rich-text-editor/_fusionnew-definition.scss +464 -26
  167. package/styles/rich-text-editor/_highcontrast-definition.scss +466 -26
  168. package/styles/rich-text-editor/_highcontrast-light-definition.scss +466 -26
  169. package/styles/rich-text-editor/_layout.bds.scss +3 -0
  170. package/styles/rich-text-editor/_layout.bootstrap-dark.scss +3 -0
  171. package/styles/rich-text-editor/_layout.bootstrap.scss +3 -0
  172. package/styles/rich-text-editor/_layout.bootstrap4.scss +3 -0
  173. package/styles/rich-text-editor/_layout.bootstrap5-dark.scss +3 -0
  174. package/styles/rich-text-editor/_layout.bootstrap5.3.scss +3 -0
  175. package/styles/rich-text-editor/_layout.bootstrap5.scss +3 -0
  176. package/styles/rich-text-editor/_layout.fabric-dark.scss +3 -0
  177. package/styles/rich-text-editor/_layout.fabric.scss +3 -0
  178. package/styles/rich-text-editor/_layout.fluent-dark.scss +3 -0
  179. package/styles/rich-text-editor/_layout.fluent.scss +3 -0
  180. package/styles/rich-text-editor/_layout.fluent2.scss +3 -0
  181. package/styles/rich-text-editor/_layout.highcontrast-light.scss +3 -0
  182. package/styles/rich-text-editor/_layout.highcontrast.scss +3 -0
  183. package/styles/rich-text-editor/_layout.material-dark.scss +3 -0
  184. package/styles/rich-text-editor/_layout.material.scss +3 -0
  185. package/styles/rich-text-editor/_layout.material3-dark.scss +3 -0
  186. package/styles/rich-text-editor/_layout.material3.scss +3 -0
  187. package/styles/rich-text-editor/_layout.scss +448 -353
  188. package/styles/rich-text-editor/_layout.tailwind-dark.scss +3 -0
  189. package/styles/rich-text-editor/_layout.tailwind.scss +3 -0
  190. package/styles/rich-text-editor/_layout.tailwind3.scss +3 -0
  191. package/styles/rich-text-editor/_material-dark-definition.scss +466 -28
  192. package/styles/rich-text-editor/_material-definition.scss +466 -26
  193. package/styles/rich-text-editor/_material3-dark-definition.scss +714 -1
  194. package/styles/rich-text-editor/_material3-definition.scss +473 -30
  195. package/styles/rich-text-editor/_tailwind-dark-definition.scss +706 -1
  196. package/styles/rich-text-editor/_tailwind-definition.scss +468 -28
  197. package/styles/rich-text-editor/_tailwind3-definition.scss +474 -34
  198. package/styles/rich-text-editor/_theme-variables.bds.scss +1 -0
  199. package/styles/rich-text-editor/_theme-variables.bootstrap-dark.scss +1 -0
  200. package/styles/rich-text-editor/_theme-variables.bootstrap.scss +1 -0
  201. package/styles/rich-text-editor/_theme-variables.bootstrap4.scss +1 -0
  202. package/styles/rich-text-editor/_theme-variables.bootstrap5-dark.scss +1 -0
  203. package/styles/rich-text-editor/_theme-variables.bootstrap5.3.scss +1 -0
  204. package/styles/rich-text-editor/_theme-variables.bootstrap5.scss +1 -0
  205. package/styles/rich-text-editor/_theme-variables.fabric-dark.scss +1 -0
  206. package/styles/rich-text-editor/_theme-variables.fabric.scss +1 -0
  207. package/styles/rich-text-editor/_theme-variables.fluent-dark.scss +1 -0
  208. package/styles/rich-text-editor/_theme-variables.fluent.scss +1 -0
  209. package/styles/rich-text-editor/_theme-variables.fluent2.scss +1 -0
  210. package/styles/rich-text-editor/_theme-variables.highcontrast-light.scss +1 -0
  211. package/styles/rich-text-editor/_theme-variables.highcontrast.scss +1 -0
  212. package/styles/rich-text-editor/_theme-variables.material-dark.scss +1 -0
  213. package/styles/rich-text-editor/_theme-variables.material.scss +1 -0
  214. package/styles/rich-text-editor/_theme-variables.material3-dark.scss +1 -0
  215. package/styles/rich-text-editor/_theme-variables.material3.scss +1 -0
  216. package/styles/rich-text-editor/_theme-variables.tailwind-dark.scss +1 -0
  217. package/styles/rich-text-editor/_theme-variables.tailwind.scss +1 -0
  218. package/styles/rich-text-editor/_theme-variables.tailwind3.scss +1 -0
  219. package/styles/rich-text-editor/_theme.bds.scss +4 -0
  220. package/styles/rich-text-editor/_theme.bootstrap-dark.scss +4 -0
  221. package/styles/rich-text-editor/_theme.bootstrap.scss +4 -0
  222. package/styles/rich-text-editor/_theme.bootstrap4.scss +4 -0
  223. package/styles/rich-text-editor/_theme.bootstrap5-dark.scss +4 -0
  224. package/styles/rich-text-editor/_theme.bootstrap5.3.scss +4 -0
  225. package/styles/rich-text-editor/_theme.bootstrap5.scss +4 -0
  226. package/styles/rich-text-editor/_theme.fabric-dark.scss +4 -0
  227. package/styles/rich-text-editor/_theme.fabric.scss +4 -0
  228. package/styles/rich-text-editor/_theme.fluent-dark.scss +4 -0
  229. package/styles/rich-text-editor/_theme.fluent.scss +4 -0
  230. package/styles/rich-text-editor/_theme.fluent2.scss +4 -0
  231. package/styles/rich-text-editor/_theme.highcontrast-light.scss +4 -0
  232. package/styles/rich-text-editor/_theme.highcontrast.scss +4 -0
  233. package/styles/rich-text-editor/_theme.material-dark.scss +4 -0
  234. package/styles/rich-text-editor/_theme.material.scss +4 -0
  235. package/styles/rich-text-editor/_theme.material3-dark.scss +4 -0
  236. package/styles/rich-text-editor/_theme.material3.scss +4 -0
  237. package/styles/rich-text-editor/_theme.scss +65 -36
  238. package/styles/rich-text-editor/_theme.tailwind-dark.scss +4 -0
  239. package/styles/rich-text-editor/_theme.tailwind.scss +4 -0
  240. package/styles/rich-text-editor/_theme.tailwind3.scss +4 -0
  241. package/styles/rich-text-editor/bds.css +347 -98
  242. package/styles/rich-text-editor/bds.scss +5 -5
  243. package/styles/rich-text-editor/bootstrap-dark.css +299 -95
  244. package/styles/rich-text-editor/bootstrap-dark.scss +5 -5
  245. package/styles/rich-text-editor/bootstrap.css +566 -95
  246. package/styles/rich-text-editor/bootstrap.scss +5 -5
  247. package/styles/rich-text-editor/bootstrap4.css +850 -115
  248. package/styles/rich-text-editor/bootstrap4.scss +5 -5
  249. package/styles/rich-text-editor/bootstrap5-dark.css +279 -96
  250. package/styles/rich-text-editor/bootstrap5-dark.scss +5 -5
  251. package/styles/rich-text-editor/bootstrap5.3.css +627 -118
  252. package/styles/rich-text-editor/bootstrap5.3.scss +5 -5
  253. package/styles/rich-text-editor/bootstrap5.css +273 -96
  254. package/styles/rich-text-editor/bootstrap5.scss +5 -5
  255. package/styles/rich-text-editor/fabric-dark.css +279 -96
  256. package/styles/rich-text-editor/fabric-dark.scss +5 -5
  257. package/styles/rich-text-editor/fabric.css +279 -96
  258. package/styles/rich-text-editor/fabric.scss +5 -5
  259. package/styles/rich-text-editor/fluent-dark.css +281 -107
  260. package/styles/rich-text-editor/fluent-dark.scss +5 -5
  261. package/styles/rich-text-editor/fluent.css +281 -98
  262. package/styles/rich-text-editor/fluent.scss +5 -5
  263. package/styles/rich-text-editor/fluent2.css +703 -126
  264. package/styles/rich-text-editor/fluent2.scss +5 -5
  265. package/styles/rich-text-editor/highcontrast-light.css +279 -96
  266. package/styles/rich-text-editor/highcontrast-light.scss +5 -5
  267. package/styles/rich-text-editor/highcontrast.css +279 -96
  268. package/styles/rich-text-editor/highcontrast.scss +5 -5
  269. package/styles/rich-text-editor/icons/_bds.scss +7 -0
  270. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +7 -0
  271. package/styles/rich-text-editor/icons/_bootstrap.scss +7 -0
  272. package/styles/rich-text-editor/icons/_bootstrap4.scss +7 -0
  273. package/styles/rich-text-editor/icons/_bootstrap5-dark.scss +1 -1
  274. package/styles/rich-text-editor/icons/_bootstrap5.3.scss +7 -0
  275. package/styles/rich-text-editor/icons/_bootstrap5.scss +7 -0
  276. package/styles/rich-text-editor/icons/_fabric-dark.scss +7 -0
  277. package/styles/rich-text-editor/icons/_fabric.scss +7 -0
  278. package/styles/rich-text-editor/icons/_fluent-dark.scss +1 -1
  279. package/styles/rich-text-editor/icons/_fluent.scss +6 -0
  280. package/styles/rich-text-editor/icons/_fluent2.scss +7 -0
  281. package/styles/rich-text-editor/icons/_fusionnew.scss +7 -0
  282. package/styles/rich-text-editor/icons/_highcontrast-light.scss +7 -0
  283. package/styles/rich-text-editor/icons/_highcontrast.scss +7 -0
  284. package/styles/rich-text-editor/icons/_material-dark.scss +7 -0
  285. package/styles/rich-text-editor/icons/_material.scss +7 -0
  286. package/styles/rich-text-editor/icons/_material3-dark.scss +1 -1
  287. package/styles/rich-text-editor/icons/_material3.scss +7 -0
  288. package/styles/rich-text-editor/icons/_tailwind-dark.scss +1 -1
  289. package/styles/rich-text-editor/icons/_tailwind.scss +7 -0
  290. package/styles/rich-text-editor/icons/_tailwind3.scss +7 -0
  291. package/styles/rich-text-editor/material-dark.css +278 -95
  292. package/styles/rich-text-editor/material-dark.scss +5 -5
  293. package/styles/rich-text-editor/material.css +278 -95
  294. package/styles/rich-text-editor/material.scss +5 -5
  295. package/styles/rich-text-editor/material3-dark.css +723 -130
  296. package/styles/rich-text-editor/material3-dark.scss +5 -6
  297. package/styles/rich-text-editor/material3.css +645 -130
  298. package/styles/rich-text-editor/material3.scss +5 -6
  299. package/styles/rich-text-editor/tailwind-dark.css +282 -99
  300. package/styles/rich-text-editor/tailwind-dark.scss +5 -5
  301. package/styles/rich-text-editor/tailwind.css +282 -99
  302. package/styles/rich-text-editor/tailwind.scss +5 -5
  303. package/styles/rich-text-editor/tailwind3.css +593 -115
  304. package/styles/rich-text-editor/tailwind3.scss +5 -5
  305. package/styles/tailwind-dark-lite.css +196 -90
  306. package/styles/tailwind-dark-lite.scss +4 -4
  307. package/styles/tailwind-dark.css +282 -99
  308. package/styles/tailwind-dark.scss +5 -5
  309. package/styles/tailwind-lite.css +196 -90
  310. package/styles/tailwind-lite.scss +4 -4
  311. package/styles/tailwind.css +282 -99
  312. package/styles/tailwind.scss +5 -5
  313. package/styles/tailwind3-lite.css +430 -104
  314. package/styles/tailwind3-lite.scss +4 -4
  315. package/styles/tailwind3.css +593 -115
  316. package/styles/tailwind3.scss +5 -5
@@ -1,3 +1,4 @@
1
+ @use 'ej2-base/styles/common/mixin' as *;
1
2
  @include export-module('richtexteditor-layout') {
2
3
 
3
4
  /*! tab layout */
@@ -9,8 +10,8 @@
9
10
  .e-rte-container {
10
11
  display: flex;
11
12
  flex-direction: column;
12
- width: 100%;
13
- height: 100%;
13
+ width: $rte-container-width;
14
+ height: $rte-container-height;
14
15
  content: 'light-theme';
15
16
  @if $theme-name == 'bootstrap-dark' or $theme-name == 'material-dark' or $theme-name == 'fabric-dark' or $theme-name == 'material3-dark' or $theme-name == 'fluent2-dark' or $theme-name == 'fluent2-highcontrast' or $theme-name == 'highcontrast' or $theme-name == 'botstrap5-dark' or $theme-name == 'tailwind-dark' or $theme-name == 'fluentui-dark' or $theme-name == 'tailwind3-dark' {
16
17
  content: 'dark-theme';
@@ -18,7 +19,7 @@
18
19
  &.e-count-enabled,
19
20
  &.e-resize-enabled {
20
21
  .e-content {
21
- padding-bottom: 0;
22
+ padding-bottom: $rte-count-resize-enabled-content-padding-bottom;
22
23
  }
23
24
  }
24
25
 
@@ -35,7 +36,7 @@
35
36
 
36
37
  &.e-rte-tb-bottom {
37
38
  .e-rte-content {
38
- margin-bottom: 0;
39
+ margin-bottom: $rte-tb-bottom-content-margin-bottom;
39
40
  }
40
41
  }
41
42
  }
@@ -54,14 +55,14 @@
54
55
  }
55
56
 
56
57
  & textarea.e-content {
57
- border: 0;
58
+ border: $rte-content-textarea-border;
58
59
  display: block;
59
- height: 100%;
60
- margin: 0;
60
+ height: $rte-content-textarea-height;
61
+ margin: $rte-content-textarea-margin;
61
62
  outline: 0;
62
- padding: 8px;
63
+ padding: $rte-content-textarea-padding;
63
64
  resize: none;
64
- width: 100%;
65
+ width: $rte-content-textarea-width;
65
66
  }
66
67
 
67
68
  & .e-rte-hidden {
@@ -74,13 +75,13 @@
74
75
 
75
76
  &.e-rte-full-screen {
76
77
  bottom: 0;
77
- height: 100% !important; /* stylelint-disable-line declaration-no-important */
78
+ height: $rte-full-screen-height !important; /* stylelint-disable-line declaration-no-important */
78
79
  left: 0;
79
80
  overflow: auto;
80
81
  position: fixed;
81
82
  right: 0;
82
83
  top: 0;
83
- width: 100% !important; /* stylelint-disable-line declaration-no-important */
84
+ width: $rte-full-screen-width !important; /* stylelint-disable-line declaration-no-important */
84
85
  z-index: 999;
85
86
 
86
87
  .e-resize-handle {
@@ -125,15 +126,14 @@
125
126
  }
126
127
 
127
128
  &.e-rtl .e-rte-character-count {
128
- left: 0;
129
- padding-left: 30px;
130
- padding-right: unset;
131
- right: unset;
129
+ margin-right: $rte-character-count-rtl-margin-right;
130
+ padding-left: $rte-character-count-padding-left;
131
+ padding-right: $rte-character-count-padding-right;
132
132
  }
133
133
 
134
134
  &.e-rtl .e-rte-content .e-content blockquote {
135
- padding-left: 0;
136
- padding-right: 12px;
135
+ padding-left: $rte-blockquote-padding-left;
136
+ padding-right: $rte-blockquote-padding-right;
137
137
  }
138
138
 
139
139
  .e-rte-toolbar {
@@ -145,21 +145,22 @@
145
145
  }
146
146
 
147
147
  .e-toolbar-items .e-hscroll-bar .e-hscroll-content .e-toolbar-item:first-child {
148
- margin-left: 0;
148
+ margin-left: $rte-toolbar-item-first-child-margin-left;
149
149
  }
150
150
 
151
151
  .e-hor-nav.e-expended-nav {
152
- height: auto;
152
+ height: $rte-expended-nav-min-height; //used toolbar component nav default min-height
153
+ min-height: $rte-expended-nav-min-height; //used toolbar component nav default min-height
153
154
  }
154
155
  }
155
156
 
156
157
  .e-rte-toolbar.e-rte-tb-mobile .e-toolbar-multirow {
157
158
  display: inline-block;
158
- margin-left: 0;
159
- margin-right: 0;
159
+ margin-left: $rte-toolbar-multirow-margin-left;
160
+ margin-right: $rte-toolbar-multirow-margin-right;
160
161
  overflow-x: auto;
161
162
  white-space: nowrap;
162
- width: 100%;
163
+ width: $rte-toolbar-multirow-width;
163
164
  }
164
165
 
165
166
  .e-rte-toolbar {
@@ -210,7 +211,7 @@
210
211
  line-height: $rte-placeholder-line-height;
211
212
  opacity: .54;
212
213
  overflow: hidden;
213
- padding: 16px;
214
+ padding: $rte-placeholder-padding;
214
215
  position: absolute;
215
216
  text-align: start;
216
217
  top: 0;
@@ -229,25 +230,25 @@
229
230
  .e-rte-iframe-content {
230
231
  overflow: hidden;
231
232
  transition: 100ms ease-out;
232
- width: 100%;
233
+ width: $rte-content-width;
233
234
  font-size: $rte-content-font-size;
234
235
 
235
236
  .e-content {
236
- width: 100%;
237
+ width: $rte-e-content-width;
237
238
  display: block;
238
239
  float: left;
239
240
  background: unset;
240
241
  box-sizing: border-box;
241
- height: 100%;
242
+ height: $rte-content-height;
242
243
  min-height: 100px;
243
244
  outline: 0 solid transparent;
244
- padding: 16px;
245
+ padding: $rte-iframe-content-padding;
245
246
  position: relative;
246
247
  text-align: inherit;
247
248
  z-index: 2;
248
- font-weight: normal; /* normal = 400 */
249
- line-height: 1.5;
250
- font-size: 1em;
249
+ font-weight: $rte-content-font-weight;
250
+ line-height: $rte-content-line-height;
251
+ font-size: $rte-common-content-font-size;
251
252
  /* stylelint-disable property-no-vendor-prefix */
252
253
  -webkit-overflow-scrolling: touch; //iOS devices scrolling smooth
253
254
  // sass-lint:enabled no-vendor-prefixes
@@ -256,8 +257,12 @@
256
257
  }
257
258
 
258
259
  .e-content p {
259
- margin: 0 0 10px;
260
- margin-bottom: 10px;
260
+ margin: $rte-content-p-margin;
261
+ margin-bottom: $rte-content-p-margin-bottom;
262
+ }
263
+
264
+ .e-content blockquote {
265
+ font-size: $rte-common-content-font-size;
261
266
  }
262
267
 
263
268
  .e-content code {
@@ -266,10 +271,10 @@
266
271
  }
267
272
 
268
273
  .e-content hr {
269
- margin: 10px 0;
274
+ margin: $rte-content-hr-margin;
270
275
  border: $rte-hr-border;
271
276
  @if $theme-name == 'Material3-dark' or $theme-name == 'fluent2-dark' or $theme-name == 'fluentui-dark' or $theme-name == 'fluent2-highcontrast' or $theme-name == 'highcontrast' or $theme-name == 'botstrap5-dark' or $theme-name == 'tailwind-dark' {
272
- border: 2px solid rgba(157, 157, 157, .48);
277
+ border: $rte-hr-small-border;
273
278
  }
274
279
  }
275
280
 
@@ -285,9 +290,9 @@
285
290
  top: 2px;
286
291
  box-sizing: content-box;
287
292
  left: -25px;
288
- width: 16px;
289
- height: 16px;
290
- border-radius: 4px;
293
+ width: $rte-checklist-checkbox-width;
294
+ height: $rte-checklist-checkbox-height;
295
+ border-radius: $rte-checklist-checkbox-border-radius;
291
296
  border: $rte-checklist-checkbox-border;
292
297
  cursor: pointer;
293
298
  }
@@ -340,12 +345,12 @@
340
345
  }
341
346
 
342
347
  .e-content li {
343
- margin-bottom: 10px;
348
+ margin-bottom: $rte-content-li-margin-bottom;
344
349
  }
345
350
 
346
351
  .e-content li ol,
347
352
  .e-content li ul {
348
- margin-block-start: 10px;
353
+ margin-block-start: $rte-li-ul-margin;
349
354
  }
350
355
 
351
356
  .e-content ul {
@@ -365,70 +370,73 @@
365
370
  }
366
371
 
367
372
  .e-content h1 {
368
- font-size: 2.857em;
369
- font-weight: 600;
370
- line-height: 1.2;
371
- margin: 10px 0;
373
+ font-size: $rte-content-h1-font-size;
374
+ font-weight: $rte-content-h1-font-weight;
375
+ line-height: $rte-content-h1-line-height;
376
+ margin: $rte-content-h1-margin;
372
377
  }
373
378
 
374
379
  .e-content h2 {
375
- font-size: 2.285em;
376
- font-weight: 600;
377
- line-height: 1.2;
378
- margin: 10px 0;
380
+ font-size: $rte-content-h2-font-size;
381
+ font-weight: $rte-content-h2-font-weight;
382
+ line-height: $rte-content-h2-line-height;
383
+ margin: $rte-content-h2-margin;
379
384
  }
380
385
 
381
386
  .e-content h3 {
382
- font-size: 2em;
383
- font-weight: 600;
384
- line-height: 1.2;
385
- margin: 10px 0;
387
+ font-size: $rte-content-h3-font-size;
388
+ font-weight: $rte-content-h3-font-weight;
389
+ line-height: $rte-content-h3-line-height;
390
+ margin: $rte-content-h3-margin;
386
391
  }
387
392
 
388
393
  .e-content h4 {
389
- font-size: 1.714em;
390
- font-weight: 600;
391
- line-height: 1.2;
392
- margin: 10px 0;
394
+ font-size: $rte-content-h4-font-size;
395
+ font-weight: $rte-content-h4-font-weight;
396
+ line-height: $rte-content-h4-line-height;
397
+ margin: $rte-content-h4-margin;
393
398
  }
394
399
 
395
400
  .e-content h5 {
396
- font-size: 1.428em;
397
- font-weight: 600;
398
- line-height: 1.2;
399
- margin: 10px 0;
401
+ font-size: $rte-content-h5-font-size;
402
+ font-weight: $rte-content-h5-font-weight;
403
+ line-height: $rte-content-h5-line-height;
404
+ margin: $rte-content-h5-margin;
400
405
  }
401
406
 
402
407
  .e-content h6 {
403
- font-size: 1.142em;
404
- line-height: 600;
405
- line-height: 1.5;
406
- margin: 10px 0;
408
+ font-size: $rte-content-h6-font-size;
409
+ line-height: $rte-content-h6-line-height;
410
+ margin: $rte-content-h6-margin;
407
411
  }
408
412
 
409
413
  .e-content blockquote {
410
- margin: 10px 0;
411
- margin-left: 0;
412
- padding-left: 12px;
414
+ margin: $rte-content-blockquote-margin;
415
+ margin-left: $rte-content-blockquote-margin-left;
416
+ padding-left: $rte-iframe-blockquote-padding-left;
413
417
  }
414
418
 
415
419
  .e-content table {
416
- margin-bottom: 10px;
420
+ margin-bottom: $rte-content-table-margin-bottom;
417
421
  border-collapse: collapse;
418
422
  border-spacing: 0;
419
423
  empty-cells: show;
424
+
425
+ &:not(:first-child):not(table table) {
426
+ margin-top: $rte-content-table-margin-top;
427
+ }
420
428
  }
421
429
 
422
430
  .e-content pre {
423
431
  background-color: $rte-content-pre-background;
424
- border: 0;
425
- border-radius: 0;
432
+ border: $rte-content-pre-border;
433
+ border-radius: $rte-content-pre-border-radius;
426
434
  color: $rte-content-color;
427
435
  font-size: inherit;
428
436
  line-height: inherit;
429
- margin: 0 0 10px;
437
+ margin: $rte-content-pre-margin;
430
438
  overflow: visible;
431
- padding: 0;
439
+ padding: $rte-content-pre-padding;
432
440
  white-space: pre-wrap;
433
441
  word-break: inherit;
434
442
  word-wrap: break-word;
@@ -441,30 +449,30 @@
441
449
  background: rgba(157, 157, 157, .08);
442
450
  color: rgba(46, 46, 46, 1);
443
451
  font-family: $rte-code-block-font-family;
444
- border-radius: 6px;
445
- border: 1px solid rgba(229, 231, 235, 1);
446
- padding: 20px 16px 16px;
447
- font-size: 14px;
452
+ border-radius: $rte-pre-border-radius;
453
+ border: $rte-pre-border;
454
+ padding: $rte-code-block-padding;
455
+ font-size: $rte-pre-font-size;
448
456
  line-height: $rte-code-block-line-height;
449
457
  font-weight: $rte-code-block-font-weight;
450
458
  position: relative;
451
459
  @if $theme-name == 'bootstrap-dark' or $theme-name == 'material-dark' or $theme-name == 'fabric-dark' or $theme-name == 'material3-dark' or $theme-name == 'fluent2-dark' or $theme-name == 'fluent2-highcontrast' or $theme-name == 'highcontrast' or $theme-name == 'botstrap5-dark' or $theme-name == 'tailwind-dark' or $theme-name == 'fluentui-dark' or $theme-name == 'tailwind3-dark' {
452
460
  background: rgba(157, 157, 157, .08);
453
461
  color: rgba(245, 245, 245, 1);
454
- border: 1px solid rgba(40, 47, 60, 1);
462
+ border: $rte-pre-small-border;
455
463
  }
456
464
  &::before {
457
465
  content: attr(data-language);
458
466
  font-family: $rte-code-block-label-font-family;
459
467
  font-weight: $rte-code-block-label-font-weight;
460
468
  color: rgba(249, 250, 251, 1);
461
- font-size: 12px;
469
+ font-size: $rte-pre-before-content-font-size;
462
470
  line-height: $rte-code-block-label-line-height;
463
471
  right: 8px;
464
- padding: 2px 4px;
472
+ padding: $rte-code-block-label-padding;
465
473
  background-color: rgba(105, 105, 105, 1);
466
474
  top: -1px;
467
- border-radius: 0 0 4px 4px;
475
+ border-radius: $rte-pre-before-content-border-radius;
468
476
  position: absolute;
469
477
  @if $theme-name == 'bootstrap-dark' or $theme-name == 'material-dark' or $theme-name == 'fabric-dark' or $theme-name == 'Material3-dark' or $theme-name == 'fluent2-dark' or $theme-name == 'fluent2-highcontrast' or $theme-name == 'highcontrast' or $theme-name == 'botstrap5-dark' or $theme-name == 'tailwind-dark' or $theme-name == 'fluentui-dark' or $theme-name == 'tailwind3-dark' {
470
478
  background: rgba(189, 186, 186, 1);
@@ -481,7 +489,7 @@
481
489
  }
482
490
  .e-content strong,
483
491
  .e-content b {
484
- font-weight: bold;
492
+ font-weight: $rte-content-strong-b-font-weight;
485
493
  }
486
494
 
487
495
  .e-content a {
@@ -497,17 +505,23 @@
497
505
  .e-content p.e-rte-last-paragraph,
498
506
  .e-content pre:last-child,
499
507
  .e-content blockquote:last-child {
500
- margin-bottom: 0;
508
+ margin-bottom: $rte-content-para-pre-block-last-margin-bottom;
509
+ }
510
+
511
+ .e-content h3 + h4 {
512
+ margin-top: $rte-content-h3-h4-tag-margin-top;
513
+ }
514
+
515
+ .e-content h4 + h5 {
516
+ margin-top: $rte-content-h4-h5-tag-margin-top;
501
517
  }
502
518
 
503
- .e-content h3 + h4,
504
- .e-content h4 + h5,
505
519
  .e-content h5 + h6 {
506
- margin-top: .6em;
520
+ margin-top: $rte-content-h5-h6-tag-margin-top;
507
521
  }
508
522
 
509
523
  .e-content ul:last-child {
510
- margin-bottom: 0;
524
+ margin-bottom: $rte-content-ul-tag-margin-bottom;
511
525
  }
512
526
 
513
527
  .e-content table.e-cell-select {
@@ -521,13 +535,13 @@
521
535
  left: 0;
522
536
  right: 0;
523
537
  bottom: 0;
524
- border: 2px double $rte-table-select-border-color;
538
+ border: $rte-table-select-border;
525
539
  pointer-events: none;
526
540
  }
527
541
 
528
542
  .e-content table td.e-cell-select.e-multi-cells-select,
529
543
  .e-content table th.e-cell-select.e-multi-cells-select {
530
- border: 1px double $rte-table-select-border-color;
544
+ border: $rte-table-select-multi-cells-border;
531
545
  position: relative;
532
546
  }
533
547
 
@@ -538,8 +552,8 @@
538
552
  position: absolute;
539
553
  top: 0;
540
554
  left: 0;
541
- width: 100%;
542
- height: 100%;
555
+ width: $rte-table-cell-after-width;
556
+ height: $rte-table-cell-after-height;
543
557
  bottom: 0;
544
558
  pointer-events: none;
545
559
  right: 0;
@@ -563,10 +577,10 @@
563
577
 
564
578
  .e-rte-character-count {
565
579
  color: $rte-default-character-count-color;
566
- font-size: 14px;
567
- margin-right: 10px;
580
+ font-size: $rte-default-character-count-font-size;
581
+ margin-right: $rte-default-character-count-margin-right;
568
582
  opacity: $rte-default-character-count-opacity;
569
- padding-bottom: 2px;
583
+ padding-bottom: $rte-default-character-count-padding-bottom;
570
584
  text-align: right;
571
585
  z-index: 100;
572
586
  pointer-events: none;
@@ -582,29 +596,33 @@
582
596
  }
583
597
  }
584
598
 
599
+ &:not(.e-rtl) .e-rte-character-count:last-child {
600
+ margin-right: $rte-character-count-last-child-margin-right;
601
+ }
602
+
585
603
  .e-rte-srctextarea {
586
604
  background-color: transparent;
587
- border: 0;
605
+ border: $rte-content-src-textarea-border;
588
606
  color: $rte-content-color;
589
- height: 100%;
590
- line-height: 22px;
607
+ height: $rte-srctextarea-height;
608
+ line-height: $rte-srctextarea-line-height;
591
609
  overflow: auto;
592
- padding: 16px;
610
+ padding: $rte-content-src-textarea-padding;
593
611
  resize: none;
594
612
  transition: 100ms ease-out;
595
- width: 100%;
613
+ width: $rte-srctextarea-width;
596
614
  }
597
615
 
598
616
  .e-resize-handle {
599
- height: $rte-resize-handler-height;
600
617
  position: absolute;
601
- width: $rte-resize-handler-width;
618
+ margin-bottom: $rte-resize-handler-margin-bottom; //changing width(15px) to margin right 3px
602
619
 
603
620
  &.e-south-east {
604
621
  bottom: $rte-resize-handler-position;
605
622
  cursor: nwse-resize;
606
623
  right: $rte-resize-handler-position;
607
624
  z-index: 100;
625
+ margin-right: $rte-resize-handler-margin-right; //changing height(15px) to margin right 3px
608
626
  }
609
627
 
610
628
  &.e-south-west {
@@ -613,6 +631,7 @@
613
631
  left: $rte-resize-handler-position;
614
632
  transform: rotate(90deg);
615
633
  z-index: 100;
634
+ margin-left: $rte-resize-handler-margin-right; //changing height(15px) to margin left 3px
616
635
  }
617
636
  }
618
637
 
@@ -670,9 +689,9 @@
670
689
  .e-clickelem,
671
690
  .e-video-clickelem {
672
691
  display: block;
673
- margin: 0;
692
+ margin: $rte-video-elem-margin;
674
693
  outline: none;
675
- padding: 0;
694
+ padding: $rte-video-elem-padding;
676
695
  position: relative;
677
696
  }
678
697
 
@@ -697,16 +716,16 @@
697
716
  .e-videoheader,
698
717
  .e-embed-videoheader,
699
718
  .e-video-url-wrap {
700
- padding-bottom: 5px;
701
- padding-top: 15px;
719
+ padding-bottom: $rte-video-url-wrapper-padding-bottom;
720
+ padding-top: $rte-video-url-wrapper-padding-top;
702
721
  }
703
722
 
704
723
  .e-video-url-wrap .e-radio-wrapper {
705
- padding: 5px;
724
+ padding: $rte-video-wrapper-padding;
706
725
  }
707
726
 
708
727
  .e-video-url-wrap textarea {
709
- height: 80px;
728
+ min-height: 80px; //3. video url height to min-height
710
729
  }
711
730
 
712
731
  .e-rte-value-wrapper {
@@ -723,12 +742,12 @@
723
742
  }
724
743
 
725
744
  .e-rte-radio-keep-format {
726
- padding-top: 24px;
745
+ padding-top: $rte-radio-keep-format-padding-top;
727
746
  }
728
747
 
729
748
  .e-rte-radio-remove-format,
730
749
  .e-rte-radio-plain-format {
731
- padding-top: 20px;
750
+ padding-top: $rte-radio-remove-plain-padding-top;
732
751
  }
733
752
  }
734
753
 
@@ -740,7 +759,7 @@
740
759
  &.e-rte-background-colorpicker .e-split-colorpicker.e-icons::before {
741
760
  display: block;
742
761
  font-family: 'e-icons';
743
- font-weight: normal;
762
+ font-weight: $rte-color-picker-font-weight;
744
763
  line-height: $rte-color-picker-line-height;
745
764
  text-transform: none;
746
765
  }
@@ -750,9 +769,9 @@
750
769
  .e-selected-color {
751
770
  background: none;
752
771
  display: block;
753
- margin-top: 3px;
754
- width: 100%;
755
- height: auto;
772
+ margin-top: $rte-color-picker-margin-top;
773
+ width: $rte-color-picker-width;
774
+ height: $rte-color-picker-height;
756
775
  .e-split-preview {
757
776
  height: 3px;
758
777
  bottom: 0;
@@ -780,7 +799,7 @@
780
799
  }
781
800
 
782
801
  .e-rte-label label {
783
- font-weight: normal;
802
+ font-weight: $rte-lable-font-weight;
784
803
  }
785
804
 
786
805
  .e-dlg-content {
@@ -796,7 +815,7 @@
796
815
  }
797
816
 
798
817
  .e-rte-linkcontent .e-rte-label:first-child {
799
- padding-top: 0;
818
+ padding-top: $rte-link-label-first-child-padding-top;
800
819
  }
801
820
 
802
821
  .e-rte-dropdown-popup {
@@ -805,12 +824,12 @@
805
824
 
806
825
  @media screen and (max-width: 768px) {
807
826
  ul {
808
- padding: 7px 0;
827
+ padding: $rte-inline-dropdown-ul-padding;
809
828
 
810
829
  li.e-item {
811
- height: 34px;
812
- line-height: 34px;
813
- padding: 0 6.5px;
830
+ height: $rte-media-inline-dropdown-height;
831
+ line-height: $rte-inline-dropdown-line-height;
832
+ padding: $rte-inline-dropdown-li-padding;
814
833
  }
815
834
 
816
835
  .e-item .e-menu-icon {
@@ -837,19 +856,19 @@
837
856
  .e-item {
838
857
 
839
858
  .e-menu-icon {
840
- margin: 0 6px;
841
- width: auto;
859
+ margin: $rte-ul-menu-icon-margin;
860
+ width: $rte-ul-menu-icon-width;
842
861
  }
843
862
 
844
863
  &.e-h1 {
845
- font-size: 2em;
846
- font-weight: bold;
847
- height: 40px;
864
+ font-size: $rte-content-ul-h1-font-size;
865
+ font-weight: $rte-content-ul-h1-font-weight;
866
+ height: $rte-content-ul-h1-height;
848
867
  @if $skin-name =='fluent2' {
849
- line-height: 25px;
868
+ line-height: $rte-content-ul-h1-small-line-height;
850
869
  }
851
870
  @else {
852
- line-height: 40px;
871
+ line-height: $rte-content-ul-h1-line-height;
853
872
  }
854
873
  }
855
874
 
@@ -860,35 +879,35 @@
860
879
  }
861
880
 
862
881
  &.e-h2 {
863
- font-size: 1.5em;
864
- font-weight: bold;
865
- height: 40px;
882
+ font-size: $rte-content-ul-h2-font-size;
883
+ font-weight: $rte-content-ul-h2-font-weight;
884
+ height: $rte-content-ul-h2-height;
866
885
  @if $skin-name =='fluent2' {
867
- line-height: 25px;
886
+ line-height: $rte-content-ul-h2-small-line-height;
868
887
  }
869
888
  @else {
870
- line-height: 40px;
889
+ line-height: $rte-content-ul-h2-line-height;
871
890
  }
872
891
  }
873
892
 
874
893
  &.e-h3 {
875
- font-size: 1.16em;
876
- font-weight: bold;
894
+ font-size: $rte-content-ul-h3-font-size;
895
+ font-weight: $rte-content-ul-h3-font-weight;
877
896
  }
878
897
 
879
898
  &.e-h4 {
880
- font-size: 1em;
881
- font-weight: bold;
899
+ font-size: $rte-content-ul-h4-font-size;
900
+ font-weight: $rte-content-ul-h4-font-weight;
882
901
  }
883
902
 
884
903
  &.e-h5 {
885
- font-size: .83em;
886
- font-weight: bold;
904
+ font-size: $rte-content-ul-h5-font-size;
905
+ font-weight: $rte-content-ul-h5-font-weight;
887
906
  }
888
907
 
889
908
  &.e-h6 {
890
- font-size: .7em;
891
- font-weight: bold;
909
+ font-size: $rte-content-ul-h6-font-size;
910
+ font-weight: $rte-content-ul-h6-font-weight;
892
911
  }
893
912
 
894
913
  &.e-segoe-ui {
@@ -944,7 +963,7 @@
944
963
  &.e-rte-dropdown-icons {
945
964
 
946
965
  ul {
947
- min-width: auto;
966
+ min-width: $rte-dropdown-icons-ul-min-width;
948
967
  }
949
968
 
950
969
  @media screen and (max-width: 768px) {
@@ -957,7 +976,7 @@
957
976
 
958
977
  &.e-rtl {
959
978
  ul .e-item .e-menu-icon {
960
- margin: 0 6px;
979
+ margin: $rte-rtl-ul-menu-icon-margin;
961
980
  }
962
981
  }
963
982
  }
@@ -965,36 +984,36 @@
965
984
  .e-rte-image.e-imgbreak,
966
985
  .e-rte-audio.e-audio-break,
967
986
  .e-rte-video.e-video-break {
968
- border: 0;
987
+ border: $rte-media-break-elem-border;
969
988
  cursor: pointer;
970
989
  display: block;
971
990
  float: none;
972
- max-width: 100%;
973
- padding: 1px;
991
+ max-width: $rte-media-break-elem-max-width;
992
+ padding: $rte-media-break-elem-padding;
974
993
  position: relative;
975
994
  }
976
995
 
977
996
  .e-rte-image,
978
997
  .e-rte-audio,
979
998
  .e-rte-video {
980
- border: 0;
999
+ border: $rte-media-elem-border;
981
1000
  cursor: pointer;
982
1001
  display: block;
983
1002
  float: none;
984
- margin: auto;
985
- max-width: 100%;
1003
+ margin: $rte-media-elem-margin;
1004
+ max-width: $rte-media-elem-max-width;
986
1005
  position: relative;
987
1006
  }
988
1007
 
989
1008
  .e-rte-image.e-imginline,
990
1009
  .e-rte-audio.e-audio-inline,
991
1010
  .e-rte-video.e-video-inline {
992
- margin-left: 5px;
993
- margin-right: 5px;
1011
+ margin-left: $rte-media-inline-elem-margin-left;
1012
+ margin-right: $rte-media-inline-elem-margin-right;
994
1013
  display: inline-block;
995
1014
  float: none;
996
- max-width: 100%;
997
- padding: 1px;
1015
+ max-width: $rte-media-inline-elem-max-width;
1016
+ padding: $rte-media-inline-elem-padding;
998
1017
  vertical-align: bottom;
999
1018
  }
1000
1019
 
@@ -1003,24 +1022,24 @@
1003
1022
  cursor: pointer;
1004
1023
  display: block;
1005
1024
  float: none;
1006
- margin: 5px auto;
1007
- max-width: 100%;
1025
+ margin: $rte-img-video-center-margin;
1026
+ max-width: $rte-img-video-center-max-width;
1008
1027
  position: relative;
1009
1028
  }
1010
1029
 
1011
1030
  .e-rte-image.e-imgleft,
1012
1031
  .e-rte-video.e-video-left {
1013
1032
  float: left;
1014
- margin: 0 auto;
1015
- margin-right: 5px;
1033
+ margin: $rte-img-video-left-margin;
1034
+ margin-right: $rte-img-video-left-margin-right;
1016
1035
  text-align: left;
1017
1036
  }
1018
1037
 
1019
1038
  .e-rte-image.e-imgright,
1020
1039
  .e-rte-video.e-video-right {
1021
1040
  float: right;
1022
- margin: 0 auto;
1023
- margin-left: 5px;
1041
+ margin: $rte-img-video-right-margin;
1042
+ margin-left: $rte-img-video-right-margin-left;
1024
1043
  text-align: right;
1025
1044
  }
1026
1045
 
@@ -1031,16 +1050,16 @@
1031
1050
 
1032
1051
  .e-rte-img-caption {
1033
1052
  display: inline-block;
1034
- margin: 5px auto;
1035
- max-width: 100%;
1053
+ margin: $rte-img-caption-margin;
1054
+ max-width: $rte-img-caption-max-width;
1036
1055
  position: relative;
1037
1056
  }
1038
1057
 
1039
1058
  .e-rte-img-caption.e-caption-inline {
1040
1059
  display: inline-block;
1041
- margin: 5px auto;
1042
- margin-left: 5px;
1043
- margin-right: 5px;
1060
+ margin: $rte-img-caption-inline-margin;
1061
+ margin-left: $rte-img-caption-inline-margin-left;
1062
+ margin-right: $rte-img-caption-inline-margin-right;
1044
1063
  max-width: calc(100% - (2 * 5px));
1045
1064
  position: relative;
1046
1065
  text-align: center;
@@ -1049,29 +1068,29 @@
1049
1068
 
1050
1069
  .e-rte-img-caption.e-imgcenter {
1051
1070
  display: contents;
1052
- margin-left: auto;
1053
- margin-right: auto;
1071
+ margin-left: $rte-imgcenter-margin-left;
1072
+ margin-right: $rte-imgcenter-margin-right;
1054
1073
  }
1055
1074
 
1056
1075
  .e-rte-img-caption.e-imgright {
1057
1076
  display: contents;
1058
- margin-left: auto;
1059
- margin-right: 0;
1077
+ margin-left: $rte-imgright-margin-left;
1078
+ margin-right: $rte-img-caption-right-margin-right;
1060
1079
  }
1061
1080
 
1062
1081
  .e-rte-img-caption.e-imgleft {
1063
1082
  display: contents;
1064
- margin-left: 0;
1065
- margin-right: auto;
1083
+ margin-left: $rte-img-caption-left-margin-left;
1084
+ margin-right: $rte-imgleft-margin-right;
1066
1085
  }
1067
1086
 
1068
1087
  .e-rte-img-caption .e-rte-image.e-imgright {
1069
- margin-left: auto;
1070
- margin-right: 0;
1088
+ margin-left: $rte-image-imgright-margin-left;
1089
+ margin-right: $rte-img-caption-imgright-margin-right;
1071
1090
  }
1072
1091
 
1073
1092
  .e-rte-img-caption .e-rte-image.e-imgleft {
1074
- margin: 0;
1093
+ margin: $rte-img-caption-imgleft-margin;
1075
1094
  }
1076
1095
 
1077
1096
  .e-img-caption.e-rte-img-caption.e-imgbreak {
@@ -1080,10 +1099,10 @@
1080
1099
 
1081
1100
  .e-rte-table td,
1082
1101
  .e-rte-table th {
1083
- border: 1px solid $rte-table-border-color;
1102
+ border: $rte-table-border;
1084
1103
  height: 20px;
1085
1104
  min-width: 20px;
1086
- padding: 2px 5px;
1105
+ padding: $rte-table-padding;
1087
1106
  box-sizing: border-box;
1088
1107
  }
1089
1108
 
@@ -1096,12 +1115,12 @@
1096
1115
  box-sizing: border-box;
1097
1116
  display: block;
1098
1117
  font-size: $rte-toolbar-icon-size;
1099
- font-weight: initial;
1100
- margin: auto;
1118
+ font-weight: $rte-content-img-caption-font-weight;
1119
+ margin: $rte-content-img-caption-inner-margin;
1101
1120
  opacity: .9;
1102
1121
  position: relative;
1103
1122
  text-align: center;
1104
- width: 100%;
1123
+ width: $rte-content-img-caption-inner-width;
1105
1124
  }
1106
1125
 
1107
1126
  .e-rte-img-caption.e-imgleft .e-img-inner {
@@ -1120,14 +1139,14 @@
1120
1139
  }
1121
1140
 
1122
1141
  .e-container.e-color-palette .e-custom-palette .e-palette {
1123
- padding: 0;
1142
+ padding: $rte-container-custom-palette-padding;
1124
1143
  }
1125
1144
 
1126
1145
  .e-rte-img-caption .e-img-wrap {
1127
1146
  display: inline-block;
1128
- margin: auto;
1129
- padding: 0;
1130
- width: 100%;
1147
+ margin: $rte-img-wrap-margin;
1148
+ padding: $rte-img-wrap-padding;
1149
+ width: $rte-img-wrap-width;
1131
1150
  }
1132
1151
 
1133
1152
  .e-rte-img-dialog .e-rte-label {
@@ -1135,7 +1154,7 @@
1135
1154
  }
1136
1155
 
1137
1156
  .e-rte-img-dialog .e-rte-label:first-child {
1138
- padding-top: 0;
1157
+ padding-top: $rte-img-label-first-child-padding-top;
1139
1158
  }
1140
1159
 
1141
1160
  .e-rte-video-dialog .e-rte-label {
@@ -1143,7 +1162,7 @@
1143
1162
  }
1144
1163
 
1145
1164
  .e-rte-video-dialog .e-rte-label:first-child {
1146
- padding-top: 0;
1165
+ padding-top: $rte-video-dialog-label-padding-top;
1147
1166
  }
1148
1167
 
1149
1168
  .e-rte-table-resize.e-tb-col-insert,
@@ -1253,29 +1272,29 @@
1253
1272
  .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons,
1254
1273
  .e-word-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-delete-btn.e-icons,
1255
1274
  .e-word-uploadwrap.e-droparea .e-upload .e-upload-files .e-file-abort-btn.e-icons {
1256
- margin-top: 0;
1275
+ margin-top: $rte-uploadwrap-file-btn-icons-margin-top;
1257
1276
  }
1258
1277
 
1259
1278
  .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list,
1260
1279
  .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list,
1261
1280
  .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list,
1262
1281
  .e-word-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list {
1263
- border-bottom: 0 solid transparent;
1264
- min-height: initial;
1282
+ border-bottom: $rte-uploadwrap-file-list-border-bottom;
1283
+ min-height: $rte-uploadwrap-file-list-min-height;
1265
1284
  }
1266
1285
 
1267
1286
  .e-img-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container,
1268
1287
  .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container,
1269
1288
  .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container,
1270
1289
  .e-word-uploadwrap.e-droparea .e-upload .e-upload-files .e-upload-file-list .e-file-container {
1271
- margin-left: 0;
1290
+ margin-left: $rte-uploadwrap-file-container-margin-left;
1272
1291
  }
1273
1292
 
1274
1293
  .e-img-uploadwrap.e-droparea .e-upload .e-upload-files,
1275
1294
  .e-aud-uploadwrap.e-droparea .e-upload .e-upload-files,
1276
1295
  .e-vid-uploadwrap.e-droparea .e-upload .e-upload-files,
1277
1296
  .e-word-uploadwrap.e-droparea .e-upload .e-upload-files {
1278
- border-top: 0 solid transparent;
1297
+ border-top: $rte-droparea-files-border-top;
1279
1298
  }
1280
1299
 
1281
1300
  .e-img-uploadwrap.e-droparea .e-file-select-wrap,
@@ -1289,7 +1308,7 @@
1289
1308
  .e-aud-uploadwrap.e-droparea .e-upload,
1290
1309
  .e-vid-uploadwrap.e-droparea .e-upload,
1291
1310
  .e-word-uploadwrap.e-droparea .e-upload {
1292
- border: 0 solid transparent;
1311
+ border: $rte-media-droparea-upload-border;
1293
1312
  float: none;
1294
1313
  }
1295
1314
 
@@ -1303,7 +1322,7 @@
1303
1322
  .e-dialog .e-word-uploadwrap.e-droparea .e-browsebtn {
1304
1323
  display: block;
1305
1324
  height: $rte-droparea-browsebtn-height;
1306
- margin: 0 auto 10px;
1325
+ margin: $rte-droparea-browsebtn-margin;
1307
1326
  padding: $rte-droparea-browsebtn-padding;
1308
1327
  position: relative;
1309
1328
  top: 6px;
@@ -1323,7 +1342,7 @@
1323
1342
  .e-dialog .e-aud-uploadwrap.e-droparea,
1324
1343
  .e-dialog .e-vid-uploadwrap.e-droparea,
1325
1344
  .e-dialog .e-word-uploadwrap.e-droparea {
1326
- line-height: $rte-droparea-line-height;
1345
+ // line-height: 10;////No UI affected so removed
1327
1346
  min-height: 50px;
1328
1347
  position: relative;
1329
1348
  }
@@ -1333,15 +1352,15 @@
1333
1352
  .e-dialog .e-vid-uploadwrap.e-droparea .e-rte-upload-text,
1334
1353
  .e-dialog .e-word-uploadwrap.e-droparea .e-rte-upload-text {
1335
1354
  display: inline-block;
1336
- line-height: normal;
1355
+ line-height: $rte-dialog-word-upload-text-line-height;
1337
1356
  }
1338
1357
 
1339
- .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea,
1340
- .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea,
1341
- .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea,
1342
- .e-dialog.e-device.e-dlg-modal .e-word-uploadwrap.e-droparea {
1343
- line-height: 4;
1344
- }
1358
+ // .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea,
1359
+ // .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea,
1360
+ // .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea,
1361
+ // .e-dialog.e-device.e-dlg-modal .e-word-uploadwrap.e-droparea {
1362
+ // line-height: 4;////No UI affected so removed
1363
+ // }
1345
1364
 
1346
1365
  .e-rte-inline-dropdown ul {
1347
1366
  max-height: 200px;
@@ -1354,10 +1373,10 @@
1354
1373
  }
1355
1374
 
1356
1375
  .e-rte-table-popup.e-popup.e-popup-open {
1357
- border-radius: $rte-table-popup-bdr-radius;
1376
+ border-radius: $rte-table-popup-border-radius;
1358
1377
  box-shadow: $rte-table-popup-box;
1359
- font-size: 14px;
1360
- font-weight: normal;
1378
+ font-size: $rte-popup-open-font-size;
1379
+ font-weight: $rte-popup-open-font-weight;
1361
1380
  min-width: 120px;
1362
1381
  overflow: hidden;
1363
1382
  padding: $rte-table-popup-padding;
@@ -1379,7 +1398,7 @@
1379
1398
  }
1380
1399
 
1381
1400
  .e-rte-table-popup.e-popup-open .e-insert-table-btn {
1382
- width: 100%;
1401
+ width: $rte-insert-table-btn-width;
1383
1402
  }
1384
1403
 
1385
1404
  .e-rte-edit-table .e-rte-field {
@@ -1387,7 +1406,7 @@
1387
1406
  }
1388
1407
 
1389
1408
  .e-rte-edit-table .e-rte-field:first-child {
1390
- padding-top: 0;
1409
+ padding-top: $rte-table-dialog-label-padding-top;
1391
1410
  }
1392
1411
 
1393
1412
  .e-table-fake-selection {
@@ -1400,8 +1419,8 @@
1400
1419
 
1401
1420
  .e-rte-content .e-content table td.e-cell-select,
1402
1421
  .e-rte-content .e-content table th.e-cell-select {
1403
- border: 1px double $rte-table-select-border-color;
1404
- height: inherit;
1422
+ border: $rte-content-table-select-border;
1423
+ height: $rte-content-table-select-height;
1405
1424
  }
1406
1425
 
1407
1426
  span.e-table-box {
@@ -1422,7 +1441,7 @@
1422
1441
  }
1423
1442
 
1424
1443
  .e-upload .e-upload-files .e-upload-file-list .e-file-container {
1425
- margin-right: 50px;
1444
+ margin-right: $rte-upload-file-container-margin-right;
1426
1445
  }
1427
1446
 
1428
1447
  .e-rte-upload-popup {
@@ -1430,21 +1449,21 @@
1430
1449
  }
1431
1450
 
1432
1451
  .e-rte-dialog-upload .e-upload-files {
1433
- border-top: 0;
1452
+ border-top: $rte-dialog-upload-files-border-top;
1434
1453
  }
1435
1454
 
1436
1455
  .e-rte-dialog-upload .e-upload-files .e-upload-file-list {
1437
- border-bottom: 0;
1456
+ border-bottom: $rte-dialog-file-list-border-bottom;
1438
1457
  }
1439
1458
 
1440
1459
  .e-rte-edit-table-content {
1441
1460
  .e-rte-edit-table-cell {
1442
1461
  display: flex;
1443
- gap: 16px;
1462
+ gap: $rte-edit-table-cell-gap;
1444
1463
  }
1445
1464
  .e-rte-edit-table-tablewidth,
1446
1465
  .e-rte-edit-table-bgcolor {
1447
- width: 50%;
1466
+ width: $rte-table-bgcolor-width;
1448
1467
  }
1449
1468
  .e-rte-edit-table-border {
1450
1469
  .e-rte-edit-table-borderfields {
@@ -1459,16 +1478,16 @@
1459
1478
  }
1460
1479
  }
1461
1480
  .e-rte-edit-table-element {
1462
- margin-top: 12px;
1481
+ margin-top: $rte-table-element-margin-top;
1463
1482
  }
1464
1483
  .e-rte-edit-table-field {
1465
- margin-top: 4px;
1484
+ margin-top: $rte-table-field-margin-top;
1466
1485
  }
1467
1486
  .e-rte-dropdown-btn-text {
1468
- font-weight: normal;
1487
+ font-weight: $rte-dropdown-btn-font-weight;
1469
1488
  }
1470
1489
  .e-rte-edit-table-borderlabel {
1471
- font-weight: 600;
1490
+ font-weight: $rte-edit-table-border-label-font-weight;
1472
1491
  font-style: semi-bold;
1473
1492
  }
1474
1493
  .e-caret {
@@ -1478,39 +1497,43 @@
1478
1497
 
1479
1498
  .e-rte-emojipicker-popup.e-popup.e-popup-open {
1480
1499
  border: $rte-emoji-pop-border;
1481
- min-width: 120px;
1482
- height: 330px;
1483
- width: 308px;
1500
+ // min-width: 120px; //Not affecting the UI after removal
1501
+ min-height: $rte-emoji-popup-open-min-height;
1502
+ min-width: $rte-emoji-popup-open-width;
1503
+ display: flex;
1504
+ flex-direction: column;
1484
1505
 
1485
1506
  .e-toolbar .e-toolbar-item .e-tbar-btn {
1486
- padding: 7px 3px;
1487
- border-radius: 4px;
1507
+ padding: $rte-emoji-picker-tbar-btn-padding;
1508
+ border-radius: $rte-emoji-pop-border-radius;
1488
1509
 
1489
1510
  @if $skin-name =='bootstrap' or $skin-name =='botstrap-dark' {
1490
1511
  &:hover,
1491
1512
  &:focus{
1492
- padding: 7px 3px;
1513
+ padding: $rte-emoji-picker-tbar-btn-hover-padding;
1493
1514
  }
1494
1515
  }
1495
1516
 
1496
1517
  @if $skin-name =='material' or $skin-name =='material-dark' {
1497
- padding: 0 6px;
1518
+ padding: $rte-emoji-picker-tbar-btn-material-padding;
1498
1519
  }
1499
1520
 
1500
1521
  .e-tbar-btn-text {
1501
1522
  @if $skin-name =='fluent2' {
1502
- font-size: 16px;
1523
+ font-size: $rte-emoji-pop-tbar-btn-small-font-size;
1503
1524
  }
1504
1525
  @else {
1505
- font-size: 24px;
1526
+ font-size: $rte-emoji-pop-tbar-btn-large-font-size;
1506
1527
  }
1507
- padding: 0;
1528
+ padding: $rte-emoji-picker-tbar-btn-text-padding;
1508
1529
  }
1509
1530
  }
1510
1531
 
1511
1532
  .e-input-group.e-control-wrapper {
1512
- margin: 10px;
1533
+ margin: $rte-emojipicker-input-control-wrapper-margin;
1513
1534
  width: 94%;
1535
+ box-sizing: border-box;
1536
+ align-self: center;
1514
1537
 
1515
1538
  .e-rte-emoji-search {
1516
1539
  @if $skin-name =='material' or $skin-name =='material-dark' or $skin-name =='material3' or $skin-name =='material3-dark' {
@@ -1521,29 +1544,29 @@
1521
1544
 
1522
1545
  .e-rte-emojipicker-btn {
1523
1546
  display: block;
1524
- gap: 10px;
1547
+ gap: $rte-emoji-btn-gap;
1525
1548
  height: $rte-emoji-btn-height;
1526
1549
  overflow: auto;
1527
- padding: 10px;
1550
+ padding: $rte-emoji-btn-padding;
1528
1551
 
1529
1552
  .e-rte-emojipicker-group .e-rte-emojipickerbtn-group {
1530
1553
  display: grid;
1531
1554
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
1532
- gap: 6px;
1555
+ gap: $rte-emoji-btn-group-gap;
1533
1556
 
1534
1557
  .e-btn.e-control {
1535
1558
  display: inline-block;
1536
1559
  box-shadow: none;
1537
- padding: 6px 0;
1538
- width: $rte-emoji-grp-btn-width;
1539
- height: $rte-emoji-grp-btn-height;
1540
- border: none;
1541
- line-height: $rte-emoji-grp-btn-line-height;
1560
+ padding: $rte-emoji-grp-btn-padding;
1561
+ // width: $rte-emoji-grp-btn-width; //2. emoji picker dynamic issue
1562
+ // height: $rte-emoji-grp-btn-height; //2. emoji picker dynamic issue
1563
+ border: $rte-emoji-grp-btn-border;
1564
+ // line-height: 1px;//No UI affected so removed
1542
1565
  @if $skin-name =='fluent2' {
1543
- font-size: 16px;
1566
+ font-size: $rte-emoji-grp-btn-small-font-size;
1544
1567
  }
1545
1568
  @else {
1546
- font-size: 24px;
1569
+ font-size: $rte-emoji-grp-btn-large-font-size;
1547
1570
  }
1548
1571
  }
1549
1572
  }
@@ -1551,24 +1574,24 @@
1551
1574
  .e-rte-emojisearch-btn {
1552
1575
  display: grid;
1553
1576
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
1554
- gap: 6px;
1555
- height: 0;
1577
+ gap: $rte-emoji-search-btn-gap;
1578
+ height: $rte-emoji-search-btn-height;
1556
1579
 
1557
1580
  .e-btn.e-control {
1558
1581
  display: inline-block;
1559
1582
  box-shadow: none;
1560
- font-size: 24px;
1561
- padding: 6px 0;
1562
- width: 40px;
1563
- height: 40px;
1564
- border: none;
1565
- line-height: $rte-emoji-grp-btn-line-height;
1583
+ font-size: $rte-emoji-grp-btn-font-size;
1584
+ padding: $rte-emoji-grp-btn-control-padding;
1585
+ // width: 40px; //2. emoji picker dynamic issue
1586
+ // height: 40px; //2. emoji picker dynamic issue
1587
+ border: $rte-emoji-grp-btn-border;
1588
+ // line-height: 1px;//No UI affected so removed
1566
1589
  }
1567
1590
  }
1568
1591
 
1569
1592
  .e-rte-emojipicker-group .e-rte-emojipicker-name {
1570
1593
  font-weight: $rte-emoji-headname-font-weight;
1571
- font-size: 14px;
1594
+ font-size: $rte-emoji-headname-font-size;
1572
1595
  }
1573
1596
 
1574
1597
  .e-rte-emojiSearch-noEmoji {
@@ -1582,11 +1605,11 @@
1582
1605
  .e-rte-fontcolor-colorpicker {
1583
1606
  & .e-color-palette.e-container {
1584
1607
  & .e-custom-palette .e-palette {
1585
- padding: 0;
1608
+ padding: $rte-colorpicker-custom-palette-padding;
1586
1609
  }
1587
1610
 
1588
1611
  & .e-switch-ctrl-btn {
1589
- padding: 5px;
1612
+ padding: $rte-colorpicker-custom-palette-switch-btn-padding;
1590
1613
  }
1591
1614
  }
1592
1615
  }
@@ -1595,16 +1618,16 @@
1595
1618
  border-radius: $rte-quick-popup-border-radius;
1596
1619
  border: $rte-quick-popup-border;
1597
1620
  .e-rte-quick-toolbar.e-rte-toolbar.e-toolbar {
1598
- min-height: auto;
1599
- min-width: auto;
1621
+ min-height: $rte-quick-toolbar-min-height;
1622
+ min-width: $rte-quick-toolbar-min-width;
1600
1623
  .e-toolbar-items:not(.e-tbar-pos) {
1601
- min-height: auto;
1602
- min-width: auto;
1624
+ min-height: $rte-quick-toolbar-items-not-tbar-pos-min-height;
1625
+ min-width: $rte-quick-toolbar-items-not-tbar-pos-min-width;
1603
1626
  margin: $rte-quick-popup-outer-margin;
1604
1627
  .e-toolbar-item {
1605
- margin: 0;
1606
- min-height: auto;
1607
- min-width: auto;
1628
+ margin: $rte-popup-toolbar-item-margin;
1629
+ min-height: $rte-popup-toolbar-item-min-height;
1630
+ min-width: $rte-popup-toolbar-item-min-width;
1608
1631
  padding: $rte-quick-popup-inner-padding;
1609
1632
  }
1610
1633
  }
@@ -1633,7 +1656,7 @@
1633
1656
  .e-toolbar-item.e-separator.e-multirow-separator.e-rte-horizontal-separator {
1634
1657
  display: block;
1635
1658
  height: 1px;
1636
- margin: 0;
1659
+ margin: $rte-quick-toolbar-horizontal-separator-margin;
1637
1660
  min-height: 1px;
1638
1661
  }
1639
1662
 
@@ -1642,7 +1665,7 @@
1642
1665
 
1643
1666
  &:first-child,
1644
1667
  &:last-child {
1645
- margin: 0;
1668
+ margin: $rte-quick-horizontal-separator-first-margin;
1646
1669
  }
1647
1670
  }
1648
1671
  }
@@ -1686,21 +1709,21 @@
1686
1709
  .e-rte-modal-popup.e-popup-container {
1687
1710
  align-items: center;
1688
1711
  display: none;
1689
- height: 100%;
1712
+ height: $rte-modal-popup-container-height;
1690
1713
  left: 0;
1691
1714
  position: fixed;
1692
1715
  top: 0;
1693
- width: 100%;
1716
+ width: $rte-modal-popup-container-width;
1694
1717
  z-index: 10000;
1695
1718
  }
1696
1719
 
1697
1720
  .e-popup-overlay {
1698
- height: 100%;
1721
+ height: $rte-popup-overlay-height;
1699
1722
  left: 0;
1700
1723
  opacity: .5;
1701
1724
  position: absolute;
1702
1725
  top: 0;
1703
- width: 100%;
1726
+ width: $rte-popup-overlay-width;
1704
1727
  }
1705
1728
 
1706
1729
  .e-table-rhelper {
@@ -1718,12 +1741,12 @@
1718
1741
  }
1719
1742
 
1720
1743
  .e-reicon::before {
1721
- border-bottom: 6px solid transparent;
1722
- border-right: 6px solid;
1723
- border-top: 6px solid transparent;
1744
+ border-bottom: $rte-reicon-before-border-bottom;
1745
+ border-right: $rte-reicon-before-border-right;
1746
+ border-top: $rte-reicon-before-border-top;
1724
1747
  content: '';
1725
1748
  display: block;
1726
- height: 0;
1749
+ height: $rte-reicon-before-height;
1727
1750
  position: absolute;
1728
1751
  right: 4px;
1729
1752
  top: 4px;
@@ -1731,12 +1754,12 @@
1731
1754
  }
1732
1755
 
1733
1756
  .e-reicon::after {
1734
- border-bottom: 6px solid transparent;
1735
- border-left: 6px solid;
1736
- border-top: 6px solid transparent;
1757
+ border-bottom: $rte-reicon-after-border-bottom;
1758
+ border-left: $rte-reicon-after-border-left;
1759
+ border-top: $rte-reicon-after-border-top;
1737
1760
  content: '';
1738
1761
  display: block;
1739
- height: 0;
1762
+ height: $rte-reicon-after-height;
1740
1763
  left: 4px;
1741
1764
  position: absolute;
1742
1765
  top: 4px;
@@ -1760,9 +1783,9 @@
1760
1783
  }
1761
1784
 
1762
1785
  .e-dialog.e-rte-dialog-minheight {
1763
- min-height: 296px;
1786
+ min-height: $rte-dialog-min-height; //for now using 298px for ensuring But acutal value 296px
1764
1787
  @if $skin-name == 'FluentUI' or $skin-name =='fluent2' {
1765
- min-height: 308px;
1788
+ min-height: $rte-dialog-fluent-min-height;
1766
1789
  }
1767
1790
  }
1768
1791
 
@@ -1772,7 +1795,7 @@
1772
1795
  }
1773
1796
 
1774
1797
  .e-rte-table.e-rte-table-border {
1775
- border: 1px double $rte-table-border-color;
1798
+ border: $rte-table-border-table-border;
1776
1799
  border-collapse: separate;
1777
1800
  }
1778
1801
 
@@ -1784,15 +1807,15 @@
1784
1807
  .e-aud-uploadwrap.e-droparea,
1785
1808
  .e-vid-uploadwrap.e-droparea,
1786
1809
  .e-word-uploadwrap.e-droparea {
1787
- line-height: 10;
1810
+ // line-height: 10;//No UI affected so removed
1788
1811
  min-height: 50px;
1789
1812
  position: relative;
1790
1813
 
1791
1814
  .e-browsebtn {
1792
1815
  display: block;
1793
- height: 36px;
1794
- margin: 0 auto 10px;
1795
- padding: 0 18px;
1816
+ height: $rte-dlg-modal-browse-btn-mobile-height;
1817
+ margin: $rte-dlg-modal-browse-btn-margin;
1818
+ padding: $rte-dlg-modal-browse-btn-padding;
1796
1819
  position: relative;
1797
1820
  top: 6px;
1798
1821
  @if $skin-name == 'FluentUI' {
@@ -1801,7 +1824,7 @@
1801
1824
  }
1802
1825
 
1803
1826
  .e-upload {
1804
- border: 0 solid transparent;
1827
+ border: $rte-import-word-upload-border;
1805
1828
  float: none;
1806
1829
  }
1807
1830
 
@@ -1809,14 +1832,6 @@
1809
1832
  display: none;
1810
1833
  }
1811
1834
  }
1812
-
1813
- .e-linkheader {
1814
- font-family: $rte-font-family;
1815
- font-size: $rte-big-insert-dialog-font-size;
1816
- opacity: .87;
1817
- padding-bottom: $rte-insert-dialog-label-padding-bottom;
1818
- padding-top: $rte-insert-dialog-label-padding-top;
1819
- }
1820
1835
  }
1821
1836
 
1822
1837
  .e-rte-import-dialog .e-dlg-content {
@@ -1826,11 +1841,11 @@
1826
1841
  .e-rte-file-manager-dialog {
1827
1842
 
1828
1843
  .e-rte-label {
1829
- padding-bottom: 8px;
1830
- padding-top: 15px;
1844
+ padding-bottom: $rte-filemanager-label-padding-bottom;
1845
+ padding-top: $rte-filemanager-label-padding-top;
1831
1846
 
1832
1847
  label {
1833
- font-size: 15px;
1848
+ font-size: $rte-filemanager-label-font-size;
1834
1849
  opacity: .87;
1835
1850
  }
1836
1851
  }
@@ -1841,15 +1856,15 @@
1841
1856
  .e-dialog .e-vid-uploadwrap .e-droptext,
1842
1857
  .e-dialog .e-word-uploadwrap .e-droptext,
1843
1858
  .e-dialog.e-device .e-vid-uploadwrap .e-droptext {
1844
- border: dashed 2px $rte-upload-drag-border-clr;
1845
- border-radius: 4px;
1859
+ border: $rte-drop-text-border;
1860
+ border-radius: $rte-upload-drag-border-radius;
1846
1861
  color: $rte-drop-text-clr;
1847
1862
  font-family: $rte-font-family;
1848
- font-size: 14px;
1863
+ font-size: $rte-drop-text-font-size;
1849
1864
  height: $rte-drop-text-height;
1850
- margin: 0 auto;
1865
+ margin: $rte-drop-text-margin;
1851
1866
  text-align: center;
1852
- width: auto;
1867
+ width: $rte-drop-text-width;
1853
1868
  display: flex;
1854
1869
  flex-direction: column;
1855
1870
  justify-content: center;
@@ -1860,11 +1875,11 @@
1860
1875
  .e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap .e-droptext,
1861
1876
  .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap .e-droptext,
1862
1877
  .e-dialog.e-device.e-dlg-modal .e-word-uploadwrap .e-droptext {
1863
- margin: 0 auto;
1878
+ margin: $rte-drop-text-mobile-margin;
1864
1879
  width: $rte-drop-text-mobile-width;
1865
1880
  }
1866
1881
  .e-dialog.e-device .e-video-url-wrap .e-radio-wrapper {
1867
- padding: 8px 4px;
1882
+ padding: $rte-video-url-wrap-padding;
1868
1883
  }
1869
1884
 
1870
1885
  // Blazor styles start
@@ -1874,11 +1889,11 @@
1874
1889
 
1875
1890
  .e-rte-upload-popup.e-dialog .e-dlg-content {
1876
1891
  overflow: hidden;
1877
- padding: 0;
1892
+ padding: $rte-upload-dlg-content-padding;
1878
1893
  }
1879
1894
 
1880
1895
  .e-hide.e-rte-quick-popup-hide {
1881
- border: 0;
1896
+ border: $rte-quick-popup-hide-border;
1882
1897
  position: absolute;
1883
1898
  }
1884
1899
 
@@ -1891,57 +1906,58 @@
1891
1906
  }
1892
1907
 
1893
1908
  .e-rte-table-popup.e-dialog .e-dlg-content {
1894
- padding: 0;
1909
+ padding: $rte-table-dlg-content-padding;
1895
1910
  @if $skin-name == 'FluentUI' {
1896
- margin-bottom: 0;
1911
+ margin-bottom: $rte-table-dlg-content-small-margin;
1897
1912
  }
1898
1913
  }
1899
1914
 
1900
1915
  .e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell,
1901
1916
  .e-rte-elements.e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
1902
1917
  @if $skin-name == 'fluent2' {
1903
- margin: 0;
1918
+ margin: $rte-table-tablecell-small-margin;
1904
1919
  }
1905
1920
  @else {
1906
- margin: 1px;
1921
+ margin: $rte-table-tablecell-large-margin;
1907
1922
  }
1908
1923
  }
1909
1924
 
1910
1925
  .e-rte-elements{
1911
1926
  .e-rte-table-popup.e-popup-open{
1912
1927
  .e-rte-table-row {
1913
- height: 16px;
1928
+ height: $rte-table-popup-row-height;
1914
1929
  }
1930
+
1915
1931
  .e-insert-table-btn {
1916
1932
  @if $skin-name == 'FluentUI' {
1917
1933
  margin-top: $rte-table-popup-btn-margin-top;
1918
1934
  }
1919
- width: 100%;
1935
+ width: $rte-insert-table-btn-width;
1920
1936
  }
1921
1937
  .e-rte-tablecell {
1922
1938
  border: $rte-table-span-border;
1923
1939
  display: inline-block;
1924
- height: 14px;
1925
- margin: 1px;
1940
+ height: $rte-table-popup-tablecell-height;
1941
+ margin: $rte-table-open-tablecell-margin;
1926
1942
  overflow: hidden;
1927
1943
  vertical-align: top;
1928
- width: 14px;
1944
+ width: $rte-table-popup-tablecell-width;
1929
1945
  }
1930
1946
  }
1931
1947
  .e-rte-table-popup.e-popup.e-popup-open {
1932
- border-radius: $rte-table-popup-bdr-radius;
1948
+ border-radius: $rte-table-popup-border-radius;
1933
1949
  box-shadow: $rte-table-popup-box;
1934
- font-size: 14px;
1935
- font-weight: normal;
1950
+ font-size: $rte-popup-open-font-size;
1951
+ font-weight: $rte-popup-open-font-weight;
1936
1952
  min-width: 120px;
1937
1953
  overflow: hidden;
1938
1954
  padding: $rte-table-popup-padding;
1939
1955
  }
1940
1956
  &.e-dropdown-popup.e-popup.e-font-size-tbar-btn.e-popup-open {
1941
- width: 95px;
1957
+ min-width: 95px;
1942
1958
  }
1943
1959
  &.e-dropdown-popup.e-rte-codeblock-dropdown.e-popup-open ul {
1944
- max-height: 300px;
1960
+ max-height: $rte-codeblock-dropdown-popup-max-height;
1945
1961
  overflow: auto;
1946
1962
  }
1947
1963
  }
@@ -1952,13 +1968,13 @@
1952
1968
  .e-vid-uploadwrap.e-droparea .e-rte-upload-text,
1953
1969
  .e-word-uploadwrap.e-droparea .e-rte-upload-text {
1954
1970
  display: inline-block;
1955
- line-height: normal;
1971
+ line-height: $rte-uploadwrap-droparea-upload-text-line-height;
1956
1972
  }
1957
1973
  .e-img-uploadwrap.e-droparea,
1958
1974
  .e-aud-uploadwrap.e-droparea,
1959
1975
  .e-vid-uploadwrap.e-droparea,
1960
1976
  .e-word-uploadwrap.e-droparea {
1961
- line-height: $rte-droparea-line-height;
1977
+ // line-height: 10;//No UI affected so removed
1962
1978
  min-height: 50px;
1963
1979
  position: relative;
1964
1980
  }
@@ -1968,7 +1984,7 @@
1968
1984
  .e-word-uploadwrap.e-droparea .e-browsebtn {
1969
1985
  display: block;
1970
1986
  height: $rte-droparea-browsebtn-height;
1971
- margin: 0 auto 10px;
1987
+ margin: $rte-media-droparea-browsebtn-margin;
1972
1988
  padding: $rte-droparea-browsebtn-padding;
1973
1989
  position: relative;
1974
1990
  @if $skin-name == 'FluentUI' {
@@ -1996,13 +2012,13 @@
1996
2012
  }
1997
2013
  .e-toolbar-wrapper,
1998
2014
  .e-toolbar-container {
1999
- height: auto;
2015
+ height: $rte-toolbar-wrapper-container-height;
2000
2016
  z-index: 10;
2001
2017
  white-space: nowrap;
2002
2018
  }
2003
2019
  .e-toolbar .e-toolbar-pop.e-toolbar-extended {
2004
2020
  position: relative;
2005
- width: 100%;
2021
+ width: $rte-pop-toolbar-extended-width;
2006
2022
  top: 0 !important; /* stylelint-disable-line declaration-no-important */
2007
2023
  left: 0 !important; /* stylelint-disable-line declaration-no-important */
2008
2024
  }
@@ -2035,14 +2051,14 @@
2035
2051
  @if $skin-name == 'Material3' {
2036
2052
  .e-richtexteditor .e-rte-table-popup .e-insert-table-btn {
2037
2053
  font-weight: $font-weight;
2038
- border: 1px solid rgba($info-outline-border);
2039
- border-radius: 20px;
2054
+ border: $rte-insert-table-btn-border;
2055
+ border-radius: $rte-insert-table-btn-border-radius;
2040
2056
  }
2041
2057
  .e-dialog .e-dlg-header-content + .e-dlg-content{
2042
- padding-top: 0;
2058
+ padding-top: $rte-dlg-header-content-padding-top;
2043
2059
  }
2044
2060
  .e-rte-link-dialog .e-dlg-content{
2045
- padding: 7px 20px;
2061
+ padding: $rte-link-dlg-content-padding;
2046
2062
  }
2047
2063
  }
2048
2064
 
@@ -2053,24 +2069,48 @@
2053
2069
  }
2054
2070
  .e-dialog {
2055
2071
  .e-radio + label {
2056
- margin: 0;
2072
+ margin: $rte-dialog-radio-small-margin;
2057
2073
  }
2058
2074
  }
2059
2075
  }
2060
2076
  .e-rte-container{
2061
- border-radius: 4px;
2077
+ border-radius: $rte-container-border-radius;
2062
2078
  }
2063
2079
  .e-richtexteditor{
2064
- border-radius: 4px;
2080
+ border-radius: $rte-border-radius;
2065
2081
  .e-toolbar .e-hor-nav {
2066
- border-radius: 0 4px 0 0;
2082
+ border-radius: $rte-toolbar-border-radius;
2067
2083
  }
2068
2084
  .e-rte-content {
2069
- border-radius: 0 0 4px 4px;
2085
+ border-radius: $rte-toolbar-container-border-radius;
2070
2086
  }
2071
2087
  }
2072
2088
  .e-richtexteditor .e-toolbar-wrapper{
2073
- border-radius: 4px 4px 0 0;
2089
+ border-radius: $rte-toolbar-wrapper-border-radius;
2090
+ border-top-left-radius: $rte-top-left-border-radius;
2091
+ border-top-right-radius: $rte-top-right-border-radius;
2092
+ }
2093
+
2094
+ .e-richtexteditor.e-rte-tb-expand {
2095
+ border-radius: $rte-big-tb-expand-border-radius;
2096
+ }
2097
+ .e-richtexteditor.e-rte-tb-expand .e-rte-toolbar.e-extended-toolbar,
2098
+ .e-richtexteditor.e-rte-tb-expand .e-rte-toolbar .e-toolbar-extended {
2099
+ border-top-left-radius: $rte-top-left-border-radius;
2100
+ border-top-right-radius: $rte-top-right-border-radius;
2101
+ }
2102
+ .e-rte-toolbar .e-toolbar-items {
2103
+ border-top-left-radius: $rte-toolbar-items-top-left-border-radius;
2104
+ }
2105
+ .e-rte-toolbar .e-hor-nav {
2106
+ border-top-right-radius: $rte-top-right-border-radius;
2107
+ }
2108
+ .e-rtl .e-rte-toolbar .e-hor-nav {
2109
+ border-top-left-radius: $rte-top-left-border-radius;
2110
+ border-top-right-radius: $rte-top-right-border-radius;
2111
+ }
2112
+ .e-rtl .e-rte-toolbar .e-toolbar-items {
2113
+ border-top-right-radius: $rte-toolbar-items-top-left-border-radius;
2074
2114
  }
2075
2115
  }
2076
2116
 
@@ -2078,51 +2118,51 @@
2078
2118
  .e-rte-elements.e-slash-menu {
2079
2119
  .e-rte-quotes::before {
2080
2120
  content: open-quote;
2081
- font-size: 30px;
2082
- line-height: 20px;
2121
+ font-size: $rte-slash-menu-content-font-size;
2122
+ line-height: $rte-slash-menu-content-line-height;
2083
2123
  }
2084
2124
 
2085
2125
  .e-rte-paragraph::before {
2086
2126
  content: 'T';
2087
- font-size: 15px;
2127
+ font-size: $rte-slash-menu-para-before-font-size;
2088
2128
  }
2089
2129
 
2090
2130
  .e-rte-h1::before {
2091
2131
  content: 'H1';
2092
- font-size: 13px;
2132
+ font-size: $rte-slash-menu-h1-before-font-size;
2093
2133
  }
2094
2134
 
2095
2135
  .e-rte-h2::before {
2096
2136
  content: 'H2';
2097
- font-size: 13px;
2137
+ font-size: $rte-slash-menu-h2-before-font-size;
2098
2138
  }
2099
2139
 
2100
2140
  .e-rte-h3::before {
2101
2141
  content: 'H3';
2102
- font-size: 13px;
2142
+ font-size: $rte-slash-menu-h3-before-font-size;
2103
2143
  }
2104
2144
 
2105
2145
  .e-rte-h4::before {
2106
2146
  content: 'H4';
2107
- font-size: 13px;
2147
+ font-size: $rte-slash-menu-h4-before-font-size;
2108
2148
  }
2109
2149
 
2110
2150
  .e-rte-slash-menu-item-text {
2111
- font-size: 14px;
2151
+ font-size: $rte-slash-menu-item-text-font-size;
2112
2152
  display: block;
2113
- line-height: 20px;
2114
- padding: 5px 0 1px;
2153
+ line-height: $rte-slash-menu-item-text-line-height;
2154
+ padding: $rte-slash-menu-item-text-padding;
2115
2155
  }
2116
2156
 
2117
2157
  .e-rte-slash-menu-item-description {
2118
2158
  display: block;
2119
- line-height: 20px;
2120
- font-size: 11px;
2121
- padding: 1px 0 5px;
2159
+ line-height: $rte-slash-menu-item-description-line-height;
2160
+ font-size: $rte-slash-menu-item-description-font-size;
2161
+ padding: $rte-slash-menu-item-description-padding;
2122
2162
  }
2123
2163
 
2124
2164
  .e-slash-menu-icon {
2125
- line-height: 0;
2165
+ // line-height: 0;//No UI affected so removed
2126
2166
  display: inline-block;
2127
2167
  width: 50px;
2128
2168
  font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
@@ -2131,12 +2171,12 @@
2131
2171
  .e-rte-slash-menu-item-content-description {
2132
2172
  display: grid;
2133
2173
  grid-template-columns: auto 1fr;
2134
- gap: 10px;
2174
+ gap: $rte-slashmenu-description-gap;
2135
2175
  align-items: center;
2136
2176
  }
2137
2177
 
2138
2178
  .e-rte-slash-menu-item-content-description .e-slash-menu-icon {
2139
- padding: 15px;
2179
+ padding: $rte-slash-menu-icon-padding;
2140
2180
  }
2141
2181
 
2142
2182
  .e-rte-slash-menu-item-content-description .e-rte-slash-menu-item-text-column {
@@ -2146,7 +2186,7 @@
2146
2186
 
2147
2187
  .e-rte-slash-menu-item-content-description .e-rte-slash-menu-item-text,
2148
2188
  .e-rte-slash-menu-item-content-text {
2149
- font-weight: 500;
2189
+ font-weight: $rte-slash-menu-content-text-font-weight;
2150
2190
  }
2151
2191
 
2152
2192
  .e-rte-slash-menu-item-content-text {
@@ -2157,7 +2197,7 @@
2157
2197
  }
2158
2198
 
2159
2199
  .e-rte-slash-menu-item-content-text .e-slash-menu-icon {
2160
- margin-left: 15px;
2200
+ margin-left: $rte-slash-menu-icon-margin-left;
2161
2201
  width: 30px;
2162
2202
  }
2163
2203
  }
@@ -2188,8 +2228,8 @@
2188
2228
  &::after {
2189
2229
  content: '';
2190
2230
  position: absolute;
2191
- width: 0;
2192
- height: 0;
2231
+ width: $rte-tip-pointer-before-after-width;
2232
+ height: $rte-tip-pointer-before-after-height;
2193
2233
  pointer-events: none;
2194
2234
  }
2195
2235
 
@@ -2247,17 +2287,16 @@
2247
2287
  }
2248
2288
 
2249
2289
  .e-richtexteditor {
2250
- .e-rte-container.e-count-enabled:not(:has(.e-rte-tb-bottom)),
2251
- .e-rte-container.e-resize-enabled:not(:has(.e-rte-tb-bottom)) {
2290
+ .e-rte-container.e-resize-enabled:not(.e-rte-tb-bottom):not(.e-count-enabled) {
2252
2291
  .e-rte-content,
2253
2292
  .e-source-content {
2254
- margin-bottom: 20px;
2293
+ margin-bottom: $rte-resize-bar-margin-bottom;
2255
2294
  }
2256
2295
  }
2257
2296
  }
2258
2297
 
2259
2298
  .e-richtexteditor .e-rte-toolbar .e-toolbar-pop.e-toolbar-extended {
2260
- margin-left: 0;
2299
+ margin-left: $rte-toolbar-poup-extended-margin-left;
2261
2300
  }
2262
2301
 
2263
2302
  //toolbar popup min height over riding start
@@ -2265,7 +2304,6 @@
2265
2304
  background: $rte-popup-bg;
2266
2305
  .e-toolbar-item.e-toolbar-popup {
2267
2306
  min-height: $rte-popup-item-min-height;
2268
- height: $rte-popup-item-min-height;
2269
2307
  }
2270
2308
  }
2271
2309
 
@@ -2276,29 +2314,29 @@
2276
2314
  .e-tbar-btn.e-btn {
2277
2315
  min-height: $rte-split-btn-height;
2278
2316
  min-width: $rte-split-btn-height;
2279
- padding: 0;
2317
+ padding: $rte-toolbar-tbar-btn-padding; //4.toolbar tbar-btn padding need to confirm and remove
2280
2318
  &:hover,
2281
2319
  &:active,
2282
2320
  &:focus,
2283
2321
  &.e-active {
2284
2322
  border: $rte-hover-split-btn-border;
2285
- padding: 0;
2323
+ padding: $rte-toolbar-tbar-btn-hover-padding; //4.toolbar tbar-btn padding need to confirm and remove
2286
2324
  }
2287
2325
  .e-icons {
2288
- padding: 0;
2326
+ padding: $rte-toolbar-tbar-btn-icons-padding; //4.toolbar tbar-btn padding need to confirm and remove
2289
2327
  }
2290
2328
  }
2291
2329
  .e-tbar-btn:not(:hover):not(:focus):not(:active):not(.e-active) {
2292
2330
  border: $rte-split-btn-border;
2293
2331
  }
2294
2332
  }
2295
- .e-rte-toolbar .e-toolbar-pop:not(.e-toolbar-extended) .e-toolbar-item.e-toolbar-popup {
2296
- .e-tbar-btn:hover .e-icons {
2333
+ .e-rte-toolbar .e-toolbar-pop:not(.e-toolbar-extended) {
2334
+ .e-toolbar-item.e-toolbar-popup:not(.e-overlay) .e-tbar-btn:hover .e-icons {
2297
2335
  @if $theme-name == 'bootstrap5.3' {
2298
2336
  color: $rte-hover-icons-color;
2299
2337
  }
2300
2338
  }
2301
- .e-tbar-btn:not(:hover):not(:focus):not(:active):not(.e-active) {
2339
+ .e-toolbar-item.e-toolbar-popup .e-tbar-btn:not(:hover):not(:focus):not(:active):not(.e-active) {
2302
2340
  @if $theme-name == 'bootstrap4' {
2303
2341
  background: $rte-default-btn-bg;
2304
2342
  }
@@ -2308,7 +2346,7 @@
2308
2346
 
2309
2347
  @if $theme-name == 'material' or $theme-name == 'material-dark' {
2310
2348
  .e-richtexteditor .e-rte-toolbar:not(.e-rte-inline-toolbar) .e-toolbar-item .e-tbar-btn.e-btn {
2311
- margin: 0;
2349
+ margin: $rte-tbar-btn-small-margin;
2312
2350
  }
2313
2351
  }
2314
2352
 
@@ -2318,3 +2356,60 @@
2318
2356
  order: 999;
2319
2357
  bottom: 0;
2320
2358
  }
2359
+
2360
+ .e-rte-aiquery-popup {
2361
+ min-height: 100px;
2362
+ overflow: hidden;
2363
+ display: flex !important; /* stylelint-disable-line declaration-no-important */
2364
+ flex-direction: column;
2365
+ .e-rte-ai-assit-content-container {
2366
+ flex: 1 1 auto;
2367
+ display: flex;
2368
+ flex-direction: column;
2369
+ min-height: 0;
2370
+ width: 100%;
2371
+ }
2372
+
2373
+ .e-aiassistview {
2374
+ flex: 1 1 auto;
2375
+ display: flex;
2376
+ flex-direction: column;
2377
+ min-height: 0;
2378
+ height: auto !important; /* stylelint-disable-line declaration-no-important */
2379
+ .e-view-header {
2380
+ flex: 0 0 auto;
2381
+ }
2382
+ .e-view-content {
2383
+ flex: 1 1 auto;
2384
+ overflow-y: auto;
2385
+ overflow-x: hidden;
2386
+ min-height: 0;
2387
+ }
2388
+ .e-view-container {
2389
+ margin: auto;
2390
+ }
2391
+ .e-rte-icon-btn-disabled {
2392
+ pointer-events: none;
2393
+ opacity: .5;
2394
+ cursor: not-allowed;
2395
+ }
2396
+ .banner-content {
2397
+ display: flex;
2398
+ flex-direction: column;
2399
+ justify-content: center;
2400
+ height: 230px;
2401
+ text-align: center;
2402
+ & .e-assistview-icon::before {
2403
+ font-size: 35px;
2404
+ }
2405
+ }
2406
+ .e-footer {
2407
+ width: 85%;
2408
+ }
2409
+ }
2410
+ }
2411
+
2412
+ //Added for export button
2413
+ .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-progress-btn.e-tbar-btn.e-spin-center {
2414
+ line-height: 2px;
2415
+ }