@syncfusion/ej2-fabric-theme 34.2.8 → 35.1.37

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 (120) hide show
  1. package/package.json +2 -2
  2. package/styles/ai-assistview/_bigger.scss +9 -1
  3. package/styles/ai-assistview/_fabric-definition.scss +3 -0
  4. package/styles/ai-assistview/_layout.scss +77 -11
  5. package/styles/ai-assistview/_theme.scss +12 -1
  6. package/styles/ai-assistview/ai-assistview-lite.css +129 -28
  7. package/styles/ai-assistview/ai-assistview.css +144 -30
  8. package/styles/base/base.css +76 -8
  9. package/styles/base/common/_core.scss +39 -6
  10. package/styles/base/definition/_fabric.scss +19 -0
  11. package/styles/compatibility/fabric.css +1 -1
  12. package/styles/document-editor-container/_layout.scss +2 -0
  13. package/styles/excel-filter/_bigger.scss +1 -1
  14. package/styles/fabric-lite.css +3 -0
  15. package/styles/fabric-lite.scss +3 -0
  16. package/styles/fabric.css +3 -0
  17. package/styles/fabric.scss +3 -0
  18. package/styles/file-manager/_layout.scss +14 -3
  19. package/styles/file-manager/file-manager-lite.css +10 -2
  20. package/styles/file-manager/file-manager.css +10 -2
  21. package/styles/form-builder/_all.scss +2 -0
  22. package/styles/form-builder/_fabric-definition.scss +84 -0
  23. package/styles/form-builder/_layout.scss +2550 -0
  24. package/styles/form-builder/_mixin.scss +26 -0
  25. package/styles/form-builder/_theme.scss +711 -0
  26. package/styles/form-builder/_variables.scss +2 -0
  27. package/styles/form-builder/form-builder.css +2872 -0
  28. package/styles/form-builder/form-builder.scss +2 -0
  29. package/styles/form-builder/index.css +53 -0
  30. package/styles/form-builder/index.scss +53 -0
  31. package/styles/form-renderer/_layout.scss +83 -83
  32. package/styles/form-renderer/_theme.scss +19 -14
  33. package/styles/form-renderer/form-renderer.css +96 -93
  34. package/styles/gantt/_layout.scss +4 -0
  35. package/styles/gantt/gantt-lite.css +3 -0
  36. package/styles/gantt/gantt.css +3 -0
  37. package/styles/grid/_bigger.scss +70 -3
  38. package/styles/grid/_fabric-definition.scss +29 -0
  39. package/styles/grid/_layout.scss +423 -2
  40. package/styles/grid/_theme.scss +4 -1
  41. package/styles/grid/grid-lite.css +458 -2
  42. package/styles/grid/grid.css +519 -4
  43. package/styles/grid/icons/_fabric.scss +4 -0
  44. package/styles/headless-editor/_all.scss +2 -0
  45. package/styles/headless-editor/_bigger.scss +138 -0
  46. package/styles/headless-editor/_fabric-definition.scss +217 -0
  47. package/styles/headless-editor/_layout.scss +672 -0
  48. package/styles/headless-editor/_theme.scss +260 -0
  49. package/styles/headless-editor/_variables.scss +2 -0
  50. package/styles/headless-editor/headless-editor-lite.css +859 -0
  51. package/styles/headless-editor/headless-editor-lite.scss +2 -0
  52. package/styles/headless-editor/headless-editor.css +1003 -0
  53. package/styles/headless-editor/headless-editor.scss +3 -0
  54. package/styles/headless-editor/index-lite.css +2 -0
  55. package/styles/headless-editor/index-lite.scss +2 -0
  56. package/styles/headless-editor/index.css +2 -0
  57. package/styles/headless-editor/index.scss +2 -0
  58. package/styles/icons/fabric.css +37 -1
  59. package/styles/icons/fabric.scss +13 -1
  60. package/styles/kanban/_layout.scss +1 -1
  61. package/styles/kanban/kanban-lite.css +1 -1
  62. package/styles/kanban/kanban.css +1 -1
  63. package/styles/multi-select/_layout.scss +9 -0
  64. package/styles/multi-select/multi-select-lite.css +8 -0
  65. package/styles/multi-select/multi-select.css +8 -0
  66. package/styles/pager/_layout.scss +4 -0
  67. package/styles/pager/pager-lite.css +3 -0
  68. package/styles/pager/pager.css +3 -0
  69. package/styles/pdfviewer/_bigger.scss +162 -0
  70. package/styles/pdfviewer/_fabric-definition.scss +9 -0
  71. package/styles/pdfviewer/_theme.scss +2012 -46
  72. package/styles/pdfviewer/icons/_fabric.scss +44 -0
  73. package/styles/pdfviewer/pdfviewer-lite.css +1088 -43
  74. package/styles/pdfviewer/pdfviewer.css +1122 -53
  75. package/styles/pivotview/_layout.scss +8 -0
  76. package/styles/pivotview/_theme.scss +12 -3
  77. package/styles/pivotview/pivotview-lite.css +6 -2
  78. package/styles/pivotview/pivotview.css +6 -2
  79. package/styles/radio-button/_bigger.scss +1 -1
  80. package/styles/radio-button/_layout.scss +2 -2
  81. package/styles/ribbon/_layout.scss +12 -0
  82. package/styles/ribbon/ribbon-lite.css +4 -0
  83. package/styles/ribbon/ribbon.css +4 -0
  84. package/styles/rich-text-editor/_bigger.scss +7 -7
  85. package/styles/rich-text-editor/_fabric-definition.scss +2 -2
  86. package/styles/rich-text-editor/_layout.scss +16 -12
  87. package/styles/rich-text-editor/_theme.scss +3 -1
  88. package/styles/rich-text-editor/rich-text-editor-lite.css +21 -18
  89. package/styles/rich-text-editor/rich-text-editor.css +35 -32
  90. package/styles/richtexteditor-ui/_all.scss +2 -0
  91. package/styles/richtexteditor-ui/_bigger.scss +178 -0
  92. package/styles/richtexteditor-ui/_fabric-definition.scss +275 -0
  93. package/styles/richtexteditor-ui/_layout.scss +902 -0
  94. package/styles/richtexteditor-ui/_mixin.scss +45 -0
  95. package/styles/richtexteditor-ui/_theme.scss +653 -0
  96. package/styles/richtexteditor-ui/_variables.scss +2 -0
  97. package/styles/richtexteditor-ui/icons/_fabric.scss +13 -0
  98. package/styles/richtexteditor-ui/index-lite.css +22 -0
  99. package/styles/richtexteditor-ui/index-lite.scss +22 -0
  100. package/styles/richtexteditor-ui/index.css +22 -0
  101. package/styles/richtexteditor-ui/index.scss +22 -0
  102. package/styles/richtexteditor-ui/richtexteditor-ui-lite.css +1104 -0
  103. package/styles/richtexteditor-ui/richtexteditor-ui-lite.scss +3 -0
  104. package/styles/richtexteditor-ui/richtexteditor-ui.css +1228 -0
  105. package/styles/richtexteditor-ui/richtexteditor-ui.scss +4 -0
  106. package/styles/schedule/_layout.scss +0 -5
  107. package/styles/schedule/schedule-lite.css +0 -4
  108. package/styles/schedule/schedule.css +0 -4
  109. package/styles/spreadsheet/_bigger.scss +13 -0
  110. package/styles/spreadsheet/_fabric-definition.scss +2 -1
  111. package/styles/spreadsheet/_layout.scss +530 -3
  112. package/styles/spreadsheet/_theme.scss +143 -0
  113. package/styles/spreadsheet/spreadsheet-lite.css +423 -3
  114. package/styles/spreadsheet/spreadsheet.css +430 -3
  115. package/styles/spreadsheet-ribbon/_fabric-definition.scss +2 -0
  116. package/styles/spreadsheet-ribbon/_layout.scss +12 -0
  117. package/styles/spreadsheet-ribbon/spreadsheet-ribbon-lite.css +9 -0
  118. package/styles/spreadsheet-ribbon/spreadsheet-ribbon.css +9 -0
  119. package/styles/treegrid/_bigger.scss +1 -1
  120. package/styles/treegrid/_layout.scss +1 -1
@@ -0,0 +1,672 @@
1
+ @use 'variables' as *;
2
+ @include export-module('headless-editor-layout') {
3
+
4
+ /* ======== Main Editor ======== */
5
+ .e-headless-editor {
6
+ font-family: $he-font-family;
7
+ font-size: $he-font-size;
8
+ font-weight: $he-font-weight;
9
+
10
+ /* Use a unitless value so the line-height scales proportionally with each element's font size. */
11
+ line-height: 1.428571;
12
+ overflow: auto;
13
+ overflow-x: hidden;
14
+ outline: none;
15
+ > :first-child {
16
+ outline: none;
17
+ position: relative;
18
+ word-wrap: break-word;
19
+ white-space: pre-wrap;
20
+ white-space: break-spaces;
21
+ tab-size: 4;
22
+ padding: 0 10px;
23
+ }
24
+
25
+ h1,
26
+ h2,
27
+ h3,
28
+ h4,
29
+ h5,
30
+ h6,
31
+ p {
32
+ margin: $he-heading-margin;
33
+ padding: $he-heading-padding;
34
+ }
35
+ h1 {
36
+ font-size: $he-h1-font-size;
37
+ font-weight: $he-h1-font-weight;
38
+ line-height: $he-h1-line-height;
39
+ }
40
+
41
+ h2 {
42
+ font-size: $he-h2-font-size;
43
+ font-weight: $he-h2-font-weight;
44
+ line-height: $he-h2-line-height;
45
+ }
46
+
47
+ h3 {
48
+ font-size: $he-h3-font-size;
49
+ font-weight: $he-h3-font-weight;
50
+ line-height: $he-h3-line-height;
51
+ }
52
+
53
+ h4 {
54
+ font-size: $he-h4-font-size;
55
+ font-weight: $he-h4-font-weight;
56
+ line-height: $he-h4-line-height;
57
+ }
58
+
59
+ h5 {
60
+ font-size: $he-h5-font-size;
61
+ font-weight: $he-h5-font-weight;
62
+ line-height: $he-h5-line-height;
63
+ }
64
+
65
+ h6 {
66
+ font-size: $he-h6-font-size;
67
+ line-height: $he-h6-font-weight;
68
+ line-height: $he-h6-line-height;
69
+ }
70
+
71
+ blockquote {
72
+ font-size: inherit;
73
+ border-left-width: $he-blockquote-left-width;
74
+ border-left-style: solid;
75
+ padding: 0 0 0 $he-blockquote-text-padding;
76
+ margin: $he-blockquote-margin;
77
+ }
78
+
79
+ /* Task List */
80
+ ul[data-type = 'taskList'] {
81
+ list-style: none;
82
+ margin-left: 0;
83
+ padding: 0;
84
+ > li {
85
+ flex-direction: row;
86
+ align-items: flex-start;
87
+ display: flex;
88
+ > label {
89
+ padding-top: $he-checklist-padding-top;
90
+ padding-right: $he-checklist-padding-right;
91
+ position: relative;
92
+ input {
93
+ width: $he-checkbox-width;
94
+ height: $he-checkbox-height;
95
+ }
96
+ }
97
+
98
+ div {
99
+ flex: 1 1 auto;
100
+ min-width: 0;
101
+ }
102
+ }
103
+ }
104
+
105
+ /* Callout */
106
+ [data-type = 'callout'] {
107
+ display: flex;
108
+ align-items: center;
109
+ gap: $he-callout-icon-gap;
110
+ padding: $he-callout-padding;
111
+ border-radius: 6px;
112
+ margin: 8px 0;
113
+
114
+ .e-callout-icon {
115
+ flex: 0 0 auto;
116
+ cursor: default;
117
+ user-select: none;
118
+ padding: unset;
119
+ border: none;
120
+ background-color: transparent;
121
+ display: flex;
122
+ align-items: center;
123
+ justify-content: center;
124
+ align-self: flex-start;
125
+ width: $he-callout-icon-width;
126
+ height: $he-callout-icon-height;
127
+ padding-top: $he-callout-icon-padding-top;
128
+
129
+ svg {
130
+ width: $he-callout-icon-width;
131
+ height: $he-callout-icon-height;
132
+ }
133
+ }
134
+
135
+ .e-callout-content {
136
+ flex: 1;
137
+ min-width: 0;
138
+
139
+ > *:first-child {
140
+ margin-top: 0;
141
+ }
142
+
143
+ > *:last-child {
144
+ margin-bottom: 0;
145
+ }
146
+ }
147
+ }
148
+
149
+ /* collapsible */
150
+ [data-type = 'collapsible'] {
151
+ margin: 8px 0;
152
+ .e-collapsible-body-content {
153
+ padding-left: calc($he-collapsible-header-gap + $he-toggle-icon-width);
154
+ }
155
+ }
156
+ [data-type = 'collapsible'][data-collapsed = 'true'] .e-collapsible-body-content {
157
+ display: none;
158
+ }
159
+ [data-role = 'collapsible-header'] {
160
+ display: flex;
161
+ align-items: center;
162
+ gap: $he-collapsible-header-gap;
163
+
164
+ /* Collapsible toggle button */
165
+ .e-toggle-btn {
166
+ flex: 0 0 auto;
167
+ display: inline-flex;
168
+ align-items: center;
169
+ justify-content: center;
170
+ width: $he-toggle-icon-width;
171
+ height: $he-toggle-icon-height;
172
+ padding: 0;
173
+ border-radius: 4px;
174
+ font: inherit;
175
+ cursor: pointer;
176
+ user-select: none;
177
+
178
+ svg {
179
+ width: $he-toggle-icon-width;
180
+ height: $he-toggle-icon-height;
181
+ }
182
+ }
183
+
184
+ .e-collapsible-header-content {
185
+ flex: 1;
186
+ > * {
187
+ margin: 0;
188
+ }
189
+ }
190
+ }
191
+
192
+ /* List Block Styles */
193
+ ul,
194
+ ol {
195
+ margin: unset;
196
+ padding-left: 21px;
197
+ }
198
+
199
+ li {
200
+ margin: unset;
201
+ position: relative;
202
+ }
203
+
204
+ /* Prosemirror dynamic styles */
205
+ li.ProseMirror-selectednode {
206
+ outline: none;
207
+ }
208
+
209
+ li.ProseMirror-selectednode::after {
210
+ content: '';
211
+ position: absolute;
212
+ left: -32px;
213
+ right: -2px;
214
+ top: -2px;
215
+ bottom: -2px;
216
+ pointer-events: none;
217
+ }
218
+
219
+ a {
220
+ text-decoration: none;
221
+ user-select: auto;
222
+ cursor: pointer;
223
+
224
+ &:hover {
225
+ text-decoration: underline;
226
+ }
227
+ }
228
+
229
+ /* Inline code */
230
+ code {
231
+ &:not(pre *) {
232
+ font-size: inherit;
233
+ font-weight: inherit;
234
+ line-height: inherit;
235
+ padding: $he-inline-code-padding;
236
+ border-radius: $he-inline-code-border-radius;
237
+ white-space: pre-wrap;
238
+ }
239
+ }
240
+
241
+ /* Code Block Styles */
242
+ .e-code-block {
243
+ border-radius: $he-code-block-border-radius;
244
+ overflow: hidden;
245
+ margin: 8px 0;
246
+
247
+ pre {
248
+ min-height: 100px;
249
+ max-height: 200px;
250
+ margin: $he-code-block-pre-margin;
251
+ padding: $he-code-block-padding;
252
+ border: $he-code-block-pre-border;
253
+ border-radius: $he-code-block-pre-radius;
254
+ overflow-x: auto;
255
+ font-size: $he-font-size;
256
+ line-height: $he-line-height;
257
+ white-space: break-spaces;
258
+ word-break: inherit;
259
+ word-wrap: break-word;
260
+ font-family: $he-code-block-font-family;
261
+ }
262
+ }
263
+
264
+ /* ======== Divider Blocks Level styles ======== */
265
+ hr[contenteditable = 'false'] {
266
+ margin-block: $he-divider-margin-block;
267
+ &:hover,
268
+ &.ProseMirror-selectednode {
269
+ margin-left: 7px;
270
+ }
271
+ }
272
+
273
+ /* Table Styles */
274
+ .tableWrapper {
275
+ overflow-x: auto;
276
+ margin: 12px 0;
277
+ table {
278
+ border-collapse: collapse;
279
+ table-layout: fixed;
280
+ width: 100%;
281
+ overflow: hidden;
282
+
283
+ td,
284
+ th {
285
+ min-width: 60px;
286
+ box-sizing: border-box;
287
+ vertical-align: top;
288
+ position: relative;
289
+ text-align: left;
290
+ }
291
+
292
+ th {
293
+ height: $he-table-heading-height;
294
+ padding: $he-table-heading-padding;
295
+ font-weight: $he-table-heading-font-weight;
296
+ font-size: $he-table-heading-font-size;
297
+ line-height: $he-table-heading-line-height;
298
+ text-overflow: ellipsis;
299
+ overflow: hidden;
300
+ white-space: nowrap;
301
+ &:focus,
302
+ &:focus-within {
303
+ text-overflow: clip;
304
+ }
305
+ }
306
+
307
+ td {
308
+ height: $he-table-col-height;
309
+ padding: $he-table-col-padding;
310
+ font-weight: $he-table-col-font-weight;
311
+ font-size: $he-table-col-font-size;
312
+ line-height: $he-table-col-line-height;
313
+ }
314
+
315
+ td:not([data-colwidth]):not(.column-resize-dragging),
316
+ th:not([data-colwidth]):not(.column-resize-dragging) {
317
+ min-width: var(--default-cell-min-width);
318
+ }
319
+
320
+ .column-resize-handle {
321
+ position: absolute;
322
+ right: 0;
323
+ top: 0;
324
+ bottom: 0;
325
+ width: 2px;
326
+ z-index: 20;
327
+ pointer-events: none;
328
+ }
329
+ }
330
+ }
331
+
332
+ .resize-cursor {
333
+ cursor: ew-resize;
334
+ cursor: col-resize;
335
+ }
336
+
337
+ /* ======== Placeholder Styles ======== */
338
+ .e-placeholder-is-empty::before {
339
+ content: attr(data-placeholder);
340
+ float: left;
341
+ height: 0;
342
+ pointer-events: none;
343
+ }
344
+
345
+ /* Block Image Styles */
346
+ /* Resizable NodeView */
347
+ .e-resizable-wrapper {
348
+ &.ProseMirror-selectednode {
349
+ outline: none;
350
+ }
351
+ position: relative;
352
+ display: inline-block;
353
+ overflow: visible;
354
+ line-height: 0; /* Prevents extra space around inline elements */
355
+
356
+ /* Inline image text wrapping */
357
+ &.e-img-wrap-left {
358
+ float: left;
359
+ margin-right: 16px;
360
+ margin-bottom: 8px;
361
+ }
362
+
363
+ &.e-img-wrap-right {
364
+ float: right;
365
+ margin-left: 16px;
366
+ margin-bottom: 8px;
367
+ }
368
+
369
+ /* Inline image alignment */
370
+ &.e-img-align-left {
371
+ display: block;
372
+ width: fit-content;
373
+ margin-left: 0;
374
+ margin-right: 0;
375
+ }
376
+
377
+ &.e-img-align-center {
378
+ display: block;
379
+ width: fit-content;
380
+ margin-left: auto;
381
+ margin-right: auto;
382
+ }
383
+
384
+ &.e-img-align-right {
385
+ display: block;
386
+ width: fit-content;
387
+ margin-left: auto;
388
+ margin-right: 0;
389
+ }
390
+
391
+ .e-resizable-handle {
392
+ position: absolute;
393
+ z-index: 9999;
394
+ width: 10px;
395
+ height: 10px;
396
+ background: $he-resizable-handle-bg-color;
397
+ border: 1px solid $he-resizable-handle-border-color;
398
+ border-radius: 1px;
399
+ box-sizing: border-box;
400
+ user-select: none;
401
+ touch-action: none;
402
+
403
+ /* Ensure handles are never clipped by parent overflow */
404
+ pointer-events: auto;
405
+
406
+ /* Corner handles: positioned at -5px so handle center aligns with image corner */
407
+ &[data-resize-handle = 'top-left'] {
408
+ top: -5px;
409
+ left: -5px;
410
+ cursor: nwse-resize;
411
+ }
412
+
413
+ &[data-resize-handle = 'top-right'] {
414
+ top: -5px;
415
+ right: -5px;
416
+ cursor: nesw-resize;
417
+ }
418
+
419
+ &[data-resize-handle = 'bottom-left'] {
420
+ bottom: -5px;
421
+ left: -5px;
422
+ cursor: nesw-resize;
423
+ }
424
+
425
+ &[data-resize-handle = 'bottom-right'] {
426
+ right: -5px;
427
+ bottom: -5px;
428
+ cursor: nwse-resize;
429
+ }
430
+
431
+ /* Edge handles: centered on each edge */
432
+ &[data-resize-handle = 'top'],
433
+ &[data-resize-handle = 'bottom'] {
434
+ left: 50%;
435
+ transform: translateX(-50%);
436
+ }
437
+
438
+ &[data-resize-handle = 'top'] {
439
+ top: -5px;
440
+ cursor: ns-resize;
441
+ }
442
+
443
+ &[data-resize-handle = 'bottom'] {
444
+ bottom: -5px;
445
+ cursor: ns-resize;
446
+ }
447
+
448
+ &[data-resize-handle = 'left'],
449
+ &[data-resize-handle = 'right'] {
450
+ top: 50%;
451
+ transform: translateY(-50%);
452
+ }
453
+
454
+ &[data-resize-handle = 'left'] {
455
+ left: -5px;
456
+ cursor: ew-resize;
457
+ }
458
+
459
+ &[data-resize-handle = 'right'] {
460
+ right: -5px;
461
+ cursor: ew-resize;
462
+ }
463
+ }
464
+ }
465
+ .e-resizable-wrapper:has(> img.e-img-inline),
466
+ img.e-img-inline {
467
+ &.e-img-align-left,
468
+ &.e-img-align-center,
469
+ &.e-img-align-right {
470
+ display: block;
471
+ width: fit-content;
472
+ }
473
+ }
474
+
475
+ /* Shared image element styles */
476
+ .e-img-core-element {
477
+ max-width: 100%;
478
+ height: auto;
479
+ display: inline-block;
480
+ vertical-align: middle;
481
+ }
482
+
483
+ /* Figure Styles */
484
+ .e-img-figure {
485
+ display: block;
486
+ width: fit-content;
487
+ max-width: 100%;
488
+ margin: 14px 0;
489
+ clear: both;
490
+ text-align: left;
491
+ &:has(> .e-resizable-wrapper.e-img-align-center),
492
+ &:has(> img.e-img-align-center) {
493
+ margin-left: auto;
494
+ margin-right: auto;
495
+ }
496
+ &:has(> .e-resizable-wrapper.e-img-align-right),
497
+ &:has(> img.e-img-align-right) {
498
+ margin-left: auto;
499
+ margin-right: 0;
500
+ }
501
+
502
+ /* Custom UI Slot style (For upload status, badges, etc) */
503
+ .e-img-ui-slot {
504
+ position: absolute;
505
+ z-index: 5;
506
+ pointer-events: none;
507
+
508
+ &.e-img-ui-top-left {
509
+ top: 8px;
510
+ left: 8px;
511
+ }
512
+ &.e-img-ui-top-center {
513
+ top: 8px;
514
+ left: 50%;
515
+ transform: translateX(-50%);
516
+ }
517
+ &.e-img-ui-top-right {
518
+ top: 8px;
519
+ right: 8px;
520
+ }
521
+ &.e-img-ui-center-left {
522
+ top: 50%;
523
+ left: 8px;
524
+ transform: translateY(-50%);
525
+ }
526
+ &.e-img-ui-center {
527
+ top: 50%;
528
+ left: 50%;
529
+ transform: translate(-50%, -50%);
530
+ }
531
+ &.e-img-ui-center-right {
532
+ top: 50%;
533
+ right: 8px;
534
+ transform: translateY(-50%);
535
+ }
536
+ &.e-img-ui-bottom-left {
537
+ bottom: 8px;
538
+ left: 8px;
539
+ }
540
+ &.e-img-ui-bottom-center {
541
+ bottom: 8px;
542
+ left: 50%;
543
+ transform: translateX(-50%);
544
+ }
545
+ &.e-img-ui-bottom-right {
546
+ bottom: 8px;
547
+ right: 8px;
548
+ }
549
+ }
550
+
551
+ /* Image-owned wrapping for current block and captioned markup. */
552
+ &:has(> img.e-img-wrap-left),
553
+ &:has(> .e-resizable-wrapper.e-img-wrap-left) {
554
+ float: left;
555
+ width: fit-content;
556
+ max-width: 100%;
557
+ clear: none;
558
+ margin-right: 20px;
559
+ margin-bottom: 12px;
560
+ }
561
+ &:has(> img.e-img-wrap-right),
562
+ &:has(> .e-resizable-wrapper.e-img-wrap-right) {
563
+ float: right;
564
+ width: auto;
565
+ width: fit-content;
566
+ max-width: 100%;
567
+ clear: none;
568
+ margin-left: 20px;
569
+ margin-bottom: 12px;
570
+ }
571
+
572
+ > figcaption.e-img-figcaption {
573
+ display: block;
574
+ width: auto;
575
+ clear: none;
576
+ text-align: center;
577
+ }
578
+
579
+ > .e-resizable-wrapper {
580
+ .e-img-wrap-left,
581
+ .e-img-wrap-right {
582
+ float: none;
583
+ margin-left: 0;
584
+ margin-right: 0;
585
+ }
586
+ }
587
+ }
588
+
589
+ /* Base inline image styles */
590
+ .e-img-inline {
591
+ display: inline-block;
592
+ vertical-align: middle;
593
+ margin: 0 4px;
594
+ max-width: 100%;
595
+ height: auto;
596
+
597
+ &.e-img-wrap-left {
598
+ float: left;
599
+ margin-right: 16px;
600
+ margin-bottom: 8px;
601
+ }
602
+
603
+ &.e-img-wrap-right {
604
+ float: right;
605
+ margin-left: 16px;
606
+ margin-bottom: 8px;
607
+ }
608
+ }
609
+
610
+ /* Protect against generic img rules */
611
+ img.ProseMirror-separator {
612
+ display: inline;
613
+ border: none;
614
+ margin: 0;
615
+ padding: 0;
616
+ width: 1px;
617
+ height: 1px;
618
+ overflow: hidden;
619
+ vertical-align: middle;
620
+ }
621
+
622
+ .ProseMirror [draggable][contenteditable = 'false'] {
623
+ user-select: text;
624
+ }
625
+
626
+ /* Clear floated image layouts */
627
+ .ProseMirror-content::after {
628
+ content: '';
629
+ display: table;
630
+ clear: both;
631
+ }
632
+
633
+ /* ======== RTL Styles ======== */
634
+ &.e-rtl {
635
+
636
+ /* Task List */
637
+ ul[data-type = 'taskList'] {
638
+ padding-left: unset;
639
+ padding-right: unset;
640
+ li {
641
+ > label {
642
+ padding-right: unset;
643
+ padding-left: $he-checklist-padding-right;
644
+ }
645
+ }
646
+ }
647
+
648
+ blockquote {
649
+ border-left-width: unset;
650
+ border-left-style: unset;
651
+ border-right-width: $he-blockquote-left-width;
652
+ border-right-style: solid;
653
+ padding: 0 $he-blockquote-text-padding 0 0;
654
+ }
655
+
656
+ /* collapsible */
657
+ [data-type = 'collapsible'] {
658
+ .e-collapsible-body-content {
659
+ padding-left: unset;
660
+ padding-right: calc($he-collapsible-header-gap + $he-toggle-icon-width);
661
+ }
662
+ }
663
+
664
+ /* List Block Styles */
665
+ ul,
666
+ ol {
667
+ padding-left: unset;
668
+ padding-right: 21px;
669
+ }
670
+ }
671
+ }
672
+ }